supermodeltools/Dead Code Hunter
Find unused code in your codebase using Supermodel static analysis
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| supermodel-api-key | Supermodel API key from https://supermodeltools.com | yes | — |
| github-token | GitHub token for posting PR comments (defaults to github.token) | no | ${{ github.token }} |
| comment-on-pr | Post findings as PR comment | no | true |
| fail-on-dead-code | Fail the action if dead code is found | no | false |
| ignore-patterns | JSON array of glob patterns to exclude from results (supports **) | no | [] |
| min-confidence | Minimum confidence level to report: high, medium, or low | no | "" |
| timeout-seconds | Maximum seconds to wait for analysis to complete (default: 7200) | no | 7200 |
| cli-version | Supermodel CLI version to install (default: latest) | no | latest |
Outputs
| name | description |
|---|---|
| dead-code-count | Number of unused code elements found |
| dead-code-json | JSON array of dead code findings with type, confidence, and reason |