This library Provides a Java API to parse and collect code coverage results. It is used by my Jenkins' coverage plug-in to visualize the coverage of individual builds.
Additionally, this library is used by my additional Quality Monitor GitHub Action, that monitors the quality of projects based on a configurable set of metrics and gives feedback on pull requests (or single commits) in GitHub. There are also two additional actions available, to autograde student software projects based on these metrics: GitHub Autograding action and GitLab Autograding action.
This library consists basically of two separate parts:
- A model to manage several metrics in a software project. Supported metrics are code coverage (line, branch, instruction), mutation coverage, test strength, number of tests, lines of code, and cyclomatic complexity.
- Parsers for several code coverage formats:
All source code is licensed under the MIT license. Contributions to this library are welcome!