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 Total

Classes
Abstract

Classes
Concrete

Classes
Afferent

Couplings
Efferent

Couplings
Abstractness Instability Distance
com.bonevich.erj 2 1 1 5 4 50% 44% 6%
com.bonevich.erj.app 9 2 7 5 16 22% 76% 2%
com.bonevich.erj.db 8 2 6 2 5 25% 71% 4%
com.bonevich.erj.diagram 13 0 13 3 9 0% 75% 25%
com.bonevich.erj.model 16 5 11 5 4 31% 44% 24%
com.bonevich.erj.mof.impl 2 0 2 2 6 0% 75% 25%
com.bonevich.erj.mof.impl.model 32 4 28 2 6 12% 75% 12%
com.bonevich.erj.mof.impl.primitivetypes 1 0 1 1 7 0% 88% 12%
com.bonevich.erj.mof.interfaces.model 35 33 2 4 0 94% 0% 6%
com.bonevich.erj.mof.interfaces.primitivetypes 1 1 0 1 0 100% 0% 0%
com.bonevich.erj.ui 73 3 70 4 15 4% 79% 17%
com.bonevich.erj.ui.editor 11 1 10 1 7 9% 88% 3%
com.bonevich.erj.xml 3 0 3 1 7 0% 88% 12%
com.bonevich.java.util 1 0 1 3 0 0% 0% 100%
com.bonevich.javax.swing 4 1 3 1 1 25% 50% 25%
com.bonevich.javax.swing.event 1 0 1 0 0 0% 0% 100%
com.bonevich.javax.swing.tree 1 0 1 1 0 0% 0% 100%
com.bonevich.util 7 2 5 6 1 29% 14% 57%
com.bonevich.util.dependency 7 4 3 6 0 57% 0% 43%
test.com.bonevich.util.dependency 3 0 3 0 2 0% 100% 0%
junit.framework No stats available: package referenced, but not analyzed.
org.apache.commons.digester No stats available: package referenced, but not analyzed.
org.apache.commons.logging No stats available: package referenced, but not analyzed.
org.tigris.gef.base No stats available: package referenced, but not analyzed.
org.tigris.gef.event No stats available: package referenced, but not analyzed.
org.tigris.gef.graph No stats available: package referenced, but not analyzed.
org.tigris.gef.graph.presentation No stats available: package referenced, but not analyzed.
org.tigris.gef.ocl No stats available: package referenced, but not analyzed.
org.tigris.gef.presentation No stats available: package referenced, but not analyzed.
org.tigris.gef.ui No stats available: package referenced, but not analyzed.
org.tigris.gef.util No stats available: package referenced, but not analyzed.
org.xml.sax No stats available: package referenced, but not analyzed.
org.xml.sax.helpers No stats available: package referenced, but not analyzed.
ru.novosoft.mdf.ext No stats available: package referenced, but not analyzed.
ru.novosoft.mdf.ext.xmi No stats available: package referenced, but not analyzed.
ru.novosoft.mdf.impl No stats available: package referenced, but not analyzed.

Packages

[summary ] [packages ] [cycles ] [explanations ]

com.bonevich.erj

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 4 50% 44% 6%
Abstract Classes Concrete Classes Used by Packages Uses Packages
ErjConstants

Main

com.bonevich.erj.app

com.bonevich.erj.diagram

com.bonevich.erj.model

com.bonevich.erj.ui

com.bonevich.erj.ui.editor

com.bonevich.erj.app

com.bonevich.erj.ui

com.bonevich.util

org.apache.commons.logging

com.bonevich.erj.mof.interfaces.primitivetypes

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 0 100% 0% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
PrimitiveTypesPackage

None com.bonevich.erj.mof.impl.primitivetypes

None

com.bonevich.erj.ui

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 15 4% 79% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
CmdProperties

Command

CommandFileChooser

CmdAlterCardinality

CmdCreateAttribute

CmdCreateDomain

CmdCreateKey

CmdCreateRelation

CmdDeleteAttribute

CmdDeleteDomain

CmdDeleteForeignKey

CmdDeleteRelation

CmdEditAttribute

CmdEditDomain

CmdEditForeignKey

CmdEditKey

CmdEditRelation

CmdEditSchema

CommandAbout

