|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.metrics.TypeMetrics
public class TypeMetrics
Stores the metrics for a particular type
Constructor Summary | |
---|---|
TypeMetrics(java.lang.String initPackage,
java.lang.String initType)
Constructor for the TypeMetrics object |
Method Summary | |
---|---|
double |
getBlockDepthAverage()
Return the average block depth |
int |
getBlockDepthTotal()
Return the block depth for use in computing system wide averages |
int |
getClassMethodCount()
Return the class method count |
int |
getClassVariableCount()
Return the class variable count |
int |
getInstanceVariableCount()
Return the instance variable count |
double |
getLinesOfCodeAverage()
Return the average lines of code |
int |
getLinesOfCodeTotal()
Return the lines of code for use in computing system wide averages |
int |
getOtherMethodCount()
Return the other method count |
java.lang.String |
getPackageName()
Return the package name |
double |
getParameterAverage()
Return the parameter average |
int |
getParameterTotal()
Return the parameter total |
int |
getPublicMethodCount()
Return the public method count |
double |
getStatementAverage()
Return the statement average |
int |
getStatementTotal()
Return the statement total |
java.lang.String |
getTypeName()
Return the type name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeMetrics(java.lang.String initPackage, java.lang.String initType)
initPackage
- The packageinitType
- The typeMethod Detail |
---|
public java.lang.String getPackageName()
public java.lang.String getTypeName()
public int getPublicMethodCount()
public int getOtherMethodCount()
public int getClassMethodCount()
public int getInstanceVariableCount()
public int getClassVariableCount()
public int getStatementTotal()
public int getParameterTotal()
public int getBlockDepthTotal()
public int getLinesOfCodeTotal()
public double getStatementAverage()
public double getParameterAverage()
public double getBlockDepthAverage()
public double getLinesOfCodeAverage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |