Calculates on this device. File exports run online.
Test & Coverage Report Viewer
Paste or open a coverage report (lcov.info, Cobertura coverage.xml, jacoco.xml or coverage-summary.json) to see the line, function and branch coverage of your project and the lines your tests never ran, or a JUnit XML report to see the failures and the slowest tests. Several reports of one kind can be merged into one.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to read a coverage report
- Make the report: jest --coverage (lcov.info), pytest --cov --cov-report=xml (Cobertura), the JaCoCo plugin of Maven or Gradle (jacoco.xml), c8 or nyc.
- Paste it or open it. The kind is found out from the text.
- Each file is listed with its line coverage, functions, branches and the lines not covered (such as 4, 9-10); files under your threshold come first.
Test reports
Choose Read a test report and paste a JUnit XML file (Maven Surefire, Gradle, pytest --junitxml, jest-junit, PHPUnit, go-junit-report …). You get the totals, each failure with its message and stack trace, a table of the suites and the slowest tests.
Merging reports
- Coverage of the same project from several test runs (unit and end-to-end, or several CI jobs) becomes one LCOV file: a line counts as covered when any run covered it, and its hits are added up.
- JUnit files become one file with all their suites.
Limits you should know
- coverage-summary.json has totals only, so it cannot list the lines not covered or be merged; use lcov.info for that.
- Files are merged by their names as the reports write them: reports made in different folders may name one file differently.
Privacy
Reports are read in your browser. Only what you choose in the box below is sent to the Toolvito server, to be read there. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.