awslabs / kubeflow-manifests
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 876 files with 99,885 lines of code.
    • 11 very long files (74,677 lines of code)
    • 1 long files (955 lines of code)
    • 13 medium size files (3,789 lines of codeclsfd_ftr_w_mp_ins)
    • 20 small files (2,763 lines of code)
    • 831 very small files (17,701 lines of code)
74% | <1% | 3% | 2% | 17%
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
yaml75% | <1% | 3% | 2% | 17%
py0% | 0% | 81% | 0% | 18%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
common/cert-manager99% | 0% | 0% | 0% | <1%
apps/kfserving92% | 0% | 0% | 3% | 3%
contrib/flink91% | 0% | 0% | 3% | 4%
apps/xgboost-job97% | 0% | 0% | 0% | 2%
common/istio-1-987% | 0% | 4% | 2% | 4%
common/knative79% | 0% | 16% | 0% | 4%
contrib/spark95% | 0% | 0% | 0% | 4%
apps/jupyter74% | 0% | 0% | 3% | 22%
contrib/feast0% | 90% | 0% | 0% | 9%
contrib/tektoncd0% | 0% | 29% | 23% | 47%
common/kubeflow-roles0% | 0% | 98% | 0% | 1%
distributions/aws0% | 0% | 19% | 0% | 80%
apps/kfp-tekton0% | 0% | 7% | 9% | 83%
apps/pipeline0% | 0% | 8% | 7% | 84%
hack0% | 0% | 58% | 0% | 41%
contrib/application0% | 0% | 53% | 0% | 46%
apps/profiles0% | 0% | 33% | 0% | 66%
apps/mpi-job0% | 0% | 0% | 72% | 27%
contrib/seldon0% | 0% | 0% | 51% | 48%
apps/centraldashboard0% | 0% | 0% | 35% | 64%
apps/katib0% | 0% | 0% | 0% | 100%
apps/tensorboard0% | 0% | 0% | 0% | 100%
contrib/dex-auth0% | 0% | 0% | 0% | 100%
common/dex0% | 0% | 0% | 0% | 100%
apps/mxnet-job0% | 0% | 0% | 0% | 100%
contrib/modeldb0% | 0% | 0% | 0% | 100%
apps/admission-webhook0% | 0% | 0% | 0% | 100%
apps/pytorch-job0% | 0% | 0% | 0% | 100%
apps/tf-training0% | 0% | 0% | 0% | 100%
apps/volumes-web-app0% | 0% | 0% | 0% | 100%
apps/kubebench0% | 0% | 0% | 0% | 100%
contrib/basic-auth0% | 0% | 0% | 0% | 100%
common/oidc-authservice0% | 0% | 0% | 0% | 100%
contrib/spartakus0% | 0% | 0% | 0% | 100%
contrib/metacontroller0% | 0% | 0% | 0% | 100%
contrib/experimental0% | 0% | 0% | 0% | 100%
common/istio0% | 0% | 0% | 0% | 100%
contrib/gatekeeper0% | 0% | 0% | 0% | 100%
common/user-namespace0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
common/kubeflow-namespace0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
cert-manager.yaml
in common/cert-manager/cert-manager/base
26878 -
serving.kubeflow.org_inferenceservices.yaml
in apps/kfserving/upstream/crd
15444 -
crd.yaml
in contrib/flink/flink-operator/base
7066 -
crd.yaml
in apps/xgboost-job/upstream/base
6280 -
eventing-core.yaml
in common/knative/knative-eventing/base/upstream
3764 -
crd.yaml
in common/istio-1-9/istio-crds/base
3499 -
kubeflow.org_notebooks.yaml
in apps/jupyter/notebook-controller/upstream/crd/bases
2666 -
scheduledsparkapplications.sparkoperator.k8s.io-crd.yaml
in contrib/spark/spark-operator/base
2546 -
sparkapplications.sparkoperator.k8s.io-crd.yaml
in contrib/spark/spark-operator/base
2528 -
install.yaml
in common/istio-1-9/istio-install/base
2501 -
serving-core.yaml
in common/knative/knative-serving/base/upstream
1505 -
resources.yaml
in contrib/feast/feast/base
955 -
mt-channel-broker.yaml
in common/knative/knative-eventing/base/upstream
441 -
in-memory-channel.yaml
in common/knative/knative-eventing/base/upstream
425 -
crds.yaml
in contrib/tektoncd/tektoncd-install/base
340 -
cluster-local-gateway.yaml
in common/istio-1-9/cluster-local-gateway/base
338 -
cluster-roles.yaml
in common/kubeflow-roles/base
324 -
configmap.yaml
in distributions/aws/fluentd-cloud-watch/base
287 -
sync.py
in apps/pipeline/upstream/base/installs/multi-user/pipelines-profile-controller
253 2
sync.py
in apps/kfp-tekton/upstream/base/installs/multi-user/pipelines-profile-controller
253 2
create_kptfile.py
in hack
251 9
crd.yaml
in contrib/application/application-crds/base
233 -
net-istio.yaml
in common/knative/knative-serving/base/upstream
227 -
cluster-role.yaml
in contrib/tektoncd/tektoncd-dashboard/base
213 -
kubeflow.org_profiles.yaml
in apps/profiles/upstream/crd/bases
204 -
profile.yaml
in common/istio-1-9
200 -
deployment.yaml
in contrib/tektoncd/tektoncd-install/base
198 -
role.yaml
in apps/kfserving/upstream/rbac
187 -
inferenceservice.yaml
in apps/kfserving/upstream/configmap
179 -
cluster-role.yaml
in contrib/flink/flink-operator/base
174 -
cluster-role.yaml
in apps/mpi-job/upstream/base
156 -
crd.yaml
in apps/mpi-job/upstream/base
150 -
manifests.yaml
in apps/kfserving/upstream/webhook
137 -
values.yaml
in contrib/seldon
136 -
configmap.yaml
in apps/centraldashboard/upstream/base
134 -
kustomization.yaml
in contrib/tektoncd/tektoncd-install/base
133 -
configmap.yaml
in contrib/flink/flink-operator/base
115 -
serving.kubeflow.org_trainedmodels.yaml
in apps/kfserving/upstream/crd
113 -
ml-pipeline-apiserver-deployment.yaml
in apps/pipeline/upstream/base/pipeline
112 -
cluster-role.yaml
in contrib/tektoncd/tektoncd-install/base
110 -
cluster-role.yaml
in apps/jupyter/jupyter-web-app/upstream/base
109 -
ml-pipeline-apiserver-deployment.yaml
in apps/kfp-tekton/upstream/base/pipeline
109 -
view-edit-cluster-roles.yaml
in apps/pipeline/upstream/base/installs/multi-user
104 -
view-edit-cluster-roles.yaml
in apps/kfp-tekton/upstream/base/installs/multi-user
104 -
apiserver-deployment.yaml
in apps/kfp-tekton/upstream/base/pipeline
103 -
istio-authorization-config.yaml
in apps/pipeline/upstream/base/installs/multi-user
99 -
istio-authorization-config.yaml
in apps/kfp-tekton/upstream/base/installs/multi-user
99 -
config-map.yaml
in contrib/tektoncd/tektoncd-install/base
98 -
cluster-role.yaml
in apps/volumes-web-app/upstream/base
97 -
cluster-role.yaml
in apps/tensorboard/tensorboards-web-app/upstream/base
95 -
Files With Most Units (Top 6)
File# lines# units
create_kptfile.py
in hack
251 9
sync.py
in apps/pipeline/upstream/base/installs/multi-user/pipelines-profile-controller
253 2
sync.py
in apps/kfp-tekton/upstream/base/installs/multi-user/pipelines-profile-controller
253 2
generate_legacy_kustomizations.py
in hack
89 2
build_kfdef_specs.py
in hack
41 1
generate_gcp_kpt_data.py
in hack
47 1
Files With Long Lines (Top 20)

