You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The codebase maintains a quality score of 73/100 (Good) for the seventh consecutive tracking day, showing consistent stability. Today's snapshot counts 713,410 lines of code across primary languages (Go Source: 151,735 | Go Tests: 330,955 | Markdown: 187,151), with a healthy test-to-source ratio of 2.18x — well above the 1.0x ideal. The overall trajectory is upward: Go source has grown ~2.4% since March 27 (148,158 → 151,735), and the test suite has grown in lock-step, suggesting strong test discipline.
Churn spiked this week compared to yesterday's window. Source code saw 41,269 lines added and 19,000 deleted (+22,269 net) across 271 commits, driven by new test files, schema expansions, and active pkg/cli and pkg/workflow development. Documentation grew by +1,748 lines over the past week in docs/src/content/docs/reference/frontmatter-full.md (+1,141 lines) — evidence of active docs work for new features. Workflow lock file churn turned negative (-4,003 net), suggesting some workflow consolidation or removal.
📊 Visualizations
LOC Distribution by Language
Go tests dominate the codebase at 330,955 lines (46%), followed by JavaScript CJS at 152,305 lines (21%), and Markdown documentation at 187,151 lines (26%). Go source code stands at 151,735 lines. The compiled Go category (source + tests) represents ~68% of all measured code.
Top Directories by LOC
pkg/ remains the largest code directory at 479,383 lines (~45%), followed by the actions/ directory at 164,253 lines. The .github/workflows directory at 296,668 lines reflects the large automation surface area of this repository.
Quality Score Breakdown
Test Coverage earns a perfect 30/30 score. Code Organization (16/25) and Documentation (13/20) remain the primary growth opportunities. Churn Stability (5/15) reflects the consistently high development velocity — a structural characteristic of this active repo.
Test Coverage Analysis
The test-to-source ratio of 2.181x is exceptional — for every line of source code, there are 2.18 lines of tests. The ratio has been remarkably stable across all tracked days (2.181–2.191), indicating disciplined test-alongside-code development practices. The trend chart shows essentially flat ratio with a slight downward drift as source grows slightly faster than tests in the recent window.
Code Churn (Last 7 Days)
Most active files this week: frontmatter-full.md (+1,141/-266), main_workflow_schema.json (+921/-374), and ci.yml (+743/-333). New test files dominate additions: apm_dependencies_test.go (+987 new), apm_unpack.test.cjs (+980 net new). pkg/constants/constants.go saw significant refactoring (-839 lines removed). All *.lock.yml generated workflow files are excluded from this chart.
Historical Trends (30 Days)
Total LOC has grown from ~647k (Mar 02) to ~713k today (+10.2% in 31 days). Quality score has held steady at 73 since March 22 after dipping from a peak of 81 on March 17. Test coverage ratio has been flat at ~2.18x for the past 7 tracked days.
📈 Detailed Metrics
Size Metrics
Lines of Code by Language
Language
LOC
% of Total
vs. Apr 01
Go Source
151,735
21.3%
⬆️ +1,473 (+1.0%)
Go Tests
330,955
46.4%
⬆️ +1,558 (+0.5%)
Markdown
187,151
26.2%
⬆️ +3,594 (+1.9%)
JavaScript_CJS
152,305
—
⬆️ +2,227 (+1.5%)
Shell Scripts
10,301
1.4%
⬆️ +334 (+3.3%)
YAML
6,207
0.9%
➡️ 0
TypeScript
2,184
0.3%
⬆️ +1,353
JavaScript
3,167
0.4%
➡️ 0
JSON
20,881
2.9%
—
Python
829
0.1%
➡️ 0
Total
713,410
100%
⬆️ +1.6%
Lines of Code by Directory
Directory
LOC
% of Total
Files
pkg/
479,383
—
~1,629
.github/workflows
296,668
—
179 lock + 22 yml + 248 md
actions/
164,253
—
—
docs/
62,835
—
255
scratchpad/
34,698
—
—
skills/
8,206
—
—
scripts/
6,145
—
—
cmd/
2,430
—
—
specs/
2,499
—
—
research/
2,241
—
—
Quality Indicators
Average File Size (Go Source): 233.1 lines
Large Files (>500 LOC): 262 files
Function Count: 8,643 functions
Comment Lines: 50,586 lines (10.49% ratio)
Total Files: 3,690
Test Coverage
Test Files: 978 files
Test LOC (test_lines_of_code): 330,955 lines
Source LOC: 151,735 lines
Test-to-Source Ratio (test_to_source_ratio): 2.181
Trend (7d): ➡️ Stable (~2.18x throughout)
Trend (30d): ⬇️ Slight decline (was 2.29x on Mar 02)
Comment Density (10%): 9/10 — 10.49% comment ratio
💡 Insights & Recommendations
Test discipline is exemplary: The 2.18x test-to-source ratio has held steady for a full week with zero deviation — this is exceptional engineering culture worth preserving. As ratio trends slightly down (was 2.29x in early March), monitor to ensure tests keep pace with feature velocity.
pkg/constants/constants.go major refactor: This file lost 839 lines in the past 7 days (+35/-839 net -804). This is likely a positive consolidation — verify no dead code was introduced and that callers were updated accordingly.
Frontmatter docs getting comprehensive: frontmatter-full.md gained 875 net lines this week, indicating active documentation of new frontmatter fields. This is positive for user-facing documentation coverage.
Code Organization score (16/25) is the biggest gap: 262 files exceed 500 LOC. Consider identifying the largest files (pkg/workflow/, pkg/cli/) as candidates for splitting into focused, testable units — especially as function count grows (8,643 functions today vs 7,334 on Mar 02, +17.8%).
Workflow count growth: total_workflows (.md files) jumped from 244 to 248 (+4) in one day. Review if all new workflows are intentional additions or auto-generated artifacts.
Report generated by Daily Code Metrics workflow Historical data: 31 days (2026-03-02 → 2026-04-02) | Run: §23922917582
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The codebase maintains a quality score of 73/100 (Good) for the seventh consecutive tracking day, showing consistent stability. Today's snapshot counts 713,410 lines of code across primary languages (Go Source: 151,735 | Go Tests: 330,955 | Markdown: 187,151), with a healthy test-to-source ratio of 2.18x — well above the 1.0x ideal. The overall trajectory is upward: Go source has grown ~2.4% since March 27 (148,158 → 151,735), and the test suite has grown in lock-step, suggesting strong test discipline.
Churn spiked this week compared to yesterday's window. Source code saw 41,269 lines added and 19,000 deleted (+22,269 net) across 271 commits, driven by new test files, schema expansions, and active
pkg/cliandpkg/workflowdevelopment. Documentation grew by +1,748 lines over the past week indocs/src/content/docs/reference/frontmatter-full.md(+1,141 lines) — evidence of active docs work for new features. Workflow lock file churn turned negative (-4,003 net), suggesting some workflow consolidation or removal.📊 Visualizations
LOC Distribution by Language
Go tests dominate the codebase at 330,955 lines (46%), followed by JavaScript CJS at 152,305 lines (21%), and Markdown documentation at 187,151 lines (26%). Go source code stands at 151,735 lines. The compiled Go category (source + tests) represents ~68% of all measured code.
Top Directories by LOC
pkg/remains the largest code directory at 479,383 lines (~45%), followed by theactions/directory at 164,253 lines. The.github/workflowsdirectory at 296,668 lines reflects the large automation surface area of this repository.Quality Score Breakdown
Test Coverage earns a perfect 30/30 score. Code Organization (16/25) and Documentation (13/20) remain the primary growth opportunities. Churn Stability (5/15) reflects the consistently high development velocity — a structural characteristic of this active repo.
Test Coverage Analysis
The test-to-source ratio of 2.181x is exceptional — for every line of source code, there are 2.18 lines of tests. The ratio has been remarkably stable across all tracked days (2.181–2.191), indicating disciplined test-alongside-code development practices. The trend chart shows essentially flat ratio with a slight downward drift as source grows slightly faster than tests in the recent window.
Code Churn (Last 7 Days)
Most active files this week:
frontmatter-full.md(+1,141/-266),main_workflow_schema.json(+921/-374), andci.yml(+743/-333). New test files dominate additions:apm_dependencies_test.go(+987 new),apm_unpack.test.cjs(+980 net new).pkg/constants/constants.gosaw significant refactoring (-839 lines removed). All*.lock.ymlgenerated workflow files are excluded from this chart.Historical Trends (30 Days)
Total LOC has grown from ~647k (Mar 02) to ~713k today (+10.2% in 31 days). Quality score has held steady at 73 since March 22 after dipping from a peak of 81 on March 17. Test coverage ratio has been flat at ~2.18x for the past 7 tracked days.
📈 Detailed Metrics
Size Metrics
Lines of Code by Language
Lines of Code by Directory
Quality Indicators
Test Coverage
test_lines_of_code): 330,955 linestest_to_source_ratio): 2.181Code Churn (Last 7 Days)
Source Code Churn (Excludes *.lock.yml)
Most Active Source Files
actions/setup/js/package-lock.json: +643/-782 (net -139)docs/src/content/docs/reference/frontmatter-full.md: +1,141/-266 (net +875)pkg/parser/schemas/main_workflow_schema.json: +921/-374 (net +547).github/workflows/ci.yml: +743/-333 (net +410)actions/setup/js/check_workflow_timestamp_api.test.cjs: +401/-593 (net -192)pkg/workflow/apm_dependencies_test.go: +987/-0 (new file)actions/setup/js/apm_unpack.test.cjs: +980/-0 (net +980)pkg/constants/constants.go: +35/-839 (net -804, refactored)pkg/cli/trial_command.go: +868/-1 (net +867, new feature)actions/setup/js/apm_unpack.cjs: +829/-0 (net +829)Workflow 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): 248 files (+4 vs Apr 01)Documentation
Quality Score: 73/100 (Good)
Component Breakdown
💡 Insights & Recommendations
Test discipline is exemplary: The 2.18x test-to-source ratio has held steady for a full week with zero deviation — this is exceptional engineering culture worth preserving. As ratio trends slightly down (was 2.29x in early March), monitor to ensure tests keep pace with feature velocity.
pkg/constants/constants.gomajor refactor: This file lost 839 lines in the past 7 days (+35/-839 net -804). This is likely a positive consolidation — verify no dead code was introduced and that callers were updated accordingly.Frontmatter docs getting comprehensive:
frontmatter-full.mdgained 875 net lines this week, indicating active documentation of new frontmatter fields. This is positive for user-facing documentation coverage.Code Organization score (16/25) is the biggest gap: 262 files exceed 500 LOC. Consider identifying the largest files (
pkg/workflow/,pkg/cli/) as candidates for splitting into focused, testable units — especially as function count grows (8,643 functions today vs 7,334 on Mar 02, +17.8%).Workflow count growth:
total_workflows(.md files) jumped from 244 to 248 (+4) in one day. Review if all new workflows are intentional additions or auto-generated artifacts.Report generated by Daily Code Metrics workflow
Historical data: 31 days (2026-03-02 → 2026-04-02) | Run: §23922917582
References:
Beta Was this translation helpful? Give feedback.
All reactions