Code Coverage Report generation To generate the code coverage report, execute the following command: mvn clean package This will generate code coverage report. In order to view, open the following file in your browser. target/site/cobertura/index.html