Uber / kraken
Duplication

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

Intro
Learn more...
Duplication Overall
system6% (997 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go6% (898 lines)
yaml14% (99 lines)
Duplication per Component (primary)
lib4% (369 lines)
origin14% (169 lines)
build-index12% (110 lines)
config42% (99 lines)
tracker11% (95 lines)
agent22% (69 lines)
proxy18% (52 lines)
nginx8% (34 lines)
metrics0% (0 lines)
tools0% (0 lines)
ROOT0% (0 lines)
core0% (0 lines)
proto0% (0 lines)
localdb0% (0 lines)
utils0% (0 lines)
helm0% (0 lines)

Duplication Between Components (50+ lines)

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

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 90 duplicates...
Size#FoldersFilesLinesCode
25 x 2 agent/cmd
tracker/cmd
113:149 (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
113:149 (17%)
97:133 (24%)
view
25 x 2 build-index/cmd
proxy/cmd
96:132 (18%)
97:133 (24%)
view
25 x 2 proxy/cmd
tracker/cmd
97:133 (24%)
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%)
97:133 (24%)
view
25 x 2 agent/cmd
build-index/cmd
113:149 (17%)
96:132 (18%)
view
25 x 2 agent/cmd
origin/cmd
113:149 (17%)
120:156 (14%)
view
24 x 2 agent/cmd
origin/cmd
64:104 (17%)
74:114 (13%)
view
20 x 2 build-index/cmd
tracker/cmd
55:91 (15%)
49:85 (24%)
view
20 x 2 proxy/cmd
tracker/cmd
56:92 (19%)
49:85 (24%)
view
20 x 2 build-index/cmd
proxy/cmd
55:91 (15%)
56:92 (19%)
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%)
58:92 (17%)
view
18 x 2 agent/cmd
proxy/cmd
68:102 (12%)
58:92 (17%)
view
18 x 2 config/build-index
config/proxy
11:28 (45%)
6:23 (40%)
view
18 x 2 agent/cmd
tracker/cmd
68:102 (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
68:102 (12%)
57:91 (13%)
view
14 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
22:46 (100%)
22:46 (100%)
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 lib/backend/gcsbackend
lib/backend/s3backend
90:104 (6%)
96:110 (6%)
view
10 x 2 agent/cmd
origin/cmd
47:59 (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%)
94:106 (4%)
view
10 x 2 nginx/config
nginx/config
46:59 (23%)
65:78 (23%)
view
9 x 2 lib/torrent/scheduler/dispatch
lib/torrent/scheduler/dispatch
85:93 (2%)
112:120 (2%)
view
9 x 2 origin/blobserver
origin/blobserver
572:582 (2%)
638:648 (2%)
view
9 x 2 origin/blobserver
origin/blobserver
598:608 (2%)
638:648 (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
572:582 (2%)
598:608 (2%)
view
8 x 2 lib/backend/httpbackend
lib/backend/testfs
99:109 (16%)
121:131 (9%)
view
8 x 2 origin/blobserver
origin/blobserver
504:513 (1%)
577:586 (1%)
view
8 x 2 build-index/tagserver
build-index/tagserver
204:214 (2%)
319:329 (2%)
view
8 x 2 build-index/cmd
tracker/cmd
43:53 (6%)
37:47 (9%)
view
8 x 2 lib/store
lib/store
112:122 (8%)
78:88 (18%)
view
8 x 2 lib/backend/registrybackend
lib/backend/registrybackend
91:98 (9%)
127:134 (9%)
view
Duplicated Units
The list of top 4 duplicated units.
See data for all 4 unit duplicates...
Size#FoldersFilesLinesCode
18 x 3 lib/backend/gcsbackend
lib/backend/s3backend
lib/backend/sqlbackend
43:65 
46:68 
39:62 
view
11 x 2 build-index/cmd
tracker/cmd
51:63 
45:57 
view
10 x 3 lib/backend/httpbackend
lib/backend/hdfsbackend
lib/backend/testfs
39:52 
43:55 
41:55 
view
7 x 2 lib/persistedretry/writeback
lib/persistedretry/tagreplication
32:42 
32:42 
view