aws-samples / cloudformation-beegfs-cluster
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
  • 60% duplication:
    • 756 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 454 duplicated lines
  • 71 duplicates
system60% (454 lines)
Duplication per Extension
yaml60% (454 lines)
Duplication per Component (primary)
ROOT60% (454 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 71 duplicates...
Size#FoldersFilesLinesCode
43 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
490:533 (5%)
572:615 (5%)
view
43 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
490:533 (5%)
654:697 (5%)
view
43 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
326:369 (5%)
408:451 (5%)
view
43 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
572:615 (5%)
654:697 (5%)
view
22 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
408:430 (2%)
572:594 (2%)
view
22 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
408:430 (2%)
490:512 (2%)
view
22 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
326:348 (2%)
490:512 (2%)
view
22 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
326:348 (2%)
572:594 (2%)
view
22 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
326:348 (2%)
654:676 (2%)
view
22 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
408:430 (2%)
654:676 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
267:286 (2%)
432:451 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
267:286 (2%)
678:697 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
432:451 (2%)
678:697 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
267:286 (2%)
350:369 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
267:286 (2%)
596:615 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
267:286 (2%)
514:533 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
350:369 (2%)
514:533 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
350:369 (2%)
596:615 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
432:451 (2%)
596:615 (2%)
view
20 x 2 ROOT
ROOT
BeeGFSCluster.yaml
BeeGFSCluster.yaml
350:369 (2%)
678:697 (2%)
view