kubernetes / release
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 152 files with 31,880 lines of code.
    • 6 very long files (9,966 lines of code)
    • 6 long files (4,281 lines of code)
    • 30 medium size files (9,433 lines of codeclsfd_ftr_w_mp_ins)
    • 39 small files (5,260 lines of code)
    • 71 very small files (2,940 lines of code)
31% | 13% | 29% | 16% | 9%
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
go32% | 14% | 29% | 17% | 6%
yaml0% | 0% | 29% | 0% | 70%
spec0% | 0% | 50% | 0% | 49%
pub0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/anago57% | 32% | 10% | 0% | 0%
pkg/changelog73% | 0% | 15% | 6% | 3%
pkg/fastforward82% | 0% | 12% | 0% | 5%
cmd/krel43% | 0% | 18% | 29% | 8%
pkg/release19% | 9% | 51% | 17% | 2%
pkg/notes0% | 42% | 41% | 10% | 4%
packages/deb0% | 100% | 0% | 0% | 0%
pkg/kubepkg0% | 0% | 79% | 15% | 5%
pkg/gcp0% | 0% | 53% | 38% | 8%
pkg/build0% | 0% | 73% | 11% | 15%
ROOT0% | 0% | 90% | 0% | 9%
pkg/announce0% | 0% | 64% | 28% | 7%
cmd/release-notes0% | 0% | 100% | 0% | 0%
pkg/cve0% | 0% | 56% | 0% | 43%
packages/rpm0% | 0% | 100% | 0% | 0%
pkg/binary0% | 0% | 0% | 99% | <1%
pkg/mail0% | 0% | 0% | 100% | 0%
cmd/ci-reporter0% | 0% | 0% | 82% | 17%
pkg/testgrid0% | 0% | 0% | 80% | 19%
cmd/publish-release0% | 0% | 0% | 75% | 24%
cmd/kubepkg0% | 0% | 0% | 33% | 66%
cmd/schedule-builder0% | 0% | 0% | 47% | 52%
pkg/kubecross0% | 0% | 0% | 69% | 30%
images/build0% | 0% | 0% | 0% | 100%
images/releng0% | 0% | 0% | 0% | 100%
images/k8s-cloud-builder0% | 0% | 0% | 0% | 100%
cmd/gcbuilder0% | 0% | 0% | 0% | 100%
gcb/stage0% | 0% | 0% | 0% | 100%
gcb/release0% | 0% | 0% | 0% | 100%
gcb/fast-forward0% | 0% | 0% | 0% | 100%
pkg/version0% | 0% | 0% | 0% | 100%
pkg/testing0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
internal0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
fake_stage_impl.go
in pkg/anago/anagofakes
2705 222
fake_impl.go
in pkg/changelog/changelogfakes
2000 162
fake_release_impl.go
in pkg/anago/anagofakes
1609 133
fake_impl.go
in pkg/fastforward/fastforwardfakes
1506 125
release_notes.go
in cmd/krel/cmd
1092 19
fake_publisher_client.go
in pkg/release/releasefakes
1054 86
notes.go
in pkg/notes
851 43
fake_release_client.go
in pkg/anago/anagofakes
843 71
fake_stage_client.go
in pkg/anago/anagofakes
843 71
stage.go
in pkg/anago
705 55
build.go
in packages/deb
529 19
fake_repository.go
in pkg/release/releasefakes
510 40
kubepkg.go
in pkg/kubepkg
481 21
release.go
in pkg/anago
471 39
fake_archiver_impl.go
in pkg/release/releasefakes
450 38
fake_prerequisites_checker_impl.go
in pkg/release/releasefakes
436 36
changelog.go
in pkg/changelog
428 16
push.go
in pkg/build
414 11
fake_impl.go
in pkg/kubepkg/kubepkgfakes
405 32
document.go
in pkg/notes/document
384 12
dependencies.yaml
in root
363 -
release.go
in pkg/release
349 18
publish.go
in pkg/release
339 20
github_page.go
in pkg/announce
329 9
build.go
in pkg/gcp/build
323 11
gcb.go
in pkg/gcp/gcb
322 13
main.go
in cmd/release-notes
315 4
fake_impl.go
in pkg/build/buildfakes
312 26
images.go
in pkg/release
298 10
anago.go
in pkg/anago
283 24
archive.go
in pkg/release
252 12
fake_image_impl.go
in pkg/release/releasefakes
246 20
testgrid.go
in cmd/krel/cmd
245 5
workspace.go
in pkg/release
239 5
fastforward.go
in pkg/fastforward
230 5
fake_repository.go
in pkg/gcp/gcb/gcbfakes
229 18
options.go
in pkg/notes/options
222 6
impl.go
in pkg/cve
221 9
notes_v2.go
in pkg/notes
220 3
provenance.go
in pkg/release
216 12
spec
kubelet.spec
in packages/rpm
208 -
announce_build.go
in cmd/krel/cmd
203 5
push_git_objects.go
in pkg/release
195 9
impl.go
in pkg/changelog
189 27
fake_release.go
in pkg/gcp/gcb/gcbfakes
188 14
github.go
in cmd/publish-release/cmd
186 3
fake_history_impl.go
in pkg/gcp/gcb/gcbfakes
180 14
github.go
in cmd/ci-reporter/cmd
175 8
release_version.go
in pkg/release
175 9
options.go
in pkg/kubepkg/options
168 25
Files With Most Units (Top 20)
File# lines# units
fake_stage_impl.go
in pkg/anago/anagofakes
2705 222
fake_impl.go
in pkg/changelog/changelogfakes
2000 162
fake_release_impl.go
in pkg/anago/anagofakes
1609 133
fake_impl.go
in pkg/fastforward/fastforwardfakes
1506 125
fake_publisher_client.go
in pkg/release/releasefakes
1054 86
fake_release_client.go
in pkg/anago/anagofakes
843 71
fake_stage_client.go
in pkg/anago/anagofakes
843 71
stage.go
in pkg/anago
705 55
notes.go
in pkg/notes
851 43
fake_repository.go
in pkg/release/releasefakes
510 40
release.go
in pkg/anago
471 39
fake_archiver_impl.go
in pkg/release/releasefakes
450 38
fake_prerequisites_checker_impl.go
in pkg/release/releasefakes
436 36
fake_impl.go
in pkg/kubepkg/kubepkgfakes
405 32
impl.go
in pkg/changelog
189 27
fake_impl.go
in pkg/build/buildfakes
312 26
options.go
in pkg/kubepkg/options
168 25
anago.go
in pkg/anago
283 24
impl.go
in pkg/fastforward
95 21
kubepkg.go
in pkg/kubepkg
481 21
Files With Long Lines (Top 20)

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

