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