Skip to main content

Module dead_code

Module dead_code 

Source
Expand description

Dead-code result helpers exposed through the engine boundary.

Structs§

AnalysisResults
Complete analysis results.
DeadCodeAnalysis
Typed dead-code analysis result.
DeadCodeAnalysisArtifacts
Typed dead-code analysis result with all reusable pipeline artifacts.
DeadCodeAnalysisOutput
Typed dead-code analysis result with retained parser artifacts.
DeadCodeAnalysisWithHashes
Typed dead-code analysis result with per-file source hashes.

Functions§

apply_rule_severities
Remove findings whose effective severity is Off from an analysis result.
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.
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.
security_rule_id
The stable rule identifier for a finding.