spotify / flink-on-k8s-operator
File Size

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

Intro
Learn more...
File Size Overall
73% | 8% | 9% | 2% | 5%
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
yaml91% | 0% | 2% | <1% | 5%
go29% | 31% | 26% | 7% | 5%
tpl0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
config90% | 0% | 2% | 0% | 7%
helm-chart91% | 0% | 3% | 1% | 4%
controllers26% | 53% | 10% | 7% | 1%
apis46% | 0% | 39% | 11% | 2%
internal0% | 0% | 77% | 0% | 22%
ROOT0% | 0% | 0% | 0% | 100%
images0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
9445 -
flink-cluster-crd.yaml
in helm-chart/flink-operator/templates
8534 -
flinkcluster_converter.go
in controllers/flinkcluster
1194 44
zz_generated.deepcopy.go
in apis/flinkcluster/v1beta1
1002 60
flinkcluster_updater.go
in controllers/flinkcluster
959 17
flinkcluster_reconciler.go
in controllers/flinkcluster
764 36
flinkcluster_observer.go
in controllers/flinkcluster
646 23
flinkcluster_validate.go
in apis/flinkcluster/v1beta1
488 18
flinkcluster_util.go
in controllers/flinkcluster
473 43
flinkcluster_types.go
in apis/flinkcluster/v1beta1
354 4
rbac.yaml
in helm-chart/flink-operator/templates
336 -
controller_history.go
in internal/controllers/history
252 17
role.yaml
in config/rbac
229 -
client.go
in internal/flink
223 17
volcano.go
in internal/batchscheduler/volcano
222 15
flinkcluster_controller.go
in controllers/flinkcluster
198 4
flinkcluster_submit_job_script.go
in controllers/flinkcluster
134 -
flinkcluster_default.go
in apis/flinkcluster/v1beta1
131 3
flinkcluster_types_util.go
in apis/flinkcluster/v1beta1
125 15
flink-operator.yaml
in helm-chart/flink-operator/templates
101 -
flinkjobcluster.yaml
in helm-chart/flink-job-cluster/templates
93 -
main.go
in root
87 2
webhook.yaml
in helm-chart/flink-operator/templates
77 -
kube.go
in internal/util
69 5
sharder.go
in controllers/flinkcluster
64 7
values.yaml
in helm-chart/flink-job-cluster
59 -
manager.yaml
in config/manager-sharded
55 -
manifests.yaml
in config/webhook
52 -
tpl
_helpers.tpl
in helm-chart/flink-operator/templates
52 -
manager.yaml
in config/manager
49 -
kustomization.yaml
in config/default-sharded
46 -
kustomization.yaml
in config/default
46 -
factory.go
in internal/batchscheduler
38 3
36 -
flinkcluster_webhook.go
in apis/flinkcluster/v1beta1
35 5
time.go
in internal/util
32 5
values.yaml
in helm-chart/flink-operator
30 -
tpl
_helpers.tpl
in helm-chart/flink-job-cluster/templates
30 -
manager_auth_proxy_patch.yaml
in config/default-sharded
26 -
26 -
core-site.xml
in images/flink/hadoop
24 -
23 -
manager_webhook_patch.yaml
in config/default-sharded
23 -
23 -
kustomizeconfig.yaml
in config/webhook
21 -
certificate.yaml
in config/certmanager
21 -
model.go
in internal/model
21 -
19 -
diff.go
in internal/util
19 1
18 -
Files With Most Units (Top 22)
File# lines# units
zz_generated.deepcopy.go
in apis/flinkcluster/v1beta1
1002 60
flinkcluster_converter.go
in controllers/flinkcluster
1194 44
flinkcluster_util.go
in controllers/flinkcluster
473 43
flinkcluster_reconciler.go
in controllers/flinkcluster
764 36
flinkcluster_observer.go
in controllers/flinkcluster
646 23
flinkcluster_validate.go
in apis/flinkcluster/v1beta1
488 18
client.go
in internal/flink
223 17
controller_history.go
in internal/controllers/history
252 17
flinkcluster_updater.go
in controllers/flinkcluster
959 17
flinkcluster_types_util.go
in apis/flinkcluster/v1beta1
125 15
volcano.go
in internal/batchscheduler/volcano
222 15
sharder.go
in controllers/flinkcluster
64 7
flinkcluster_webhook.go
in apis/flinkcluster/v1beta1
35 5
time.go
in internal/util
32 5
kube.go
in internal/util
69 5
flinkcluster_types.go
in apis/flinkcluster/v1beta1
354 4
flinkcluster_controller.go
in controllers/flinkcluster
198 4
flinkcluster_default.go
in apis/flinkcluster/v1beta1
131 3
factory.go
in internal/batchscheduler
38 3
main.go
in root
87 2
diff.go
in internal/util
19 1
strings.go
in internal/util
5 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 184 long lines.

