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
info.magnolia.ui.mediaeditor 9 5 4 2 29 44.0% 94.0% 38.0% 1
info.magnolia.ui.mediaeditor.action 18 15 3 2 30 17.0% 94.0% 10.0% 1
info.magnolia.ui.mediaeditor.action.availability 4 3 1 1 8 25.0% 89.0% 14.0% 1
info.magnolia.ui.mediaeditor.action.definition 11 10 1 2 5 9.0% 71.0% 19.0% 1
info.magnolia.ui.mediaeditor.action.feature 3 2 1 3 6 33.0% 67.0% 0.0% 1
info.magnolia.ui.mediaeditor.data 6 4 2 1 9 33.0% 90.0% 23.0% 1
info.magnolia.ui.mediaeditor.definition 2 1 1 3 3 50.0% 50.0% 0.0% 1
info.magnolia.ui.mediaeditor.event 8 6 2 2 3 25.0% 60.000004% 15.000001% 1
info.magnolia.ui.mediaeditor.field 1 0 1 3 2 100.0% 40.0% 40.0% 1
info.magnolia.ui.mediaeditor.field.image 8 6 2 1 17 25.0% 94.0% 19.0% 1
info.magnolia.ui.mediaeditor.provider 1 1 0 2 1 0.0% 33.0% 67.0% 1
info.magnolia.ui.mediaeditor.registry 4 4 0 1 7 0.0% 88.0% 12.0% 1
info.magnolia.ui.mediaeditor.setup 2 2 0 0 5 0.0% 100.0% 0.0% 1

Packages

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

info.magnolia.ui.mediaeditor

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 29 44.0% 94.0% 38.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.MediaEditorEventBus
info.magnolia.ui.mediaeditor.MediaEditorPresenter
info.magnolia.ui.mediaeditor.MediaEditorPresenterFactory
info.magnolia.ui.mediaeditor.MediaEditorView
info.magnolia.ui.mediaeditor.MediaEditorModule
info.magnolia.ui.mediaeditor.MediaEditorModule$1
info.magnolia.ui.mediaeditor.MediaEditorModule$IsMediaEditor
info.magnolia.ui.mediaeditor.MediaEditorPresenterFactoryImpl
info.magnolia.ui.mediaeditor.MediaEditorPresenterFactoryImpl$1
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.feature
com.google.inject
com.google.inject.name
com.vaadin.ui
info.magnolia.config.source
info.magnolia.config.source.jcr
info.magnolia.config.source.yaml
info.magnolia.event
info.magnolia.i18nsystem
info.magnolia.jcr.predicate
info.magnolia.jcr.wrapper
info.magnolia.module
info.magnolia.objectfactory
info.magnolia.registry
info.magnolia.ui.actionbar
info.magnolia.ui.api.action
info.magnolia.ui.api.app
info.magnolia.ui.api.view
info.magnolia.ui.dialog
info.magnolia.ui.dialog.definition
info.magnolia.ui.framework.ioc
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.availability
info.magnolia.ui.mediaeditor.definition
info.magnolia.ui.mediaeditor.event
info.magnolia.ui.mediaeditor.field
info.magnolia.ui.mediaeditor.registry
java.io
java.lang
javax.jcr

