aws-samples / amazon-sagemaker-cdk-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 32 files with 1,612 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (497 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (312 lines of code)
    • 28 very small files (803 lines of code)
0% | 0% | 30% | 19% | 49%
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% | 91% | 0% | 8%
py0% | 0% | 0% | 21% | 78%
js0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
notebook-teams0% | 0% | 92% | 0% | 7%
dask-fargate/cdk.out0% | 0% | 0% | 72% | 27%
stepfn-batch0% | 0% | 0% | 66% | 33%
auto-model-deploy/lambda0% | 0% | 0% | 91% | 8%
cron-train0% | 0% | 0% | 0% | 100%
dask-fargate/dask_fargate0% | 0% | 0% | 0% | 100%
auto-model-deploy0% | 0% | 0% | 0% | 100%
notebook-teams/multinotebookefs0% | 0% | 0% | 0% | 100%
cron-inference0% | 0% | 0% | 0% | 100%
dask-fargate/binderhub0% | 0% | 0% | 0% | 100%
kinesis-inference0% | 0% | 0% | 0% | 100%
api-lambda-sm0% | 0% | 0% | 0% | 100%
dask-fargate0% | 0% | 0% | 0% | 100%
dask-fargate/dockerstuff0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
out.yaml
in notebook-teams
497 -
handler.js
in dask-fargate/cdk.out/asset.a65ac4beaa2b5a7b20eebf3b7c5c1c886b71428afa377e02dab0d10ab3be57e7
108 3
deploy-model.py
in auto-model-deploy/lambda
102 3
app.py
in stepfn-batch
102 1
dask_fargate_stack.py
in dask-fargate/dask_fargate
98 1
lambda-handler.py
in cron-train
86 2
app.py
in auto-model-deploy
76 1
multinotebookefs_stack.py
in notebook-teams/multinotebookefs
68 1
binderhub_config.py
in dask-fargate/binderhub
64 3
app.py
in cron-train
48 1
app.py
in cron-inference
46 1
app.py
in kinesis-inference
44 1
lambda-submit.py
in stepfn-batch
40 1
setup.py
in dask-fargate
38 -
setup.py
in notebook-teams
33 -
app.py
in api-lambda-sm
29 1
lambda-handler.py
in cron-inference
18 1
lambda-handler.py
in kinesis-inference
18 1
lambda-handler.py
in api-lambda-sm
15 1
lambda-check.py
in stepfn-batch
12 1
check-status.py
in auto-model-deploy/lambda
9 1
dask.yaml
in dask-fargate/cdk.out/asset.be2acf0b1b2261b3b2afae92657808d440d37f8673d8a81971816320b2d6f12d
8 -
dask.yaml
in dask-fargate/cdk.out/asset.49bd94cddb4c73733794bb81273ffa64fba32bfa66649baf3d9e3c7e1a9aef0f
8 -
dask.yaml
in dask-fargate/cdk.out/asset.9842cd5fcd73301448d50535d2f32af1f5e9676567b10dc61aa00ce715a2aca9
8 -
dask.yaml
in dask-fargate/cdk.out/asset.72a153ac1faa8621728f9f0eefe0a0e496b5aa029111c79971ef4dee6e48ffcf
8 -
dask.yaml
in dask-fargate/cdk.out/asset.5df733b83780ba5c5ab475973264b869857261d66164b8ded5fda12a8e38d012
8 -
dask.yaml
in dask-fargate/dockerstuff
8 -
app.py
in notebook-teams
5 -
app.py
in dask-fargate
5 -
cdk.yaml
in root
1 -
__init__.py
in notebook-teams/multinotebookefs
1 -
__init__.py
in dask-fargate/dask_fargate
1 -
Files With Most Units (Top 18)
File# lines# units
deploy-model.py
in auto-model-deploy/lambda
102 3
binderhub_config.py
in dask-fargate/binderhub
64 3
handler.js
in dask-fargate/cdk.out/asset.a65ac4beaa2b5a7b20eebf3b7c5c1c886b71428afa377e02dab0d10ab3be57e7
108 3
lambda-handler.py
in cron-train
86 2
app.py
in cron-inference
46 1
lambda-handler.py
in cron-inference
18 1
app.py
in api-lambda-sm
29 1
lambda-handler.py
in api-lambda-sm
15 1
app.py
in auto-model-deploy
76 1
check-status.py
in auto-model-deploy/lambda
9 1
multinotebookefs_stack.py
in notebook-teams/multinotebookefs
68 1
app.py
in cron-train
48 1
app.py
in kinesis-inference
44 1
lambda-handler.py
in kinesis-inference
18 1
dask_fargate_stack.py
in dask-fargate/dask_fargate
98 1
lambda-check.py
in stepfn-batch
12 1
app.py
in stepfn-batch
102 1
lambda-submit.py
in stepfn-batch
40 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
multinotebookefs_stack.py
in notebook-teams/multinotebookefs
68 1 2
out.yaml
in notebook-teams
497 - 1
app.py
in kinesis-inference
44 1 1