Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
net.sf.urlchecker.commands | 10 | 6 | 4 | 3 | 15 | 40.0% | 83.0% | 23.0% | 1 |
net.sf.urlchecker.communication | 4 | 3 | 1 | 3 | 12 | 25.0% | 80.0% | 5.0% | 1 |
net.sf.urlchecker.communication.configurers | 7 | 6 | 1 | 3 | 10 | 14.0% | 77.0% | 9.0% | 1 |
net.sf.urlchecker.events | 4 | 2 | 2 | 2 | 4 | 50.0% | 67.0% | 17.0% | 1 |
net.sf.urlchecker.exception.handling | 3 | 2 | 1 | 3 | 3 | 33.0% | 50.0% | 17.0% | 1 |
net.sf.urlchecker.v2.commands | 2 | 2 | 0 | 0 | 15 | 0.0% | 100.0% | 0.0% | 1 |
net.sf.urlchecker.v2.communication | 4 | 4 | 0 | 2 | 18 | 0.0% | 90.0% | 10.0% | 1 |
net.sf.urlchecker.v2.communication.configurers | 3 | 3 | 0 | 1 | 18 | 0.0% | 95.0% | 5.0% | 1 |
net.sf.urlchecker.v2.exception.handling | 2 | 2 | 0 | 0 | 4 | 0.0% | 100.0% | 0.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 15 | 40.0% | 83.0% | 23.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
net.sf.urlchecker.commands.AbstractCommand net.sf.urlchecker.commands.CheckUrlsGeneric net.sf.urlchecker.commands.Command net.sf.urlchecker.commands.Context |
net.sf.urlchecker.commands.CheckUrlsCommand net.sf.urlchecker.commands.CheckUrlsProcess net.sf.urlchecker.commands.Result net.sf.urlchecker.commands.RetryHandler net.sf.urlchecker.commands.StandardContext net.sf.urlchecker.commands.URLMatchCommand |
net.sf.urlchecker.communication net.sf.urlchecker.events net.sf.urlchecker.v2.commands |
java.io java.lang java.net java.text java.util java.util.concurrent net.sf.urlchecker.communication net.sf.urlchecker.events net.sf.urlchecker.exception.handling org.apache.commons.collections org.apache.commons.configuration org.apache.commons.httpclient org.apache.commons.lang org.apache.commons.lang.builder org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 12 | 25.0% | 80.0% | 5.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
net.sf.urlchecker.communication.GenericCommunicationFactory |
net.sf.urlchecker.communication.CommunicationBuilder net.sf.urlchecker.communication.CommunicationFactory net.sf.urlchecker.communication.HTTPMethods |
net.sf.urlchecker.commands net.sf.urlchecker.communication.configurers net.sf.urlchecker.v2.communication |
java.lang java.text java.util java.util.regex net.sf.urlchecker.commands net.sf.urlchecker.communication.configurers org.apache.commons.configuration org.apache.commons.httpclient org.apache.commons.httpclient.methods org.apache.commons.httpclient.params org.apache.commons.lang org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 10 | 14.0% | 77.0% | 9.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
net.sf.urlchecker.communication.configurers.Configurer |
net.sf.urlchecker.communication.configurers.ClientConfigurer net.sf.urlchecker.communication.configurers.ExceptionHandlersConfigurer net.sf.urlchecker.communication.configurers.MethodsConfigurer net.sf.urlchecker.communication.configurers.RetriesConfigurer net.sf.urlchecker.communication.configurers.URLPatternConfigurer net.sf.urlchecker.communication.configurers.ValidCodesConfigurer |
net.sf.urlchecker.communication net.sf.urlchecker.v2.communication net.sf.urlchecker.v2.communication.configurers |
java.lang java.util net.sf.urlchecker.communication net.sf.urlchecker.exception.handling org.apache.commons.configuration org.apache.commons.httpclient org.apache.commons.httpclient.auth org.apache.commons.httpclient.params org.apache.commons.lang org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 4 | 50.0% | 67.0% | 17.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
net.sf.urlchecker.events.ChainEvent net.sf.urlchecker.events.ChainListener |
net.sf.urlchecker.events.BasicChainEvent net.sf.urlchecker.events.EventTypes |
net.sf.urlchecker.commands net.sf.urlchecker.v2.commands |
java.lang java.util net.sf.urlchecker.commands org.apache.commons.lang.builder |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 3 | 33.0% | 50.0% | 17.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
net.sf.urlchecker.exception.handling.ExceptionHandler |
net.sf.urlchecker.exception.handling.AlwaysFalse net.sf.urlchecker.exception.handling.AlwaysTrue |
net.sf.urlchecker.commands net.sf.urlchecker.communication.configurers net.sf.urlchecker.v2.exception.handling |
java.io java.lang org.apache.commons.httpclient |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 15 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | net.sf.urlchecker.v2.commands.CheckUrlsCommand net.sf.urlchecker.v2.commands.CheckUrlsProcess |
None | java.io java.lang java.util java.util.concurrent net.sf.urlchecker.commands net.sf.urlchecker.events net.sf.urlchecker.v2.communication org.apache.commons.configuration org.apache.commons.lang org.apache.http org.apache.http.client org.apache.http.client.methods org.apache.http.impl.conn.tsccm org.apache.http.protocol org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 18 | 0.0% | 90.0% | 10.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | net.sf.urlchecker.v2.communication.CommunicationBuilder net.sf.urlchecker.v2.communication.CommunicationFactory net.sf.urlchecker.v2.communication.HTTPMethods net.sf.urlchecker.v2.communication.RequestRetryHandler |
net.sf.urlchecker.v2.commands net.sf.urlchecker.v2.communication.configurers |
java.io java.lang java.text java.util java.util.regex javax.net.ssl net.sf.urlchecker.communication net.sf.urlchecker.communication.configurers net.sf.urlchecker.v2.communication.configurers org.apache.commons.configuration org.apache.commons.httpclient org.apache.http org.apache.http.client org.apache.http.client.methods org.apache.http.conn org.apache.http.impl.client org.apache.http.protocol org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 18 | 0.0% | 95.0% | 5.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | net.sf.urlchecker.v2.communication.configurers.ClientConfigurer net.sf.urlchecker.v2.communication.configurers.ContextConfigurer net.sf.urlchecker.v2.communication.configurers.MethodsConfigurer |
net.sf.urlchecker.v2.communication |
java.lang java.util net.sf.urlchecker.communication.configurers net.sf.urlchecker.v2.communication org.apache.commons.configuration org.apache.http org.apache.http.auth org.apache.http.client org.apache.http.conn org.apache.http.conn.params org.apache.http.conn.scheme org.apache.http.conn.ssl org.apache.http.impl.client org.apache.http.impl.conn org.apache.http.impl.conn.tsccm org.apache.http.params org.apache.http.protocol org.apache.log4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 4 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | net.sf.urlchecker.v2.exception.handling.AlwaysFalse net.sf.urlchecker.v2.exception.handling.AlwaysTrue |
None | java.io java.lang net.sf.urlchecker.exception.handling org.apache.http.protocol |
Package | Package Dependencies |
---|---|
net.sf.urlchecker.commands | net.sf.urlchecker.events net.sf.urlchecker.commands |
net.sf.urlchecker.communication | net.sf.urlchecker.commands net.sf.urlchecker.events net.sf.urlchecker.commands |
net.sf.urlchecker.communication.configurers | net.sf.urlchecker.communication net.sf.urlchecker.commands net.sf.urlchecker.events net.sf.urlchecker.commands |
net.sf.urlchecker.events | net.sf.urlchecker.commands net.sf.urlchecker.events |
net.sf.urlchecker.v2.commands | net.sf.urlchecker.commands net.sf.urlchecker.events net.sf.urlchecker.commands |
net.sf.urlchecker.v2.communication | net.sf.urlchecker.communication net.sf.urlchecker.commands net.sf.urlchecker.events net.sf.urlchecker.commands |
net.sf.urlchecker.v2.communication.configurers | net.sf.urlchecker.v2.communication net.sf.urlchecker.communication net.sf.urlchecker.commands net.sf.urlchecker.events net.sf.urlchecker.commands |
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. |