kubernetes / kubeadm
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 174 files with 12,445 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 13 medium size files (3,713 lines of codeclsfd_ftr_w_mp_ins)
    • 36 small files (5,141 lines of code)
    • 125 very small files (3,591 lines of code)
0% | 0% | 29% | 41% | 28%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go0% | 0% | 40% | 25% | 33%
yaml0% | 0% | 11% | 67% | 21%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kinder/pkg/cluster0% | 0% | 55% | 29% | 14%
kinder/pkg/kubeadm0% | 0% | 67% | 0% | 32%
kinder/pkg/extract0% | 0% | 100% | 0% | 0%
kinder/hack/orderimports0% | 0% | 100% | 0% | 0%
kinder/pkg/build0% | 0% | 36% | 23% | 40%
kinder/ci/tools0% | 0% | 9% | 60% | 30%
kinder/ci/workflows0% | 0% | 12% | 67% | 20%
kinder/pkg/cri0% | 0% | 0% | 46% | 53%
kinder/cmd/kinder0% | 0% | 0% | 30% | 69%
kinder/hack0% | 0% | 0% | 100% | 0%
kinder/pkg/exec0% | 0% | 0% | 51% | 48%
kinder/pkg/loadbalancer0% | 0% | 0% | 0% | 100%
kinder/pkg/constants0% | 0% | 0% | 0% | 100%
kinder/images/base0% | 0% | 0% | 0% | 100%
kinder0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
extract.go
in kinder/pkg/extract
446 27
orderimports.go
in kinder/hack/orderimports
356 15
alter.go
in kinder/pkg/build/alter
310 18
node.go
in kinder/pkg/cluster/status
304 27
waiter.go
in kinder/pkg/cluster/manager/actions
275 17
rootless-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
270 -
rootless-tasks.yaml
in kinder/ci/workflows
270 -
kubeadm-config.go
in kinder/pkg/cluster/manager/actions
267 8
config.go
in kinder/pkg/kubeadm
264 3
kubeadm-init.go
in kinder/pkg/cluster/manager/actions
260 8
cluster.go
in kinder/pkg/cluster/status
245 22
patch.go
in kinder/pkg/kubeadm
224 13
create.go
in kinder/pkg/cluster/manager
222 12
initBits.go
in kinder/pkg/build/bits
199 7
patches-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
187 -
patches-tasks.yaml
in kinder/ci/workflows
187 -
kubeadm-join.go
in kinder/pkg/cluster/manager/actions
180 7
config.yaml
in kinder/ci/tools/update-workflows
180 -
unversioned-kubelet-cm-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
177 -
unversioned-kubelet-cm-tasks.yaml
in kinder/ci/workflows
177 -
actions.go
in kinder/pkg/cluster/manager/actions
173 16
upgrade-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
160 -
upgrade-tasks.yaml
in kinder/ci/workflows
160 -
kubeadm-upgrade.go
in kinder/pkg/cluster/manager/actions
155 6
do.go
in kinder/cmd/kinder/do
154 2
util.go
in kinder/pkg/cri/nodes/common
152 10
presubmit-upgrade-latest.yaml
in kinder/ci/tools/update-workflows/templates/workflows
152 -
discovery-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
152 -
presubmit-upgrade-latest.yaml
in kinder/ci/workflows
152 -
discovery-tasks.yaml
in kinder/ci/workflows
152 -
skew-x-on-y-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
147 -
skew-x-on-y-tasks.yaml
in kinder/ci/workflows
147 -
regular-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
134 -
regular-tasks.yaml
in kinder/ci/workflows
134 -
verify-boilerplate.go
in kinder/hack
128 5
archive.go
in kinder/pkg/cri/host
127 5
external-etcd-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
127 -
external-etcd-tasks.yaml
in kinder/ci/workflows
127 -
external-ca-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
125 -
external-ca-tasks.yaml
in kinder/ci/workflows
125 -
util.go
in kinder/ci/tools/update-workflows/pkg
118 10
kindnet.go
in kinder/pkg/cluster/manager/actions/assets
116 -
manage.go
in kinder/pkg/cluster/manager
110 6
createhelper.go
in kinder/pkg/cri/nodes/docker
109 8
smoke-test.go
in kinder/pkg/cluster/manager/actions
107 4
nodevariant.go
in kinder/cmd/kinder/build/nodevariant
104 2
upgrade-latest-no-addon-config-maps.yaml
in kinder/ci/tools/update-workflows/templates/workflows
103 -
upgrade-latest-no-addon-config-maps.yaml
in kinder/ci/workflows
103 -
node-cmd.go
in kinder/pkg/exec
101 8
workflows.go
in kinder/ci/tools/update-workflows/pkg
95 1
Files With Most Units (Top 20)
File# lines# units
node.go
in kinder/pkg/cluster/status
304 27
extract.go
in kinder/pkg/extract
446 27
cluster.go
in kinder/pkg/cluster/status
245 22
alter.go
in kinder/pkg/build/alter
310 18
waiter.go
in kinder/pkg/cluster/manager/actions
275 17
actions.go
in kinder/pkg/cluster/manager/actions
173 16
orderimports.go
in kinder/hack/orderimports
356 15
patch.go
in kinder/pkg/kubeadm
224 13
create.go
in kinder/pkg/cluster/manager
222 12
util.go
in kinder/pkg/cri/nodes/common
152 10
util.go
in kinder/ci/tools/update-workflows/pkg
118 10
alterhelper.go
in kinder/pkg/cri/nodes
92 9
installer.go
in kinder/pkg/build/bits
53 8
kubeadm-config.go
in kinder/pkg/cluster/manager/actions
267 8
kubeadm-init.go
in kinder/pkg/cluster/manager/actions
260 8
node-cmd.go
in kinder/pkg/exec
101 8
createhelper.go
in kinder/pkg/cri/nodes/docker
109 8
initBits.go
in kinder/pkg/build/bits
199 7
kubeadm-join.go
in kinder/pkg/cluster/manager/actions
180 7
host-cmd.go
in kinder/pkg/exec
67 7
Files With Long Lines (Top 20)

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

