GoogleCloudPlatform / cloud-sql-proxy-operator
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 31% | 19% | 11% | 37%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go0% | 44% | 27% | 15% | 12%
yaml0% | 0% | 0% | 0% | 100%
tf0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 45% | 28% | 15% | 10%
config0% | 0% | 0% | 0% | 100%
infra0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
podspec_updates.go
in internal/workload
751 39
resources.go
in internal/testhelpers
584 34
authproxyworkload_controller.go
in internal/controller
341 22
workload.go
in internal/workload
253 37
240 13
setup.go
in internal/testintegration
184 6
pod_controller.go
in internal/controller
178 8
authproxyworkload_types.go
in internal/api/v1
106 2
main.tf
in infra/permissions
95 -
database.tf
in infra/resources
94 -
main.tf
in infra/resources
81 -
main.go
in root
79 2
testcases.go
in internal/testhelpers
79 4
setup.go
in internal/controller
78 5
vars.tf
in infra/resources
64 -
manager.yaml
in config/manager
61 -
manifests.yaml
in config/webhook
53 -
private-database.tf
in infra/resources
51 -
helpers.go
in internal/testhelpers
51 3
private-network.tf
in infra/resources
41 -
kustomization.yaml
in config/default
40 -
proxy_image_upgrade.go
in internal/controller
39 2
names.go
in internal/workload
38 4
37 -
vars.tf
in infra/permissions
37 -
36 -
gke_cluster.tf
in infra/resources
35 -
core_webhook.yaml
in config/webhook
34 -
artifacts.tf
in infra/resources
31 -
private_gke_cluster.tf
in infra/resources
28 -
23 -
23 -
certificate.yaml
in config/certmanager
21 -
kustomizeconfig.yaml
in config/webhook
21 -
manager_config_patch.yaml
in config/default
20 -
19 -
monitor.yaml
in config/prometheus
18 -
auth_proxy_role.yaml
in config/rbac
17 -
16 -
15 -
15 -
kustomization.yaml
in config/manager
14 -
kustomizeconfig.yaml
in config/certmanager
14 -
13 -
12 -
service.yaml
in config/webhook
12 -
12 -
12 -
role_binding.yaml
in config/rbac
12 -
11 -
Files With Most Units (Top 14)
File# lines# units
podspec_updates.go
in internal/workload
751 39
workload.go
in internal/workload
253 37
resources.go
in internal/testhelpers
584 34
authproxyworkload_controller.go
in internal/controller
341 22
240 13
pod_controller.go
in internal/controller
178 8
setup.go
in internal/testintegration
184 6
setup.go
in internal/controller
78 5
testcases.go
in internal/testhelpers
79 4
names.go
in internal/workload
38 4
helpers.go
in internal/testhelpers
51 3
main.go
in root
79 2
authproxyworkload_types.go
in internal/api/v1
106 2
proxy_image_upgrade.go
in internal/controller
39 2
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 52 long lines.

File# lines# units# long lines
resources.go
in internal/testhelpers
584 34 17
authproxyworkload_controller.go
in internal/controller
341 22 14
podspec_updates.go
in internal/workload
751 39 8
240 13 6
workload.go
in internal/workload
253 37 3
pod_controller.go
in internal/controller
178 8 2
testcases.go
in internal/testhelpers
79 4 1
proxy_image_upgrade.go
in internal/controller
39 2 1
Correlations

File Size vs. Commits (all time): 63 points

