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.opentrafficsim.imb.connector 1 1 0 3 6 0.0% 67.0% 33.0% 1
org.opentrafficsim.imb.demo 39 39 0 0 72 0.0% 100.0% 0.0% 1
org.opentrafficsim.imb.transceiver 5 2 3 1 11 60.000004% 92.0% 52.0% 1
org.opentrafficsim.imb.transceiver.urbanstrategy 15 15 0 1 28 0.0% 97.0% 3.0% 1

Packages

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

org.opentrafficsim.imb.connector

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 6 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.opentrafficsim.imb.connector.OTSIMBConnector
org.opentrafficsim.imb.demo
org.opentrafficsim.imb.transceiver
org.opentrafficsim.imb.transceiver.urbanstrategy
java.io
java.lang
java.util
nl.tudelft.simulation.language
org.opentrafficsim.base.modelproperties
org.opentrafficsim.imb

org.opentrafficsim.imb.demo

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 72 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.opentrafficsim.imb.demo.A58IMB
org.opentrafficsim.imb.demo.A58IMB$1
org.opentrafficsim.imb.demo.A58IMB$A58Model
org.opentrafficsim.imb.demo.A58IMB$CoordinateTransformRD
org.opentrafficsim.imb.demo.CircularRoadIMB
org.opentrafficsim.imb.demo.CircularRoadIMB$1
org.opentrafficsim.imb.demo.CleverRadioButton
org.opentrafficsim.imb.demo.Convert
org.opentrafficsim.imb.demo.Convert$Coordinate
org.opentrafficsim.imb.demo.IMBChat
org.opentrafficsim.imb.demo.IMBChat$1
org.opentrafficsim.imb.demo.IMBChat$2
org.opentrafficsim.imb.demo.IMBChat$3
org.opentrafficsim.imb.demo.IMBChat$4
org.opentrafficsim.imb.demo.IMBChat$5
org.opentrafficsim.imb.demo.IMBChat$6
org.opentrafficsim.imb.demo.IMBChat$7
org.opentrafficsim.imb.demo.IMBSuperDemo
org.opentrafficsim.imb.demo.IMBSuperDemo$1
org.opentrafficsim.imb.demo.IMBSuperDemo$10
org.opentrafficsim.imb.demo.IMBSuperDemo$2
org.opentrafficsim.imb.demo.IMBSuperDemo$3
org.opentrafficsim.imb.demo.IMBSuperDemo$4
org.opentrafficsim.imb.demo.IMBSuperDemo$5
org.opentrafficsim.imb.demo.IMBSuperDemo$6
org.opentrafficsim.imb.demo.IMBSuperDemo$7
org.opentrafficsim.imb.demo.IMBSuperDemo$8
org.opentrafficsim.imb.demo.IMBSuperDemo$9
org.opentrafficsim.imb.demo.ModelControlDemo
org.opentrafficsim.imb.demo.ModelControlDemo$1
org.opentrafficsim.imb.demo.ModelControlDemo$CircularRoadIMB
org.opentrafficsim.imb.demo.ModelControlDemo$CircularRoadIMB$SimpleSilentSensor
org.opentrafficsim.imb.demo.N201IMB
org.opentrafficsim.imb.demo.N201IMB$1
org.opentrafficsim.imb.demo.N201IMB$CoordinateTransformRD
org.opentrafficsim.imb.demo.N201IMB$N201Model
org.opentrafficsim.imb.demo.N201ODfactory
org.opentrafficsim.imb.demo.RoadSimulationModelIMB
org.opentrafficsim.imb.demo.RoadSimulationModelIMB$SimpleSilentSensor
None java.awt
java.awt.event
java.awt.geom
java.beans
java.io
java.lang
java.lang.reflect
java.net
java.nio.file
java.rmi
java.util
javax.naming
javax.swing
javax.swing.event
javax.swing.text
javax.xml.parsers
nl.javel.gisbeans.io.esri
nl.tno.imb
nl.tno.imb.mc
nl.tudelft.simulation.dsol
nl.tudelft.simulation.dsol.animation.D2
nl.tudelft.simulation.dsol.experiment
nl.tudelft.simulation.dsol.gui.swing
nl.tudelft.simulation.dsol.simulators
nl.tudelft.simulation.event
nl.tudelft.simulation.jstats.streams
nl.tudelft.simulation.language
nl.tudelft.simulation.language.io
org.djunits.locale
org.djunits.unit
org.djunits.value
org.djunits.value.vdouble.scalar
org.djunits.value.vdouble.vector
org.opentrafficsim.base.immutablecollections
org.opentrafficsim.base.modelproperties
org.opentrafficsim.core.distributions
org.opentrafficsim.core.dsol
org.opentrafficsim.core.geometry
org.opentrafficsim.core.gis
org.opentrafficsim.core.gtu
org.opentrafficsim.core.gtu.animation
org.opentrafficsim.core.gtu.behavioralcharacteristics
org.opentrafficsim.core.network
org.opentrafficsim.core.network.route
org.opentrafficsim.core.units.distributions
org.opentrafficsim.graphs
org.opentrafficsim.gui
org.opentrafficsim.imb
org.opentrafficsim.imb.connector
org.opentrafficsim.imb.transceiver.urbanstrategy
org.opentrafficsim.kpi.sampling
org.opentrafficsim.kpi.sampling.meta
org.opentrafficsim.road.gtu.animation
org.opentrafficsim.road.gtu.generator
org.opentrafficsim.road.gtu.lane
org.opentrafficsim.road.gtu.lane.tactical
org.opentrafficsim.road.gtu.lane.tactical.following
org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil
org.opentrafficsim.road.gtu.lane.tactical.lmrs
org.opentrafficsim.road.gtu.lane.tactical.toledo
org.opentrafficsim.road.gtu.strategical
org.opentrafficsim.road.gtu.strategical.od
org.opentrafficsim.road.gtu.strategical.route
org.opentrafficsim.road.modelproperties
org.opentrafficsim.road.network.factory
org.opentrafficsim.road.network.factory.xml
org.opentrafficsim.road.network.lane
org.opentrafficsim.road.network.lane.object
org.opentrafficsim.road.network.lane.object.sensor
org.opentrafficsim.road.network.sampling
org.opentrafficsim.simulationengine
org.xml.sax

