uber / kraken
Duplication

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

Intro
Learn more...
Duplication Overall
system6% (1,009 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go6% (910 lines)
yaml14% (99 lines)
Duplication per Component (primary)
lib3% (341 lines)
origin14% (175 lines)
build-index13% (122 lines)
tracker12% (101 lines)
config42% (99 lines)
agent21% (75 lines)
proxy11% (52 lines)
nginx10% (44 lines)
metrics0% (0 lines)
utils0% (0 lines)
tools0% (0 lines)
localdb0% (0 lines)
core0% (0 lines)
helm0% (0 lines)
proto0% (0 lines)

Duplication Between Components (50+ lines)

G build-index build-index tracker tracker build-index--tracker 130 origin origin build-index--origin 98 proxy proxy build-index--proxy 104 agent agent agent--build-index 118 agent--tracker 98 agent--origin 118 agent--proxy 86 origin--tracker 110 origin--proxy 86 proxy--tracker 102

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 95 duplicates...
Size#FoldersFilesLinesCode
25 x 2 agent/cmd
tracker/cmd
114:150 (17%)
86:122 (30%)
view
25 x 2 build-index/cmd
origin/cmd
96:132 (18%)
120:156 (14%)
view
25 x 2 build-index/cmd
tracker/cmd
96:132 (18%)
86:122 (30%)
view
25 x 2 agent/cmd
proxy/cmd
114:150 (17%)
90:126 (26%)
view
25 x 2 build-index/cmd
proxy/cmd
96:132 (18%)
90:126 (26%)
view
25 x 2 proxy/cmd
tracker/cmd
90:126 (26%)
86:122 (30%)
view
25 x 2 origin/cmd
tracker/cmd
120:156 (14%)
86:122 (30%)
view
25 x 2 origin/cmd
proxy/cmd
120:156 (14%)
90:126 (26%)
view
25 x 2 agent/cmd
build-index/cmd
114:150 (17%)
96:132 (18%)
view
25 x 2 agent/cmd
origin/cmd
114:150 (17%)
120:156 (14%)
view
24 x 2 agent/cmd
origin/cmd
65:105 (17%)
74:114 (13%)
view
20 x 2 build-index/cmd
tracker/cmd
55:91 (15%)
49:85 (24%)
view
20 x 2 build-index/cmd
proxy/cmd
55:91 (15%)
49:85 (20%)
view
20 x 2 proxy/cmd
tracker/cmd
49:85 (20%)
49:85 (24%)
view
18 x 2 config/agent
config/build-index
1:18 (29%)
11:28 (45%)
view
18 x 2 config/origin
config/proxy
1:18 (38%)
6:23 (40%)
view
18 x 2 config/agent
config/proxy
1:18 (29%)
6:23 (40%)
view
18 x 2 origin/cmd
proxy/cmd
78:112 (10%)
51:85 (18%)
view
18 x 2 agent/cmd
proxy/cmd
69:103 (12%)
51:85 (18%)
view
18 x 2 config/build-index
config/proxy
11:28 (45%)
6:23 (40%)
view
18 x 2 agent/cmd
tracker/cmd
69:103 (12%)
51:85 (21%)
view
18 x 2 config/agent
config/origin
1:18 (29%)
1:18 (38%)
view
18 x 2 config/build-index
config/origin
11:28 (45%)
1:18 (38%)
view
18 x 2 origin/cmd
tracker/cmd
78:112 (10%)
51:85 (21%)
view
18 x 2 build-index/cmd
origin/cmd
57:91 (13%)
78:112 (10%)
view
18 x 2 agent/cmd
build-index/cmd
69:103 (12%)
57:91 (13%)
view
14 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
128:145 (13%)
139:156 (13%)
view
13 x 2 config/proxy
config/tracker
11:23 (28%)
6:18 (30%)
view
13 x 2 config/build-index
config/tracker
16:28 (32%)
6:18 (30%)
view
13 x 2 config/origin
config/tracker
6:18 (27%)
6:18 (30%)
view
13 x 2 config/agent
config/tracker
6:18 (21%)
6:18 (30%)
view
11 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
67:82 (10%)
63:78 (10%)
view
11 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
88:103 (10%)
84:99 (10%)
view
10 x 2 nginx/config
nginx/config
50:63 (17%)
72:85 (17%)
view
10 x 2 nginx/config
nginx/config
50:63 (17%)
91:104 (17%)
view
10 x 2 lib/backend/gcsbackend
lib/backend/s3backend
93:107 (6%)
99:113 (6%)
view
10 x 2 agent/cmd
origin/cmd
48:60 (7%)
57:69 (5%)
view
10 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
42:63 (9%)
38:59 (9%)
view
10 x 2 agent/agentclient
build-index/tagclient
52:64 (31%)
103:115 (3%)
view
10 x 2 nginx/config
nginx/config
72:85 (17%)
91:104 (17%)
view
9 x 2 lib/torrent/scheduler/dispatch
lib/torrent/scheduler/dispatch
85:93 (2%)
112:120 (2%)
view
9 x 2 lib/backend/hdfsbackend/webhdfs
lib/backend/hdfsbackend/webhdfs
270:278 (4%)
299:307 (4%)
view
9 x 2 origin/blobserver
origin/blobserver
583:593 (1%)
609:619 (1%)
view
9 x 2 origin/blobserver
origin/blobserver
583:593 (1%)
649:659 (1%)
view
9 x 2 origin/blobserver
origin/blobserver
609:619 (1%)
649:659 (1%)
view
8 x 2 build-index/cmd
tracker/cmd
43:53 (6%)
37:47 (9%)
view
8 x 2 lib/backend/httpbackend
lib/backend/testfs
102:112 (16%)
124:134 (9%)
view
8 x 2 lib/backend/registrybackend
lib/backend/registrybackend
95:102 (9%)
131:138 (9%)
view
8 x 2 lib/store
lib/store
112:122 (8%)
78:88 (18%)
view
8 x 2 build-index/tagserver
build-index/tagserver
218:228 (2%)
333:343 (2%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
11 x 2 build-index/cmd
tracker/cmd
51:63 
45:57 
view
10 x 3 lib/backend/testfs
lib/backend/hdfsbackend
lib/backend/httpbackend
43:57 
45:57 
41:54 
view