infra/permissions/main.tf x: 22 commits (all time) y: 95 lines of code infra/resources/main.tf x: 30 commits (all time) y: 81 lines of code internal/workload/podspec_updates.go x: 66 commits (all time) y: 751 lines of code internal/api/v1/authproxyworkload_webhook.go x: 4 commits (all time) y: 240 lines of code internal/controller/authproxyworkload_controller.go x: 13 commits (all time) y: 341 lines of code internal/controller/pod_controller.go x: 8 commits (all time) y: 178 lines of code internal/api/v1/authproxyworkload_types.go x: 7 commits (all time) y: 106 lines of code internal/controller/setup.go x: 11 commits (all time) y: 78 lines of code internal/testhelpers/resources.go x: 15 commits (all time) y: 584 lines of code config/webhook/core_webhook.yaml x: 4 commits (all time) y: 34 lines of code internal/testintegration/setup.go x: 8 commits (all time) y: 184 lines of code main.go x: 14 commits (all time) y: 79 lines of code infra/resources/gke_cluster.tf x: 2 commits (all time) y: 35 lines of code infra/resources/private_gke_cluster.tf x: 2 commits (all time) y: 28 lines of code config/manager/controller_manager_config.yaml x: 4 commits (all time) y: 11 lines of code config/webhook/manifests.yaml x: 6 commits (all time) y: 53 lines of code internal/api/v1/groupversion_info.go x: 1 commits (all time) y: 10 lines of code internal/controller/proxy_image_upgrade.go x: 2 commits (all time) y: 39 lines of code internal/testhelpers/testcases.go x: 8 commits (all time) y: 79 lines of code internal/workload/names.go x: 3 commits (all time) y: 38 lines of code internal/workload/workload.go x: 3 commits (all time) y: 253 lines of code infra/resources/database.tf x: 3 commits (all time) y: 94 lines of code infra/resources/private-database.tf x: 1 commits (all time) y: 51 lines of code infra/resources/private-network.tf x: 1 commits (all time) y: 41 lines of code infra/resources/vars.tf x: 2 commits (all time) y: 64 lines of code tools/config-crd-ref-docs.yaml x: 1 commits (all time) y: 12 lines of code infra/resources/artifacts.tf x: 1 commits (all time) y: 31 lines of code infra/permissions/vars.tf x: 1 commits (all time) y: 37 lines of code internal/testhelpers/helpers.go x: 4 commits (all time) y: 51 lines of code config/manager/kustomization.yaml x: 6 commits (all time) y: 14 lines of code internal/workload/doc.go x: 1 commits (all time) y: 1 lines of code config/crd/kustomization.yaml x: 4 commits (all time) y: 7 lines of code config/default/core_webhookcainjection_patch.yaml x: 1 commits (all time) y: 6 lines of code config/default/kustomization.yaml x: 4 commits (all time) y: 40 lines of code config/certmanager/certificate.yaml x: 4 commits (all time) y: 21 lines of code config/certmanager/kustomization.yaml x: 3 commits (all time) y: 4 lines of code config/certmanager/kustomizeconfig.yaml x: 3 commits (all time) y: 14 lines of code config/crd/kustomizeconfig.yaml x: 3 commits (all time) y: 16 lines of code config/crd/patches/cainjection_in_authproxyworkloads.yaml x: 3 commits (all time) y: 6 lines of code config/default/manager_config_patch.yaml x: 3 commits (all time) y: 20 lines of code config/default/manager_webhook_patch.yaml x: 3 commits (all time) y: 23 lines of code config/manager/manager.yaml x: 3 commits (all time) y: 61 lines of code config/prometheus/kustomization.yaml x: 3 commits (all time) y: 2 lines of code config/rbac/auth_proxy_client_clusterrole.yaml x: 3 commits (all time) y: 9 lines of code
751.0
lines of code
  min: 1.0
  average: 66.78
  25th percentile: 12.0
  median: 23.0
  75th percentile: 61.0
  max: 751.0
0 66.0
commits (all time)
min: 1.0 | average: 5.54 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 4.0 | max: 66.0

File Size vs. Contributors (all time): 63 points

infra/permissions/main.tf x: 2 contributors (all time) y: 95 lines of code infra/resources/main.tf x: 2 contributors (all time) y: 81 lines of code internal/workload/podspec_updates.go x: 7 contributors (all time) y: 751 lines of code internal/api/v1/authproxyworkload_webhook.go x: 1 contributors (all time) y: 240 lines of code internal/controller/authproxyworkload_controller.go x: 2 contributors (all time) y: 341 lines of code internal/controller/pod_controller.go x: 2 contributors (all time) y: 178 lines of code internal/api/v1/authproxyworkload_types.go x: 1 contributors (all time) y: 106 lines of code internal/controller/setup.go x: 3 contributors (all time) y: 78 lines of code internal/testhelpers/resources.go x: 2 contributors (all time) y: 584 lines of code config/webhook/core_webhook.yaml x: 2 contributors (all time) y: 34 lines of code internal/testintegration/setup.go x: 2 contributors (all time) y: 184 lines of code infra/resources/gke_cluster.tf x: 1 contributors (all time) y: 35 lines of code infra/resources/private_gke_cluster.tf x: 1 contributors (all time) y: 28 lines of code config/manager/controller_manager_config.yaml x: 2 contributors (all time) y: 11 lines of code config/webhook/manifests.yaml x: 1 contributors (all time) y: 53 lines of code internal/api/v1/groupversion_info.go x: 1 contributors (all time) y: 10 lines of code internal/controller/proxy_image_upgrade.go x: 1 contributors (all time) y: 39 lines of code internal/testhelpers/testcases.go x: 1 contributors (all time) y: 79 lines of code internal/workload/names.go x: 2 contributors (all time) y: 38 lines of code internal/workload/workload.go x: 2 contributors (all time) y: 253 lines of code infra/resources/database.tf x: 1 contributors (all time) y: 94 lines of code infra/resources/vars.tf x: 1 contributors (all time) y: 64 lines of code tools/config-crd-ref-docs.yaml x: 1 contributors (all time) y: 12 lines of code infra/resources/artifacts.tf x: 1 contributors (all time) y: 31 lines of code infra/permissions/vars.tf x: 1 contributors (all time) y: 37 lines of code config/manager/kustomization.yaml x: 2 contributors (all time) y: 14 lines of code internal/workload/doc.go x: 1 contributors (all time) y: 1 lines of code config/crd/kustomization.yaml x: 2 contributors (all time) y: 7 lines of code config/default/core_webhookcainjection_patch.yaml x: 1 contributors (all time) y: 6 lines of code config/default/kustomization.yaml x: 2 contributors (all time) y: 40 lines of code config/certmanager/certificate.yaml x: 2 contributors (all time) y: 21 lines of code config/certmanager/kustomization.yaml x: 2 contributors (all time) y: 4 lines of code config/crd/kustomizeconfig.yaml x: 2 contributors (all time) y: 16 lines of code config/default/manager_config_patch.yaml x: 2 contributors (all time) y: 20 lines of code config/manager/manager.yaml x: 2 contributors (all time) y: 61 lines of code config/prometheus/kustomization.yaml x: 2 contributors (all time) y: 2 lines of code
751.0
lines of code
  min: 1.0
  average: 66.78
  25th percentile: 12.0
  median: 23.0
  75th percentile: 61.0
  max: 751.0
