Package | Description |
---|---|
net.sourceforge.pmd.lang.metrics |
Modifier and Type | Method and Description |
---|---|
static ResultOption |
ResultOption.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultOption[] |
ResultOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
MetricsComputer.computeWithResultOption(MetricKey<O> key,
T node,
boolean force,
MetricOptions options,
ResultOption option,
ProjectMemoizer<T,O> stats)
Computes an aggregate result using a ResultOption.
|
double |
AbstractMetricsComputer.computeWithResultOption(MetricKey<O> key,
T node,
boolean force,
MetricOptions options,
ResultOption option,
ProjectMemoizer<T,O> stats) |
double |
AbstractMetricsFacade.computeWithResultOption(MetricKey<O> key,
T node,
MetricOptions options,
ResultOption resultOption)
Compute the sum, average, or highest value of the operation metric on all operations of the class node.
|
Copyright © 2002–2017 PMD. All rights reserved.