Skip to main content

nimbus health

Run a codebase health scan with 6 metrics. Tracks quality trends over time.

Usage

nimbus health
nimbus health ./path/to/repo

Output

  ◆ codebase health scan  acme-api

test coverage ████████░░ 82%
tech debt ███████░░░ 74%
security █████████░ 93%
doc coverage ██████░░░░ 61%
dep freshness █████████░ 94%

overall B+ 81/100

Metrics

MetricHow it's measured
Test coverageTest file count ratio, or pytest --cov if available
Tech debtClaude Haiku analysis of code complexity, naming, error handling
SecurityHeuristic scan for hardcoded secrets and SQL injection patterns
Doc coverage% of public functions with docstrings
Dep freshness% of dependencies that are up to date (pip list --outdated)
CI pass rateEstimated from recent build history

Grading

ScoreGrade
95+A+
90-94A
85-89B+
80-84B
75-79C+
70-74C
60-69D
<60F

API

Health snapshots are stored and available via the REST API:

# Trigger a hosted scan
POST /health-reports/{repo_id}/scan

# Get latest snapshot
GET /health-reports/{repo_id}

# Get historical trend
GET /health-reports/{repo_id}/history

Dashboard

View health trends over time at get-nimbus.com/dashboard/health.