Skip to content

Commit efc1fa6

Browse files
committed
feat: if coverage JSON includes file extensions, use that to determine paths
otherwise, test each file extension and path combination
1 parent 2d61ac7 commit efc1fa6

File tree

6 files changed

+513
-21
lines changed

6 files changed

+513
-21
lines changed

coverage_no_file_exts.json

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
{
2+
"no-map/AccountTrigger": {
3+
"fnMap": {},
4+
"branchMap": {},
5+
"path": "no-map/AccountTrigger",
6+
"f": {},
7+
"b": {},
8+
"s": {
9+
"52": 0,
10+
"53": 0,
11+
"54": 1,
12+
"55": 1,
13+
"56": 1,
14+
"57": 1,
15+
"58": 1,
16+
"59": 0,
17+
"60": 0,
18+
"61": 1,
19+
"62": 1,
20+
"63": 1,
21+
"64": 1,
22+
"65": 1,
23+
"66": 1,
24+
"67": 1,
25+
"68": 1,
26+
"69": 1,
27+
"70": 1,
28+
"71": 1,
29+
"72": 1,
30+
"73": 1,
31+
"74": 1,
32+
"75": 1,
33+
"76": 1,
34+
"77": 1,
35+
"78": 1,
36+
"79": 1,
37+
"80": 1,
38+
"81": 1,
39+
"82": 1
40+
},
41+
"statementMap": {
42+
"52": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 0 } },
43+
"53": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 0 } },
44+
"54": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 0 } },
45+
"55": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 0 } },
46+
"56": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 0 } },
47+
"57": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } },
48+
"58": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } },
49+
"59": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 0 } },
50+
"60": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } },
51+
"61": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } },
52+
"62": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 0 } },
53+
"63": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 0 } },
54+
"64": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 0 } },
55+
"65": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 0 } },
56+
"66": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } },
57+
"67": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 0 } },
58+
"68": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } },
59+
"69": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 0 } },
60+
"70": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 0 } },
61+
"71": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 0 } },
62+
"72": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } },
63+
"73": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 0 } },
64+
"74": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 0 } },
65+
"75": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } },
66+
"76": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 0 } },
67+
"77": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 0 } },
68+
"78": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 0 } },
69+
"79": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 0 } },
70+
"80": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } },
71+
"81": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 0 } },
72+
"82": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 0 } }
73+
}
74+
},
75+
"no-map/AccountProfile": {
76+
"fnMap": {},
77+
"branchMap": {},
78+
"path": "no-map/AccountProfile",
79+
"f": {},
80+
"b": {},
81+
"s": {
82+
"52": 0,
83+
"53": 0,
84+
"54": 1,
85+
"55": 1,
86+
"56": 1,
87+
"57": 1,
88+
"58": 1,
89+
"59": 0,
90+
"60": 0,
91+
"61": 1,
92+
"62": 1,
93+
"63": 1,
94+
"64": 1,
95+
"65": 1,
96+
"66": 1,
97+
"67": 1,
98+
"68": 1,
99+
"69": 1,
100+
"70": 1,
101+
"71": 1,
102+
"72": 1,
103+
"73": 1,
104+
"74": 1,
105+
"75": 1,
106+
"76": 1,
107+
"77": 1,
108+
"78": 1,
109+
"79": 1,
110+
"80": 1,
111+
"81": 1,
112+
"82": 1
113+
},
114+
"statementMap": {
115+
"52": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 0 } },
116+
"53": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 0 } },
117+
"54": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 0 } },
118+
"55": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 0 } },
119+
"56": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 0 } },
120+
"57": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } },
121+
"58": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } },
122+
"59": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 0 } },
123+
"60": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } },
124+
"61": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } },
125+
"62": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 0 } },
126+
"63": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 0 } },
127+
"64": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 0 } },
128+
"65": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 0 } },
129+
"66": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } },
130+
"67": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 0 } },
131+
"68": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } },
132+
"69": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 0 } },
133+
"70": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 0 } },
134+
"71": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 0 } },
135+
"72": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } },
136+
"73": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 0 } },
137+
"74": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 0 } },
138+
"75": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } },
139+
"76": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 0 } },
140+
"77": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 0 } },
141+
"78": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 0 } },
142+
"79": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 0 } },
143+
"80": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } },
144+
"81": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 0 } },
145+
"82": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 0 } }
146+
}
147+
},
148+
"no-map/Get_Info": {
149+
"fnMap": {},
150+
"branchMap": {},
151+
"path": "no-map/Get_Info",
152+
"f": {},
153+
"b": {},
154+
"s": {
155+
"52": 0,
156+
"53": 0,
157+
"54": 1,
158+
"55": 1,
159+
"56": 1,
160+
"57": 1,
161+
"58": 1,
162+
"59": 0,
163+
"60": 0,
164+
"61": 1,
165+
"62": 1,
166+
"63": 1,
167+
"64": 1,
168+
"65": 1,
169+
"66": 1,
170+
"67": 1,
171+
"68": 1,
172+
"69": 1,
173+
"70": 1,
174+
"71": 1,
175+
"72": 1,
176+
"73": 1,
177+
"74": 1,
178+
"75": 1,
179+
"76": 1,
180+
"77": 1,
181+
"78": 1,
182+
"79": 1,
183+
"80": 1,
184+
"81": 1,
185+
"82": 1
186+
},
187+
"statementMap": {
188+
"52": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 0 } },
189+
"53": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 0 } },
190+
"54": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 0 } },
191+
"55": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 0 } },
192+
"56": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 0 } },
193+
"57": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } },
194+
"58": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } },
195+
"59": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 0 } },
196+
"60": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } },
197+
"61": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } },
198+
"62": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 0 } },
199+
"63": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 0 } },
200+
"64": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 0 } },
201+
"65": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 0 } },
202+
"66": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } },
203+
"67": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 0 } },
204+
"68": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } },
205+
"69": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 0 } },
206+
"70": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 0 } },
207+
"71": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 0 } },
208+
"72": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } },
209+
"73": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 0 } },
210+
"74": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 0 } },
211+
"75": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } },
212+
"76": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 0 } },
213+
"77": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 0 } },
214+
"78": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 0 } },
215+
"79": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 0 } },
216+
"80": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } },
217+
"81": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 0 } },
218+
"82": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 0 } }
219+
}
220+
}
221+
}

0 commit comments

Comments
 (0)