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 gh-aw repository maintains strong code quality with excellent test coverage (2.49:1 test-to-source ratio) and comprehensive automation (166 workflows). The codebase consists of 473,151 lines of code across 2,291 files, primarily written in Go (62.9%). With 891 test files and a quality score of 67.6/100, the repository demonstrates solid engineering practices.
Recent activity shows high development velocity with 422 commits and 2,035 files modified in the last 7 days. While code organization and test coverage are strong, there are opportunities to improve documentation coverage and manage code churn for better stability.
📊 Visualizations
LOC Distribution by Language
The codebase is heavily Go-based (296,411 LOC, 62.9%), with significant "Other" category files (86,963 LOC, 18.4%) likely including compiled workflows. Markdown documentation comprises 11.3% (53,432 LOC), showing good documentation investment.
Top Directories by LOC
The pkg directory dominates with 313,435 LOC (66.3%), followed by .github/workflows with 202,979 LOC (42.9%). The actions directory contains 74,954 LOC, indicating significant reusable action infrastructure. This distribution reflects a well-organized monorepo structure.
Quality Score Breakdown
Current quality score: 67.6/100
Test Coverage (83.0%): Excellent with 2.49:1 ratio, scoring 24.9/30 points
Code Organization (83.5%): Strong organization with average file size of 206.5 LOC, scoring 20.9/25 points
Documentation (34.8%): Room for improvement with 26.1:1 code-to-docs ratio, scoring 7.0/20 points
Comment Density (100%): Outstanding 12.68% comment ratio, perfect 10/10 points
Test Coverage Analysis
With 891 test files containing 217,681 LOC compared to 87,344 LOC of source code, the repository achieves an impressive 2.49:1 test-to-source ratio. This exceeds the recommended 1.0:1 ratio, demonstrating exceptional commitment to test coverage and code quality.
Code Churn (Last 7 Days)
The repository shows high development activity with 422 commits across 2,035 files in the past week. Net change: -5,938 lines (+185,730 / -191,668). Most active files are workflow lock files, indicating continuous CI/CD pipeline evolution. The security-alert-burndown.lock.yml file saw the most significant changes (+4,539/-3,325 lines).
Historical Trends (30 Days)
The 30-day trend analysis reveals fluctuating codebase size with recent stabilization around 473K LOC after previous peaks near 800K. Test-to-source ratio has improved and stabilized at 2.49:1. Quality scores show recent improvement trend, reaching 67.6 from previous lows.
📈 Detailed Metrics
Size Metrics
Lines of Code by Language
Language
LOC
% of Total
Files
Go
296,411
62.9%
1,190
Other
86,963
18.4%
-
Markdown
53,432
11.3%
506
JSON
26,569
5.6%
29
Shell
5,234
1.1%
42
JavaScript
1,580
0.3%
7
CSS
1,281
0.3%
1
TypeScript
941
0.2%
17
YAML
616
0.1%
4
Python
106
0.0%
1
Dockerfile
18
0.0%
1
Total: 473,151 LOC across 2,291 files
Lines of Code by Directory
Directory
LOC
% of Codebase
Files
pkg
313,435
66.3%
1,566
.github/workflows
202,979
42.9%
382
actions
74,954
15.8%
409
docs
47,849
10.1%
163
scratchpad
19,351
4.1%
54
skills
4,528
1.0%
27
scripts
2,415
0.5%
18
cmd
1,483
0.3%
7
specs
1,375
0.3%
3
socials
1,201
0.3%
12
Quality Indicators
Total Files: 2,291 files
Average File Size: 206.5 LOC
Large Files (>500 LOC): 171 files (7.5%)
Comment Lines: 44,289 lines
Comment Ratio: 12.68%
Function Count: Not calculated (requires AST analysis)
Test Coverage (30%): Based on test-to-source ratio (max at 3.0:1)
Code Organization (25%): Based on average file size (penalty for large files)
Documentation (20%): Based on code-to-docs ratio (lower is better)
Churn Stability (15%): Based on files modified in 7 days (lower is better)
Comment Density (10%): Based on comment ratio (max at 10%)
💡 Insights & Recommendations
Improve Documentation Coverage: Current code-to-docs ratio of 26.1:1 is high. Target 10-15:1 by expanding inline documentation and architectural guides. Consider documenting complex workflows and pkg modules more thoroughly.
Manage Code Churn: With 2,035 files modified in 7 days, consider stabilizing frequently-changed workflow files. Implement change batching strategies to reduce constant workflow regeneration.
Maintain Test Excellence: Continue the exceptional 2.49:1 test-to-source ratio. This is a key strength of the repository and should be preserved as the codebase grows.
Monitor Large Files: 171 files exceed 500 LOC. Review these for potential refactoring opportunities, especially test files and workflow schemas that could benefit from modularization.
Optimize Workflow Automation: With 89.8% of workflows compiled to .lock.yml files, ensure the compilation process is efficient. Consider workflow deduplication strategies for similar patterns.
Report generated by Daily Code Metrics workflow Historical data: 30 days tracked | Last updated: 2026-02-03 Workflow run: §21627526234
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 gh-aw repository maintains strong code quality with excellent test coverage (2.49:1 test-to-source ratio) and comprehensive automation (166 workflows). The codebase consists of 473,151 lines of code across 2,291 files, primarily written in Go (62.9%). With 891 test files and a quality score of 67.6/100, the repository demonstrates solid engineering practices.
Recent activity shows high development velocity with 422 commits and 2,035 files modified in the last 7 days. While code organization and test coverage are strong, there are opportunities to improve documentation coverage and manage code churn for better stability.
📊 Visualizations
LOC Distribution by Language
The codebase is heavily Go-based (296,411 LOC, 62.9%), with significant "Other" category files (86,963 LOC, 18.4%) likely including compiled workflows. Markdown documentation comprises 11.3% (53,432 LOC), showing good documentation investment.
Top Directories by LOC
The
pkgdirectory dominates with 313,435 LOC (66.3%), followed by.github/workflowswith 202,979 LOC (42.9%). Theactionsdirectory contains 74,954 LOC, indicating significant reusable action infrastructure. This distribution reflects a well-organized monorepo structure.Quality Score Breakdown
Current quality score: 67.6/100
Test Coverage Analysis
With 891 test files containing 217,681 LOC compared to 87,344 LOC of source code, the repository achieves an impressive 2.49:1 test-to-source ratio. This exceeds the recommended 1.0:1 ratio, demonstrating exceptional commitment to test coverage and code quality.
Code Churn (Last 7 Days)
The repository shows high development activity with 422 commits across 2,035 files in the past week. Net change: -5,938 lines (+185,730 / -191,668). Most active files are workflow lock files, indicating continuous CI/CD pipeline evolution. The
security-alert-burndown.lock.ymlfile saw the most significant changes (+4,539/-3,325 lines).Historical Trends (30 Days)
The 30-day trend analysis reveals fluctuating codebase size with recent stabilization around 473K LOC after previous peaks near 800K. Test-to-source ratio has improved and stabilized at 2.49:1. Quality scores show recent improvement trend, reaching 67.6 from previous lows.
📈 Detailed Metrics
Size Metrics
Lines of Code by Language
Total: 473,151 LOC across 2,291 files
Lines of Code by Directory
Quality Indicators
Notable Large Files
docs/public/peli.png: 12,761 linesdocs/package-lock.json: 10,638 linespkg/parser/schemas/main_workflow_schema.json: 6,679 linesscratchpad/artifacts.md: 2,959 linesactions/setup/js/package-lock.json: 2,333 linesTest Coverage
Code Churn (Last 7 Days)
Most Active Files (Last 7 Days)
.github/workflows/security-alert-burndown.lock.yml: +4,539/-3,325 lines.github/workflows/dependabot-burner.lock.yml: +2,013/-691 lines.github/workflows/smoke-project.lock.yml: +1,836/-400 lines.github/workflows/functional-pragmatist.lock.yml: +1,593/-1,616 linesNote: test-result.json excluded (temporary test artifact)
Workflow Metrics
Documentation
Quality Score: 67.6/100
Component Breakdown
Calculation Methodology:
💡 Insights & Recommendations
Improve Documentation Coverage: Current code-to-docs ratio of 26.1:1 is high. Target 10-15:1 by expanding inline documentation and architectural guides. Consider documenting complex workflows and pkg modules more thoroughly.
Manage Code Churn: With 2,035 files modified in 7 days, consider stabilizing frequently-changed workflow files. Implement change batching strategies to reduce constant workflow regeneration.
Maintain Test Excellence: Continue the exceptional 2.49:1 test-to-source ratio. This is a key strength of the repository and should be preserved as the codebase grows.
Monitor Large Files: 171 files exceed 500 LOC. Review these for potential refactoring opportunities, especially test files and workflow schemas that could benefit from modularization.
Optimize Workflow Automation: With 89.8% of workflows compiled to .lock.yml files, ensure the compilation process is efficient. Consider workflow deduplication strategies for similar patterns.
Report generated by Daily Code Metrics workflow
Historical data: 30 days tracked | Last updated: 2026-02-03
Workflow run: §21627526234
Beta Was this translation helpful? Give feedback.
All reactions