mysql / mysql-ndb-operator
File Size

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

Intro
Learn more...
File Size Overall
35% | 0% | 18% | 26% | 19%
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
yaml90% | 0% | 0% | 2% | 6%
go0% | 0% | 30% | 42% | 27%
tpl0% | 0% | 0% | 0% | 100%
dockerignore0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deploy90% | 0% | 0% | 2% | 7%
pkg0% | 0% | 32% | 41% | 25%
cmd0% | 0% | 0% | 68% | 31%
config0% | 0% | 0% | 0% | 100%
hack0% | 0% | 0% | 0% | 100%
docker0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
mysql.oracle.com_ndbclusters.yaml
in deploy/charts/ndb-operator/crds
3768 -
mgmapi.go
in pkg/mgmapi
463 29
sync_context.go
in pkg/controllers
390 19
controller.go
in pkg/controllers
336 7
mysqld_statefulset.go
in pkg/resources/statefulset
265 9
zz_generated.deepcopy.go
in pkg/apis/ndbcontroller/v1
256 20
ndbmtd_statefulset.go
in pkg/resources/statefulset
246 8
main.go
in cmd/ndb-pod-initializer
189 10
ndb_statefulset_interface.go
in pkg/resources/statefulset
187 12
types.go
in pkg/apis/ndbcontroller/v1
184 16
config_generators.go
in pkg/ndbconfig
179 2
validation.go
in pkg/apis/ndbcontroller/v1
176 5
server.go
in pkg/webhook
159 6
config_reader.go
in pkg/mgmapi
156 7
155 4
statefulset_control.go
in pkg/controllers
154 9
154 5
config_parser.go
in pkg/ndbconfig/configparser
147 10
mgmd_statefulset.go
in pkg/resources/statefulset
142 7
clusterstatus.go
in pkg/mgmapi
133 10
config_summary.go
in pkg/ndbconfig
132 5
configmap.go
in pkg/resources
115 5
common_utils.go
in pkg/controllers
112 10
webhookconfig_controller.go
in pkg/controllers
111 4
cluster-roles.yaml
in deploy/charts/ndb-operator/templates
109 -
secret_controller.go
in pkg/controllers
102 8
configmap_controller.go
in pkg/controllers
100 5
service_controller.go
in pkg/controllers
94 5
deployments.yaml
in deploy/charts/ndb-operator/templates
93 -
87 3
root_user.go
in pkg/mysqlclient
86 4
ndbcluster_status.go
in pkg/controllers
77 2
77 1
main.go
in cmd/ndb-operator
76 2
69 7
68 4
68 3
podspec_util.go
in pkg/resources/statefulset
59 2
k8s_utils.go
in pkg/helpers
58 4
secret.go
in pkg/resources
56 6
k8s_config.go
in pkg/webhook
54 4
48 2
rolebindings.yaml
in deploy/charts/ndb-operator/templates
48 -
service.go
in pkg/resources/statefulset
47 1
fake_mgm_server.go
in pkg/mgmapi
47 3
responses.go
in pkg/webhook
45 6
connect.go
in pkg/mysqlclient
44 2
flags.go
in config
39 2
Chart.yaml
in deploy/charts/ndb-operator
38 -
constants.go
in pkg/constants
38 -
Files With Most Units (Top 50)
File# lines# units
mgmapi.go
in pkg/mgmapi
463 29
zz_generated.deepcopy.go
in pkg/apis/ndbcontroller/v1
256 20
sync_context.go
in pkg/controllers
390 19
types.go
in pkg/apis/ndbcontroller/v1
184 16
ndb_statefulset_interface.go
in pkg/resources/statefulset
187 12
config_parser.go
in pkg/ndbconfig/configparser
147 10
common_utils.go
in pkg/controllers
112 10
clusterstatus.go
in pkg/mgmapi
133 10
main.go
in cmd/ndb-pod-initializer
189 10
mysqld_statefulset.go
in pkg/resources/statefulset
265 9
statefulset_control.go
in pkg/controllers
154 9
ndbmtd_statefulset.go
in pkg/resources/statefulset
246 8
secret_controller.go
in pkg/controllers
102 8
mgmd_statefulset.go
in pkg/resources/statefulset
142 7
sync_result.go
in pkg/controllers
26 7
controller.go
in pkg/controllers
336 7
69 7
config_reader.go
in pkg/mgmapi
156 7
secret.go
in pkg/resources
56 6
server.go
in pkg/webhook
159 6
responses.go
in pkg/webhook
45 6
config_summary.go
in pkg/ndbconfig
132 5
validation.go
in pkg/apis/ndbcontroller/v1
176 5
configmap.go
in pkg/resources
115 5
service_controller.go
in pkg/controllers
94 5
configmap_controller.go
in pkg/controllers
100 5
154 5
json_patch_helper.go
in pkg/webhook
33 5
root_user.go
in pkg/mysqlclient
86 4
68 4
webhookconfig_controller.go
in pkg/controllers
111 4
155 4
k8s_utils.go
in pkg/helpers
58 4
k8s_config.go
in pkg/webhook
54 4
register.go
in pkg/apis/ndbcontroller/v1
26 3
68 3
87 3
fake_mgm_server.go
in pkg/mgmapi
47 3
48 2
build.go
in config/debug
18 2
flags.go
in config
39 2
common.go
in pkg/ndbconfig
8 2
config_generators.go
in pkg/ndbconfig
179 2
podspec_util.go
in pkg/resources/statefulset
59 2
connect.go
in pkg/mysqlclient
44 2
ndbcluster_status.go
in pkg/controllers
77 2
main.go
in cmd/ndb-operator
76 2
version.go
in config
14 1
persistentVolumeClaim.go
in pkg/resources/statefulset
21 1
service.go
in pkg/resources/statefulset
47 1
Files With Long Lines (Top 17)

