Closed Bug 1505136 Opened 6 years ago Closed 6 years ago

Code coverage reports are missing some data

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Unassigned)

References

(Blocks 1 open bug)

Details

The "Details" panel for bug 1501502 contains this: > Code Coverage: 9 lines covered out of 20 lines added (d29131a84168) The link points to: https://firefox-code-coverage.herokuapp.com/#/changeset/d29131a84168 Actual results: Most of the test is not marked "covered". Expected results: It should be covered. The test would fail if reportCompare() wasn't called. I confirmed locally that the test passes and a `print("OK");` on the last line is reached.
I tried troubleshooting this a bit with Nicolas. We didn't get far. Some test output we generated is in: https://gist.github.com/jorendorff/76ef3546b714172a52c80ec9ec937479 I can't get any lcov output locally using `--code-coverage` and `JS_CODE_COVERAGE_OUTPUT_DIR=`, just empty files. We think that's unrelated and probably my fault. :)
Priority: -- → P3

This might have been fixed, like bug 1451284, by bug 1525505.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.