| Package | Description |
|---|---|
| org.myire.scent.metrics |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Iterable<TypeMetrics> |
TypeMetrics.getInnerTypes() |
Get an
Iterable that iterates over the metrics for each inner type defined within
this type. |
java.lang.Iterable<TypeMetrics> |
MethodMetrics.getLocalTypes() |
Get an
Iterable that iterates over the metrics for each local type defined in the
method. |
java.lang.Iterable<TypeMetrics> |
CompilationUnitMetrics.getTypes() |
Get an
Iterable that iterates over the metrics for each type contained within the
compilation unit. |
| Modifier and Type | Method | Description |
|---|---|---|
AggregatedMetrics |
AggregatedMetrics.add(TypeMetrics pValues) |
Add a
TypeMetrics to this aggregation. |
void |
CompilationUnitMetrics.add(TypeMetrics pType) |
Add metrics for a type to this instance.
|
void |
MethodMetrics.add(TypeMetrics pLocalType) |
Add metrics for a local type to this instance.
|
void |
TypeMetrics.add(TypeMetrics pInnerType) |
Add metrics for an inner type to this instance.
|
AggregatedMetrics |
AggregatedMetrics.addChildren(TypeMetrics pValues) |
Add the comments and members of a
TypeMetrics to this aggregation. |
static AggregatedMetrics |
AggregatedMetrics.of(TypeMetrics pValues) |
Create a new
AggregatedMetrics and add the values from a TypeMetrics to the
aggregation. |
static AggregatedMetrics |
AggregatedMetrics.ofChildren(TypeMetrics pValues) |
Create a new
AggregatedMetrics and add values from the comments and members of a
TypeMetrics to the aggregation. |