Coverage Report

Created: 2024-05-21 11:09

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
file/src/apprentice.c
  23.81% (15/63)
  13.07% (337/2578)
  14.04% (377/2685)
  10.00% (186/1860)
file/src/ascmagic.c
 100.00% (4/4)
  79.62% (207/260)
  81.23% (225/277)
  74.49% (146/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
  54.55% (12/22)
  45.99% (287/624)
  53.22% (248/466)
  46.21% (134/290)
file/src/der.c
 100.00% (6/6)
  87.57% (148/169)
  90.15% (119/132)
  84.21% (64/76)
file/src/encoding.c
 100.00% (8/8)
  95.31% (264/277)
  96.63% (258/267)
  94.15% (177/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
  75.76% (25/33)
  73.16% (398/544)
  74.21% (305/411)
  60.25% (147/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)
  92.86% (65/70)
  92.00% (69/75)
  84.78% (39/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
  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)
  71.08% (1342/1888)
  67.56% (1647/2438)
  66.00% (1114/1688)
file/src/strlcpy.c
 100.00% (1/1)
  94.44% (17/18)
  93.33% (14/15)
  71.43% (10/14)
magic_fuzzer.cc
 100.00% (3/3)
  81.82% (18/22)
  81.82% (9/11)
  50.00% (2/4)
Totals
  45.03% (136/302)
  35.88% (3704/10322)
  33.96% (3929/11568)
  32.67% (2391/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