File Size Overall
  • There are 191 files with 16,114 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,200 lines of code)
    • 18 medium size files (5,416 lines of code)
    • 22 small files (3,128 lines of code)
    • 148 very small files (5,370 lines of code)
0% | 13% | 33% | 19% | 33%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go0% | 8% | 35% | 20% | 34%
yaml0% | 85% | 0% | 0% | 14%
proto0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
api0% | 99% | 0% | 0% | <1%
internal0% | 6% | 36% | 23% | 33%
rpc0% | 67% | 0% | 23% | 9%
pkg0% | 0% | 49% | 0% | 50%
ROOT0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
861 -
worker.go
in internal/worker
788 25
551 72
api_vms.go
in internal/controller
499 13
scheduler.go
in internal/controller/scheduler
433 10
controller.go
in internal/controller
404 11
tart.go
in internal/worker/vmmanager/tart
364 13
client.go
in pkg/client
338 22
v1.go
in pkg/resource/v1
313 22
sshexec.go
in internal/controller/sshexec
294 15
api.go
in internal/controller
284 10
vms.go
in pkg/client
284 19
api_vms_exec.go
in internal/controller
283 8
base.go
in internal/worker/vmmanager/base
264 16
vetu.go
in internal/worker/vmmanager/vetu
246 14
api_vms_portforward.go
in internal/controller
245 4
run.go
in internal/command/worker
242 4
create.go
in internal/command/context
238 6
run.go
in internal/command/controller
238 3
sshserver.go
in internal/controller/sshserver
230 6
dev.go
in internal/command/dev
217 5
vm.go
in internal/command/create
196 2
193 18
rpcv2.go
in internal/worker
182 8
rpc.go
in internal/worker
172 3
synthetic.go
in internal/worker/vmmanager/synthetic
162 14
vm.go
in internal/command/ssh
158 3
exec_ssh_clients.go
in internal/controller
157 10
endpoint.go
in internal/worker/endpoint
156 8
listener.go
in internal/udpconn
139 9
conn.go
in internal/udpconn
133 12
handle.go
in internal/config
131 7
api_service_accounts.go
in internal/controller
131 5
badger_watch.go
in internal/controller/store/badger
129 1
api_workers.go
in internal/controller
128 5
softnet_control.go
in internal/worker/vmmanager/tart
128 8
startup_script.go
in internal/worker/vmmanager/base
126 4
init.go
in internal/command/controller
125 4
badger_events.go
in internal/controller/store/badger
124 5
bootstraptoken.go
in internal/bootstraptoken
122 6
set.go
in internal/worker/hostprocess
119 9
vm.go
in internal/command/get
109 2
process.go
in internal/worker/hostprocess
108 4
api_rpc_watch.go
in internal/controller
94 1
datadir.go
in internal/controller
92 10
api_vms_ip.go
in internal/controller
89 2
rpc.go
in internal/controller
86 3
badger_store.go
in internal/controller/store/badger
86 5
bootstrap.go
in internal/command/controller
86 1
option.go
in internal/controller
85 15
Large Files That Change Often (Top 20)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
File# lines≈ tokens
to read
# changes
(1y)
≈ lines edited
per change
lines read per
line changed
861 ~5k–15k 24 ~50 ~20
worker.go
in internal/worker
788 ~5k–15k 21 ~50 ~15
api_vms.go
in internal/controller
499 ~3k–7k 16 ~20 ~20
v1.go
in pkg/resource/v1
313 ~2k–5k 17 ~15 ~20
tart.go
in internal/worker/vmmanager/tart
364 ~2k–7k 14 ~100 ~5
controller.go
in internal/controller
404 ~2k–7k 12 ~15 ~30
vms.go
in pkg/client
284 ~1.5k–5k 9 ~20 ~15
api_vms_exec.go
in internal/controller
283 ~1.5k–5k 9 ~100 ~3
scheduler.go
in internal/controller/scheduler
433 ~3k–7k 5 ~50 ~10
base.go
in internal/worker/vmmanager/base
264 ~1.5k–5k 7 ~50 ~5
vm.go
in internal/command/create
196 ~1k–3k 9 ~10 ~15
client.go
in pkg/client
338 ~2k–5k 5 ~30 ~10
run.go
in internal/command/worker
242 ~1.5k–5k 6 ~20 ~15
run.go
in internal/command/controller
238 ~1.5k–5k 6 ~15 ~15
api.go
in internal/controller
284 ~1.5k–5k 5 ~20 ~15
vetu.go
in internal/worker/vmmanager/vetu
246 ~1.5k–5k 5 ~70 ~3
api_vms_portforward.go
in internal/controller
245 ~1.5k–5k 5 ~30 ~10
sshexec.go
in internal/controller/sshexec
294 ~2k–5k 4 ~100 ~3
551 ~3k–10k 2 ~300 ~2
rpcv2.go
in internal/worker
182 ~1k–3k 5 ~30 ~5

Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).

