awslabs / aws-orbit-workbench
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 376 files with 60,183 lines of code.
    • 3 very long files (30,665 lines of code)
    • 9 long files (5,333 lines of code)
    • 28 medium size files (8,130 lines of codeclsfd_ftr_w_mp_ins)
    • 49 small files (6,754 lines of code)
    • 287 very small files (9,301 lines of code)
50% | 8% | 13% | 11% | 15%
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
yaml82% | 3% | 4% | 4% | 5%
py0% | 23% | 29% | 22% | 25%
tsx0% | 0% | 53% | 32% | 13%
html0% | 0% | 0% | 84% | 15%
tpl0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cli/aws_orbit69% | 6% | 9% | 6% | 7%
sdk/aws_orbit_sdk0% | 49% | 22% | 23% | 4%
ROOT0% | 65% | 24% | 0% | 10%
trial0% | 78% | 0% | 0% | 21%
jupyterlab_orbit/src0% | 0% | 48% | 29% | 22%
images/orbit-controller0% | 0% | 41% | 41% | 16%
plugins/sm-operator0% | 0% | 56% | 0% | 43%
plugins/redshift0% | 0% | 49% | 0% | 50%
jupyterlab_orbit/jupyterlab_orbit0% | 0% | 37% | 18% | 44%
images/jupyter-user0% | 0% | 0% | 44% | 55%
plugins/lustre0% | 0% | 0% | 25% | 74%
plugins/team_script_launcher0% | 0% | 0% | 33% | 66%
plugins/code_commit0% | 0% | 0% | 47% | 52%
plugins/emr_on_eks0% | 0% | 0% | 42% | 57%
plugins/ray0% | 0% | 0% | 31% | 68%
plugins/voila0% | 0% | 0% | 30% | 69%
kubeflow/manifests0% | 0% | 0% | 16% | 83%
plugins/overprovisioning0% | 0% | 0% | 0% | 100%
plugins/custom_cfn0% | 0% | 0% | 0% | 100%
plugins/hello_world0% | 0% | 0% | 0% | 100%
cli0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
sdk0% | 0% | 0% | 0% | 100%
jupyterlab_orbit0% | 0% | 0% | 0% | 100%
images/utility-data0% | 0% | 0% | 0% | 100%
jupyterlab_orbit/style0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
00b-cert-manager.yaml
in cli/aws_orbit/data/kubectl/orbit-system/commons/base
26878 -
10a-sm-operator.yaml
in cli/aws_orbit/data/kubectl/orbit-system
2238 -
00a-commons.yaml
in cli/aws_orbit/data/kubectl/orbit-system/commons/base
1549 -
__main__.py
in cli/aws_orbit
726 34
controller.py
in sdk/aws_orbit_sdk
693 51
kubectl.py
in cli/aws_orbit/remote_files
639 40
demo_pipeline.yaml
in root
586 -
trial_pipeline_cfn.yaml
in trial
579 -
context.py
in cli/aws_orbit/models
547 22
eksctl.py
in cli/aws_orbit/remote_files
535 15
env.py
in cli/aws_orbit/remote_files/cdk
522 17
database.py
in sdk/aws_orbit_sdk
506 22
deploy.py
in cli/aws_orbit/remote_files
435 16
iam.py
in cli/aws_orbit/remote_files/cdk/team_builders
422 3
01a-orbit-controller.yaml
in cli/aws_orbit/data/kubectl/orbit-system
413 -
containers.tsx
in jupyterlab_orbit/src
405 3
foundation.py
in cli/aws_orbit/remote_files/cdk
363 6
operator.yaml
in plugins/sm-operator/sm-operator/templates
361 -
imagereplication_operator.py
in images/orbit-controller/src/orbit_controller/operators
329 9
manifest.py
in cli/aws_orbit/models
326 9
emr.py
in sdk/aws_orbit_sdk
323 16
template.yaml
in cli/aws_orbit/data/toolkit
319 -
userspace_operator.py
in images/orbit-controller/src/orbit_controller/operators
311 11
orbitjob_operator.py
in images/orbit-controller/src/orbit_controller/operators
289 14
__init__.py
in cli/aws_orbit/plugins
279 29
changeset.py
in cli/aws_orbit/models
262 12
deploy.py
in cli/aws_orbit/commands
260 8
cleanup.py
in cli/aws_orbit
258 14
redshift.tsx
in jupyterlab_orbit/src/compute
254 3
storage.tsx
in jupyterlab_orbit/src
250 2
podsetting_utils.py
in images/orbit-controller/src/orbit_controller/utils
249 6
codebuild.py
in cli/aws_orbit/services
249 4
orbit_redshift_stack.py
in plugins/redshift/redshift
235 5
01b-image-replicator.yaml
in cli/aws_orbit/data/kubectl/orbit-system
235 -
catalog.tsx
in jupyterlab_orbit/src
223 1
helm.py
in cli/aws_orbit/remote_files
223 20
containers.py
in jupyterlab_orbit/jupyterlab_orbit/handlers
219 5
deployment-role.yaml
in root
218 -
database.py
in sdk/aws_orbit_sdk/magics
212 15
categoryViews.tsx
in jupyterlab_orbit/src/common
208 1
glue_catalog.py
in sdk/aws_orbit_sdk
198 7
k8s_manage.py
in cli/aws_orbit/remote_files/cdk/lambda_sources/cognito_post_authentication
198 8
team.py
in cli/aws_orbit/remote_files/cdk
197 2
notebook_runner.py
in images/jupyter-user/python-utils
182 7
home.py
in images/orbit-controller/src/orbit_controller
181 12
02-cluster-autoscaler-autodiscover.yaml
in cli/aws_orbit/data/kubectl/kube-system
175 -
teams.py
in cli/aws_orbit/remote_files
173 8
messages.py
in cli/aws_orbit
172 14
containersCentral.tsx
in jupyterlab_orbit/src/containers
166 -
teamspace_operator.py
in images/orbit-controller/src/orbit_controller/operators
165 9
Files With Most Units (Top 20)
File# lines# units
controller.py
in sdk/aws_orbit_sdk
693 51
kubectl.py
in cli/aws_orbit/remote_files
639 40
__main__.py
in cli/aws_orbit
726 34
__init__.py
in cli/aws_orbit/plugins
279 29
database.py
in sdk/aws_orbit_sdk
506 22
context.py
in cli/aws_orbit/models
547 22
helm.py
in cli/aws_orbit/remote_files
223 20
utils.py
in cli/aws_orbit
124 19
env.py
in cli/aws_orbit/remote_files/cdk
522 17
emr.py
in sdk/aws_orbit_sdk
323 16
deploy.py
in cli/aws_orbit/remote_files
435 16
database.py
in sdk/aws_orbit_sdk/magics
212 15
eksctl.py
in cli/aws_orbit/remote_files
535 15
orbitjob_operator.py
in images/orbit-controller/src/orbit_controller/operators
289 14
cleanup.py
in cli/aws_orbit
258 14
messages.py
in cli/aws_orbit
172 14
ssm.py
in cli/aws_orbit/services
85 13
home.py
in images/orbit-controller/src/orbit_controller
181 12
changeset.py
in cli/aws_orbit/models
262 12
userspace_operator.py
in images/orbit-controller/src/orbit_controller/operators
311 11
Files With Long Lines (Top 20)

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

