static <O extends Node> double |
MetricsUtil.computeAggregate(MetricKey<? super O> key,
Iterable<? extends O> ops,
MetricOptions options,
ResultOption resultOption) |
Computes an aggregate result for a metric, identified with a ResultOption .
|
static <O extends Node> double |
MetricsUtil.computeAggregate(MetricKey<? super O> key,
Iterable<? extends O> ops,
ResultOption resultOption) |
|
double |
AbstractMetricsComputer.computeForOperation(MetricKey<O> key,
O node,
boolean force,
MetricOptions options,
MetricMemoizer<O> memoizer) |
Deprecated.
|
double |
AbstractMetricsFacade.computeForOperation(MetricKey<O> key,
O node,
MetricOptions options) |
Deprecated.
Computes a metric identified by its key on a operation AST node.
|
double |
LanguageMetricsProvider.computeForOperation(MetricKey<O> key,
O node,
MetricOptions options) |
|
double |
MetricsComputer.computeForOperation(MetricKey<O> key,
O node,
boolean force,
MetricOptions options,
MetricMemoizer<O> memoizer) |
Deprecated.
Computes the value of a metric for an operation and stores the result in the OperationStats object.
|
double |
AbstractMetricsComputer.computeForType(MetricKey<T> key,
T node,
boolean force,
MetricOptions options,
MetricMemoizer<T> memoizer) |
Deprecated.
|
double |
AbstractMetricsFacade.computeForType(MetricKey<T> key,
T node,
MetricOptions options) |
Deprecated.
Computes a metric identified by its code on a class AST node, possibly selecting a variant with the
MetricOptions parameter.
|
double |
LanguageMetricsProvider.computeForType(MetricKey<T> key,
T node,
MetricOptions options) |
|
double |
MetricsComputer.computeForType(MetricKey<T> key,
T node,
boolean force,
MetricOptions options,
MetricMemoizer<T> memoizer) |
Deprecated.
Computes the value of a metric for a class and stores the result in the ClassStats object.
|
static <N extends Node> double |
MetricsUtil.computeMetric(MetricKey<? super N> key,
N node) |
Computes a metric identified by its code on a node, with the default options.
|
static <N extends Node> double |
MetricsUtil.computeMetric(MetricKey<? super N> key,
N node,
MetricOptions options) |
Computes a metric identified by its code on a node, possibly
selecting a variant with the options parameter.
|
static <N extends Node> double |
MetricsUtil.computeMetric(MetricKey<? super N> key,
N node,
MetricOptions options,
boolean forceRecompute) |
Computes a metric identified by its code on a node, possibly
selecting a variant with the options parameter.
|
static <N extends Node> double |
MetricsUtil.computeMetricOrNaN(MetricKey<? super N> key,
N node,
MetricOptions options) |
Deprecated.
|
double |
AbstractMetricsComputer.computeWithResultOption(MetricKey<O> key,
T node,
boolean force,
MetricOptions options,
ResultOption option,
ProjectMemoizer<T,O> stats) |
Deprecated.
|
double |
AbstractMetricsFacade.computeWithResultOption(MetricKey<O> key,
T node,
MetricOptions options,
ResultOption resultOption) |
Deprecated.
Compute the sum, average, or highest value of the operation metric on all operations of the class node.
|
double |
LanguageMetricsProvider.computeWithResultOption(MetricKey<O> key,
T node,
MetricOptions options,
ResultOption option) |
|
double |
MetricsComputer.computeWithResultOption(MetricKey<O> key,
T node,
boolean force,
MetricOptions options,
ResultOption option,
ProjectMemoizer<T,O> stats) |
Deprecated.
Computes an aggregate result using a ResultOption.
|
static <N extends Node> ParameterizedMetricKey<N> |
ParameterizedMetricKey.getInstance(MetricKey<N> key,
MetricOptions options) |
Deprecated.
Builds a parameterized metric key.
|
static <N extends Node> boolean |
MetricsUtil.supportsAll(N node,
MetricKey<N>... metrics) |
|