Metric-CloneRatioFromRFG

Clone Ratio

Required inputs: RFG

The ratio between cloned lines and the total number of lines of code.

Possible Messages

This rule has no predefined messages.

Options

display_name

display_name : str | None = 'Clone Ratio'

Description of the metric shown in the dashboard. If None, rfg_metric_name is used.
 

max_value

max_value : float | None = 25.0

Maximum allowed value. None if unlimited.
 

min_value

min_value : float | None = 0.0

Minimum allowed value. None if unlimited.
 

rfg_metric_name

rfg_metric_name : str = 'Metric.Clone_Ratio'

Name of the node attribute storing the metric value in the RFG.