net.sourceforge.pmd.stat
Class Metric

java.lang.Object
  extended bynet.sourceforge.pmd.stat.Metric

public class Metric
extends java.lang.Object

Author:
David Dixon-Peugh This class holds all sorts of statistical information.

Field Summary
private  int count
           
private  double high
           
private  double low
           
private  double mean
           
private  java.lang.String metricName
           
private  double stddev
           
private  double total
           
 
Constructor Summary
Metric(java.lang.String name, int count, double total, double low, double high, double mean, double stddev)
           
 
Method Summary
 double getAverage()
           
 int getCount()
           
 double getHighValue()
           
 double getLowValue()
           
 java.lang.String getMetricName()
           
 double getStandardDeviation()
           
 double getTotal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metricName

private java.lang.String metricName

count

private int count

total

private double total

low

private double low

high

private double high

mean

private double mean

stddev

private double stddev
Constructor Detail

Metric

public Metric(java.lang.String name,
              int count,
              double total,
              double low,
              double high,
              double mean,
              double stddev)
Method Detail

getMetricName

public java.lang.String getMetricName()

getLowValue

public double getLowValue()

getHighValue

public double getHighValue()

getAverage

public double getAverage()

getStandardDeviation

public double getStandardDeviation()

getCount

public int getCount()

getTotal

public double getTotal()