JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team based on the lessons learned from using and integration existing libraries for many years.
Maven + JaCoCoでjavaの単体テストのカバレッジレポートを作ってみる。
Mavenをビルドする際に、下記のような静的解析を実行する。また、Jenkinsにて解析結果を可視化させる。 - ユニットテストのカバレッジレポーティング - コードのバグ解析 - コードスタイルの解析