|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.metrics.PackageMetrics
public class PackageMetrics
Stores the metrics for a particular package
Constructor Summary | |
---|---|
PackageMetrics(java.lang.String initPackage)
Constructor for the PackageMetrics object |
Method Summary | |
---|---|
int |
getAbstractClassCount()
Return the abstract class count |
double |
getAbstractClassPercentage()
Return the abstract class count |
double |
getBlockDepthAverage()
Return the block depth average |
double |
getClassMethodAverage()
Return the class method count |
int |
getClassMethodTotal()
Return the class method count |
int |
getClassTotal()
Return the class count |
double |
getClassVariableAverage()
Return the class variable count |
int |
getClassVariableTotal()
Return the class variable count |
double |
getInstanceVariableAverage()
Return the instance variable count |
int |
getInstanceVariableTotal()
Return the instance variable count |
int |
getInterfaceCount()
Return the abstract class count |
double |
getInterfacePercentage()
Return the abstract class count |
double |
getLinesOfCodeAverage()
Return the lines of code average |
double |
getOtherMethodAverage()
Return the other method count |
int |
getOtherMethodTotal()
Return the other method count |
java.lang.String |
getPackageName()
Get the package name |
double |
getParameterAverage()
Return the parameter average |
int |
getParameterTotal()
Return the parameter total |
double |
getPublicMethodAverage()
Return the public method count |
int |
getPublicMethodTotal()
Return the public method count |
double |
getStatementAverage()
Return the statement average |
int |
getStatementTotal()
Return the statement total |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageMetrics(java.lang.String initPackage)
initPackage
- Description of ParameterMethod Detail |
---|
public java.lang.String getPackageName()
public int getPublicMethodTotal()
public int getOtherMethodTotal()
public int getClassMethodTotal()
public int getInstanceVariableTotal()
public int getClassVariableTotal()
public int getClassTotal()
public int getAbstractClassCount()
public int getInterfaceCount()
public int getStatementTotal()
public int getParameterTotal()
public double getStatementAverage()
public double getParameterAverage()
public double getBlockDepthAverage()
public double getLinesOfCodeAverage()
public double getPublicMethodAverage()
public double getOtherMethodAverage()
public double getClassMethodAverage()
public double getInstanceVariableAverage()
public double getClassVariableAverage()
public double getAbstractClassPercentage()
public double getInterfacePercentage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |