Skip to content

Releases: supermodeltools/dead-code-hunter

v2

11 Feb 03:04

Choose a tag to compare

Dead Code Hunter v2

Finds unused code in your codebase using Supermodel static analysis.

Breaking changes from v1

  • dead-code-json output schema changed — candidates now include type, confidence, and reason fields. If you parse this output programmatically, update your code.
  • PR comment format updated — now includes Type and Confidence columns with color-coded badges.

What's new

  • API-driven analysis — uses the /v1/analysis/dead-code endpoint for server-side symbol-level import analysis
  • Broader detection — finds unused functions, classes, methods, interfaces, types, variables, and constants (v1 only detected functions)
  • Confidence levels — each finding includes high/medium/low confidence and a reason
  • Orphaned file detection — detects exports in files that have no importers anywhere in the codebase
  • Transitive dead code — identifies code only called by other dead code

Migration

Update your workflow:

-- uses: supermodeltools/dead-code-hunter@v1
+- uses: supermodeltools/dead-code-hunter@v2

All inputs remain the same. No configuration changes needed.

v1

10 Feb 23:24
3d81213

Choose a tag to compare

What's Changed

Full Changelog: https://github.com/supermodeltools/dead-code-hunter/commits/v1