[daily-code-metrics] Daily Code Metrics Report - 2026-05-10 #31369
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 #31572. |
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.
-
The gh-aw codebase reached 1,430,306 LOC across 4,350 files today. Quality score sits at 66.4 / 100 — held up by strong test coverage (Go test/source ratio 2.15) but pulled down by code organization (524 files >500 LOC) and stability (875 source files modified in the last 7 days). The repo is concentrated in three areas:
pkg/(42.5%),.github/workflows/(30.5%), andactions/(15.3%).The last 7 days saw +48,383 / −13,059 lines (net +35,324) across 875 source files in 401 commits — meaningful authoring activity. Generated workflow lock files added another +66,862 / −36,540 lines, tracked separately from the quality score so noise from compilation does not skew the signal. Total LOC is up +4.9% (7d); the test ratio dipped slightly −0.9% (7d) as source grew faster than tests.
This is the 20th entry in repo memory; 30-day deltas will be available once history extends past one month.
📊 Visualizations
Size Overview — Languages & Top Directories
Go tests are the single largest language by LOC (27.6%), edging out YAML (25.4%) — driven mainly by compiled
.lock.ymlfiles in.github/workflows.pkg/dominates the directory view at 42.5%, followed by workflows (30.5%) andactions/(15.3%). Thecmd/entrypoint stays lean at 2.4k LOC.Quality Score Breakdown
Test coverage is maxed at 30/30 (Go ratio 2.15 ≫ target 1.0). Code organization scores 9.5/25 because 524 of 772 Go source files exceed 500 LOC — the biggest lever for improving the score. Documentation 13.6/20 is healthy, churn stability 6.2/15 reflects very active development, and comment density 7.0/10 sits a touch under target.
Test Coverage Analysis
Go tests (394k LOC) are >2× Go source (183k LOC), well above the recommended 0.5–1.0 band. The ratio inched down −0.9% week-over-week as source grew slightly faster than tests, but the buffer remains very large.
Code Churn (Last 7 Days, Source Only)
.github/aw/github-agentic-workflows.mdsaw the highest churn (+119/−2,863 — a major prune). Reference docs indocs/src/content/docs/reference/(frontmatter-full.md, experiments-specification.md) had large rewrites. Tests for OTLP observability and CLI spec also moved significantly..lock.ymlfiles are excluded from this view to keep generated noise out.Historical Trends (Last 30 Days)
Total LOC has trended up steadily over the 19 days of recorded history; the test ratio has held mostly flat in the 2.1–2.2 range. The 7-day moving average smooths daily collection variance.
📈 Detailed Metrics
Size Metrics
Lines of Code by Language
Lines of Code by Directory (Top 10)
pkg/.github/workflows/actions/docs/scratchpad/scripts/specs/.github/agents/cmd/research/Quality Indicators
Test Coverage
test_lines_of_code): 394,071test_to_source_ratio): 2.148Code Churn (Last 7 Days)
Source Code Churn (excludes
*.lock.yml)Most Active Source Files
.github/aw/github-agentic-workflows.mddocs/src/content/docs/reference/frontmatter-full.mdactions/setup/js/send_otlp_span.test.cjsdocs/src/content/docs/reference/experiments-specification.md.github/aw/safe-outputs.mdpkg/cli/spec_test.go.github/aw/syntax.mdpkg/workflow/observability_otlp_test.goactions/setup/js/send_otlp_span.cjspkg/cli/experiments_command.goWorkflow Lock File Churn (
*.lock.ymlonly)Lock file churn is informational only — excluded from the quality score so generated-file noise does not affect the stability signal.
Workflow Metrics
.mdFiles: 218.lock.yml: 218.yml: 29Documentation
docs/): 285 markdown filesQuality Score: 66.4 / 100
7-Day Trend Summary
30-day deltas reported as the history extends — repo memory currently holds 20 days.
💡 Insights & Recommendations
pkg/cli/andpkg/workflow/..github/aw/github-agentic-workflows.mdfile lost ~2.8k lines this week. Confirm the reduction is intentional content cleanup rather than accidental loss; the file appears to have been pruned aggressively.actions/setup/js/send_otlp_span.cjsand its test file appear in the top-10 churn list — ensure the recent rewrite is well-reviewed before more changes land on top.Report generated by Daily Code Metrics workflow
Historical data: 20 days collected | Generated: 2026-05-10 UTC
References:
Beta Was this translation helpful? Give feedback.
All reactions