ActiveIO - JDepend Source Code Analysis

##### Project Documentation

- About ActiveIO
- Project Info
- Project Reports
  - Project License
  - PMD Report
  - Metrics
  - Source Xref
  - Test Xref
  - JavaDocs
  - JavaDoc Report
  - Unit Tests
  - Checkstyle
  - Simian Report
  - Clover
- Development Process

## Metric Results

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

The following document contains the results of a JDependmetric analysis. The various metrics are defined at the bottom of this document.

## Summary

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

Package | TC | AC | CC | AC | EC | A | I | D
--- | --- | --- | --- | --- | --- | --- | --- | ---
org.activeio | 27 | 18 | 9 | 8 | 6 | 0.67 | 43% | 10%
org.activeio.adapter | 22 | 0 | 22 | 4 | 8 | 0 | 67% | 33%
org.activeio.filter | 11 | 1 | 10 | 2 | 6 | 0.09 | 75% | 16%
org.activeio.journal | 4 | 3 | 1 | 2 | 3 | 0.75 | 60% | 35%
org.activeio.journal.active | 14 | 0 | 14 | 0 | 12 | 0 | 100% | 0%
org.activeio.journal.howl | 3 | 0 | 3 | 0 | 6 | 0 | 100% | 0%
org.activeio.net | 36 | 2 | 34 | 1 | 16 | 0.06 | 94% | 0%
org.activeio.oneport | 12 | 1 | 11 | 0 | 14 | 0.08 | 100% | 8%
org.activeio.packet | 10 | 2 | 8 | 6 | 7 | 0.2 | 54% | 26%

## Packages

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

### org.activeio

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
8 | 6 | 67% | 43% | 10%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
AcceptListener AsynchChannel AsynchChannelFactory AsynchChannelListener AsynchChannelServer Channel ChannelServer Disposable InputAsynchChannel InputSynchChannel OutputChannel Packet RequestChannel RequestListener Service SynchChannel SynchChannelFactory SynchChannelServer | ChannelFactory ChannelFactory$1 ChannelFactory$FactoryFinder FilterAsynchChannel FilterAsynchChannelServer FilterSynchChannel FilterSynchChannelServer Packet$ByteSequence PacketData | org.activeio.adapter org.activeio.filter org.activeio.journal org.activeio.journal.active org.activeio.journal.howl org.activeio.net org.activeio.oneport org.activeio.packet | EDU.oswego.cs.dl.util.concurrent java.io java.lang java.net java.util org.activeio.adapter

### org.activeio.adapter

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
4 | 8 | 0% | 67% | 33%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | AsynchChannelOutputStream AsynchChannelToClientRequestChannel AsynchChannelToConcurrentRequestChannel AsynchChannelToConcurrentRequestChannel$1 AsynchChannelToServerRequestChannel AsynchToSynchChannelAdapter AsynchToSynchChannelFactoryAdaptor AsynchToSynchChannelServerAdapter AsynchWriteAsynchChannelAdapter AsynchWriteAsynchChannelAdapter$1 AsynchWriteAsynchChannelAdapter$ObjectDispatcher AsynchWriteAsynchChannelAdapter$ObjectDispatcherX PacketByteArrayOutputStream PacketInputStream PacketOutputStream SynchChannelInputStream SynchChannelOutputStream SynchChannelServerToServerSocketAdapter SynchChannelToSocketAdapter SynchToAsynchChannelAdapter SynchToAsynchChannelFactoryAdaptor SynchToAsynchChannelServerAdapter | org.activeio org.activeio.journal.active org.activeio.net org.activeio.oneport | EDU.oswego.cs.dl.util.concurrent java.io java.lang java.net java.nio.channels org.activeio org.activeio.net org.activeio.packet

### org.activeio.filter

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 6 | 9% | 75% | 16%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
PacketAggregator | CounterAsyncChannel PacketAggregatingAsynchChannel PacketAggregatingAsynchChannel$1 PacketAggregatingSynchChannel PacketAggregatingSynchChannel$1 PushbackSynchChannel SynchornizedAsynchChannel SynchornizedSynchChannel WriteBufferedAsynchChannel WriteBufferedSynchChannel | org.activeio.net org.activeio.oneport | EDU.oswego.cs.dl.util.concurrent java.io java.lang java.util org.activeio org.activeio.packet

### org.activeio.journal

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 3 | 75% | 60% | 35%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Journal JournalEventListener RecordLocation | InvalidRecordLocationException | org.activeio.journal.active org.activeio.journal.howl | java.io java.lang org.activeio