info.magnolia.ui.mediaeditor.action

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 30 17.0% 94.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.action.InstantMediaEditorAction
info.magnolia.ui.mediaeditor.action.MediaEditorAction
info.magnolia.ui.mediaeditor.action.MediaEditorUIAction
info.magnolia.ui.mediaeditor.action.ActionContext
info.magnolia.ui.mediaeditor.action.ConvertImageToGrayScaleAction
info.magnolia.ui.mediaeditor.action.CropImageAction
info.magnolia.ui.mediaeditor.action.CropImageAction$1
info.magnolia.ui.mediaeditor.action.CropImageAction$2
info.magnolia.ui.mediaeditor.action.FlipImageAction
info.magnolia.ui.mediaeditor.action.InternalMediaEditorActionDefinition
info.magnolia.ui.mediaeditor.action.MediaEditorActionExecutor
info.magnolia.ui.mediaeditor.action.RedoAction
info.magnolia.ui.mediaeditor.action.RotateImageAction
info.magnolia.ui.mediaeditor.action.UndoAction
info.magnolia.ui.mediaeditor.action.ViewImageAction
info.magnolia.ui.mediaeditor.action.ViewImageAction$1
info.magnolia.ui.mediaeditor.action.ViewImageAction$2
info.magnolia.ui.mediaeditor.action.ViewImageAction$ImageSizeLabel
info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action.definition
com.jhlabs.image
com.vaadin.ui
info.magnolia.event
info.magnolia.i18nsystem
info.magnolia.objectfactory
info.magnolia.ui.actionbar
info.magnolia.ui.api.action
info.magnolia.ui.api.view
info.magnolia.ui.dialog
info.magnolia.ui.dialog.actionarea
info.magnolia.ui.dialog.actionarea.renderer
info.magnolia.ui.dialog.actionarea.view
info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.action.feature
info.magnolia.ui.mediaeditor.data
info.magnolia.ui.mediaeditor.definition
info.magnolia.ui.mediaeditor.event
info.magnolia.ui.mediaeditor.field
info.magnolia.ui.mediaeditor.field.image
info.magnolia.ui.mediaeditor.provider
info.magnolia.ui.vaadin.gwt.client.actionbar.shared
java.awt.image
java.io
java.lang
java.util
javax.imageio
org.apache.commons.io
org.apache.commons.lang3
org.apache.log4j

info.magnolia.ui.mediaeditor.action.availability

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 25.0% 89.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.action.availability.AbstractMediaEditorAvailabilityRule
info.magnolia.ui.mediaeditor.action.availability.IsNotUserAgentRule
info.magnolia.ui.mediaeditor.action.availability.IsNotUserAgentRuleDefinition
info.magnolia.ui.mediaeditor.action.availability.MediaEditorAvailabilityChecker
info.magnolia.ui.mediaeditor
info.magnolia.context
info.magnolia.objectfactory
info.magnolia.ui.api.availability
java.lang
java.util
javax.servlet.http
org.apache.commons.lang3
org.slf4j

info.magnolia.ui.mediaeditor.action.definition

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 9.0% 71.0% 19.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.action.definition.MediaEditorFeatureDefinition
info.magnolia.ui.mediaeditor.action.definition.ConfiguredMediaEditorFeatureDefinition
info.magnolia.ui.mediaeditor.action.definition.CropImageActionDefinition
info.magnolia.ui.mediaeditor.action.definition.FlipImageActionDefinition
info.magnolia.ui.mediaeditor.action.definition.GrayScaleActionDefinition
info.magnolia.ui.mediaeditor.action.definition.RedoActionDefinition
info.magnolia.ui.mediaeditor.action.definition.RotateImageActionDefinition
info.magnolia.ui.mediaeditor.action.definition.ScaleToActualSizeActionDefinition
info.magnolia.ui.mediaeditor.action.definition.ScaleToFitActionDefinition
info.magnolia.ui.mediaeditor.action.definition.UndoActionDefinition
info.magnolia.ui.mediaeditor.action.definition.ViewImageActionDefinition
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.feature
info.magnolia.ui.api.action
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.feature
info.magnolia.ui.mediaeditor.provider
java.lang

info.magnolia.ui.mediaeditor.action.feature

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 6 33.0% 67.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.action.feature.Scalable
info.magnolia.ui.mediaeditor.action.feature.ScaleToActualSizeAction
info.magnolia.ui.mediaeditor.action.feature.ScaleToFitAction
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.field.image
info.magnolia.ui.api.action
info.magnolia.ui.api.view
info.magnolia.ui.dialog
info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action.definition
java.lang

info.magnolia.ui.mediaeditor.data

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 33.0% 90.0% 23.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.data.EditHistoryTrackingProperty
info.magnolia.ui.mediaeditor.data.EditHistoryTrackingProperty$Listener
info.magnolia.ui.mediaeditor.data.EditHistoryTrackingPropertyImpl
info.magnolia.ui.mediaeditor.data.EditHistoryTrackingPropertyImpl$1
info.magnolia.ui.mediaeditor.data.EditHistoryTrackingPropertyImpl$Record
info.magnolia.ui.mediaeditor.data.EditHistoryTrackingPropertyImpl$TempFileStack
info.magnolia.ui.mediaeditor.action
com.vaadin.data
com.vaadin.data.util
info.magnolia.i18nsystem
info.magnolia.ui.api.action
java.io
java.lang
java.util
org.apache.commons.io
org.apache.log4j

