[ package ] [ object ] [ function ] [ explanation ]
The following document contains the results of a JavaNCSS metric analysis.[ package ] [ object ] [ function ] [ explanation ]
Packages sorted by NCSS.
Package | Classes | Functions | NCSS | Javadocs | Javadoc lines | Single lines comment | Multi lines comment |
---|---|---|---|---|---|---|---|
net.sf.hermesftp.cmd.impl | 40 | 142 | 960 | 170 | 1362 | 2 | 898 |
net.sf.hermesftp.cmd | 14 | 99 | 709 | 108 | 556 | 7 | 337 |
net.sf.hermesftp.streams | 11 | 60 | 442 | 63 | 324 | 0 | 254 |
net.sf.hermesftp.console | 9 | 56 | 415 | 53 | 259 | 0 | 201 |
net.sf.hermesftp.utils | 9 | 39 | 386 | 47 | 277 | 3 | 211 |
net.sf.hermesftp.session.impl | 2 | 56 | 334 | 51 | 166 | 13 | 63 |
net.sf.hermesftp.usermanager.impl | 2 | 23 | 255 | 19 | 77 | 0 | 45 |
net.sf.hermesftp.common | 6 | 66 | 214 | 69 | 366 | 0 | 286 |
net.sf.hermesftp.usermanager.model | 5 | 34 | 173 | 38 | 210 | 0 | 113 |
net.sf.hermesftp.server | 2 | 39 | 168 | 39 | 167 | 0 | 49 |
net.sf.hermesftp.parser.impl | 2 | 25 | 167 | 18 | 74 | 10 | 44 |
net.sf.hermesftp.server.impl | 3 | 23 | 151 | 25 | 85 | 0 | 66 |
net.sf.hermesftp.exception | 13 | 38 | 119 | 51 | 218 | 0 | 286 |
net.sf.hermesftp | 1 | 6 | 89 | 3 | 13 | 0 | 28 |
net.sf.hermesftp.parser | 2 | 9 | 20 | 10 | 52 | 0 | 49 |
net.sf.hermesftp.usermanager | 1 | 11 | 20 | 12 | 80 | 0 | 22 |
net.sf.hermesftp.session | 1 | 6 | 10 | 7 | 31 | 0 | 22 |
Classes total | Functions total | NCSS total | Javadocs | Javadoc lines | Single lines comment | Multi lines comment |
---|---|---|---|---|---|---|
123 | 732 | 4632 | 783 | 4317 | 35 | 2974 |
[ package ] [ object ] [ function ] [ explanation ]
TOP 30 classes containing the most NCSS.
Object | NCSS | Functions | Classes | Javadocs |
---|---|---|---|---|
net.sf.hermesftp.session.impl.FtpSessionContextImpl | 207 | 44 | 0 | 43 |
net.sf.hermesftp.server.AbstractFtpServer | 130 | 29 | 0 | 28 |
net.sf.hermesftp.cmd.AbstractFtpCmdStor | 122 | 15 | 0 | 16 |
net.sf.hermesftp.common.FtpConstants | 119 | 0 | 0 | 1 |
net.sf.hermesftp.usermanager.impl.XmlFileReader | 119 | 7 | 0 | 5 |
net.sf.hermesftp.parser.impl.FtpCmdReaderThread | 110 | 19 | 0 | 11 |
net.sf.hermesftp.cmd.AbstractFtpCmdRetr | 108 | 14 | 0 | 13 |
net.sf.hermesftp.usermanager.impl.XmlFileUserManager | 94 | 16 | 0 | 14 |
net.sf.hermesftp.server.impl.FtpServerOptionsImpl | 88 | 18 | 0 | 19 |
net.sf.hermesftp.session.impl.FtpSessionImpl | 82 | 12 | 0 | 8 |
net.sf.hermesftp.streams.BlockModeInputStream | 76 | 7 | 0 | 6 |
net.sf.hermesftp.streams.RecordInputStream | 74 | 7 | 0 | 7 |
net.sf.hermesftp.console.SessionsServlet | 72 | 9 | 0 | 6 |
net.sf.hermesftp.cmd.PassiveModeSocketProvider | 71 | 7 | 0 | 7 |
net.sf.hermesftp.FtpServerApp | 70 | 6 | 0 | 3 |
net.sf.hermesftp.utils.IOUtils | 67 | 5 | 0 | 6 |
net.sf.hermesftp.console.AbstractConsoleServlet | 66 | 16 | 0 | 16 |
net.sf.hermesftp.cmd.AbstractFtpCmdStorFile | 63 | 5 | 0 | 5 |
net.sf.hermesftp.cmd.AbstractFtpCmd | 62 | 19 | 0 | 20 |
net.sf.hermesftp.console.ConsoleServerImpl | 62 | 12 | 0 | 12 |
net.sf.hermesftp.console.UserServlet | 60 | 7 | 0 | 4 |
net.sf.hermesftp.cmd.impl.FtpCmdRetr | 57 | 7 | 0 | 7 |
net.sf.hermesftp.utils.SecurityUtil | 56 | 5 | 0 | 5 |
net.sf.hermesftp.utils.NetUtils | 52 | 5 | 0 | 6 |
net.sf.hermesftp.cmd.impl.FtpCmdAuth | 47 | 7 | 0 | 7 |
net.sf.hermesftp.streams.BlockModeOutputStream | 47 | 8 | 0 | 8 |
net.sf.hermesftp.utils.VarMerger | 45 | 6 | 0 | 7 |
net.sf.hermesftp.streams.TextInputStream | 43 | 5 | 0 | 6 |
net.sf.hermesftp.common.FtpSessionContext | 42 | 41 | 0 | 42 |
net.sf.hermesftp.cmd.ActiveModeSocketProvider | 41 | 6 | 0 | 6 |
TOP 30 classes containing the most functions.
Object | NCSS | Functions | Classes | Javadocs |
---|---|---|---|---|
net.sf.hermesftp.session.impl.FtpSessionContextImpl | 207 | 44 | 0 | 43 |
net.sf.hermesftp.common.FtpSessionContext | 42 | 41 | 0 | 42 |
net.sf.hermesftp.server.AbstractFtpServer | 130 | 29 | 0 | 28 |
net.sf.hermesftp.cmd.AbstractFtpCmd | 62 | 19 | 0 | 20 |
net.sf.hermesftp.parser.impl.FtpCmdReaderThread | 110 | 19 | 0 | 11 |
net.sf.hermesftp.common.FtpServerOptions | 19 | 18 | 0 | 16 |
net.sf.hermesftp.server.impl.FtpServerOptionsImpl | 88 | 18 | 0 | 19 |
net.sf.hermesftp.console.AbstractConsoleServlet | 66 | 16 | 0 | 16 |
net.sf.hermesftp.usermanager.impl.XmlFileUserManager | 94 | 16 | 0 | 14 |
net.sf.hermesftp.cmd.AbstractFtpCmdStor | 122 | 15 | 0 | 16 |
net.sf.hermesftp.cmd.AbstractFtpCmdRetr | 108 | 14 | 0 | 13 |
net.sf.hermesftp.usermanager.model.UserData | 35 | 13 | 0 | 14 |
net.sf.hermesftp.console.ConsoleServerImpl | 62 | 12 | 0 | 12 |
net.sf.hermesftp.session.impl.FtpSessionImpl | 82 | 12 | 0 | 8 |
net.sf.hermesftp.usermanager.UserManager | 12 | 11 | 0 | 12 |
net.sf.hermesftp.server.FtpServer | 11 | 10 | 0 | 11 |
net.sf.hermesftp.console.SessionsServlet | 72 | 9 | 0 | 6 |
net.sf.hermesftp.streams.RafOutputStream | 37 | 9 | 0 | 9 |
net.sf.hermesftp.cmd.DataChannelInfo | 23 | 8 | 0 | 9 |
net.sf.hermesftp.cmd.FtpCmd | 9 | 8 | 0 | 9 |
net.sf.hermesftp.streams.BlockModeOutputStream | 47 | 8 | 0 | 8 |
net.sf.hermesftp.streams.RafInputStream | 31 | 8 | 0 | 8 |
net.sf.hermesftp.cmd.impl.FtpCmdAuth | 47 | 7 | 0 | 7 |
net.sf.hermesftp.cmd.impl.FtpCmdRetr | 57 | 7 | 0 | 7 |
net.sf.hermesftp.cmd.PassiveModeSocketProvider | 71 | 7 | 0 | 7 |
net.sf.hermesftp.console.UserServlet | 60 | 7 | 0 | 4 |
net.sf.hermesftp.streams.BlockModeInputStream | 76 | 7 | 0 | 6 |
net.sf.hermesftp.streams.RecordInputStream | 74 | 7 | 0 | 7 |
net.sf.hermesftp.streams.RecordOutputStream | 36 | 7 | 0 | 7 |
net.sf.hermesftp.usermanager.impl.XmlFileReader | 119 | 7 | 0 | 5 |
NCSS average | Program NCSS | Classes average | Functions average | Javadocs average |
---|---|---|---|---|
31.51 | 4,632.00 | 0.00 | 5.95 | 6.37 |
[ package ] [ object ] [ function ] [ explanation ]
TOP 30 functions containing the most NCSS.
Functions | NCSS | CCN | Javadocs |
---|---|---|---|
net.sf.hermesftp.cmd.AbstractFtpCmdStor.execute(boolean) | 42 | 11 | 1 |
net.sf.hermesftp.cmd.AbstractFtpCmdRetr.execute() | 39 | 11 | 1 |
net.sf.hermesftp.server.AbstractFtpServer.run() | 33 | 5 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdMdtm.execute() | 32 | 11 | 1 |
net.sf.hermesftp.FtpServerApp.startServer(String[]) | 32 | 10 | 0 |
net.sf.hermesftp.cmd.AbstractFtpCmdList.execute() | 31 | 8 | 1 |
net.sf.hermesftp.streams.BlockModeInputStream.read() | 29 | 10 | 1 |
net.sf.hermesftp.usermanager.impl.XmlFileReader.processGroupData(Document,UserManagerData) | 27 | 6 | 0 |
net.sf.hermesftp.session.impl.FtpSessionImpl.run() | 26 | 6 | 1 |
net.sf.hermesftp.usermanager.impl.XmlFileReader.processUserData(Document,UserManagerData) | 26 | 6 | 0 |
net.sf.hermesftp.utils.SecurityUtil.createSslContext(String,char[]) | 24 | 15 | 1 |
net.sf.hermesftp.streams.RecordInputStream.readRecord() | 23 | 10 | 1 |
net.sf.hermesftp.utils.IOUtils.formatUnixFtpFileInfo(File,boolean,boolean) | 21 | 4 | 1 |
net.sf.hermesftp.cmd.AbstractFtpCmdStorFile.doStoreFileData(InputStream,File,long) | 20 | 4 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdMode.execute() | 20 | 5 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdRnto.execute() | 20 | 9 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdStat.execute() | 20 | 6 | 1 |
net.sf.hermesftp.cmd.PassiveModeSocketProvider.init() | 20 | 9 | 1 |
net.sf.hermesftp.session.impl.FtpSessionContextImpl.authenticate() | 20 | 5 | 1 |
net.sf.hermesftp.utils.NetUtils.checkIPMatch(String,String) | 20 | 9 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdAuth.execute() | 19 | 6 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdRetr.doRetrieveFileData(OutputStream,File,long) | 19 | 4 | 1 |
net.sf.hermesftp.parser.impl.FtpCmdReaderThread.waitForNextCommand(int) | 19 | 9 | 1 |
net.sf.hermesftp.cmd.AbstractFtpCmdStorFile.doStoreRecordData(RecordReadSupport,File,long) | 18 | 4 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdProt.execute() | 18 | 7 | 1 |
net.sf.hermesftp.cmd.impl.FtpCmdRetr.doRetrieveRecordData(RecordWriteSupport,File,long) | 18 | 4 | 1 |
net.sf.hermesftp.streams.TextInputStream.read() | 18 | 6 | 1 |
net.sf.hermesftp.usermanager.impl.XmlFileReader.read() | 18 | 6 | 1 |
net.sf.hermesftp.cmd.AbstractFtpCmdPort.execute() | 17 | 5 | 1 |
net.sf.hermesftp.console.ConsolePassword.check(Object) | 17 | 10 | 1 |
Averages.
Program NCSS | NCSS average | CCN average | Javadocs average |
---|---|---|---|
4,632.00 | 4.59 | 1.86 | 0.90 |
[ package ] [ object ] [ function ] [ explanation ]
Non Commenting Source Statements (NCSS)
Statements for JavaNCSS are not statements as specified in the Java Language Specification but include all kinds of declarations too. Roughly spoken, NCSS is approximately equivalent to counting ';' and '{' characters in Java source files.
Not counted are empty statements, empty blocks or semicolons after closing brackets. Of course, comments don't get counted too. Closing brackets also never get counted, the same applies to blocks in general.
Examples | Comments | |
---|---|---|
Package declaration | package java.lang; | |
Import declaration | import java.awt.*; | |
Class declaration |
| |
Interface declaration | public interface Able ; { | |
Field declaration |
| |
Method declaration |
| |
Constructor declaration | public Foo() { | |
Constructor invocation |
| |
Statement declaration |
| expression, if, else, while, do, for, switch, break, continue, return, throw, synchronized, catch, finally |
Label declaration | fine : | normal, case, default |