Package net.sourceforge.pmd.stat
Class Metric
- java.lang.Object
-
- net.sourceforge.pmd.stat.Metric
-
@Deprecated public class Metric extends java.lang.ObjectDeprecated.seeStatisticalRuleThis class holds all sorts of statistical information.- Author:
- David Dixon-Peugh
-
-
Constructor Summary
Constructors Constructor Description Metric(java.lang.String name, int count, double total, double low, double high, double mean, double stddev)Deprecated.Creates a new metric with the given information.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description doublegetAverage()Deprecated.intgetCount()Deprecated.doublegetHighValue()Deprecated.doublegetLowValue()Deprecated.java.lang.StringgetMetricName()Deprecated.doublegetStandardDeviation()Deprecated.doublegetTotal()Deprecated.
-
-
-
Constructor Detail
-
Metric
public Metric(java.lang.String name, int count, double total, double low, double high, double mean, double stddev)Deprecated.Creates a new metric with the given information.- Parameters:
name- the metric's namecount- count of occurrencestotal- the total value of the metriclow- the lowest value of the metrichigh- the highest value of the metricmean- the mean valuestddev- the standard deviation
-
-
Method Detail
-
getMetricName
public java.lang.String getMetricName()
Deprecated.
-
getLowValue
public double getLowValue()
Deprecated.
-
getHighValue
public double getHighValue()
Deprecated.
-
getAverage
public double getAverage()
Deprecated.
-
getStandardDeviation
public double getStandardDeviation()
Deprecated.
-
getCount
public int getCount()
Deprecated.
-
getTotal
public double getTotal()
Deprecated.
-
-