Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(787)

Issue 24654003: Improve code coverage generation. (Closed)

Created:
7 years, 2 months ago by Michael Lippautz (Google)
Modified:
7 years, 2 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Improve code coverage generation. - Remove function name from output. - Remove column from output (side effect: We can use fast version of GetTokenLocation()) - Insert HANDLESCOPES - Fold source file entries where easily possible, i.e., fold consecutive entries created by functions in the same source file. - Change format to [{ "source": "...", "hits": [<line>,<hitcount>, ...] }, ... ] BUG= R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=28030

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -49 lines) Patch
M runtime/vm/coverage.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/coverage.cc View 1 2 3 3 chunks +85 lines, -49 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A tools/full-coverage.dart View 1 2 3 1 chunk +485 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Michael Lippautz (Google)
Missing: Aggregate IC counts in a function and add the count to function.token_pos() line (?) ...
7 years, 2 months ago (2013-09-25 23:06:05 UTC) #1
Michael Lippautz (Google)
PTAL
7 years, 2 months ago (2013-09-26 17:15:39 UTC) #2
Michael Lippautz (Google)
PTAL Example: mkdir /tmp/dart2jscov ./tools/build.py -m release -a ia32 DART_VM_OPTIONS="--coverage-dir=/tmp/dart2jscov" ./tools/test.py -m release -a ia32 ...
7 years, 2 months ago (2013-09-27 17:42:26 UTC) #3
Ivan Posva
C++ code LGTM. We can add some of the stuff later if needed. -Ivan https://codereview.chromium.org/24654003/diff/16001/runtime/vm/coverage.cc ...
7 years, 2 months ago (2013-09-27 20:19:54 UTC) #4
Michael Lippautz (Google)
Addressed comments and included closure handling. The merging script can still deal with ranges, although ...
7 years, 2 months ago (2013-09-27 21:46:50 UTC) #5
Michael Lippautz (Google)
7 years, 2 months ago (2013-09-27 23:22:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r28030 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698