Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Name

Sonar Pitest Plugin

License

LGPL v3

Authors

Alexandre Victoor

Jira

TBD

Sources

http://svn.codehaus.org/sonar-plugins/trunk/pitest

Latest version

-

Download

-

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

TODO

  • No labels