[daily-code-metrics] Daily Code Metrics Report - 2026-06-10 #38428
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 #38711. |
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,690,376 | Quality score: 73.4/100 | Test:Source ratio: 2.00 | Active source files (7d): 1,129
The gh-aw codebase continued its steady expansion over the past week, adding ~65K net lines (+4.0% in 7 days, +17.0% in 30 days) to reach 1.69M total LOC across 5,102 files. Growth is broad-based: Go test code (436K LOC), workflow YAML (456K LOC), and the bundled JavaScript action runtime (254K CJS LOC) remain the three largest segments. Test coverage stays exceptionally strong — the test-to-source ratio holds at 2.00 (Go test LOC is double Go source LOC), far above the recommended 0.5–1.0 band.
The overall quality score is 73.4/100, down a modest 1.8 points from yesterday's 75.2. The entire decline comes from the churn-stability component (4.3/15 vs 6.0/15): this was an unusually busy week with 510 source commits touching 1,129 files for a net +35,671 lines. All other components held steady — test coverage is maxed (30/30), code organization is strong (20.9/25), documentation is solid (13.2/20), and comment density is unchanged (5.0/10). High churn here reflects active feature development rather than instability, so the score dip is expected and not a cause for concern.
One bright spot in code organization: large Go files (>500 LOC) dropped 24.8% week-over-week (to 360), suggesting recent refactoring is breaking up oversized files even as the codebase grows. Documentation also kept pace (+2.1% doc LOC over 7 days, 393 doc files). The main watch-item is the sustained high churn — worth confirming it tracks planned roadmap work rather than churn-and-rework.
📊 Visualizations
Quality Score Breakdown
73.4/100 overall. Test Coverage is fully earned; Churn Stability (orange) is the single largest gap to target, driven by this week's heavy commit volume.
Historical Trends (30 days)
Total LOC has climbed steadily (+17% in 30 days) while the test-to-source ratio stays flat at ~2.0 — growth is matched by proportional test coverage. (Quality-score series shown only for the two days it has been recorded; trend will fill in over coming runs.)
LOC by Language
YAML (27%) and Go tests (25.8%) dominate. Actual Go source is 12.9% — the codebase is heavily weighted toward generated workflow YAML, tests, and the JS action runtime.
Top Directories by LOC
pkg/(41%) and.github/workflows/(32%) together hold ~73% of all lines. The workflow directory is large because of generated*.lock.ymlfiles.Code Churn — Source (7 days, excludes *.lock.yml)
Top churn is concentrated in data/config files (
default_weights.json,models.json) and the Copilot/PR action runtime — consistent with model-config and harness iteration rather than core-package rewrites.📈 Detailed Metrics
Size Metrics
Quality Indicators
Test Coverage
test_lines_of_code): 436,877test_to_source_ratio): 2.00 (➡️ -1.3% 7d, ⬇️ -6.1% 30d)Code Churn — Source (Last 7 Days, 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,542/-1,345),actions/setup/js/models.json(+1,698/-990),pkg/cli/data/models.json(+1,698/-990),pkg/workflow/js/safe_outputs_tools.json(+885/-624)Workflow Lock File Churn (*.lock.yml only — informational, excluded from quality score)
Lock-file churn is reported separately to avoid generated-file noise distorting the quality score.
Workflow Metrics
total_workflows): 342Documentation
Quality Score: 73.4/100
💡 Insights & Recommendations
pkg/.pkg/would be a cheap win.*.lock.ymlneed to live in-repo or could be CI-built to reduce review noise.Report generated by Daily Code Metrics workflow
Historical data: 48 days tracked | Last updated: 2026-06-10 19:30 UTC
References: §27300141208
Beta Was this translation helpful? Give feedback.
All reactions