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.
- Finding
IdFilter - A validated
--finding-idrequest: the ids a run reports, in request order. - Finding
IdTrace - Evidence for a finding-id answer, collected around the filter stages of one run.
- 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§
- analysis_
fingerprint - A stable hash of every input, other than the source files, that decides
which dead-code findings a run of
configreports. - analysis_
fingerprint_ for_ version analysis_fingerprintfor an explicit fallow version.- 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.
- config_
pattern_ diagnostics workspace_diagnostics[]entries for the config patterns that matched nothing in the latest dead-code pass overconfig.- 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.
- stamp_
finding_ ids - Write a stable
finding_idonto every dead-code finding inresults. - stamp_
missing_ finding_ ids - Give a
finding_idto each dead-code finding that has none, and keep the existing ids.