kubernetes / enhancements
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 574 files with 13,061 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (811 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (784 lines of code)
    • 565 very small files (11,466 lines of code)
0% | 0% | 6% | 6% | 87%
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% | 27% | 35% | 36%
MD0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/repo0% | 0% | 58% | 22% | 18%
keps/sig-api-machinery0% | 0% | 15% | 0% | 84%
api0% | 0% | 47% | 25% | 27%
pkg/output0% | 0% | 0% | 100% | 0%
cmd/kepify0% | 0% | 0% | 100% | 0%
pkg/proposal0% | 0% | 0% | 62% | 37%
api/apifakes0% | 0% | 0% | 53% | 46%
keps/sig-node0% | 0% | 0% | 0% | 100%
keps/sig-storage0% | 0% | 0% | 0% | 100%
keps/sig-network0% | 0% | 0% | 0% | 100%
keps/sig-cli0% | 0% | 0% | 0% | 100%
keps/prod-readiness0% | 0% | 0% | 0% | 100%
keps/sig-cloud-provider0% | 0% | 0% | 0% | 100%
keps/sig-apps0% | 0% | 0% | 0% | 100%
keps/sig-cluster-lifecycle0% | 0% | 0% | 0% | 100%
keps/sig-scheduling0% | 0% | 0% | 0% | 100%
keps/sig-auth0% | 0% | 0% | 0% | 100%
keps/sig-instrumentation0% | 0% | 0% | 0% | 100%
pkg/kepctl0% | 0% | 0% | 0% | 100%
keps/sig-architecture0% | 0% | 0% | 0% | 100%
keps/sig-windows0% | 0% | 0% | 0% | 100%
keps/sig-release0% | 0% | 0% | 0% | 100%
keps/sig-testing0% | 0% | 0% | 0% | 100%
keps/provider-aws0% | 0% | 0% | 0% | 100%
pkg/kepval0% | 0% | 0% | 0% | 100%
keps/sig-autoscaling0% | 0% | 0% | 0% | 100%
keps/sig-security0% | 0% | 0% | 0% | 100%
keps/sig-contributor-experience0% | 0% | 0% | 0% | 100%
hack0% | 0% | 0% | 0% | 100%
keps/sig-multicluster0% | 0% | 0% | 0% | 100%
keps/NNNN-kep-template0% | 0% | 0% | 0% | 100%
keps/sig-docs0% | 0% | 0% | 0% | 100%
pkg/yaml0% | 0% | 0% | 0% | 100%
cmd/kepctl0% | 0% | 0% | 0% | 100%
internal0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
repo.go
in pkg/repo
396 9
README.MD
in keps/sig-api-machinery/365-paginated-lists
210 -
proposal.go
in api
205 11
output.go
in pkg/output
173 9
query.go
in pkg/repo
154 7
main.go
in cmd/kepify
137 6
create.go
in pkg/proposal
109 5
groups.go
in api
107 6
fake_file.go
in api/apifakes
104 8
query.go
in pkg/kepctl/commands
98 2
create.go
in pkg/kepctl/commands
95 2
validate.go
in pkg/repo
92 4
approval.go
in pkg/kepval
90 2
fake_document.go
in api/apifakes
90 7
approval.go
in api
78 4
composition.yaml
in keps/sig-cli/2299-kustomize-plugin-composition/example/composition/base
61 -
edit-keps.py
in hack
59 3
kep.yaml
in keps/sig-storage/625-csi-migration
49 -
kep.yaml
in keps/sig-network/0752-endpointslices
47 -
promote.go
in pkg/kepctl/commands
47 2
kep.yaml
in keps/sig-auth/2579-psp-replacement
44 -
kep.yaml
in keps/sig-api-machinery/1040-priority-and-fairness
44 -
commands.go
in pkg/kepctl/commands
44 3
kep.yaml
in keps/sig-storage/1488-csi-migration-gce-pd
43 -
kep.yaml
in keps/sig-apps/592-ttl-after-finish
43 -
kep.yaml
in keps/sig-apps/19-Graduate-CronJob-to-Stable
43 -
kep.yaml
in keps/sig-node/1287-in-place-update-pod-resources
43 -
kep.yaml
in keps/sig-auth/1205-bound-service-account-tokens
42 -
kep.yaml
in keps/sig-storage/1489-csi-migration-cinder
42 -
kep.yaml
in keps/sig-storage/1490-csi-migration-azuredisk
42 -
kep.yaml
in keps/sig-storage/284-enable-volume-expansion
42 -
kep.yaml
in keps/sig-storage/1487-csi-migration-aws
42 -
kep.yaml
in keps/sig-storage/2589-csi-migration-portworx
41 -
kep.yaml
in keps/sig-storage/1491-csi-migration-vsphere
41 -
kep.yaml
in keps/sig-storage/2923-csi-migration-ceph-rbd
41 -
kep.yaml
in keps/sig-storage/1885-csi-migration-azurefile
41 -
kep.yaml
in keps/sig-storage/2924-csi-migration-cephfs
40 -
kep.yaml
in keps/sig-cloud-provider/2395-removing-in-tree-cloud-providers
40 -
kep.yaml
in keps/sig-instrumentation/1209-metrics-stability
40 -
kep.yaml
in keps/sig-api-machinery/555-server-side-apply
40 -
kep.yaml
in keps/sig-network/2433-topology-aware-hints
39 -
kep.yaml
in keps/sig-node/2403-pod-resources-allocatable-resources
39 -
kep.yaml
in keps/sig-node/1797-configure-fqdn-as-hostname-for-pods
39 -
kep.yaml
in keps/sig-auth/1393-oidc-discovery
38 -
kep.yaml
in keps/sig-storage/1698-generic-ephemeral-volumes
38 -
kep.yaml
in keps/sig-apps/85-Graduate-PDB-to-Stable
38 -
kep.yaml
in keps/sig-security/2763-ambient-capabilities
38 -
kep.yaml
in keps/sig-network/563-dual-stack
38 -
kep.yaml
in keps/sig-storage/1790-recover-resize-failure
37 -
kep.yaml
in keps/sig-cloud-provider/2025-extend-konnectivity-for-both-directions
37 -
Files With Most Units (Top 20)
File# lines# units
proposal.go
in api
205 11
output.go
in pkg/output
173 9
repo.go
in pkg/repo
396 9
fake_file.go
in api/apifakes
104 8
query.go
in pkg/repo
154 7
fake_document.go
in api/apifakes
90 7
main.go
in cmd/kepify
137 6
groups.go
in api
107 6
create.go
in pkg/proposal
109 5
validate.go
in pkg/repo
92 4
approval.go
in api
78 4
commands.go
in pkg/kepctl/commands
44 3
edit-keps.py
in hack
59 3
promote.go
in pkg/proposal
36 2
create.go
in pkg/kepctl/commands
95 2
query.go
in pkg/kepctl/commands
98 2
promote.go
in pkg/kepctl/commands
47 2
yaml.go
in pkg/yaml
15 2
approval.go
in pkg/kepval
90 2
main.go
in cmd/kepctl
10 1
Files With Long Lines (Top 13)

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

File# lines# units# long lines
README.MD
in keps/sig-api-machinery/365-paginated-lists
210 - 9
repo.go
in pkg/repo
396 9 2
kep.yaml
in keps/sig-storage/603-csi-pod-info
22 - 1
kep.yaml
in keps/sig-storage/770-csi-skip-attach
22 - 1
kep.yaml
in keps/sig-storage/2451-service-account-token-volumes
21 - 1
kep.yaml
in keps/sig-storage/121-local-persistent-volumes
27 - 1
kep.yaml
in keps/sig-scheduling/382-taint-node-by-condition
21 - 1
kep.yaml
in keps/sig-scheduling/964-binpacking-priority
19 - 1
kep.yaml
in keps/sig-api-machinery/95-custom-resource-definitions
30 - 1
kep.yaml
in keps/sig-api-machinery/492-admission-webhooks
19 - 1
kep.yaml
in keps/sig-api-machinery/598-crd-conversion-webhook
22 - 1
kep.yaml
in keps/sig-api-machinery/692-crd-openapi-schema
21 - 1
approval.go
in pkg/kepval
90 2 1