File# lines# units# long lines
9445 - 58
flink-cluster-crd.yaml
in helm-chart/flink-operator/templates
8534 - 58
flinkcluster_validate.go
in apis/flinkcluster/v1beta1
488 18 12
flinkcluster_updater.go
in controllers/flinkcluster
959 17 12
controller_history.go
in internal/controllers/history
252 17 11
flinkcluster_reconciler.go
in controllers/flinkcluster
764 36 10
flinkcluster_converter.go
in controllers/flinkcluster
1194 44 8
flinkcluster_submit_job_script.go
in controllers/flinkcluster
134 - 5
main.go
in root
87 2 4
flinkcluster_observer.go
in controllers/flinkcluster
646 23 2
flinkcluster_util.go
in controllers/flinkcluster
473 43 2
flinkcluster_types.go
in apis/flinkcluster/v1beta1
354 4 1
client.go
in internal/flink
223 17 1
Correlations

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

controllers/flinkcluster/flinkcluster_reconciler.go x: 36 commits (all time) y: 764 lines of code controllers/flinkcluster/flinkcluster_updater.go x: 38 commits (all time) y: 959 lines of code controllers/flinkcluster/flinkcluster_util.go x: 37 commits (all time) y: 473 lines of code config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml x: 111 commits (all time) y: 9445 lines of code main.go x: 34 commits (all time) y: 87 lines of code helm-chart/flink-operator/Chart.yaml x: 24 commits (all time) y: 8 lines of code helm-chart/flink-operator/values.yaml x: 20 commits (all time) y: 30 lines of code apis/flinkcluster/v1beta1/zz_generated.deepcopy.go x: 15 commits (all time) y: 1002 lines of code config/webhook/manifests.yaml x: 10 commits (all time) y: 52 lines of code apis/flinkcluster/v1beta1/flinkcluster_default.go x: 14 commits (all time) y: 131 lines of code apis/flinkcluster/v1beta1/flinkcluster_webhook.go x: 2 commits (all time) y: 35 lines of code apis/flinkcluster/v1beta1/flinkcluster_types_util.go x: 9 commits (all time) y: 125 lines of code config/default-sharded/kustomization.yaml x: 1 commits (all time) y: 46 lines of code config/default-sharded/manager_auth_proxy_patch.yaml x: 1 commits (all time) y: 26 lines of code controllers/flinkcluster/flinkcluster_controller.go x: 20 commits (all time) y: 198 lines of code helm-chart/flink-operator/templates/flink-cluster-crd.yaml x: 30 commits (all time) y: 8534 lines of code helm-chart/flink-operator/templates/rbac.yaml x: 4 commits (all time) y: 336 lines of code apis/flinkcluster/v1beta1/flinkcluster_types.go x: 28 commits (all time) y: 354 lines of code controllers/flinkcluster/flinkcluster_converter.go x: 64 commits (all time) y: 1194 lines of code config/rbac/role.yaml x: 24 commits (all time) y: 229 lines of code controllers/flinkcluster/flinkcluster_observer.go x: 35 commits (all time) y: 646 lines of code internal/model/model.go x: 5 commits (all time) y: 21 lines of code apis/flinkcluster/v1beta1/flinkcluster_validate.go x: 18 commits (all time) y: 488 lines of code internal/batchscheduler/volcano/volcano.go x: 6 commits (all time) y: 222 lines of code internal/util/kube.go x: 4 commits (all time) y: 69 lines of code helm-chart/flink-operator/templates/flink-operator.yaml x: 33 commits (all time) y: 101 lines of code helm-chart/flink-operator/templates/webhook.yaml x: 1 commits (all time) y: 77 lines of code internal/flink/client.go x: 2 commits (all time) y: 223 lines of code controllers/flinkcluster/flinkcluster_submit_job_script.go x: 3 commits (all time) y: 134 lines of code config/manager/manager.yaml x: 8 commits (all time) y: 49 lines of code helm-chart/flink-operator/templates/serviceaccount.yaml x: 4 commits (all time) y: 13 lines of code internal/controllers/history/controller_history.go x: 1 commits (all time) y: 252 lines of code config/default/manager_auth_proxy_patch.yaml x: 8 commits (all time) y: 26 lines of code helm-chart/flink-job-cluster/templates/flinkjobcluster.yaml x: 4 commits (all time) y: 93 lines of code helm-chart/flink-operator/templates/_helpers.tpl x: 3 commits (all time) y: 52 lines of code config/webhook/kustomization.yaml x: 6 commits (all time) y: 5 lines of code config/default/manager_config_patch.yaml x: 3 commits (all time) y: 14 lines of code config/default/kustomization.yaml x: 9 commits (all time) y: 46 lines of code
9445.0
lines of code
  min: 2.0
  average: 318.86
  25th percentile: 12.0
  median: 23.0
  75th percentile: 88.5
  max: 9445.0
