Analytics
Generate project analytics and reports from your terminal. Velocity charts, burndown data, time reports, and team metrics with GitScrum CLI.
β οΈ BETA β GitScrum CLI is in active development. Open source under the MIT license. Available on GitHub.
Data-driven insights without opening a browser. Get velocity, burndown, time tracking, and team metrics directly in your terminal.
Commands
| Command | Description |
|---|---|
gitscrum analytics velocity | Sprint velocity over time |
gitscrum analytics burndown | ASCII burndown chart |
gitscrum analytics time | Time tracking report |
gitscrum analytics team | Team performance metrics |
gitscrum analytics summary | Quick project summary |
gitscrum analytics cycle-time | Task cycle time analysis |
Velocity
View sprint velocity over time:
gitscrum analytics velocityOutput:
π Velocity - acme-dashboard
Sprint β Committed β Completed β Velocity
βββββββββββββββββΌββββββββββββΌββββββββββββΌββββββββββ
Sprint 15 β 52 pts β 48 pts β 92%
Sprint 14 β 48 pts β 45 pts β 94%
Sprint 13 β 45 pts β 47 pts β 104%
Sprint 12 β 50 pts β 42 pts β 84%
Sprint 11 β 45 pts β 44 pts β 98%
Average: 47 pts/sprint
Trend: β +3% vs last 5 sprintsChart View
gitscrum analytics velocity --chartSprint Velocity (last 8 sprints)
52 β ββ
48 β ββ ββ ββ
45 β ββ ββ ββ ββ ββ ββ
42 β ββ ββ ββ ββ ββ ββ ββ
38 β ββ ββ ββ ββ ββ ββ ββ
35 β ββ ββ ββ ββ ββ ββ ββ ββ
32 β ββ ββ ββ ββ ββ ββ ββ ββ ββ
βββββββββββββββββββββββββββββββββββββββββββ
S8 S9 S10 S11 S12 S13 S14 S15 S16
ββ Committed ββ CompletedDate Range
gitscrum analytics velocity --last 10 # Last 10 sprints
gitscrum analytics velocity --since "2025-01-01"Burndown
Sprint burndown chart:
gitscrum analytics burndownOutput:
π₯ Burndown - Sprint 15 (Feb 3-14)
Points β
52 β β
45 β β² β
38 β β² β β
31 β β² β² β
24 β βββββββββ β
17 β β²
10 β β²
3 β β² (ideal)
0 βββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββ
Mon Tue Wed Thu Fri Mon Tue
β = Actual β = Ideal
Status: On track (2 pts ahead of ideal)
Remaining: 18 pts | Days left: 4Previous Sprint
gitscrum analytics burndown --sprint 14
gitscrum analytics burndown --sprint "Sprint 14"Data Export
gitscrum analytics burndown --format csv > burndown.csvTime Tracking Reports
Personal Time
gitscrum analytics timeOutput:
β±οΈ Time Report - Feb 2026
Week β Logged β Tasks β Avg/Task
βββββββββββββΌβββββββββββΌββββββββΌβββββββββ
Feb 3-7 β 32h 15m β 12 β 2h 41m
Jan 27-31 β 38h 42m β 15 β 2h 35m
Jan 20-24 β 35h 10m β 14 β 2h 31m
Jan 13-17 β 29h 55m β 11 β 2h 43m
This month: 142h 02m
Last month: 156h 23mTeam Time
gitscrum analytics time --teamβ±οΈ Team Time - Feb 2026
Member β Logged β Tasks β Efficiency
βββββββββββββββββΌβββββββββββΌββββββββΌβββββββββββ
@john.dev β 42h 15m β 18 β 112%
@sarah.dev β 38h 42m β 15 β 105%
@alex.dev β 35h 10m β 14 β 98%
@mike.dev β 29h 55m β 12 β 92%
@lisa.dev β 28h 30m β 11 β 88%
Team total: 174h 32m
Team average: 34h 54mBy Project
gitscrum analytics time --projectβ±οΈ Time by Project - Feb 2026
Project β Logged β Tasks β % of Total
ββββββββββββββββββββββΌβββββββββββΌββββββββΌβββββββββββ
acme-dashboard β 68h 15m β 28 β 39%
mobile-app β 52h 42m β 22 β 30%
api-v2 β 35h 10m β 15 β 20%
internal-tools β 18h 25m β 8 β 11%By Task Type
gitscrum analytics time --by-typeβ±οΈ Time by Type - Feb 2026
Type β Logged β Count β Avg
ββββββββββββββΌβββββββββββΌββββββββΌββββββββ
Feature β 95h 30m β 32 β 2h 59m
Bug β 42h 15m β 28 β 1h 31m
Refactor β 22h 45m β 8 β 2h 51m
Docs β 14h 02m β 5 β 2h 48mTeam Performance
Aggregate team metrics:
gitscrum analytics teamOutput:
π₯ Team Analytics - acme-dashboard
This Sprint β Last Sprint β Trend
βββββββββββββββββββββββββββββββββΌββββββββββββββΌββββββ
Tasks Completed 28 β 24 β β +17%
Points Delivered 48 β 42 β β +14%
Avg Cycle Time 3.2d β 3.8d β β -16%
Throughput 5.6/day β 4.8/d β β +17%
Time Logged 156h β 148h β β +5%
Top Performers
ββββββββββββββ
π₯ @john.dev - 48 pts completed
π₯ @sarah.dev - 42 pts completed
π₯ @alex.dev - 38 pts completed
Blockers Resolved: 8
Avg Resolution: 1.2 daysIndividual Stats
gitscrum analytics team --member john.devProject Summary
Quick project health check:
gitscrum analytics summaryOutput:
π acme-dashboard - Summary
Sprint 15 (ends Feb 14)
βββββββββββββββββββββββ
Progress: ββββββββββββββββββββ 60%
Velocity: 48/52 pts (92% projected)
Burndown: On track (+2 pts vs ideal)
This Week
βββββββββ
Completed: 12 tasks (28 pts)
In Progress: 8 tasks
Blocked: 2 tasks
Time Logged: 68h 42m
Highlights
ββββββββββ
β’ Sprint velocity trending up (+8% vs avg)
β’ 2 blockers unresolved >2 days
β’ Team capacity at 95%
Actions Needed
ββββββββββββββ
β οΈ GS-445 blocked 3 days - needs attention
β οΈ GS-467 overdue by 2 daysCycle Time
Task cycle time analysis:
gitscrum analytics cycle-timeβ³ Cycle Time - Last 30 Days
Stage β Avg Time β Min β Max
βββββββββββββββββΌβββββββββββΌβββββββββΌββββββββ
Todo β Progress β 4.2h β 15m β 2.1d
Progress β Review β 1.2d β 2h β 4.8d
Review β Done β 6.5h β 30m β 1.8d
Total Cycle β 2.8d β 0.5d β 7.2d
By Type
βββββββ
Feature: 3.4d avg
Bug: 1.8d avg
Hotfix: 4.2h avg
Chore: 1.2d avgTrend
gitscrum analytics cycle-time --trendCycle Time Trend (12 weeks)
5d β β
4d β β β
3d β β β β β
2d β β β β
1d β β
βββββββββββββββββββββββββββββββββ
W1 W2 W3 W4 W5 W6 W7 W8 W9 W10 W11 W12
Trend: β -32% improvementExport Formats
JSON
gitscrum analytics velocity --format json{
"project": "acme-dashboard",
"sprints": [
{
"name": "Sprint 15",
"committed": 52,
"completed": 48,
"velocity_percent": 92
}
],
"average_velocity": 47,
"trend": "+3%"
}CSV
gitscrum analytics time --format csv > time_report.csvMarkdown
gitscrum analytics summary --format markdown > report.mdScheduled Reports
Configure automated reports in .gitscrum.yml:
analytics:
reports:
- type: velocity
schedule: "every friday 17:00"
output: ./reports/velocity.json
- type: time
schedule: "end of sprint"
output: ./reports/time.csv
- type: summary
schedule: "daily 09:00"
notify: slackCI/CD Integration
Generate reports in CI:
# .github/workflows/analytics.yml
name: Weekly Analytics
on:
schedule:
- cron: '0 17 * * 5' # Friday 5 PM
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Generate reports
run: |
gitscrum analytics summary --format markdown > report.md
gitscrum analytics velocity --format json > velocity.json
gitscrum analytics time --format csv > time.csv
env:
GITSCRUM_ACCESS_TOKEN: ${{ secrets.GITSCRUM_ACCESS_TOKEN }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: weekly-analytics
path: |
report.md
velocity.json
time.csvComparison Flags
Compare against baselines:
# vs last sprint
gitscrum analytics velocity --compare last-sprint
# vs same period last month
gitscrum analytics time --compare last-month
# vs specific sprint
gitscrum analytics burndown --compare "Sprint 10"