Detecting code duplication in O365

Duplicated code impacts the quality of your O365 cloud. Every block of duplicated code detected across the Type Script generates an issue in instance scans.

The severity of the issue depends on the total number of code lines which are repeated in the instance (size of repeated block x number of lines in the block x number of repetitions).

The minimum token length which should be reported as a duplicate is set to 100


Best Practice DescriptionConfiguration Element TypeIssue SeverityIssue Impact Area
Code DuplicationTypeScript

HIGH (if total number of duplicated lines is over 1000)

MEDIUM (if total number of duplicated lines is between 100 and 1000)

LOW (if total number of duplicated lines is between 10 and 100)

MANAGEABILITY