Metric Results
[ summary ] [ packages ] [ cycles ] [ explanations ]The following document contains the results of a JDepend metric analysis. The various metrics are defined at the bottom of this document.
Summary
[ summary ] [ packages ] [ cycles ] [ explanations ]Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
com.gridsystems.config | 6 | 0 | 6 | 6 | 5 | 100.0% | 45.0% | 45.0% | 1 |
com.gridsystems.config.app | 16 | 15 | 1 | 5 | 18 | 6.0% | 78.0% | 15.000001% | 1 |
com.gridsystems.config.modules.jvm | 5 | 5 | 0 | 2 | 11 | 0.0% | 85.0% | 15.000001% | 1 |
com.gridsystems.config.modules.tomcat | 24 | 24 | 0 | 0 | 22 | 0.0% | 100.0% | 0.0% | 1 |
com.gridsystems.config.tools | 9 | 8 | 1 | 4 | 10 | 11.0% | 71.0% | 17.0% | 1 |
com.gridsystems.config.tools.console | 14 | 11 | 3 | 3 | 7 | 21.0% | 70.0% | 9.0% | 1 |
com.gridsystems.config.tools.swing | 7 | 6 | 1 | 3 | 15 | 14.0% | 83.0% | 2.0% | 1 |
Packages
[ summary ] [ packages ] [ cycles ] [ explanations ]com.gridsystems.config
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 5 | 100.0% | 45.0% | 45.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
com.gridsystems.config.Configurator com.gridsystems.config.ConfiguratorModel com.gridsystems.config.ConfiguratorView com.gridsystems.config.ConsoleConfiguratorView com.gridsystems.config.ErrorListener com.gridsystems.config.SwingConfiguratorView |
None | com.gridsystems.config.app com.gridsystems.config.modules.jvm com.gridsystems.config.modules.tomcat com.gridsystems.config.tools com.gridsystems.config.tools.console com.gridsystems.config.tools.swing |
java.io java.lang java.util javax.swing javax.swing.event |
com.gridsystems.config.app
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
5 | 18 | 6.0% | 78.0% | 15.000001% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
com.gridsystems.config.app.UI |
com.gridsystems.config.app.ConfigFrame com.gridsystems.config.app.ConfigFrame$1 com.gridsystems.config.app.ConfigNode com.gridsystems.config.app.ConfigNodeCellRenderer com.gridsystems.config.app.ConfigNodeModel com.gridsystems.config.app.ConfigPanel com.gridsystems.config.app.ConfigPanel$ApplyAction com.gridsystems.config.app.ConfigPanel$DiscardAction com.gridsystems.config.app.ConfigTree com.gridsystems.config.app.ConsoleUI com.gridsystems.config.app.NullUI com.gridsystems.config.app.PatternFormatter com.gridsystems.config.app.ReflectionTools com.gridsystems.config.app.SwingUI com.gridsystems.config.app.SwingUI$1 |
com.gridsystems.config.modules.jvm com.gridsystems.config.modules.tomcat com.gridsystems.config.tools com.gridsystems.config.tools.console com.gridsystems.config.tools.swing |
com.gridsystems.config com.gridsystems.config.modules.jvm com.gridsystems.config.tools.console com.gridsystems.config.tools.swing com.gridsystems.utils java.awt java.awt.event java.io java.lang java.lang.reflect java.net java.text java.util java.util.logging javax.swing javax.swing.event javax.swing.tree org.apache.commons.logging |
com.gridsystems.config.modules.jvm
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 11 | 0.0% | 85.0% | 15.000001% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | com.gridsystems.config.modules.jvm.JVMConfigModel com.gridsystems.config.modules.jvm.JVMConfigurator com.gridsystems.config.modules.jvm.JVMConsoleView com.gridsystems.config.modules.jvm.JVMSwingView com.gridsystems.config.modules.jvm.MemSizeVerifier |
com.gridsystems.config.app com.gridsystems.config.modules.tomcat |
com.gridsystems.config com.gridsystems.config.app com.gridsystems.config.tools com.gridsystems.config.tools.console com.gridsystems.config.tools.swing java.awt java.io java.lang java.text java.util javax.swing |
com.gridsystems.config.modules.tomcat
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 22 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | com.gridsystems.config.modules.tomcat.Connector com.gridsystems.config.modules.tomcat.ConnectorEditor com.gridsystems.config.modules.tomcat.ConnectorEditor$1 com.gridsystems.config.modules.tomcat.ConnectorEditor$2 com.gridsystems.config.modules.tomcat.ConnectorEditor$ConnectorCellRenderer com.gridsystems.config.modules.tomcat.ConnectorEditor$ConnectorCellRenderer$1 com.gridsystems.config.modules.tomcat.ConnectorEditor$ConnectorFocusListener com.gridsystems.config.modules.tomcat.ConnectorEditor$ConnectorModel com.gridsystems.config.modules.tomcat.ConnectorEditor$ConnectorSelectionListener com.gridsystems.config.modules.tomcat.ConnectorEditor$NameCellEditor com.gridsystems.config.modules.tomcat.ConnectorEditor$PortCellEditor com.gridsystems.config.modules.tomcat.ConnectorEditor$SchemeCellEditor com.gridsystems.config.modules.tomcat.ConnectorField com.gridsystems.config.modules.tomcat.ConnectorGroupField com.gridsystems.config.modules.tomcat.IncompatiblePortException com.gridsystems.config.modules.tomcat.KeystoreUtils com.gridsystems.config.modules.tomcat.PortInUseException com.gridsystems.config.modules.tomcat.TomcatConfigModel com.gridsystems.config.modules.tomcat.TomcatConfigurator com.gridsystems.config.modules.tomcat.TomcatConsoleView com.gridsystems.config.modules.tomcat.TomcatSwingView com.gridsystems.config.modules.tomcat.TomcatSwingView$1 com.gridsystems.config.modules.tomcat.TomcatSwingView$ConnectorChangeCallback com.gridsystems.config.modules.tomcat.WindowsFirewallManager |
None | com.gridsystems.config com.gridsystems.config.app com.gridsystems.config.modules.jvm com.gridsystems.config.tools com.gridsystems.config.tools.console com.gridsystems.config.tools.swing com.gridsystems.utils com.gridsystems.utils.windows java.awt java.awt.event java.io java.lang java.lang.reflect java.net java.security java.text java.util javax.swing javax.swing.border javax.swing.event javax.swing.table org.apache.commons.logging |
com.gridsystems.config.tools
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 10 | 11.0% | 71.0% | 17.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
com.gridsystems.config.tools.TextVerifier |
com.gridsystems.config.tools.ErrorSupport com.gridsystems.config.tools.FileVerifier com.gridsystems.config.tools.IpVerifier com.gridsystems.config.tools.NumberVerifier com.gridsystems.config.tools.PasswordVerifier com.gridsystems.config.tools.PatternVerifier com.gridsystems.config.tools.PortVerifier com.gridsystems.config.tools.Template |
com.gridsystems.config.modules.jvm com.gridsystems.config.modules.tomcat com.gridsystems.config.tools.console com.gridsystems.config.tools.swing |
com.gridsystems.config com.gridsystems.config.app java.io java.lang java.lang.reflect java.net java.text java.util java.util.regex javax.swing |
com.gridsystems.config.tools.console
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 7 | 21.0% | 70.0% | 9.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
com.gridsystems.config.tools.console.AbstractConsoleView com.gridsystems.config.tools.console.ConsoleViewAction com.gridsystems.config.tools.console.Field |
com.gridsystems.config.tools.console.ApplyAction com.gridsystems.config.tools.console.BoolField com.gridsystems.config.tools.console.ConsoleTools com.gridsystems.config.tools.console.ConsoleTools$PasswordMasker com.gridsystems.config.tools.console.ConstantField com.gridsystems.config.tools.console.DiscardAction com.gridsystems.config.tools.console.GroupField com.gridsystems.config.tools.console.MessageField com.gridsystems.config.tools.console.PasswordField com.gridsystems.config.tools.console.SelectionField com.gridsystems.config.tools.console.ValueField |
com.gridsystems.config.app com.gridsystems.config.modules.jvm com.gridsystems.config.modules.tomcat |
com.gridsystems.config com.gridsystems.config.app com.gridsystems.config.tools java.io java.lang java.text java.util |
com.gridsystems.config.tools.swing
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 15 | 14.0% | 83.0% | 2.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
com.gridsystems.config.tools.swing.PopupTextField |
com.gridsystems.config.tools.swing.BasePanel com.gridsystems.config.tools.swing.FileChooserField com.gridsystems.config.tools.swing.PasswordField com.gridsystems.config.tools.swing.PopupTextField$1 com.gridsystems.config.tools.swing.ReflectedAction com.gridsystems.config.tools.swing.SwingTools |
com.gridsystems.config.app com.gridsystems.config.modules.jvm com.gridsystems.config.modules.tomcat |
com.gridsystems.config com.gridsystems.config.app com.gridsystems.config.tools java.awt java.awt.event java.beans java.io java.lang java.lang.reflect java.text java.util javax.swing javax.swing.border javax.swing.event javax.swing.filechooser |
Cycles
[ summary ] [ packages ] [ cycles ] [ explanations ]Package | Package Dependencies |
---|---|
com.gridsystems.config.app | com.gridsystems.config.tools.swing com.gridsystems.config.tools com.gridsystems.config.app |
com.gridsystems.config.modules.jvm | com.gridsystems.config.tools.console com.gridsystems.config.app com.gridsystems.config.tools.swing com.gridsystems.config.tools com.gridsystems.config.app |
com.gridsystems.config.modules.tomcat | com.gridsystems.config.tools.console com.gridsystems.config.app com.gridsystems.config.tools.swing com.gridsystems.config.tools com.gridsystems.config.app |
com.gridsystems.config.tools | com.gridsystems.config.app com.gridsystems.config.tools.swing com.gridsystems.config.tools |
com.gridsystems.config.tools.console | com.gridsystems.config.app com.gridsystems.config.tools.swing com.gridsystems.config.tools com.gridsystems.config.app |
com.gridsystems.config.tools.swing | com.gridsystems.config.tools com.gridsystems.config.app com.gridsystems.config.tools.swing |
Explanation
[ summary ] [ packages ] [ cycles ] [ explanations ]The following explanations are for quick reference and are lifted directly from the original JDepend documentation.
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. |