facebookincubator / ConversionsAPI-Tag-for-GoogleTagManager
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 22% duplication:
    • 900 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 201 duplicated lines
  • 14 duplicates
system22% (201 lines)
Duplication per Extension
tpl22% (201 lines)
Duplication per Component (primary)
ROOT22% (201 lines)
Longest Duplicates
The list of 14 longest duplicates.
See data for all 14 duplicates...
Size#FoldersFilesLinesCode
27 x 2 ROOT
ROOT
400:426 (3%)
447:473 (3%)
view
14 x 2 ROOT
ROOT
340:353 (1%)
377:390 (1%)
view
12 x 2 ROOT
ROOT
434:445 (1%)
481:492 (1%)
view
12 x 2 ROOT
ROOT
309:320 (1%)
379:390 (1%)
view
12 x 2 ROOT
ROOT
587:598 (1%)
725:736 (1%)
view
12 x 2 ROOT
ROOT
309:320 (1%)
342:353 (1%)
view
11 x 2 ROOT
ROOT
724:734 (1%)
751:761 (1%)
view
11 x 2 ROOT
ROOT
340:350 (1%)
493:503 (1%)
view
11 x 2 ROOT
ROOT
377:387 (1%)
493:503 (1%)
view
10 x 2 ROOT
ROOT
587:596 (1%)
752:761 (1%)
view
9 x 2 ROOT
ROOT
309:317 (1%)
495:503 (1%)
view
9 x 2 ROOT
ROOT
428:436 (1%)
475:483 (1%)
view
6 x 2 ROOT
ROOT
327:332 (<1%)
360:365 (<1%)
view
6 x 2 ROOT
ROOT
786:791 (<1%)
800:805 (<1%)
view