| Package | Description |
|---|---|
| org.myire.scent.metrics |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Iterable<MethodMetrics> |
TypeMetrics.getMethods() |
Get an
Iterable that iterates over the metrics for each method defined within the
type. |
| Modifier and Type | Method | Description |
|---|---|---|
AggregatedMetrics |
AggregatedMetrics.add(MethodMetrics pValues) |
Add a
MethodMetrics to this aggregation. |
void |
TypeMetrics.add(MethodMetrics pMethod) |
Add metrics for a method to this instance.
|
AggregatedMetrics |
AggregatedMetrics.addChildren(MethodMetrics pValues) |
Add the statements and comments of a
MethodMetrics to this aggregation. |
static AggregatedMetrics |
AggregatedMetrics.of(MethodMetrics pValues) |
Create a new
AggregatedMetrics and add the values from a MethodMetrics to the
aggregation. |
static AggregatedMetrics |
AggregatedMetrics.ofChildren(MethodMetrics pValues) |
Create a new
AggregatedMetrics and add values from the comments and statements of a
MethodMetrics to the aggregation. |