Summarize a code coverage report
Parse LCOV, Cobertura XML, coverage.py JSON, Istanbul JSON summaries, and common terminal coverage tables. Return line, branch, function, and statement percentages plus threshold status in one normalized response.
$0.003 USDC POST /v1/coverage-summary
developer-tools · testing · coverage · reports
Use it for
- summarize code coverage
- parse LCOV
- check coverage threshold
Example input
{
"report": "TN:\nLF:100\nLH:82\nBRF:20\nBRH:14",
"threshold": 80
}Example output
{
"success": true,
"format": "lcov",
"lines": {
"found": 100,
"hit": 82,
"percent": 82.0
},
"passes_threshold": true
}Call it
Use an x402 v2 payment-aware client from the quickstart. An unpaid request safely returns the exact payment challenge before any work runs.