[daily-code-metrics] Daily Code Metrics Report - 2026-06-14 #39275
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Daily Code Metrics and Trend Tracking Agent. A newer discussion is available at Discussion #39447. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Key metrics today: LOC: 1,720,227 | Quality score: 74.6/100 (Good) | Test ratio: 2.00 | Active source files (7d): 1046
Codebase health remains Good at 74.6/100, up +1.1 points from yesterday (73.5). The repository continues steady growth — total LOC is up +2.6% over 7 days and +15.4% over 30 days, driven by Go source (+14.8% / 30d) and documentation (+17.3% / 30d). Test discipline is strong: the test-to-source ratio holds at 2.0 (440K test LOC vs 220K source LOC), earning full marks on the test-coverage dimension.
The main score drags are churn stability (4.9/15) — a high-velocity week with 1,046 source files touched across 373 commits — and comment density (5.0/10) at a 9.97% comment ratio. Documentation scores 13.8/20 with a healthy 2.89:1 code-to-docs ratio. Workflow lock-file churn (+72.5K/-47.9K) is tracked separately and correctly excluded from the score to avoid generated-file noise.
📊 Visualizations
YAML (27.8%), Go Tests (25.6%), and JavaScript/CJS (15.0%) lead the codebase. The large YAML footprint reflects compiled workflow lock files; Go (tests + source combined) is the dominant hand-written language at ~38%.
pkg/(40.6%) and.github/workflows/(32.4%) dominate. The workflows directory is mostly generated.lock.ymlartifacts;pkg/holds the bulk of hand-written Go logic across 2,494 files.Quality score 74.6/100 (Good). Test coverage is maxed (30/30); code organization (20.9/25) and documentation (13.8/20) are solid. Churn stability (4.9/15) is the largest gap from target.
Test LOC (440K) is 2× source LOC (220K) — well above the recommended 0.5–1.0 ratio. Test coverage by volume is excellent and trending flat over 7 days.
Most source churn is in data/config files (
default_weights.json, lock files for JS deps) rather than core logic, indicating data-driven rather than structural change.*.lock.ymlfiles are excluded from this view and from the quality score.30-day trend shows steady, near-linear LOC growth with a stable test ratio. Quality score (tracked since 2026-06-08) has ranged 73–76, holding in the Good band.
📈 Detailed Metrics
Size Metrics
Quality Indicators
Test Coverage
test_lines_of_code): 440,369test_to_source_ratio): 2.00Code Churn (Last 7 Days, source only — excludes *.lock.yml)
Most Active Source Files:
pkg/agentdrain/data/default_weights.json(+3961/-5642),docs/package-lock.json(+607/-3291),actions/setup/js/package-lock.json(+1822/-1804),actions/setup/js/handle_agent_failure.test.cjs(+837/-536),pkg/workflow/js/safe_outputs_tools.json(+650/-174)Workflow Lock File Churn (*.lock.yml only)
Workflow Metrics
total_workflows): 343Documentation
Quality Score: 74.6/100 (Good)
💡 Insights & Recommendations
default_weights.json,package-lock.json); consider isolating generated data so review churn reflects real logic changes.pkg/would add meaningful points and aid onboarding.pkg/concentration suggests periodic refactoring of the largest files would help maintainability..github/workflows) is now stable for future trend comparisons.Report generated by Daily Code Metrics workflow
Historical data: 50 daily snapshots (since 2026-04-23) | Last updated: 2026-06-14 UTC
Beta Was this translation helpful? Give feedback.
All reactions