elif line.startswith("fl="):
curr_fl = line[3:-1]
- # A `fn=` line should follow, overwriting the "???".
- curr_flfn = Flfn((curr_fl, "???"))
+ # A `fn=` line should follow, overwriting the function name.
+ curr_flfn = Flfn((curr_fl, "<unspecified>"))
elif m := re.match(r"summary:\s+(.*)", line):
try:
# File found in ann2-aux/, via -I.
fl=ann2-via-I.rs
-fn=f1
+# No `fn=` line, so the function name falls back to `<unspecified>`.
1 1000 500 0
# File below the threshold. (It also doesn't exist, but that doesn't matter. We
15,000 (15.0%) 600 (0.6%) 0 ann2-basic.rs:f1
9,000 (9.0%) 6,000 (6.0%) 0 ann2-could-not-be-found.rs:f1
2,000 (2.0%) 100 (0.1%) 0 ann2-basic.rs:f2
- 1,000 (1.0%) 500 (0.5%) 0 ann2-via-I.rs:f1
+ 1,000 (1.0%) 500 (0.5%) 0 ann2-via-I.rs:<unspecified>
1,000 (1.0%) 300 (0.3%) -1,000 (n/a) ann2-past-the-end.rs:f1
-1,000 (-1.0%) 0 0 ann2-negatives.rs:neg3
-1,000 (-1.0%) 0 0 ann2-negatives.rs:neg2