public class BatchResult
extends java.lang.Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
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
- 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()
JCSC is released under the terms of the GNU General Public License