[
https://issues.apache.org/jira/browse/CAMEL-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204617#comment-16204617
]
Claus Ibsen commented on CAMEL-8657:
------------------------------------
You can try by first testing with route coverage enabled
mvn clean test -DCamelTestRouteCoverage=true
And then run the report with
mvn org.apache.camel:camel-maven-plugin:2.21.0-SNAPSHOT:route-coverage
-Dcamel.includeTest=true -Dcamel.anonymousRoutes=true
> Add Maven Plugin to generate route coverage report
> --------------------------------------------------
>
> Key: CAMEL-8657
> URL: https://issues.apache.org/jira/browse/CAMEL-8657
> Project: Camel
> Issue Type: New Feature
> Components: tests, tooling
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.21.0
>
> Attachments: FilterTest-testSendMatchingMessage.xml, Screen Shot
> 2015-04-18 at 11.38.05 AM.png
>
>
> With help from CAMEL-8656 we can enable unit tests to generate xml files with
> route statistics.
> What we need is then a mvn plugin to generate a nice report from those, such
> as a html page that has a summary, and then a detailed route with colored
> lines for route usage, so you can spot which routes has unused parts etc.
> For starters the route can be dumped as xml from the report as its already in
> xml format. Its a matter of removing the noise, and then apply css or what
> style to do if exchangesTotal=0 and if its > 0 etc.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)