public class Metric
extends java.lang.Object
| Constructor and Description |
|---|
Metric(java.lang.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() |
java.lang.String |
getMetricName() |
double |
getStandardDeviation() |
double |
getTotal() |
public Metric(java.lang.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 java.lang.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.