kubernetes / examples
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 244 files with 5,855 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (496 lines of code)
    • 240 very small files (5,359 lines of code)
0% | 0% | 0% | 8% | 91%
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
yaml0% | 0% | 0% | 9% | 90%
go0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
php0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
guestbook/all-in-one0% | 0% | 0% | 60% | 39%
staging/cockroachdb0% | 0% | 0% | 100% | 0%
staging/storage0% | 0% | 0% | 13% | 86%
cassandra/image0% | 0% | 0% | 72% | 27%
staging/volumes0% | 0% | 0% | 0% | 100%
staging/elasticsearch0% | 0% | 0% | 0% | 100%
staging/spark0% | 0% | 0% | 0% | 100%
mysql-wordpress-pd0% | 0% | 0% | 0% | 100%
staging/openshift-origin0% | 0% | 0% | 0% | 100%
staging/persistent-volume-provisioning0% | 0% | 0% | 0% | 100%
staging/podsecuritypolicy0% | 0% | 0% | 0% | 100%
volumes/storageos0% | 0% | 0% | 0% | 100%
guestbook0% | 0% | 0% | 0% | 100%
staging/sysdig-cloud0% | 0% | 0% | 0% | 100%
guestbook-go/public0% | 0% | 0% | 0% | 100%
staging/https-nginx0% | 0% | 0% | 0% | 100%
cassandra0% | 0% | 0% | 0% | 100%
staging/explorer0% | 0% | 0% | 0% | 100%
staging/nodesjs-mongodb0% | 0% | 0% | 0% | 100%
staging/cluster-dns0% | 0% | 0% | 0% | 100%
guestbook/php-redis0% | 0% | 0% | 0% | 100%
guestbook/legacy0% | 0% | 0% | 0% | 100%
staging/cpu-manager0% | 0% | 0% | 0% | 100%
cassandra/java0% | 0% | 0% | 0% | 100%
staging/newrelic0% | 0% | 0% | 0% | 100%
cassandra/go0% | 0% | 0% | 0% | 100%
guestbook-go0% | 0% | 0% | 0% | 100%
staging/newrelic-infrastructure0% | 0% | 0% | 0% | 100%
volumes/iscsi0% | 0% | 0% | 0% | 100%
volumes/rbd0% | 0% | 0% | 0% | 100%
staging/javaee0% | 0% | 0% | 0% | 100%
staging/javaweb-tomcat-sidecar0% | 0% | 0% | 0% | 100%
volumes/cephfs0% | 0% | 0% | 0% | 100%
mysql-cinder-pd0% | 0% | 0% | 0% | 100%
staging/sharing-clusters0% | 0% | 0% | 0% | 100%
staging/storm0% | 0% | 0% | 0% | 100%
volumes/glusterfs0% | 0% | 0% | 0% | 100%
staging/cloud-controller-manager0% | 0% | 0% | 0% | 100%
staging0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
guestbook-all-in-one.yaml
in guestbook/all-in-one
135 -
cockroachdb-statefulset.yaml
in staging/cockroachdb
133 -
vttablet-pod-template.yaml
in staging/storage/vitess
117 -
cassandra.yaml
in cassandra/image/files
111 -
cassandra-statefulset.yaml
in cassandra
97 -
explorer.go
in staging/explorer
90 2
mysql-deployment.yaml
in mysql-wordpress-pd
68 -
wordpress-deployment.yaml
in mysql-wordpress-pd
67 -
sysdig-daemonset.yaml
in staging/sysdig-cloud
64 -
main.go
in cassandra/go
63 3
main.go
in guestbook-go
63 6
sysdig-rc.yaml
in staging/sysdig-cloud
62 -
newrelic-daemonset.yaml
in staging/newrelic
61 -
es-rc.yaml
in staging/elasticsearch
58 -
pxc-node2.yaml
in staging/storage/mysql-galera
57 -
pxc-node1.yaml
in staging/storage/mysql-galera
57 -
pxc-node3.yaml
in staging/storage/mysql-galera
57 -
newrelic-infra-daemonset.yaml
in staging/newrelic-infrastructure
55 -
vtctld-controller-template.yaml
in staging/storage/vitess
54 -
nginx-app.yaml
in staging/https-nginx
54 -
style.css
in guestbook-go/public
53 -
es-client-rc.yaml
in staging/elasticsearch/production_cluster
51 -
minio-distributed-statefulset.yaml
in staging/storage/minio
50 -
etcd-controller.yaml
in staging/openshift-origin
50 -
simple-statefulset.yaml
in staging/volumes/vsphere
50 -
KubernetesSeedProvider.java
in cassandra/java/src/main/java/io/k8s/cassandra
49 3
etcd-controller-template.yaml
in staging/storage/vitess
49 -
policies.yaml
in staging/podsecuritypolicy/rbac
49 -
es-master-rc.yaml
in staging/elasticsearch/production_cluster
48 -
redis-replica.yaml
in guestbook/all-in-one
46 -
es-data-rc.yaml
in staging/elasticsearch/production_cluster
46 -
vtgate-controller-template.yaml
in staging/storage/vitess
44 -
bindings.yaml
in staging/podsecuritypolicy/rbac
44 -
frontend.yaml
in guestbook/all-in-one
43 -
flocker-pod-with-rc.yml
in staging/volumes/flocker
43 -
cassandra-seed.h
in cassandra/image/files
42 -
make_secret.go
in staging/https-nginx
41 2
make_secret.go
in staging/sharing-clusters
40 2
script.js
in guestbook-go/public
39 4
rc.yaml
in staging/storage/rethinkdb
38 -
storm-worker-controller.yaml
in staging/storm
37 -
openshift-controller.yaml
in staging/openshift-origin
37 -
etcd-discovery-controller.yaml
in staging/openshift-origin
37 -
minio-standalone-deployment.yaml
in staging/storage/minio
36 -
guestbook.php
in guestbook/php-redis
35 -
spark-worker-controller.yaml
in staging/spark/spark-gluster
35 -
spark-master-controller.yaml
in staging/spark/spark-gluster
34 -
redis-master.yaml
in staging/storage/redis
33 -
nfs-server-rc.yaml
in staging/volumes/nfs
32 -
index.html
in guestbook-go/public
31 -
Files With Most Units (Top 11)
File# lines# units
main.go
in guestbook-go
63 6
script.js
in guestbook-go/public
39 4
main.go
in cassandra/go
63 3
KubernetesSeedProvider.java
in cassandra/java/src/main/java/io/k8s/cassandra
49 3
client.py
in staging/cluster-dns/images/frontend
25 3
GoInterface.java
in cassandra/java/src/main/java/io/k8s/cassandra
28 2
controllers.js
in guestbook/php-redis
22 2
explorer.go
in staging/explorer
90 2
make_secret.go
in staging/https-nginx
41 2
make_secret.go
in staging/sharing-clusters
40 2
server.py
in staging/cluster-dns/images/backend
15 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
web-controller-demo.yaml
in staging/nodesjs-mongodb
23 - 1
pod-uses-existing-managed-disk.yaml
in staging/volumes/azure_disk/static-provisioning/managed-disk
23 - 1
azure-secret.yaml
in staging/volumes/azure_file/secret
8 - 1
index2.html
in staging/https-nginx
24 - 1