Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
net.smartlab.web.registry | 59 | 53 | 6 | 0 | 22 | 10.0% | 100.0% | 10.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 22 | 10.0% | 100.0% | 10.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
net.smartlab.web.registry.AbstractRegistryTest net.smartlab.web.registry.AbstractTest net.smartlab.web.registry.Address net.smartlab.web.registry.DeduplicationCode net.smartlab.web.registry.DeduplicationStrategy net.smartlab.web.registry.Entry | net.smartlab.web.registry.AbstractTest$1 net.smartlab.web.registry.AddressFactory net.smartlab.web.registry.AddressTest net.smartlab.web.registry.Corporation net.smartlab.web.registry.CorporationFactory net.smartlab.web.registry.CorporationTest net.smartlab.web.registry.Country net.smartlab.web.registry.Country$1 net.smartlab.web.registry.Country$2 net.smartlab.web.registry.CountryTest net.smartlab.web.registry.Domain net.smartlab.web.registry.EmailAddress net.smartlab.web.registry.EmailAddressFactory net.smartlab.web.registry.Entity net.smartlab.web.registry.EntityFactory net.smartlab.web.registry.EntityFactoryTest net.smartlab.web.registry.EntityHelper net.smartlab.web.registry.EntityTest net.smartlab.web.registry.EntryAction net.smartlab.web.registry.EntryActionTest net.smartlab.web.registry.EntryFactory net.smartlab.web.registry.EntryHelper net.smartlab.web.registry.EntryTest net.smartlab.web.registry.Export net.smartlab.web.registry.GenericDeduplicationCode net.smartlab.web.registry.GenericDeduplicationStrategy net.smartlab.web.registry.List net.smartlab.web.registry.ListFactory net.smartlab.web.registry.ListFactoryTest net.smartlab.web.registry.ListHelper net.smartlab.web.registry.ListTest net.smartlab.web.registry.Locality net.smartlab.web.registry.MailAddress net.smartlab.web.registry.MailAddressFactory net.smartlab.web.registry.MessengerAddress net.smartlab.web.registry.MessengerAddress$Protocol net.smartlab.web.registry.MessengerAddressFactory net.smartlab.web.registry.MessengerAddressTest net.smartlab.web.registry.Name net.smartlab.web.registry.Person net.smartlab.web.registry.Person$Gender net.smartlab.web.registry.PersonFactory net.smartlab.web.registry.PersonFactoryTest net.smartlab.web.registry.PersonTest net.smartlab.web.registry.PhoneAddress net.smartlab.web.registry.PhoneAddress$Type net.smartlab.web.registry.PhoneAddressFactory net.smartlab.web.registry.PhoneAddressTest net.smartlab.web.registry.Relationship net.smartlab.web.registry.RelationshipTest net.smartlab.web.registry.WebAddress net.smartlab.web.registry.WebAddressFactory net.smartlab.web.registry.WebAddressTest | None | java.io java.lang java.net java.sql java.util javax.servlet.http junit.framework net.smartlab.web net.smartlab.web.page net.smartlab.web.test org.apache.commons.beanutils org.apache.commons.lang org.apache.commons.lang.builder org.apache.commons.logging org.apache.struts.action org.dbunit.database org.dbunit.dataset org.dbunit.dataset.filter org.dbunit.dataset.xml org.dbunit.operation org.hibernate org.hibernate.criterion |
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. |