aws / aws-pdk
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system22% (8,718 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ejs31% (4,329 lines)
ts17% (3,919 lines)
mustache25% (456 lines)
py25% (14 lines)
Duplication per Component (primary)
packages23% (8,514 lines)
projenrc12% (204 lines)
internal0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 719 duplicates...
Size#FoldersFilesLinesCode
190 x 2 packages/type-safe-api/s...untime/templates/server
packages/type-safe-api/s...python/templates/server
1:219 (100%)
1:219 (100%)
view
182 x 2 packages/type-safe-api/s...untime/templates/server
packages/type-safe-api/s...python/templates/server
1:209 (57%)
1:209 (57%)
view
159 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
1:169 (100%)
1:169 (100%)
view
145 x 2 packages/monorepo/src/projects/typescript
packages/type-safe-api/src/project
7:981 (99%)
7:981 (99%)
view
145 x 2 packages/infrastructure/src/projects/typescript
packages/monorepo/src/projects/typescript
164:1134 (86%)
15:985 (99%)
view
144 x 2 packages/infrastructure/src/projects/typescript
packages/type-safe-api/src/project
164:1130 (85%)
15:981 (98%)
view
137 x 2 packages/cloudscape-react-ts-website/src
packages/monorepo/src/projects/typescript
88:1005 (93%)
65:985 (93%)
view
137 x 2 packages/cloudscape-react-ts-website/src
packages/infrastructure/src/projects/typescript
88:1005 (93%)
214:1134 (81%)
view
136 x 2 packages/cloudscape-react-ts-website/src
packages/type-safe-api/src/project
88:1004 (93%)
65:981 (93%)
view
135 x 2 packages/type-safe-api/s...untime/templates/server
packages/type-safe-api/s...python/templates/server
211:371 (42%)
211:371 (42%)
view
99 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
1:108 (100%)
1:108 (100%)
view
75 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
1:82 (100%)
1:82 (100%)
view
72 x 2 packages/type-safe-api/src/project
packages/type-safe-api/src/project
554:637 (16%)
571:654 (16%)
view
70 x 2 packages/type-safe-api/s...mbda-handlers/templates
packages/type-safe-api/s...mbda-handlers/templates
1:81 (100%)
1:81 (100%)
view
58 x 2 packages/type-safe-api/s...mbda-handlers/templates
packages/type-safe-api/s...mbda-handlers/templates
1:65 (100%)
1:65 (100%)
view
56 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
1:59 (100%)
1:59 (100%)
view
51 x 2 packages/monorepo/src/projects/java
packages/monorepo/src/projects/python
100:194 (41%)
88:182 (33%)
view
49 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
111:162 (31%)
15:66 (77%)
view
47 x 2 packages/monorepo/src/projects/java
packages/type-safe-api/src/project
7:349 (97%)
7:349 (97%)
view
47 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
1:52 (100%)
1:52 (100%)
view
47 x 2 packages/infrastructure/src/projects/python
packages/type-safe-api/src/project
127:425 (72%)
14:312 (95%)
view
47 x 2 packages/infrastructure/src/projects/java
packages/monorepo/src/projects/java
120:460 (74%)
13:353 (97%)
view
46 x 2 packages/infrastructure/src/projects/java
packages/type-safe-api/src/project
120:456 (73%)
13:349 (95%)
view
46 x 2 packages/type-safe-api/s...nfrastructure/templates
packages/type-safe-api/s...nfrastructure/templates
38:85 (56%)
38:85 (56%)
view
44 x 2 packages/type-safe-api/s...mbda-handlers/templates
packages/type-safe-api/s...mbda-handlers/templates
1:50 (100%)
1:50 (100%)
view
40 x 2 packages/infrastructure/src/projects/python
packages/monorepo/src/projects/python
185:429 (61%)
69:313 (81%)
view
39 x 2 packages/monorepo/src/projects/python
packages/type-safe-api/src/project
69:309 (79%)
72:312 (79%)
view
33 x 2 packages/type-safe-api/s...mbda-handlers/templates
packages/type-safe-api/s...mbda-handlers/templates
1:40 (100%)
1:40 (100%)
view
29 x 2 packages/infrastructure/src/projects/java
packages/monorepo/src/projects/typescript
278:460 (46%)
803:985 (19%)
view
29 x 2 packages/monorepo/src/projects/java
packages/monorepo/src/projects/typescript
171:353 (60%)
803:985 (19%)
view
29 x 2 packages/type-safe-api/src/project
packages/type-safe-api/src/project
171:356 (60%)
134:319 (59%)
view
29 x 2 packages/cloudscape-react-ts-website/src
packages/infrastructure/src/projects/python
826:1005 (19%)
247:429 (44%)
view
29 x 2 packages/monorepo/src/projects/java
packages/monorepo/src/projects/python
171:353 (60%)
131:313 (59%)
view
29 x 2 packages/infrastructure/src/projects/python
packages/infrastructure/src/projects/typescript
247:429 (44%)
952:1134 (17%)
view
29 x 2 packages/infrastructure/src/projects/typescript
packages/monorepo/src/projects/python
952:1134 (17%)
131:313 (59%)
view
29 x 2 packages/type-safe-api/src/project
packages/type-safe-api/src/project
171:356 (60%)
803:988 (19%)
view
29 x 2 packages/infrastructure/src/projects/python
packages/monorepo/src/projects/java
247:429 (44%)
171:353 (60%)
view
29 x 2 packages/static-website/src
packages/type-safe-api/src/construct
269:303 (14%)
265:299 (8%)
view
29 x 2 packages/cloudscape-react-ts-website/src
packages/monorepo/src/projects/java
826:1005 (19%)
171:353 (60%)
view
29 x 2 packages/infrastructure/src/projects/typescript
packages/monorepo/src/projects/java
952:1134 (17%)
171:353 (60%)
view
29 x 2 packages/cloudscape-react-ts-website/src
packages/monorepo/src/projects/python
826:1005 (19%)
131:313 (59%)
view
29 x 2 packages/infrastructure/src/projects/java
packages/infrastructure/src/projects/python
278:460 (46%)
247:429 (44%)
view
29 x 2 packages/type-safe-api/src/project
packages/type-safe-api/src/project
461:497 (6%)
483:519 (6%)
view
29 x 2 packages/cloudscape-react-ts-website/src
packages/infrastructure/src/projects/java
826:1005 (19%)
278:460 (46%)
view
29 x 2 packages/monorepo/src/projects/python
packages/monorepo/src/projects/typescript
131:313 (59%)
803:985 (19%)
view
29 x 2 packages/infrastructure/src/projects/java
packages/monorepo/src/projects/python
278:460 (46%)
131:313 (59%)
view
29 x 2 packages/type-safe-api/src/project
packages/type-safe-api/src/project
134:319 (59%)
803:988 (19%)
view
29 x 2 packages/infrastructure/src/projects/python
packages/monorepo/src/projects/typescript
247:429 (44%)
803:985 (19%)
view
29 x 2 packages/infrastructure/src/projects/java
packages/infrastructure/src/projects/typescript
278:460 (46%)
952:1134 (17%)
view
28 x 2 packages/monorepo/src/projects/python
packages/type-safe-api/src/project
131:309 (57%)
171:349 (58%)
view
Duplicated Units
The list of top 4 duplicated units.
See data for all 4 unit duplicates...
Size#FoldersFilesLinesCode
18 x 2 packages/type-safe-api/src/project/codegen/runtime
packages/type-safe-api/src/project/codegen/runtime
25:45 
25:45 
view
9 x 2 packages/type-safe-api/src/project/codegen/runtime
packages/type-safe-api/src/project/codegen/runtime
24:34 
24:35 
view
9 x 3 packages/type-safe-api/s...el/type-spec/components
packages/type-safe-api/s...model/smithy/components
packages/type-safe-api/s...model/smithy/components
27:37 
94:104 
32:42 
view
8 x 3 packages/type-safe-api/s...el/type-spec/components
packages/type-safe-api/s...el/type-spec/components
packages/type-safe-api/s...el/type-spec/components
20:29 
20:29 
20:29 
view