aws-solutions / simple-file-manager-for-amazon-efs
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
  • 14% duplication:
    • 2,353 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 334 duplicated lines
  • 30 duplicates
system14% (334 lines)
Duplication per Extension
yaml25% (177 lines)
vue13% (125 lines)
py5% (32 lines)
Duplication per Component (primary)
deployment25% (177 lines)
source/web/src/components15% (73 lines)
source/web/src/routes12% (52 lines)
source/api10% (32 lines)
ROOT0% (0 lines)
source/api/chalicelib0% (0 lines)
source/helper0% (0 lines)
source/web0% (0 lines)
source/web/src0% (0 lines)
source/web/src/common0% (0 lines)
source/web/public0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 30 duplicates...
Size#FoldersFilesLinesCode
15 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-auth.yaml
151:165 (6%)
219:233 (6%)
view
14 x 2 source/web/src/components
source/web/src/components
upload.vue
upload.vue
174:191 (6%)
201:217 (6%)
view
14 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-auth.yaml
175:188 (5%)
218:231 (5%)
view
14 x 2 source/web/src/components
source/web/src/routes
download.vue
Filesystem.vue
124:146 (12%)
226:248 (6%)
view
13 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-auth.yaml
151:163 (5%)
176:188 (5%)
view
11 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-web.yaml
60:70 (4%)
36:46 (3%)
view
11 x 2 deployment
deployment
efs-file-manager-web.yaml
simple-file-manager-for-amazon-efs.yaml
231:241 (3%)
44:54 (6%)
view
10 x 2 deployment
deployment
efs-file-manager-web.yaml
efs-file-manager-web.yaml
36:45 (3%)
272:281 (3%)
view
10 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-web.yaml
60:69 (4%)
272:281 (3%)
view
10 x 2 deployment
deployment
simple-file-manager-for-amazon-efs.yaml
simple-file-manager-for-amazon-efs.yaml
129:138 (5%)
159:168 (5%)
view
10 x 2 deployment
deployment
simple-file-manager-for-amazon-efs.yaml
simple-file-manager-for-amazon-efs.yaml
129:138 (5%)
179:188 (5%)
view
10 x 2 deployment
deployment
simple-file-manager-for-amazon-efs.yaml
simple-file-manager-for-amazon-efs.yaml
159:168 (5%)
179:188 (5%)
view
10 x 2 deployment
deployment
efs-file-manager-web.yaml
efs-file-manager-web.yaml
65:74 (3%)
231:240 (3%)
view
10 x 2 deployment
deployment
efs-file-manager-web.yaml
simple-file-manager-for-amazon-efs.yaml
65:74 (3%)
44:53 (5%)
view
9 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-web.yaml
98:106 (3%)
65:73 (3%)
view
9 x 2 deployment
deployment
efs-file-manager-auth.yaml
simple-file-manager-for-amazon-efs.yaml
98:106 (3%)
44:52 (5%)
view
9 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-web.yaml
98:106 (3%)
231:239 (3%)
view
9 x 2 deployment
deployment
efs-file-manager-web.yaml
simple-file-manager-for-amazon-efs.yaml
78:86 (3%)
56:64 (5%)
view
8 x 2 source/web/src/components
source/web/src/components
makedir.vue
upload.vue
36:43 (10%)
45:52 (3%)
view
8 x 2 deployment
deployment
efs-file-manager-auth.yaml
efs-file-manager-web.yaml
108:115 (3%)
75:82 (2%)
view