Skip to content

Coverage Report: {title}

Source: coverage-report.md

markdown
# Coverage Report: {title}

> **Audit ID:** TST-{NNN}
> **Status:** Analyzing
> **Date:** {date}
> **Author:** Coverage Analyst

## Coverage Summary
<!-- sniper:managed:coverage-summary:start -->

| Metric | Coverage | Target |
|--------|----------|--------|
| Lines | | |
| Branches | | |
| Functions | | |
| Statements | | |

<!-- sniper:managed:coverage-summary:end -->

## Critical Gaps
<!-- sniper:managed:critical-gaps:start -->
<!-- Uncovered code ranked by risk — public APIs first, then business logic, then utilities -->

### Gap 1: {description}
- **File:** `path/to/file.ts:42-67`
- **Risk:** Critical / High / Medium / Low
- **What's uncovered:** {description of the uncovered code path}
- **Why it matters:** {production impact if this code fails}
- **Suggested test approach:** {how to test it}
- **Effort:** S / M / L

<!-- sniper:managed:critical-gaps:end -->

## Integration Boundaries
<!-- sniper:managed:integration-boundaries:start -->
<!-- Places where modules/services interact that lack integration tests -->

| Boundary | Components | Integration Tests? | Risk |
|----------|------------|-------------------|------|
| | A ↔ B | None / Partial / Good | |

<!-- sniper:managed:integration-boundaries:end -->

## Test Pattern Analysis
<!-- sniper:managed:test-patterns:start -->
<!-- Assessment of testing consistency across the codebase -->

| Aspect | Current State | Recommendation |
|--------|--------------|----------------|
| Assertion style | | |
| Mock patterns | | |
| Test structure | | |
| Naming conventions | | |
| Setup/teardown | | |

<!-- sniper:managed:test-patterns:end -->

## Prioritized Recommendations
<!-- sniper:managed:recommendations:start -->
<!-- Ordered list of what to test next, with effort estimates -->

| Priority | Recommendation | Effort | Impact |
|----------|---------------|--------|--------|
| 1 | | S/M/L | |
| 2 | | S/M/L | |

<!-- sniper:managed:recommendations:end -->