Skip to content

feat(docs): add project metrics report and collection scripts - #103

Merged
kelleyglenn merged 4 commits into
masterfrom
feature/project-metrics-report
Feb 28, 2026
Merged

feat(docs): add project metrics report and collection scripts#103
kelleyglenn merged 4 commits into
masterfrom
feature/project-metrics-report

Conversation

@kelleyglenn

@kelleyglenn kelleyglenn commented Feb 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add comprehensive project metrics report (docs/project-metrics-report.md) covering size, complexity, quality, and developer performance across all 10 repos
  • Add reusable Python scripts (scripts/metrics/) for LOC analysis, git/GitHub metrics, endpoint counting, and JaCoCo coverage extraction
  • Add README for the metrics scripts with usage instructions for future regeneration
  • Ignore generated metrics JSON files in .gitignore

Test plan

  • Verify python scripts/metrics/collect_loc_metrics.py runs and produces loc_metrics.json
  • Verify python scripts/metrics/collect_metrics.py runs and produces git_metrics.json
  • Verify python scripts/metrics/collect_coverage.py runs and produces coverage_data.json
  • Verify python scripts/metrics/collect_endpoint_counts.py runs and produces endpoint_counts.json
  • Review report content in docs/project-metrics-report.md for accuracy

🤖 Generated with Claude Code

kelleyglenn and others added 4 commits February 27, 2026 18:59
Add comprehensive project metrics report covering size, complexity,
quality, and developer performance across all 10 repos. Include
reusable Python scripts for LOC analysis, git/GitHub metrics, and
JaCoCo coverage extraction.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nt counting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix hardcoded absolute paths in all 4 scripts (use relative paths from __file__)
- Make comment detection language-aware (C-style, hash, no-comment by extension)
- Remove --all flag from Claude co-author git grep (was inflating count across branches)
- Remove misleading count_endpoints() from LOC script (handled by collect_endpoint_counts.py)
- Replace chr(10)/chr(9) with "\n"/"\t" for readability
- Use set lookup in should_skip_file() instead of linear scan
- Add module docstring to collect_metrics.py
- Update methodology section and regenerate report with corrected data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kelleyglenn
kelleyglenn merged commit 01efa02 into master Feb 28, 2026
1 check passed
@kelleyglenn
kelleyglenn deleted the feature/project-metrics-report branch February 28, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant