kubernetes / publishing-bot
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 35 files with 2,709 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,033 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (818 lines of code)
    • 26 very small files (858 lines of code)
0% | 0% | 38% | 30% | 31%
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% | 41% | 33% | 24%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cmd/sync-tags0% | 0% | 100% | 0% | 0%
cmd/publishing-bot0% | 0% | 32% | 51% | 16%
cmd/init-repo0% | 0% | 0% | 100% | 0%
cmd/collapsed-kube-commit-mapper0% | 0% | 0% | 100% | 0%
artifacts/manifests0% | 0% | 0% | 0% | 100%
pkg/git0% | 0% | 0% | 0% | 100%
cmd/validate-rules0% | 0% | 0% | 0% | 100%
cmd/gomod-zip0% | 0% | 0% | 0% | 100%
pkg/golang0% | 0% | 0% | 0% | 100%
configs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
main.go
in cmd/sync-tags
468 14
publisher.go
in cmd/publishing-bot
353 12
gomod.go
in cmd/sync-tags
212 7
main.go
in cmd/publishing-bot
159 2
rules.go
in cmd/publishing-bot/config
153 8
publisher_logger.go
in cmd/publishing-bot
151 16
main.go
in cmd/init-repo
144 5
main.go
in cmd/collapsed-kube-commit-mapper
107 2
github.go
in cmd/publishing-bot
104 4
log_builder.go
in cmd/publishing-bot
89 10
mainline.go
in pkg/git
86 3
podspec.yaml
in artifacts/manifests
80 -
zip.go
in cmd/gomod-zip
78 4
install.go
in pkg/golang
78 2
server.go
in cmd/publishing-bot
77 4
github_utils.go
in cmd/validate-rules/staging
51 1
validate.go
in cmd/validate-rules/staging
46 2
mapping.go
in pkg/git
45 1
main.go
in cmd/validate-rules
31 1
cloudbuild.yaml
in root
29 -
cronjob.yaml
in artifacts/manifests
17 -
kube.go
in pkg/git
16 1
example-rules-configmap.yaml
in configs
16 -
rs.yaml
in artifacts/manifests
14 -
config.go
in cmd/publishing-bot/config
13 -
pvc.yaml
in artifacts/manifests
13 -
service.yaml
in artifacts/manifests
12 -
kubernetes-nightly-configmap.yaml
in configs
12 -
kubernetes-configmap.yaml
in configs
12 -
example-configmap.yaml
in configs
11 -
storage-class.yaml
in artifacts/manifests
7 -
secret.yaml
in artifacts/manifests
7 -
pod.yaml
in artifacts/manifests
6 -
kubernetes-rules-configmap.yaml
in configs
6 -
kubernetes-nightly-rules-configmap.yaml
in configs
6 -
Files With Most Units (Top 19)
File# lines# units
publisher_logger.go
in cmd/publishing-bot
151 16
main.go
in cmd/sync-tags
468 14
publisher.go
in cmd/publishing-bot
353 12
log_builder.go
in cmd/publishing-bot
89 10
rules.go
in cmd/publishing-bot/config
153 8
gomod.go
in cmd/sync-tags
212 7
main.go
in cmd/init-repo
144 5
github.go
in cmd/publishing-bot
104 4
server.go
in cmd/publishing-bot
77 4
zip.go
in cmd/gomod-zip
78 4
mainline.go
in pkg/git
86 3
main.go
in cmd/collapsed-kube-commit-mapper
107 2
main.go
in cmd/publishing-bot
159 2
validate.go
in cmd/validate-rules/staging
46 2
install.go
in pkg/golang
78 2
github_utils.go
in cmd/validate-rules/staging
51 1
main.go
in cmd/validate-rules
31 1
kube.go
in pkg/git
16 1
mapping.go
in pkg/git
45 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
main.go
in cmd/sync-tags
468 14 9
gomod.go
in cmd/sync-tags
212 7 8
publisher.go
in cmd/publishing-bot
353 12 4
main.go
in cmd/collapsed-kube-commit-mapper
107 2 2
main.go
in cmd/publishing-bot
159 2 2
rules.go
in cmd/publishing-bot/config
153 8 2
main.go
in cmd/init-repo
144 5 2
github.go
in cmd/publishing-bot
104 4 1
server.go
in cmd/publishing-bot
77 4 1
install.go
in pkg/golang
78 2 1
mapping.go
in pkg/git
45 1 1