aws-quickstart / quickstart-atlassian-bitbucket
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
  • 59% duplication:
    • 2,842 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,699 duplicated lines
  • 54 duplicates
system59% (1,699 lines)
Duplication per Extension
yaml58% (1,507 lines)
yml78% (192 lines)
Duplication per Component (primary)
templates59% (1,507 lines)
ci/params/automated-setup88% (22 lines)
ci/params/3nodes88% (22 lines)
ci88% (22 lines)
ci/params/default88% (22 lines)
ci/params/no-bastion88% (22 lines)
ci/params/jvm-support-opts88% (22 lines)
ci/params/dbVersions44% (20 lines)
ci/params/insecure-search80% (20 lines)
ci/params/aurora83% (10 lines)
ci/params/ssl-and-dns83% (10 lines)
ct/custom-control-tower-configuration0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 54 duplicates...
Size#FoldersFilesLinesCode
226 x 2 templates
templates
quickstart-bitbucket-dc-with-vpc.temp...
quickstart-bitbucket-dc.template.yaml
351:576 (29%)
325:550 (12%)
view
111 x 2 templates
templates
quickstart-bitbucket-dc-with-vpc.temp...
quickstart-bitbucket-dc.template.yaml
239:349 (14%)
213:323 (6%)
view
76 x 2 templates
templates
quickstart-bitbucket-dc.template.yaml
quickstart-bitbucket-dc.template.yaml
789:864 (4%)
1162:1237 (4%)
view
53 x 2 templates
templates
quickstart-bitbucket-dc-with-vpc.temp...
quickstart-bitbucket-dc.template.yaml
109:161 (7%)
99:151 (2%)
view
47 x 2 templates
templates
quickstart-bitbucket-dc.template.yaml
quickstart-bitbucket-dc.template.yaml
1013:1066 (2%)
1438:1491 (2%)
view
35 x 2 templates
templates
quickstart-bitbucket-dc-with-vpc.temp...
quickstart-bitbucket-dc.template.yaml
583:617 (4%)
565:599 (1%)
view
32 x 2 templates
templates
quickstart-bitbucket-dc-with-vpc.temp...
quickstart-bitbucket-dc.template.yaml
71:102 (4%)
65:96 (1%)
view
22 x 2 ci/params/no-bastion
ci
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
22 x 2 ci/params/default
ci/params/jvm-support-opts
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
22 x 2 ci/params/3nodes
ci/params/default
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
22 x 2 ci/params/automated-setup
ci/params/default
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
22 x 2 ci/params/3nodes
ci/params/automated-setup
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
22 x 2 ci/params/automated-setup
ci/params/jvm-support-opts
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
22 x 2 ci/params/3nodes
ci/params/jvm-support-opts
taskcat.yml
taskcat.yml
1:23 (88%)
1:23 (88%)
view
21 x 2 ci/params/automated-setup
ci/params/no-bastion
taskcat.yml
taskcat.yml
1:22 (84%)
1:22 (84%)
view
21 x 2 ci/params/jvm-support-opts
ci/params/no-bastion
taskcat.yml
taskcat.yml
1:22 (84%)
1:22 (84%)
view
21 x 2 ci/params/jvm-support-opts
ci
taskcat.yml
taskcat.yml
1:22 (84%)
1:22 (84%)
view
21 x 2 ci/params/automated-setup
ci
taskcat.yml
taskcat.yml
1:22 (84%)
1:22 (84%)
view
21 x 2 ci/params/default
ci
taskcat.yml
taskcat.yml
1:22 (84%)
1:22 (84%)
view
21 x 2 ci/params/3nodes
ci/params/no-bastion
taskcat.yml
taskcat.yml
1:22 (84%)
1:22 (84%)
view