| Package | TC | CC | AC | Ca | Ce | A | I | D | V |
|---|---|---|---|---|---|---|---|---|---|
| org.codehaus.wadi.group | 20 | 7 | 13 | 3 | 4 | 65.0% | 57.0% | 22.0% | 1 |
| org.codehaus.wadi.group.command | 4 | 3 | 1 | 0 | 5 | 25.0% | 100.0% | 25.0% | 1 |
| org.codehaus.wadi.group.impl | 20 | 14 | 6 | 2 | 7 | 30.000002% | 78.0% | 8.0% | 1 |
| org.codehaus.wadi.group.vm | 16 | 14 | 2 | 0 | 5 | 12.0% | 100.0% | 12.0% | 1 |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 3 | 4 | 65.0% | 57.0% | 22.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| org.codehaus.wadi.group.Address org.codehaus.wadi.group.Cluster org.codehaus.wadi.group.ClusterListener org.codehaus.wadi.group.Dispatcher org.codehaus.wadi.group.DispatcherContext org.codehaus.wadi.group.DispatcherRegistry org.codehaus.wadi.group.EndPoint org.codehaus.wadi.group.Envelope org.codehaus.wadi.group.EnvelopeInterceptor org.codehaus.wadi.group.EnvelopeListener org.codehaus.wadi.group.LocalPeer org.codehaus.wadi.group.Peer org.codehaus.wadi.group.ServiceEndpoint |
org.codehaus.wadi.group.ClusterException org.codehaus.wadi.group.MessageExchangeException org.codehaus.wadi.group.NoOpEnvelopeInterceptor org.codehaus.wadi.group.PeerInfo org.codehaus.wadi.group.Quipu org.codehaus.wadi.group.QuipuException org.codehaus.wadi.group.StaticDispatcherRegistry |
org.codehaus.wadi.group.command org.codehaus.wadi.group.impl org.codehaus.wadi.group.vm |
java.io java.lang java.util org.apache.commons.logging |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 5 | 25.0% | 100.0% | 25.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| org.codehaus.wadi.group.command.ClusterCommand |
org.codehaus.wadi.group.command.BootPeerResponse org.codehaus.wadi.group.command.BootRemotePeer org.codehaus.wadi.group.command.BootRemotePeer$1 |
None | java.io java.lang org.apache.commons.logging org.codehaus.wadi.group org.codehaus.wadi.group.impl |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 2 | 7 | 30.000002% | 78.0% | 8.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| org.codehaus.wadi.group.impl.AbstractCluster org.codehaus.wadi.group.impl.AbstractDispatcher org.codehaus.wadi.group.impl.AbstractMsgDispatcher org.codehaus.wadi.group.impl.AbstractMsgMethodDispatcher org.codehaus.wadi.group.impl.EnvelopeDispatcherManager org.codehaus.wadi.group.impl.ThreadPool |
org.codehaus.wadi.group.impl.AbstractDispatcher$SimpleCorrelationIDFactory org.codehaus.wadi.group.impl.BasicDispatcherContext org.codehaus.wadi.group.impl.BasicEnvelopeDispatcherManager org.codehaus.wadi.group.impl.BasicEnvelopeDispatcherManager$DispatchRunner org.codehaus.wadi.group.impl.EnvelopeHelper org.codehaus.wadi.group.impl.EnvelopeLogger org.codehaus.wadi.group.impl.MsgAndPayloadMsgDispatcher org.codehaus.wadi.group.impl.MsgAndPayloadMsgDispatcher$1 org.codehaus.wadi.group.impl.PayloadMsgDispatcher org.codehaus.wadi.group.impl.PayloadMsgDispatcher$1 org.codehaus.wadi.group.impl.PooledExecutorAdapter org.codehaus.wadi.group.impl.PooledExecutorAdapter$1 org.codehaus.wadi.group.impl.ServiceEndpointBuilder org.codehaus.wadi.group.impl.ServiceEndpointWrapper |
org.codehaus.wadi.group.command org.codehaus.wadi.group.vm |
java.io java.lang java.lang.reflect java.util java.util.concurrent org.apache.commons.logging org.codehaus.wadi.group |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 5 | 12.0% | 100.0% | 12.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| org.codehaus.wadi.group.vm.EnvelopeTransformer org.codehaus.wadi.group.vm.MessageRecorder |
org.codehaus.wadi.group.vm.ClusterListenerSupport org.codehaus.wadi.group.vm.NoOpMessageTransformer org.codehaus.wadi.group.vm.SerializeMessageTransformer org.codehaus.wadi.group.vm.SysOutMessageRecorder org.codehaus.wadi.group.vm.VMAddress org.codehaus.wadi.group.vm.VMAddressInfo org.codehaus.wadi.group.vm.VMBroker org.codehaus.wadi.group.vm.VMClusterAddress org.codehaus.wadi.group.vm.VMDispatcher org.codehaus.wadi.group.vm.VMEnvelope org.codehaus.wadi.group.vm.VMLocalCluster org.codehaus.wadi.group.vm.VMLocalClusterListener org.codehaus.wadi.group.vm.VMLocalPeer org.codehaus.wadi.group.vm.VMPeer |
None | java.io java.lang java.util org.codehaus.wadi.group org.codehaus.wadi.group.impl |
| 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. |