aws-quickstart / quickstart-eks-portworx-px-enterprise
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
  • 45% duplication:
    • 1,822 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 833 duplicated lines
  • 483 duplicates
system45% (833 lines)
Duplication per Extension
yaml46% (833 lines)
Duplication per Component (primary)
templates46% (833 lines)
ci0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 483 duplicates...
Size#FoldersFilesLinesCode
97 x 2 templates
templates
portworx-master-existing-vpc.template...
portworx-master.template.yaml
110:206 (34%)
164:260 (28%)
view
26 x 2 templates
templates
portworx-master-existing-vpc.template...
portworx-master.template.yaml
16:41 (9%)
18:43 (7%)
view
22 x 2 templates
templates
portworx-master-existing-vpc.template...
portworx-master.template.yaml
87:108 (7%)
134:155 (6%)
view
21 x 2 templates
templates
portworx-master-existing-vpc.template...
portworx-master.template.yaml
236:256 (7%)
272:292 (6%)
view
15 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
127:141 (1%)
1261:1275 (1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
376:390 (<1%)
924:938 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
498:512 (<1%)
899:913 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
350:364 (<1%)
899:913 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
246:260 (<1%)
1028:1042 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
767:781 (<1%)
899:913 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
924:938 (<1%)
1144:1158 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
792:806 (<1%)
924:938 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
608:622 (<1%)
985:999 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
899:913 (<1%)
1046:1060 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
571:585 (<1%)
985:999 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
246:260 (<1%)
264:278 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
498:512 (<1%)
767:781 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
376:390 (<1%)
1144:1158 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
350:364 (<1%)
498:512 (<1%)
view
11 x 2 templates
templates
portworx.template.yaml
portworx.template.yaml
350:364 (<1%)
767:781 (<1%)
view