aws-quickstart / quickstart-amazon-aurora-mysql
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
  • 41% duplication:
    • 2,089 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 876 duplicated lines
  • 40 duplicates
system41% (876 lines)
Duplication per Extension
yaml42% (876 lines)
Duplication per Component (primary)
templates42% (876 lines)
ci0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 40 duplicates...
Size#FoldersFilesLinesCode
79 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
274:352 (13%)
192:270 (5%)
view
52 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
438:489 (9%)
361:412 (3%)
view
41 x 2 templates
templates
aurora_mysql.template.yaml
aurora_mysql.template.yaml
883:923 (2%)
926:966 (2%)
view
31 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
406:436 (5%)
330:360 (2%)
view
22 x 2 templates
templates
aurora_mysql.template.yaml
aurora_mysql.template.yaml
945:966 (1%)
1025:1046 (1%)
view
22 x 2 templates
templates
aurora_mysql.template.yaml
aurora_mysql.template.yaml
902:923 (1%)
1025:1046 (1%)
view
19 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
361:379 (3%)
285:303 (1%)
view
18 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
60:77 (3%)
52:69 (1%)
view
16 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
91:106 (2%)
80:95 (1%)
view
14 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
380:393 (2%)
150:163 (<1%)
view
14 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
131:144 (2%)
110:123 (<1%)
view
12 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
15:26 (2%)
15:26 (<1%)
view
10 x 2 templates
templates
aurora_mysql.template.yaml
aurora_mysql.template.yaml
376:385 (<1%)
390:399 (<1%)
view
10 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
40:49 (1%)
32:41 (<1%)
view
10 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
467:476 (1%)
376:385 (<1%)
view
10 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql-main.template.yaml
453:462 (1%)
467:476 (1%)
view
10 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
453:462 (1%)
390:399 (<1%)
view
9 x 2 templates
templates
aurora_mysql-main.template.yaml
aurora_mysql.template.yaml
264:272 (1%)
182:190 (<1%)
view
9 x 2 templates
templates
aurora_mysql.template.yaml
aurora_mysql.template.yaml
1194:1202 (<1%)
1215:1223 (<1%)
view
9 x 2 templates
templates
aurora_mysql.template.yaml
aurora_mysql.template.yaml
1152:1160 (<1%)
1173:1181 (<1%)
view