Top "Jacoco" questions

JaCoCo a coverage analysis tool.

Missing branches when using assertTrue instead of assertNull

In Java/Junit, I need to test for null with some object. There are a variety of ways I can …

junit code-coverage bytecode emma jacoco
Jacoco Maven Plugin - Plugin execution not covered by lifecycle configuration

I'm new to Maven and want to use the Jacoco Maven Plugin to build my projects. I've set up an …

maven m2eclipse m2e jacoco
Exclude packages from Jacoco report using Sonarrunner and Gradle

Is there a way to exclude packages from SonarQube(instrumented by gradle + sonar-runner) coverage reports(generated by jacoco) without excluding …

gradle jacoco sonar-runner
Open JaCoCo report in Intellij IDEA

I am trying to find dead code on our application by using a code coverage tool (rather a static code …

java intellij-idea code-coverage jacoco
How to calculate code coverage of selenium tests with respect to web application code

I have a requirement to capture the code coverage of my selenium tests to the amount of source code in …

java javascript selenium code-coverage jacoco
8 branches for try with resources - jacoco coverage possible?

I've got some code that uses try with resources and in jacoco it's coming up as only half covered. All …

java code-coverage bytecode jacoco try-with-resources
Skipping JaCoCo execution due to missing execution data error

I am getting Skipping JaCoCo execution due to missing execution data file:/scratch/jenkins/workspace/sonar-test/target/jacoco.exec error …

maven jenkins code-coverage jacoco
Android test code coverage with JaCoCo Gradle plugin

I'm new to Gradle and Android testing but I've already converted my Android project to build with Gradle. Now I'm …

android testing gradle code-coverage jacoco
Code Coverage with Jenkins

I am being asked to use Jenkins to test code coverage for a Java Project. The issue is I have …

java jenkins code-coverage cobertura jacoco
JaCoCo: exclude generated methods (using it with Lombok)

I am using JaCoCo and it is considering methods generated by Lombok (generated in the bytecode, not trace of them …

jacoco lombok jacoco-maven-plugin