apache / servicecomb-service-center
Duplication

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

Intro
Learn more...
Duplication Overall
system7% (2,605 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go5% (1,538 lines)
js28% (514 lines)
html17% (255 lines)
ts11% (236 lines)
yaml10% (32 lines)
less10% (30 lines)
Duplication per Component (primary)
datasource7% (884 lines)
ux14% (477 lines)
benchmark97% (398 lines)
server3% (248 lines)
client32% (166 lines)
frontend6% (160 lines)
scctl10% (100 lines)
syncer3% (84 lines)
pkg<1% (34 lines)
istio3% (32 lines)
eventbase4% (22 lines)
cmd0% (0 lines)
integration0% (0 lines)
etc0% (0 lines)
version0% (0 lines)
scripts0% (0 lines)
api0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 339 duplicates...
Size#FoldersFilesLinesCode
40 x 2 benchmark/find
benchmark/find
2:49 (88%)
2:49 (88%)
view
40 x 2 benchmark/find
benchmark/register
2:49 (88%)
2:49 (88%)
view
40 x 2 benchmark/find
benchmark/register
2:49 (88%)
2:49 (88%)
view
27 x 2 benchmark/find
benchmark/find
25:61 (57%)
25:61 (57%)
view
27 x 2 benchmark/find
benchmark/find
25:61 (57%)
25:61 (57%)
view
26 x 2 benchmark/register
benchmark/register
2:30 (61%)
2:30 (60%)
view
26 x 2 benchmark/find
benchmark/find
26:61 (55%)
26:61 (55%)
view
26 x 2 benchmark/find
benchmark/find
26:61 (55%)
26:61 (55%)
view
26 x 2 benchmark/find
benchmark/find
26:61 (55%)
26:61 (55%)
view
26 x 2 benchmark/find
benchmark/find
26:61 (55%)
26:61 (55%)
view
22 x 2 ux/src/app/instance-list
ux/src/app/service-detail/components/instance-list
122:146 (18%)
123:148 (18%)
view
20 x 2 benchmark/find
benchmark/find
2:24 (42%)
2:24 (42%)
view
20 x 2 benchmark/find
benchmark/find
2:24 (42%)
2:24 (42%)
view
19 x 2 benchmark/find
benchmark/find
2:23 (40%)
2:23 (40%)
view
19 x 2 benchmark/find
benchmark/find
33:61 (40%)
31:57 (42%)
view
19 x 2 benchmark/find
benchmark/find
33:61 (40%)
31:57 (42%)
view
19 x 2 benchmark/find
benchmark/find
33:61 (40%)
31:57 (42%)
view
19 x 2 benchmark/find
benchmark/find
2:23 (40%)
2:23 (40%)
view
19 x 2 benchmark/find
benchmark/find
33:61 (40%)
31:57 (42%)
view
19 x 2 benchmark/find
benchmark/find
2:23 (40%)
2:23 (40%)
view
19 x 2 datasource/etcd
datasource/mongo
55:87 (18%)
42:74 (22%)
view
19 x 2 benchmark/find
benchmark/find
2:23 (40%)
2:23 (40%)
view
17 x 2 benchmark/find
benchmark/register
2:20 (37%)
2:20 (39%)
view
17 x 2 benchmark/register
benchmark/register
2:20 (37%)
2:20 (39%)
view
17 x 2 ux/src/app/config-list/pages/list
ux/src/app/service-list
105:126 (19%)
93:113 (23%)
view
17 x 2 benchmark/register
benchmark/register
2:20 (37%)
2:20 (40%)
view
17 x 2 ux/src/app/config-list/pages/list
ux/src/app/service-detai...ponents/invoked-service
105:126 (19%)
51:71 (37%)
view
17 x 2 ux/src/app/service-detai...ponents/invoked-service
ux/src/app/service-list
51:71 (37%)
93:113 (23%)
view
17 x 2 benchmark/find
benchmark/register
2:20 (37%)
2:20 (39%)
view
17 x 2 datasource/rbac
datasource/schema
26:53 (80%)
26:53 (80%)
view
17 x 2 benchmark/find
benchmark/register
2:20 (37%)
2:20 (40%)
view
17 x 2 benchmark/find
benchmark/register
2:20 (37%)
2:20 (40%)
view
16 x 2 benchmark/register
benchmark/register
31:52 (38%)
32:54 (37%)
view
16 x 2 scctl/pkg/plugin/get/instance
scctl/pkg/plugin/get/service
84:109 (27%)
77:102 (28%)
view
15 x 2 ux/src/app/config-list/modal
ux/src/app/service-list/modal
17:33 (100%)
17:33 (100%)
view
14 x 2 frontend/app
frontend/app/views
1:16 (10%)
1:16 (82%)
view
14 x 2 benchmark/find
benchmark/register
24:39 (31%)
25:40 (32%)
view
14 x 2 ux/src/app/service-detail/components/instance-list
ux/src/app/service-list
74:87 (25%)
100:113 (19%)
view
14 x 2 ux/src/app/config-list/modal/select-service
ux/src/app/service-list
60:73 (25%)
100:113 (19%)
view
14 x 2 benchmark/find
benchmark/find
33:53 (29%)
31:49 (31%)
view
14 x 2 benchmark/find
benchmark/register
24:39 (31%)
25:40 (32%)
view
14 x 2 ux/src/app/config-list/pages/list
ux/src/app/service-detail/components/instance-list
113:126 (15%)
74:87 (25%)
view
14 x 2 benchmark/find
benchmark/find
33:53 (29%)
31:49 (31%)
view
14 x 2 ux/src/app/service-detail/components/instance-list
ux/src/app/service-detai...ponents/invoked-service
74:87 (25%)
58:71 (31%)
view
14 x 2 ux/src/app/config-list/modal/select-service
ux/src/app/service-detai...ponents/invoked-service
60:73 (25%)
58:71 (31%)
view
14 x 2 ux/src/app/instance-list
ux/src/app/service-detail/components/instance-list
151:167 (11%)
153:169 (11%)
view
14 x 2 benchmark/find
benchmark/find
33:53 (29%)
31:49 (31%)
view
14 x 2 benchmark/find
benchmark/register
33:53 (29%)
31:49 (31%)
view
14 x 2 benchmark/find
benchmark/register
33:53 (29%)
31:49 (31%)
view
14 x 2 benchmark/register
benchmark/register
24:39 (31%)
25:40 (32%)
view
Duplicated Units
The list of top 15 duplicated units.
See data for all 15 unit duplicates...
Size#FoldersFilesLinesCode
39 x 2 benchmark/find
benchmark/find
6:52 
6:52 
view
39 x 2 benchmark/find
benchmark/find
6:52 
6:52 
view
36 x 3 benchmark/register
benchmark/find
benchmark/find
6:48 
6:48 
6:48 
view
14 x 2 datasource/rbac
datasource/schema
40:58 
40:58 
view
13 x 2 server/resource/disco
server/rest/controller/v3
42:57 
31:46 
view
12 x 2 benchmark/register
benchmark/register
6:21 
6:21 
view
10 x 2 datasource/etcd/util
datasource
282:293 
123:134 
view
8 x 3 datasource/mongo/sd
datasource/mongo/sd
datasource/mongo/sd
94:103 
97:106 
94:103 
view
8 x 2 datasource/mongo/util
eventbase/datasource/mongo
356:365 
83:92 
view
8 x 3 scctl/pkg/plugin/get/instance
scctl/pkg/plugin/get/service
scctl/pkg/plugin/version
38:47 
38:48 
38:47 
view
7 x 2 datasource/etcd/util
datasource
169:177 
151:159 
view
7 x 2 scctl/pkg/plugin/health
scctl/pkg/plugin/get/cluster
39:48 
34:43 
view
6 x 2 datasource/etcd/util
datasource/mongo
266:273 
60:67 
view
6 x 2 datasource/etcd/util
datasource
273:280 
142:149 
view
6 x 2 datasource/etcd/state/etcd
datasource/mongo/sd
492:499 
73:80 
view