Skip to content

Latest commit

 

History

History
127 lines (112 loc) · 14.1 KB

File metadata and controls

127 lines (112 loc) · 14.1 KB

Statistics Analytics Demo

Terminal Output

🔍 Git Scout - Comprehensive Statistics
═══════════════════════════════════════════════════════════════════════════════

📊 PROJECT: git-scout
📅 PERIOD: Last 30 days (August 31 - September 30, 2025)
🎯 ANALYSIS: Complete repository statistics

┌─────────────────────────────────────────────────────────────────────────────┐
│ 📈 OVERVIEW STATISTICS                                                      │
├─────────────────────────────────────────────────────────────────────────────┤
│ Total Commits: 156                                                          │
│ Total Files Changed: 234                                                   │
│ Lines Added: +4,567                                                         │
│ Lines Removed: -1,234                                                       │
│ Net Change: +3,333 lines                                                    │
│ Active Authors: 4                                                           │
│ Active Branches: 6                                                          │
│ Average Commits/Day: 5.2                                                     │
└─────────────────────────────────────────────────────────────────────────────┘

👥 AUTHOR STATISTICS
┌─────────────────────────┬─────────┬───────┬────────┬────────┬─────────────┐
│ AUTHOR                  │ COMMITS │ FILES │ +LINES │ -LINES │ PRODUCTIVITY │
├─────────────────────────┼─────────┼───────┼────────┼────────┼─────────────┤
│ malco-helper            │ 89      │ 156   │ +2,845 │ -678   │ 🚀 High     │
│ John Doe                │ 34      │ 45    │ +987   │ -234   │ 📈 Medium   │
│ Jane Smith              │ 23      │ 28    │ +567   │ -189   │ 📊 Medium   │
│ Mike Johnson            │ 10      │ 5     │ +168   │ -133   │ 📉 Low      │
└─────────────────────────┴─────────┴───────┴────────┴────────┴─────────────┘

📁 TOP CHANGED FILES
┌─────────────────────────────────────┬─────────┬────────┬────────┬─────────┐
│ FILE                                │ CHANGES │ +LINES │ -LINES │ IMPACT  │
├─────────────────────────────────────┼─────────┼────────┼────────┼─────────┤
│ src/commands/init.ts                 │ 23      │ +456   │ -123   │ 🔥 High │
│ src/git/gitService.ts              │ 18      │ +234   │ -67    │ 🔥 High │
│ README.md                           │ 15      │ +189   │ -45    │ 📈 Med   │
│ src/commands/stats.ts              │ 12      │ +156   │ -34    │ 📈 Med   │
│ src/ui/table.ts                    │ 8       │ +98    │ -23    │ 📊 Low   │
└─────────────────────────────────────┴─────────┴────────┴────────┴─────────┘

🌿 BRANCH ACTIVITY
┌─────────────────────────────────────┬─────────┬────────┬────────┬─────────┐
│ BRANCH                              │ COMMITS │ FILES  │ +LINES │ -LINES  │
├─────────────────────────────────────┼─────────┼────────┼────────┼─────────┤
│ main                                │ 45      │ 89     │ +1,234 │ -456    │
│ develop                             │ 38      │ 67     │ +987   │ -234    │
│ feature/auth                        │ 28      │ 45     │ +678   │ -123    │
│ bugfix/table-rendering             │ 15      │ 23     │ +234   │ -67     │
│ docs/readme-update                 │ 12      │ 18     │ +156   │ -34     │
└─────────────────────────────────────┴─────────┴────────┴────────┴─────────┘

📅 DAILY ACTIVITY PATTERN
┌─────────────────────────────────────────────────────────────────────────────┐
│ Day of Week Analysis                                                       │
├─────────────────────────────────────────────────────────────────────────────┤
│ Monday    │ ████████████████████████████████████████████████████████ 45     │
│ Tuesday   │ ████████████████████████████████████████████████████████ 42     │
│ Wednesday │ ████████████████████████████████████████████████████████ 38     │
│ Thursday  │ ████████████████████████████████████████████████████████ 35     │
│ Friday    │ ████████████████████████████████████████████████████████ 28     │
│ Saturday  │ ████████████████████████████████████████████████████████ 15     │
│ Sunday    │ ████████████████████████████████████████████████████████ 8      │
└─────────────────────────────────────────────────────────────────────────────┘

⏰ HOURLY ACTIVITY PATTERN
┌─────────────────────────────────────────────────────────────────────────────┐
│ Hour Analysis (Most Active Hours)                                           │
├─────────────────────────────────────────────────────────────────────────────┤
│ 09:00-10:00 │ ████████████████████████████████████████████████████████ 23   │
│ 10:00-11:00 │ ████████████████████████████████████████████████████████ 28   │
│ 11:00-12:00 │ ████████████████████████████████████████████████████████ 31   │
│ 14:00-15:00 │ ████████████████████████████████████████████████████████ 35   │
│ 15:00-16:00 │ ████████████████████████████████████████████████████████ 32   │
│ 16:00-17:00 │ ████████████████████████████████████████████████████████ 29   │
└─────────────────────────────────────────────────────────────────────────────┘

🎯 COMMIT MESSAGE ANALYSIS
┌─────────────────────────────────────────────────────────────────────────────┐
│ Message Patterns                                                            │
├─────────────────────────────────────────────────────────────────────────────┤
│ feat:        │ ████████████████████████████████████████████████████████ 45  │
│ fix:         │ ████████████████████████████████████████████████████████ 38  │
│ docs:        │ ████████████████████████████████████████████████████████ 23  │
│ refactor:     │ ████████████████████████████████████████████████████████ 18  │
│ test:         │ ████████████████████████████████████████████████████████ 15  │
│ chore:        │ ████████████████████████████████████████████████████████ 12  │
│ perf:         │ ████████████████████████████████████████████████████████ 5   │
└─────────────────────────────────────────────────────────────────────────────┘

📊 CODE QUALITY METRICS
┌─────────────────────────────────────────────────────────────────────────────┐
│ Quality Indicators                                                          │
├─────────────────────────────────────────────────────────────────────────────┤
│ Test Coverage: 87%                                                          │
│ Code Complexity: Medium                                                    │
│ Technical Debt: Low                                                         │
│ Documentation: High                                                         │
│ Performance: Good                                                           │
└─────────────────────────────────────────────────────────────────────────────┘

✨ INSIGHTS & RECOMMENDATIONS
• 🚀 Peak productivity: Tuesday-Thursday, 10:00-16:00
• 📈 Most active author: malco-helper (57% of commits)
• 🎯 Focus areas: Core functionality (init.ts, gitService.ts)
• ⚠️  Attention needed: Mike Johnson (low activity)
• 🔥 Hot files: init.ts, gitService.ts (high change frequency)
• 📊 Code health: Excellent (87% test coverage)

═══════════════════════════════════════════════════════════════════════════════

Features Highlighted

  • Comprehensive Analytics: 30-day detailed statistics
  • Author Performance: Individual productivity metrics
  • File Impact Analysis: Most changed files with impact ratings
  • Branch Activity: Multi-branch development tracking
  • Time Patterns: Daily and hourly activity analysis
  • Commit Message Analysis: Conventional commit patterns
  • Code Quality Metrics: Test coverage and technical debt
  • Smart Insights: Automated recommendations and patterns