Files With Most Units (Top 50)
File# lines# units
551 72
worker.go
in internal/worker
788 25
v1.go
in pkg/resource/v1
313 22
client.go
in pkg/client
338 22
vms.go
in pkg/client
284 19
193 18
base.go
in internal/worker/vmmanager/base
264 16
option.go
in internal/controller
85 15
sshexec.go
in internal/controller/sshexec
294 15
vetu.go
in internal/worker/vmmanager/vetu
246 14
synthetic.go
in internal/worker/vmmanager/synthetic
162 14
api_vms.go
in internal/controller
499 13
tart.go
in internal/worker/vmmanager/tart
364 13
conn.go
in internal/udpconn
133 12
controller.go
in internal/controller
404 11
datadir.go
in internal/controller
92 10
scheduler.go
in internal/controller/scheduler
433 10
exec_ssh_clients.go
in internal/controller
157 10
api.go
in internal/controller
284 10
option.go
in internal/worker
60 10
resources.go
in pkg/resource/v1
80 10
listener.go
in internal/udpconn
139 9
set.go
in internal/worker/hostprocess
119 9
api_vms_exec.go
in internal/controller
283 8
endpoint.go
in internal/worker/endpoint
156 8
rpcv2.go
in internal/worker
182 8
softnet_control.go
in internal/worker/vmmanager/tart
128 8
handle.go
in internal/config
131 7
vmmanager.go
in internal/worker/vmmanager
69 7
bootstraptoken.go
in internal/bootstraptoken
122 6
sshserver.go
in internal/controller/sshserver
230 6
create.go
in internal/command/context
238 6
synthetic.go
in internal/worker/runtime
42 6
vetu.go
in internal/worker/runtime
39 6
tart.go
in internal/worker/runtime
40 6
vm_condition.go
in pkg/resource/v1
79 6
workers.go
in pkg/client
65 6
api_service_accounts.go
in internal/controller
131 5
badger_service_account.go
in internal/controller/store/badger
21 5
badger_store.go
in internal/controller/store/badger
86 5
badger_vm.go
in internal/controller/store/badger
21 5
badger_worker.go
in internal/controller/store/badger
21 5
badger_logger.go
in internal/controller/store/badger
22 5
badger_events.go
in internal/controller/store/badger
124 5
api_workers.go
in internal/controller
128 5
dev.go
in internal/command/dev
217 5
ondiskname.go
in internal/worker/ondiskname
81 5
set.go
in internal/worker/endpoint
81 5
cmd.go
in internal/worker/vmmanager/tart
54 5
concurrentmap.go
in internal/concurrentmap
42 5
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 25 long lines.

File# lines# units# long lines
551 72 8
193 18 5
861 - 3
vm.go
in internal/command/create
196 2 2
vms.go
in pkg/client
284 19 2
api_vms_exec.go
in internal/controller
283 8 1
rpc.go
in internal/controller
86 3 1
api_vms.go
in internal/controller
499 13 1
run.go
in internal/command/controller
238 3 1
dhcpleasetime.go
in internal/worker/dhcpleasetime
44 1 1
Correlations

File Size vs. Commits (all time): 191 points