org.opentrafficsim.imb.transceiver

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 60.000004% 92.0% 52.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opentrafficsim.imb.transceiver.AbstractTransceiver
org.opentrafficsim.imb.transceiver.IMBToOTSTransformer
org.opentrafficsim.imb.transceiver.OTSToIMBTransformer
org.opentrafficsim.imb.transceiver.IMBTransformResult
org.opentrafficsim.imb.transceiver.PubSubIMBMessageHandler
org.opentrafficsim.imb.transceiver.urbanstrategy
java.io
java.lang
java.rmi
java.util
nl.tno.imb
nl.tudelft.simulation.dsol
nl.tudelft.simulation.event
nl.tudelft.simulation.language
org.opentrafficsim.core.dsol
org.opentrafficsim.imb
org.opentrafficsim.imb.connector

org.opentrafficsim.imb.transceiver.urbanstrategy

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 28 0.0% 97.0% 3.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver$GTUTransformerChange
org.opentrafficsim.imb.transceiver.urbanstrategy.GraphTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.NetworkTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.NodeTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.SensorGTUTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver
org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver$1
org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver$2
org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver$3
org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver$EmptyTransformer
org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver$SpeedTransformer
org.opentrafficsim.imb.transceiver.urbanstrategy.StatisticsGTULaneTransceiver
org.opentrafficsim.imb.demo
java.awt
java.io
java.lang
java.rmi
java.util
nl.tno.imb
nl.tudelft.simulation.dsol
nl.tudelft.simulation.dsol.simulators
nl.tudelft.simulation.event
nl.tudelft.simulation.language
nl.tudelft.simulation.language.d3
org.djunits.unit
org.djunits.value.vdouble.scalar
org.opentrafficsim.base.immutablecollections
org.opentrafficsim.core.dsol
org.opentrafficsim.core.geometry
org.opentrafficsim.core.gtu
org.opentrafficsim.core.network
org.opentrafficsim.graphs
org.opentrafficsim.imb
org.opentrafficsim.imb.connector
org.opentrafficsim.imb.transceiver
org.opentrafficsim.kpi.sampling
org.opentrafficsim.kpi.sampling.indicator
org.opentrafficsim.road.gtu.lane
org.opentrafficsim.road.network.lane
org.opentrafficsim.road.network.lane.object.sensor
org.opentrafficsim.simulationengine

Cycles

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

There are no cyclic dependencies.

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.