6.2.5.46. Architecture-CloneView

Create a clone view

Required inputs: RFG

This rule adds a view for the clone results to the RFG.

Cloned code reduces code readability and maintainability.

This rule does not generate clone code issues (use C++CloneDetection or the appropriate rule for other languages to do so).

Possible Messages

This rule has no predefined messages.

Options

The following places define options that affect this rule: Analysis-GlobalOptions

clone_detection_rulename

clone_detection_rulename : str = 'C++CloneDetection'

Rulename of the CloneDetection rule from which the clone view is computed. Note that the rule named here must be explicitly activated. If AxivionC#Frontend is used this defaults to C#CloneDetection if not configured otherwise. If AxivionRustFrontend is used this defaults to RustCloneDetection if not configured otherwise.
 

clone_view_name

clone_view_name : str = 'Clones'

Name of the clone view.