Daily Code Metrics Report - 2026-03-18 #21668
Closed
Replies: 2 comments
-
|
🤖 The smoke test agent was here! 👋 Running my diagnostic circuits through this discussion... all systems nominal. beep boop This is your friendly neighborhood smoke test bot, leaving a digital footprint to confirm the comment-to-discussion pipeline is working perfectly. The robots are friendly (today). 🚀
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion has been marked as outdated by Daily Code Metrics and Trend Tracking Agent. A newer discussion is available at Discussion #21774. |
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 continues on a steady growth trajectory, reaching 691,254 total LOC today — up from 683,871 yesterday (+1.1%). The overall quality score holds at 80/100 (Good), reflecting strong test coverage and documentation balance against higher-than-ideal churn activity. Go source code grew to 136,362 lines (+1,357 vs yesterday), with test coverage maintaining an excellent 2.28x test-to-source ratio (310,576 test LOC vs 136,362 source LOC).
The most active development area is the
pkg/workflowpackage, particularly around MCP renderer refactoring and new test suites for call workflow compilation, permissions, and safe output handling. 7-day source churn stands at 760 files modified with +46,664 / -14,097 lines, indicating significant active development. Lock file churn (-4,495 net change) shows cleanup activity in compiled workflow definitions. Documentation coverage improved withdocs/growing to 53,327 LOC, bringing the code-to-docs ratio down to a healthy 2.56:1.📊 Visualizations
LOC Distribution by Language
Go Tests dominate at 310,576 LOC (45%), followed by Markdown at 189,925 LOC (27.5%) and Go Source at 136,362 LOC (19.7%). The high test-to-source ratio is intentional and a sign of strong test culture. Shell, JSON, and TypeScript/JS each contribute modest shares.
Top Directories by LOC
pkg/at 466,510 LOC (67.5%) is the dominant directory, housing all core workflow logic..github/workflowsat 284,570 LOC reflects the large workflow definition corpus (236 workflow markdown files + 175 compiled lock files).docs/at 53,327 LOC shows strong documentation investment.Quality Score Breakdown
80/100 (Good) — Test Coverage achieves perfect 30/30, Comment Density earns 10/10. Code Organization (18/25) is held back by 70 large files (>500 LOC) in Go source. Documentation (15/20) is improving as docs grow. Churn Stability (7/15) reflects the current high activity period.
Test Coverage Analysis
Test-to-source ratio of 2.28x is well above the recommended minimum (0.5x) and good threshold (1.0x). 951 test files across 310,576 test LOC demonstrate comprehensive coverage. The ratio has remained stable at ~2.27-2.28x over the tracking period.
Code Churn (Last 7 Days)
Top changed source files focus on
pkg/workflow/:expression_validation.go(-715 lines, cleanup),mcp_renderer.go(-870 deleted), andsafe_outputs_jobs.go(-609 deleted) suggest active refactoring. New test files (call_workflow_compilation_test.go,top_level_github_app_import_test.go) add significant test mass. Note:docs/package-lock.json(2,556 total changes) was excluded as noise.Historical Trends (30 Days)
Total LOC shows consistent upward trend over 21 tracked days. Test-to-source ratio has been remarkably stable at 2.27-2.28x throughout. Quality score has held in the 79-81 range, with today's 80 matching the 21-day average.
📈 Detailed Metrics
Size Metrics
Lines of Code by Language
Total LOC: 691,254 (⬆️ +7,383 vs yesterday)
Lines of Code by Directory
Total Files: 3,461
Quality Indicators
Test Coverage
test_lines_of_code): 310,576 linestest_to_source_ratio): 2.28Code Churn (Last 7 Days)
Source Code Churn (Excludes *.lock.yml)
Most Active Source Files (by total lines changed)
pkg/workflow/expression_validation.go: +214/-715 = 929 totalpkg/parser/schemas/main_workflow_schema.json: +722/-193 = 915 totalpkg/workflow/call_workflow_compilation_test.go: +912/-0 = 912 total (new)pkg/workflow/mcp_renderer.go: +32/-870 = 902 totalpkg/workflow/top_level_github_app_import_test.go: +837/-0 = 837 total (new).github/workflows/daily-safe-output-integrator.md: +739/-0 = 739 total (new workflow).github/workflows/issue-monster.md: +337/-335 = 672 totalpkg/workflow/call_workflow_permissions_test.go: +664/-0 = 664 total (new)pkg/workflow/safe_outputs_jobs.go: +26/-609 = 635 totalpkg/workflow/non_github_mcp_guard_policy_test.go: +620/-9 = 629 totalWorkflow Lock File Churn (*.lock.yml only)
Note: Lock file churn is reported separately and excluded from quality score calculations to avoid noise from generated files.
Workflow Metrics
total_workflows): 236 files ⬆️ +1Documentation
Quality Score: 80/100 (Good)
Component Breakdown
💡 Insights & Recommendations
pkg/workflow/for splitting could improve Code Organization from 18→22/25, lifting total score to ~84.Report generated by Daily Code Metrics workflow | §23270825533
Historical data: 21 entries tracked | Last updated: 2026-03-18 UTC
Beta Was this translation helpful? Give feedback.
All reactions