internal/command/worker/run.go x: 23 commits (all time) y: 242 lines of code internal/worker/option.go x: 14 commits (all time) y: 60 lines of code internal/worker/runtime/tart.go x: 3 commits (all time) y: 40 lines of code internal/worker/vmmanager/tart/tart.go x: 14 commits (all time) y: 364 lines of code internal/worker/vmmanager/vetu/vetu.go x: 5 commits (all time) y: 246 lines of code internal/worker/worker.go x: 50 commits (all time) y: 788 lines of code api/openapi.yaml x: 41 commits (all time) y: 861 lines of code internal/command/create/vm.go x: 29 commits (all time) y: 196 lines of code internal/controller/api_vms.go x: 37 commits (all time) y: 499 lines of code pkg/resource/v1/v1.go x: 41 commits (all time) y: 313 lines of code .golangci.yml x: 13 commits (all time) y: 46 lines of code internal/command/controller/run.go x: 30 commits (all time) y: 238 lines of code internal/controller/api_vms_exec.go x: 9 commits (all time) y: 283 lines of code internal/controller/controller.go x: 48 commits (all time) y: 404 lines of code internal/controller/option.go x: 18 commits (all time) y: 85 lines of code internal/execstream/frame.go x: 4 commits (all time) y: 36 lines of code pkg/client/vms.go x: 22 commits (all time) y: 284 lines of code internal/worker/vmmanager/base/base.go x: 7 commits (all time) y: 264 lines of code internal/worker/vmmanager/base/startup_script.go x: 1 commits (all time) y: 126 lines of code internal/controller/api_rpc_watch.go x: 7 commits (all time) y: 94 lines of code internal/controller/api_vms_portforward.go x: 23 commits (all time) y: 245 lines of code internal/controller/api_workers_portforward.go x: 5 commits (all time) y: 43 lines of code internal/worker/hostprocess/process.go x: 2 commits (all time) y: 108 lines of code internal/worker/rpc.go x: 16 commits (all time) y: 172 lines of code internal/worker/rpcv2.go x: 9 commits (all time) y: 182 lines of code internal/worker/socketalias/socketalias.go x: 1 commits (all time) y: 40 lines of code pkg/resource/v1/service_account_role.go x: 5 commits (all time) y: 51 lines of code pkg/resource/v1/watch_instruction.go x: 3 commits (all time) y: 29 lines of code rpc/orchard.pb.go x: 7 commits (all time) y: 551 lines of code rpc/orchard.proto x: 7 commits (all time) y: 62 lines of code internal/command/get/vm.go x: 10 commits (all time) y: 109 lines of code internal/controller/scheduler/scheduler.go x: 23 commits (all time) y: 433 lines of code internal/udpconn/conn.go x: 1 commits (all time) y: 133 lines of code internal/udpconn/listener.go x: 1 commits (all time) y: 139 lines of code internal/udpconn/tuning.go x: 1 commits (all time) y: 12 lines of code internal/worker/endpoint/endpoint.go x: 2 commits (all time) y: 156 lines of code internal/worker/endpoint/set.go x: 2 commits (all time) y: 81 lines of code internal/worker/endpoint/target.go x: 2 commits (all time) y: 54 lines of code pkg/resource/v1/endpoint.go x: 2 commits (all time) y: 85 lines of code internal/worker/vmmanager/vmmanager.go x: 13 commits (all time) y: 69 lines of code pkg/resource/v1/labels.go x: 2 commits (all time) y: 25 lines of code pkg/resource/v1/resources.go x: 5 commits (all time) y: 80 lines of code internal/worker/hostprocess/set.go x: 1 commits (all time) y: 119 lines of code internal/worker/ondiskname/ondiskname.go x: 3 commits (all time) y: 81 lines of code internal/worker/vmmanager/synthetic/synthetic.go x: 4 commits (all time) y: 162 lines of code pkg/resource/v1/hostprocess.go x: 1 commits (all time) y: 27 lines of code internal/controller/api_workers.go x: 23 commits (all time) y: 128 lines of code pkg/resource/v1/connection_target.go x: 1 commits (all time) y: 14 lines of code pkg/resource/v1/worker.go x: 9 commits (all time) y: 33 lines of code internal/worker/runtime/synthetic.go x: 2 commits (all time) y: 42 lines of code internal/worker/vmmanager/base/cmd.go x: 3 commits (all time) y: 83 lines of code internal/worker/vmmanager/tart/cmd.go x: 4 commits (all time) y: 54 lines of code internal/command/dev/dev.go x: 18 commits (all time) y: 217 lines of code pkg/resource/v1/host_dir_policy.go x: 4 commits (all time) y: 58 lines of code .goreleaser.yml x: 9 commits (all time) y: 68 lines of code internal/imageconstant/imageconstant.go x: 4 commits (all time) y: 42 lines of code pkg/client/client.go x: 24 commits (all time) y: 338 lines of code internal/controller/exec_ssh_clients.go x: 1 commits (all time) y: 157 lines of code internal/controller/sshexec/sshexec.go x: 4 commits (all time) y: 294 lines of code internal/controller/api_vms_ip.go x: 7 commits (all time) y: 89 lines of code internal/concurrentmap/concurrentmap.go x: 3 commits (all time) y: 42 lines of code internal/controller/notifier/notifier.go x: 5 commits (all time) y: 62 lines of code internal/controller/api.go x: 25 commits (all time) y: 284 lines of code internal/controller/store/badger/badger_generic.go x: 3 commits (all time) y: 71 lines of code internal/controller/store/badger/badger_service_account.go x: 5 commits (all time) y: 21 lines of code internal/controller/store/badger/badger_vm.go x: 7 commits (all time) y: 21 lines of code internal/controller/store/store.go x: 11 commits (all time) y: 54 lines of code internal/echoserver/echoserver.go x: 2 commits (all time) y: 64 lines of code internal/echoserver/option.go x: 1 commits (all time) y: 8 lines of code internal/controller/sshserver/sshserver.go x: 6 commits (all time) y: 230 lines of code internal/controller/api_service_accounts.go x: 10 commits (all time) y: 131 lines of code pkg/client/option.go x: 7 commits (all time) y: 46 lines of code pkg/resource/v1/service_account.go x: 4 commits (all time) y: 10 lines of code internal/worker/platform/iokitregistry/iokitregistry.go x: 1 commits (all time) y: 35 lines of code internal/worker/platform/platform_darwin.go x: 1 commits (all time) y: 5 lines of code internal/command/logs/vm.go x: 3 commits (all time) y: 37 lines of code internal/controller/store/badger/badger_events.go x: 4 commits (all time) y: 124 lines of code internal/command/controller/bootstrap.go x: 5 commits (all time) y: 86 lines of code internal/controller/store/badger/badger_cluster_settings.go x: 3 commits (all time) y: 11 lines of code pkg/resource/v1/cluster_settings.go x: 4 commits (all time) y: 22 lines of code internal/controller/store/badger/badger_store.go x: 6 commits (all time) y: 86 lines of code internal/controller/api_controller.go x: 3 commits (all time) y: 25 lines of code internal/controller/store/badger/badger_watch.go x: 1 commits (all time) y: 129 lines of code internal/command/get/cluster_settings.go x: 4 commits (all time) y: 39 lines of code internal/command/get/service_account.go x: 3 commits (all time) y: 54 lines of code internal/command/list/vms.go x: 6 commits (all time) y: 43 lines of code internal/command/context/create.go x: 11 commits (all time) y: 238 lines of code internal/command/create/service_account.go x: 3 commits (all time) y: 46 lines of code internal/command/list/list.go x: 3 commits (all time) y: 14 lines of code internal/command/pause/worker.go x: 3 commits (all time) y: 62 lines of code internal/command/ssh/vm.go x: 7 commits (all time) y: 158 lines of code internal/command/vnc/vm.go x: 4 commits (all time) y: 80 lines of code internal/command/vnc/worker.go x: 2 commits (all time) y: 83 lines of code internal/command/controller/controller.go x: 4 commits (all time) y: 15 lines of code internal/command/worker/worker.go x: 4 commits (all time) y: 12 lines of code internal/command/root.go x: 14 commits (all time) y: 75 lines of code .github/dependabot.yaml x: 2 commits (all time) y: 10 lines of code internal/worker/dhcpleasetime/dhcpleasetime.go x: 1 commits (all time) y: 44 lines of code pkg/client/rpc.go x: 1 commits (all time) y: 61 lines of code internal/netconncancel/netconncancel.go x: 1 commits (all time) y: 19 lines of code internal/command/set/cluster_settings.go x: 2 commits (all time) y: 67 lines of code internal/controller/api_cluster_settings.go x: 3 commits (all time) y: 50 lines of code internal/controller/scheduler/workerinfo.go x: 1 commits (all time) y: 28 lines of code internal/config/handle.go x: 4 commits (all time) y: 131 lines of code internal/controller/store/badger/badger_logger.go x: 1 commits (all time) y: 22 lines of code rpc/orchard_grpc.pb.go x: 4 commits (all time) y: 193 lines of code internal/command/controller/init.go x: 8 commits (all time) y: 125 lines of code internal/controller/datadir.go x: 5 commits (all time) y: 92 lines of code internal/command/portforward/portforward.go x: 3 commits (all time) y: 10 lines of code internal/command/portforward/worker.go x: 1 commits (all time) y: 67 lines of code pkg/client/workers.go x: 5 commits (all time) y: 65 lines of code pkg/client/service_accounts.go x: 3 commits (all time) y: 60 lines of code internal/command/get/get.go x: 4 commits (all time) y: 26 lines of code internal/structpath/structpath.go x: 2 commits (all time) y: 28 lines of code internal/bootstraptoken/bootstraptoken.go x: 2 commits (all time) y: 122 lines of code internal/config/context.go x: 4 commits (all time) y: 28 lines of code internal/command/resume/worker.go x: 1 commits (all time) y: 33 lines of code api/api.go x: 1 commits (all time) y: 3 lines of code rpc/constants.go x: 2 commits (all time) y: 5 lines of code internal/command/context/default.go x: 2 commits (all time) y: 22 lines of code internal/command/deletecmd/vm.go x: 3 commits (all time) y: 21 lines of code internal/command/create/create.go x: 2 commits (all time) y: 12 lines of code internal/responder/code.go x: 2 commits (all time) y: 16 lines of code internal/responder/json.go x: 2 commits (all time) y: 19 lines of code
861.0
lines of code
  min: 3.0
  average: 84.37
  25th percentile: 20.0
  median: 42.0
  75th percentile: 86.0
  max: 861.0
