analyze_coverage
Analyze code coverage for specific files or directories to measure line, function, and branch coverage. Set thresholds, view detailed metrics, and choose output formats to ensure comprehensive test coverage and quality.
Instructions
Run comprehensive coverage analysis with detailed metrics about line, function, and branch coverage
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format: "summary" (basic metrics), "detailed" (comprehensive analysis with file details) | summary |
includeDetails | No | Include detailed line-by-line coverage analysis | |
target | Yes | File path or directory to analyze coverage for (required to prevent analyzing entire project) | |
threshold | No | Minimum coverage threshold percentage (default: 80) | |
thresholds | No | Custom coverage thresholds for different metrics |