info.magnolia.ui.mediaeditor.definition

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 3 50.0% 50.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.definition.MediaEditorDefinition
info.magnolia.ui.mediaeditor.definition.ConfiguredMediaEditorDefinition
info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.registry
info.magnolia.ui.actionbar.definition
java.lang
java.util

info.magnolia.ui.mediaeditor.event

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 25.0% 60.000004% 15.000001%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.event.MediaEditorCompletedEvent$Handler
info.magnolia.ui.mediaeditor.event.MediaEditorInternalEvent$Handler
info.magnolia.ui.mediaeditor.event.MediaEditorCompletedEvent
info.magnolia.ui.mediaeditor.event.MediaEditorCompletedEvent$1
info.magnolia.ui.mediaeditor.event.MediaEditorCompletedEvent$CompletionType
info.magnolia.ui.mediaeditor.event.MediaEditorInternalEvent
info.magnolia.ui.mediaeditor.event.MediaEditorInternalEvent$1
info.magnolia.ui.mediaeditor.event.MediaEditorInternalEvent$EventType
info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action
info.magnolia.event
java.io
java.lang

info.magnolia.ui.mediaeditor.field

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 2 100.0% 40.0% 40.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.field.MediaField
None info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.field.image
com.vaadin.ui
java.lang

info.magnolia.ui.mediaeditor.field.image

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 17 25.0% 94.0% 19.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.ui.mediaeditor.field.image.ImageMediaField
info.magnolia.ui.mediaeditor.field.image.ViewImageField$ImageSizeChangeListener
info.magnolia.ui.mediaeditor.field.image.CropField
info.magnolia.ui.mediaeditor.field.image.CropField$1
info.magnolia.ui.mediaeditor.field.image.ImageMediaField$1
info.magnolia.ui.mediaeditor.field.image.ImageMediaField$2
info.magnolia.ui.mediaeditor.field.image.ViewImageField
info.magnolia.ui.mediaeditor.field.image.ViewImageField$ImageResizeEvent
info.magnolia.ui.mediaeditor.action
com.jhlabs.image
com.vaadin.data
com.vaadin.server
com.vaadin.ui
com.vaadin.util
info.magnolia.ui.mediaeditor.action.feature
info.magnolia.ui.mediaeditor.field
info.magnolia.ui.vaadin.editor
info.magnolia.ui.vaadin.gwt.shared.jcrop
java.awt.image
java.io
java.lang
java.lang.reflect
java.util
javax.imageio
org.apache.commons.io
org.apache.log4j

info.magnolia.ui.mediaeditor.provider

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 1 0.0% 33.0% 67.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.ui.mediaeditor.provider.MediaEditorActionDefinition
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.api.action

info.magnolia.ui.mediaeditor.registry

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 0.0% 88.0% 12.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.ui.mediaeditor.registry.ConfiguredMediaEditorDefinitionManager
info.magnolia.ui.mediaeditor.registry.MediaEditorRegistry
info.magnolia.ui.mediaeditor.registry.MediaEditorRegistry$1
info.magnolia.ui.mediaeditor.registry.MediaEditorRegistry$2
info.magnolia.ui.mediaeditor
info.magnolia.config.registry
info.magnolia.module
info.magnolia.objectfactory
info.magnolia.registry
info.magnolia.ui.mediaeditor.definition
java.lang
org.slf4j

info.magnolia.ui.mediaeditor.setup

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 info.magnolia.ui.mediaeditor.setup.MediaEditorModuleVersionHandler
info.magnolia.ui.mediaeditor.setup.RemoveHardcodedI18nPropertiesFromMediaEditorTask
None info.magnolia.i18nsystem.setup
info.magnolia.module
info.magnolia.module.delta
java.lang
java.util

Cycles

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

Package Package Dependencies
info.magnolia.ui.mediaeditor info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.action.feature info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.field.image info.magnolia.ui.mediaeditor.action.feature
info.magnolia.ui.mediaeditor
info.magnolia.ui.mediaeditor.action
info.magnolia.ui.mediaeditor.action.definition
info.magnolia.ui.mediaeditor.action

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.