code.healthCode Health
Scores every JavaScript and TypeScript file from 1 to 10 for how easy it is to change, using CodeScene's Code Health rules and thresholds: complex, long and deeply nested functions, complex conditionals, bumpy roads (several chunks of nested logic), too many arguments, duplicated functions, primitive-heavy arguments and large files. Hotspots (the most often changed files in the last year of git history) get a higher severity. Honours `.codescene/code-health-rules.json` and `@codescene(disable:...)` comments.
- Engine
- Built-in
- Targets
- Codebase
- Areas
- Maintainability
- Runs
- By default, when the target applies
- Network
- Only the target itself
Run only this auditor
bunx @openaudit/cli . --only code.healthBuilt into openaudit; nothing to install.