scorecard
FAIL
testdata/failing_test
pack
rust · scope tree · c6ebf37a-8a87-4ae0-ae38-d4d88d839025flow
scopetree · 1 path
→
packrust
→
engines8 run · 4 skipped
→
gates4/6 pass
→
verdictfail
scores
| correctness | 0.75 | |
| efficiency | 1.00 | |
| maintainability | 0.95 | |
| security | 1.00 | |
| a11y | 1.00 |
14loc changed
1files changed
—coverage not measured
0crap max
0over threshold
0undeclared deps
accessibility
No accessibility findings.
gates
| gate | result | enforced | reason |
|---|---|---|---|
types | pass | yes | |
tests | fail | yes | test failures |
crap | fail | reported only | some functions have no coverage record and were not scored |
sca | pass | reported only | |
secrets | pass | yes | |
lint | pass | yes |
worst crap · threshold 30
Coverage was not measured, so no CRAP scores are reported and nothing is treated as 0% coverage.
| crap | cc | coverage | symbol | file |
|---|---|---|---|---|
| No CRAP scores: coverage was not measured. | ||||
findings · 2
test.failed · 1 1 error
test:src/lib.rs:tests::it_adds
errortest.failedfixtests
test tests::it_adds failed: assertion `left == right` failed
src/lib.rs:12:9 ·
tests::it_addssuggested: Fix the failing test or the behavior it checks
coverage.missing · 1 1 warning
coverage:missing
warningcoverage.missingaskcoverage
coverage was not measured (coverage skipped: tests gate failed (test command exit code 101))
suggested: Fix the failing tests and re-run to collect coverage
mutation · spec
skippedkilled 0survived 0timeout 0
no spec file requested.
runs
| engine | command | exit | ms |
|---|---|---|---|
compile | $ cargo check --workspace --message-format=json | 0 | 75 |
tests | $ cargo test --workspace | 101 | 25 |
lint | $ cargo clippy --workspace | 0 | 116 |