Baseline Metrics Overview - ganmath/learners GitHub Wiki

1. Code Quality

  • Metrics to Capture:

    • Static code analysis results (e.g., SonarQube, PMD, Checkstyle)
    • Code complexity (Cyclomatic Complexity, Maintainability Index)
    • Code smells, technical debt
    • Number of issues per severity level (blocker, critical, major)
    • Security vulnerabilities (if applicable)
  • How to Gather:

    • Run SonarQube analysis (or any static code analysis tool used)
    • Check past reports in Jenkins (if CI/CD integrated)
    • Review peer review comments and merge request feedback

2. Test Coverage

  • Metrics to Capture:

    • Unit test coverage (JUnit, Mockito, Jacoco reports)
    • Integration test coverage (Cucumber, Cypress results)
    • End-to-end test execution reports
    • Defect leakage rate (defects found in production vs. testing phase)
  • How to Gather:

    • Extract coverage reports from CI/CD pipeline
    • Validate test automation execution results
    • Analyze bug trends found in UAT/Production

3. Current Team Velocity (Last 2 PIs)

  • Metrics to Capture:

    • Average velocity per sprint (story points completed)
    • Sprint spillover rate (unfinished stories per sprint)
    • Scope creep (additional work added mid-sprint)
    • Trends in team performance over last two Program Increments (PIs)
  • How to Gather:

    • Use Jira/Azure DevOps reports
    • Compare committed vs. completed story points in past sprints
    • Evaluate blockers and dependencies affecting velocity

4. Last 6 Months Incidents and Their Response & Resolution

  • Metrics to Capture:

    • Number of incidents reported (P1, P2, P3 categorization)
    • Average resolution time (MTTR - Mean Time to Resolve)
    • Root causes of incidents (code issues, infra failures, external API failures)
    • Repeated issues (patterns from past incidents)
    • Incident response effectiveness (time taken to acknowledge and resolve)
  • How to Gather:

    • Pull data from ITSM tools (ServiceNow, Jira Service Management, PagerDuty)
    • Check past post-mortem reports (if available)
    • Review team retrospectives and incident reports

Would you like me to format this as a formal baseline document? I can also generate data analysis reports if you provide raw data files from Jira, SonarQube, or your ITSM tool.