Documentation Migration How-to Download Release Notes Development Coding Specifications Original Proposal Project Documentation Front Page Project Info Project Reports Metrics Checkstyle Change Log File Activity Developer Activity JavaDocs JavaDoc Report Source Xref Unit Tests Task List Development Process | ### 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 | Total Classes | Abstract Classes | Concrete Classes | Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | --- | --- | --- | --- | ---
examples | 19 | 0 | 19 | 0 | 13 | 0 | 100% | 0%
org.apache.commons.net | 22 | 5 | 17 | 8 | 5 | 0.23 | 38% | 39%
org.apache.commons.net.bsd | 3 | 0 | 3 | 1 | 5 | 0 | 83% | 17%
org.apache.commons.net.ftp | 8 | 1 | 7 | 1 | 7 | 0.12 | 88% | 0%
org.apache.commons.net.io | 13 | 1 | 12 | 8 | 5 | 0.08 | 38% | 54%
org.apache.commons.net.nntp | 9 | 0 | 9 | 1 | 5 | 0 | 83% | 17%
org.apache.commons.net.pop3 | 5 | 0 | 5 | 1 | 6 | 0 | 86% | 14%
org.apache.commons.net.smtp | 7 | 0 | 7 | 1 | 6 | 0 | 86% | 14%
org.apache.commons.net.telnet | 6 | 0 | 6 | 2 | 4 | 0 | 67% | 33%
org.apache.commons.net.tftp | 10 | 2 | 8 | 1 | 5 | 0.2 | 83% | 3%
org.apache.commons.net.util | 1 | 0 | 1 | 2 | 3 | 0 | 60% | 40%
### Packages [ summary ] [ packages ] [ cycles ] [ explanations ] #### examples
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 13 | 0% | 100% | 0%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| IOUtil PrintCommandListener chargen daytime echo finger ftp fwhois mail messages newsgroups post rdate rexec rlogin rshell server2serverFTP tftp weatherTelnet |  | java.io java.lang java.net java.util org.apache.commons.net org.apache.commons.net.bsd org.apache.commons.net.ftp org.apache.commons.net.io org.apache.commons.net.nntp org.apache.commons.net.pop3 org.apache.commons.net.smtp org.apache.commons.net.telnet org.apache.commons.net.tftp
#### org.apache.commons.net
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
8 | 5 | 23% | 38% | 39%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
DatagramSocketClient DatagramSocketFactory ProtocolCommandListener SocketClient SocketFactory | CharGenTCPClient CharGenUDPClient DaytimeTCPClient DaytimeUDPClient DefaultDatagramSocketFactory DefaultSocketFactory DiscardTCPClient DiscardUDPClient EchoTCPClient EchoUDPClient FingerClient MalformedServerReplyException ProtocolCommandEvent ProtocolCommandSupport TimeTCPClient TimeUDPClient WhoisClient | examples org.apache.commons.net.bsd org.apache.commons.net.ftp org.apache.commons.net.nntp org.apache.commons.net.pop3 org.apache.commons.net.smtp org.apache.commons.net.telnet org.apache.commons.net.tftp | java.io java.lang java.net java.util org.apache.commons.net.util
#### org.apache.commons.net.bsd
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 5 | 0% | 83% | 17%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| RCommandClient RExecClient RLoginClient | examples | java.io java.lang java.net org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.ftp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 7 | 12% | 88% | 0%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
FTPFileListParser | DefaultFTPFileListParser FTP FTPClient FTPCommand FTPConnectionClosedException FTPFile FTPReply | examples | java.io java.lang java.net java.util org.apache.commons.net org.apache.commons.net.io org.apache.commons.net.telnet
#### org.apache.commons.net.io
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
8 | 5 | 8% | 38% | 54%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
CopyStreamListener | CopyStreamAdapter CopyStreamEvent CopyStreamException DotTerminatedMessageReader DotTerminatedMessageWriter FromNetASCIIInputStream FromNetASCIIOutputStream SocketInputStream SocketOutputStream ToNetASCIIInputStream ToNetASCIIOutputStream Util | examples org.apache.commons.net.bsd org.apache.commons.net.ftp org.apache.commons.net.nntp org.apache.commons.net.pop3 org.apache.commons.net.smtp org.apache.commons.net.telnet org.apache.commons.net.tftp | java.io java.lang java.net java.util org.apache.commons.net.util
#### org.apache.commons.net.nntp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 5 | 0% | 83% | 17%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| ArticlePointer NNTP NNTPClient NNTPCommand NNTPConnectionClosedException NNTPReply NewGroupsOrNewsQuery NewsgroupInfo SimpleNNTPHeader | examples | java.io java.lang java.util org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.pop3
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 6 | 0% | 86% | 14%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| POP3 POP3Client POP3Command POP3MessageInfo POP3Reply | examples | java.io java.lang java.security java.util org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.smtp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 6 | 0% | 86% | 14%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| RelayPath SMTP SMTPClient SMTPCommand SMTPConnectionClosedException SMTPReply SimpleSMTPHeader | examples | java.io java.lang java.net java.util org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.telnet
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 4 | 0% | 67% | 33%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| Telnet TelnetClient TelnetCommand TelnetInputStream TelnetOption TelnetOutputStream | examples org.apache.commons.net.ftp | java.io java.lang org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.tftp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 5 | 20% | 83% | 3%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
TFTPPacket TFTPRequestPacket | TFTP TFTPAckPacket TFTPClient TFTPDataPacket TFTPErrorPacket TFTPPacketException TFTPReadRequestPacket TFTPWriteRequestPacket | examples | java.io java.lang java.net org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.util
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 3 | 0% | 60% | 40%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
| ListenerList | org.apache.commons.net org.apache.commons.net.io | java.io java.lang java.util
### Cycles [ summary ] [ packages ] [ cycles ] [ explanations ] There are no cyclic dependancies. ### 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.