What does dead code cover in practice?
dead code: The practical scope is Detect unreachable or unused paths that hide stale behavior and review risk.. Start with the listed entities or files and confirm the result on representative code.
See how dead code fits local review, which evidence Code Radar produces, where coverage ends, and how trusted findings move into CI.
radar scan . --quickThe dead code rule identifies review patterns that can create exploitable behavior or hide material maintenance risk, then returns the affected location, severity, confidence, and remediation context.
Verify the input scope, finding detail, workflow handoff, and product boundary before you install or buy.
Verify the input scope, finding detail, workflow handoff, and product boundary before you install or buy.
The useful question is where dead code changes the review loop: what enters the scan, who acts on a finding, and which evidence moves forward. Detect unreachable or unused paths that hide stale behavior and review risk.
For dead code, inspect the concrete scope below instead of relying on a category label. Confirm the path is unreachable or unused across entry points, tests, and configuration, then remove it in a focused change.
dead code: A useful result must be explainable to a developer and portable to the next review surface. Inspect the concrete evidence below before changing team policy.
dead code: Use the smallest workflow that proves value. Each later step should reuse evidence the team already understands. Detect unreachable or unused paths that hide stale behavior and review risk.
radar scan . --quick
radar scan . --format sarif --fail-on highdead code: A useful result must be explainable to a developer and portable to the next review surface. Inspect the concrete evidence below before changing team policy. Confirm the path is unreachable or unused across entry points, tests, and configuration, then remove it in a focused change.
Use dead code when Developers and reviewers deciding how to handle dead code findings before merge. Keep the boundary explicit: Reflection, plugin loading, and feature flags can hide live references; check runtime registration and deployment configuration before deleting or suppressing.
Run the local proof before adopting a shared gate.
These questions keep the decision tied to observable evidence rather than a broad product promise.
dead code: The practical scope is Detect unreachable or unused paths that hide stale behavior and review risk.. Start with the listed entities or files and confirm the result on representative code.
dead code: Inspect Confirm the path is unreachable or unused across entry points, tests, and configuration, then remove it in a focused change. Keep the source location, rule or comparison context, and exported artifact together.
dead code: Do not infer universal coverage. Reflection, plugin loading, and feature flags can hide live references; check runtime registration and deployment configuration before deleting or suppressing. Use the relevant comparison or workflow page to test the boundary before changing policy.
dead code: Start with a local run, review one real finding, then choose the linked report, agent, CI, or trust workflow that matches the next decision.
Start with one local scan, inspect the evidence, and expand to reports, agents, or CI only when the signal is useful.