public class Metric extends Object
Constructor and Description |
---|
Metric(String name,
int count,
double total,
double low,
double high,
double mean,
double stddev)
Creates a new metric with the given information.
|
Modifier and Type | Method and Description |
---|---|
double |
getAverage() |
int |
getCount() |
double |
getHighValue() |
double |
getLowValue() |
String |
getMetricName() |
double |
getStandardDeviation() |
double |
getTotal() |
public Metric(String name, int count, double total, double low, double high, double mean, double stddev)
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 deviationpublic String getMetricName()
public double getLowValue()
public double getHighValue()
public double getAverage()
public double getStandardDeviation()
public int getCount()
public double getTotal()
Copyright © 2002–2017 PMD. All rights reserved.