781N/A Licensed to the Apache Software Foundation (ASF) under one or more 781N/A contributor license agreements. See the NOTICE file distributed with 781N/A this work for additional information regarding copyright ownership. 781N/A The ASF licenses this file to You under the Apache License, Version 2.0 781N/A (the "License"); you may not use this file except in compliance with 781N/A the License. You may obtain a copy of the License at 781N/A Unless required by applicable law or agreed to in writing, software 781N/A distributed under the License is distributed on an "AS IS" BASIS, 781N/A WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 781N/A See the License for the specific language governing permissions and 781N/A limitations under the License. 781N/A<
xsl:
output method="html" indent="yes" encoding="US-ASCII"/>
781N/A<
xsl:
template match="JDepend">
781N/A <
title>JDepend Analysis</
title>
font:normal 68% verdana,arial,helvetica;
margin-top:0.5em; margin-bottom:1.0em;
margin: 0px 0px 5px; font: 165% verdana,arial,helvetica
margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica
margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
font-weight:bold; color:red;
font-weight:bold; color:purple;
<!--h1>JDepend Report</h1> <xsl:sort select="@name"/> <li><xsl:value-of select="@name"/></li> <
h1><
a name="top">JDepend Analysis</
a></
h1>
<
table width="100%"><
tr><
td>
<
a name="NVsummary"><
h2>Summary</
h2></
a>
[<
a href="#NVsummary">summary</
a>]
[<
a href="#NVpackages">packages</
a>]
[<
a href="#NVcycles">cycles</
a>]
[<
a href="#NVexplanations">explanations</
a>]
<
table width="100%" class="details">
<
th><
a href="#EXnumber">Abstract Classes</
a></
th>
<
th><
a href="#EXnumber">Concrete Classes</
a></
th>
<
th><
a href="#EXafferent">Afferent Couplings</
a></
th>
<
th><
a href="#EXefferent">Efferent Couplings</
a></
th>
<
th><
a href="#EXabstractness">Abstractness</
a></
th>
<
th><
a href="#EXinstability">Instability</
a></
th>
<
th><
a href="#EXdistance">Distance</
a></
th>
<
xsl:
if test="count(error) = 0">
<
xsl:
attribute name="href">#PK<
xsl:
value-
of select="@name"/>
<
xsl:
value-
of select="@name"/>
<
td align="right"><
xsl:
value-
of select="Stats/Ca"/></
td>
<
td align="right"><
xsl:
value-
of select="Stats/Ce"/></
td>
<
td align="right"><
xsl:
value-
of select="Stats/A"/></
td>
<
td align="right"><
xsl:
value-
of select="Stats/I"/></
td>
<
td align="right"><
xsl:
value-
of select="Stats/D"/></
td>
<
xsl:
if test="count(error) > 0">
<
xsl:
value-
of select="@name"/>
<
td align="left" colspan="8"><
xsl:
value-
of select="error"/></
td>
<
table width="100%"><
tr><
td>
<
a name="NVpackages"><
h2>Packages</
h2></
a>
[<
a href="#NVsummary">summary</
a>]
[<
a href="#NVpackages">packages</
a>]
[<
a href="#NVcycles">cycles</
a>]
[<
a href="#NVexplanations">explanations</
a>]
<
xsl:
if test="count(error) = 0">
<
h3><
a><
xsl:
attribute name="name">PK<
xsl:
value-
of select="@name"/></
xsl:
attribute>
<
xsl:
value-
of select="@name"/></
a></
h3>
<
td><
a href="#EXafferent">Afferent Couplings</
a>: <
xsl:
value-
of select="Stats/Ca"/></
td>
<
td><
a href="#EXefferent">Efferent Couplings</
a>: <
xsl:
value-
of select="Stats/Ce"/></
td>
<
td><
a href="#EXabstractness">Abstractness</
a>: <
xsl:
value-
of select="Stats/A"/></
td>
<
td><
a href="#EXinstability">Instability</
a>: <
xsl:
value-
of select="Stats/I"/></
td>
<
td><
a href="#EXdistance">Distance</
a>: <
xsl:
value-
of select="Stats/D"/></
td>
<
table width="100%" class="details">
<
th>Abstract Classes</
th>
<
th>Concrete Classes</
th>
<
th>Used by Packages</
th>
<
td valign="top" width="25%">
<
xsl:
value-
of select="node()"/><
br/>
<
td valign="top" width="25%">
<
xsl:
value-
of select="node()"/><
br/>
<
td valign="top" width="25%">
<
xsl:
attribute name="href">#PK<
xsl:
value-
of select="node()"/></
xsl:
attribute>
<
xsl:
value-
of select="node()"/>
<
td valign="top" width="25%">
<
xsl:
attribute name="href">#PK<
xsl:
value-
of select="node()"/></
xsl:
attribute>
<
xsl:
value-
of select="node()"/>
<
table width="100%"><
tr><
td>
<
a name="NVcycles"><
h2>Cycles</
h2></
a>
[<
a href="#NVsummary">summary</
a>]
[<
a href="#NVpackages">packages</
a>]
[<
a href="#NVcycles">cycles</
a>]
[<
a href="#NVexplanations">explanations</
a>]
<
p>There are no cyclic dependancies.</
p>
<
h3><
xsl:
value-
of select="@Name"/></
h3><
p>
<
xsl:
for-
each select="Package">
<
xsl:
value-
of select="."/><
br/>
<
table width="100%"><
tr><
td>
<
a name="NVexplanations"><
h2>Explanations</
h2></
a>
[<
a href="#NVsummary">summary</
a>]
[<
a href="#NVpackages">packages</
a>]
[<
a href="#NVcycles">cycles</
a>]
[<
a href="#NVexplanations">explanations</
a>]
<
h3><
a name="EXnumber">Number of Classes</
a></
h3>
<
p>The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.</
p>
<
h3><
a name="EXafferent">Afferent Couplings</
a></
h3>
<
p>The number of other packages that depend upon classes within the package is an indicator of the package's responsibility. </
p>
<
h3><
a name="EXefferent">Efferent Couplings</
a></
h3>
<
p>The number of other packages that the classes in the package depend upon is an indicator of the package's independence. </
p>
<
h3><
a name="EXabstractness">Abstractness</
a></
h3>
<
p>The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package. </
p>
<
p>The range for this metric is 0 to 1, with A=0 indicating a completely concrete package and A=1 indicating a completely abstract package. </
p>
<
h3><
a name="EXinstability">Instability</
a></
h3>
<
p>The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change. </
p>
<
p>The range for this metric is 0 to 1, with I=0 indicating a completely stable package and I=1 indicating a completely instable package. </
p>
<
h3><
a name="EXdistance">Distance</
a></
h3>
<
p>The perpendicular distance of a package from the idealized line A + I = 1. This metric is an indicator of the package's balance between abstractness and stability. </
p>
<
p>A package squarely on the main sequence is optimally balanced with respect to its abstractness and stability. Ideal packages are either completely abstract and stable (x=0, y=1) or completely concrete and instable (x=1, y=0). </
p>
<
p>The range for this metric is 0 to 1, with D=0 indicating a package that is coincident with the main sequence and D=1 indicating a package that is as far from the main sequence as possible. </
p>