There are 17 files with lines longer than 120 characters. In total, there are 55 long lines.

File# lines# units# long lines
mysql.oracle.com_ndbclusters.yaml
in deploy/charts/ndb-operator/crds
3768 - 30
sync_context.go
in pkg/controllers
390 19 4
68 4 3
154 5 3
root_user.go
in pkg/mysqlclient
86 4 2
controller.go
in pkg/controllers
336 7 2
validation.go
in pkg/apis/ndbcontroller/v1
176 5 1
ndb_statefulset_interface.go
in pkg/resources/statefulset
187 12 1
persistentVolumeClaim.go
in pkg/resources/statefulset
21 1 1
ndbmtd_statefulset.go
in pkg/resources/statefulset
246 8 1
mysqld_statefulset.go
in pkg/resources/statefulset
265 9 1
mgmd_statefulset.go
in pkg/resources/statefulset
142 7 1
service_controller.go
in pkg/controllers
94 5 1
statefulset_control.go
in pkg/controllers
154 9 1
ndbcluster_status.go
in pkg/controllers
77 2 1
secret_controller.go
in pkg/controllers
102 8 1
155 4 1
Correlations

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

deploy/charts/ndb-operator/Chart.yaml x: 44 commits (all time) y: 38 lines of code deploy/charts/ndb-operator/crds/mysql.oracle.com_ndbclusters.yaml x: 63 commits (all time) y: 3768 lines of code deploy/charts/ndb-operator/values.yaml x: 34 commits (all time) y: 5 lines of code pkg/apis/ndbcontroller/v1/types.go x: 38 commits (all time) y: 184 lines of code cmd/ndb-operator/main.go x: 29 commits (all time) y: 76 lines of code config/flags.go x: 9 commits (all time) y: 39 lines of code deploy/charts/ndb-operator/templates/cluster-roles.yaml x: 23 commits (all time) y: 109 lines of code deploy/charts/ndb-operator/templates/deployments.yaml x: 11 commits (all time) y: 93 lines of code deploy/charts/ndb-operator/templates/rolebindings.yaml x: 5 commits (all time) y: 48 lines of code pkg/controllers/controller.go x: 124 commits (all time) y: 336 lines of code pkg/controllers/service_controller.go x: 7 commits (all time) y: 94 lines of code pkg/controllers/serviceaccount_controller.go x: 2 commits (all time) y: 68 lines of code pkg/controllers/statefulset_control.go x: 15 commits (all time) y: 154 lines of code pkg/controllers/sync_context.go x: 51 commits (all time) y: 390 lines of code pkg/resources/serviceaccount.go x: 2 commits (all time) y: 21 lines of code pkg/resources/statefulset/ndb_statefulset_interface.go x: 14 commits (all time) y: 187 lines of code pkg/resources/statefulset/persistentVolumeClaim.go x: 5 commits (all time) y: 21 lines of code pkg/resources/statefulset/mgmd_statefulset.go x: 12 commits (all time) y: 142 lines of code pkg/ndbconfig/config_summary.go x: 20 commits (all time) y: 132 lines of code pkg/constants/constants.go x: 30 commits (all time) y: 38 lines of code pkg/controllers/common_utils.go x: 12 commits (all time) y: 112 lines of code pkg/ndbconfig/common.go x: 8 commits (all time) y: 8 lines of code pkg/resources/configmap.go x: 41 commits (all time) y: 115 lines of code pkg/resources/statefulset/ndbmtd_statefulset.go x: 12 commits (all time) y: 246 lines of code pkg/controllers/ndbmtd_statefulset_controller.go x: 3 commits (all time) y: 154 lines of code pkg/controllers/secret_controller.go x: 10 commits (all time) y: 102 lines of code pkg/ndbconfig/config_generators.go x: 24 commits (all time) y: 179 lines of code pkg/webhook/server.go x: 12 commits (all time) y: 159 lines of code cmd/ndb-operator-webhook/main.go x: 5 commits (all time) y: 11 lines of code hack/prettify-yaml.go x: 4 commits (all time) y: 48 lines of code pkg/controllers/configmap_controller.go x: 24 commits (all time) y: 100 lines of code pkg/controllers/events.go x: 3 commits (all time) y: 37 lines of code pkg/controllers/mysqld_statefulset_controller.go x: 9 commits (all time) y: 155 lines of code pkg/controllers/ndbcluster_status.go x: 7 commits (all time) y: 77 lines of code pkg/controllers/poddisruptionbudget_controller.go x: 6 commits (all time) y: 68 lines of code pkg/controllers/webhookconfig_controller.go x: 6 commits (all time) y: 111 lines of code pkg/mgmapi/mgmapi.go x: 16 commits (all time) y: 463 lines of code pkg/mysqlclient/connect.go x: 5 commits (all time) y: 44 lines of code pkg/mysqlclient/root_user.go x: 5 commits (all time) y: 86 lines of code pkg/resources/podDisruptionBudget.go x: 14 commits (all time) y: 32 lines of code pkg/resources/statefulset/mysqld_statefulset.go x: 15 commits (all time) y: 265 lines of code pkg/webhook/admission_controller_interface.go x: 4 commits (all time) y: 87 lines of code pkg/webhook/responses.go x: 7 commits (all time) y: 45 lines of code pkg/webhook/ndb_admission_controller.go x: 8 commits (all time) y: 69 lines of code pkg/apis/ndbcontroller/v1/validation.go x: 2 commits (all time) y: 176 lines of code pkg/mgmapi/clusterstatus.go x: 7 commits (all time) y: 133 lines of code deploy/charts/ndb-operator/templates/mutating-webhook-configs.yaml x: 2 commits (all time) y: 33 lines of code deploy/charts/ndb-operator/templates/validating-webhook-configs.yaml x: 7 commits (all time) y: 33 lines of code pkg/apis/ndbcontroller/v1/doc.go x: 1 commits (all time) y: 1 lines of code pkg/apis/ndbcontroller/v1/register.go x: 1 commits (all time) y: 26 lines of code pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go x: 1 commits (all time) y: 256 lines of code pkg/helpers/testutils/ndbtestcreator.go x: 13 commits (all time) y: 30 lines of code pkg/resources/secret.go x: 9 commits (all time) y: 56 lines of code pkg/resources/statefulset/service.go x: 2 commits (all time) y: 47 lines of code cmd/ndb-pod-initializer/main.go x: 7 commits (all time) y: 189 lines of code pkg/signals/signal.go x: 4 commits (all time) y: 20 lines of code pkg/webhook/json_patch_helper.go x: 1 commits (all time) y: 33 lines of code hack/tools.go x: 12 commits (all time) y: 8 lines of code pkg/mgmapi/mgmapi_config_parameters.go x: 6 commits (all time) y: 30 lines of code pkg/ndbconfig/configparser/config_parser.go x: 4 commits (all time) y: 147 lines of code deploy/charts/ndb-operator/templates/service-accounts.yaml x: 3 commits (all time) y: 11 lines of code pkg/mgmapi/fake_mgm_server.go x: 1 commits (all time) y: 47 lines of code config/debug/debug.go x: 2 commits (all time) y: 2 lines of code pkg/signals/signal_posix.go x: 4 commits (all time) y: 6 lines of code pkg/mgmapi/config_reader.go x: 4 commits (all time) y: 156 lines of code
3768.0
lines of code
  min: 1.0
  average: 129.12
  25th percentile: 21.0
  median: 51.0
  75th percentile: 132.25
  max: 3768.0