0 50.0
commits (all time)
min: 1.0 | average: 5.58 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 50.0

File Size vs. Contributors (all time): 191 points

internal/command/worker/run.go x: 4 contributors (all time) y: 242 lines of code internal/worker/option.go x: 3 contributors (all time) y: 60 lines of code internal/worker/runtime/tart.go x: 2 contributors (all time) y: 40 lines of code internal/worker/vmmanager/tart/tart.go x: 4 contributors (all time) y: 364 lines of code internal/worker/vmmanager/vetu/vetu.go x: 3 contributors (all time) y: 246 lines of code internal/worker/worker.go x: 4 contributors (all time) y: 788 lines of code api/openapi.yaml x: 6 contributors (all time) y: 861 lines of code internal/command/create/vm.go x: 6 contributors (all time) y: 196 lines of code internal/controller/api_vms.go x: 4 contributors (all time) y: 499 lines of code pkg/resource/v1/v1.go x: 5 contributors (all time) y: 313 lines of code .golangci.yml x: 4 contributors (all time) y: 46 lines of code internal/command/controller/run.go x: 5 contributors (all time) y: 238 lines of code internal/controller/api_vms_exec.go x: 3 contributors (all time) y: 283 lines of code internal/controller/controller.go x: 4 contributors (all time) y: 404 lines of code internal/controller/option.go x: 3 contributors (all time) y: 85 lines of code internal/execstream/frame.go x: 3 contributors (all time) y: 36 lines of code pkg/client/vms.go x: 4 contributors (all time) y: 284 lines of code internal/worker/vmmanager/base/base.go x: 3 contributors (all time) y: 264 lines of code internal/worker/vmmanager/base/startup_script.go x: 1 contributors (all time) y: 126 lines of code internal/controller/api_rpc_watch.go x: 2 contributors (all time) y: 94 lines of code internal/controller/api_workers_portforward.go x: 3 contributors (all time) y: 43 lines of code internal/worker/hostprocess/process.go x: 1 contributors (all time) y: 108 lines of code internal/worker/rpc.go x: 4 contributors (all time) y: 172 lines of code internal/worker/rpcv2.go x: 3 contributors (all time) y: 182 lines of code internal/worker/socketalias/socketalias.go x: 1 contributors (all time) y: 40 lines of code pkg/resource/v1/service_account_role.go x: 2 contributors (all time) y: 51 lines of code pkg/resource/v1/watch_instruction.go x: 2 contributors (all time) y: 29 lines of code rpc/orchard.pb.go x: 3 contributors (all time) y: 551 lines of code rpc/orchard.proto x: 3 contributors (all time) y: 62 lines of code internal/command/get/vm.go x: 4 contributors (all time) y: 109 lines of code internal/controller/scheduler/scheduler.go x: 4 contributors (all time) y: 433 lines of code internal/udpconn/conn.go x: 1 contributors (all time) y: 133 lines of code internal/udpconn/listener.go x: 1 contributors (all time) y: 139 lines of code internal/udpconn/tuning.go x: 1 contributors (all time) y: 12 lines of code internal/worker/endpoint/endpoint.go x: 1 contributors (all time) y: 156 lines of code internal/worker/endpoint/set.go x: 1 contributors (all time) y: 81 lines of code internal/worker/endpoint/target.go x: 1 contributors (all time) y: 54 lines of code pkg/resource/v1/endpoint.go x: 1 contributors (all time) y: 85 lines of code internal/worker/vmmanager/vmmanager.go x: 4 contributors (all time) y: 69 lines of code pkg/resource/v1/labels.go x: 2 contributors (all time) y: 25 lines of code pkg/resource/v1/resources.go x: 3 contributors (all time) y: 80 lines of code internal/worker/hostprocess/set.go x: 1 contributors (all time) y: 119 lines of code internal/worker/ondiskname/ondiskname.go x: 2 contributors (all time) y: 81 lines of code internal/worker/vmmanager/synthetic/synthetic.go x: 2 contributors (all time) y: 162 lines of code pkg/resource/v1/hostprocess.go x: 1 contributors (all time) y: 27 lines of code internal/controller/api_workers.go x: 4 contributors (all time) y: 128 lines of code pkg/resource/v1/connection_target.go x: 1 contributors (all time) y: 14 lines of code pkg/resource/v1/worker.go x: 2 contributors (all time) y: 33 lines of code internal/worker/runtime/synthetic.go x: 2 contributors (all time) y: 42 lines of code internal/worker/vmmanager/base/cmd.go x: 3 contributors (all time) y: 83 lines of code internal/worker/vmmanager/tart/cmd.go x: 3 contributors (all time) y: 54 lines of code internal/command/dev/dev.go x: 3 contributors (all time) y: 217 lines of code .goreleaser.yml x: 5 contributors (all time) y: 68 lines of code pkg/client/client.go x: 3 contributors (all time) y: 338 lines of code internal/controller/sshexec/sshexec.go x: 2 contributors (all time) y: 294 lines of code internal/controller/api_vms_ip.go x: 2 contributors (all time) y: 89 lines of code internal/controller/api.go x: 2 contributors (all time) y: 284 lines of code internal/controller/store/badger/badger_generic.go x: 2 contributors (all time) y: 71 lines of code internal/controller/store/badger/badger_service_account.go x: 2 contributors (all time) y: 21 lines of code internal/echoserver/echoserver.go x: 1 contributors (all time) y: 64 lines of code internal/echoserver/option.go x: 1 contributors (all time) y: 8 lines of code internal/controller/sshserver/sshserver.go x: 2 contributors (all time) y: 230 lines of code internal/controller/api_service_accounts.go x: 2 contributors (all time) y: 131 lines of code pkg/client/option.go x: 2 contributors (all time) y: 46 lines of code internal/worker/platform/iokitregistry/iokitregistry.go x: 1 contributors (all time) y: 35 lines of code internal/worker/platform/platform_darwin.go x: 1 contributors (all time) y: 5 lines of code internal/controller/store/badger/badger_events.go x: 2 contributors (all time) y: 124 lines of code internal/command/controller/bootstrap.go x: 2 contributors (all time) y: 86 lines of code pkg/resource/v1/cluster_settings.go x: 1 contributors (all time) y: 22 lines of code internal/controller/store/badger/badger_watch.go x: 1 contributors (all time) y: 129 lines of code internal/command/get/worker.go x: 1 contributors (all time) y: 68 lines of code internal/command/list/service_accounts.go x: 1 contributors (all time) y: 44 lines of code internal/command/context/create.go x: 2 contributors (all time) y: 238 lines of code internal/command/create/service_account.go x: 1 contributors (all time) y: 46 lines of code internal/command/ssh/vm.go x: 2 contributors (all time) y: 158 lines of code internal/command/vnc/worker.go x: 1 contributors (all time) y: 83 lines of code internal/command/controller/controller.go x: 2 contributors (all time) y: 15 lines of code internal/command/root.go x: 2 contributors (all time) y: 75 lines of code internal/controller/wserror.go x: 1 contributors (all time) y: 28 lines of code pkg/client/rpc.go x: 1 contributors (all time) y: 61 lines of code internal/netconncancel/netconncancel.go x: 1 contributors (all time) y: 19 lines of code internal/command/set/cluster_settings.go x: 1 contributors (all time) y: 67 lines of code internal/controller/api_cluster_settings.go x: 1 contributors (all time) y: 50 lines of code rpc/orchard_grpc.pb.go x: 2 contributors (all time) y: 193 lines of code pkg/client/workers.go x: 2 contributors (all time) y: 65 lines of code pkg/client/service_accounts.go x: 2 contributors (all time) y: 60 lines of code pkg/client/events.go x: 2 contributors (all time) y: 63 lines of code internal/command/resume/worker.go x: 1 contributors (all time) y: 33 lines of code api/api.go x: 1 contributors (all time) y: 3 lines of code internal/command/deletecmd/delete.go x: 2 contributors (all time) y: 12 lines of code rpc/constants.go x: 2 contributors (all time) y: 5 lines of code internal/controller/store/errors.go x: 2 contributors (all time) y: 9 lines of code internal/responder/json.go x: 2 contributors (all time) y: 19 lines of code
861.0
lines of code
  min: 3.0
  average: 84.37
  25th percentile: 20.0
  median: 42.0
  75th percentile: 86.0
  max: 861.0
