MetricsVisitorCalculateMetrics Method |
Visit the code tree (specified in the constructor), calculate all metrics, and return the result.
Namespace:
Nova.Analysis
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public Metrics CalculateMetrics(
CodeObject codeObject = null
)
Parameters
- codeObject (Optional)
- Type: Nova.CodeDOMCodeObject
An optional CodeObject for which to calculate metrics and add them to the total. Defaults
to null, in which case metrics are calculated for the CodeObject specified as the Scope.
Return Value
Type:
MetricsThe
Metrics object with the resulting metrics.
See Also