0 124.0
commits (all time)
min: 1.0 | average: 11.46 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 12.0 | max: 124.0

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

deploy/charts/ndb-operator/Chart.yaml x: 4 contributors (all time) y: 38 lines of code deploy/charts/ndb-operator/crds/mysql.oracle.com_ndbclusters.yaml x: 5 contributors (all time) y: 3768 lines of code deploy/charts/ndb-operator/values.yaml x: 4 contributors (all time) y: 5 lines of code pkg/apis/ndbcontroller/v1/types.go x: 4 contributors (all time) y: 184 lines of code cmd/ndb-operator/main.go x: 6 contributors (all time) y: 76 lines of code deploy/charts/ndb-operator/templates/cluster-roles.yaml x: 3 contributors (all time) y: 109 lines of code deploy/charts/ndb-operator/templates/deployments.yaml x: 4 contributors (all time) y: 93 lines of code deploy/charts/ndb-operator/templates/rolebindings.yaml x: 3 contributors (all time) y: 48 lines of code pkg/controllers/controller.go x: 5 contributors (all time) y: 336 lines of code pkg/controllers/service_controller.go x: 2 contributors (all time) y: 94 lines of code pkg/controllers/serviceaccount_controller.go x: 1 contributors (all time) y: 68 lines of code pkg/controllers/statefulset_control.go x: 2 contributors (all time) y: 154 lines of code pkg/controllers/sync_context.go x: 2 contributors (all time) y: 390 lines of code pkg/resources/serviceaccount.go x: 1 contributors (all time) y: 21 lines of code pkg/resources/statefulset/ndb_statefulset_interface.go x: 2 contributors (all time) y: 187 lines of code pkg/resources/statefulset/persistentVolumeClaim.go x: 2 contributors (all time) y: 21 lines of code pkg/resources/statefulset/podspec_util.go x: 2 contributors (all time) y: 59 lines of code pkg/resources/statefulset/mgmd_statefulset.go x: 2 contributors (all time) y: 142 lines of code pkg/ndbconfig/config_summary.go x: 2 contributors (all time) y: 132 lines of code pkg/controllers/common_utils.go x: 2 contributors (all time) y: 112 lines of code pkg/ndbconfig/common.go x: 2 contributors (all time) y: 8 lines of code pkg/resources/configmap.go x: 4 contributors (all time) y: 115 lines of code pkg/resources/statefulset/ndbmtd_statefulset.go x: 2 contributors (all time) y: 246 lines of code pkg/webhook/server.go x: 3 contributors (all time) y: 159 lines of code pkg/controllers/events.go x: 2 contributors (all time) y: 37 lines of code pkg/controllers/ndbcluster_status.go x: 2 contributors (all time) y: 77 lines of code pkg/controllers/poddisruptionbudget_controller.go x: 2 contributors (all time) y: 68 lines of code pkg/mgmapi/mgmapi.go x: 2 contributors (all time) y: 463 lines of code pkg/resources/statefulset/mysqld_statefulset.go x: 2 contributors (all time) y: 265 lines of code pkg/apis/ndbcontroller/v1/validation.go x: 1 contributors (all time) y: 176 lines of code pkg/mgmapi/clusterstatus.go x: 1 contributors (all time) y: 133 lines of code deploy/charts/ndb-operator/templates/mutating-webhook-configs.yaml x: 1 contributors (all time) y: 33 lines of code pkg/apis/ndbcontroller/v1/doc.go x: 1 contributors (all time) y: 1 lines of code pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go x: 1 contributors (all time) y: 256 lines of code pkg/resources/statefulset/service.go x: 1 contributors (all time) y: 47 lines of code hack/tools.go x: 3 contributors (all time) y: 8 lines of code pkg/ndbconfig/configparser/config_parser.go x: 1 contributors (all time) y: 147 lines of code pkg/mgmapi/config_reader.go x: 1 contributors (all time) y: 156 lines of code
3768.0
lines of code
  min: 1.0
  average: 129.12
  25th percentile: 21.0
  median: 51.0
  75th percentile: 132.25
  max: 3768.0
