Top "Eclemma" questions

EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License.

Eclemma says 1 of 4 branches not covered, but which branch is it?

Is there a simple way to tell which branch I am missing? I.e. I have some code like this: …

java eclipse code-coverage eclemma
Improve Lombok @Data Code Coverage

I am writing unit tests for my project and am trying to achieve at least 80% code coverage. Problem is that …

java eclipse unit-testing code-coverage eclemma
Eclemma always reporting 0% of code coverage

I have a Maven test project for my application. The JUnit tests run fine, and the code coverage test run …

java eclemma
Ignore code coverage for unit tests in EclEmma

I have configured EclEmma not to instrument my unit tests which works fine. However, the editor still highlights the test …

java eclipse code-coverage eclemma
How do I ignore scanning certain classes using EclEmma and Eclipse?

I am using EclEmma (inside of Eclipse) to scan my JUnit code coverage. This works correctly - however, I do …

java eclipse eclemma
eclemma branch coverage for switch: 7 of 19 missed

I have this switch system and I'm using eclemma to test the branch coverage. We are required to have at …

java testing switch-statement code-coverage eclemma
Error while loading coverage session (code 5001)

I got the following error when I am trying to check coverage using EclEmma, please help me out: Error while …

java eclemma
Jacoco is not showing coverage for PowerMockito classes

We are using Jacoco and eclemma for test case coverage. For the classes that are not using PowerMockRunner we are …

java junit powermockito jacoco-maven-plugin eclemma
Code coverage in Android Studio

I have added testCoverageEnabled=true in my build.gradle file in order to start getting some code coverage reports. Running …

android-studio code-coverage android-gradle-plugin jacoco eclemma