Coverage Report

Created: 2024-05-10 12:08

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
crates/wit-cli/src/bin/wit.rs
   0.00% (0/2)
   0.00% (0/30)
   0.00% (0/11)
- (0/0)
crates/wit-cli/src/diags.rs
   0.00% (0/1)
   0.00% (0/1)
   0.00% (0/3)
- (0/0)
crates/wit-cli/src/language_server.rs
   0.00% (0/11)
   0.00% (0/65)
   0.00% (0/58)
- (0/0)
crates/wit-cli/src/lib.rs
   0.00% (0/6)
   0.00% (0/48)
   0.00% (0/30)
- (0/0)
crates/wit-cli/src/parse.rs
   0.00% (0/15)
   0.00% (0/115)
   0.00% (0/34)
- (0/0)
crates/wit-compiler/src/access.rs
  72.41% (21/29)
  72.26% (99/137)
  32.38% (34/105)
- (0/0)
crates/wit-compiler/src/compiler.rs
  40.00% (2/5)
   8.33% (2/24)
  40.00% (2/5)
- (0/0)
crates/wit-compiler/src/diagnostics/all.rs
 100.00% (1/1)
 100.00% (13/13)
 100.00% (1/1)
- (0/0)
crates/wit-compiler/src/diagnostics/deprecated.rs
  20.00% (1/5)
  52.17% (12/23)
  45.45% (5/11)
- (0/0)
crates/wit-compiler/src/diagnostics/lints.rs
  50.00% (5/10)
  61.22% (30/49)
  50.00% (5/10)
- (0/0)
crates/wit-compiler/src/diagnostics/mod.rs
  54.17% (26/48)
  41.52% (120/289)
  40.82% (60/147)
- (0/0)
crates/wit-compiler/src/hir.rs
  56.25% (9/16)
  56.25% (27/48)
  56.25% (9/16)
- (0/0)
crates/wit-compiler/src/lib.rs
  50.00% (1/2)
  25.00% (1/4)
  50.00% (1/2)
- (0/0)
crates/wit-compiler/src/queries/line_numbers.rs
 100.00% (11/11)
  83.33% (65/78)
  81.25% (39/48)
- (0/0)
crates/wit-compiler/src/queries/lowering.rs
  95.60% (87/91)
  91.23% (510/559)
  83.70% (267/319)
- (0/0)
crates/wit-compiler/src/queries/metadata.rs
  80.00% (100/125)
  86.74% (667/769)
  76.79% (321/418)
- (0/0)
crates/wit-compiler/src/queries/namespace.rs
  82.76% (24/29)
  71.86% (189/263)
  64.75% (79/122)
- (0/0)
crates/wit-compiler/src/queries/parsing.rs
  90.91% (10/11)
  92.86% (26/28)
  88.89% (24/27)
- (0/0)
crates/wit-compiler/src/queries/selection.rs
  85.71% (6/7)
  93.55% (29/31)
  80.00% (16/20)
- (0/0)
crates/wit-compiler/src/queries/workspace.rs
  77.50% (31/40)
  72.78% (131/180)
  64.76% (68/105)
- (0/0)
crates/wit-compiler/src/traverse.rs
  80.00% (16/20)
  60.89% (109/179)
  56.18% (50/89)
- (0/0)
crates/wit-compiler/src/tree.rs
  60.00% (6/10)
  56.82% (50/88)
  47.22% (17/36)
- (0/0)
crates/wit-language-server/src/code_actions/action.rs
  33.33% (3/9)
  24.69% (20/81)
  31.82% (7/22)
- (0/0)
crates/wit-language-server/src/code_actions/context.rs
  66.67% (12/18)
  81.89% (104/127)
  75.61% (31/41)
- (0/0)
crates/wit-language-server/src/code_actions/extract_type_alias.rs
 100.00% (11/11)
  97.87% (92/94)
  93.18% (41/44)
- (0/0)
crates/wit-language-server/src/code_actions/macros.rs
 100.00% (1/1)
 100.00% (45/45)
 100.00% (3/3)
- (0/0)
crates/wit-language-server/src/code_actions/mod.rs
   0.00% (0/3)
   0.00% (0/3)
   0.00% (0/5)
- (0/0)
crates/wit-language-server/src/code_actions/text_edit.rs
  80.49% (33/41)
  82.85% (198/239)
  77.55% (76/98)
- (0/0)
crates/wit-language-server/src/database.rs
  50.00% (4/8)
  30.00% (6/20)
  50.00% (4/8)
- (0/0)
crates/wit-language-server/src/lib.rs
   0.00% (0/1)
   0.00% (0/6)
   0.00% (0/1)
- (0/0)
crates/wit-language-server/src/middleware.rs
   0.00% (0/14)
   0.00% (0/83)
   0.00% (0/56)
- (0/0)
crates/wit-language-server/src/ops/completion.rs
  80.00% (12/15)
  81.67% (98/120)
  71.11% (32/45)
- (0/0)
crates/wit-language-server/src/ops/diagnostics.rs
   0.00% (0/8)
   0.00% (0/103)
   0.00% (0/37)
- (0/0)
crates/wit-language-server/src/ops/fold.rs
  88.89% (8/9)
  92.45% (49/53)
  73.91% (17/23)
- (0/0)
crates/wit-language-server/src/server.rs
   0.00% (0/70)
   0.00% (0/268)
   0.00% (0/201)
- (0/0)
crates/wit-language-server/src/utils.rs
  60.00% (3/5)
  59.52% (25/42)
  60.00% (3/5)
- (0/0)
crates/wit-syntax/src/generated.rs
  73.36% (212/289)
  76.83% (1018/1325)
  73.08% (410/561)
- (0/0)
crates/wit-syntax/src/hand_written.rs
  92.31% (12/13)
  87.18% (102/117)
  93.18% (41/44)
- (0/0)
crates/wit-syntax/src/lib.rs
 100.00% (3/3)
 100.00% (7/7)
 100.00% (4/4)
- (0/0)
crates/wit-syntax/src/text.rs
  38.10% (8/21)
  38.10% (24/63)
  38.10% (8/21)
- (0/0)
crates/wit-syntax/src/traits.rs
  66.67% (4/6)
  78.12% (25/32)
  85.00% (17/20)
- (0/0)
crates/xtask/src/codegen/ast.rs
  72.09% (31/43)
  88.84% (207/233)
  68.33% (82/120)
- (0/0)
crates/xtask/src/codegen/code_actions.rs
  76.92% (10/13)
  95.65% (88/92)
  80.00% (40/50)
- (0/0)
crates/xtask/src/codegen/diagnostics.rs
  68.42% (13/19)
  90.91% (60/66)
  76.47% (26/34)
- (0/0)
crates/xtask/src/codegen/mod.rs
   0.00% (0/3)
   0.00% (0/8)
   0.00% (0/11)
- (0/0)
crates/xtask/src/doc.rs
   0.00% (0/16)
   0.00% (0/63)
   0.00% (0/79)
- (0/0)
crates/xtask/src/main.rs
   0.00% (0/2)
   0.00% (0/29)
   0.00% (0/13)
- (0/0)
crates/xtask/src/utils.rs
  38.46% (5/13)
  51.61% (16/31)
  44.44% (8/18)
- (0/0)
integration-tests/src/lib.rs
  62.50% (5/8)
  25.00% (5/20)
  40.91% (9/22)
- (0/0)
Totals
  64.56% (747/1157)
  66.80% (4269/6391)
  57.98% (1857/3203)
- (0/0)
Generated by llvm-cov -- llvm version 17.0.6-rust-1.77.2-stable