Martin Heinzerling edited a comment on Improvement JENKINS-16580

I started working on this issue. Please have a look at: https://github.com/mheinzerling/jacoco-plugin/tree/JENKINS-16580 . Unfortunately there is no configuration yet, but who ever will continue this task can do nearly everything with the graph. See graph.png generated by the code below, I'm using in my project.

CoverageGraphLayout layout = new CoverageGraphLayout()
	.baseStroke(2f)
	.axis().skipZero().crop()
	.plot().type(CoverageType.LINE).value(CoverageValue.MISSED).color(Color.RED)
	.plot().type(CoverageType.LINE).value(CoverageValue.COVERED).color(Color.GREEN)
	.axis().label("B").skipZero().crop(50)
	.plot().type(CoverageType.BRANCH).value(CoverageValue.PERCENTAGE).color(Color.BLUE)
	.axis().label("L").skipZero().crop(50)
	.plot().type(CoverageType.LINE).value(CoverageValue.PERCENTAGE).color(Color.YELLOW);

Actually my branch would be ready to integrate, but without changing the actual behavior. Anybody working in this area might also benefit from my test.

Please check and comment my pull request: https://github.com/jenkinsci/jacoco-plugin/pull/50 .

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to