aws-quickstart / quickstart-atlassian-confluence
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,914 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,739 duplicated lines
  • 29 duplicates
system59% (1,739 lines)
Duplication per Extension
yaml59% (1,681 lines)
yml69% (58 lines)
Duplication per Component (primary)
templates59% (1,681 lines)
ci/params/default82% (19 lines)
ci82% (19 lines)
ci/params/aurora83% (10 lines)
ci/params/ssl-and-dns83% (10 lines)
ci/params/no-bastion0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 29 duplicates...
Size#FoldersFilesLinesCode
287 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
219:505 (33%)
232:518 (14%)
view
164 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
542:705 (19%)
549:712 (8%)
view
92 x 2 templates
templates
quickstart-confluence-master.template...
quickstart-confluence-master.template...
234:325 (4%)
579:670 (4%)
view
92 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
221:312 (10%)
579:670 (4%)
view
92 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
572:663 (10%)
234:325 (4%)
view
92 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master-with-vpc...
221:312 (10%)
572:663 (10%)
view
52 x 2 templates
templates
quickstart-confluence-master.template...
quickstart-confluence-master.template...
1253:1312 (2%)
1471:1530 (2%)
view
49 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
122:170 (5%)
125:173 (2%)
view
37 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
7:43 (4%)
7:43 (1%)
view
35 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
172:207 (4%)
175:210 (1%)
view
31 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
60:91 (3%)
63:94 (1%)
view
29 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
512:540 (3%)
519:547 (1%)
view
22 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
94:115 (2%)
97:118 (1%)
view
20 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
712:732 (2%)
713:733 (1%)
view
19 x 2 ci/params/default
ci
taskcat.yml
taskcat.yml
1:20 (82%)
1:20 (82%)
view
16 x 2 templates
templates
quickstart-confluence-master.template...
quickstart-confluence-master.template...
1184:1200 (<1%)
1421:1437 (<1%)
view
13 x 2 templates
templates
quickstart-confluence-master.template...
quickstart-confluence-master.template...
1323:1335 (<1%)
1538:1550 (<1%)
view
11 x 2 templates
templates
quickstart-confluence-master-with-vpc...
quickstart-confluence-master.template...
208:218 (1%)
215:225 (<1%)
view
10 x 2 ci/params/aurora
ci/params/ssl-and-dns
taskcat.yml
taskcat.yml
1:11 (83%)
1:11 (83%)
view
9 x 2 templates
templates
quickstart-confluence-master.template...
quickstart-confluence-master.template...
1339:1347 (<1%)
1554:1562 (<1%)
view