There are 28 files with lines longer than 120 characters. In total, there are 1426 long lines.

File# lines# units# long lines
kubeflow.org_notebooks.yaml
in apps/jupyter/notebook-controller/upstream/crd/bases
2666 - 433
cert-manager.yaml
in common/cert-manager/cert-manager/base
26878 - 244
eventing-core.yaml
in common/knative/knative-eventing/base/upstream
3764 - 235
crd.yaml
in contrib/flink/flink-operator/base
7066 - 154
serving.kubeflow.org_inferenceservices.yaml
in apps/kfserving/upstream/crd
15444 - 118
crd.yaml
in apps/xgboost-job/upstream/base
6280 - 103
install.yaml
in common/istio-1-9/istio-install/base
2501 - 52
kubeflow.org_profiles.yaml
in apps/profiles/upstream/crd/bases
204 - 25
protocol.yaml
in apps/kfserving/upstream/crd/patches
60 - 20
serving-core.yaml
in common/knative/knative-serving/base/upstream
1505 - 9
crd.yaml
in common/istio-1-9/istio-crds/base
3499 - 5
cluster-role.yaml
in contrib/tektoncd/tektoncd-install/base
110 - 3
mt-channel-broker.yaml
in common/knative/knative-eventing/base/upstream
441 - 3
in-memory-channel.yaml
in common/knative/knative-eventing/base/upstream
425 - 3
resources.yaml
in contrib/feast/feast/base
955 - 2
old_crd.yaml
in apps/jupyter/notebook-controller/upstream/crd/patches
62 - 2
tensorboard.kubeflow.org_tensorboards.yaml
in apps/tensorboard/tensorboard-controller/upstream/crd/bases
86 - 2
create_kptfile.py
in hack
251 9 2
net-istio.yaml
in common/knative/knative-serving/base/upstream
227 - 2
deployment.yaml
in contrib/tektoncd/tektoncd-dashboard/base
56 - 1