0 6.0
contributors (all time)
min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0

File Size vs. Commits (30 days): 40 points

internal/command/worker/run.go x: 1 commits (30d) y: 242 lines of code internal/worker/option.go x: 1 commits (30d) y: 60 lines of code internal/worker/runtime/tart.go x: 1 commits (30d) y: 40 lines of code internal/worker/vmmanager/tart/tart.go x: 3 commits (30d) y: 364 lines of code internal/worker/vmmanager/vetu/vetu.go x: 1 commits (30d) y: 246 lines of code internal/worker/worker.go x: 1 commits (30d) y: 788 lines of code api/openapi.yaml x: 6 commits (30d) y: 861 lines of code internal/command/create/vm.go x: 3 commits (30d) y: 196 lines of code internal/controller/api_vms.go x: 1 commits (30d) y: 499 lines of code pkg/resource/v1/v1.go x: 3 commits (30d) y: 313 lines of code .golangci.yml x: 2 commits (30d) y: 46 lines of code internal/command/controller/run.go x: 1 commits (30d) y: 238 lines of code internal/controller/api_vms_exec.go x: 2 commits (30d) y: 283 lines of code internal/controller/controller.go x: 1 commits (30d) y: 404 lines of code internal/controller/option.go x: 1 commits (30d) y: 85 lines of code internal/execstream/frame.go x: 1 commits (30d) y: 36 lines of code internal/worker/vmmanager/base/base.go x: 1 commits (30d) y: 264 lines of code internal/worker/vmmanager/base/startup_script.go x: 1 commits (30d) y: 126 lines of code internal/controller/api_rpc_watch.go x: 1 commits (30d) y: 94 lines of code internal/controller/api_workers_portforward.go x: 1 commits (30d) y: 43 lines of code internal/worker/hostprocess/process.go x: 1 commits (30d) y: 108 lines of code internal/worker/rpc.go x: 1 commits (30d) y: 172 lines of code internal/worker/rpcv2.go x: 1 commits (30d) y: 182 lines of code pkg/resource/v1/service_account_role.go x: 1 commits (30d) y: 51 lines of code pkg/resource/v1/watch_instruction.go x: 1 commits (30d) y: 29 lines of code rpc/orchard.pb.go x: 1 commits (30d) y: 551 lines of code rpc/orchard.proto x: 1 commits (30d) y: 62 lines of code internal/command/get/vm.go x: 1 commits (30d) y: 109 lines of code internal/controller/scheduler/scheduler.go x: 1 commits (30d) y: 433 lines of code internal/udpconn/conn.go x: 1 commits (30d) y: 133 lines of code internal/udpconn/listener.go x: 1 commits (30d) y: 139 lines of code internal/udpconn/tuning.go x: 1 commits (30d) y: 12 lines of code internal/worker/endpoint/endpoint.go x: 1 commits (30d) y: 156 lines of code internal/worker/endpoint/set.go x: 1 commits (30d) y: 81 lines of code
861.0
lines of code
  min: 12.0
  average: 204.82
  25th percentile: 55.5
  median: 136.0
  75th percentile: 278.25
  max: 861.0
