You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Key metrics today: LOC: 1,676,891 | Quality score: 75.2/100 | Test ratio: 2.01 | Active source files (7d): 992
The codebase quality score climbed to 75.2/100, up +6.5% over 7 days and +12.9% over 30 days (66.5 → 75.2) — a steady, healthy improvement. Test coverage remains the standout strength: the test-to-source ratio sits at 2.01 (more test code than source), earning a full 30/30 on that component. Total lines of code grew +4.4% this week and +17.3% over the month, driven largely by pkg/ (686K LOC) and .github/workflows/ (537K LOC).
The two components dragging the score down are Churn Stability (6.0/15) and Comment Density (5.0/10). Source churn was heavy this week — 476 commits across 992 files, net +30,141 lines — concentrated in generated/data files (default_weights.json, models.json, create_pull_request.cjs). Comment density holds at 9.98%, roughly half the 20% target. Note that workflow *.lock.yml churn (net +40,296 lines across 246 files) is tracked separately and excluded from the quality score to avoid noise from generated artifacts.
📊 Key Visualizations
Quality Score Breakdown
Test Coverage (100%) and Code Organization (84%) are strong; Churn Stability (40%) and Comment Density (50%) are the clearest opportunities for improvement.
Historical Trends (30 Days)
LOC is on a sustained upward climb while the quality score trends gently upward and the test ratio stays stable near 2.0.
💡 Top Recommendations
Raise comment density — exported Go symbols would benefit from doc comments to move the 9.98% ratio toward the 15–20% range (currently 5.0/10 points).
Stabilize high-churn data files — models.json, default_weights.json, and copilot_sdk_driver.cjs dominate source churn; consider whether some are generated and could be excluded from quality signals.
Expand documentation — doc-to-source ratio is ~0.33 vs a 0.5 target (13.3/20 points); growing docs/ coverage would lift the score.
Refactor large Go files — 358 Go files exceed 500 LOC (16.5% of all Go files); splitting the largest would improve Code Organization.
📈 Detailed Metrics
Size & Trends
Metric
Value
7d
30d
Total LOC
1,676,891
⬆️ +4.4%
⬆️ +17.3%
Quality Score
75.2/100
⬆️ +6.5%
⬆️ +12.9%
Test:Source Ratio
2.01
➡️ −0.7%
⬇️ −6.4%
LOC by Language (top)
Language
LOC
YAML
455,534
Go Tests
433,218
JavaScript (CJS)
250,565
Markdown
248,458
Go Source
215,310
JSON
50,973
Top Directories
Directory
LOC
pkg/
685,725
.github/workflows/
536,604
actions/
270,508
docs/
88,629
Quality Indicators
Avg Go source file size: 239.0 lines
Large files (>500 LOC, Go): 358 files
Function count: 13,434
Comment lines: 64,727 (9.98% ratio)
Test Coverage
Test files: 1,273 — Test LOC: 433,218
Source LOC: 215,310 — Ratio: 2.01
Code Churn — Source (7d, excludes *.lock.yml)
Files modified: 992 · Commits: 476
Lines: +61,940 / −31,799 · Net: +30,141
Most active source files: pkg/agentdrain/data/default_weights.json (+3,961/−5,642), actions/setup/js/create_pull_request.cjs (+1,535/−1,356), pkg/cli/data/models.json (+1,698/−990), actions/setup/js/models.json (+1,698/−990), actions/setup/js/copilot_sdk_driver.cjs (+918/−779)
Workflow Lock File Churn (*.lock.yml only — informational)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Key metrics today: LOC: 1,676,891 | Quality score: 75.2/100 | Test ratio: 2.01 | Active source files (7d): 992
The codebase quality score climbed to 75.2/100, up +6.5% over 7 days and +12.9% over 30 days (66.5 → 75.2) — a steady, healthy improvement. Test coverage remains the standout strength: the test-to-source ratio sits at 2.01 (more test code than source), earning a full 30/30 on that component. Total lines of code grew +4.4% this week and +17.3% over the month, driven largely by
pkg/(686K LOC) and.github/workflows/(537K LOC).The two components dragging the score down are Churn Stability (6.0/15) and Comment Density (5.0/10). Source churn was heavy this week — 476 commits across 992 files, net +30,141 lines — concentrated in generated/data files (
default_weights.json,models.json,create_pull_request.cjs). Comment density holds at 9.98%, roughly half the 20% target. Note that workflow*.lock.ymlchurn (net +40,296 lines across 246 files) is tracked separately and excluded from the quality score to avoid noise from generated artifacts.📊 Key Visualizations
Quality Score Breakdown
Test Coverage (100%) and Code Organization (84%) are strong; Churn Stability (40%) and Comment Density (50%) are the clearest opportunities for improvement.
Historical Trends (30 Days)
LOC is on a sustained upward climb while the quality score trends gently upward and the test ratio stays stable near 2.0.
💡 Top Recommendations
models.json,default_weights.json, andcopilot_sdk_driver.cjsdominate source churn; consider whether some are generated and could be excluded from quality signals.docs/coverage would lift the score.📈 Detailed Metrics
Size & Trends
LOC by Language (top)
Top Directories
Quality Indicators
Test Coverage
Code Churn — Source (7d, excludes *.lock.yml)
Most active source files:
pkg/agentdrain/data/default_weights.json(+3,961/−5,642),actions/setup/js/create_pull_request.cjs(+1,535/−1,356),pkg/cli/data/models.json(+1,698/−990),actions/setup/js/models.json(+1,698/−990),actions/setup/js/copilot_sdk_driver.cjs(+918/−779)Workflow Lock File Churn (*.lock.yml only — informational)
Workflows & Docs
Quality Score Components
References: §27160762222
Report generated by Daily Code Metrics workflow · Historical data: 47 days · Last updated: 2026-06-08 UTC
Beta Was this translation helpful? Give feedback.
All reactions