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 19 11 8 10 12 42.0% 55.0% 3.0% 1
org.apache.commons.scxml2.env 15 13 2 8 12 13.0% 60.000004% 27.000002% 1
org.apache.commons.scxml2.env.groovy 16 12 4 0 12 25.0% 100.0% 25.0% 1
org.apache.commons.scxml2.env.javascript 3 3 0 0 7 0.0% 100.0% 0.0% 1
org.apache.commons.scxml2.env.jexl 3 3 0 2 7 0.0% 78.0% 22.0% 1
org.apache.commons.scxml2.env.xpath 9 9 0 0 10 0.0% 100.0% 0.0% 1
org.apache.commons.scxml2.invoke 4 3 1 3 9 25.0% 75.0% 0.0% 1
org.apache.commons.scxml2.io 5 5 0 3 19 0.0% 86.0% 14.0% 1
org.apache.commons.scxml2.model 43 31 12 6 9 28.0% 60.000004% 12.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
10 12 42.0% 55.0% 3.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.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.Builtin$ExpressionNSContext
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.Status
org.apache.commons.scxml2.TriggerEvent
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.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.namespace
javax.xml.xpath
org.apache.commons.logging
org.apache.commons.scxml2.env
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
8 12 13.0% 60.000004% 27.000002%
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.SimpleErrorHandler
org.apache.commons.scxml2.env.SimpleErrorReporter
org.apache.commons.scxml2.env.SimpleSCXMLListener
org.apache.commons.scxml2.env.SimpleScheduler
org.apache.commons.scxml2.env.SimpleScheduler$DelayedEventTask
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.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
0 12 25.0% 100.0% 25.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.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
None 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.codehaus.groovy.control
org.w3c.dom

org.apache.commons.scxml2.env.javascript

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 org.apache.commons.scxml2.env.javascript.JSBindings
org.apache.commons.scxml2.env.javascript.JSContext
org.apache.commons.scxml2.env.javascript.JSEvaluator
None java.lang
java.util
java.util.regex
javax.script
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.w3c.dom

org.apache.commons.scxml2.env.jexl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 7 0.0% 78.0% 22.0%
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
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.w3c.dom

org.apache.commons.scxml2.env.xpath

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.scxml2.env.xpath.FunctionResolver
org.apache.commons.scxml2.env.xpath.FunctionResolver$1
org.apache.commons.scxml2.env.xpath.FunctionResolver$DataFunction
org.apache.commons.scxml2.env.xpath.FunctionResolver$DataNodeFunction
org.apache.commons.scxml2.env.xpath.FunctionResolver$FunctionKey
org.apache.commons.scxml2.env.xpath.FunctionResolver$InFunction
org.apache.commons.scxml2.env.xpath.XPathContext
org.apache.commons.scxml2.env.xpath.XPathEvaluator
org.apache.commons.scxml2.env.xpath.XPathEvaluator$ExpressionNSContext
None java.io
java.lang
java.util
java.util.regex
javax.xml.namespace
javax.xml.parsers
javax.xml.xpath
org.apache.commons.scxml2
org.apache.commons.scxml2.env
org.w3c.dom

org.apache.commons.scxml2.invoke

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 9 25.0% 75.0% 0.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.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
6 9 28.0% 60.000004% 12.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.DocumentOrder
org.apache.commons.scxml2.model.EnterableState
org.apache.commons.scxml2.model.Executable
org.apache.commons.scxml2.model.ExternalContent
org.apache.commons.scxml2.model.NamespacePrefixesHolder
org.apache.commons.scxml2.model.Observable
org.apache.commons.scxml2.model.PathResolverHolder
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.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.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.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.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.env
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.env.jexl 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.io
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
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.io
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model
org.apache.commons.scxml2.test org.apache.commons.scxml2.io
org.apache.commons.scxml2.model
org.apache.commons.scxml2
org.apache.commons.scxml2.model

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.