File# lines# units# long lines
00b-cert-manager.yaml
in cli/aws_orbit/data/kubectl/orbit-system/commons/base
26878 - 244
00a-commons.yaml
in cli/aws_orbit/data/kubectl/orbit-system/commons/base
1549 - 147
10a-sm-operator.yaml
in cli/aws_orbit/data/kubectl/orbit-system
2238 - 28
download_demo_data.py
in scripts
83 3 6
links-configmap.yaml
in kubeflow/manifests/stacks/aws/application/centraldashboard
101 - 4
context.py
in cli/aws_orbit/models
547 22 4
iam.py
in cli/aws_orbit/remote_files/cdk/team_builders
422 3 4
orbit_redshift_stack.py
in plugins/redshift/redshift
235 5 3
template.yaml
in cli/aws_orbit/data/toolkit
319 - 3
ray-cluster.yaml
in plugins/ray/ray/templates
132 - 2
02-cluster-autoscaler-autodiscover.yaml
in cli/aws_orbit/data/kubectl/kube-system
175 - 2
index.html
in images/orbit-controller/src/orbit_controller/templates
150 - 1
add_user.py
in trial
83 7 1
buildspec.yaml
in trial
74 - 1
cli-buildspec.yaml
in root
90 - 1
__init__.py
in plugins/sm-operator/sm-operator
78 2 1
pod-setting-common.yaml
in cli/aws_orbit/data/charts/team/team-space/templates
108 - 1
tpl
_helpers.tpl
in cli/aws_orbit/data/charts/team/team-space/templates
60 - 1
eksctl.py
in cli/aws_orbit/remote_files
535 15 1
deployment-role.yaml
in root
218 - 1