CommandAdjustGrid

CommandAdjustPageBreak

CommandAdjustSnap

CommandArrange

CommandContents

CommandCopy

CommandCut

CommandDelete

CommandDeleteDiagram

CommandExit

CommandGenerate

CommandGoto

CommandHistory

CommandManager

CommandNewDiagram

CommandNewProject

CommandOpen

CommandPageSetup

CommandPaste

CommandPrefs

CommandPrint

CommandProjectProps

CommandRedo

CommandRemove

CommandRenameDiagram

CommandReorderDiagrams

CommandSave

CommandSaveAs

CommandSelectAll

CommandSynchronize

CommandTargetDatabase

CommandUndo

CommandZoom

CommandZoomIn

CommandZoomOut

ERDiagramPane

ErjFileFilter

ErjFrame

ErjPalette

ErjToolBar

ErjTree

ErjTreeCellEditor

ErjTreeCellRenderer

ErjTreeModel

ErjTreeNode

GenerateDDLDialog

ModeCreateAttribute

ModeCreateForeignKey

ModeCreateRelation

ProjectPropertiesDialog

SaveProjectConfirm

Splash

TargetDatabaseDialog

TransferableModelElement

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.diagram

com.bonevich.erj.ui.editor

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.db

com.bonevich.erj.diagram

com.bonevich.erj.model

com.bonevich.erj.ui.editor

com.bonevich.util

com.bonevich.util.dependency

org.apache.commons.logging

org.tigris.gef.base

org.tigris.gef.event

org.tigris.gef.graph

org.tigris.gef.presentation

org.tigris.gef.ui

org.tigris.gef.util

com.bonevich.erj.xml

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 0% 88% 12%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None DatabaseSupportDigester

ProjectPropertiesDigester

SVGReader

com.bonevich.erj.app

com.bonevich.erj.app

com.bonevich.util

org.apache.commons.digester

org.tigris.gef.base

org.tigris.gef.presentation

org.xml.sax

org.xml.sax.helpers

com.bonevich.java.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 0 0% 0% 100%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None ImmutableIterator

com.bonevich.erj.app

com.bonevich.erj.db

com.bonevich.erj.model

None

com.bonevich.javax.swing

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 1 25% 50% 25%
Abstract Classes Concrete Classes Used by Packages Uses Packages
AbstractComboBoxEditor

DisplayableJLabel

JComponentIcon

JComponentTree

com.bonevich.erj.ui.editor

com.bonevich.javax.swing.tree

com.bonevich.javax.swing.event

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 0 0% 0% 100%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None MenuAdapter

None None

com.bonevich.javax.swing.tree

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 0 0% 0% 100%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None JComponentTreeModel

com.bonevich.javax.swing

None

com.bonevich.util.dependency

Afferent Couplings Efferent Couplings Abstractness Instability Distance
6 0 57% 0% 43%
Abstract Classes Concrete Classes Used by Packages Uses Packages
DependentProxy

Sentry

SentryProxy

UpdateAction

Dependent

Dynamic

VisualDependent

com.bonevich.erj.app

com.bonevich.erj.diagram

com.bonevich.erj.model

com.bonevich.erj.ui

com.bonevich.erj.ui.editor

test.com.bonevich.util.dependency

None

test.com.bonevich.util.dependency

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None DependentTest

IMClass1

IMClass2

None com.bonevich.util.dependency

junit.framework

Cycles

[summary ] [packages ] [cycles ] [explanations ]

Package Cyclic Dependencies
com.bonevich.erj com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.db com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj.diagram com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj.model com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj.mof.impl com.bonevich.erj.mof.impl.model

com.bonevich.erj.mof.impl

com.bonevich.erj.mof.impl.model com.bonevich.erj.mof.impl

com.bonevich.erj.mof.impl.model

com.bonevich.erj.mof.impl.primitivetypes com.bonevich.erj.mof.impl.model

com.bonevich.erj.mof.impl

com.bonevich.erj.mof.impl.model

com.bonevich.erj.ui com.bonevich.erj.diagram

com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj.ui.editor com.bonevich.erj.diagram

com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj.xml com.bonevich.erj.app

com.bonevich.erj.model

com.bonevich.erj

com.bonevich.erj.app

Explanations

[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.