openai / vetu
File Size

The distribution of size of files (measured in lines of code).

Intro
  • 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...
File Size Overall
  • There are 73 files with 4,162 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (424 lines of code)
    • 8 small files (1,056 lines of code)
    • 63 very small files (2,682 lines of code)
0% | 0% | 10% | 25% | 64%
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% | 0% | 10% | 25% | 64%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 0% | 10% | 25% | 63%
cmd0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
remote.go
in internal/storage/remote
217 11
push.go
in internal/oci
207 5
gvisor.go
in internal/network/software/gvisor
177 7
run.go
in internal/command/run
161 2
temporary.go
in internal/storage/temporary
147 5
list.go
in internal/command/list
126 3
diskpuller.go
in internal/oci/diskpuller
125 2
local.go
in internal/storage/local
112 7
software.go
in internal/network/software
105 4
vetu.go
in internal/oci/pull/vetu
103 1
set.go
in internal/command/set
99 3
applestream.go
in internal/oci/pull/tart/applestream
99 3
vmdirectory.go
in internal/vmdirectory
99 12
login.go
in internal/command/login
93 3
create.go
in internal/command/create
93 2
host.go
in internal/network/host
92 4
clone.go
in internal/command/clone
92 2
chunker.go
in internal/chunker
91 5
firmware.go
in internal/externalbinary/firmware
87 3
tart.go
in internal/oci/pull/tart
85 1
ip.go
in internal/command/ip
84 3
pull.go
in internal/storage/remote
81 1
dhcp.go
in internal/network/software/dhcp
80 3
push.go
in internal/command/push
76 2
stop.go
in internal/command/stop
71 2
dhcp.go
in internal/network/host
62 3
binaryfetcher.go
in internal/binaryfetcher
60 2
filelock.go
in internal/filelock
59 6
subnetfinder.go
in internal/network/subnetfinder
58 1
remotename.go
in internal/name/remotename
55 2
main.go
in cmd/vetu
55 1
root.go
in internal/command
54 1
pidlock.go
in internal/pidlock
52 6
vmconfig.go
in internal/vmconfig
48 2
bridged.go
in internal/network/bridged
45 4
delete.go
in internal/command/delete
45 2
cloudhypervisor.go
in internal/externalcommand/cloudhypervisor
42 1
fqn.go
in internal/command/fqn
40 2
fetchurl.go
in internal/binaryfetcher
38 2
pull.go
in internal/oci
38 1
pull.go
in internal/command/pull
35 2
simplename.go
in internal/name/simplename
34 1
tartconfig.go
in internal/oci/pull/tart/tartconfig
31 1
afpacket.go
in internal/afpacket
30 2
sparseio.go
in internal/sparseio
29 1
firmware_linux_amd64.go
in internal/externalbinary/firmware
28 1
globallock.go
in internal/globallock
28 1
explicitlypulled.go
in internal/vmdirectory
26 3
tap.go
in internal/tuntap
24 1
progresshelper.go
in internal/progresshelper
24 3
Files With Most Units (Top 50)
File# lines# units
vmdirectory.go
in internal/vmdirectory
99 12
remote.go
in internal/storage/remote
217 11
gvisor.go
in internal/network/software/gvisor
177 7
local.go
in internal/storage/local
112 7
pidlock.go
in internal/pidlock
52 6
filelock.go
in internal/filelock
59 6
temporary.go
in internal/storage/temporary
147 5
push.go
in internal/oci
207 5
chunker.go
in internal/chunker
91 5
software_unsupported.go
in internal/network/software
20 4
software.go
in internal/network/software
105 4
host.go
in internal/network/host
92 4
host_unsupported.go
in internal/network/host
20 4
bridged_unsupported.go
in internal/network/bridged
19 4
bridged.go
in internal/network/bridged
45 4
dhcp.go
in internal/network/software/dhcp
80 3
gvisor_unsupported.go
in internal/network/software/gvisor
18 3
dhcp.go
in internal/network/host
62 3
login.go
in internal/command/login
93 3
ip.go
in internal/command/ip
84 3
list.go
in internal/command/list
126 3
set.go
in internal/command/set
99 3
applestream.go
in internal/oci/pull/tart/applestream
99 3
firmware.go
in internal/externalbinary/firmware
87 3
progresshelper.go
in internal/progresshelper
24 3
explicitlypulled.go
in internal/vmdirectory
26 3
afpacket.go
in internal/afpacket
30 2
vmconfig.go
in internal/vmconfig
48 2
run.go
in internal/command/run
161 2
push.go
in internal/command/push
76 2
fqn.go
in internal/command/fqn
40 2
pull.go
in internal/command/pull
35 2
logout.go
in internal/command/logout
23 2
delete.go
in internal/command/delete
45 2
create.go
in internal/command/create
93 2
clone.go
in internal/command/clone
92 2
stop.go
in internal/command/stop
71 2
fetchurl.go
in internal/binaryfetcher
38 2
binaryfetcher.go
in internal/binaryfetcher
60 2
localname.go
in internal/name/localname
15 2
remotename.go
in internal/name/remotename
55 2
diskpuller.go
in internal/oci/diskpuller
125 2
afpacket_unsupported.go
in internal/afpacket
8 1
subnetfinder.go
in internal/network/subnetfinder
58 1
rename_unsupported.go
in internal/rename
5 1
rename_darwin.go
in internal/rename
11 1
rename_linux.go
in internal/rename
11 1
version.go
in internal/version
23 1
homedir.go
in internal/homedir
16 1
pull.go
in internal/storage/remote
81 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

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

