Package | Description |
---|---|
net.sourceforge.pmd.lang.metrics |
Modifier and Type | Method | 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 | Description |
---|---|---|
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.
|
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.
|
Copyright © 2002–2018 PMD. All rights reserved.