Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
org.apache.commons.latka | 11 | 9 | 2 | 6 | 15 | 18.0% | 71.0% | 10.0% | 1 |
org.apache.commons.latka.event | 13 | 8 | 5 | 4 | 4 | 38.0% | 50.0% | 12.0% | 1 |
org.apache.commons.latka.http | 14 | 8 | 6 | 7 | 7 | 43.0% | 50.0% | 7.0% | 1 |
org.apache.commons.latka.jelly | 14 | 14 | 0 | 2 | 9 | 0.0% | 82.0% | 18.0% | 1 |
org.apache.commons.latka.jelly.validators | 10 | 9 | 1 | 0 | 9 | 10.0% | 100.0% | 10.0% | 1 |
org.apache.commons.latka.junit | 4 | 4 | 0 | 0 | 11 | 0.0% | 100.0% | 0.0% | 1 |
org.apache.commons.latka.servlet | 4 | 4 | 0 | 0 | 8 | 0.0% | 100.0% | 0.0% | 1 |
org.apache.commons.latka.validators | 11 | 9 | 2 | 1 | 13 | 18.0% | 93.0% | 11.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 15 | 18.0% | 71.0% | 10.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.latka.AbstractReporter org.apache.commons.latka.Validator |
org.apache.commons.latka.DefaultLatkaEventInfo org.apache.commons.latka.HtmlPrettyPrintWriter org.apache.commons.latka.Latka org.apache.commons.latka.LatkaException org.apache.commons.latka.LatkaProperties org.apache.commons.latka.LatkaProperties$LatkaThreadLocal org.apache.commons.latka.Suite org.apache.commons.latka.ValidationException org.apache.commons.latka.XMLReporter |
org.apache.commons.latka.event org.apache.commons.latka.jelly org.apache.commons.latka.jelly.validators org.apache.commons.latka.junit org.apache.commons.latka.servlet org.apache.commons.latka.validators |
java.io java.lang java.net java.text java.util javax.xml.transform javax.xml.transform.stream org.apache.commons.jelly org.apache.commons.latka.event org.apache.commons.latka.http org.apache.commons.latka.jelly org.apache.log4j org.dom4j org.dom4j.io org.xml.sax |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 4 | 38.0% | 50.0% | 12.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.latka.event.LatkaEvent org.apache.commons.latka.event.LatkaEventInfo org.apache.commons.latka.event.LatkaEventListener org.apache.commons.latka.event.RequestEvent org.apache.commons.latka.event.SuiteEvent |
org.apache.commons.latka.event.BaseRequestEvent org.apache.commons.latka.event.LatkaEventPublisher org.apache.commons.latka.event.ReportMessageEvent org.apache.commons.latka.event.RequestErrorEvent org.apache.commons.latka.event.RequestFailedEvent org.apache.commons.latka.event.RequestSkippedEvent org.apache.commons.latka.event.RequestSucceededEvent org.apache.commons.latka.event.SuiteCompletedEvent |
org.apache.commons.latka org.apache.commons.latka.jelly org.apache.commons.latka.jelly.validators org.apache.commons.latka.junit |
java.lang java.util org.apache.commons.latka org.apache.commons.latka.http |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
7 | 7 | 43.0% | 50.0% | 7.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.latka.http.Credentials org.apache.commons.latka.http.Parameters org.apache.commons.latka.http.Request org.apache.commons.latka.http.RequestHeaders org.apache.commons.latka.http.Response org.apache.commons.latka.http.Session |
org.apache.commons.latka.http.CredentialsImpl org.apache.commons.latka.http.MethodFactory org.apache.commons.latka.http.ParametersImpl org.apache.commons.latka.http.Proxy org.apache.commons.latka.http.RequestHeadersImpl org.apache.commons.latka.http.RequestImpl org.apache.commons.latka.http.ResponseImpl org.apache.commons.latka.http.SessionImpl |
org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka.jelly org.apache.commons.latka.jelly.validators org.apache.commons.latka.junit org.apache.commons.latka.servlet org.apache.commons.latka.validators |
java.io java.lang java.net java.util org.apache.commons.httpclient org.apache.commons.httpclient.methods org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 9 | 0.0% | 82.0% | 18.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.latka.jelly.CredentialsTag org.apache.commons.latka.jelly.JellyUtils org.apache.commons.latka.jelly.LatkaTagLibrary org.apache.commons.latka.jelly.ParameterNameTag org.apache.commons.latka.jelly.ParameterTag org.apache.commons.latka.jelly.ParameterValueTag org.apache.commons.latka.jelly.ReportMessageTag org.apache.commons.latka.jelly.RequestBodyTag org.apache.commons.latka.jelly.RequestHeaderTag org.apache.commons.latka.jelly.RequestTag org.apache.commons.latka.jelly.SessionTag org.apache.commons.latka.jelly.SuiteSettings org.apache.commons.latka.jelly.SuiteTag org.apache.commons.latka.jelly.ValidateTag |
org.apache.commons.latka org.apache.commons.latka.jelly.validators |
java.io java.lang java.net java.util org.apache.commons.jelly org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka.http org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 9 | 10.0% | 100.0% | 10.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport |
org.apache.commons.latka.jelly.validators.ByteLengthTag org.apache.commons.latka.jelly.validators.CookieTag org.apache.commons.latka.jelly.validators.GoldenFileTag org.apache.commons.latka.jelly.validators.MaxRequestTimeTag org.apache.commons.latka.jelly.validators.RegexpTag org.apache.commons.latka.jelly.validators.ResponseHeaderTag org.apache.commons.latka.jelly.validators.StatusCodeTag org.apache.commons.latka.jelly.validators.StatusTextTag org.apache.commons.latka.jelly.validators.XPathTag |
None | java.io java.lang org.apache.commons.jelly org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka.http org.apache.commons.latka.jelly org.apache.commons.latka.validators org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 11 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.latka.junit.JUnitEventReporter org.apache.commons.latka.junit.JUnitEventReporter$EventTestAdapter org.apache.commons.latka.junit.JUnitTestAdapter org.apache.commons.latka.junit.JUnitTestAdapter$TestCounter |
None | java.io java.lang java.net javax.xml.parsers junit.framework org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka.http org.apache.log4j org.xml.sax org.xml.sax.helpers |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 8 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.latka.servlet.ViewResponseServlet org.apache.commons.latka.servlet.ViewResponseServlet$1 org.apache.commons.latka.servlet.ViewResponseServlet$ToStringComparator org.apache.commons.latka.servlet.ViewSuiteServlet |
None | java.io java.lang java.net java.util javax.servlet.http org.apache.commons.latka org.apache.commons.latka.http org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 13 | 18.0% | 93.0% | 11.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.latka.validators.BaseConditionalValidator org.apache.commons.latka.validators.BaseValidator |
org.apache.commons.latka.validators.ByteLengthValidator org.apache.commons.latka.validators.CookieValidator org.apache.commons.latka.validators.GoldenFileValidator org.apache.commons.latka.validators.MaxRequestTimeValidator org.apache.commons.latka.validators.RegexpValidator org.apache.commons.latka.validators.ResponseHeaderValidator org.apache.commons.latka.validators.StatusCodeValidator org.apache.commons.latka.validators.StatusTextValidator org.apache.commons.latka.validators.XPathValidator |
org.apache.commons.latka.jelly.validators |
java.io java.lang java.text java.util org.apache.commons.latka org.apache.commons.latka.http org.apache.log4j org.apache.regexp org.jaxen org.jaxen.jdom org.jdom org.jdom.input org.jdom.output |
Package | Package Dependencies |
---|---|
org.apache.commons.latka | org.apache.commons.latka.event org.apache.commons.latka |
org.apache.commons.latka.event | org.apache.commons.latka org.apache.commons.latka.event |
org.apache.commons.latka.jelly | org.apache.commons.latka.event org.apache.commons.latka org.apache.commons.latka.event |
org.apache.commons.latka.jelly.validators | org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka |
org.apache.commons.latka.junit | org.apache.commons.latka.event org.apache.commons.latka org.apache.commons.latka.event |
org.apache.commons.latka.servlet | org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka |
org.apache.commons.latka.validators | org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka |
Term | Description |
---|---|
Number of Classes | The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package. |
Afferent Couplings | The number of other packages that depend upon classes within the package is an indicator of the package's responsibility. |
Efferent Couplings | The number of other packages that the classes in the package depend upon is an indicator of the package's independence. |
Abstractness | 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. |
Instability | 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. |
Distance | 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. |
Cycles | 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. |