internal/command/list/list.go x: 9 commits (all time) y: 126 lines of code internal/command/run/run.go x: 13 commits (all time) y: 161 lines of code internal/oci/diskpuller/diskpuller.go x: 6 commits (all time) y: 125 lines of code internal/oci/push.go x: 7 commits (all time) y: 207 lines of code internal/progresshelper/progresshelper.go x: 1 commits (all time) y: 24 lines of code internal/network/host/host.go x: 3 commits (all time) y: 92 lines of code internal/network/host/host_unsupported.go x: 2 commits (all time) y: 20 lines of code internal/binaryfetcher/binaryfetcher.go x: 4 commits (all time) y: 60 lines of code internal/command/set/set.go x: 8 commits (all time) y: 99 lines of code .github/dependabot.yaml x: 2 commits (all time) y: 10 lines of code internal/rename/rename_darwin.go x: 1 commits (all time) y: 11 lines of code internal/rename/rename_unsupported.go x: 1 commits (all time) y: 5 lines of code internal/storage/local/local.go x: 5 commits (all time) y: 112 lines of code internal/command/clone/clone.go x: 6 commits (all time) y: 92 lines of code internal/command/create/create.go x: 4 commits (all time) y: 93 lines of code internal/name/remotename/remotename.go x: 2 commits (all time) y: 55 lines of code cmd/vetu/main.go x: 6 commits (all time) y: 55 lines of code internal/command/stop/stop.go x: 3 commits (all time) y: 71 lines of code internal/network/software/software.go x: 7 commits (all time) y: 105 lines of code internal/network/software/dhcp/dhcp.go x: 3 commits (all time) y: 80 lines of code internal/externalbinary/firmware/firmware.go x: 3 commits (all time) y: 87 lines of code internal/externalbinary/firmware/firmware_linux_amd64.go x: 1 commits (all time) y: 28 lines of code internal/network/software/gvisor/gvisor.go x: 4 commits (all time) y: 177 lines of code internal/oci/pull.go x: 4 commits (all time) y: 38 lines of code internal/oci/pull/pullhelper/pullhelper.go x: 2 commits (all time) y: 21 lines of code internal/oci/pull/tart/tart.go x: 3 commits (all time) y: 85 lines of code internal/oci/pull/vetu/vetu.go x: 2 commits (all time) y: 103 lines of code internal/command/root.go x: 6 commits (all time) y: 54 lines of code internal/storage/remote/remote.go x: 7 commits (all time) y: 217 lines of code internal/storage/temporary/temporary.go x: 5 commits (all time) y: 147 lines of code internal/zerocopy/zerocopy_linux.go x: 1 commits (all time) y: 7 lines of code internal/command/fqn/fqn.go x: 1 commits (all time) y: 40 lines of code internal/command/push/push.go x: 4 commits (all time) y: 76 lines of code internal/filelock/filelock.go x: 3 commits (all time) y: 59 lines of code internal/globallock/globallock.go x: 2 commits (all time) y: 28 lines of code internal/vmdirectory/vmdirectory.go x: 6 commits (all time) y: 99 lines of code internal/command/delete/delete.go x: 3 commits (all time) y: 45 lines of code internal/command/ip/ip.go x: 5 commits (all time) y: 84 lines of code internal/pidlock/pidlock.go x: 1 commits (all time) y: 52 lines of code internal/storage/remote/pull.go x: 2 commits (all time) y: 81 lines of code internal/network/host/dhcp.go x: 1 commits (all time) y: 62 lines of code internal/network/subnetfinder/subnetfinder.go x: 1 commits (all time) y: 58 lines of code internal/network/bridged/bridged.go x: 4 commits (all time) y: 45 lines of code internal/command/pull/pull.go x: 7 commits (all time) y: 35 lines of code internal/sparseio/sparseio.go x: 2 commits (all time) y: 29 lines of code internal/binaryfetcher/fetchurl.go x: 1 commits (all time) y: 38 lines of code internal/externalcommand/cloudhypervisor/cloudhypervisor.go x: 3 commits (all time) y: 42 lines of code internal/chunker/chunker.go x: 2 commits (all time) y: 91 lines of code internal/command/login/login.go x: 2 commits (all time) y: 93 lines of code internal/dockerhosts/dockerhosts.go x: 1 commits (all time) y: 23 lines of code internal/oci/annotations/annotations.go x: 1 commits (all time) y: 8 lines of code internal/oci/mediatypes/mediatypes.go x: 1 commits (all time) y: 9 lines of code internal/oci/pull/tart/applestream/applestream.go x: 1 commits (all time) y: 99 lines of code internal/oci/pull/tart/tartconfig/tartconfig.go x: 1 commits (all time) y: 31 lines of code internal/vmdirectory/explicitlypulled.go x: 1 commits (all time) y: 26 lines of code internal/name/localname/localname.go x: 3 commits (all time) y: 15 lines of code internal/name/simplename/simplename.go x: 1 commits (all time) y: 34 lines of code internal/vmconfig/vmconfig.go x: 2 commits (all time) y: 48 lines of code internal/afpacket/afpacket.go x: 3 commits (all time) y: 30 lines of code internal/name/name.go x: 1 commits (all time) y: 17 lines of code internal/network/bridged/bridged_unsupported.go x: 1 commits (all time) y: 19 lines of code internal/network/software/gvisor/gvisor_unsupported.go x: 1 commits (all time) y: 18 lines of code internal/network/software/software_unsupported.go x: 1 commits (all time) y: 20 lines of code internal/tuntap/tap.go x: 2 commits (all time) y: 24 lines of code internal/network/network.go x: 2 commits (all time) y: 7 lines of code internal/homedir/homedir.go x: 1 commits (all time) y: 16 lines of code internal/randommac/randommac.go x: 1 commits (all time) y: 15 lines of code
217.0
lines of code
  min: 5.0
  average: 57.01
  25th percentile: 20.0
  median: 42.0
  75th percentile: 89.0
  max: 217.0
