org.acm.seguin.metrics
Class ProjectMetrics

java.lang.Object
  extended by org.acm.seguin.metrics.ProjectMetrics

public class ProjectMetrics
extends java.lang.Object

Stores the metrics for a particular project

Author:
Chris Seguin

Constructor Summary
ProjectMetrics()
          Constructor for the ProjectMetrics object
 
Method Summary
 double getAbstractClassPercentage()
          Return the abstract class count
 int getAbstractClassTotal()
          Return the abstract class count
 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
 double getInterfacePercentage()
          Return the abstract class count
 int getInterfaceTotal()
          Return the abstract class count
 int getMethodTotal()
          Return the class method count
 double getOtherMethodAverage()
          Return the other method count
 int getOtherMethodTotal()
          Return the other method count
 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

ProjectMetrics

public ProjectMetrics()
Constructor for the ProjectMetrics object

Method Detail

getPublicMethodTotal

public int getPublicMethodTotal()
Return the public method count

Returns:
The public method count

getOtherMethodTotal

public int getOtherMethodTotal()
Return the other method count

Returns:
The other method count

getClassMethodTotal

public int getClassMethodTotal()
Return the class method count

Returns:
The class method count

getMethodTotal

public int getMethodTotal()
Return the class method count

Returns:
The class method count

getInstanceVariableTotal

public int getInstanceVariableTotal()
Return the instance variable count

Returns:
The instance variable count

getClassVariableTotal

public int getClassVariableTotal()
Return the class variable count

Returns:
The class variable count

getClassTotal

public int getClassTotal()
Return the class count

Returns:
The class count

getAbstractClassTotal

public int getAbstractClassTotal()
Return the abstract class count

Returns:
The abstract class count

getInterfaceTotal

public int getInterfaceTotal()
Return the abstract class count

Returns:
The abstract class count

getStatementTotal

public int getStatementTotal()
Return the statement total

Returns:
The statement total

getParameterTotal

public int getParameterTotal()
Return the parameter total

Returns:
The parameter total

getStatementAverage

public double getStatementAverage()
Return the statement average

Returns:
The statement average

getParameterAverage

public double getParameterAverage()
Return the parameter average

Returns:
The parameter average

getPublicMethodAverage

public double getPublicMethodAverage()
Return the public method count

Returns:
The public method count

getOtherMethodAverage

public double getOtherMethodAverage()
Return the other method count

Returns:
The other method count

getClassMethodAverage

public double getClassMethodAverage()
Return the class method count

Returns:
The class method count

getInstanceVariableAverage

public double getInstanceVariableAverage()
Return the instance variable count

Returns:
The instance variable count

getClassVariableAverage

public double getClassVariableAverage()
Return the class variable count

Returns:
The class variable count

getAbstractClassPercentage

public double getAbstractClassPercentage()
Return the abstract class count

Returns:
The abstract class count

getInterfacePercentage

public double getInterfacePercentage()
Return the abstract class count

Returns:
The abstract class count