[daily-code-metrics] Daily Code Metrics Report - 2026-06-19 #40378
Closed
Replies: 2 comments
-
|
Smoke ping from run 27845045338. Warning Firewall blocked 5 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
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 #40499. |
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.
-
Key metrics today: LOC: 1,744,841 | Quality score: 76.7/100 (Good) | Test ratio: 1.99 | Active source files (7d): 1,082
📊 Overview
The codebase grew to 1.74M LOC (+2.7% over 7 days, +14.9% over 30 days), driven by continued expansion in
pkg/(40.6% of all code) and.github/(33.6%, mostly generated*.lock.ymlworkflows). Test coverage remains strong with a 1.99 test-to-source ratio (445K test LOC vs 224K source LOC), well above the recommended 0.5–1.0 band. The overall quality score is 76.7/100 ("Good"), up ~3.6% week-over-week, anchored by a maxed-out test-coverage component and solid documentation depth.Source-code activity was high this week — 293 commits touching 1,082 source files (+42,803 / −14,767 lines, net +28,036). Generated workflow lock files churned even harder (252 files, net +17,769) but are tracked separately and excluded from the quality score to avoid noise. The main watch items are low comment density (9.96% on Go) and a growing count of large files, both of which cap the organization and comment components of the score.
📊 Visualizations
Quality Score Breakdown
76.7/100 ("Good"). Test coverage is fully earned (30/30); documentation (17.1/20) and churn stability (10.1/15) are healthy. Code organization (14.5/25) and comment density (5.0/10) are the largest gaps to 100.
Historical Trends (30 days)
Total LOC has climbed steadily (+14.9% in 30 days). The test-coverage ratio has held flat near ~200% while quality score has stayed in the mid-70s, indicating growth without coverage regression.
LOC by Language
YAML (27.4%) leads — largely generated workflow lock files — followed by Go Tests (25.5%) and JavaScript CJS (15.1%). Hand-written Go source is 12.9%.
Top Directories by LOC
pkg/(40.6%) dominates core logic;.github/(33.6%) is inflated by compiled*.lock.yml;actions/(16.3%) holds the JS runtime.Code Churn (7 days, source only)
*.lock.ymlexcluded. The most-changed files are still mostly generated artifacts (package-lock.json,action_pins.json,safe_outputs_tools.json), suggesting much "source" churn is also machine-generated.📈 Detailed Metrics
Size Metrics
Quality Indicators
Test Coverage
test_lines_of_code): 445,571test_to_source_ratio): 1.99 (⬇️ −0.7% 7d, −4.3% 30d)Code Churn — Source (Last 7 Days, excludes *.lock.yml)
Most Active Source Files: actions/setup/js/package-lock.json (+1,986/−159), pkg/workflow/js/safe_outputs_tools.json (+916/−844), specs/otel-observability-spec.md (+862/−779), docs/.../frontmatter-full.md (+1,213/−118), pkg/.../action_pins.json (+694/−629)
Workflow Lock File Churn (*.lock.yml only)
Lock file churn is reported separately and excluded from the quality score (generated files).
Workflow Metrics
total_workflows): 348 (⬆️ +1.5% 7d)Documentation
Quality Score: 76.7/100 (Good)
💡 Insights & Recommendations
pkg/files would lift the weakest score component.pkg/workflowwould recover points on Code Organization (14.5/25).package-lock.json,action_pins.json, andsafe_outputs_tools.jsondominate source churn. Consider extending the lock-file exclusion to*-lock.jsonandaction_pins.jsonso churn-stability reflects human edits.pkg/source lands with matching tests so the 30/30 component holds.Report generated by Daily Code Metrics workflow
Historical data: 52 daily records | Last updated: 2026-06-19 UTC
References: §27843678087
Beta Was this translation helpful? Give feedback.
All reactions