Structs§
- Audit
Comparison - One-pass audit comparison shared by attribution, verdict, and annotations.
- Audit
Comparison Input - Inputs for building one
AuditComparison. - Audit
Domain Ledger - Stable-key membership for one non-dead-code audit domain.
- Audit
Finding Record - One dead-code finding classified for audit comparison.
- Dead
Code Audit Ledger - Exhaustive dead-code comparison ledger shared by audit verdict and output.
Functions§
- annotate_
dead_ code_ json - annotate_
domain_ json - Attach precomputed introduced membership to an audit JSON array.
- annotate_
dupes_ json - annotate_
health_ json - annotate_
stale_ suppressions_ json - Annotate the sole legacy dead-code collection without a typed
introducedfield. Every wrapper-backed collection is annotated from the persistedAuditComparisoninstead. - dead_
code_ audit_ ledger - Build the exhaustive dead-code comparison ledger once for an audit run.
- dead_
code_ keys dead_code_keys,retain_introduced_dead_code. Non-exhaustive siblings the compiler will NOT flag (wire manually when a finding type is added):annotate_dead_code_json(same key formats, this file) and the per-collection severity branches incrates/cli/src/check/rules.rs(apply_rules,has_error_severity_issues). TypeScript mirror:editors/vscode/scripts/codegen-contracts.mjsderives backwards-compatible aliases fromfallow schemats_aliasrows.- dupe_
group_ key - dupes_
keys - health_
finding_ key - health_
keys - relative_
key_ path - remap_
keys_ for_ renames - Remap root-relative path tokens inside base-snapshot attribution keys so a finding on a renamed file matches its base counterpart under the old path.
- retain_
introduced_ dead_ code - Retain only findings whose audit key was NOT present in
base(i.e. was introduced on the current branch). - styling_
finding_ key - styling_
keys