0 13.0
commits (all time)
min: 1.0 | average: 2.9 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 13.0

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

internal/command/list/list.go x: 1 contributors (all time) y: 126 lines of code internal/command/run/run.go x: 1 contributors (all time) y: 161 lines of code internal/oci/diskpuller/diskpuller.go x: 1 contributors (all time) y: 125 lines of code internal/oci/push.go x: 1 contributors (all time) y: 207 lines of code internal/progresshelper/progresshelper.go x: 1 contributors (all time) y: 24 lines of code internal/network/host/host.go x: 1 contributors (all time) y: 92 lines of code internal/network/host/host_unsupported.go x: 1 contributors (all time) y: 20 lines of code internal/binaryfetcher/binaryfetcher.go x: 1 contributors (all time) y: 60 lines of code internal/command/set/set.go x: 2 contributors (all time) y: 99 lines of code .github/dependabot.yaml x: 1 contributors (all time) y: 10 lines of code internal/rename/rename_darwin.go x: 1 contributors (all time) y: 11 lines of code internal/rename/rename_unsupported.go x: 1 contributors (all time) y: 5 lines of code internal/storage/local/local.go x: 1 contributors (all time) y: 112 lines of code internal/command/create/create.go x: 1 contributors (all time) y: 93 lines of code internal/name/remotename/remotename.go x: 2 contributors (all time) y: 55 lines of code cmd/vetu/main.go x: 1 contributors (all time) y: 55 lines of code internal/command/stop/stop.go x: 1 contributors (all time) y: 71 lines of code internal/network/software/software.go x: 1 contributors (all time) y: 105 lines of code internal/network/software/dhcp/dhcp.go x: 1 contributors (all time) y: 80 lines of code internal/externalbinary/firmware/firmware.go x: 1 contributors (all time) y: 87 lines of code internal/externalbinary/firmware/firmware_linux_amd64.go x: 1 contributors (all time) y: 28 lines of code internal/network/software/gvisor/gvisor.go x: 1 contributors (all time) y: 177 lines of code internal/oci/pull.go x: 1 contributors (all time) y: 38 lines of code internal/oci/pull/pullhelper/pullhelper.go x: 1 contributors (all time) y: 21 lines of code internal/oci/pull/tart/tart.go x: 1 contributors (all time) y: 85 lines of code internal/oci/pull/vetu/vetu.go x: 1 contributors (all time) y: 103 lines of code internal/command/root.go x: 1 contributors (all time) y: 54 lines of code internal/storage/remote/remote.go x: 1 contributors (all time) y: 217 lines of code internal/storage/temporary/temporary.go x: 1 contributors (all time) y: 147 lines of code internal/zerocopy/zerocopy_linux.go x: 1 contributors (all time) y: 7 lines of code internal/command/fqn/fqn.go x: 1 contributors (all time) y: 40 lines of code internal/command/push/push.go x: 1 contributors (all time) y: 76 lines of code internal/filelock/filelock.go x: 1 contributors (all time) y: 59 lines of code internal/vmdirectory/vmdirectory.go x: 1 contributors (all time) y: 99 lines of code internal/command/delete/delete.go x: 1 contributors (all time) y: 45 lines of code internal/command/ip/ip.go x: 1 contributors (all time) y: 84 lines of code internal/pidlock/pidlock.go x: 1 contributors (all time) y: 52 lines of code internal/storage/remote/pull.go x: 1 contributors (all time) y: 81 lines of code internal/network/host/dhcp.go x: 1 contributors (all time) y: 62 lines of code internal/network/subnetfinder/subnetfinder.go x: 1 contributors (all time) y: 58 lines of code internal/command/pull/pull.go x: 1 contributors (all time) y: 35 lines of code internal/sparseio/sparseio.go x: 1 contributors (all time) y: 29 lines of code internal/externalcommand/cloudhypervisor/cloudhypervisor.go x: 1 contributors (all time) y: 42 lines of code internal/chunker/chunker.go x: 1 contributors (all time) y: 91 lines of code internal/dockerhosts/dockerhosts.go x: 1 contributors (all time) y: 23 lines of code internal/oci/annotations/annotations.go x: 1 contributors (all time) y: 8 lines of code internal/oci/mediatypes/mediatypes.go x: 1 contributors (all time) y: 9 lines of code internal/oci/pull/tart/tartconfig/tartconfig.go x: 1 contributors (all time) y: 31 lines of code internal/vmdirectory/explicitlypulled.go x: 1 contributors (all time) y: 26 lines of code internal/name/localname/localname.go x: 1 contributors (all time) y: 15 lines of code internal/name/simplename/simplename.go x: 1 contributors (all time) y: 34 lines of code internal/vmconfig/vmconfig.go x: 1 contributors (all time) y: 48 lines of code internal/afpacket/afpacket.go x: 1 contributors (all time) y: 30 lines of code internal/name/name.go x: 1 contributors (all time) y: 17 lines of code internal/network/bridged/bridged_unsupported.go x: 1 contributors (all time) y: 19 lines of code internal/network/software/gvisor/gvisor_unsupported.go x: 1 contributors (all time) y: 18 lines of code internal/homedir/homedir.go x: 1 contributors (all time) y: 16 lines of code
217.0
lines of code
  min: 5.0
  average: 57.01
  25th percentile: 20.0
  median: 42.0
  75th percentile: 89.0
  max: 217.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.03 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

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

No data for "commits (30d)" vs. "lines of code".

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

No data for "contributors (30d)" vs. "lines of code".


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

No data for "commits (90d)" vs. "lines of code".

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

No data for "contributors (90d)" vs. "lines of code".