List coverage lines
GET/coverage-reports/files/:coverage_file_id/lines/
API view for listing coverage lines within a specific file.
Endpoint: GET /api/coverage-reports/files/<coverage_file_id>/lines/
Returns a list of all lines within a specific coverage file. Shows line-level coverage statistics including hits, branch coverage, and missing branches.
Response: [
{
"id": 1,
"line_number": 6,
"hits": 1,
"is_branch": false,
"condition_coverage": null,
"missing_branches": null,
"is_covered": true
},
{
"id": 2,
"line_number": 10,
"hits": 1,
"is_branch": true,
"condition_coverage": "50% (1/2)",
"missing_branches": "93",
"is_covered": true
}
]
Request
Responses
- 200