### org.activeio.journal.active

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 12 | 0% | 100% | 0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | BatchedWrite ControlFile JournalImpl JournalImpl$1 JournalImpl$2 JournalImpl$3 JournalImpl$4 JournalImpl$5 Location LogFile LogFileManager LogFileNode Record RecordInfo | None | EDU.oswego.cs.dl.util.concurrent java.io java.lang java.lang.reflect java.nio java.nio.channels java.text java.util.zip org.activeio org.activeio.adapter org.activeio.journal org.activeio.packet

### org.activeio.journal.howl

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 6 | 0% | 100% | 0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | HowlJournal HowlJournal$1 LongRecordLocation | None | java.io java.lang org.activeio org.activeio.journal org.activeio.packet org.objectweb.howl.log

### org.activeio.net

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 16 | 6% | 94% | 0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
NIOAsynchChannelSelectorManager$SelectorManagerListener SocketMetadata | AIOAsynchChannel AIOAsynchChannelFactory AIOSynchChannelServer DatagramContext DatagramSocketSynchChannel DatagramSocketSynchChannel$1 DatagramSocketSynchChannel$UDPFilterPacket DatagramSocketSynchChannelFactory JxtaSocketSynchChannelFactory JxtaSocketSynchChannelFactory$JxtaServerSocketFactory JxtaSocketSynchChannelFactory$JxtaSocketFactory NIOAsynchChannel NIOAsynchChannel$1 NIOAsynchChannelFactory NIOAsynchChannelSelectorManager NIOAsynchChannelSelectorManager$1 NIOAsynchChannelSelectorManager$SelectorWorker NIOAsynchChannelSelectorManager$SocketChannelAsynchChannelSelection NIOAsynchChannelServer NIOBaseChannel NIOSynchChannel NIOSynchChannelFactory NIOSynchChannelServer SocketSynchChannel SocketSynchChannelFactory SocketSynchChannelServer SslSocketSynchChannelFactory URISupport VMPipeAsynchChannelFactory VMPipeAsynchChannelFactory$ClassloaderAsynchChannelAdapter VMPipeAsynchChannelFactory$ClassloaderAsynchChannelAdapter$ListenerProxyHandler VMPipeAsynchChannelPipe VMPipeAsynchChannelPipe$PipeChannel VMPipeAsynchChannelServer | org.activeio.adapter | EDU.oswego.cs.dl.util.concurrent com.ibm.io.async java.io java.lang java.lang.reflect java.net java.nio java.nio.channels java.util javax.net javax.net.ssl org.activeio org.activeio.adapter org.activeio.filter org.activeio.packet org.p2psockets

### org.activeio.oneport

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 14 | 8% | 100% | 8%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ProtocolRecognizer | HttpRecognizer IIOPRecognizer JettyOnePortSocketListener OnePortAsynchChannelServer OnePortAsynchChannelServer$1 OnePortAsynchChannelServer$OnePortAcceptListener OnePortAsynchChannelServer$ProtocolInspectingAsynchChannel OnePortAsynchChannelServer$SubPortAsynchChannelServer OpenORBOpenPortFeatureInitializer OpenORBOpenPortSocketFactory UnknownRecognizer | None | EDU.oswego.cs.dl.util.concurrent java.io java.lang java.net java.util org.activeio org.activeio.adapter org.activeio.filter org.activeio.packet org.mortbay.http org.mortbay.util org.omg.PortableInterceptor org.openorb.orb.net org.openorb.orb.pi

### org.activeio.packet

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
6 | 7 | 20% | 54% | 26%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
FilterPacket PacketPool | AppendedPacket ByteArrayPacket ByteBufferPacket ByteBufferPacketPool BytePacket EOSPacket EmptyPacket PacketPool$PooledPacket | org.activeio.adapter org.activeio.filter org.activeio.journal.active org.activeio.journal.howl org.activeio.net org.activeio.oneport | EDU.oswego.cs.dl.util.concurrent java.io java.lang java.lang.reflect java.nio java.util org.activeio

## Cycles

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

Package | Cyclic Dependencies
--- | ---
org.activeio | org.activeio.adapter org.activeio.packet org.activeio
org.activeio.adapter | org.activeio.packet org.activeio org.activeio.adapter
org.activeio.filter | org.activeio org.activeio.adapter org.activeio.packet org.activeio
org.activeio.journal | org.activeio org.activeio.adapter org.activeio.packet org.activeio
org.activeio.journal.active | org.activeio org.activeio.adapter org.activeio.packet org.activeio
org.activeio.journal.howl | org.activeio.journal org.activeio org.activeio.adapter org.activeio.packet org.activeio
org.activeio.net | org.activeio org.activeio.adapter org.activeio.packet org.activeio
org.activeio.oneport | org.activeio.adapter org.activeio.packet org.activeio org.activeio.adapter
org.activeio.packet | org.activeio org.activeio.adapter org.activeio.packet

## Explanations

[ 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.