File# lines# units# long lines
dependencies.yaml
in root
363 - 32
release_notes.go
in cmd/krel/cmd
1092 19 11
testgrid.go
in cmd/krel/cmd
245 5 11
root.go
in cmd/gcbuilder/cmd
60 4 10
fake_stage_impl.go
in pkg/anago/anagofakes
2705 222 8
fake_release_impl.go
in pkg/anago/anagofakes
1609 133 7
announce_build.go
in cmd/krel/cmd
203 5 6
ff.go
in cmd/krel/cmd
50 1 4
markdown.go
in cmd/schedule-builder/cmd
100 6 3
root.go
in cmd/schedule-builder/cmd
123 5 3
fake_impl.go
in pkg/changelog/changelogfakes
2000 162 3
gcb.go
in pkg/gcp/gcb
322 13 3
build.go
in pkg/gcp/build
323 11 3
testgrid-scraper.go
in pkg/testgrid
161 8 3
cloudbuild.yaml
in gcb/stage
66 - 2
root.go
in cmd/ci-reporter/cmd
157 7 2
fake_release.go
in pkg/gcp/gcb/gcbfakes
188 14 2
fake_prerequisites_checker_impl.go
in pkg/release/releasefakes
436 36 2
kubepkg.go
in pkg/kubepkg
481 21 2
spec
kubelet.spec
in packages/rpm
208 - 2