Code Health Dashboard
The Code Health dashboard provides real-time metrics about your codebase’s quality, maintainability, and technical debt.
Metrics
Quality Score (0-100)
Composite score combining all quality dimensions. Higher is better.
- 90-100: Excellent — minimal issues
- 70-89: Good — some improvements needed
- 50-69: Fair — significant issues present
- Below 50: Poor — immediate attention needed
Reliability Rating (A-E)
Based on severity-weighted bug count. Critical and high-severity issues carry more weight than medium or low:
- A: No significant bugs
- B: Minor bugs
- C: Moderate bugs
- D: Significant bugs
- E: Critical reliability issues
Security Rating (A-E)
Same severity-weighted scale applied to vulnerabilities.
Maintainability Rating (A-E)
Same scale applied to code smells.
Risk Density (0-100)
Severity-weighted issue concentration per file. Lower is better. Measures how concentrated high-severity issues are in your codebase.
Maintainability Index (0-100)
Industry-standard metric. Higher is better.
Dead Code
Count of unreachable code blocks, unused imports, and dead branches detected.
Duplications
Percentage of code that appears as duplicate blocks, plus the count of duplicate block pairs.
Quality Gate
The quality gate evaluates multiple conditions across reliability, security, maintainability, and complexity. All thresholds are configurable via Settings → Policies at both org and repo level.
AI Actions
- Fix with AI: Generates a security fix for the selected file
- Document: Creates module documentation
- Generate Tests: Creates unit tests covering edge cases
- Explain Issue: Explains why an issue matters and how to fix it
Technical Debt Trend
Line chart showing quality score evolution over the last 10 scans. A second line shows issue count. Use this to track whether your codebase is improving or degrading.
Code Smell Categories
Horizontal bar chart breaking down smells into: naming, complexity, dead code, duplication, security, style, and other.
Top Issues to Fix
Severity-prioritized list combining all bugs, vulnerabilities, and code smells. Each issue shows:
- Severity badge
- File:line location
- Effort estimate (Quick fix / Requires review)
- Fix with AI button