aws-samples / sagemaker-documentdb-train-gnn-for-millions-proteins
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:
    • 961 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 39 duplicated lines
  • 6 duplicates
system4% (39 lines)
Duplication per Extension
yaml10% (39 lines)
Duplication per Component (primary)
ROOT6% (39 lines)
src0% (0 lines)
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
7 x 2 ROOT
ROOT
cloudformation.yaml
cloudformation.yaml
107:113 (1%)
204:210 (1%)
view
7 x 2 ROOT
ROOT
cloudformation.yaml
cloudformation.yaml
93:99 (1%)
204:210 (1%)
view
7 x 2 ROOT
ROOT
cloudformation.yaml
cloudformation.yaml
93:99 (1%)
107:113 (1%)
view
6 x 2 ROOT
ROOT
cloudformation.yaml
cloudformation.yaml
285:290 (1%)
294:299 (1%)
view
6 x 2 ROOT
ROOT
cloudformation.yaml
cloudformation.yaml
276:281 (1%)
294:299 (1%)
view
6 x 2 ROOT
ROOT
cloudformation.yaml
cloudformation.yaml
276:281 (1%)
285:290 (1%)
view