About Us Home Contributors License Components Sandbox Documentation Migration How-to FAQ Download Release Notes Development To-Do List Coding Specifications Project Documentation About Jakarta Commons Net Project Info Project Reports Changes Task List Unit Tests Metrics JCoverage Simian Report JavaDocs JavaDoc Report JavaDoc Warnings Report Source Xref Test Xref Project License Development Process General Information Charter Volunteering Contributing Patches Releasing Components Jakarta Community Get Involved Mailing Lists Access Source Repositories Commons Resources (Unofficial) Wiki Japanese Translation Korean Translation Related DB Commons XML Commons | ### 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
--- | --- | --- | --- | --- | --- | --- | --- | ---
examples | 20 | 0 | 20 | 1 | 12 | 0 | 92% | 8%
examples.nntp | 5 | 0 | 5 | 0 | 7 | 0 | 100% | 0%
examples.ntp | 2 | 0 | 2 | 0 | 6 | 0 | 100% | 0%
org.apache.commons.net | 22 | 5 | 17 | 10 | 5 | 0.23 | 33% | 44%
org.apache.commons.net.bsd | 3 | 0 | 3 | 1 | 5 | 0 | 83% | 17%
org.apache.commons.net.ftp | 16 | 5 | 11 | 2 | 10 | 0.31 | 83% | 15%
org.apache.commons.net.ftp.parser | 17 | 4 | 13 | 1 | 6 | 0.24 | 86% | 9%
org.apache.commons.net.io | 13 | 1 | 12 | 9 | 5 | 0.08 | 36% | 57%
org.apache.commons.net.nntp | 13 | 1 | 12 | 1 | 5 | 0.08 | 83% | 9%
org.apache.commons.net.ntp | 6 | 1 | 5 | 1 | 7 | 0.17 | 88% | 4%
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 | 13 | 2 | 11 | 2 | 4 | 0.15 | 67% | 18%
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
--- | --- | --- | --- | ---
1 | 12 | 0% | 92% | 8%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | IOUtil IOUtil$1 IOUtil$2 PrintCommandListener TelnetClientExample chargen daytime echo finger ftp fwhois mail messages rdate rexec rlogin rshell server2serverFTP tftp weatherTelnet | examples.nntp | 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.pop3 org.apache.commons.net.smtp org.apache.commons.net.telnet org.apache.commons.net.tftp
#### examples.nntp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 7 | 0% | 100% | 0%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | ExtendedNNTPOps MessageThreading NNTPUtils newsgroups post | None | examples java.io java.lang java.net java.util org.apache.commons.net.io org.apache.commons.net.nntp
#### examples.ntp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 6 | 0% | 100% | 0%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | NTPClient TimeClient | None | java.io java.lang java.net java.text org.apache.commons.net org.apache.commons.net.ntp
#### org.apache.commons.net
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
10 | 5 | 23% | 33% | 44%
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 examples.ntp org.apache.commons.net.bsd org.apache.commons.net.ftp org.apache.commons.net.nntp org.apache.commons.net.ntp 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
--- | --- | --- | ---
None | 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
--- | --- | --- | --- | ---
2 | 10 | 31% | 83% | 15%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Configurable FTPFileEntryParser FTPFileEntryParserImpl FTPFileListParser FTPFileListParserImpl | DefaultFTPFileListParser FTP FTPClient FTPClientConfig FTPCommand FTPConnectionClosedException FTPFile FTPFileIterator FTPFileList FTPListParseEngine FTPReply | examples org.apache.commons.net.ftp.parser | java.io java.lang java.lang.reflect java.net java.text java.util org.apache.commons.net org.apache.commons.net.ftp.parser org.apache.commons.net.io org.apache.commons.net.telnet
#### org.apache.commons.net.ftp.parser
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 6 | 24% | 86% | 9%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ConfigurableFTPFileEntryParserImpl FTPFileEntryParserFactory FTPTimestampParser RegexFTPFileEntryParserImpl | CompositeFileEntryParser DefaultFTPFileEntryParserFactory EnterpriseUnixFTPEntryParser FTPTimestampParserImpl MVSFTPEntryParser NTFTPEntryParser OS2FTPEntryParser OS400FTPEntryParser ParserInitializationException UnixFTPEntryParser VMSFTPEntryParser VMSVersioningFTPEntryParser VMSVersioningFTPEntryParser$NameVersion | org.apache.commons.net.ftp | java.io java.lang java.text java.util org.apache.commons.net.ftp org.apache.oro.text.regex
#### org.apache.commons.net.io
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
9 | 5 | 8% | 36% | 57%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
CopyStreamListener | CopyStreamAdapter CopyStreamEvent CopyStreamException DotTerminatedMessageReader DotTerminatedMessageWriter FromNetASCIIInputStream FromNetASCIIOutputStream SocketInputStream SocketOutputStream ToNetASCIIInputStream ToNetASCIIOutputStream Util | examples examples.nntp 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 | 8% | 83% | 9%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Threadable | Article ArticlePointer NNTP NNTPClient NNTPCommand NNTPConnectionClosedException NNTPReply NewGroupsOrNewsQuery NewsgroupInfo SimpleNNTPHeader ThreadContainer Threader | examples.nntp | java.io java.lang java.util org.apache.commons.net org.apache.commons.net.io
#### org.apache.commons.net.ntp
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 7 | 17% | 88% | 4%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
NtpV3Packet | NTPUDPClient NtpUtils NtpV3Impl TimeInfo TimeStamp | examples.ntp | java.io java.lang java.lang.ref java.net java.text java.util org.apache.commons.net
#### 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
--- | --- | --- | ---
None | 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
--- | --- | --- | ---
None | 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 | 15% | 67% | 18%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
TelnetNotificationHandler TelnetOptionHandler | EchoOptionHandler InvalidTelnetOptionException SimpleOptionHandler SuppressGAOptionHandler Telnet TelnetClient TelnetCommand TelnetInputStream TelnetOption TelnetOutputStream TerminalTypeOptionHandler | 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
--- | --- | --- | ---
None | ListenerList | org.apache.commons.net org.apache.commons.net.io | java.io java.lang java.util
### Cycles [ summary] [ packages] [ cycles] [ explanations]
Package | Cyclic Dependencies
--- | ---
examples | org.apache.commons.net.ftp org.apache.commons.net.ftp.parser org.apache.commons.net.ftp
examples.nntp | examples org.apache.commons.net.ftp org.apache.commons.net.ftp.parser org.apache.commons.net.ftp
org.apache.commons.net.ftp | org.apache.commons.net.ftp.parser org.apache.commons.net.ftp
org.apache.commons.net.ftp.parser | org.apache.commons.net.ftp org.apache.commons.net.ftp.parser
### 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.