Check Balance - Quick Health Check
Execution Steps
- Run
cargo run -- coupling --summary $ARGUMENTS(default:./src) - Check balance score and health grade
- Provide brief advice if issues detected
Commands
# Summary check
cargo run -- coupling --summary ./src
# Japanese output
cargo run -- coupling --summary --japanese ./src
# CI/CD quality gate
cargo run -- coupling --check --min-grade=C ./src
# Ratchet gate against a baseline ref
cargo run -- coupling --check --baseline main --fail-on=high ./src
# Coupling health over git history
cargo run -- coupling --history ./src
Health Grades
| Score | Grade | Status | Action |
|---|---|---|---|
| 0.90-1.00 | A | Excellent | Maintain |
| 0.80-0.89 | B | Good | Minor improvements |
| 0.60-0.79 | C | Acceptable | Planned improvement |
| 0.40-0.59 | D | Needs improvement | Act soon |
| 0.00-0.39 | F | Critical | Immediate action |
Issue Severity
| Severity | Action |
|---|---|
| Critical | Fix immediately |
| High | Fix within 1 week |
| Medium | Plan to fix |
| Low | Monitor |
Ratchet Mode
cargo run -- coupling --check --baseline <ref> ./src compares current issues against the baseline ref and fails only on new issues at --fail-on severity or higher. The default ratchet threshold is High/Critical.
Next Steps
- Low score: Run
/analyzefor details - Critical issues: Run
/full-reviewfor comprehensive analysis