Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
org.opentrafficsim.demo.carFollowing | 54 | 54 | 0 | 0 | 61 | 0.0% | 100.0% | 0.0% | 1 |
org.opentrafficsim.demo.geometry | 2 | 2 | 0 | 0 | 19 | 0.0% | 100.0% | 0.0% | 1 |
org.opentrafficsim.demo.geometry.shape | 3 | 3 | 0 | 0 | 30 | 0.0% | 100.0% | 0.0% | 1 |
org.opentrafficsim.demo.lanechange | 6 | 6 | 0 | 0 | 40 | 0.0% | 100.0% | 0.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 61 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.opentrafficsim.demo.carFollowing.CanPlaceDemoCode org.opentrafficsim.demo.carFollowing.CircularLane org.opentrafficsim.demo.carFollowing.CircularLane$1 org.opentrafficsim.demo.carFollowing.CircularRoad org.opentrafficsim.demo.carFollowing.CircularRoad$1 org.opentrafficsim.demo.carFollowing.CleverRadioButton org.opentrafficsim.demo.carFollowing.CrossingTrafficLights org.opentrafficsim.demo.carFollowing.CrossingTrafficLights$1 org.opentrafficsim.demo.carFollowing.CrossingTrafficLightstModel org.opentrafficsim.demo.carFollowing.DefaultsFactory org.opentrafficsim.demo.carFollowing.FundamentalDiagrams org.opentrafficsim.demo.carFollowing.FundamentalDiagrams$1 org.opentrafficsim.demo.carFollowing.FundamentalDiagrams$FundamentalDiagramPlotsModel org.opentrafficsim.demo.carFollowing.FundamentalDiagramsLane org.opentrafficsim.demo.carFollowing.FundamentalDiagramsLane$1 org.opentrafficsim.demo.carFollowing.FundamentalDiagramsLane$FundamentalDiagramLanePlotsModel org.opentrafficsim.demo.carFollowing.LaneSimulationModel org.opentrafficsim.demo.carFollowing.OSMModel org.opentrafficsim.demo.carFollowing.OpenStreetMap org.opentrafficsim.demo.carFollowing.OpenStreetMap$1 org.opentrafficsim.demo.carFollowing.RoadSimulationModel org.opentrafficsim.demo.carFollowing.SequentialLanes org.opentrafficsim.demo.carFollowing.SequentialLanes$1 org.opentrafficsim.demo.carFollowing.SequentialModel org.opentrafficsim.demo.carFollowing.Straight org.opentrafficsim.demo.carFollowing.Straight$1 org.opentrafficsim.demo.carFollowing.StraightModel org.opentrafficsim.demo.carFollowing.StraightPerception org.opentrafficsim.demo.carFollowing.StraightPerception$1 org.opentrafficsim.demo.carFollowing.StraightPerceptionModel org.opentrafficsim.demo.carFollowing.StraightPerceptionModel$GTUFollowingTacticalPlannerNoPerceive org.opentrafficsim.demo.carFollowing.StraightPerceptionModel$LaneBasedPerceivingCar org.opentrafficsim.demo.carFollowing.SuperDemo org.opentrafficsim.demo.carFollowing.SuperDemo$1 org.opentrafficsim.demo.carFollowing.SuperDemo$10 org.opentrafficsim.demo.carFollowing.SuperDemo$2 org.opentrafficsim.demo.carFollowing.SuperDemo$3 org.opentrafficsim.demo.carFollowing.SuperDemo$4 org.opentrafficsim.demo.carFollowing.SuperDemo$5 org.opentrafficsim.demo.carFollowing.SuperDemo$6 org.opentrafficsim.demo.carFollowing.SuperDemo$7 org.opentrafficsim.demo.carFollowing.SuperDemo$8 org.opentrafficsim.demo.carFollowing.SuperDemo$9 org.opentrafficsim.demo.carFollowing.Trajectories org.opentrafficsim.demo.carFollowing.Trajectories$1 org.opentrafficsim.demo.carFollowing.TrajectoriesModel org.opentrafficsim.demo.carFollowing.XMLNetworkModel org.opentrafficsim.demo.carFollowing.XMLNetworkModel$1 org.opentrafficsim.demo.carFollowing.XMLNetworkModel$2 org.opentrafficsim.demo.carFollowing.XMLNetworkModel$3 org.opentrafficsim.demo.carFollowing.XMLNetworkModel$4 org.opentrafficsim.demo.carFollowing.XMLNetworkModel$5 org.opentrafficsim.demo.carFollowing.XMLNetworkModel$DirectionGTUColorer org.opentrafficsim.demo.carFollowing.XMLNetworks |
None | java.awt java.awt.event java.awt.geom java.beans java.io java.lang java.net java.rmi java.util javax.naming javax.swing javax.swing.event javax.swing.text nl.tudelft.simulation.dsol nl.tudelft.simulation.dsol.experiment nl.tudelft.simulation.dsol.gui.swing nl.tudelft.simulation.dsol.simulators nl.tudelft.simulation.jstats.distributions nl.tudelft.simulation.jstats.streams nl.tudelft.simulation.language.d3 org.djunits.locale org.djunits.unit org.djunits.value.vdouble.scalar org.opentrafficsim.base.immutablecollections org.opentrafficsim.base.modelproperties org.opentrafficsim.core.distributions org.opentrafficsim.core.dsol org.opentrafficsim.core.geometry org.opentrafficsim.core.gtu org.opentrafficsim.core.gtu.animation org.opentrafficsim.core.gtu.behavioralcharacteristics org.opentrafficsim.core.gtu.plan.operational org.opentrafficsim.core.idgenerator org.opentrafficsim.core.network org.opentrafficsim.core.network.route org.opentrafficsim.core.units.distributions org.opentrafficsim.graphs org.opentrafficsim.gui org.opentrafficsim.road.gtu.animation org.opentrafficsim.road.gtu.generator org.opentrafficsim.road.gtu.lane org.opentrafficsim.road.gtu.lane.perception org.opentrafficsim.road.gtu.lane.perception.categories org.opentrafficsim.road.gtu.lane.perception.headway 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.route org.opentrafficsim.road.modelproperties org.opentrafficsim.road.network.factory org.opentrafficsim.road.network.factory.osm org.opentrafficsim.road.network.factory.osm.events org.opentrafficsim.road.network.factory.osm.input org.opentrafficsim.road.network.factory.osm.output org.opentrafficsim.road.network.lane org.opentrafficsim.road.network.lane.changing org.opentrafficsim.road.network.lane.object.sensor org.opentrafficsim.simulationengine |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 19 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.opentrafficsim.demo.geometry.TestGeometry org.opentrafficsim.demo.geometry.TestModel |
None | java.awt java.awt.geom java.lang java.rmi javax.naming 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 org.djunits.unit org.djunits.value.vdouble.scalar org.opentrafficsim.core.dsol org.opentrafficsim.core.geometry org.opentrafficsim.core.network org.opentrafficsim.road.network.animation org.opentrafficsim.road.network.lane org.opentrafficsim.road.network.lane.changing |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 30 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.opentrafficsim.demo.geometry.shape.ShapeFileReader org.opentrafficsim.demo.geometry.shape.ShapeModel org.opentrafficsim.demo.geometry.shape.ShapeTestApplication |
None | com.vividsolutions.jts.geom java.awt java.awt.geom java.io java.lang java.net java.rmi java.util javax.naming 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 org.djunits.unit org.djunits.value.vdouble.scalar org.geotools.data org.geotools.data.shapefile org.geotools.data.simple org.geotools.geometry.jts org.opengis.feature org.opengis.feature.simple org.opentrafficsim.core.dsol org.opentrafficsim.core.geometry org.opentrafficsim.core.network org.opentrafficsim.core.network.animation org.opentrafficsim.road.network.animation org.opentrafficsim.road.network.lane org.opentrafficsim.road.network.lane.changing |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 40 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.opentrafficsim.demo.lanechange.ChartData org.opentrafficsim.demo.lanechange.LaneChangeGraph org.opentrafficsim.demo.lanechange.LaneChangeGraph$1 org.opentrafficsim.demo.lanechange.SuitabilityData org.opentrafficsim.demo.lanechange.SuitabilityGraph org.opentrafficsim.demo.lanechange.SuitabilityGraph$1 |
None | java.awt java.awt.geom java.lang java.lang.reflect java.rmi java.util javax.naming javax.swing javax.swing.event nl.tudelft.simulation.dsol nl.tudelft.simulation.dsol.gui.swing nl.tudelft.simulation.dsol.simulators org.djunits.unit org.djunits.value.vdouble.scalar org.jfree.chart org.jfree.chart.axis org.jfree.chart.event org.jfree.chart.plot org.jfree.chart.renderer.xy org.jfree.data org.jfree.data.general org.jfree.data.xy org.opentrafficsim.core.dsol org.opentrafficsim.core.geometry org.opentrafficsim.core.gtu org.opentrafficsim.core.gtu.behavioralcharacteristics org.opentrafficsim.core.gtu.plan.operational org.opentrafficsim.core.network org.opentrafficsim.core.network.route org.opentrafficsim.gui org.opentrafficsim.road.gtu.lane org.opentrafficsim.road.gtu.lane.perception.headway org.opentrafficsim.road.gtu.lane.tactical org.opentrafficsim.road.gtu.lane.tactical.following org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil org.opentrafficsim.road.gtu.strategical org.opentrafficsim.road.gtu.strategical.route org.opentrafficsim.road.network.factory org.opentrafficsim.road.network.lane org.opentrafficsim.simulationengine |
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. |