0 111.0
commits (all time)
min: 1.0 | average: 9.03 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 8.0 | max: 111.0

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

controllers/flinkcluster/flinkcluster_reconciler.go x: 7 contributors (all time) y: 764 lines of code controllers/flinkcluster/flinkcluster_updater.go x: 8 contributors (all time) y: 959 lines of code controllers/flinkcluster/flinkcluster_util.go x: 7 contributors (all time) y: 473 lines of code config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml x: 27 contributors (all time) y: 9445 lines of code main.go x: 8 contributors (all time) y: 87 lines of code helm-chart/flink-operator/Chart.yaml x: 8 contributors (all time) y: 8 lines of code helm-chart/flink-operator/values.yaml x: 11 contributors (all time) y: 30 lines of code apis/flinkcluster/v1beta1/zz_generated.deepcopy.go x: 7 contributors (all time) y: 1002 lines of code config/webhook/manifests.yaml x: 6 contributors (all time) y: 52 lines of code apis/flinkcluster/v1beta1/flinkcluster_default.go x: 5 contributors (all time) y: 131 lines of code apis/flinkcluster/v1beta1/flinkcluster_webhook.go x: 2 contributors (all time) y: 35 lines of code apis/flinkcluster/v1beta1/flinkcluster_types_util.go x: 3 contributors (all time) y: 125 lines of code config/default-sharded/kustomization.yaml x: 1 contributors (all time) y: 46 lines of code config/default-sharded/manager_auth_proxy_patch.yaml x: 1 contributors (all time) y: 26 lines of code controllers/flinkcluster/flinkcluster_controller.go x: 6 contributors (all time) y: 198 lines of code helm-chart/flink-operator/templates/flink-cluster-crd.yaml x: 9 contributors (all time) y: 8534 lines of code helm-chart/flink-operator/templates/rbac.yaml x: 3 contributors (all time) y: 336 lines of code apis/flinkcluster/v1beta1/flinkcluster_types.go x: 8 contributors (all time) y: 354 lines of code controllers/flinkcluster/flinkcluster_converter.go x: 12 contributors (all time) y: 1194 lines of code config/rbac/role.yaml x: 7 contributors (all time) y: 229 lines of code controllers/flinkcluster/flinkcluster_observer.go x: 8 contributors (all time) y: 646 lines of code internal/model/model.go x: 4 contributors (all time) y: 21 lines of code apis/flinkcluster/v1beta1/flinkcluster_validate.go x: 5 contributors (all time) y: 488 lines of code internal/batchscheduler/volcano/volcano.go x: 3 contributors (all time) y: 222 lines of code internal/util/kube.go x: 2 contributors (all time) y: 69 lines of code helm-chart/flink-operator/templates/flink-operator.yaml x: 15 contributors (all time) y: 101 lines of code helm-chart/flink-operator/templates/webhook.yaml x: 1 contributors (all time) y: 77 lines of code internal/flink/client.go x: 2 contributors (all time) y: 223 lines of code config/manager/manager.yaml x: 4 contributors (all time) y: 49 lines of code helm-chart/flink-operator/templates/serviceaccount.yaml x: 3 contributors (all time) y: 13 lines of code internal/controllers/history/controller_history.go x: 1 contributors (all time) y: 252 lines of code helm-chart/flink-job-cluster/templates/flinkjobcluster.yaml x: 3 contributors (all time) y: 93 lines of code config/default/kustomization.yaml x: 5 contributors (all time) y: 46 lines of code
9445.0
lines of code
  min: 2.0
  average: 318.86
  25th percentile: 12.0
  median: 23.0
  75th percentile: 88.5
  max: 9445.0
