| 5 | // per-clause (branch) coverage for genuine multi-clause functions, neither of |
| 6 | // which Mix/ExUnit's own coverage output exposes. |
| 7 | export interface CoverageFile { |
| 8 | file: string; |
| 9 | // statement coverage: [lineNumber (1-based), hitCount] |
| 10 | lines: [number, number][]; |
| 11 | // declaration coverage: one entry per function |
| 12 | functions?: { name: string; line: number; count: number }[]; |
| 13 | // branch coverage: clause counts grouped by their (multi-clause) function, |
| 14 | // hosted on the function's definition line |
| 15 | branches?: { |
| 16 | line: number; |
| 17 | branches: { line: number; count: number; label: string }[]; |
| 18 | }[]; |
| 19 | } |
| 20 | |
| 21 | interface BranchHit { |
| 22 | line: number; |
nothing calls this directly
no outgoing calls
no test coverage detected