Metric-CloneRatio¶
Clone Ratio
The ratio between cloned lines and the total number of lines of code.Possible Messages
This rule has no predefined messages.
Options¶
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
This rule shares the following common metric options: report_all_values
The following places define options that affect this rule: Analysis-GlobalOptions
clone_detection_rulename¶
clone_detection_rulename : str = 'C++CloneDetection'
display_name¶
display_name : str | None = 'Clone Ratio'
max_value¶
max_value : float | None = 25.0
min_value¶
min_value : float | None = 0.0
rfg_metric_name¶
rfg_metric_name : str = 'Metric.Clone_Ratio'