Coverage Report

Created: 2024-02-20 21:15

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
common/src/api/delete.rs
  12.50% (4/32)
  36.21% (21/58)
   4.44% (4/90)
- (0/0)
common/src/api/encoding.rs
   0.00% (0/6)
   0.00% (0/19)
   0.00% (0/6)
- (0/0)
common/src/api/get.rs
  18.07% (15/83)
  36.28% (41/113)
  10.98% (18/164)
- (0/0)
common/src/api/patch.rs
   0.00% (0/20)
   0.00% (0/33)
   0.00% (0/58)
- (0/0)
common/src/api/post.rs
  19.70% (13/66)
  40.78% (42/103)
  14.29% (28/196)
- (0/0)
common/src/api/query.rs
  50.00% (2/4)
  50.00% (2/4)
  35.29% (6/17)
- (0/0)
common/src/api/tests.rs
 100.00% (3/3)
 100.00% (31/31)
 100.00% (7/7)
- (0/0)
common/src/cache/invalidate.rs
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
common/src/cache/key.rs
  83.33% (15/18)
  82.81% (53/64)
  84.38% (27/32)
- (0/0)
common/src/cache/value.rs
   0.00% (0/10)
   0.00% (0/40)
   0.00% (0/25)
- (0/0)
common/src/error.rs
  96.30% (26/27)
  99.07% (106/107)
  80.00% (44/55)
- (0/0)
common/src/hash.rs
  91.11% (41/45)
  93.12% (149/160)
  84.21% (64/76)
- (0/0)
common/src/label.rs
  18.42% (7/38)
  27.08% (13/48)
  14.29% (14/98)
- (0/0)
common/src/tag.rs
  25.00% (1/4)
  25.00% (1/4)
  25.00% (1/4)
- (0/0)
common/src/tag/filter.rs
  84.85% (28/33)
  95.58% (108/113)
  82.72% (67/81)
- (0/0)
common/src/tag/info.rs
  35.71% (5/14)
  35.71% (5/14)
  29.63% (16/54)
- (0/0)
common/src/tag/predicate.rs
  64.71% (11/17)
  85.14% (63/74)
  71.15% (37/52)
- (0/0)
common/src/tag/serde.rs
 100.00% (4/4)
 100.00% (28/28)
  85.71% (12/14)
- (0/0)
common/src/tag/value.rs
  88.24% (15/17)
  87.80% (36/41)
  88.89% (24/27)
- (0/0)
src/cindy.rs
  86.96% (20/23)
  86.42% (70/81)
  66.67% (56/84)
- (0/0)
src/cli.rs
  75.00% (69/92)
  90.53% (220/243)
  74.07% (100/135)
- (0/0)
src/command.rs
 100.00% (2/2)
  80.00% (8/10)
  76.92% (10/13)
- (0/0)
src/command/add.rs
  94.83% (55/58)
  94.95% (451/475)
  78.67% (284/361)
- (0/0)
src/command/query.rs
 100.00% (3/3)
 100.00% (15/15)
  80.00% (16/20)
- (0/0)
src/command/serve.rs
   0.00% (0/2)
   0.00% (0/6)
   0.00% (0/9)
- (0/0)
src/command/tags.rs
  57.14% (8/14)
  64.15% (34/53)
  58.73% (37/63)
- (0/0)
src/config.rs
 100.00% (43/43)
 100.00% (100/100)
  64.55% (71/110)
- (0/0)
src/database.rs
 100.00% (10/10)
 100.00% (33/33)
 100.00% (10/10)
- (0/0)
src/database/handlers.rs
  91.67% (33/36)
  93.60% (351/375)
  72.31% (235/325)
- (0/0)
src/database/tests.rs
  93.90% (77/82)
  98.15% (1008/1027)
  96.23% (204/212)
- (0/0)
src/hash.rs
 100.00% (19/19)
 100.00% (97/97)
  97.87% (46/47)
- (0/0)
src/main.rs
   0.00% (0/2)
   0.00% (0/5)
   0.00% (0/10)
- (0/0)
src/media.rs
  75.00% (48/64)
  89.26% (241/270)
  63.96% (213/333)
- (0/0)
src/server.rs
 100.00% (2/2)
 100.00% (8/8)
 100.00% (2/2)
- (0/0)
src/server/api.rs
 100.00% (3/3)
 100.00% (11/11)
 100.00% (3/3)
- (0/0)
src/server/api/file.rs
  66.67% (16/24)
  78.38% (87/111)
  62.20% (51/82)
- (0/0)
src/server/api/query.rs
  30.77% (4/13)
  25.00% (19/76)
  15.62% (10/64)
- (0/0)
src/server/api/tags.rs
  84.21% (16/19)
  76.84% (73/95)
  53.93% (48/89)
- (0/0)
src/server/error.rs
 100.00% (11/11)
 100.00% (39/39)
  87.10% (27/31)
- (0/0)
src/server/frontend.rs
  75.00% (3/4)
  93.33% (14/15)
  88.89% (8/9)
- (0/0)
Totals
  65.29% (632/968)
  85.15% (3578/4202)
  58.65% (1800/3069)
- (0/0)
Generated by llvm-cov -- llvm version 16.0.5-rust-1.71.1-stable