aws-quickstart / quickstart-atlassian-services
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
  • 38% duplication:
    • 1,863 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 723 duplicated lines
  • 51 duplicates
system38% (723 lines)
Duplication per Extension
yaml38% (685 lines)
yml52% (38 lines)
Duplication per Component (primary)
templates39% (685 lines)
ci/params/default82% (19 lines)
ci/params/with-bucket-region82% (19 lines)
ci0% (0 lines)
services/custom-control-tower-configuration0% (0 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 51 duplicates...
Size#FoldersFilesLinesCode
59 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-postgres-for-atlassian-ser...
352:410 (6%)
167:225 (20%)
view
42 x 2 templates
templates
quickstart-database-for-atlassian-ser...
quickstart-postgres-for-atlassian-ser...
36:77 (14%)
37:78 (14%)
view
32 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
452:483 (3%)
485:516 (3%)
view
31 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
420:450 (3%)
453:483 (3%)
view
31 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
420:450 (3%)
486:516 (3%)
view
24 x 2 templates
templates
quickstart-database-for-atlassian-ser...
quickstart-vpc-for-atlassian-services...
123:146 (8%)
105:128 (9%)
view
22 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
428:449 (2%)
561:582 (2%)
view
22 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
461:482 (2%)
561:582 (2%)
view
22 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
494:515 (2%)
561:582 (2%)
view
19 x 2 ci/params/default
ci/params/with-bucket-region
taskcat.yml
taskcat.yml
1:20 (82%)
1:20 (82%)
view
12 x 2 templates
templates
quickstart-database-for-atlassian-ser...
quickstart-postgres-for-atlassian-ser...
110:121 (4%)
120:131 (4%)
view
10 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
647:656 (1%)
668:677 (1%)
view
10 x 2 templates
templates
quickstart-database-for-atlassian-ser...
quickstart-database-for-atlassian-ser...
210:219 (3%)
256:265 (3%)
view
10 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
771:780 (1%)
792:801 (1%)
view
10 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
709:718 (1%)
730:739 (1%)
view
9 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
699:707 (1%)
720:728 (1%)
view
9 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
751:759 (1%)
793:801 (1%)
view
9 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
782:790 (1%)
803:811 (1%)
view
9 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
699:707 (1%)
741:749 (1%)
view
9 x 2 templates
templates
quickstart-aurora-postgres-for-atlass...
quickstart-aurora-postgres-for-atlass...
689:697 (1%)
731:739 (1%)
view