kubernetes / controller-manager
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 37 files with 1,311 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (315 lines of code)
    • 35 very small files (996 lines of code)
0% | 0% | 0% | 24% | 75%
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% | 0% | 24% | 75%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/clientbuilder0% | 0% | 0% | 76% | 23%
config/v1alpha10% | 0% | 0% | 44% | 55%
pkg/leadermigration0% | 0% | 0% | 0% | 100%
config/v1beta10% | 0% | 0% | 0% | 100%
options0% | 0% | 0% | 0% | 100%
app0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
pkg/healthz0% | 0% | 0% | 0% | 100%
pkg/informerfactory0% | 0% | 0% | 0% | 100%
pkg/features0% | 0% | 0% | 0% | 100%
controller0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
client_builder_dynamic.go
in pkg/clientbuilder
195 11
zz_generated.conversion.go
in config/v1alpha1
120 12
generic.go
in options
78 4
zz_generated.conversion.go
in config/v1beta1
67 10
config.go
in pkg/leadermigration/config
65 4
zz_generated.deepcopy.go
in config/v1alpha1
63 7
zz_generated.deepcopy.go
in config
63 7
client_builder.go
in pkg/clientbuilder
59 6
options.go
in pkg/leadermigration/options
55 3
helper.go
in app
51 2
serve.go
in app
47 2
zz_generated.deepcopy.go
in config/v1beta1
40 5
debugging.go
in options
39 4
informer_factory.go
in pkg/informerfactory
31 3
handler.go
in pkg/healthz
30 3
migrator.go
in pkg/leadermigration
27 1
types.go
in config/v1alpha1
27 -
types.go
in config
27 -
defaults.go
in config/v1alpha1
26 1
default.go
in pkg/leadermigration/config
20 1
register.go
in config/v1alpha1
20 1
register.go
in config/v1beta1
20 1
controllercontext.go
in app
19 -
register.go
in config
18 1
healthz.go
in pkg/healthz
15 2
kube_features.go
in pkg/features
15 1
interfaces.go
in controller
14 -
types.go
in config/v1beta1
14 -
conversion.go
in config/v1alpha1
11 2
feature.go
in pkg/leadermigration
9 1
register.go
in pkg/features/register
9 1
filter.go
in pkg/leadermigration
8 -
util.go
in pkg/leadermigration
5 1
doc.go
in root
1 -
doc.go
in config/v1alpha1
1 -
doc.go
in config
1 -
doc.go
in config/v1beta1
1 -
Files With Most Units (Top 20)
File# lines# units
zz_generated.conversion.go
in config/v1alpha1
120 12
client_builder_dynamic.go
in pkg/clientbuilder
195 11
zz_generated.conversion.go
in config/v1beta1
67 10
zz_generated.deepcopy.go
in config/v1alpha1
63 7
zz_generated.deepcopy.go
in config
63 7
client_builder.go
in pkg/clientbuilder
59 6
zz_generated.deepcopy.go
in config/v1beta1
40 5
debugging.go
in options
39 4
generic.go
in options
78 4
config.go
in pkg/leadermigration/config
65 4
options.go
in pkg/leadermigration/options
55 3
informer_factory.go
in pkg/informerfactory
31 3
handler.go
in pkg/healthz
30 3
healthz.go
in pkg/healthz
15 2
serve.go
in app
47 2
helper.go
in app
51 2
conversion.go
in config/v1alpha1
11 2
util.go
in pkg/leadermigration
5 1
migrator.go
in pkg/leadermigration
27 1
feature.go
in pkg/leadermigration
9 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 70 long lines.

File# lines# units# long lines
zz_generated.conversion.go
in config/v1alpha1
120 12 30
zz_generated.conversion.go
in config/v1beta1
67 10 16
generic.go
in options
78 4 10
client_builder_dynamic.go
in pkg/clientbuilder
195 11 6
conversion.go
in config/v1alpha1
11 2 4
options.go
in pkg/leadermigration/options
55 3 1
config.go
in pkg/leadermigration/config
65 4 1
informer_factory.go
in pkg/informerfactory
31 3 1
serve.go
in app
47 2 1