Reports¶
Delta Coverage generates reports in multiple formats. All reports show only coverage for changed code.
Report Formats¶
| Format | Default | Description |
|---|---|---|
| Console | true |
ASCII table printed to terminal |
| HTML | false |
Interactive browser report |
| XML | false |
Machine-readable for CI tools |
| Markdown | false |
For PR comments |
Configuration¶
Output Location¶
Reports are generated in build/reports/coverage-reports/delta-coverage/<view>/:
Custom Output Directory¶
Console Report¶
Printed automatically after each run:
+----------------------+----------+----------+--------+
| [test] Delta Coverage Stats |
+----------------------+----------+----------+--------+
| Class | Lines | Branches | Instr. |
+----------------------+----------+----------+--------|
| com.example.MyClass | 85.71% | 75% | 88.24% |
| com.example.Service | 92.31% | 100% | 94.12% |
+----------------------+----------+----------+--------+
| Total | ✔ 88.89% | ✔ 83.33% | ✔ 91% |
+----------------------+----------+----------+--------+
| Min expected | 80% | 70% | 80% |
+----------------------+----------+----------+--------+
HTML Report¶
Standard JaCoCo HTML report filtered to show only changed code:

Markdown Report¶
Ideal for posting to PR comments:
Output (report.md):
| Class | Lines | Branches | Instr. |
|---|---|---|---|
| MyClass | 85.71% | 75% | 88.24% |
| Service | 92.31% | 100% | 94.12% |
| Total | 🟢 88.89% | 🟢 83.33% | 🟢 91% |
| Min expected | 80% | 70% | 80% |
XML Report¶
For integration with CI tools and coverage aggregators:
Full Coverage Reports¶
Generate full coverage reports alongside delta reports:
This creates two report sets:
build/reports/coverage-reports/
├── delta-coverage/ # Only changed code
│ └── test/
└── full-coverage-report/ # Entire codebase
└── test/
Use cases:
- Compare delta vs full coverage
- Generate coverage badges from full report
- Track overall project health