Questions tagged [eclemma]

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

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

See http://www.eclemma.org/

131 questions
0
votes
1 answer

Does the EclEmma coverage tool perform node or edge or condition or path coverage?

I have a question about EclEmma coverage tool, Does the EclEmma coverage tool perform node or edge or condition or path coverage? Explain Thank you
Khalid.7
  • 21
  • 4
0
votes
1 answer

How to exclude classes from a jacoco code coverage report which is already generated

I have a jacoco code coverage report which gets generated by using EclEmma plugin in eclipse , now i want to exclude some classes and packages from that report, is there a way i can exclude classes from that report. Any help will be appeciated
Monis Majeed
  • 1,358
  • 14
  • 21
0
votes
1 answer

How to exclude classes and packages using EclEmma plugin in eclipse

I have four projects for which i want to skip the code coverage of some classes and packages in some projects, i am using EclEmma plugin in eclipse. I checked in Preferences->Code Coverage , in Excludes section if i give some class files , but still…
Monis Majeed
  • 1,358
  • 14
  • 21
0
votes
2 answers

How to extract the boolean value of the branch decision?

I am currently working on a project in which I need to run JUnit test cases and then extract information from the Target Class (class being tested). To extract the statements covered I have used eclEmma, but using this tool I am only able to extract…
0
votes
0 answers

Can't perform Coverage Tests with Eclemma using JUnit Test on a Wildfly server

I'm trying to run coverage tests for my project, but I'm facing some unexpected troubles. I select my test package, click on "Coverage as -> Run as JUnit Test". The server is now started (although Wildfly sees it as stopped), but the test is NOT…
Andrew
  • 115
  • 8
0
votes
1 answer

Record test coverage per test case using eclEmma tool

I want to record test coverage per test case using eclEmma tool. The coverage should contain the % covered by that test case of the target class and also want to access the statements executed by that test case. Follwowing is the code which runs a…
0
votes
1 answer

Cmd execution for unit test report and code coverage report

We have junit based tests (maven project) and using EclEmma for code coverage. Able to get jUnit execution report and code coverage report from Eclipse. But I want to exectue unit tests from commandline and would like to get unit tests report and…
user907542
  • 39
  • 7
0
votes
1 answer

EclEmma code coverage plugin in Eclipse unable to include all the modules of the project

I am using EclEmma for code coverage tool. In coverage configurations,some of the imported projects are not available . I am unable to add them. I tried to run coverage configuration for a particular module but there was no main class. So coverage…
Akhilesh
  • 47
  • 11
0
votes
1 answer

How to do code coverage for a remote repository deployed in Jboss server using Emma?

Here is my scenario. I have a code base, which is built and deployed as EAR on jBoss server. I have a separate testing framework. Now I want to run the classes of that EAR using my testing framework. The test cases are written in TestNG. Also I…
Atul Kumar Verma
  • 369
  • 3
  • 8
  • 23
0
votes
2 answers

Eclemma: if statements in a method cover all possible inputs but eclemma flags the return statement at the end which will never be reached

I have a method which takes an array of integers as an input and outputs a string saying which type of triangle they form if the argument is of length 3 and outputting "invalid" otherwise. public class Triangle { public String…
0
votes
1 answer

ECLemma, sonarqube

Thanks in advance. I was trying code coverage using ECLemma eclipse plugin. Able to generate the reports on local system.Is there any way we can generate the reports on sonarqube server by changing the properties file..Here is my properties file…
Shahnawaz Jafri
  • 115
  • 2
  • 7
0
votes
0 answers

Eclemma or eCobertura execute coverage programatically using java?

I need to execute code coverage programatically for a project, I have searched and could not find anything helpful, the closest I got was using JaCoCo but I need either Eclemma or eCobertura or preferably both. If anyone can lead me into the right…
Glen F.
  • 180
  • 1
  • 12
0
votes
1 answer

Code Coverage of a java file is not reflected neither in Sonar nor in Eclipse

SonarQube5.3 displays the coverage of a java file as 0.0% even though there exist a test file for it. This test file is not included in SonarExclusions.json. Also, in eclipse which uses Eclemma tool for code coverage highlights the source with red…
Suyed Dalvi
  • 23
  • 1
  • 5
0
votes
1 answer

EclEmma "Coverage As" Eclipse JUnit Thread Death

I have the below JUnit4 test written using TestFX to test the GUI (JavaFX) of a particular product (a to-do list), along with two necessary classes. The first class is the main class which manages the whole GUI, while the second is the class for the…
Aaa
  • 134
  • 1
  • 8
0
votes
1 answer

false code coverage reported using GwtMockito

Is there any reason why EclEmma(JaCoCo based) in Eclipse falsely reports the code coverage while using the GwtMockitoTestRunner? Looking at it's source code, it does install it's own class loader and does byte code manipulation using the Javassist…
Dan L.
  • 1,717
  • 1
  • 21
  • 41
1 2 3
8
9