aws-quickstart / quickstart-qumulo-cloud-q
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
  • 25% duplication:
    • 5,088 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,320 duplicated lines
  • 99 duplicates
system25% (1,320 lines)
Duplication per Extension
yaml25% (1,320 lines)
Duplication per Component (primary)
templates72% (1,049 lines)
templates/cfn7% (271 lines)

Duplication Between Components (50+ lines)

G templates/cfn templates/cfn templates templates templates/cfn--templates 57

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 99 duplicates...
Size#FoldersFilesLinesCode
149 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
252:414 (25%)
316:478 (23%)
view
57 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-standard.template.yaml
272:329 (9%)
126:183 (23%)
view
57 x 2 templates
templates
qs-cloudq-main-new-vpc.template.yaml
qs-cloudq-main-standard.template.yaml
336:393 (9%)
126:183 (23%)
view
53 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
164:222 (9%)
173:231 (8%)
view
37 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
118:154 (6%)
125:161 (5%)
view
37 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
64:103 (6%)
65:104 (5%)
view
35 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
468:511 (5%)
504:547 (5%)
view
20 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
649:668 (3%)
691:710 (3%)
view
19 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
593:612 (3%)
614:633 (3%)
view
18 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
520:538 (3%)
560:578 (2%)
view
17 x 2 templates/cfn
templates/cfn
qami-id-lookup-4.0.6.cft.yaml
qami-id-lookup-4.2.0.cft.yaml
1:43 (8%)
1:43 (8%)
view
15 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-standard.template.yaml
384:398 (2%)
110:124 (6%)
view
15 x 2 templates
templates
qs-cloudq-main-new-vpc.template.yaml
qs-cloudq-main-standard.template.yaml
448:462 (2%)
110:124 (6%)
view
14 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
556:569 (2%)
598:611 (2%)
view
12 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
450:462 (2%)
490:502 (1%)
view
12 x 2 templates/cfn
templates/cfn
cloudq.cft.yaml
qadd-sg-cidrs.cft.yaml
124:137 (3%)
36:49 (3%)
view
11 x 2 templates
templates
qs-cloudq-main-advanced.template.yaml
qs-cloudq-main-new-vpc.template.yaml
614:624 (1%)
635:645 (1%)
view
11 x 2 templates/cfn
templates/cfn
mgmt-nlb.cft.yaml
mgmt-nlb.cft.yaml
110:120 (3%)
217:227 (3%)
view
10 x 2 templates/cfn
templates/cfn
cloud-watch.cft.yaml
qiam.cft.yaml
26:36 (3%)
26:36 (12%)
view
10 x 2 templates
templates
qs-cloudq-main-new-vpc.template.yaml
qs-cloudq-main-standard.template.yaml
400:409 (1%)
185:194 (4%)
view