0 7.0
contributors (all time)
min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 7.0

File Size vs. Commits (30 days): 6 points

infra/permissions/main.tf x: 1 commits (30d) y: 95 lines of code infra/resources/main.tf x: 1 commits (30d) y: 81 lines of code internal/workload/podspec_updates.go x: 3 commits (30d) y: 751 lines of code internal/api/v1/authproxyworkload_webhook.go x: 1 commits (30d) y: 240 lines of code internal/controller/authproxyworkload_controller.go x: 1 commits (30d) y: 341 lines of code internal/controller/pod_controller.go x: 1 commits (30d) y: 178 lines of code
751.0
lines of code
  min: 81.0
  average: 281.0
  25th percentile: 91.5
  median: 209.0
  75th percentile: 443.5
  max: 751.0
0 3.0
commits (30d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 3.0

File Size vs. Contributors (30 days): 6 points

infra/permissions/main.tf x: 1 contributors (30d) y: 95 lines of code infra/resources/main.tf x: 1 contributors (30d) y: 81 lines of code internal/workload/podspec_updates.go x: 3 contributors (30d) y: 751 lines of code internal/api/v1/authproxyworkload_webhook.go x: 1 contributors (30d) y: 240 lines of code internal/controller/authproxyworkload_controller.go x: 1 contributors (30d) y: 341 lines of code internal/controller/pod_controller.go x: 1 contributors (30d) y: 178 lines of code
751.0
lines of code
  min: 81.0
  average: 281.0
  25th percentile: 91.5
  median: 209.0
  75th percentile: 443.5
  max: 751.0
0 3.0
contributors (30d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 3.0

File Size vs. Commits (90 days): 6 points

infra/permissions/main.tf x: 2 commits (90d) y: 95 lines of code infra/resources/main.tf x: 1 commits (90d) y: 81 lines of code internal/workload/podspec_updates.go x: 4 commits (90d) y: 751 lines of code internal/api/v1/authproxyworkload_webhook.go x: 1 commits (90d) y: 240 lines of code internal/controller/authproxyworkload_controller.go x: 1 commits (90d) y: 341 lines of code internal/controller/pod_controller.go x: 1 commits (90d) y: 178 lines of code
751.0
lines of code
  min: 81.0
  average: 281.0
  25th percentile: 91.5
  median: 209.0
  75th percentile: 443.5
  max: 751.0
0 4.0
commits (90d)
min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.5 | max: 4.0

File Size vs. Contributors (90 days): 6 points

infra/permissions/main.tf x: 1 contributors (90d) y: 95 lines of code infra/resources/main.tf x: 1 contributors (90d) y: 81 lines of code internal/workload/podspec_updates.go x: 3 contributors (90d) y: 751 lines of code internal/api/v1/authproxyworkload_webhook.go x: 1 contributors (90d) y: 240 lines of code internal/controller/authproxyworkload_controller.go x: 1 contributors (90d) y: 341 lines of code internal/controller/pod_controller.go x: 1 contributors (90d) y: 178 lines of code
751.0
lines of code
  min: 81.0
  average: 281.0
  25th percentile: 91.5
  median: 209.0
  75th percentile: 443.5
  max: 751.0
0 3.0
contributors (90d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 3.0