kubernetes / system-validators
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 14 files with 1,026 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (417 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (235 lines of code)
    • 10 very small files (374 lines of code)
0% | 0% | 40% | 22% | 36%
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% | 22% | 36%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
validators0% | 0% | 46% | 11% | 41%
hack0% | 0% | 0% | 100% | 0%
Longest Files (Top 14)
File# lines# units
package_validator_linux.go
in validators
213 13
kernel_validator.go
in validators
204 8
verify-boilerplate.go
in hack
128 5
cgroup_validator_linux.go
in validators
107 5
docker_validator.go
in validators
90 4
types_unix.go
in validators
63 1
validators.go
in validators
48 2
report.go
in validators
47 2
types.go
in validators
40 -
os_validator.go
in validators
31 3
types_windows.go
in validators
30 1
cgroup_validator_other.go
in validators
11 2
package_validator_other.go
in validators
10 2
kernel_validator_helper.go
in validators
4 -
Files With Most Units (Top 12)
File# lines# units
package_validator_linux.go
in validators
213 13
kernel_validator.go
in validators
204 8
cgroup_validator_linux.go
in validators
107 5
verify-boilerplate.go
in hack
128 5
docker_validator.go
in validators
90 4
os_validator.go
in validators
31 3
cgroup_validator_other.go
in validators
11 2
package_validator_other.go
in validators
10 2
validators.go
in validators
48 2
report.go
in validators
47 2
types_windows.go
in validators
30 1
types_unix.go
in validators
63 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
docker_validator.go
in validators
90 4 2
package_validator_linux.go
in validators
213 13 2
types_windows.go
in validators
30 1 1