aws-quickstart / quickstart-datalake-47lining
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
  • 36% duplication:
    • 2,199 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 796 duplicated lines
  • 36 duplicates
system36% (796 lines)
Duplication per Extension
yaml41% (784 lines)
yml34% (12 lines)
Duplication per Component (primary)
templates41% (784 lines)
ci34% (12 lines)
assets/kibana0% (0 lines)
assets0% (0 lines)
assets/lambdas0% (0 lines)
assets/glue0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 36 duplicates...
Size#FoldersFilesLinesCode
84 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
168:251 (28%)
201:284 (25%)
view
52 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
116:167 (17%)
127:178 (15%)
view
38 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
262:299 (12%)
293:330 (11%)
view
26 x 2 templates
templates
iam-roles.yaml
iam-roles.yaml
107:132 (6%)
184:209 (6%)
view
24 x 2 templates
templates
iam-roles.yaml
iam-roles.yaml
5:28 (6%)
107:130 (6%)
view
24 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
61:84 (8%)
66:89 (7%)
view
24 x 2 templates
templates
iam-roles.yaml
iam-roles.yaml
5:28 (6%)
184:207 (6%)
view
18 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
17:34 (6%)
24:41 (5%)
view
17 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
36:52 (5%)
43:59 (5%)
view
12 x 2 templates
templates
data-lake.yaml
elasticsearch.yaml
134:145 (3%)
32:43 (5%)
view
12 x 2 templates
templates
data-lake-master.yaml
elasticsearch.yaml
123:134 (4%)
32:43 (5%)
view
10 x 2 templates
templates
data-lake-master.yaml
data-lake.yaml
87:96 (3%)
106:115 (3%)
view
10 x 2 templates
templates
buckets.yaml
buckets.yaml
50:59 (4%)
132:141 (4%)
view
10 x 2 templates
templates
data-lake.yaml
sagemaker.yaml
300:309 (3%)
13:22 (14%)
view
10 x 2 templates
templates
data-lake-master.yaml
sagemaker.yaml
269:278 (3%)
13:22 (14%)
view
10 x 2 templates
templates
buckets.yaml
buckets.yaml
50:59 (4%)
78:87 (4%)
view
10 x 2 templates
templates
buckets.yaml
buckets.yaml
78:87 (4%)
132:141 (4%)
view
9 x 2 templates
templates
buckets.yaml
buckets.yaml
89:97 (3%)
143:151 (3%)
view
9 x 2 templates
templates
iam-roles.yaml
random-string.yaml
295:303 (2%)
55:63 (13%)
view
9 x 2 templates
templates
buckets.yaml
buckets.yaml
61:69 (3%)
143:151 (3%)
view