| Package | TC | CC | AC | Ca | Ce | A | I | D | V |
|---|---|---|---|---|---|---|---|---|---|
| net.sf.mareco.search.bo | 2 | 2 | 0 | 3 | 3 | 0.0% | 50.0% | 50.0% | 1 |
| net.sf.mareco.search.controllers | 1 | 1 | 0 | 0 | 5 | 0.0% | 100.0% | 0.0% | 1 |
| net.sf.mareco.search.facades | 1 | 0 | 1 | 0 | 2 | 100.0% | 100.0% | 100.0% | 1 |
| net.sf.mareco.search.gui | 11 | 11 | 0 | 0 | 15 | 0.0% | 100.0% | 0.0% | 1 |
| net.sf.mareco.search.services | 1 | 0 | 1 | 3 | 2 | 100.0% | 40.0% | 40.0% | 1 |
| net.sf.mareco.search.services.impl | 1 | 1 | 0 | 0 | 16 | 0.0% | 100.0% | 0.0% | 1 |
| net.sf.mareco.search.services.impl.parsers | 7 | 5 | 2 | 1 | 8 | 29.0% | 89.0% | 17.0% | 1 |
| net.sf.mareco.search.services.impl.xml | 3 | 3 | 0 | 1 | 2 | 0.0% | 67.0% | 33.0% | 1 |
| net.sf.mareco.search.spring | 1 | 1 | 0 | 0 | 7 | 0.0% | 100.0% | 0.0% | 1 |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 3 | 3 | 0.0% | 50.0% | 50.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | net.sf.mareco.search.bo.Artifact net.sf.mareco.search.bo.SearchResult |
net.sf.mareco.search.gui net.sf.mareco.search.services net.sf.mareco.search.services.impl |
java.io java.lang java.util |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 5 | 0.0% | 100.0% | 0.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | net.sf.mareco.search.controllers.SearchController |
None | java.io java.lang javax.servlet.http org.springframework.web.servlet org.springframework.web.servlet.mvc |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 2 | 100.0% | 100.0% | 100.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| net.sf.mareco.search.facades.SearchFacade |
None | None | java.lang java.util |
| 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.mareco.search.gui.AdvancedSearchPanel net.sf.mareco.search.gui.AdvancedSearchPanel$1 net.sf.mareco.search.gui.AdvancedSearchPanel$Packaging net.sf.mareco.search.gui.DetailsPopupPage net.sf.mareco.search.gui.DetailsPopupPage$1 net.sf.mareco.search.gui.DetailsPopupPage$SimpleRepeater net.sf.mareco.search.gui.ResultHeaderPanel net.sf.mareco.search.gui.SearchPanel net.sf.mareco.search.gui.SearchResultPanel net.sf.mareco.search.gui.SearchResultPanel$1 net.sf.mareco.search.gui.SearchResultPanel$SearchLink |
None | java.lang java.text java.util net.sf.mareco.config.services net.sf.mareco.search.bo net.sf.mareco.search.services org.apache.log4j org.apache.wicket org.apache.wicket.markup.html org.apache.wicket.markup.html.basic org.apache.wicket.markup.html.form org.apache.wicket.markup.html.link org.apache.wicket.markup.html.panel org.apache.wicket.markup.repeater org.apache.wicket.model |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 3 | 2 | 100.0% | 40.0% | 40.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| net.sf.mareco.search.services.SearchService |
None | net.sf.mareco.search.gui net.sf.mareco.search.services.impl net.sf.mareco.search.spring |
java.lang net.sf.mareco.search.bo |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 16 | 0.0% | 100.0% | 0.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | net.sf.mareco.search.services.impl.SearchServiceImpl |
None | java.io java.lang java.text java.util net.sf.mareco.config.services net.sf.mareco.search.bo net.sf.mareco.search.services net.sf.mareco.search.services.impl.parsers net.sf.mareco.stats.services org.apache.log4j org.apache.lucene.analysis org.apache.lucene.analysis.standard org.apache.lucene.document org.apache.lucene.index org.apache.lucene.queryParser org.apache.lucene.search |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 1 | 8 | 29.0% | 89.0% | 17.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| net.sf.mareco.search.services.impl.parsers.AbstractParser net.sf.mareco.search.services.impl.parsers.ParsingHandler |
net.sf.mareco.search.services.impl.parsers.ArtifactComponentParser net.sf.mareco.search.services.impl.parsers.ArtifactParser net.sf.mareco.search.services.impl.parsers.IgnoringParser net.sf.mareco.search.services.impl.parsers.JarParser net.sf.mareco.search.services.impl.parsers.PomParser |
net.sf.mareco.search.services.impl |
java.io java.lang java.util java.util.jar net.sf.mareco.search.services.impl.xml org.apache.commons.digester org.apache.log4j org.apache.lucene.document |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 1 | 2 | 0.0% | 67.0% | 33.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | net.sf.mareco.search.services.impl.xml.Pom net.sf.mareco.search.services.impl.xml.PomDigesterRules net.sf.mareco.search.services.impl.xml.PomDigesterRules$1 |
net.sf.mareco.search.services.impl.parsers |
java.lang org.apache.commons.digester |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 7 | 0.0% | 100.0% | 0.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | net.sf.mareco.search.spring.IndexConfigurator |
None | java.io java.lang net.sf.mareco.config.services net.sf.mareco.search.services net.sf.mareco.utils.spring org.apache.log4j org.springframework.context |
| 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. |