Represents the result from applying a single metric (to a package, class or method)
Type | Name and description |
---|---|
Object |
getAt(String propertyName) Return the metric result value for the named function (e.g. |
int |
getCount() Return the count of the nodes/results that are descendants. |
Integer |
getLineNumber() Return the line number associated with this metric result (i.e., method or class) |
Metric |
getMetric() @return the Metric for which this object represents results. |
MetricLevel |
getMetricLevel() @return the MetricLevel for this metric result |
Return the metric result value for the named function (e.g. "average", "total")
propertyName
- - the function nameReturn the count of the nodes/results that are descendants. For instance, if this result represents a class, then the count includes all of the method-level result children (if applicable for the metric).
Return the line number associated with this metric result (i.e., method or class)