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
au.gov.amsa.ais 26 21 5 4 20 19.0% 83.0% 3.0% 1
au.gov.amsa.ais.message 15 12 3 2 4 20.0% 67.0% 13.0% 1
au.gov.amsa.ais.rx 16 16 0 2 12 0.0% 86.0% 14.0% 1
au.gov.amsa.ais.rx.operators 4 4 0 0 6 0.0% 100.0% 0.0% 1
au.gov.amsa.util 2 2 0 1 1 0.0% 50.0% 50.0% 1
au.gov.amsa.util.identity 1 1 0 0 2 0.0% 100.0% 0.0% 1
au.gov.amsa.util.nmea 8 7 1 3 12 12.0% 80.0% 7.0% 1
au.gov.amsa.util.nmea.saver 6 4 2 0 8 33.0% 100.0% 33.0% 1

Packages

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

au.gov.amsa.ais

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 20 19.0% 83.0% 3.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
au.gov.amsa.ais.AisExtractorFactory
au.gov.amsa.ais.AisMessage
au.gov.amsa.ais.HasCommunications
au.gov.amsa.ais.HasMmsi
au.gov.amsa.ais.NmeaStreamProcessorListener
au.gov.amsa.ais.AisExtractor
au.gov.amsa.ais.AisMessageParser
au.gov.amsa.ais.AisMessageType
au.gov.amsa.ais.AisNmeaBuffer
au.gov.amsa.ais.AisNmeaBuffer$1
au.gov.amsa.ais.AisNmeaMessage
au.gov.amsa.ais.AisParseException
au.gov.amsa.ais.AtonTypeDecoder
au.gov.amsa.ais.Communications
au.gov.amsa.ais.Internationalization
au.gov.amsa.ais.LineAndTime
au.gov.amsa.ais.MariwebSslConnectMain$1
au.gov.amsa.ais.MariwebSslConnectMain$AlwaysHappyTrustManager
au.gov.amsa.ais.NmeaMessageExactEarthTimestamp
au.gov.amsa.ais.NmeaReaderFromInputStream
au.gov.amsa.ais.NmeaReaderFromInputStream$1
au.gov.amsa.ais.NmeaStreamProcessor
au.gov.amsa.ais.ShipTypeDecoder
au.gov.amsa.ais.Timestamped
au.gov.amsa.ais.Util
au.gov.amsa.ais.Util$1
au.gov.amsa.ais.message
au.gov.amsa.ais.rx
au.gov.amsa.ais.rx.operators
au.gov.amsa.util.nmea
au.gov.amsa.ais.message
au.gov.amsa.streams
au.gov.amsa.util
au.gov.amsa.util.nmea
com.google.common.base
com.google.common.collect
java.io
java.lang
java.math
java.net
java.nio.charset
java.security.cert
java.util
java.util.concurrent.atomic
java.util.regex
javax.net.ssl
org.slf4j
rx
rx.functions
rx.observables

au.gov.amsa.ais.message

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 4 20.0% 67.0% 13.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
au.gov.amsa.ais.message.AbstractAisBStaticDataReport
au.gov.amsa.ais.message.AisPosition
au.gov.amsa.ais.message.AisShipStatic
au.gov.amsa.ais.message.AisAidToNavigation
au.gov.amsa.ais.message.AisBStaticDataReportPartA
au.gov.amsa.ais.message.AisBStaticDataReportPartB
au.gov.amsa.ais.message.AisBaseStation
au.gov.amsa.ais.message.AisMessageOther
au.gov.amsa.ais.message.AisPositionA
au.gov.amsa.ais.message.AisPositionB
au.gov.amsa.ais.message.AisPositionBExtended
au.gov.amsa.ais.message.AisPositionGPS
au.gov.amsa.ais.message.AisShipStaticA
au.gov.amsa.ais.message.AisShipStaticUtil
au.gov.amsa.ais.message.NavigationalStatus
au.gov.amsa.ais
au.gov.amsa.ais.rx.operators
au.gov.amsa.ais
com.google.common.base
java.lang
java.util

