Apache Commons logo Commons SCXML

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
org.apache.commons.scxml2 23 14 9 11 16 39.0% 58.999996% 2.0% 1
org.apache.commons.scxml2.env 14 12 2 9 12 14.0% 57.0% 29.0% 1
org.apache.commons.scxml2.env.groovy 17 13 4 1 12 24.0% 92.0% 16.0% 1
org.apache.commons.scxml2.env.javascript 5 5 0 1 8 0.0% 89.0% 11.0% 1
org.apache.commons.scxml2.env.jexl 4 4 0 3 7 0.0% 70.0% 30.000002% 1
org.apache.commons.scxml2.env.minimal 3 3 0 1 6 0.0% 86.0% 14.0% 1
org.apache.commons.scxml2.env.xpath 7 7 0 1 10 0.0% 91.0% 9.0% 1
org.apache.commons.scxml2.invoke 4 3 1 4 9 25.0% 69.0% 6.0% 1
org.apache.commons.scxml2.io 5 5 0 3 19 0.0% 86.0% 14.0% 1
org.apache.commons.scxml2.model 50 34 16 11 10 32.0% 48.0% 20.0% 1
org.apache.commons.scxml2.semantics 3 3 0 1 7 0.0% 88.0% 12.0% 1
org.apache.commons.scxml2.system 1 1 0 1 2 0.0% 67.0% 33.0% 1
org.apache.commons.scxml2.test 2 2 0 0 11 0.0% 100.0% 0.0% 1

Packages

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

org.apache.commons.scxml2

Afferent Couplings Efferent Couplings Abstractness Instability Distance
11 16 39.0% 58.999996% 2.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.scxml2.Context
org.apache.commons.scxml2.ErrorReporter
org.apache.commons.scxml2.Evaluator
org.apache.commons.scxml2.EvaluatorProvider
org.apache.commons.scxml2.EventDispatcher
org.apache.commons.scxml2.PathResolver
org.apache.commons.scxml2.SCXMLIOProcessor
org.apache.commons.scxml2.SCXMLListener
org.apache.commons.scxml2.SCXMLSemantics
org.apache.commons.scxml2.ActionExecutionContext
org.apache.commons.scxml2.Builtin
org.apache.commons.scxml2.Evaluator$AssignType
org.apache.commons.scxml2.EvaluatorFactory
org.apache.commons.scxml2.NotificationRegistry
org.apache.commons.scxml2.SCInstance
org.apache.commons.scxml2.SCXMLExecutionContext
org.apache.commons.scxml2.SCXMLExecutor
org.apache.commons.scxml2.SCXMLExpressionException
org.apache.commons.scxml2.SCXMLSystemContext
org.apache.commons.scxml2.StateConfiguration
org.apache.commons.scxml2.Status
org.apache.commons.scxml2.TriggerEvent
org.apache.commons.scxml2.XPathBuiltin
org.apache.commons.scxml2.env
org.apache.commons.scxml2.env.groovy
org.apache.commons.scxml2.env.javascript
org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2.env.minimal
org.apache.commons.scxml2.env.xpath
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.io
org.apache.commons.scxml2.model
org.apache.commons.scxml2.semantics
org.apache.commons.scxml2.test
java.io
java.lang
java.util
java.util.concurrent
javax.xml.parsers
org.apache.commons.logging
org.apache.commons.scxml2.env
org.apache.commons.scxml2.env.groovy
org.apache.commons.scxml2.env.javascript
org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2.env.minimal
org.apache.commons.scxml2.env.xpath
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.model
org.apache.commons.scxml2.semantics
org.w3c.dom

org.apache.commons.scxml2.env

Afferent Couplings Efferent Couplings Abstractness Instability Distance
9 12 14.0% 57.0% 29.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.scxml2.env.AbstractSCXMLListener
org.apache.commons.scxml2.env.AbstractStateMachine
org.apache.commons.scxml2.env.AbstractStateMachine$EntryListener
org.apache.commons.scxml2.env.EffectiveContextMap
org.apache.commons.scxml2.env.LogUtils
org.apache.commons.scxml2.env.SimpleContext
org.apache.commons.scxml2.env.SimpleDispatcher
org.apache.commons.scxml2.env.SimpleDispatcher$DelayedEventTask
org.apache.commons.scxml2.env.SimpleErrorHandler
org.apache.commons.scxml2.env.SimpleErrorReporter
org.apache.commons.scxml2.env.SimpleSCXMLListener
org.apache.commons.scxml2.env.SimpleXMLReporter
org.apache.commons.scxml2.env.Tracer
org.apache.commons.scxml2.env.URLResolver
org.apache.commons.scxml2
org.apache.commons.scxml2.env.groovy
org.apache.commons.scxml2.env.javascript
org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2.env.minimal
org.apache.commons.scxml2.env.xpath
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.io
org.apache.commons.scxml2.test
java.io
java.lang
java.lang.reflect
java.net
java.util
javax.xml.stream
org.apache.commons.logging
org.apache.commons.scxml2
org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2.io
org.apache.commons.scxml2.model
org.xml.sax

