| |
|
| java.lang.Object org.acm.seguin.metrics.TypeMetrics
TypeMetrics | public class TypeMetrics (Code) | | Stores the metrics for a particular type
author: Chris Seguin |
TypeMetrics | public TypeMetrics(String initPackage, String initType)(Code) | | Constructor for the TypeMetrics object
Parameters: initPackage - The package Parameters: initType - The type |
add | void add(MethodMetrics methodData)(Code) | | Add in a method
Parameters: methodData - the method data |
getBlockDepthAverage | public double getBlockDepthAverage()(Code) | | Return the average block depth
The parameter average |
getBlockDepthTotal | public int getBlockDepthTotal()(Code) | | Return the block depth for use in computing system wide averages
The block depth total |
getClassMethodCount | public int getClassMethodCount()(Code) | | Return the class method count
The class method count |
getClassVariableCount | public int getClassVariableCount()(Code) | | Return the class variable count
The class variable count |
getInstanceVariableCount | public int getInstanceVariableCount()(Code) | | Return the instance variable count
The instance variable count |
getLinesOfCodeAverage | public double getLinesOfCodeAverage()(Code) | | Return the average lines of code
The parameter average |
getLinesOfCodeTotal | public int getLinesOfCodeTotal()(Code) | | Return the lines of code for use in computing system wide averages
The block depth total |
getOtherMethodCount | public int getOtherMethodCount()(Code) | | Return the other method count
The other method count |
getPackageName | public String getPackageName()(Code) | | Return the package name
the package name |
getParameterAverage | public double getParameterAverage()(Code) | | Return the parameter average
The parameter average |
getParameterTotal | public int getParameterTotal()(Code) | | Return the parameter total
The parameter total |
getPublicMethodCount | public int getPublicMethodCount()(Code) | | Return the public method count
The public method count |
getStatementAverage | public double getStatementAverage()(Code) | | Return the statement average
The statement average |
getStatementTotal | public int getStatementTotal()(Code) | | Return the statement total
The statement total |
getTypeName | public String getTypeName()(Code) | | Return the type name
The type name |
incrClassMethodCount | void incrClassMethodCount()(Code) | | Increment the class method count
|
incrClassVariableCount | void incrClassVariableCount()(Code) | | Increment the class variable count
|
incrInstanceVariableCount | void incrInstanceVariableCount()(Code) | | Increment the instance variable count
|
incrOtherMethodCount | void incrOtherMethodCount()(Code) | | Increment the other method count
|
incrPublicMethodCount | void incrPublicMethodCount()(Code) | | Increment the public method count
|
|
|
|