Hi Pradeep,

yes, EclEmma can collect code coverage also for JAR files. By default binary class path entries are not enabled, but you can select them on "Coverage" tab in the laucher.

If you don't declare a constructor the implicit default constructor ist assigned to the class header line. If you never create an instance of that class (constructor is not called) this will be reported as not covered.

Regarding the error 5013: Can you please provide some detailed steps how to reproduce this? Also the stack trace from the Eclipse log would be helpful.

Regards,
-marc

On 11.12.15 15:29, [email protected] wrote:
Hi all,
    I am exploring different code coverage tools for collecting code coverage 
of java tools. I tried with EclEmma first.

I have below questions as well:

I have a .jar file. Does Eclemma can collect the code coverage data?

While trying to collect the code coverage data using EclEmma "For simple 
Helloworld" Program using Eclipse(with Eclemma plug-in installed) initially I got 
the code coverage at coverage view except the below issue:

http://stackoverflow.com/questions/15047998/eclemma-class-header-not-getting-coverage

But after a day I ran the same "hello world" program and this time the 
collection of code coverage failed with below error and has encountered a problem.

"Error while dumping coverage data (code 5013).
Software caused connection abort: socket write error"

I saw the below post but could not get the right solution to the problem.

https://groups.google.com/forum/#!msg/jacoco/7kWxeWP0UpY/seEG-41tIAAJ


Can anybody throw some light to fix the issue?

Regards
Pradeep



--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/5673DA4B.9060808%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to