org.apache.commons.scxml2.env.groovy

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 12 24.0% 92.0% 16.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$CompilerConfigurationFactory
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$ParentClassLoaderFactory
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$ScriptPreProcessor
org.apache.commons.scxml2.env.groovy.GroovySCXMLScript
org.apache.commons.scxml2.env.groovy.GroovyContext
org.apache.commons.scxml2.env.groovy.GroovyContext$1
org.apache.commons.scxml2.env.groovy.GroovyContextBinding
org.apache.commons.scxml2.env.groovy.GroovyEvaluator
org.apache.commons.scxml2.env.groovy.GroovyEvaluator$1
org.apache.commons.scxml2.env.groovy.GroovyEvaluator$1$1
org.apache.commons.scxml2.env.groovy.GroovyEvaluator$GroovyEvaluatorProvider
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$1
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$2
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$3
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$4
org.apache.commons.scxml2.env.groovy.GroovyExtendableScriptCache$ScriptCacheElement
org.apache.commons.scxml2
groovy.lang
java.io
java.lang
java.lang.reflect
java.security
java.util
java.util.regex
org.apache.commons.logging
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.model
org.codehaus.groovy.control

org.apache.commons.scxml2.env.javascript

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 0.0% 89.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.scxml2.env.javascript.JSBindings
org.apache.commons.scxml2.env.javascript.JSContext
org.apache.commons.scxml2.env.javascript.JSEvaluator
org.apache.commons.scxml2.env.javascript.JSEvaluator$JSEvaluatorProvider
org.apache.commons.scxml2.env.javascript.JSFunctions
org.apache.commons.scxml2
java.io
java.lang
java.util
java.util.regex
javax.script
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.model

org.apache.commons.scxml2.env.jexl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 7 0.0% 70.0% 30.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.scxml2.env.jexl.JexlBuiltin
org.apache.commons.scxml2.env.jexl.JexlContext
org.apache.commons.scxml2.env.jexl.JexlEvaluator
org.apache.commons.scxml2.env.jexl.JexlEvaluator$JexlEvaluatorProvider
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.test
java.io
java.lang
java.util
org.apache.commons.jexl2
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.model

org.apache.commons.scxml2.env.minimal

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 0.0% 86.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.scxml2.env.minimal.MinimalContext
org.apache.commons.scxml2.env.minimal.MinimalEvaluator
org.apache.commons.scxml2.env.minimal.MinimalEvaluator$MinimalEvaluatorProvider
org.apache.commons.scxml2
java.io
java.lang
java.util
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.model

org.apache.commons.scxml2.env.xpath

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.scxml2.env.xpath.ContextVariables
org.apache.commons.scxml2.env.xpath.XPathContext
org.apache.commons.scxml2.env.xpath.XPathEvaluator
org.apache.commons.scxml2.env.xpath.XPathEvaluator$1
org.apache.commons.scxml2.env.xpath.XPathEvaluator$NodePointerList
org.apache.commons.scxml2.env.xpath.XPathEvaluator$XPathEvaluatorProvider
org.apache.commons.scxml2.env.xpath.XPathFunctions
org.apache.commons.scxml2
java.io
java.lang
java.util
org.apache.commons.jxpath
org.apache.commons.jxpath.ri
org.apache.commons.jxpath.ri.model
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.model
org.w3c.dom

org.apache.commons.scxml2.invoke

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 9 25.0% 69.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.scxml2.invoke.Invoker
org.apache.commons.scxml2.invoke.AsyncTrigger
org.apache.commons.scxml2.invoke.InvokerException
org.apache.commons.scxml2.invoke.SimpleSCXMLInvoker
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.semantics
org.apache.commons.scxml2.test
java.io
java.lang
java.net
java.util
javax.xml.stream
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.io
org.apache.commons.scxml2.model

org.apache.commons.scxml2.io

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 19 0.0% 86.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.scxml2.io.ModelUpdater
org.apache.commons.scxml2.io.SCXMLReader
org.apache.commons.scxml2.io.SCXMLReader$Configuration
org.apache.commons.scxml2.io.SCXMLWriter
org.apache.commons.scxml2.io.SCXMLWriter$Configuration
org.apache.commons.scxml2.env
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.test
java.io
java.lang
java.lang.reflect
java.net
java.text
java.util
javax.xml.parsers
javax.xml.stream
javax.xml.stream.util
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.stream
javax.xml.validation
org.apache.commons.logging
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.model
org.w3c.dom
org.xml.sax

