Metric-Lines.Routine.CommentRatio.LOCQualified

LinesRoutineCommentRatioLocQualified

Required inputs: RFG

The same as the regular comment ratio metric, but requires the routine to contain at least 10 lines of code.

Possible Messages

This rule has no predefined messages.

Options

display_name

display_name : str | None = None

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

max_value

max_value : float | None = None

Maximum allowed value. None if unlimited.
 

min_value

min_value : float | None = None

Minimum allowed value. None if unlimited.
 

rfg_metric_name

rfg_metric_name : str = 'Metric.Lines.Routine.Comment_Ratio.LOC_Qualified'

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