Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
org.apache.commons.scaffold.http | 5 | 5 | 0 | 0 | 8 | 0.0% | 100.0% | 0.0% | 1 |
org.apache.commons.scaffold.lang | 8 | 8 | 0 | 3 | 2 | 0.0% | 40.0% | 60.000004% | 1 |
org.apache.commons.scaffold.lucene | 2 | 2 | 0 | 1 | 10 | 0.0% | 91.0% | 9.0% | 1 |
org.apache.commons.scaffold.sql | 10 | 10 | 0 | 1 | 16 | 0.0% | 94.0% | 6.0% | 1 |
org.apache.commons.scaffold.text | 2 | 2 | 0 | 2 | 4 | 0.0% | 67.0% | 33.0% | 1 |
org.apache.commons.scaffold.util | 28 | 12 | 16 | 1 | 7 | 57.0% | 88.0% | 45.0% | 1 |
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.scaffold.http.ConnectionServlet org.apache.commons.scaffold.http.HttpClient org.apache.commons.scaffold.http.ResourceServlet org.apache.commons.scaffold.http.SetUp org.apache.commons.scaffold.http.SocketUtil |
None | java.io java.lang java.net java.util javax.servlet javax.servlet.http org.apache.commons.logging org.apache.commons.scaffold.sql |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 2 | 0.0% | 40.0% | 60.000004% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.scaffold.lang.BaseException org.apache.commons.scaffold.lang.ChainedException org.apache.commons.scaffold.lang.ParameterException org.apache.commons.scaffold.lang.PopulateException org.apache.commons.scaffold.lang.PropertiesException org.apache.commons.scaffold.lang.ResourceException org.apache.commons.scaffold.lang.TestData org.apache.commons.scaffold.lang.Tokens |
org.apache.commons.scaffold.lucene org.apache.commons.scaffold.sql org.apache.commons.scaffold.util |
java.io java.lang |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 10 | 0.0% | 91.0% | 9.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.scaffold.lucene.Engine org.apache.commons.scaffold.lucene.SearchUtils |
org.apache.commons.scaffold.sql |
java.io java.lang java.util org.apache.commons.beanutils org.apache.commons.scaffold.lang org.apache.lucene.analysis org.apache.lucene.document org.apache.lucene.index org.apache.lucene.queryParser org.apache.lucene.search |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 16 | 0.0% | 94.0% | 6.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.scaffold.sql.AccessBase org.apache.commons.scaffold.sql.CommandStore org.apache.commons.scaffold.sql.ConnectionAdaptor org.apache.commons.scaffold.sql.MockAdaptor org.apache.commons.scaffold.sql.PoolmanAdaptor org.apache.commons.scaffold.sql.ResultSetUtils org.apache.commons.scaffold.sql.ScrollerBeanBase org.apache.commons.scaffold.sql.ServletAdaptor org.apache.commons.scaffold.sql.StatementUtils org.apache.commons.scaffold.sql.StorageBeanBase |
org.apache.commons.scaffold.http |
com.codestudio.sql com.mockobjects.sql java.beans java.lang java.lang.reflect java.sql java.util javax.naming javax.servlet javax.servlet.http javax.sql org.apache.commons.beanutils org.apache.commons.scaffold.lang org.apache.commons.scaffold.lucene org.apache.commons.scaffold.text org.apache.commons.scaffold.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 4 | 0.0% | 67.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.scaffold.text.ConvertUtils org.apache.commons.scaffold.text.Merge |
org.apache.commons.scaffold.sql org.apache.commons.scaffold.util |
java.lang java.sql java.text java.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 7 | 57.0% | 88.0% | 45.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.scaffold.util.BizRequest org.apache.commons.scaffold.util.BizRequestImpl org.apache.commons.scaffold.util.BizResponse org.apache.commons.scaffold.util.BizService org.apache.commons.scaffold.util.Executable org.apache.commons.scaffold.util.Localized org.apache.commons.scaffold.util.Mapped org.apache.commons.scaffold.util.Message org.apache.commons.scaffold.util.Messages org.apache.commons.scaffold.util.ProcessBean org.apache.commons.scaffold.util.ProcessBeanBase org.apache.commons.scaffold.util.ProcessResult org.apache.commons.scaffold.util.ResultList org.apache.commons.scaffold.util.ScrollerBean org.apache.commons.scaffold.util.Storable org.apache.commons.scaffold.util.StorageBean |
org.apache.commons.scaffold.util.BizResponseImpl org.apache.commons.scaffold.util.BizServiceImpl org.apache.commons.scaffold.util.FunctionBean org.apache.commons.scaffold.util.LabelValueBean org.apache.commons.scaffold.util.MessageImpl org.apache.commons.scaffold.util.MessagesImpl org.apache.commons.scaffold.util.MessagesImpl$1 org.apache.commons.scaffold.util.MessagesImpl$MessageItem org.apache.commons.scaffold.util.ProcessResultBase org.apache.commons.scaffold.util.ResourceUtils org.apache.commons.scaffold.util.ResultListBase org.apache.commons.scaffold.util.Scroller |
org.apache.commons.scaffold.sql |
java.io java.lang java.util javax.servlet org.apache.commons.beanutils org.apache.commons.scaffold.lang org.apache.commons.scaffold.text |
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. |