Duplicated blocks

CachéQuality release 
CachéQuality 1.0.0
Domain 
Duplications
Scope 
File
Class

Number of duplicated blocks of lines.

    Method of calculation

    For a block of code to be considered as duplicated:

    • There should be at least 100 successive and duplicated tokens.
    • Those tokens should be spread at least on 10 lines of code.

    Differences in indentation as well as in string literals are ignored while detecting duplications.