As we all are aware of generating and
understanding the code coverage is
one of the most important aspects in any project either be development or
testing.
So for generating the complete code
coverage report of our project we are going to use the Maven Cobertura plugin.
Cobertura is an open-source
reporting tool that gives us the complete test coverage of the code in our
project.
To know more about this. Please refer to this link.
To know more about this. Please refer to this link.
To configure Maven Cobertura plugin inside our project, we need to put the below plugin into reporting section of our POM.xml file.
This will generate a report in target/site/cobertura
in our project directory.