Commit Graph

10 Commits

Author SHA1 Message Date
mlippautz@google.com f3a187c63e Reland: Fix tools/full-coverage.dart script and add standalone test.
Test checks coverage data of a given script and differentiates between:
* no coverage data
* no hits (IC=0)
* some hits (IC>0)

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//355453002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37627 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-23 22:27:26 +00:00
mlippautz@google.com b5582cb430 Revert "Fix tools/full-coverage.dart script and add standalone test."
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//343263003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37573 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-21 01:07:51 +00:00
mlippautz@google.com 1c63c09102 Fix tools/full-coverage.dart script and add standalone test.
Test checks coverage data of a given script and differentiates between:
* no coverage data
* no hits (IC=0)
* some hits (IC>0)

BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org//348473004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37571 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-20 23:25:05 +00:00
rmacnak@google.com 2cb20b54cc Fairly partition work in tools/full-coverage.dart.
BUG=http://dartbug.com/16505
R=iposva@google.com

Review URL: https://codereview.chromium.org//140303008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32404 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 02:28:22 +00:00
rmacnak@google.com 3364d3f78a Adapt tools/full-coverage.dart to changes in the isolate API and coverage output format.
BUG=http://dartbug.com/16352
R=iposva@google.com

Review URL: https://codereview.chromium.org//137143018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32256 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 18:33:02 +00:00
whesse@google.com ad88bc6020 Remove uses of Options from tools directory. Fix platform_test.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//51043004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29562 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 16:20:49 +00:00
rnystrom@google.com 8fc18e145d Ignore ".DS_Store" and other unexpected files in coverage directory.
R=iposva@google.com

Review URL: https://codereview.chromium.org//26520002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28375 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 19:31:47 +00:00
iposva@google.com 6a33d0e379 - Simplify command line.
Review URL: https://codereview.chromium.org//26435002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28357 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 04:44:06 +00:00
iposva@google.com 8a6f22ffd4 - Fix usability of coverage tool.
R=asiva@google.com

Review URL: https://codereview.chromium.org//26277003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28328 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 22:07:53 +00:00
mlippautz@google.com 1941e151ea 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

Review URL: https://codereview.chromium.org//24654003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28030 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 23:22:49 +00:00