Test coverage analyzer

From a5c-ai/babysitter · View interactive version

Test coverage analyzer is an AI agent skill from the GitHub repository a5c-ai/babysitter. Analyze test coverage and identify gaps before migration to ensure adequate safety nets

How to use this skill

Skill file

Test Coverage Analyzer Skill

Analyzes test coverage comprehensively to identify gaps and ensure adequate test safety nets before undertaking migration efforts.

Purpose

Enable comprehensive test coverage analysis for:

Capabilities

1. Line/Branch/Path Coverage Measurement

2. Coverage Gap Identification

3. Critical Path Coverage Analysis

4. Integration Test Coverage Mapping

5. Coverage Trend Analysis

Tool Integrations

| Tool | Language | Integration Method |

|------|----------|-------------------|

| Istanbul/nyc | JavaScript/TypeScript | CLI |

| JaCoCo | Java | CLI / Maven/Gradle |

| Cobertura | Java/Python | CLI |

| Coverage.py | Python | CLI |

| SimpleCov | Ruby | CLI |

| go test -cover | Go | CLI |

| dotCover | .NET | CLI |

Output Schema

{
  "analysisId": "string",
  "timestamp": "ISO8601",
  "coverage": {
    "line": {
      "percentage": "number",
      "covered": "number",
      "total": "number"
    },
    "branch": {
      "percentage": "number",
      "covered": "number",
      "total": "number"
    },
    "function": {
      "percentage": "number",
      "covered": "number",
      "total": "number"
    }
  },
  "gaps": [
    {
      "file": "string",
      "uncoveredLines": ["number"],
      "uncoveredBranches": ["string"],
      "criticality": "high|medium|low",
      "recommendation": "string"
    }
  ],
  "criticalPaths": {
    "covered": "number",
    "total": "number",
    "uncoveredPaths": []
  }
}

Integration with Migration Processes

Related Skills

Related Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.