au.gov.amsa.ais.rx

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 12 0.0% 86.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None au.gov.amsa.ais.rx.Cache
au.gov.amsa.ais.rx.CraftProperties
au.gov.amsa.ais.rx.CraftProperty
au.gov.amsa.ais.rx.CraftPropertyName
au.gov.amsa.ais.rx.HostPort
au.gov.amsa.ais.rx.Mmsi
au.gov.amsa.ais.rx.SocketReaderRunnable
au.gov.amsa.ais.rx.Streams$1
au.gov.amsa.ais.rx.Streams$2
au.gov.amsa.ais.rx.Streams$3
au.gov.amsa.ais.rx.Streams$4
au.gov.amsa.ais.rx.Streams$8
au.gov.amsa.ais.rx.Streams$8$1
au.gov.amsa.ais.rx.Streams$9
au.gov.amsa.ais.rx.Streams$TimestampedAndLine
au.gov.amsa.ais.rx.Streams$TimestampedAndLines
au.gov.amsa.ais.rx.operators
au.gov.amsa.util.nmea
au.gov.amsa.ais
au.gov.amsa.util.nmea
com.google.common.base
java.io
java.lang
java.net
java.util
java.util.concurrent.atomic
java.util.function
org.slf4j
rx
rx.functions

au.gov.amsa.ais.rx.operators

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None au.gov.amsa.ais.rx.operators.OperatorCraftPropertAggregator
au.gov.amsa.ais.rx.operators.OperatorCraftPropertAggregator$1
au.gov.amsa.ais.rx.operators.OperatorCraftProperty
au.gov.amsa.ais.rx.operators.OperatorCraftProperty$1
None au.gov.amsa.ais
au.gov.amsa.ais.message
au.gov.amsa.ais.rx
java.lang
java.util.concurrent
rx

au.gov.amsa.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 1 0.0% 50.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None au.gov.amsa.util.SixBit
au.gov.amsa.util.SixBitException
au.gov.amsa.ais
java.lang

au.gov.amsa.util.identity

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None au.gov.amsa.util.identity.MmsiValidator2
None java.lang
java.util

au.gov.amsa.util.nmea

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 12 12.0% 80.0% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
au.gov.amsa.util.nmea.NmeaReader
au.gov.amsa.util.nmea.NmeaMessage
au.gov.amsa.util.nmea.NmeaMessage$SentenceInfo
au.gov.amsa.util.nmea.NmeaMessageParseException
au.gov.amsa.util.nmea.NmeaMessageParser
au.gov.amsa.util.nmea.NmeaReaderFromSocket
au.gov.amsa.util.nmea.NmeaUtil
au.gov.amsa.util.nmea.Talker
au.gov.amsa.ais
au.gov.amsa.ais.rx
au.gov.amsa.util.nmea.saver
au.gov.amsa.ais
au.gov.amsa.ais.rx
com.google.common.collect
java.io
java.lang
java.net
java.util
java.util.regex
org.apache.commons.lang3
org.apache.log4j
rx
rx.observables

au.gov.amsa.util.nmea.saver

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 8 33.0% 100.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
au.gov.amsa.util.nmea.saver.Clock
au.gov.amsa.util.nmea.saver.FileFactory
au.gov.amsa.util.nmea.saver.FileFactoryPerDay
au.gov.amsa.util.nmea.saver.NmeaSaver
au.gov.amsa.util.nmea.saver.NmeaSaver$1
au.gov.amsa.util.nmea.saver.SystemClock
None au.gov.amsa.util.nmea
com.google.common.base
java.io
java.lang
org.joda.time.format
org.slf4j
rx
rx.schedulers

Cycles

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

Package Package Dependencies
au.gov.amsa.ais au.gov.amsa.util.nmea
au.gov.amsa.ais.rx
au.gov.amsa.util.nmea
au.gov.amsa.ais.message au.gov.amsa.ais
au.gov.amsa.util.nmea
au.gov.amsa.ais.rx
au.gov.amsa.util.nmea
au.gov.amsa.ais.rx au.gov.amsa.util.nmea
au.gov.amsa.ais.rx
au.gov.amsa.ais.rx.operators au.gov.amsa.ais.rx
au.gov.amsa.util.nmea
au.gov.amsa.ais.rx
au.gov.amsa.util.nmea au.gov.amsa.ais.rx
au.gov.amsa.util.nmea
au.gov.amsa.util.nmea.saver au.gov.amsa.util.nmea
au.gov.amsa.ais.rx
au.gov.amsa.util.nmea

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.