0 6.0
commits (30d)
min: 1.0 | average: 1.35 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0

File Size vs. Contributors (30 days): 40 points

internal/command/worker/run.go x: 1 contributors (30d) y: 242 lines of code internal/worker/option.go x: 1 contributors (30d) y: 60 lines of code internal/worker/runtime/tart.go x: 1 contributors (30d) y: 40 lines of code internal/worker/vmmanager/tart/tart.go x: 2 contributors (30d) y: 364 lines of code internal/worker/vmmanager/vetu/vetu.go x: 1 contributors (30d) y: 246 lines of code internal/worker/worker.go x: 1 contributors (30d) y: 788 lines of code api/openapi.yaml x: 2 contributors (30d) y: 861 lines of code internal/command/create/vm.go x: 2 contributors (30d) y: 196 lines of code internal/controller/api_vms.go x: 1 contributors (30d) y: 499 lines of code pkg/resource/v1/v1.go x: 2 contributors (30d) y: 313 lines of code .golangci.yml x: 1 contributors (30d) y: 46 lines of code internal/command/controller/run.go x: 1 contributors (30d) y: 238 lines of code internal/controller/api_vms_exec.go x: 1 contributors (30d) y: 283 lines of code internal/controller/controller.go x: 1 contributors (30d) y: 404 lines of code internal/controller/option.go x: 1 contributors (30d) y: 85 lines of code internal/execstream/frame.go x: 1 contributors (30d) y: 36 lines of code internal/worker/vmmanager/base/base.go x: 1 contributors (30d) y: 264 lines of code internal/worker/vmmanager/base/startup_script.go x: 1 contributors (30d) y: 126 lines of code internal/controller/api_rpc_watch.go x: 1 contributors (30d) y: 94 lines of code internal/controller/api_workers_portforward.go x: 1 contributors (30d) y: 43 lines of code internal/worker/hostprocess/process.go x: 1 contributors (30d) y: 108 lines of code internal/worker/rpc.go x: 1 contributors (30d) y: 172 lines of code internal/worker/rpcv2.go x: 1 contributors (30d) y: 182 lines of code pkg/resource/v1/service_account_role.go x: 1 contributors (30d) y: 51 lines of code pkg/resource/v1/watch_instruction.go x: 1 contributors (30d) y: 29 lines of code rpc/orchard.pb.go x: 1 contributors (30d) y: 551 lines of code rpc/orchard.proto x: 1 contributors (30d) y: 62 lines of code internal/command/get/vm.go x: 1 contributors (30d) y: 109 lines of code internal/controller/scheduler/scheduler.go x: 1 contributors (30d) y: 433 lines of code internal/udpconn/conn.go x: 1 contributors (30d) y: 133 lines of code internal/udpconn/listener.go x: 1 contributors (30d) y: 139 lines of code internal/udpconn/tuning.go x: 1 contributors (30d) y: 12 lines of code internal/worker/endpoint/endpoint.go x: 1 contributors (30d) y: 156 lines of code internal/worker/endpoint/set.go x: 1 contributors (30d) y: 81 lines of code
861.0
lines of code
  min: 12.0
  average: 204.82
  25th percentile: 55.5
  median: 136.0
  75th percentile: 278.25
  max: 861.0
