Created
August 24, 2017 19:07
-
-
Save cdroulers/20e81e6f59eaede7ee96c4eb0e9dd625 to your computer and use it in GitHub Desktop.
Revisions
-
cdroulers created this gist
Aug 24, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="yes" standalone="yes"/> <xsl:template match="/CoverageSession/Modules"> <coverage> <xsl:for-each select="Module[not(@skippedDueTo)]"> <module name="{ModuleName}"> <xsl:for-each select="Classes/Class"> <xsl:if test="count(Methods/Method) > 0"> <class name="{FullName}"> <xsl:variable name="className" select="FullName" /> <xsl:for-each select="Methods/Method"> <method class="{$className}"> <xsl:for-each select="SequencePoints/SequencePoint"> <seqpnt visitcount="{@vc}" /> </xsl:for-each> </method> </xsl:for-each> </class> </xsl:if> </xsl:for-each> </module> </xsl:for-each> </coverage> </xsl:template> </xsl:stylesheet>