0 27.0
contributors (all time)
min: 1.0 | average: 3.34 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 27.0

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

controllers/flinkcluster/flinkcluster_reconciler.go x: 1 commits (30d) y: 764 lines of code controllers/flinkcluster/flinkcluster_updater.go x: 1 commits (30d) y: 959 lines of code controllers/flinkcluster/flinkcluster_util.go x: 1 commits (30d) y: 473 lines of code config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml x: 1 commits (30d) y: 9445 lines of code main.go x: 1 commits (30d) y: 87 lines of code
9445.0
lines of code
  min: 87.0
  average: 2345.6
  25th percentile: 280.0
  median: 764.0
  75th percentile: 5202.0
  max: 9445.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

controllers/flinkcluster/flinkcluster_reconciler.go x: 1 contributors (30d) y: 764 lines of code controllers/flinkcluster/flinkcluster_updater.go x: 1 contributors (30d) y: 959 lines of code controllers/flinkcluster/flinkcluster_util.go x: 1 contributors (30d) y: 473 lines of code config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml x: 1 contributors (30d) y: 9445 lines of code main.go x: 1 contributors (30d) y: 87 lines of code
9445.0
lines of code
  min: 87.0
  average: 2345.6
  25th percentile: 280.0
  median: 764.0
  75th percentile: 5202.0
  max: 9445.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

controllers/flinkcluster/flinkcluster_reconciler.go x: 1 commits (90d) y: 764 lines of code controllers/flinkcluster/flinkcluster_updater.go x: 1 commits (90d) y: 959 lines of code controllers/flinkcluster/flinkcluster_util.go x: 1 commits (90d) y: 473 lines of code config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml x: 3 commits (90d) y: 9445 lines of code main.go x: 1 commits (90d) y: 87 lines of code helm-chart/flink-operator/Chart.yaml x: 1 commits (90d) y: 8 lines of code apis/flinkcluster/v1beta1/zz_generated.deepcopy.go x: 1 commits (90d) y: 1002 lines of code config/webhook/manifests.yaml x: 1 commits (90d) y: 52 lines of code apis/flinkcluster/v1beta1/flinkcluster_default.go x: 1 commits (90d) y: 131 lines of code
9445.0
lines of code
  min: 8.0
  average: 1295.1
  25th percentile: 46.5
  median: 302.0
  75th percentile: 969.75
  max: 9445.0
0 3.0
commits (90d)
min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

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

controllers/flinkcluster/flinkcluster_reconciler.go x: 1 contributors (90d) y: 764 lines of code controllers/flinkcluster/flinkcluster_updater.go x: 1 contributors (90d) y: 959 lines of code controllers/flinkcluster/flinkcluster_util.go x: 1 contributors (90d) y: 473 lines of code config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml x: 1 contributors (90d) y: 9445 lines of code main.go x: 1 contributors (90d) y: 87 lines of code helm-chart/flink-operator/Chart.yaml x: 1 contributors (90d) y: 8 lines of code apis/flinkcluster/v1beta1/zz_generated.deepcopy.go x: 1 contributors (90d) y: 1002 lines of code config/webhook/manifests.yaml x: 1 contributors (90d) y: 52 lines of code apis/flinkcluster/v1beta1/flinkcluster_default.go x: 1 contributors (90d) y: 131 lines of code
9445.0
lines of code
  min: 8.0
  average: 1295.1
  25th percentile: 46.5
  median: 302.0
  75th percentile: 969.75
  max: 9445.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0