0 2.0
contributors (30d)
min: 1.0 | average: 1.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

File Size vs. Commits (90 days): 62 points

internal/command/worker/run.go x: 2 commits (90d) y: 242 lines of code internal/worker/option.go x: 2 commits (90d) y: 60 lines of code internal/worker/runtime/tart.go x: 2 commits (90d) y: 40 lines of code internal/worker/vmmanager/tart/tart.go x: 11 commits (90d) y: 364 lines of code internal/worker/vmmanager/vetu/vetu.go x: 4 commits (90d) y: 246 lines of code internal/worker/worker.go x: 10 commits (90d) y: 788 lines of code api/openapi.yaml x: 11 commits (90d) y: 861 lines of code internal/command/create/vm.go x: 5 commits (90d) y: 196 lines of code internal/controller/api_vms.go x: 5 commits (90d) y: 499 lines of code pkg/resource/v1/v1.go x: 8 commits (90d) y: 313 lines of code .golangci.yml x: 5 commits (90d) y: 46 lines of code internal/command/controller/run.go x: 2 commits (90d) y: 238 lines of code internal/controller/api_vms_exec.go x: 3 commits (90d) y: 283 lines of code internal/controller/controller.go x: 4 commits (90d) y: 404 lines of code internal/controller/option.go x: 2 commits (90d) y: 85 lines of code internal/execstream/frame.go x: 1 commits (90d) y: 36 lines of code internal/worker/vmmanager/base/base.go x: 5 commits (90d) y: 264 lines of code internal/worker/vmmanager/base/startup_script.go x: 1 commits (90d) y: 126 lines of code internal/controller/api_rpc_watch.go x: 2 commits (90d) y: 94 lines of code internal/controller/api_vms_portforward.go x: 2 commits (90d) y: 245 lines of code internal/controller/api_workers_portforward.go x: 2 commits (90d) y: 43 lines of code internal/worker/hostprocess/process.go x: 2 commits (90d) y: 108 lines of code internal/worker/rpc.go x: 3 commits (90d) y: 172 lines of code internal/worker/rpcv2.go x: 3 commits (90d) y: 182 lines of code internal/worker/socketalias/socketalias.go x: 1 commits (90d) y: 40 lines of code pkg/resource/v1/service_account_role.go x: 2 commits (90d) y: 51 lines of code pkg/resource/v1/watch_instruction.go x: 2 commits (90d) y: 29 lines of code rpc/orchard.pb.go x: 2 commits (90d) y: 551 lines of code rpc/orchard.proto x: 2 commits (90d) y: 62 lines of code internal/command/get/vm.go x: 3 commits (90d) y: 109 lines of code internal/controller/scheduler/scheduler.go x: 2 commits (90d) y: 433 lines of code internal/udpconn/conn.go x: 1 commits (90d) y: 133 lines of code internal/udpconn/listener.go x: 1 commits (90d) y: 139 lines of code internal/udpconn/tuning.go x: 1 commits (90d) y: 12 lines of code internal/worker/endpoint/endpoint.go x: 2 commits (90d) y: 156 lines of code internal/worker/endpoint/set.go x: 2 commits (90d) y: 81 lines of code internal/worker/vmmanager/vmmanager.go x: 5 commits (90d) y: 69 lines of code pkg/resource/v1/labels.go x: 1 commits (90d) y: 25 lines of code internal/worker/hostprocess/set.go x: 1 commits (90d) y: 119 lines of code internal/worker/ondiskname/ondiskname.go x: 1 commits (90d) y: 81 lines of code internal/worker/vmmanager/synthetic/synthetic.go x: 3 commits (90d) y: 162 lines of code pkg/resource/v1/connection_target.go x: 1 commits (90d) y: 14 lines of code pkg/resource/v1/worker.go x: 1 commits (90d) y: 33 lines of code internal/worker/runtime/synthetic.go x: 1 commits (90d) y: 42 lines of code internal/worker/vmmanager/base/cmd.go x: 2 commits (90d) y: 83 lines of code internal/command/dev/dev.go x: 1 commits (90d) y: 217 lines of code pkg/resource/v1/host_dir_policy.go x: 1 commits (90d) y: 58 lines of code .goreleaser.yml x: 1 commits (90d) y: 68 lines of code pkg/client/client.go x: 1 commits (90d) y: 338 lines of code
861.0
lines of code
  min: 12.0
  average: 163.63
  25th percentile: 49.75
  median: 89.5
  75th percentile: 239.0
  max: 861.0
