|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rj.tools.jcsc.ant.BatchResult
Collects the data from a class which was parsed in a batch job ie many classes (usually a whole prjoect) are being parsed. Each parsed class creates a instance of this class for later analysis.
Constructor Summary | |
BatchResult(Violation[] violations,
java.lang.String packageName,
java.lang.String className,
java.lang.String authors,
int methodCount,
int ncssCount,
int lineCount,
int unitTestClassCount,
int unitTestsCount)
Creates a new instance of BatchResult. |
Method Summary | |
java.lang.String |
getAuthors()
the names of the author(s) working on that class |
java.lang.String |
getClassName()
the name of the class |
int |
getHighestSeverityLevel()
level of highest severity found |
int |
getLineCount()
count of lines |
int |
getMethodCount()
the number of methods in taht class |
int |
getNcssCount()
count of none commenting source statements (ncss) |
java.lang.String |
getPackageName()
the name of the package of the class |
int |
getUnitTestClassCount()
number of unit test classes for that class |
int |
getUnitTestsCount()
number of unit tests for that class |
Violation[] |
getViolations()
array of violations for that class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BatchResult(Violation[] violations, java.lang.String packageName, java.lang.String className, java.lang.String authors, int methodCount, int ncssCount, int lineCount, int unitTestClassCount, int unitTestsCount)
violations
- packageName
- className
- authors
- methodCount
- ncssCount
- lineCount
- unitTestClassCount
- unitTestsCount
- Method Detail |
public java.lang.String getClassName()
public java.lang.String getPackageName()
public java.lang.String getAuthors()
public int getMethodCount()
public int getNcssCount()
public int getLineCount()
public int getUnitTestClassCount()
public int getUnitTestsCount()
public int getHighestSeverityLevel()
public Violation[] getViolations()
Violation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |