Click here for information about interpreting this report.
| Filename | Function Coverage | Line Coverage | Region Coverage | Branch Coverage |
file/src/apprentice.c | 23.81% (15/63) | 11.91% (307/2578) | 13.15% (353/2685) | 9.25% (172/1860) |
file/src/ascmagic.c | 100.00% (4/4) | 55.77% (145/260) | 51.62% (143/277) | 39.80% (78/196) |
file/src/buffer.c | 100.00% (3/3) | 66.67% (24/36) | 61.76% (21/34) | 38.89% (7/18) |
file/src/cdf.c | 9.30% (4/43) | 8.72% (78/894) | 11.18% (115/1029) | 6.14% (28/456) |
file/src/cdf_time.c | 0.00% (0/6) | 0.00% (0/80) | 0.00% (0/61) | 0.00% (0/36) |
file/src/compress.c | 36.36% (8/22) | 25.48% (159/624) | 26.82% (125/466) | 23.10% (67/290) |
file/src/der.c | 83.33% (5/6) | 53.85% (91/169) | 52.27% (69/132) | 44.74% (34/76) |
file/src/encoding.c | 100.00% (8/8) | 57.76% (160/277) | 56.18% (150/267) | 44.68% (84/188) |
file/src/fmtcheck.c | 100.00% (4/4) | 52.05% (76/146) | 39.90% (81/203) | 45.56% (41/90) |
file/src/fsmagic.c | 0.00% (0/3) | 0.00% (0/212) | 0.00% (0/273) | 0.00% (0/184) |
file/src/funcs.c | 63.64% (21/33) | 58.64% (319/544) | 63.26% (260/411) | 46.72% (114/244) |
file/src/is_csv.c | 100.00% (3/3) | 85.92% (61/71) | 88.06% (59/67) | 79.17% (38/48) |
file/src/is_json.c | 90.91% (10/11) | 79.94% (251/314) | 78.99% (267/338) | 61.57% (149/242) |
file/src/is_tar.c | 100.00% (3/3) | 74.29% (52/70) | 68.00% (51/75) | 63.04% (29/46) |
file/src/magic.c | 22.73% (5/22) | 6.98% (21/301) | 6.45% (18/279) | 3.41% (6/176) |
file/src/print.c | 14.29% (1/7) | 7.17% (19/265) | 4.14% (13/314) | 2.48% (5/202) |
file/src/readcdf.c | 11.11% (1/9) | 4.91% (19/387) | 1.92% (8/416) | 0.80% (2/250) |
file/src/readelf.c | 0.00% (0/19) | 0.00% (0/1166) | 0.00% (0/1777) | 0.00% (0/1010) |
file/src/softmagic.c | 93.10% (27/29) | 66.68% (1259/1888) | 62.92% (1534/2438) | 60.49% (1021/1688) |
file/src/strlcpy.c | 100.00% (1/1) | 72.22% (13/18) | 66.67% (10/15) | 42.86% (6/14) |
magic_fuzzer.cc | 100.00% (3/3) | 81.82% (18/22) | 81.82% (9/11) | 50.00% (2/4) |
Totals | 41.72% (126/302) | 29.76% (3072/10322) | 28.41% (3286/11568) | 25.73% (1883/7318) |
Files which contain no functions. (These files contain code pulled into other files by the preprocessor.)
file/config.h |
file/src/cdf.h |
file/src/elfclass.h |
file/src/file.h |
file/src/magic.h |
file/src/readelf.h |
file/src/tar.h |