I have switched to the newest JDK 7 and I am having problems with running testng unit test on byte code that is fiddled by emma coverage tool. None of my test cases are run correctly and for most of t...
Is there a way to exclude code from inclusion into Cobertura coverage reports? We have some methods that should not be included in the coverage report and therefore not drive down the coverage numbers...
In our project, we run both junits and cobertura using maven. The problem I am facing is that, junit test cases are running twice, once before the jar creation process and then once again for gener...
I am testing a helper class with only static methods with JUnit4 and Cobertura. Testing methods was easy task and is done already. However, cobertura shows that the class is not covered by tests com...
This sonar page basically lists the various methods employed by different code coverage analysis tools: Source code instrumentation(Used by Clover) Offline byte code instrumentation(Used by Cobertur...
I have a Maven project with 4 modules - 3 of them contain code and some tests (testing equals and hashcode of the classes) whereas the 4th module is for testing the 3 other modules. Now I want to run...
Any ideas when cobertura will support java 7? Found http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018 We preferred cobertura over emma and othe...
I'm trying to apply code coverage using Cobertura. The app is deployed in Tomcat 5, but when I instrument the .class files, the app stops working. This are my steps: Compile the app (This run in to...
What could cause something like this: The line def result shows only 2/6 branches covered, even though it has NO BRANCHES, while the following line, which actually has a conditional, is ok. What'...
How to make SonarQube module analyze the project only once when sonar analysis is bound to maven lifecycle in a multi-module project?
What I am trying to achieve is integrate SonarQube analysis into the build process, so that whenever mvn clean install is run, the code is analyzed with SonarQube. We want to use it for local analysis...