Uber / cadvisor
Duplication

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

Intro
Learn more...
Duplication Overall
system6% (1,113 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go6% (1,073 lines)
js7% (40 lines)
Duplication per Component (primary)
metrics15% (414 lines)
cmd10% (339 lines)
container4% (172 lines)
info8% (90 lines)
integration8% (30 lines)
client5% (14 lines)
perf2% (14 lines)
manager<1% (12 lines)
utils<1% (12 lines)
zfs14% (8 lines)
devicemapper4% (8 lines)
validate0% (0 lines)
watcher0% (0 lines)
deploy0% (0 lines)
collector0% (0 lines)
nvm0% (0 lines)
storage0% (0 lines)
ROOT0% (0 lines)
version0% (0 lines)
machine0% (0 lines)
build0% (0 lines)
events0% (0 lines)
fs0% (0 lines)
resctrl0% (0 lines)
stats0% (0 lines)
summary0% (0 lines)

Duplication Between Components (50+ lines)

G cmd cmd container container cmd--container 82

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 137 duplicates...
Size#FoldersFilesLinesCode
26 x 2 cmd/internal/storage/statsd
cmd/internal/storage/stdout
47:96 (22%)
49:98 (23%)
view
18 x 2 cmd/internal/pages
cmd/internal/pages
139:161 (18%)
115:137 (22%)
view
18 x 2 cmd/internal/storage/influxdb
cmd/internal/storage/stdout
53:84 (5%)
42:73 (16%)
view
16 x 2 metrics
metrics
137:155 (2%)
241:259 (2%)
view
15 x 2 metrics
metrics
94:111 (2%)
137:154 (2%)
view
15 x 2 metrics
metrics
73:90 (2%)
220:237 (2%)
view
15 x 2 metrics
metrics
73:90 (2%)
178:195 (2%)
view
15 x 2 metrics
metrics
137:154 (2%)
199:216 (2%)
view
15 x 2 metrics
metrics
199:216 (2%)
241:258 (2%)
view
15 x 2 metrics
metrics
178:195 (2%)
220:237 (2%)
view
15 x 2 metrics
metrics
73:90 (2%)
116:133 (2%)
view
15 x 2 metrics
metrics
94:111 (2%)
241:258 (2%)
view
15 x 2 metrics
metrics
94:111 (2%)
199:216 (2%)
view
15 x 2 metrics
metrics
116:133 (2%)
220:237 (2%)
view
15 x 2 metrics
metrics
116:133 (2%)
178:195 (2%)
view
14 x 2 cmd/internal/pages
cmd/internal/pages
117:133 (13%)
145:161 (13%)
view
14 x 2 container/docker
container/podman
223:248 (7%)
176:200 (8%)
view
13 x 2 cmd/internal/storage/statsd
cmd/internal/storage/stdout
104:132 (11%)
109:137 (11%)
view
13 x 2 cmd/internal/storage/influxdb
cmd/internal/storage/statsd
60:84 (4%)
47:71 (11%)
view
12 x 2 info/v1
info/v2
454:476 (2%)
295:306 (7%)
view
12 x 2 cmd/internal/storage/statsd
cmd/internal/storage/stdout
149:169 (10%)
154:174 (10%)
view
12 x 2 container/docker
container/podman
125:141 (6%)
85:100 (7%)
view
12 x 2 cmd/internal/pages/assets/js
cmd/internal/pages/assets/js
471:485 (2%)
512:526 (2%)
view
12 x 2 cmd/internal/storage/elasticsearch
cmd/internal/storage/redis
72:85 (13%)
69:82 (16%)
view
11 x 2 metrics
metrics
397:407 (1%)
410:420 (1%)
view
10 x 2 metrics
metrics
372:381 (1%)
384:393 (1%)
view
10 x 2 info/v1
info/v2
22:41 (2%)
31:57 (6%)
view
9 x 2 cmd/internal/storage/bigquery
cmd/internal/storage/influxdb
75:85 (4%)
105:115 (2%)
view
9 x 2 integration/framework
integration/framework
322:333 (4%)
344:355 (4%)
view
9 x 2 container/containerd
container/crio
64:75 (7%)
87:98 (5%)
view
8 x 2 cmd/internal/container/mesos
container/crio
62:73 (8%)
91:103 (4%)
view
8 x 2 cmd/internal/container/mesos
container/podman
62:73 (8%)
88:99 (4%)
view
8 x 2 cmd/internal/container/mesos
container/systemd
25:37 (100%)
25:37 (100%)
view
8 x 2 container/crio
container/docker
91:103 (4%)
128:140 (4%)
view
8 x 2 cmd/internal/container/mesos
container/containerd
25:37 (100%)
25:37 (100%)
view
8 x 2 container/crio
container/docker
76:83 (10%)
149:156 (4%)
view
8 x 2 cmd/internal/container/mesos
container/docker
62:73 (8%)
128:140 (4%)
view
8 x 2 container/containerd
container/systemd
25:37 (100%)
25:37 (100%)
view
8 x 2 devicemapper
zfs
65:72 (8%)
56:63 (14%)
view
8 x 2 container/crio
container/podman
91:103 (4%)
88:99 (4%)
view
8 x 2 cmd/internal/pages/assets/js
cmd/internal/pages/assets/js
489:497 (1%)
530:538 (1%)
view
7 x 2 metrics
metrics
44:51 (<1%)
66:73 (<1%)
view
7 x 2 perf
perf
212:223 (2%)
225:238 (2%)
view
7 x 2 container/crio
container/docker
333:341 (3%)
326:334 (3%)
view
7 x 2 info/v2
info/v2
71:78 (3%)
109:116 (3%)
view
7 x 2 cmd/internal/container/mesos
container/raw
156:167 (7%)
233:244 (4%)
view
7 x 2 metrics
metrics
1655:1661 (<1%)
1673:1679 (<1%)
view
7 x 2 client
client/v2
83:90 (5%)
52:59 (7%)
view
7 x 2 container/containerd
container/crio
215:223 (5%)
333:341 (3%)
view
7 x 2 cmd/internal/storage/elasticsearch
cmd/internal/storage/influxdb
54:62 (7%)
105:113 (2%)
view
Duplicated Units
The list of top 7 duplicated units.
See data for all 7 unit duplicates...
Size#FoldersFilesLinesCode
18 x 2 zfs
devicemapper
50:72 
59:81 
view
12 x 2 cmd/internal/storage/stdout
cmd/internal/storage/statsd
152:175 
147:170 
view
9 x 3 container/docker
container/containerd
container/crio
325:335 
214:224 
332:342 
view
8 x 2 cmd/internal/container/mesos
container/containerd
141:153 
187:197 
view
7 x 2 cmd/internal/storage/stdout
cmd/internal/storage/statsd
191:200 
186:195 
view
7 x 2 client
client/v2
83:91 
52:60 
view
6 x 2 cmd/internal/storage/stdout
cmd/internal/storage/statsd
140:150 
135:145 
view