korosuke613 / safetone
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
  • 4% duplication:
    • 5,296 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 248 duplicated lines
  • 27 duplicates
system4% (248 lines)
Duplication per Extension
yaml4% (236 lines)
ts4% (12 lines)
Duplication per Component (primary)
ROOT4% (248 lines)
scripts0% (0 lines)
src0% (0 lines)
Longest Duplicates
The list of 27 longest duplicates.
See data for all 27 duplicates...
Size#FoldersFilesLinesCode
11 x 2 ROOT
ROOT
572:582 (<1%)
597:607 (<1%)
view
11 x 2 ROOT
ROOT
584:594 (<1%)
608:618 (<1%)
view
9 x 2 ROOT
ROOT
5639:5647 (<1%)
5652:5660 (<1%)
view
9 x 2 ROOT
ROOT
793:801 (<1%)
809:817 (<1%)
view
9 x 2 ROOT
ROOT
4091:4099 (<1%)
4103:4111 (<1%)
view
8 x 2 ROOT
ROOT
2667:2674 (<1%)
2678:2685 (<1%)
view
7 x 2 ROOT
ROOT
2363:2369 (<1%)
2378:2384 (<1%)
view
6 x 2 ROOT
ROOT
2849:2854 (<1%)
4155:4160 (<1%)
view
6 x 2 ROOT
ROOT
5194:5199 (<1%)
5223:5228 (<1%)
view
6 x 2 ROOT
ROOT
4164:4169 (<1%)
4186:4191 (<1%)
view
6 x 2 ROOT
ROOT
601:606 (<1%)
642:647 (<1%)
view
6 x 2 ROOT
ROOT
589:594 (<1%)
685:690 (<1%)
view
6 x 2 ROOT
ROOT
2657:2662 (<1%)
2669:2674 (<1%)
view
6 x 2 ROOT
ROOT
2657:2662 (<1%)
2680:2685 (<1%)
view
6 x 2 ROOT
ROOT
3837:3842 (<1%)
4830:4835 (<1%)
view
6 x 2 ROOT
ROOT
613:618 (<1%)
685:690 (<1%)
view
6 x 2 ROOT
ROOT
1095:1100 (<1%)
3837:3842 (<1%)
view
6 x 2 ROOT
ROOT
828:833 (<1%)
5354:5359 (<1%)
view
6 x 2 ROOT
ROOT
3856:3861 (<1%)
4830:4835 (<1%)
view
6 x 2 ROOT
ROOT
1095:1100 (<1%)
4830:4835 (<1%)
view
6 x 2 ROOT
ROOT
3837:3842 (<1%)
3856:3861 (<1%)
view
6 x 2 ROOT
ROOT
1095:1100 (<1%)
3856:3861 (<1%)
view
6 x 2 ROOT
ROOT
576:581 (<1%)
642:647 (<1%)
view
6 x 2 ROOT
ROOT
828:833 (<1%)
844:849 (<1%)
view
6 x 2 ROOT
ROOT
30:37 (17%)
96:103 (7%)
view
6 x 2 ROOT
ROOT
279:284 (<1%)
333:338 (<1%)
view
6 x 2 ROOT
ROOT
844:849 (<1%)
5354:5359 (<1%)
view