Expand description
Dead-code result helpers exposed through the engine boundary.
Structs§
- Analysis
Results - Complete analysis results.
- Dead
Code Analysis - Typed dead-code analysis result.
- Dead
Code Analysis Artifacts - Typed dead-code analysis result with all reusable pipeline artifacts.
- Dead
Code Analysis Output - Typed dead-code analysis result with retained parser artifacts.
- Dead
Code Analysis With Hashes - Typed dead-code analysis result with per-file source hashes.
- Dead
Code Scope - The scope of one dead-code run, as the surface resolved it.
- Severity
Source - The rules that give a finding its severity.
Traits§
- Rule
Severity - A dead-code finding whose severity comes from the configured rules.
Functions§
- apply_
effective_ severities - Write the gate severity onto each dead-code finding in
results. - apply_
rule_ severities - Remove findings whose effective severity is
Offfrom an analysis result. - apply_
scope - Narrow dead-code results to the scope of the run.
- derive_
security_ severity - Derive the verification-priority tier from existing security signals. This is ranking only, not a vulnerability verdict.
- enable_
security_ rules - Enable the advisory security rules for a dedicated security-aware surface.
- filter_
by_ changed_ files - Scope dead-code results to findings affected by changed files.
- filter_
configured_ ignored_ findings - Apply configured source-owned finding exclusions to an analysis result.
- filter_
to_ workspaces - Scope dead-code results to the union of the given workspace roots.
- findings_
without_ severity - The number of gated dead-code findings in
resultsthat carry no saved severity, for example in a report from an older version. A renderer then takes their level from the configured rules. - promote_
effective_ warns - Raise every
warngate severity toerror, for--fail-on-issues. - security_
catalogue_ title - Return the human-readable title for a security catalogue identifier, covering the standalone hardcoded-secret detector that has no catalogue matcher row.
- security_
finding_ id - The stable per-finding correlation id: an FNV-1a hex digest of
rule:path:line:col. - security_
rule_ id - The stable rule identifier for a finding.