[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] [ANN] XSL Coverage scripts
http://www.saxonica.com/download/opensource.xmlThe version # there is quite different from what you give below (6.5.5): theirs is 9.7.
Mike Maxwell On 11/11/2016 10:06 PM, ben.guillon wrote:
Hi Richard, Yes, it means that: when stylesheets are processed on a given test xml file, the tool traces the templates applied, and within the called templates the XSL instructions performed (some instructions can be unreachable because of conditional processing with xsl:if, xsl:choose). In the HTML coverage report, the covered lines (that is, the XSL lines used to transform the XML) have green background, while unused lines have yellow backgrounds. Clicking on the green lines point to the XML line(s) processed. The overall statistics for the stylesheets used are in a coverage index file. An example of such a report is here: https://marsgui.github.io/xslcoverage/example/traces/coverage_index.html Regards, BG On Fri, 11 Nov 2016 20:35:37 +0100, Richard Hamilton <email@example.com> wrote:Hi Ben, This looks interesting, but I’ve got a basic (dumb:-) question. What do you mean by coverage? Do you mean test coverage, that is, calculating how much a given test xml file exercises the stylesheets, or do you mean something else? Thanks, Dick Hamilton ------- XML Press XML for Technical Communicators http://xmlpress.net firstname.lastname@example.orgOn Nov 8, 2016, at 15:58, ben.guillon <email@example.com> wrote: Hi, For your information, I've packaged a few python scripts and a java plugin for Saxon to compute and visualize the coverage of XSL stylesheets when processed on documents with saxon (currently tested with saxon 6.5.5). It's available here: https://github.com/marsgui/xslcoverage/tree/master You can look at the result with an example at the end of the readme. Regards, BG--------------------------------------------------------------------- To unsubscribe, e-mail: firstname.lastname@example.org For additional commands, e-mail: email@example.com