| |
|
| java.lang.Object org.acm.seguin.metrics.PackageMetrics
PackageMetrics | public class PackageMetrics (Code) | | Stores the metrics for a particular package
author: Chris Seguin |
PackageMetrics | public PackageMetrics(String initPackage)(Code) | | Constructor for the PackageMetrics object
Parameters: initPackage - Description of Parameter |
add | void add(TypeMetrics typeData)(Code) | | Add in a type
Parameters: typeData - the type data |
getAbstractClassCount | public int getAbstractClassCount()(Code) | | Return the abstract class count
The abstract class count |
getAbstractClassPercentage | public double getAbstractClassPercentage()(Code) | | Return the abstract class count
The abstract class count |
getBlockDepthAverage | public double getBlockDepthAverage()(Code) | | Return the block depth average
The block depth average |
getClassMethodAverage | public double getClassMethodAverage()(Code) | | Return the class method count
The class method count |
getClassMethodTotal | public int getClassMethodTotal()(Code) | | Return the class method count
The class method count |
getClassTotal | public int getClassTotal()(Code) | | Return the class count
The class count |
getClassVariableAverage | public double getClassVariableAverage()(Code) | | Return the class variable count
The class variable count |
getClassVariableTotal | public int getClassVariableTotal()(Code) | | Return the class variable count
The class variable count |
getInstanceVariableAverage | public double getInstanceVariableAverage()(Code) | | Return the instance variable count
The instance variable count |
getInstanceVariableTotal | public int getInstanceVariableTotal()(Code) | | Return the instance variable count
The instance variable count |
getInterfaceCount | public int getInterfaceCount()(Code) | | Return the abstract class count
The abstract class count |
getInterfacePercentage | public double getInterfacePercentage()(Code) | | Return the abstract class count
The abstract class count |
getLinesOfCodeAverage | public double getLinesOfCodeAverage()(Code) | | Return the lines of code average
The lines of code average |
getOtherMethodAverage | public double getOtherMethodAverage()(Code) | | Return the other method count
The other method count |
getOtherMethodTotal | public int getOtherMethodTotal()(Code) | | Return the other method count
The other method count |
getPackageName | public String getPackageName()(Code) | | Get 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 |
getPublicMethodAverage | public double getPublicMethodAverage()(Code) | | Return the public method count
The public method count |
getPublicMethodTotal | public int getPublicMethodTotal()(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 |
incrAbstractClassCount | void incrAbstractClassCount()(Code) | | Increment the abstract class count
|
incrInterfaceCount | void incrInterfaceCount()(Code) | | Increment the interface count
|
|
|
|