apache / dubbo-go-pixiu
Duplication

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

Intro
Learn more...
Duplication Overall
system9% (1,246 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go8% (1,100 lines)
yaml87% (146 lines)
Duplication per Component (primary)
pkg8% (1,100 lines)
configs87% (146 lines)
configcenter0% (0 lines)
cmd0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 244 duplicates...
Size#FoldersFilesLinesCode
48 x 2 configs
configs
19:67 (65%)
19:66 (51%)
view
28 x 2 pkg/adapter/dubboregistry/registry/nacos
pkg/adapter/dubboregistry/registry/nacos
76:109 (31%)
85:118 (24%)
view
25 x 2 configs
configs
69:96 (34%)
90:117 (26%)
view
24 x 2 pkg/config/xds/apiclient
pkg/config/xds/apiclient
155:189 (10%)
295:328 (8%)
view
15 x 2 pkg/filter/metric
pkg/prometheus
150:169 (13%)
365:384 (5%)
view
14 x 2 pkg/filter/header
pkg/filter/http/loadbalancer
32:58 (32%)
33:59 (46%)
view
13 x 2 pkg/adapter/dubboregistry/registry/zookeeper
pkg/adapter/springcloud/servicediscovery/zookeeper
67:83 (15%)
61:78 (11%)
view
12 x 2 pkg/client/dubbo
pkg/filter/http/remote
27:38 (54%)
216:227 (8%)
view
11 x 2 pkg/listener/http2
pkg/listener/tcp
138:152 (13%)
81:95 (17%)
view
11 x 2 pkg/filter/network/dubboproxy/filter/http
pkg/filter/network/dubboproxy/filter/proxy
61:83 (17%)
60:82 (10%)
view
10 x 2 pkg/common/mock
pkg/filter/http/httpproxy
36:53 (17%)
41:57 (11%)
view
10 x 2 pkg/filter/csrf
pkg/filter/host
41:61 (15%)
29:48 (34%)
view
10 x 2 pkg/filter/http/dubboproxy
pkg/filter/network/dubboproxy/filter/proxy
189:199 (7%)
109:119 (9%)
view
10 x 2 pkg/adapter/dubboregistry/registry/zookeeper
pkg/adapter/springcloud/servicediscovery/zookeeper
91:103 (12%)
84:97 (8%)
view
10 x 2 pkg/filter/http/dubboproxy
pkg/filter/http/loadbalancer
69:89 (7%)
52:68 (33%)
view
10 x 2 pkg/filter/cors
pkg/filter/host
33:53 (17%)
29:48 (34%)
view
10 x 2 pkg/filter/cors
pkg/filter/csrf
33:53 (17%)
41:61 (15%)
view
10 x 2 pkg/filter/cors
pkg/filter/csrf
65:81 (17%)
67:83 (15%)
view
9 x 2 pkg/filter/failinject
pkg/filter/http/loadbalancer
33:47 (14%)
33:50 (30%)
view
9 x 2 pkg/filter/cors
pkg/filter/failinject
33:49 (15%)
33:47 (14%)
view
9 x 2 pkg/filter/network/grpcconnectionmanager
pkg/filter/network/httpconnectionmanager
30:46 (56%)
30:46 (56%)
view
9 x 2 pkg/filter/csrf
pkg/filter/http/loadbalancer
41:57 (14%)
33:50 (30%)
view
9 x 2 pkg/filter/csrf
pkg/filter/header
41:57 (14%)
32:48 (20%)
view
9 x 2 pkg/listener/http2
pkg/listener/triple
138:150 (10%)
102:114 (12%)
view
9 x 2 pkg/filter/network/dubboproxy
pkg/filter/network/httpconnectionmanager
29:46 (50%)
30:46 (56%)
view
9 x 2 pkg/listener/tcp
pkg/listener/triple
81:93 (14%)
102:114 (12%)
view
9 x 2 pkg/filter/failinject
pkg/filter/host
33:47 (14%)
29:45 (31%)
view
9 x 2 pkg/filter/cors
pkg/filter/header
33:49 (15%)
32:48 (20%)
view
9 x 2 pkg/filter/host
pkg/filter/http/loadbalancer
29:45 (31%)
33:50 (30%)
view
9 x 2 pkg/filter/csrf
pkg/filter/failinject
41:57 (14%)
33:47 (14%)
view
9 x 2 pkg/filter/failinject
pkg/filter/header
33:47 (14%)
32:48 (20%)
view
9 x 2 pkg/adapter/dubboregistry/registry/nacos
pkg/adapter/dubboregistry/registry/zookeeper
138:151 (7%)
149:162 (8%)
view
9 x 2 pkg/adapter/springcloud/servicediscovery/nacos
pkg/adapter/springcloud/servicediscovery/nacos
56:67 (6%)
86:97 (6%)
view
9 x 2 pkg/common/shutdown
pkg/common/shutdown
25:38 (100%)
25:38 (100%)
view
9 x 2 pkg/filter/cors
pkg/filter/http/loadbalancer
33:49 (15%)
33:50 (30%)
view
9 x 2 pkg/filter/header
pkg/filter/host
32:48 (20%)
29:45 (31%)
view
9 x 2 pkg/adapter/dubboregistry/registry/zookeeper
pkg/adapter/springcloud/servicediscovery/zookeeper
111:119 (10%)
105:113 (7%)
view
9 x 2 pkg/filter/network/dubboproxy
pkg/filter/network/grpcconnectionmanager
29:46 (50%)
30:46 (56%)
view
9 x 2 pkg/adapter/dubboregistry/registry/zookeeper
pkg/adapter/springcloud/servicediscovery/zookeeper
107:115 (5%)
90:98 (10%)
view
8 x 2 pkg/filter/header
pkg/filter/http/proxyrewrite
32:47 (18%)
37:53 (17%)
view
8 x 2 pkg/filter/http/httpproxy
pkg/filter/http/proxyrewrite
68:82 (9%)
64:78 (17%)
view
8 x 2 pkg/adapter/dubboregistry/registry/zookeeper
pkg/adapter/springcloud/servicediscovery/zookeeper
70:77 (5%)
54:62 (9%)
view
8 x 2 pkg/config/xds/apiclient
pkg/config/xds/apiclient
270:280 (3%)
107:117 (2%)
view
8 x 2 pkg/filter/http/dubboproxy
pkg/filter/http/httpproxy
70:88 (6%)
68:82 (9%)
view
8 x 2 pkg/filter/http/httpproxy
pkg/filter/http/loadbalancer
68:82 (9%)
53:67 (26%)
view
8 x 2 pkg/filter/csrf
pkg/filter/http/proxyrewrite
41:56 (12%)
37:53 (17%)
view
8 x 2 pkg/client/dubbo
pkg/client/http
145:153 (5%)
111:119 (6%)
view
8 x 2 pkg/client/proxy
pkg/filter/http/grpcproxy
126:136 (10%)
106:116 (8%)
view
8 x 2 pkg/filter/cors
pkg/filter/http/proxyrewrite
33:48 (13%)
37:53 (17%)
view
8 x 2 pkg/filter/http/loadbalancer
pkg/filter/http/proxyrewrite
53:67 (26%)
64:78 (17%)
view
Duplicated Units
The list of top 6 duplicated units.
See data for all 6 unit duplicates...
Size#FoldersFilesLinesCode
33 x 2 pkg/adapter/dubboregistry/registry/nacos
pkg/adapter/dubboregistry/registry/nacos
75:111 
84:120 
view
20 x 2 pkg/filter/metric
pkg/prometheus
149:170 
364:385 
view
13 x 2 pkg/listener/tcp
pkg/listener/http2
80:96 
137:153 
view
11 x 2 pkg/filter/http/grpcproxy
pkg/client/proxy
105:117 
125:137 
view
7 x 2 pkg/filter/http/grpcproxy
pkg/client/proxy
128:136 
148:156 
view
7 x 2 pkg/adapter/dubboregistry/registry/base
pkg/adapter/springcloud/servicediscovery/zookeeper
43:51 
178:186 
view