uber / kraken
Duplication

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

Intro
Learn more...
Duplication Overall
system6% (1,150 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go6% (1,051 lines)
yaml13% (99 lines)
Duplication per Component (primary)
lib4% (401 lines)
origin13% (221 lines)
tracker13% (109 lines)
config40% (99 lines)
build-index8% (94 lines)
agent20% (84 lines)
proxy13% (82 lines)
nginx9% (42 lines)
localdb16% (18 lines)
utils0% (0 lines)
helm0% (0 lines)
proto0% (0 lines)
metrics0% (0 lines)
core0% (0 lines)
tools0% (0 lines)

Duplication Between Components (50+ lines)

G build-index build-index tracker tracker build-index--tracker 142 proxy proxy build-index--proxy 124 origin origin build-index--origin 96 agent agent agent--origin 128 agent--build-index 126 agent--tracker 110 agent--proxy 106 origin--tracker 124 origin--proxy 98 proxy--tracker 126

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 113 duplicates...
Size#FoldersFilesLinesCode
29 x 2 proxy/cmd
tracker/cmd
103:144 (26%)
92:133 (32%)
view
29 x 2 origin/cmd
tracker/cmd
127:168 (14%)
92:133 (32%)
view
29 x 2 agent/cmd
tracker/cmd
118:159 (15%)
92:133 (32%)
view
29 x 2 agent/cmd
origin/cmd
118:159 (15%)
127:168 (14%)
view
29 x 2 origin/cmd
proxy/cmd
127:168 (14%)
103:144 (26%)
view
29 x 2 agent/cmd
proxy/cmd
118:159 (15%)
103:144 (26%)
view
24 x 2 agent/cmd
proxy/cmd
72:115 (13%)
55:98 (22%)
view
23 x 2 build-index/cmd
tracker/cmd
59:98 (16%)
52:91 (25%)
view
21 x 2 build-index/cmd
origin/cmd
61:98 (14%)
82:119 (10%)
view
21 x 2 origin/cmd
tracker/cmd
82:119 (10%)
54:91 (23%)
view
19 x 2 build-index/cmd
tracker/cmd
103:130 (13%)
92:119 (21%)
view
19 x 2 agent/cmd
build-index/cmd
118:145 (10%)
103:130 (13%)
view
19 x 2 build-index/cmd
proxy/cmd
103:130 (13%)
103:130 (17%)
view
19 x 2 build-index/cmd
origin/cmd
103:130 (13%)
127:154 (9%)
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 (36%)
6:23 (35%)
view
18 x 2 config/agent
config/proxy
1:18 (29%)
6:23 (35%)
view
18 x 2 config/build-index
config/proxy
11:28 (45%)
6:23 (35%)
view
18 x 2 origin/blobserver
origin/blobserver
770:790 (2%)
830:850 (2%)
view
18 x 2 config/agent
config/origin
1:18 (29%)
1:18 (36%)
view
18 x 2 config/build-index
config/origin
11:28 (45%)
1:18 (36%)
view
17 x 2 agent/cmd
origin/cmd
68:86 (9%)
78:96 (8%)
view
15 x 2 build-index/cmd
proxy/cmd
59:75 (10%)
53:69 (13%)
view
15 x 2 proxy/cmd
tracker/cmd
53:69 (13%)
52:68 (16%)
view
13 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
139:156 (11%)
160:177 (11%)
view
13 x 2 config/proxy
config/tracker
11:23 (25%)
6:18 (30%)
view
13 x 2 origin/cmd
proxy/cmd
82:96 (6%)
55:69 (11%)
view
13 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
71:89 (11%)
67:85 (11%)
view
13 x 2 config/build-index
config/tracker
16:28 (32%)
6:18 (30%)
view
13 x 2 agent/cmd
tracker/cmd
72:86 (7%)
54:68 (14%)
view
13 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
42:67 (11%)
38:63 (11%)
view
13 x 2 origin/blobserver
origin/blobserver
724:738 (1%)
770:784 (1%)
view
13 x 2 config/origin
config/tracker
6:18 (26%)
6:18 (30%)
view
13 x 2 agent/cmd
build-index/cmd
72:86 (7%)
61:75 (9%)
view
13 x 2 origin/blobserver
origin/blobserver
724:738 (1%)
830:844 (1%)
view
13 x 2 config/agent
config/tracker
6:18 (21%)
6:18 (30%)
view
11 x 2 agent/cmd
origin/cmd
50:63 (6%)
60:73 (5%)
view
11 x 2 lib/persistedretry/tagreplication
lib/persistedretry/writeback
95:110 (9%)
91:106 (9%)
view
10 x 2 nginx/config
nginx/config
52:65 (16%)
93:106 (16%)
view
10 x 2 nginx/config
nginx/config
52:65 (16%)
74:87 (16%)
view
10 x 2 lib/backend/gcsbackend
lib/backend/s3backend
96:110 (6%)
99:113 (6%)
view
10 x 2 nginx/config
nginx/config
74:87 (16%)
93:106 (16%)
view
10 x 2 agent/agentclient
build-index/tagclient
52:64 (31%)
103:115 (3%)
view
9 x 2 build-index/cmd
tracker/cmd
46:57 (6%)
39:50 (10%)
view
9 x 2 localdb/migrations
localdb/migrations
29:37 (47%)
51:59 (25%)
view
9 x 2 lib/backend/hdfsbackend/webhdfs
lib/backend/hdfsbackend/webhdfs
270:278 (4%)
299:307 (4%)
view
9 x 2 lib/torrent/scheduler/dispatch
lib/torrent/scheduler/dispatch
83:91 (2%)
110:118 (2%)
view
8 x 2 agent/cmd
build-index/cmd
149:159 (4%)
133:143 (5%)
view
8 x 2 lib/backend/httpbackend
lib/backend/testfs
104:114 (15%)
124:134 (9%)
view
8 x 2 lib/backend/registrybackend
lib/backend/registrybackend
96:103 (9%)
132:139 (9%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
14 x 2 build-index/cmd
tracker/cmd
55:70 
48:63 
view
10 x 3 lib/backend/httpbackend
lib/backend/testfs
lib/backend/hdfsbackend
43:56 
43:57 
45:57 
view