[daily-code-metrics] Daily Code Metrics Report - 2026-07-21 #47128
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 #47383. |
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.
Summary
Quality score 79.0/100 (Good) — codebase is growing steadily (+5.8% LOC in 7 days, +11.7% in 30 days) with test coverage holding at the maximum-weighted band. The score improved +9.3% week-over-week, driven mostly by fewer oversized source files (better code organization). The soft spots remain churn stability (7.0/15) and comment density (6.5/10).
Key metrics today: LOC: 1,958,120 | Quality score: 79/100 | Test:source ratio: 1.94 | Active source files (7d): 1,279
This has been a high-velocity week: 368 commits touched 1,279 source files (+72,732 / −34,257 lines, net +38,475), with a matching wave of generated-lock churn (262 files, net +38,607) driven by the daily action-pin/workflow recompiles. Go source grew +6.4% and the Go function count jumped +10.7% (17,237 functions), while documentation expanded fast (+11.1% doc files in 7d, +35.9% in 30d). The test-to-source ratio dipped slightly to 1.94 as source outpaced tests, but remains comfortably above the 0.5–1.0 recommended band.
📊 Visualizations
YAML (536K) and Go Tests (492K) dominate the tree — configuration/workflow definitions and test code together account for over half of all LOC.
pkg(784K) is the core engine, followed by.github(649K, mostly compiled.lock.yml) andactions(319K).Test Coverage is maxed (30/30); Churn Stability (7/15) and Comment Density (6.5/10) are the largest gaps to target.
492K test LOC vs 254K source LOC — a 1.94 ratio, well above the recommended 0.5–1.0 range.
Top source churn (7d, excluding
*.lock.yml/actions-lock.json) is concentrated in the workshop docs pipeline and CLI bootstrap refactors.30-day view: LOC climbing steadily (1.68M → 1.96M) while the quality score oscillates in the 72–79 band and the test ratio slowly drifts down.
📈 Trends (7-day / 30-day)
View Full Details
Size (reference date: 2026-07-21)
Quality
Tests
Churn — source (7d, excl.
*.lock.yml&actions-lock.json)Most active source files:
docs/.../WorkshopExperience.astro(+2,986/−2,986),pkg/agentdrain/data/default_weights.json(−4,740 net),pkg/workflow/frontmatter_on_section_cleanup.go(+738 net),pkg/workflow/compiler_custom_jobs_test.go(+1,265 net),pkg/cli/bootstrap*.go(bootstrap refactor cluster).Churn — generated files (7d, only
*.lock.yml&actions-lock.json)Workflows / Docs
.mdfiles.lock.ymlfilesdocs/)Quality Score breakdown
1 Note: the large-file metric counts Go-source files only; some historical entries used an all-language definition, so the raw count is not directly comparable to pre-July values.
💡 Recommendations
pkg/cli/bootstrap*and workshop-docs pipeline account for a large share of turnover. Consider stabilizing these before more layers land on top to lift Churn Stability (7.0 → target 15).golint/reviveexported-comment pass onpkg/.pkg/code.References:
All reactions