Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB68D173EB for ; Mon, 20 Apr 2015 10:14:59 +0000 (UTC) Received: (qmail 1982 invoked by uid 500); 20 Apr 2015 10:14:59 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 1942 invoked by uid 500); 20 Apr 2015 10:14:59 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 1932 invoked by uid 99); 20 Apr 2015 10:14:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2015 10:14:59 +0000 Date: Mon, 20 Apr 2015 10:14:59 +0000 (UTC) From: "Greg A. (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-8657) Add Maven Plugin to generate route coverage report MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502601#comment-14502601 ] Greg A. commented on CAMEL-8657: -------------------------------- We can create an XSLT to convert XML to HTML. I think it is the quickest way to achieve it. could you post an XML Camel code coverage sample ? > 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 > Fix For: 2.16.0 > > Attachments: 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.3.4#6332)