awslabs / amazon-apigateway-ingress-controller
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 22 files with 1,813 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (565 lines of code)
    • 2 medium size files (480 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (224 lines of code)
    • 17 very small files (544 lines of code)
0% | 31% | 26% | 12% | 30%
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% | 37% | 31% | 7% | 23%
yaml0% | 0% | 0% | 41% | 58%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/controller0% | 60% | 25% | 0% | 13%
pkg/cloudformation0% | 0% | 64% | 31% | 3%
config/rbac0% | 0% | 0% | 89% | 10%
config/manager0% | 0% | 0% | 0% | 100%
pkg/network0% | 0% | 0% | 0% | 100%
cmd/manager0% | 0% | 0% | 0% | 100%
pkg/nginx0% | 0% | 0% | 0% | 100%
pkg/finalizers0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
config/default0% | 0% | 0% | 0% | 100%
config/iam0% | 0% | 0% | 0% | 100%
pkg/webhook0% | 0% | 0% | 0% | 100%
pkg/logging0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
ingress_controller.go
in pkg/controller/ingress
565 16
cloudformation.go
in pkg/cloudformation
240 14
mocks.go
in pkg/controller/ingress
240 14
helpers.go
in pkg/cloudformation
117 10
rbac_role.yaml
in config/rbac
107 -
manager.yaml
in config/manager
83 -
types.go
in pkg/network
69 2
helpers.go
in pkg/controller/ingress
61 10
nginx.go
in pkg/controller/ingress
50 1
main.go
in cmd/manager
48 1
nginx.go
in pkg/nginx
44 1
finalizers.go
in pkg/finalizers
32 3
Gopkg.toml
in root
31 -
role.yaml
in config/iam
27 -
types.go
in pkg/cloudformation
14 -
manager_image_patch.yaml
in config/default
14 -
kustomization.yaml
in config/default
14 -
controller.go
in pkg/controller
13 1
webhook.go
in pkg/webhook
13 1
rbac_role_binding.yaml
in config/rbac
13 -
logging.go
in pkg/logging
11 1
add_ingress.go
in pkg/controller
7 1
Files With Most Units (Top 14)
File# lines# units
ingress_controller.go
in pkg/controller/ingress
565 16
cloudformation.go
in pkg/cloudformation
240 14
mocks.go
in pkg/controller/ingress
240 14
helpers.go
in pkg/cloudformation
117 10
helpers.go
in pkg/controller/ingress
61 10
finalizers.go
in pkg/finalizers
32 3
types.go
in pkg/network
69 2
nginx.go
in pkg/nginx
44 1
controller.go
in pkg/controller
13 1
nginx.go
in pkg/controller/ingress
50 1
add_ingress.go
in pkg/controller
7 1
logging.go
in pkg/logging
11 1
webhook.go
in pkg/webhook
13 1
main.go
in cmd/manager
48 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
ingress_controller.go
in pkg/controller/ingress
565 16 16
mocks.go
in pkg/controller/ingress
240 14 11
cloudformation.go
in pkg/cloudformation
240 14 6
helpers.go
in pkg/cloudformation
117 10 1
types.go
in pkg/network
69 2 1