File# lines# units# long lines
kubeadm-init.go
in kinder/pkg/cluster/manager/actions
260 8 14
unversioned-kubelet-cm-tasks.yaml
in kinder/ci/tools/update-workflows/templates/workflows
177 - 12
unversioned-kubelet-cm-tasks.yaml
in kinder/ci/workflows
177 - 12
kubeadm-config.go
in kinder/pkg/cluster/manager/actions
267 8 6
kubeadm-join.go
in kinder/pkg/cluster/manager/actions
180 7 6
nodevariant.go
in kinder/cmd/kinder/build/nodevariant
104 2 5
extract.go
in kinder/pkg/extract
446 27 5
upgrade-latest-no-addon-config-maps.yaml
in kinder/ci/tools/update-workflows/templates/workflows
103 - 5
upgrade-latest-no-addon-config-maps.yaml
in kinder/ci/workflows
103 - 5
initBits.go
in kinder/pkg/build/bits
199 7 4
node.go
in kinder/pkg/cluster/status
304 27 4
cluster.go
in kinder/pkg/cluster/status
245 22 4
kubeadm-upgrade.go
in kinder/pkg/cluster/manager/actions
155 6 4
cluster-info.go
in kinder/pkg/cluster/manager/actions
93 3 4
alter.go
in kinder/pkg/build/alter
310 18 3
waiter.go
in kinder/pkg/cluster/manager/actions
275 17 3
actions.go
in kinder/pkg/cluster/manager/actions
173 16 3
artifacts.go
in kinder/cmd/kinder/get/artifacts
91 3 2
do.go
in kinder/cmd/kinder/do
154 2 2
pathBits.go
in kinder/pkg/build/bits
66 3 2