aws-quickstart / quickstart-amazon-appflow
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
  • 24% duplication:
    • 1,792 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 445 duplicated lines
  • 38 duplicates
system24% (445 lines)
Duplication per Extension
yaml25% (445 lines)
Duplication per Component (primary)
templates25% (445 lines)
functions/source/insert_records_lambda_function/app0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 38 duplicates...
Size#FoldersFilesLinesCode
20 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-main-existing-cluster....
4:23 (14%)
11:30 (11%)
view
17 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-s3-lambda-appflow.temp...
3:19 (12%)
3:19 (7%)
view
16 x 2 templates
templates
amazon-appflow-main-existing-cluster....
amazon-appflow-s3-lambda-appflow.temp...
11:26 (9%)
4:19 (7%)
view
15 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-s3-lambda-appflow.temp...
37:51 (11%)
33:47 (6%)
view
15 x 2 templates
templates
amazon-appflow-main.template.yaml
amazon-appflow-vpc.template.yaml
58:72 (3%)
16:30 (5%)
view
14 x 2 templates
templates
amazon-appflow-main.template.yaml
amazon-appflow-rds.template.yaml
23:36 (3%)
6:19 (9%)
view
13 x 2 templates
templates
amazon-appflow-main.template.yaml
amazon-appflow-rds.template.yaml
79:91 (3%)
32:44 (8%)
view
12 x 2 templates
templates
amazon-appflow-main.template.yaml
amazon-appflow-vpc.template.yaml
11:22 (3%)
4:15 (4%)
view
11 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-s3-lambda-appflow.temp...
55:65 (8%)
49:59 (4%)
view
10 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-main-existing-cluster....
37:46 (7%)
50:59 (5%)
view
10 x 2 templates
templates
amazon-appflow-main-existing-cluster....
amazon-appflow-s3-lambda-appflow.temp...
50:59 (5%)
33:42 (4%)
view
9 x 2 templates
templates
amazon-appflow-rds.template.yaml
amazon-appflow-s3-lambda-appflow.temp...
65:73 (6%)
68:76 (3%)
view
9 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-main-existing-cluster....
25:33 (6%)
32:40 (5%)
view
9 x 2 templates
templates
amazon-appflow-main-existing-cluster....
amazon-appflow-main.template.yaml
7:15 (5%)
7:15 (2%)
view
8 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-s3-lambda-appflow.temp...
28:35 (5%)
24:31 (3%)
view
8 x 2 templates
templates
amazon-appflow-main-existing-cluster....
amazon-appflow-main.template.yaml
69:76 (4%)
105:112 (2%)
view
8 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-s3-lambda-appflow.temp...
101:108 (5%)
90:97 (3%)
view
7 x 2 templates
templates
amazon-appflow-rds.template.yaml
amazon-appflow-s3-lambda-appflow.temp...
101:107 (4%)
96:102 (3%)
view
7 x 2 templates
templates
amazon-appflow-lambda-from-existing-r...
amazon-appflow-main-existing-cluster....
48:54 (5%)
61:67 (4%)
view
7 x 2 templates
templates
amazon-appflow-main-existing-cluster....
amazon-appflow-main.template.yaml
131:137 (4%)
197:203 (1%)
view