Sonar Pitest Plugin
Description / Features
Pitest is a *mutation testing* tool for java. You can check out the official pitest web site for more details on mutation testing and pitest.
Long story short, mutation testing is a very smart way to check the relevance of unit tests. The main idea is to alter the tested code and check that at least one unit test fails. An alteration of the code is called a "mutant". A mutant has "survived" the tests if there is no test failure.
The goal of this plugin is to bring pitest results to sonar. Right now the integration of these result is quite simple, "survived mutants" on code covered by tests are seen as sonar violations.
Note : even if pitest detects "survived mutants" on uncovered lines of code, these mutants are simply ignored by the plugin.
Usage & Installation