📄 jdepend-report.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>JDepend Source Code Analysis - Apache Struts - Scripts BSF Scripting</title><style type="text/css" media="all"> @import url("./style/maven-base.css"); @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><style type="text/css">.jdepend td ul, .jdepend td ul li { margin:0; padding:0; list-style-type: none; }</style></head><body class="jdepend"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="The Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://struts.apache.org/struts-scripting" id="projectLogo"><img alt="Struts Scripting" src="http://struts.apache.org/images/struts.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">Last published: 17 December 2005 <span class="separator">|</span>燚oc for 1.0.1 </div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuStruts_BSF_Scripting"><h5>Struts BSF Scripting</h5><ul><li class="none"><a href="index.html">Welcome</a></li><li class="none"><a href="index.html#features">Features</a></li><li class="none"><a href="index.html#documentation">Documentation</a></li><li class="none"><a href="user-guide.html">User Guide</a></li><li class="none"><a href="source-guide.html">Source Guide</a></li><li class="none"><a href="http://struts.apache.org/acquiring.html" class="externalLink" title="External Link">Download</a></li></ul></div><div id="menuQuick_Links"><h5>Quick Links</h5><ul><li class="none"><a href="../index.html">Apache Struts Home</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="expanded"><a href="maven-reports.html">Project Reports</a><ul><li class="none"><a href="checkstyle-report.html">Checkstyle</a></li><li class="none"><a href="changelog-report.html">Change Log</a></li><li class="none"><a href="changes-report.html">Changes</a></li><li class="none"><a href="developer-activity-report.html">Developer Activity</a></li><li class="none"><a href="file-activity-report.html">File Activity</a></li><li class="none"><a href="apidocs/index.html" class="newWindow" title="New Window" target="_blank">JavaDocs</a></li><li class="none"><a href="javadoc.html">JavaDoc Report</a></li><li class="none"><a href="javadoc-warnings-report.html">JavaDoc Warnings Report</a></li><li class="none"><strong><a href="jdepend-report.html">Metrics</a></strong></li><li class="none"><a href="xref/index.html" class="newWindow" title="New Window" target="_blank">Source Xref</a></li><li class="none"><a href="pmd-report.html">PMD Report</a></li><li class="none"><a href="simian-report.html">Simian Report</a></li><li class="none"><a href="task-list.html">Task List</a></li></ul></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><div id="legend"><h5>Legend</h5><ul><li class="externalLink">External Link</li><li class="newWindow">Opens in a new window</li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Metric_Results"></a><h2>Metric Results</h2> <p>[ <a href="#Summary">summary</a>] [ <a href="#Packages">packages</a>] [ <a href="#Cycles">cycles</a>] [ <a href="#Explanations">explanations</a>]</p> <p>The following document contains the results of a <a href="http://www.clarkware.com/software/JDepend.html" class="externalLink" title="External Link">JDepend</a>metric analysis. The various metrics are defined at the bottom of this document.</p> </div><div class="section"><a name="Summary"></a><h2>Summary</h2> <p>[ <a href="#Summary">summary</a>] [ <a href="#Packages">packages</a>] [ <a href="#Cycles">cycles</a>] [ <a href="#Explanations">explanations</a>]</p> <table class="bodyTable"> <thead> <tr class="a"> <th title="Package">Package</th> <th style="text-align:right"> <acronym title="Total Classes">TC</acronym> </th> <th style="text-align:right"> <acronym title="Abstract Classes">AC</acronym> </th> <th style="text-align:right"> <acronym title="Concrete Classes">CC</acronym> </th> <th style="text-align:right"> <acronym title="Afferent Couplings">AC</acronym> </th> <th style="text-align:right"> <acronym title="Efferent Couplings">EC</acronym> </th> <th style="text-align:right"> <acronym title="Abstractness">A</acronym> </th> <th style="text-align:right"> <acronym title="Instability">I</acronym> </th> <th style="text-align:right"> <acronym title="Distance">D</acronym> </th> </tr> </thead> <tbody> <tr class="b"> <td> <a href="#org_apache_struts_scripting">org.apache.struts.scripting</a> </td> <td style="text-align:right">6</td> <td style="text-align:right">1</td> <td style="text-align:right">5</td> <td style="text-align:right">0</td> <td style="text-align:right">10</td> <td style="text-align:right">0.17</td> <td style="text-align:right">100%</td> <td style="text-align:right">17%</td> </tr> </tbody> </table> </div><div class="section"><a name="Packages"></a><h2>Packages</h2> <p>[ <a href="#Summary">summary</a>] [ <a href="#Packages">packages</a>] [ <a href="#Cycles">cycles</a>] [ <a href="#Explanations">explanations</a>]</p> <div class="subsection"><a name="org_apache_struts_scripting"></a><h3>org.apache.struts.scripting</h3> <table class="bodyTable"> <thead> <tr class="a"> <th>Afferent Couplings</th> <th>Efferent Couplings</th> <th>Abstractness</th> <th>Instability</th> <th>Distance</th> </tr> </thead> <tbody> <tr class="b"> <td>0</td> <td>10</td> <td>17%</td> <td>100%</td> <td>17%</td> </tr> </tbody> </table> <table class="bodyTable"> <thead> <tr class="a"> <th>Abstract Classes</th> <th>Concrete Classes</th> <th>Used by Packages</th> <th>Uses Packages</th> </tr> </thead> <tbody> <tr class="b"> <td> <ul> <li> <a href="xref/org/apache/struts/scripting/BSFManagerFilter.html">BSFManagerFilter</a> </li> </ul> </td> <td> <ul> <li> <a href="xref/org/apache/struts/scripting/RequestToVariableFilter.html">RequestToVariableFilter</a> </li> <li> <a href="xref/org/apache/struts/scripting/ScriptAction.html">ScriptAction</a> </li> <li> <a href="xref/org/apache/struts/scripting/ScriptAction.html">ScriptAction$Script</a> </li> <li> <a href="xref/org/apache/struts/scripting/StrutsInfo.html">StrutsInfo</a> </li> <li> <a href="xref/org/apache/struts/scripting/TestFilter.html">TestFilter</a> </li> </ul> </td> <td> <em>None</em> </td> <td> <ul> <li> <a href="#java_io">java.io</a> </li> <li> <a href="#java_lang">java.lang</a> </li> <li> <a href="#java_util">java.util</a> </li> <li> <a href="#javax_servlet">javax.servlet</a> </li> <li> <a href="#javax_servlet_http">javax.servlet.http</a> </li> <li> <a href="#org_apache_bsf">org.apache.bsf</a> </li> <li> <a href="#org_apache_bsf_util">org.apache.bsf.util</a> </li> <li> <a href="#org_apache_commons_logging">org.apache.commons.logging</a> </li> <li> <a href="#org_apache_struts_action">org.apache.struts.action</a> </li> <li> <a href="#org_apache_struts_util">org.apache.struts.util</a> </li> </ul> </td> </tr> </tbody> </table> </div> </div><div class="section"><a name="Cycles"></a><h2>Cycles</h2> <p>[ <a href="#Summary">summary</a>] [ <a href="#Packages">packages</a>] [ <a href="#Cycles">cycles</a>] [ <a href="#Explanations">explanations</a>]</p> <p>There are no cyclic dependencies.</p> </div><div class="section"><a name="Explanations"></a><h2>Explanations</h2> <p>[ <a href="#Summary">summary</a>] [ <a href="#Packages">packages</a>] [ <a href="#Cycles">cycles</a>] [ <a href="#Explanations">explanations</a>]</p> <p>The following explanations are for quick reference and are lifted directly from the original <a href="http://www.clarkware.com/software/JDepend.html" class="externalLink" title="External Link">JDepend documentation</a>.</p> <table class="bodyTable"> <thead> <tr class="a"> <th>Term</th> <th>Description</th> </tr> </thead> <tbody> <tr class="b"> <td>Number of Classes</td> <td>The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.</td> </tr> <tr class="a"> <td>Afferent Couplings</td> <td>The number of other packages that depend upon classes within the package is an indicator of the package's responsibility.</td> </tr> <tr class="b"> <td>Efferent Couplings</td> <td>The number of other packages that the classes in the package depend upon is an indicator of the package's independence.</td> </tr> <tr class="a"> <td>Abstractness</td> <td>The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package. 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.</td> </tr> <tr class="b"> <td>Instability</td> <td>The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change. 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.</td> </tr> <tr class="a"> <td>Distance</td> <td>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. 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). 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.</td> </tr> <tr class="b"> <td>Cycles</td> <td>Packages participating in a package dependency cycle are in a deadly embrace with respect to reusability and their release cycle. Package dependency cycles can be easily identified by reviewing the textual reports of dependency cycles. Once these dependency cycles have been identified with JDepend, they can be broken by employing various object-oriented techniques.</td> </tr> </tbody> </table> </div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -