apache / airavata-custos
Duplication

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

Intro
Learn more...
Duplication Overall
system54% (32,122 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py99% (22,664 lines)
js33% (5,741 lines)
java20% (2,766 lines)
proto21% (320 lines)
tf21% (280 lines)
tsx11% (222 lines)
xml28% (46 lines)
cfg100% (30 lines)
tfvars36% (18 lines)
tpl23% (18 lines)
hcl65% (17 lines)
Duplication per Component (primary)
custos-client-sdks69% (29,119 lines)
services11% (870 lines)
api33% (784 lines)
core21% (694 lines)
deployment20% (316 lines)
custos-portal11% (222 lines)
custos-grpc-data-models23% (54 lines)
application17% (46 lines)
compose65% (17 lines)

Duplication Between Components (50+ lines)

G core core custos-grpc-data-models custos-grpc-data-models core--custos-grpc-data-models 231 compose compose deployment deployment compose--deployment 51

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 224,013 duplicates...
Size#FoldersFilesLinesCode
1450 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
26:1635 (100%)
26:1635 (100%)
view
790 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
25:908 (100%)
25:908 (100%)
view
790 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
24:907 (100%)
24:907 (100%)
view
730 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
24:841 (100%)
24:841 (100%)
view
730 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
26:843 (100%)
26:843 (100%)
view
700 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
27:811 (100%)
27:811 (100%)
view
640 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
30:748 (100%)
30:748 (100%)
view
640 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
27:745 (100%)
27:745 (100%)
view
580 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
25:677 (100%)
25:677 (100%)
view
580 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
24:676 (100%)
24:676 (100%)
view
460 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
26:546 (100%)
26:546 (100%)
view
370 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
28:449 (100%)
28:449 (100%)
view
340 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
26:414 (100%)
26:414 (100%)
view
280 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
25:347 (100%)
25:347 (100%)
view
280 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
24:346 (100%)
24:346 (100%)
view
195 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
24:387 (100%)
24:387 (100%)
view
174 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
29:260 (100%)
29:260 (100%)
view
162 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
22:269 (100%)
22:269 (100%)
view
152 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
25:294 (100%)
25:294 (100%)
view
133 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
326:458 (16%)
327:459 (16%)
view
133 x 2 custos-client-sdks/custo...-sdk/custos/server/core
custos-client-sdks/custo...stos/server/integration
326:458 (16%)
327:459 (16%)
view
133 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
326:458 (16%)
327:459 (16%)
view
133 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...-sdk/custos/server/core
327:459 (16%)
326:458 (16%)
view
130 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
25:182 (100%)
25:182 (100%)
view
130 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
24:181 (100%)
24:181 (100%)
view
114 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
24:240 (100%)
24:240 (100%)
view
113 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
29:160 (100%)
29:160 (100%)
view
108 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
28:154 (100%)
28:154 (100%)
view
104 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...-sdk/custos/server/core
169:323 (13%)
168:322 (13%)
view
104 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
168:322 (13%)
169:323 (13%)
view
104 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
168:322 (13%)
169:323 (13%)
view
104 x 2 custos-client-sdks/custo...-sdk/custos/server/core
custos-client-sdks/custo...stos/server/integration
168:322 (13%)
169:323 (13%)
view
100 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
25:149 (100%)
25:149 (100%)
view
95 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
25:136 (100%)
25:136 (100%)
view
89 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
28:169 (100%)
28:169 (100%)
view
81 x 2 custos-client-sdks/custo...lib/custosauthenticator
custos-client-sdks/custo...tor/custosauthenticator
72:194 (78%)
77:199 (75%)
view
70 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
24:115 (100%)
24:115 (100%)
view
63 x 2 api/src/main/java/org/apache/custos/api/group
api/src/main/java/org/apache/custos/api/group
194:258 (6%)
277:341 (6%)
view
56 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...-sdk/custos/server/core
304:359 (8%)
289:344 (9%)
view
56 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
289:344 (9%)
304:359 (8%)
view
56 x 2 custos-client-sdks/custo...-sdk/custos/server/core
custos-client-sdks/custo...stos/server/integration
289:344 (9%)
304:359 (8%)
view
56 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
289:344 (9%)
304:359 (8%)
view
55 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
29:98 (100%)
29:98 (100%)
view
50 x 2 custos-client-sdks/custo...redential-store-service
custos-client-sdks/custo...vices/tenant-management
2799:2856 (3%)
1812:1869 (3%)
view
47 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...-sdk/custos/server/core
178:246 (7%)
177:245 (8%)
view
47 x 2 custos-client-sdks/custo...-sdk/custos/server/core
custos-client-sdks/custo...stos/server/integration
177:245 (8%)
178:246 (7%)
view
47 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
177:245 (8%)
178:246 (7%)
view
47 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...stos/server/integration
177:245 (8%)
178:246 (7%)
view
42 x 2 custos-client-sdks/custo...redential-store-service
custos-client-sdks/custo...vices/tenant-management
2733:2777 (3%)
1746:1790 (3%)
view
40 x 2 custos-client-sdks/custo...ib/custos/clients/utils
custos-client-sdks/custo...dk/custos/clients/utils
26:79 (100%)
26:79 (100%)
view
Duplicated Units
The list of top 50 duplicated units.
See data for all 56 unit duplicates...
Size#FoldersFilesLinesCode
244 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
134 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
134 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
124 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
124 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
119 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
109 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
109 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
99 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
99 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
79 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
64 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
59 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
57 x 2 custos-client-sdks/custo...vices/tenant-management
custos-client-sdks/custo...redential-store-service
1811:1869 
2798:2856 
view
49 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
49 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
44 x 2 custos-client-sdks/custo...vices/tenant-management
custos-client-sdks/custo...redential-store-service
1745:1790 
2732:2777 
view
29 x 2 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...services/tenant-profile
1748:1778 
1533:1563 
view
29 x 2 custos-client-sdks/custo...redential-store-service
custos-client-sdks/custo...-authentication-service
1788:1818 
2076:2106 
view
34 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
28 x 2 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...services/tenant-profile
1698:1727 
1483:1512 
view
28 x 2 custos-client-sdks/custo...redential-store-service
custos-client-sdks/custo...-authentication-service
1738:1767 
2026:2055 
view
25 x 2 services/src/main/java/o...stos/service/management
services/src/main/java/o...stos/service/management
727:759 
1297:1329 
view
24 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
24 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
25 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
28 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
24 x 2 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...services/tenant-profile
1917:1942 
1702:1727 
view
22 x 2 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...services/tenant-profile
1963:1986 
1748:1771 
view
36 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
20 x 2 custos-client-sdks/custo...ervices/user-management
custos-client-sdks/custo...rvices/agent-management
1875:1896 
607:628 
view
19 x 2 custos-client-sdks/custo...ld/lib/custos/transport
custos-client-sdks/custo...on-sdk/custos/transport
0:0 
0:0 
view
19 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
17 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
16 x 3 custos-client-sdks/custo...vices/tenant-management
custos-client-sdks/custo...rvices/identity-service
custos-client-sdks/custo...services/tenant-profile
2602:2619 
2346:2363 
1890:1907 
view
16 x 5 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...resource-secret-service
custos-client-sdks/custo...rvices/identity-service
custos-client-sdks/custo...ervices/sharing-service
custos-client-sdks/custo...s/agent-profile-service
3723:3740 
2589:2606 
3206:3223 
3154:3171 
910:927 
view
16 x 2 custos-client-sdks/custo...redential-store-service
custos-client-sdks/custo...-authentication-service
1605:1622 
1893:1910 
view
15 x 2 custos-client-sdks/custo...ervices/user-management
custos-client-sdks/custo...rvices/agent-management
1917:1933 
649:665 
view
14 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
14 x 2 custos-client-sdks/custo...vices/tenant-management
custos-client-sdks/custo...redential-store-service
1706:1722 
2693:2709 
view
13 x 2 custos-client-sdks/custo...stos/server/integration
custos-client-sdks/custo...stos/server/integration
0:0 
0:0 
view
11 x 2 custos-client-sdks/custo...ib/custos/clients/utils
custos-client-sdks/custo...dk/custos/clients/utils
0:0 
0:0 
view
17 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
18 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
10 x 2 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...services/tenant-profile
1663:1675 
1448:1460 
view
10 x 2 custos-client-sdks/custo...redential-store-service
custos-client-sdks/custo...-authentication-service
1703:1715 
1991:2003 
view
9 x 2 custos-client-sdks/custo.../lib/custos/server/core
custos-client-sdks/custo...-sdk/custos/server/core
0:0 
0:0 
view
9 x 2 custos-client-sdks/custo...e-services/user-profile
custos-client-sdks/custo...services/tenant-profile
1883:1894 
1668:1679 
view
8 x 2 custos-client-sdks/custo...uild/lib/custos/clients
custos-client-sdks/custo...thon-sdk/custos/clients
0:0 
0:0 
view
8 x 3 custos-client-sdks/custo...vices/tenant-management
custos-client-sdks/custo...rvices/identity-service
custos-client-sdks/custo...services/tenant-profile
2640:2649 
2384:2393 
1928:1937 
view