0 6.0
contributors (all time)
min: 1.0 | average: 2.15 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 6.0

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

No data for "commits (30d)" vs. "lines of code".

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

No data for "contributors (30d)" vs. "lines of code".


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

deploy/charts/ndb-operator/Chart.yaml x: 1 commits (90d) y: 38 lines of code deploy/charts/ndb-operator/crds/mysql.oracle.com_ndbclusters.yaml x: 2 commits (90d) y: 3768 lines of code deploy/charts/ndb-operator/values.yaml x: 2 commits (90d) y: 5 lines of code pkg/apis/ndbcontroller/v1/types.go x: 1 commits (90d) y: 184 lines of code cmd/ndb-operator/main.go x: 1 commits (90d) y: 76 lines of code deploy/charts/ndb-operator/templates/cluster-roles.yaml x: 1 commits (90d) y: 109 lines of code deploy/charts/ndb-operator/templates/deployments.yaml x: 1 commits (90d) y: 93 lines of code deploy/charts/ndb-operator/templates/rolebindings.yaml x: 1 commits (90d) y: 48 lines of code
3768.0
lines of code
  min: 5.0
  average: 441.8
  25th percentile: 38.75
  median: 67.0
  75th percentile: 127.75
  max: 3768.0
0 2.0
commits (90d)
min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.25 | max: 2.0

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

deploy/charts/ndb-operator/Chart.yaml x: 1 contributors (90d) y: 38 lines of code deploy/charts/ndb-operator/crds/mysql.oracle.com_ndbclusters.yaml x: 1 contributors (90d) y: 3768 lines of code deploy/charts/ndb-operator/values.yaml x: 1 contributors (90d) y: 5 lines of code pkg/apis/ndbcontroller/v1/types.go x: 1 contributors (90d) y: 184 lines of code cmd/ndb-operator/main.go x: 1 contributors (90d) y: 76 lines of code deploy/charts/ndb-operator/templates/cluster-roles.yaml x: 1 contributors (90d) y: 109 lines of code deploy/charts/ndb-operator/templates/deployments.yaml x: 1 contributors (90d) y: 93 lines of code deploy/charts/ndb-operator/templates/rolebindings.yaml x: 1 contributors (90d) y: 48 lines of code
3768.0
lines of code
  min: 5.0
  average: 441.8
  25th percentile: 38.75
  median: 67.0
  75th percentile: 127.75
  max: 3768.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