Understanding Jacococli execinfo output

75 views
Skip to first unread message

aksa...@gmail.com

unread,
Oct 25, 2018, 11:47:21 AM10/25/18
to JaCoCo and EclEmma Users
Can you explain what are the exact details in output of jacococli.jar execinfo command.

Aldo if execinfo output contains a java file does that mean it is recorded / covered.

In my case i can see a java file in execinfo command line output but when i use Jacoco code covergae plugin in Jenkins to process the exec file, the covergae of that java file is 0.

Thanks
Amit

Marc Hoffmann

unread,
Oct 25, 2018, 1:30:36 PM10/25/18
to jac...@googlegroups.com
Hi Amit,

the command execinfo prints a human readable version of the content of exec files, which is

- a list of all classes seen by the JaCoCo agent
- for each class a list of probes that habe been executed

There could be a couple of reasons why no coverage is shown. The general issues are explained in JaCoCo FAQ:


Please note that we don’t maintain the Jenkins plugin (there are actually two). For questions about that plugin please contact the Jenkins project.

Cheers,
-marc



--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/35be1b46-a874-4fc1-a403-61d131d0af5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages