mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 09:39:08 -05:00
13751d9de6
Covered ranges were not merged and thus it appeared that some lines might be uncovered. To fix this I used "v8-coverage" that takes care of merging the ranges properly. With this change, coverage collected from a file by multiple entrypoints is now correctly calculated. I ended up forking https://github.com/demurgos/v8-coverage and adding "cli/tools/coverage/merge.rs" and "cli/tools/coverage/range_tree.rs".
18 lines
152 B
Text
18 lines
152 B
Text
SF:[WILDCARD]mod.js
|
|
FN:1,test
|
|
FNDA:2,test
|
|
FNF:1
|
|
FNH:1
|
|
BRDA:2,1,0,1
|
|
BRF:1
|
|
BRH:1
|
|
DA:1,2
|
|
DA:2,4
|
|
DA:3,5
|
|
DA:4,5
|
|
DA:5,5
|
|
DA:6,4
|
|
DA:7,1
|
|
LH:7
|
|
LF:7
|
|
end_of_record
|