Code Coverage HTML report by lines percentage (Gradle)

74 views
Skip to first unread message

cristia...@mercadolibre.com

unread,
Jun 1, 2016, 3:49:13 PM6/1/16
to JaCoCo and EclEmma Users
Hi,

I would like to submit a new request for a new feature.
Since Jacoco generates the percentage based on instructions (https://github.com/jacoco/jacoco/blob/master/org.jacoco.report/src/org/jacoco/report/html/HTMLFormatter.java#L132), It would be great if it could generate the report percentages based on Lines coverage.
I am using the Gradle plugin, so I would like to know where I could submit this request, if that is possible.

Thanks!

Marc R. Hoffmann

unread,
Jun 1, 2016, 4:01:42 PM6/1/16
to jac...@googlegroups.com
Here it is:

https://github.com/jacoco/jacoco/issues/382

Cheers,
-marc

cristia...@mercadolibre.com

unread,
Jun 2, 2016, 5:21:54 PM6/2/16
to JaCoCo and EclEmma Users
Hi Mark,

I saw the possible feature (String Based) that could be implemented to resolve this.

I wanted to know where is the configuration file where the string would be, because i would code a Pull Request since we would like to have this feature asap.

Thank you very much.

Regards.

Marc R. Hoffmann

unread,
Jun 3, 2016, 6:17:37 PM6/3/16
to jac...@googlegroups.com
Hi Cristian,

I don't think there will be a configuration file: It will simply be a
new API to set the column string. Then the Gradle plugin needs to be
updated to use this API.

I did a working implementationm I'll push this within the next days.

Regards,
-marc

cristia...@mercadolibre.com

unread,
Jun 6, 2016, 11:11:21 AM6/6/16
to JaCoCo and EclEmma Users
Hi Marc,

Great, looking forward to that push :) Thank you!.

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