Test Coverage Report

Stylesheet: /build/tests/stubs/fullpackage-wired.xslt

module: /build/tests/stubs/fullpackage-wired.xslt; 13 lines

not used

module: /build/src/main/resources/xslt/functions.xslt; 27 lines

not used

module: /build/src/main/resources/xslt/lib/fullpackage.xslt; 58 lines

01: <?xml version="1.0" encoding="ISO-8859-1"?>
02: <xsl:stylesheet version="2.0"
03: 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
04: 	xmlns:zenta="http://magwas.rulez.org/zenta"
05: 	xmlns:zentatools="java:org.rulez.magwas.zentatools.XPathFunctions"
06: 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
07: 
08: 
09: 	<xsl:function name="zenta:fullpackageP">
10: 		<xsl:param name="package" />
11: 		<xsl:if test="$package">
12: 			<xsl:variable name="parent"
13: 				select="zenta:fullpackageP(zenta:neighbours($rich,$package,'contains,2')[@xsi:type='Package'])" />
14: 			<xsl:choose>
15: 				<xsl:when test="$parent">
16: 					<xsl:value-of
17: 						select="concat($parent, '.', $package/@name)" />
18: 				</xsl:when>
19: 				<xsl:otherwise>
20: 					<xsl:value-of select="$package/@name" />
21: 				</xsl:otherwise>
22: 			</xsl:choose>
23: 		</xsl:if>
24: 	</xsl:function>
25: 
26: 	<xsl:function name="zenta:fullpackage">
27: 		<xsl:param name="service" />
28: 		<xsl:variable name="parents"
29: 			select="zenta:neighbours($rich,$service,'contains,2')" />
30: 		<xsl:variable name="parent"
31: 			select="if($parents[@xsi:type='Package'])
32: 		then $parents[@xsi:type='Package']
33: 		else $parents[@xsi:type='Process Step']" />
34: 		<xsl:choose>
35: 			<xsl:when test="$parent/@xsi:type='Package'">
36: 				<xsl:copy-of select="zenta:fullpackageP($parent)" />
37: 			</xsl:when>
38: 			<xsl:when test="$parent/@xsi:type='Process Step'">
39: 				<xsl:copy-of select="zenta:fullpackage($parent)" />
40: 			</xsl:when>
41: 			<xsl:otherwise>
42: 				<xsl:variable name="implemented"
43: 					select="zenta:neighbours($rich,$service,'is implemented by/implements,2')" />
44: 				<xsl:if test="not($implemented/@name)">
45: 					<xsl:value-of
46: 						select="error(
47: 		       			QName('http://magwas.rulez.org/zenta','zenta:nopackage'),
48: 						concat('no package for: ',$service/@name))" />
49: 				</xsl:if>
50: 				<xsl:copy-of select="zenta:fullpackage($implemented)" />
51: 			</xsl:otherwise>
52: 		</xsl:choose>
53: 	</xsl:function>
54: 
55: 
56: </xsl:stylesheet>
57: 
58: 

module: /build/xslt/docbook.deviations.xslt; 57 lines

not used

module: /build/xslt/functions.asserts.xslt; 158 lines

not used

module: /build/xslt/functions.error.xslt; 196 lines

not used

module: /build/xslt/functions.lang.xslt; 133 lines

not used

module: /build/xslt/functions.model.xslt; 52 lines

not used

module: /build/xslt/functions.rich1.xslt; 249 lines

not used

module: /build/xslt/functions.rich2.xslt; 120 lines

not used

module: /build/xslt/functions.generate.xslt; 91 lines

not used

module: /build/xslt/functions.constraint.xslt; 19 lines

not used

module: /build/xslt/lib/constraints.xslt; 48 lines

not used

module: /build/xslt/lib/constraintChecks.xslt; 22 lines

not used

module: /build/xslt/functions.local.xslt; 12 lines

not used

module: /build/xslt/constraint.doesProcessSteps.xslt; 28 lines

not used

module: /build/xslt/constraint.inTheRolesFolderInTheProcessFolder.xslt; 29 lines

not used

module: /build/xslt/constraint.processStepDoneBy.xslt; 40 lines

not used

module: /build/xslt/constraint.itsViewContainsTheProcessStepAndItsNeighbourhood.xslt; 39 lines

not used