Skip to content

Commit

Permalink
feat: if coverage JSON includes file extensions, use that to determin…
Browse files Browse the repository at this point in the history
…e paths

otherwise, test each file extension and path combination
  • Loading branch information
mcarvin8 committed Feb 27, 2024
1 parent 2d61ac7 commit ddd2cc4
Show file tree
Hide file tree
Showing 5 changed files with 512 additions and 21 deletions.
221 changes: 221 additions & 0 deletions coverage_no_file_exts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
{
"no-map/AccountTrigger": {
"fnMap": {},
"branchMap": {},
"path": "no-map/AccountTrigger",
"f": {},
"b": {},
"s": {
"52": 0,
"53": 0,
"54": 1,
"55": 1,
"56": 1,
"57": 1,
"58": 1,
"59": 0,
"60": 0,
"61": 1,
"62": 1,
"63": 1,
"64": 1,
"65": 1,
"66": 1,
"67": 1,
"68": 1,
"69": 1,
"70": 1,
"71": 1,
"72": 1,
"73": 1,
"74": 1,
"75": 1,
"76": 1,
"77": 1,
"78": 1,
"79": 1,
"80": 1,
"81": 1,
"82": 1
},
"statementMap": {
"52": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 0 } },
"53": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 0 } },
"54": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 0 } },
"55": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 0 } },
"56": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 0 } },
"57": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } },
"58": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } },
"59": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 0 } },
"60": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } },
"61": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } },
"62": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 0 } },
"63": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 0 } },
"64": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 0 } },
"65": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 0 } },
"66": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } },
"67": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 0 } },
"68": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } },
"69": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 0 } },
"70": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 0 } },
"71": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 0 } },
"72": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } },
"73": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 0 } },
"74": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 0 } },
"75": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } },
"76": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 0 } },
"77": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 0 } },
"78": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 0 } },
"79": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 0 } },
"80": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } },
"81": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 0 } },
"82": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 0 } }
}
},
"no-map/AccountProfile": {
"fnMap": {},
"branchMap": {},
"path": "no-map/AccountProfile",
"f": {},
"b": {},
"s": {
"52": 0,
"53": 0,
"54": 1,
"55": 1,
"56": 1,
"57": 1,
"58": 1,
"59": 0,
"60": 0,
"61": 1,
"62": 1,
"63": 1,
"64": 1,
"65": 1,
"66": 1,
"67": 1,
"68": 1,
"69": 1,
"70": 1,
"71": 1,
"72": 1,
"73": 1,
"74": 1,
"75": 1,
"76": 1,
"77": 1,
"78": 1,
"79": 1,
"80": 1,
"81": 1,
"82": 1
},
"statementMap": {
"52": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 0 } },
"53": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 0 } },
"54": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 0 } },
"55": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 0 } },
"56": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 0 } },
"57": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } },
"58": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } },
"59": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 0 } },
"60": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } },
"61": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } },
"62": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 0 } },
"63": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 0 } },
"64": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 0 } },
"65": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 0 } },
"66": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } },
"67": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 0 } },
"68": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } },
"69": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 0 } },
"70": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 0 } },
"71": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 0 } },
"72": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } },
"73": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 0 } },
"74": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 0 } },
"75": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } },
"76": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 0 } },
"77": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 0 } },
"78": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 0 } },
"79": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 0 } },
"80": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } },
"81": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 0 } },
"82": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 0 } }
}
},
"no-map/Get_Info": {
"fnMap": {},
"branchMap": {},
"path": "no-map/Get_Info",
"f": {},
"b": {},
"s": {
"52": 0,
"53": 0,
"54": 1,
"55": 1,
"56": 1,
"57": 1,
"58": 1,
"59": 0,
"60": 0,
"61": 1,
"62": 1,
"63": 1,
"64": 1,
"65": 1,
"66": 1,
"67": 1,
"68": 1,
"69": 1,
"70": 1,
"71": 1,
"72": 1,
"73": 1,
"74": 1,
"75": 1,
"76": 1,
"77": 1,
"78": 1,
"79": 1,
"80": 1,
"81": 1,
"82": 1
},
"statementMap": {
"52": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 0 } },
"53": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 0 } },
"54": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 0 } },
"55": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 0 } },
"56": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 0 } },
"57": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } },
"58": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } },
"59": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 0 } },
"60": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } },
"61": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } },
"62": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 0 } },
"63": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 0 } },
"64": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 0 } },
"65": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 0 } },
"66": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } },
"67": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 0 } },
"68": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } },
"69": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 0 } },
"70": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 0 } },
"71": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 0 } },
"72": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } },
"73": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 0 } },
"74": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 0 } },
"75": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } },
"76": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 0 } },
"77": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 0 } },
"78": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 0 } },
"79": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 0 } },
"80": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } },
"81": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 0 } },
"82": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 0 } }
}
}
}
Loading

0 comments on commit ddd2cc4

Please sign in to comment.