Static Analysis

In order to improve the quality of our code, we use three analysis tools:

These tools can be executed via the corresponding ant goals (findbugs, checkstyle, pmd) and via the goal static-analysis, which executes all of them. The tools write report files which can be found in the tmp directory.

Furthermore, these tools are executed during the Kieker nightly build. A high amount of reported bugs/errors lead to a fail of the build process. Source code on the master branch should therefore be free from:

  • Any reports from PMD
  • Any reports from Findbugs
  • Error level reports from Checkstyle

There are also Eclipse integration plugins for these tools available:

Configuration files for these integrations can be found in the base directory of the Kieker project.