HTML Report doubt

49 views
Skip to first unread message

sh4d...@gmail.com

unread,
Feb 6, 2020, 11:20:38 AM2/6/20
to JaCoCo and EclEmma Users

Hello all,
maybe this is a silly question, but I have a doubt: for example looking @ https://www.jacoco.org/jacoco/trunk/coverage/ you may notice that the org.jacoco.agent element has no red/green bar in the Missed-Instructions/Branches columns.
I started using Jacoco and in my project lots of "elements" have no bar in the columns mentioned before.. I was wonder why.

Thank you in advance

Regards

Emanuele

Marc Hoffmann

unread,
Feb 6, 2020, 12:02:34 PM2/6/20
to JaCoCo and EclEmma Users
Hi Emanuele,

not sure what exactly you are missing. For me (with Firefox, Crome and Safari) the report looks like this:


Regards,
-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/f72c986f-7b04-4597-80a2-ed3a946064b1%40googlegroups.com.

sh4d...@gmail.com

unread,
Feb 7, 2020, 3:26:57 AM2/7/20
to JaCoCo and EclEmma Users
Hi Marc,
thanks for your reply, in the last row in your image screenshot I'm expecting to see in the 2nd and 4th column the red/green bar like the other rows.

I have highlighted with a red rectangle the columns I'm talking about:


missing_bar.jpg


Then by clicking on the "org.jacoco.agent" the bars are there.


agent_bar.jpg


I was wondering if this is an expected behavior and if so why the last column in the posted images has no bar. I'm asking because in my project report lots of packages have no bars in the 2nd and 4th column and I don't understand why.


Thanks

Regards

Emanuele


Il giorno giovedì 6 febbraio 2020 18:02:34 UTC+1, Marc R. Hoffmann ha scritto:
Hi Emanuele,

not sure what exactly you are missing. For me (with Firefox, Crome and Safari) the report looks like this:


Regards,
-marc


On 6. Feb 2020, at 17:20, sh4d...@gmail.com wrote:


Hello all,
maybe this is a silly question, but I have a doubt: for example looking @ https://www.jacoco.org/jacoco/trunk/coverage/ you may notice that the org.jacoco.agent element has no red/green bar in the Missed-Instructions/Branches columns.
I started using Jacoco and in my project lots of "elements" have no bar in the columns mentioned before.. I was wonder why.

Thank you in advance

Regards

Emanuele

--
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 jac...@googlegroups.com.

Marc Hoffmann

unread,
Feb 9, 2020, 12:36:50 PM2/9/20
to JaCoCo and EclEmma Users
Hi Emanuele,

ah, now I see your point. 

The bars always represent the total amount of instructions and braches for all children within this level. So you can compare the total amount of untested code between the entries.

The bundle org.jacoco.agent is so small (83 instructions) in comparison to the others (org.jacoco.core 13’823 instructions) that the bar is not visible any more.

Regards,
-marc




On 7. Feb 2020, at 09:26, sh4d...@gmail.com wrote:

Hi Marc,
thanks for your reply, in the last row in your image screenshot I'm expecting to see in the 2nd and 4th column the red/green bar like the other rows.

I have highlighted with a red rectangle the columns I'm talking about:


<missing_bar.jpg>


Then by clicking on the "org.jacoco.agent" the bars are there.


<agent_bar.jpg>


I was wondering if this is an expected behavior and if so why the last column in the posted images has no bar. I'm asking because in my project report lots of packages have no bars in the 2nd and 4th column and I don't understand why.


Thanks

Regards

Emanuele


Il giorno giovedì 6 febbraio 2020 18:02:34 UTC+1, Marc R. Hoffmann ha scritto:
Hi Emanuele,

not sure what exactly you are missing. For me (with Firefox, Crome and Safari) the report looks like this:


Regards,
-marc


On 6. Feb 2020, at 17:20, sh4d...@gmail.com wrote:


Hello all,
maybe this is a silly question, but I have a doubt: for example looking @ https://www.jacoco.org/jacoco/trunk/coverage/ you may notice that the org.jacoco.agent element has no red/green bar in the Missed-Instructions/Branches columns.
I started using Jacoco and in my project lots of "elements" have no bar in the columns mentioned before.. I was wonder why.

Thank you in advance

Regards

Emanuele

-- 
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 jac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/f72c986f-7b04-4597-80a2-ed3a946064b1%40googlegroups.com.


-- 
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/e4c64bdc-6554-4178-b10c-71d2a3b4f25f%40googlegroups.com.
<missing_bar.jpg><agent_bar.jpg>

sh4d...@gmail.com

unread,
Feb 13, 2020, 3:13:06 AM2/13/20
to JaCoCo and EclEmma Users
Hi Marc,
thanks for the explanation, now the behavior is clear ;)

Thanks again !

Regards,

Emanuele
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/e4c64bdc-6554-4178-b10c-71d2a3b4f25f%40googlegroups.com.
<missing_bar.jpg><agent_bar.jpg>

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