|
@@ -6,6 +6,10 @@
|
6
|
6
|
<xsl:variable name="covered" select="project/metrics/@coveredelements"/>
|
7
|
7
|
<xsl:variable name="decimal" select="$covered div $total"/>
|
8
|
8
|
<build>
|
|
9
|
+ <statusInfo>
|
|
10
|
+ <text action="append"> coverage: <xsl:value-of select="round($decimal * 10000) div 100"/>%</text>
|
|
11
|
+ </statusInfo>
|
|
12
|
+
|
9
|
13
|
<statisticValue key="cloverTotalElements">
|
10
|
14
|
<xsl:attribute name="value">
|
11
|
15
|
<xsl:value-of select="$total"/>
|
|
@@ -21,10 +25,6 @@
|
21
|
25
|
<xsl:value-of select="round(100 * $decimal)"/>
|
22
|
26
|
</xsl:attribute>
|
23
|
27
|
</statisticValue>
|
24
|
|
-
|
25
|
|
- <statusInfo>
|
26
|
|
- <text action="append"> coverage: <xsl:value-of select="round($decimal * 10000) div 100"/>%</text>
|
27
|
|
- </statusInfo>
|
28
|
28
|
</build>
|
29
|
29
|
</xsl:template>
|
30
|
30
|
|