0 11.0
commits (90d)
min: 1.0 | average: 2.55 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 11.0

File Size vs. Contributors (90 days): 62 points

internal/command/worker/run.go x: 2 contributors (90d) y: 242 lines of code internal/worker/option.go x: 1 contributors (90d) y: 60 lines of code internal/worker/runtime/tart.go x: 1 contributors (90d) y: 40 lines of code internal/worker/vmmanager/tart/tart.go x: 3 contributors (90d) y: 364 lines of code internal/worker/vmmanager/vetu/vetu.go x: 2 contributors (90d) y: 246 lines of code internal/worker/worker.go x: 2 contributors (90d) y: 788 lines of code api/openapi.yaml x: 3 contributors (90d) y: 861 lines of code internal/command/create/vm.go x: 3 contributors (90d) y: 196 lines of code internal/controller/api_vms.go x: 2 contributors (90d) y: 499 lines of code pkg/resource/v1/v1.go x: 3 contributors (90d) y: 313 lines of code .golangci.yml x: 2 contributors (90d) y: 46 lines of code internal/command/controller/run.go x: 1 contributors (90d) y: 238 lines of code internal/controller/api_vms_exec.go x: 1 contributors (90d) y: 283 lines of code internal/controller/controller.go x: 1 contributors (90d) y: 404 lines of code internal/controller/option.go x: 1 contributors (90d) y: 85 lines of code internal/execstream/frame.go x: 1 contributors (90d) y: 36 lines of code internal/worker/vmmanager/base/base.go x: 2 contributors (90d) y: 264 lines of code internal/worker/vmmanager/base/startup_script.go x: 1 contributors (90d) y: 126 lines of code internal/controller/api_rpc_watch.go x: 1 contributors (90d) y: 94 lines of code internal/controller/api_vms_portforward.go x: 1 contributors (90d) y: 245 lines of code internal/controller/api_workers_portforward.go x: 1 contributors (90d) y: 43 lines of code internal/worker/hostprocess/process.go x: 1 contributors (90d) y: 108 lines of code internal/worker/rpc.go x: 2 contributors (90d) y: 172 lines of code internal/worker/rpcv2.go x: 2 contributors (90d) y: 182 lines of code pkg/resource/v1/service_account_role.go x: 1 contributors (90d) y: 51 lines of code pkg/resource/v1/watch_instruction.go x: 1 contributors (90d) y: 29 lines of code rpc/orchard.pb.go x: 1 contributors (90d) y: 551 lines of code rpc/orchard.proto x: 1 contributors (90d) y: 62 lines of code internal/command/get/vm.go x: 3 contributors (90d) y: 109 lines of code internal/controller/scheduler/scheduler.go x: 1 contributors (90d) y: 433 lines of code internal/udpconn/conn.go x: 1 contributors (90d) y: 133 lines of code internal/udpconn/listener.go x: 1 contributors (90d) y: 139 lines of code internal/udpconn/tuning.go x: 1 contributors (90d) y: 12 lines of code internal/worker/endpoint/endpoint.go x: 1 contributors (90d) y: 156 lines of code internal/worker/endpoint/set.go x: 1 contributors (90d) y: 81 lines of code internal/worker/vmmanager/vmmanager.go x: 2 contributors (90d) y: 69 lines of code pkg/resource/v1/labels.go x: 1 contributors (90d) y: 25 lines of code pkg/resource/v1/resources.go x: 2 contributors (90d) y: 80 lines of code internal/worker/hostprocess/set.go x: 1 contributors (90d) y: 119 lines of code internal/worker/vmmanager/synthetic/synthetic.go x: 1 contributors (90d) y: 162 lines of code pkg/resource/v1/connection_target.go x: 1 contributors (90d) y: 14 lines of code pkg/resource/v1/worker.go x: 1 contributors (90d) y: 33 lines of code internal/worker/vmmanager/base/cmd.go x: 2 contributors (90d) y: 83 lines of code internal/worker/vmmanager/tart/cmd.go x: 2 contributors (90d) y: 54 lines of code internal/command/dev/dev.go x: 1 contributors (90d) y: 217 lines of code .goreleaser.yml x: 1 contributors (90d) y: 68 lines of code pkg/client/client.go x: 1 contributors (90d) y: 338 lines of code
861.0
lines of code
  min: 12.0
  average: 163.63
  25th percentile: 49.75
  median: 89.5
  75th percentile: 239.0
  max: 861.0
0 3.0
contributors (90d)
min: 1.0 | average: 1.35 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0
About This Analysis
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...