kubernetes / cloud-provider-aws
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 42 files with 8,031 lines of code.
    • 2 very long files (5,244 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (461 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,577 lines of code)
    • 28 very small files (749 lines of code)
65% | 0% | 5% | 19% | 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
go68% | 0% | 5% | 19% | 6%
yaml0% | 0% | 0% | 46% | 53%
py0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/providers/v177% | 0% | 6% | 11% | 4%
pkg/providers/v20% | 0% | 0% | 100% | 0%
cmd/ecr-credential-provider0% | 0% | 0% | 100% | 0%
charts/aws-cloud-controller-manager0% | 0% | 0% | 91% | 8%
pkg/providers/v2/mocks0% | 0% | 0% | 0% | 100%
charts/aws-cloud-controller-manager/templates0% | 0% | 0% | 0% | 100%
cmd/aws-cloud-controller-manager0% | 0% | 0% | 0% | 100%
pkg/apis/config/v1alpha10% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
hack0% | 0% | 0% | 0% | 100%
pkg/apis/config0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
aws.go
in pkg/providers/v1
3892 154
aws_loadbalancer.go
in pkg/providers/v1
1352 34
aws_fakes.go
in pkg/providers/v1
461 77
tags.go
in pkg/providers/v1
197 12
instances.go
in pkg/providers/v2
195 9
cloud.go
in pkg/providers/v2
178 15
instances.go
in pkg/providers/v1
175 11
sets_ippermissions.go
in pkg/providers/v1
150 13
aws_routes.go
in pkg/providers/v1
150 5
main.go
in cmd/ecr-credential-provider
112 4
tags.go
in pkg/providers/v2
108 6
retry_handler.go
in pkg/providers/v1
108 8
values.yaml
in charts/aws-cloud-controller-manager
103 -
plugin.go
in cmd/ecr-credential-provider
101 6
device_allocator.go
in pkg/providers/v1
70 9
mock_ec2.go
in pkg/providers/v2/mocks
69 10
volumes.go
in pkg/providers/v1
68 4
main.go
in cmd/aws-cloud-controller-manager
67 2
changelog.py
in hack
57 3
aws_instancegroups.go
in pkg/providers/v1
48 5
aws_metrics.go
in pkg/providers/v1
47 3
daemonset.yaml
in charts/aws-cloud-controller-manager/templates
38 -
zz_generated.deepcopy.go
in pkg/apis/config/v1alpha1
36 5
mock_ecr.go
in pkg/providers/v2/mocks
32 4
netlify.toml
in root
26 -
aws_utils.go
in pkg/providers/v1
25 2
log_handler.go
in pkg/providers/v1
25 4
mkdocs.yml
in root
22 -
register.go
in pkg/apis/config/v1alpha1
19 1
rolebinding.yaml
in charts/aws-cloud-controller-manager/templates
18 -
cloudbuild.yaml
in root
17 -
cluserrolebinding.yaml
in charts/aws-cloud-controller-manager/templates
17 -
types.go
in pkg/apis/config/v1alpha1
11 -
Chart.yaml
in charts/aws-cloud-controller-manager
10 -
serviceaccount.yaml
in charts/aws-cloud-controller-manager/templates
9 -
clusterrole.yaml
in charts/aws-cloud-controller-manager/templates
8 -
tpl
_helpers.tpl
in charts/aws-cloud-controller-manager/templates
3 -
register.go
in pkg/apis/config
2 -
tools.go
in hack
2 -
doc.go
in pkg/providers/v1
1 -
doc.go
in pkg/apis/config/v1alpha1
1 -
doc.go
in pkg/apis/config
1 -
Files With Most Units (Top 20)
File# lines# units
aws.go
in pkg/providers/v1
3892 154
aws_fakes.go
in pkg/providers/v1
461 77
aws_loadbalancer.go
in pkg/providers/v1
1352 34
cloud.go
in pkg/providers/v2
178 15
sets_ippermissions.go
in pkg/providers/v1
150 13
tags.go
in pkg/providers/v1
197 12
instances.go
in pkg/providers/v1
175 11
mock_ec2.go
in pkg/providers/v2/mocks
69 10
instances.go
in pkg/providers/v2
195 9
device_allocator.go
in pkg/providers/v1
70 9
retry_handler.go
in pkg/providers/v1
108 8
plugin.go
in cmd/ecr-credential-provider
101 6
tags.go
in pkg/providers/v2
108 6
aws_routes.go
in pkg/providers/v1
150 5
aws_instancegroups.go
in pkg/providers/v1
48 5
zz_generated.deepcopy.go
in pkg/apis/config/v1alpha1
36 5
main.go
in cmd/ecr-credential-provider
112 4
mock_ecr.go
in pkg/providers/v2/mocks
32 4
volumes.go
in pkg/providers/v1
68 4
log_handler.go
in pkg/providers/v1
25 4
Files With Long Lines (Top 15)

There are 15 files with lines longer than 120 characters. In total, there are 197 long lines.

File# lines# units# long lines
aws.go
in pkg/providers/v1
3892 154 98
aws_loadbalancer.go
in pkg/providers/v1
1352 34 41
aws_fakes.go
in pkg/providers/v1
461 77 30
tags.go
in pkg/providers/v1
197 12 7
mock_ec2.go
in pkg/providers/v2/mocks
69 10 3
aws_routes.go
in pkg/providers/v1
150 5 3
main.go
in cmd/aws-cloud-controller-manager
67 2 2
main.go
in cmd/ecr-credential-provider
112 4 2
cloud.go
in pkg/providers/v2
178 15 2
mock_ecr.go
in pkg/providers/v2/mocks
32 4 2
instances.go
in pkg/providers/v2
195 9 2
tags.go
in pkg/providers/v2
108 6 2
plugin.go
in cmd/ecr-credential-provider
101 6 1
log_handler.go
in pkg/providers/v1
25 4 1
changelog.py
in hack
57 3 1