← All pipelines

Quality & Health

sate dead-code

Shipped (partial)

Triage production surfaces with no caller into DELETE / DEFER / WIRE / PROMOTE buckets.

What it does

Walks the call graph emitted by the audit pipeline's Phase 1+2 surface mapper and classifies each surface that has zero callers. DELETE = safe to remove. DEFER = looks unreachable but might be a framework entry point. WIRE = looks like it should be bound to something (e.g. service container). PROMOTE = candidate for becoming part of the public API.

Who runs this

  • Codebase reducers — teams wanting to delete clearly dead code
  • Pre-acquisition technical due diligence

How to invoke

sate dead-code --project-root /path/to/laravel-app --out report.json

Flags

--project-root <path>

Required.

--out <path>

Write JSON report to file.

What it produces

  • ·JSON report at --out path with delete/defer/wire/promote arrays

What it does NOT do

  • Does NOT delete code automatically
  • Does NOT detect dynamic dispatch (closures, magic methods) as live — those land in DEFER

Notes

Depends on the audit pipeline's Phase 1+2 artifacts. Runs as part of audit-all but needs upstream artifacts present when run standalone.

Status

Engine tests

1

Status

Shipped (partial)

Category

Quality & Health

Related pipelines