Coverage Report

Created: 2023-05-11 17:13

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
file/src/apprentice.c
  23.81% (15/63)
  12.76% (329/2578)
  13.82% (371/2685)
   9.84% (183/1860)
file/src/ascmagic.c
 100.00% (4/4)
  79.62% (207/260)
  81.23% (225/277)
  73.47% (144/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
  39.53% (17/43)
  32.10% (287/894)
  29.54% (304/1029)
  21.71% (99/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
  50.00% (11/22)
  40.06% (250/624)
  46.35% (216/466)
  41.72% (121/290)
file/src/der.c
 100.00% (6/6)
  85.21% (144/169)
  84.85% (112/132)
  80.26% (61/76)
file/src/encoding.c
 100.00% (8/8)
  89.89% (249/277)
  92.88% (248/267)
  86.70% (163/188)
file/src/fmtcheck.c
 100.00% (4/4)
  60.96% (89/146)
  46.80% (95/203)
  54.44% (49/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
  66.67% (22/33)
  66.18% (360/544)
  70.07% (288/411)
  56.15% (137/244)
file/src/is_csv.c
 100.00% (3/3)
  90.14% (64/71)
  89.55% (60/67)
  85.42% (41/48)
file/src/is_json.c
 100.00% (11/11)
  97.13% (305/314)
  96.75% (327/338)
  96.28% (233/242)
file/src/is_tar.c
 100.00% (3/3)
  91.43% (64/70)
  90.67% (68/75)
  82.61% (38/46)
file/src/magic.c
  22.73% (5/22)
   7.64% (23/301)
   6.81% (19/279)
   3.98% (7/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
  22.22% (2/9)
  20.93% (81/387)
  15.38% (64/416)
  11.60% (29/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)
  69.44% (1311/1888)
  66.28% (1616/2438)
  64.69% (1092/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
  48.34% (146/302)
  37.17% (3837/10322)
  35.15% (4066/11568)
  33.03% (2417/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
Generated by llvm-cov -- llvm version 15.0.0git