Top "Cobertura" questions

Cobertura is a free and open-source Java tool based on jcoverage that calculates the percentage of code and branches covered by tests.

Clearing coverage highlighting in Eclipse

After running coverage reports in Eclipse (using cobertura or an EMMA plugin), my source code files get highlighted in green, …

java eclipse code-coverage cobertura emma
Exclude methods from code coverage with Cobertura

Is there a way to exclude code from inclusion into Cobertura coverage reports? We have some methods that should not …

java code-coverage cobertura
How to generate Cobertura Code Coverage Report using Maven from Hudson

In my project I need to create Cobertura Code Coverage report from Hudson using maven build. In Hudson I have …

maven hudson cobertura
Differences between Line and Branch coverage

I use the Cobertura Maven plugin for one of my project. But I have a question about the generated report: …

maven testing cobertura test-coverage
Testng, Emma, Cobertura, coverage and JDK 7 result in ClassFormatError and VerifyError

I have switched to the newest JDK 7 and I am having problems with running testng unit test on byte code …

code-coverage java-7 cobertura emma jacoco
Maven Cobertura plugin not generating coverage.xml

I am trying to generate a coverage.xml so that I can reference it in Cobertura plugin of Hudson, but …

maven-plugin maven-3 hudson-plugins cobertura
How to view HTML coverage report using Cobertura Maven plugin?

I want to generate and view a coverage report for a Java-Maven project. I've added the following to pom.xml: &…

java maven code-coverage cobertura
What is the proper way to use Cobertura with Maven 3.0.2

I have been trying unsuccessfully for the last few days to run Cobertura 2.4 with Maven 3.0.2. We have a very large …

maven maven-3 cobertura
Cobertura code coverage report for jenkins pipeline jobs

I'm using the pipeline plugin for jenkins and I'd like to generate code coverage report for each run and display …

jenkins jenkins-pipeline cobertura
JUnit: testing helper class with only static methods

I am testing a helper class with only static methods with JUnit4 and Cobertura. Testing methods was easy task and …

java junit cobertura