Skip to content

feat: add Project Scale display to analyze output#48

Open
DaisukeYoda wants to merge 1 commit into
mainfrom
feat/project-scale-display
Open

feat: add Project Scale display to analyze output#48
DaisukeYoda wants to merge 1 commit into
mainfrom
feat/project-scale-display

Conversation

@DaisukeYoda

Copy link
Copy Markdown
Member

Summary

  • Health Score の直後に Project Scale 行を追加し、リポジトリ規模(Micro / Small / Medium / Large / Enterprise)をファイル数に基づいて表示
  • CLI・HTML・JSON/YAML 出力すべてに対応
  • classifyScale() の境界値テスト(0, 9, 10, 49, 50, 199, 200, 999, 1000)を追加

Test plan

  • go test ./domain/ ./service/ — 既存テスト + 新規 TestClassifyScale が全パス
  • jscan analyze test-repos/junkProject Scale: Micro (4 files, 6 functions, 127 LOC) 表示確認
  • jscan analyze test-repos/expressProject Scale: Medium (123 files, ...) 表示確認
  • HTML レポートにスケール情報が表示されることを目視確認

🤖 Generated with Claude Code

Show project scale (Micro/Small/Medium/Large/Enterprise) based on file
count in CLI, HTML, and structured outputs so users can interpret health
scores in the context of repository size.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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