net.sourceforge.pmd.stat

Class Metric

public class Metric extends Object

Author: David Dixon-Peugh

This class holds all sorts of statistical information.

Constructor Summary
Metric(String name, int count, double total, double low, double high, double mean, double stddev)
Method Summary
doublegetAverage()
intgetCount()
doublegetHighValue()
doublegetLowValue()
StringgetMetricName()
doublegetStandardDeviation()
doublegetTotal()

Constructor Detail

Metric

public Metric(String name, int count, double total, double low, double high, double mean, double stddev)

Method Detail

getAverage

public double getAverage()

getCount

public int getCount()

getHighValue

public double getHighValue()

getLowValue

public double getLowValue()

getMetricName

public String getMetricName()

getStandardDeviation

public double getStandardDeviation()

getTotal

public double getTotal()