org.apache.commons.scxml2.model

Afferent Couplings Efferent Couplings Abstractness Instability Distance
11 10 32.0% 48.0% 20.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.scxml2.model.Action
org.apache.commons.scxml2.model.ActionsContainer
org.apache.commons.scxml2.model.BodyContainer
org.apache.commons.scxml2.model.ContentContainer
org.apache.commons.scxml2.model.DocumentOrder
org.apache.commons.scxml2.model.EnterableState
org.apache.commons.scxml2.model.Executable
org.apache.commons.scxml2.model.ExternalContent
org.apache.commons.scxml2.model.NamelistHolder
org.apache.commons.scxml2.model.NamespacePrefixesHolder
org.apache.commons.scxml2.model.Observable
org.apache.commons.scxml2.model.ParamsContainer
org.apache.commons.scxml2.model.PathResolverHolder
org.apache.commons.scxml2.model.PayloadProvider
org.apache.commons.scxml2.model.TransitionTarget
org.apache.commons.scxml2.model.TransitionalState
org.apache.commons.scxml2.model.Assign
org.apache.commons.scxml2.model.Cancel
org.apache.commons.scxml2.model.Content
org.apache.commons.scxml2.model.CustomAction
org.apache.commons.scxml2.model.Data
org.apache.commons.scxml2.model.Datamodel
org.apache.commons.scxml2.model.DocumentOrder$1
org.apache.commons.scxml2.model.DocumentOrder$2
org.apache.commons.scxml2.model.Else
org.apache.commons.scxml2.model.ElseIf
org.apache.commons.scxml2.model.Final
org.apache.commons.scxml2.model.Finalize
org.apache.commons.scxml2.model.Foreach
org.apache.commons.scxml2.model.History
org.apache.commons.scxml2.model.If
org.apache.commons.scxml2.model.Initial
org.apache.commons.scxml2.model.Invoke
org.apache.commons.scxml2.model.Log
org.apache.commons.scxml2.model.ModelException
org.apache.commons.scxml2.model.OnEntry
org.apache.commons.scxml2.model.OnExit
org.apache.commons.scxml2.model.Parallel
org.apache.commons.scxml2.model.Param
org.apache.commons.scxml2.model.PayloadProvider$1
org.apache.commons.scxml2.model.PayloadProvider$DataValueList
org.apache.commons.scxml2.model.Raise
org.apache.commons.scxml2.model.SCXML
org.apache.commons.scxml2.model.Script
org.apache.commons.scxml2.model.Send
org.apache.commons.scxml2.model.SimpleTransition
org.apache.commons.scxml2.model.State
org.apache.commons.scxml2.model.Transition
org.apache.commons.scxml2.model.TransitionType
org.apache.commons.scxml2.model.Var
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.env.groovy
org.apache.commons.scxml2.env.javascript
org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2.env.minimal
org.apache.commons.scxml2.env.xpath
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.io
org.apache.commons.scxml2.semantics
org.apache.commons.scxml2.test
java.io
java.lang
java.lang.reflect
java.util
javax.xml.parsers
org.apache.commons.logging
org.apache.commons.scxml2
org.apache.commons.scxml2.invoke
org.w3c.dom
org.xml.sax

org.apache.commons.scxml2.semantics

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 org.apache.commons.scxml2.semantics.ErrorConstants
org.apache.commons.scxml2.semantics.SCXMLSemanticsImpl
org.apache.commons.scxml2.semantics.Step
org.apache.commons.scxml2
java.lang
java.util
org.apache.commons.logging
org.apache.commons.scxml2
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.model
org.apache.commons.scxml2.system

org.apache.commons.scxml2.system

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 org.apache.commons.scxml2.system.EventVariable
org.apache.commons.scxml2.semantics
java.io
java.lang

org.apache.commons.scxml2.test

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 11 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.scxml2.test.StandaloneJexlExpressions
org.apache.commons.scxml2.test.StandaloneUtils
None java.io
java.lang
java.net
java.util
javax.xml.stream
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2.invoke
org.apache.commons.scxml2.io
org.apache.commons.scxml2.model

Cycles

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

Package Package Dependencies
org.apache.commons.scxml2 org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.env org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.env.groovy org.apache.commons.scxml2.env
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.env.javascript org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.env.jexl org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.env.minimal org.apache.commons.scxml2.env
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.env.xpath org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.invoke org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.io org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.model org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.semantics org.apache.commons.scxml2.invoke
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.test org.apache.commons.scxml2.env.jexl
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2

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.