|
|||||||||
| Home >> All >> org >> htmlparser >> tests >> [ codeMetrics overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.htmlparser.tests.codeMetrics
Class LineCounter

java.lang.Objectorg.htmlparser.tests.codeMetrics.LineCounter
- public class LineCounter
- extends java.lang.Object
| Constructor Summary | |
LineCounter()
|
|
| Method Summary | |
int |
count(java.io.File file)
|
int |
countLinesIn(java.io.File file)
Counts code excluding comments and blank lines in the given file |
static void |
main(java.lang.String[] args)
|
int |
recurseDirectory(java.io.File file,
int count)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
LineCounter
public LineCounter()
| Method Detail |
count
public int count(java.io.File file)
countLinesIn
public int countLinesIn(java.io.File file)
- Counts code excluding comments and blank lines in the given file
recurseDirectory
public int recurseDirectory(java.io.File file, int count)
main
public static void main(java.lang.String[] args)
|
|||||||||
| Home >> All >> org >> htmlparser >> tests >> [ codeMetrics overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.htmlparser.tests.codeMetrics.LineCounter