aws-samples / amazon-mwaa-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 23 files with 1,973 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (402 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (927 lines of code)
    • 16 very small files (644 lines of code)
0% | 0% | 20% | 46% | 32%
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
yml0% | 0% | 100% | 0% | 0%
py0% | 0% | 0% | 60% | 39%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
usecases/image-processing0% | 0% | 100% | 0% | 0%
usecases/image-processing/dags0% | 0% | 0% | 100% | 0%
usecases/mwaa-with-codeartifact/infra0% | 0% | 0% | 41% | 58%
dags/xgboost-ml-pipeline/1.100% | 0% | 0% | 89% | 10%
dags/xgboost-ml-pipeline/2.00% | 0% | 0% | 89% | 10%
dags/emr_job/1.100% | 0% | 0% | 0% | 100%
dags/emr_job/2.00% | 0% | 0% | 0% | 100%
dags/metadb_to_secrets_manager/1.100% | 0% | 0% | 0% | 100%
usecases/mwaa-with-codeartifact/mwaa-ca-bucket-content0% | 0% | 0% | 0% | 100%
usecases/mwaa-with-codeartifact/lambda0% | 0% | 0% | 0% | 100%
usecases/image-processing/lambda0% | 0% | 0% | 0% | 100%
dags/xgboost-ml-pipeline/glue0% | 0% | 0% | 0% | 100%
usecases/mwaa-with-codeartifact0% | 0% | 0% | 0% | 100%
dags/bash_operator_script/1.100% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
template.yml
in usecases/image-processing
402 -
image_processing.py
in usecases/image-processing/dags/1.10
175 5
image_processing.py
in usecases/image-processing/dags
175 5
image_processing.py
in usecases/image-processing/dags/2.0
171 5
mwaa_stack.py
in usecases/mwaa-with-codeartifact/infra
136 1
mwaa-customer-churn-dag.py
in dags/xgboost-ml-pipeline/1.10
135 2
mwaa-customer-churn-dag.py
in dags/xgboost-ml-pipeline/2.0
135 2
emr_job.py
in dags/emr_job/1.10
84 -
emr_job.py
in dags/emr_job/2.0
84 -
vpc_stack.py
in usecases/mwaa-with-codeartifact/infra
80 7
metadb_to_secrets_manager.py
in dags/metadb_to_secrets_manager/1.10
63 2
lambda_cron_stack.py
in usecases/mwaa-with-codeartifact/infra
63 1
tutorial.py
in usecases/mwaa-with-codeartifact/mwaa-ca-bucket-content/dags
54 1
lambda_handler.py
in usecases/mwaa-with-codeartifact/lambda
47 2
thumbnail.js
in usecases/image-processing/lambda
40 2
s3_stack.py
in usecases/mwaa-with-codeartifact/infra
27 2
glue_etl.py
in dags/xgboost-ml-pipeline/glue
22 -
codeartifact_stack.py
in usecases/mwaa-with-codeartifact/infra
20 2
app.py
in usecases/mwaa-with-codeartifact
17 -
config.py
in dags/xgboost-ml-pipeline/1.10
16 -
config.py
in dags/xgboost-ml-pipeline/2.0
16 -
bash_operator.py
in dags/bash_operator_script/1.10
10 -
__init__.py
in usecases/mwaa-with-codeartifact/infra
1 -
Files With Most Units (Top 14)
File# lines# units
vpc_stack.py
in usecases/mwaa-with-codeartifact/infra
80 7
image_processing.py
in usecases/image-processing/dags/1.10
175 5
image_processing.py
in usecases/image-processing/dags/2.0
171 5
image_processing.py
in usecases/image-processing/dags
175 5
mwaa-customer-churn-dag.py
in dags/xgboost-ml-pipeline/1.10
135 2
mwaa-customer-churn-dag.py
in dags/xgboost-ml-pipeline/2.0
135 2
metadb_to_secrets_manager.py
in dags/metadb_to_secrets_manager/1.10
63 2
thumbnail.js
in usecases/image-processing/lambda
40 2
s3_stack.py
in usecases/mwaa-with-codeartifact/infra
27 2
codeartifact_stack.py
in usecases/mwaa-with-codeartifact/infra
20 2
lambda_handler.py
in usecases/mwaa-with-codeartifact/lambda
47 2
lambda_cron_stack.py
in usecases/mwaa-with-codeartifact/infra
63 1
mwaa_stack.py
in usecases/mwaa-with-codeartifact/infra
136 1
tutorial.py
in usecases/mwaa-with-codeartifact/mwaa-ca-bucket-content/dags
54 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
mwaa-customer-churn-dag.py
in dags/xgboost-ml-pipeline/1.10
135 2 1
mwaa-customer-churn-dag.py
in dags/xgboost-ml-pipeline/2.0
135 2 1
metadb_to_secrets_manager.py
in dags/metadb_to_secrets_manager/1.10
63 2 1