aws-quickstart / quickstart-aws-utility-meter-data-analytics-platform
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 57 files with 4,647 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (555 lines of code)
    • 6 medium size files (1,783 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (931 lines of code)
    • 43 very small files (1,378 lines of code)
0% | 11% | 38% | 20% | 29%
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% | 18% | 52% | 19% | 8%
py0% | 0% | 13% | 20% | 65%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates/prediction0% | 60% | 0% | 21% | 18%
templates0% | 0% | 72% | 27% | 0%
templates/glue0% | 0% | 86% | 0% | 13%
meter-data0% | 0% | 100% | 0% | 0%
assets/functions/ml_pipeline0% | 0% | 0% | 23% | 76%
assets/functions/meter_forecast0% | 0% | 0% | 99% | <1%
assets/functions/adapter0% | 0% | 0% | 59% | 40%
assets/glue/scripts0% | 0% | 0% | 0% | 100%
assets/functions/redshift0% | 0% | 0% | 0% | 100%
assets/functions/get_anomaly0% | 0% | 0% | 0% | 100%
assets/functions/outage_info0% | 0% | 0% | 0% | 100%
cis-data0% | 0% | 0% | 0% | 100%
geo-data0% | 0% | 0% | 0% | 100%
assets0% | 0% | 0% | 0% | 100%
assets/functions0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ml-pipeline.yaml
in templates/prediction
555 -
workload.template.yaml
in templates
408 -
redshift.yaml
in templates
390 -
glue.yaml
in templates/glue
304 -
glue-wfl-aggregation.yaml
in templates/glue
234 -
main.template.yaml
in templates
229 -
generate_meter_data.py
in meter-data
218 16
prediction-api.yaml
in templates/prediction
194 -
adapter.yaml
in templates
142 -
copy-scripts.yaml
in templates
130 -
app.py
in assets/functions/ml_pipeline/prepare_training
124 5
copy-demo-data.yaml
in templates
122 -
app.py
in assets/functions/meter_forecast
118 5
config.py
in assets/functions/adapter/mrasco
101 -
transform_raw_to_clean.py
in assets/glue/scripts
95 6
app.py
in assets/functions/ml_pipeline/prepare_batch
93 4
transform_raw_to_clean_london.py
in assets/glue/scripts
92 6
ml-pipeline-config.yaml
in templates/prediction
91 -
app.py
in assets/functions/ml_pipeline/batch_anomaly_detection
84 5
glue-tables.yaml
in templates/glue
82 -
sagemaker.yaml
in templates/prediction
76 -
app.py
in assets/functions/adapter/mrasco
68 2
app.py
in assets/functions/redshift/consumption
62 4
app.py
in assets/functions/ml_pipeline/upload_result
58 2
business_aggregate_monthly.py
in assets/glue/scripts
55 3
import_demo_data_to_redshift.py
in assets/glue/scripts
52 -
business_aggregate_weekly.py
in assets/glue/scripts
50 3
app.py
in assets/functions/get_anomaly
48 1
app.py
in assets/functions/ml_pipeline/load_pipeline_parameter
47 3
index.js
in assets/functions/outage_info
46 -
app.py
in assets/functions/ml_pipeline/split_batch
42 1
business_aggregate_daily.py
in assets/glue/scripts
42 2
business_daily_to_redshift.py
in assets/glue/scripts
35 -
generate_cis_data.py
in cis-data
31 3
generate_geo_data.py
in geo-data
26 -
transform_clean_to_business_partition.py
in assets/glue/scripts
22 -
app.py
in assets/functions/ml_pipeline/state_topic_subscription
19 2
app.py
in assets/functions/ml_pipeline/check_initial_pipeline_run
19 2
app.py
in assets/functions/ml_pipeline/crawler/trigger_glue_crawler
12 1
app.py
in assets/functions/ml_pipeline/has_endpoint
8 1
app.py
in assets/functions/ml_pipeline/crawler/get_glue_crawler_state
7 1
__init__.py
in assets
1 -
__init__.py
in assets/functions/adapter/mrasco
1 -
__init__.py
in assets/functions/ml_pipeline/batch_anomaly_detection
1 -
__init__.py
in assets/functions/ml_pipeline
1 -
__init__.py
in assets/functions/ml_pipeline/upload_result
1 -
__init__.py
in assets/functions/ml_pipeline/state_topic_subscription
1 -
__init__.py
in assets/functions/ml_pipeline/prepare_batch
1 -
__init__.py
in assets/functions/ml_pipeline/crawler
1 -
__init__.py
in assets/functions/ml_pipeline/crawler/trigger_glue_crawler
1 -
Files With Most Units (Top 20)
File# lines# units
generate_meter_data.py
in meter-data
218 16
transform_raw_to_clean_london.py
in assets/glue/scripts
92 6
transform_raw_to_clean.py
in assets/glue/scripts
95 6
app.py
in assets/functions/ml_pipeline/batch_anomaly_detection
84 5
app.py
in assets/functions/ml_pipeline/prepare_training
124 5
app.py
in assets/functions/meter_forecast
118 5
app.py
in assets/functions/redshift/consumption
62 4
app.py
in assets/functions/ml_pipeline/prepare_batch
93 4
app.py
in assets/functions/ml_pipeline/load_pipeline_parameter
47 3
business_aggregate_monthly.py
in assets/glue/scripts
55 3
business_aggregate_weekly.py
in assets/glue/scripts
50 3
generate_cis_data.py
in cis-data
31 3
app.py
in assets/functions/adapter/mrasco
68 2
app.py
in assets/functions/ml_pipeline/upload_result
58 2
app.py
in assets/functions/ml_pipeline/state_topic_subscription
19 2
app.py
in assets/functions/ml_pipeline/check_initial_pipeline_run
19 2
business_aggregate_daily.py
in assets/glue/scripts
42 2
app.py
in assets/functions/ml_pipeline/crawler/trigger_glue_crawler
12 1
app.py
in assets/functions/ml_pipeline/crawler/get_glue_crawler_state
7 1
app.py
in assets/functions/ml_pipeline/has_endpoint
8 1
Files With Long Lines (Top 16)

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

File# lines# units# long lines
workload.template.yaml
in templates
408 - 13
main.template.yaml
in templates
229 - 8
ml-pipeline.yaml
in templates/prediction
555 - 6
import_demo_data_to_redshift.py
in assets/glue/scripts
52 - 5
transform_raw_to_clean_london.py
in assets/glue/scripts
92 6 5
redshift.yaml
in templates
390 - 4
glue.yaml
in templates/glue
304 - 4
index.js
in assets/functions/outage_info
46 - 2
business_aggregate_monthly.py
in assets/glue/scripts
55 3 2
business_aggregate_weekly.py
in assets/glue/scripts
50 3 2
business_aggregate_daily.py
in assets/glue/scripts
42 2 2
adapter.yaml
in templates
142 - 1
app.py
in assets/functions/redshift/consumption
62 4 1
transform_clean_to_business_partition.py
in assets/glue/scripts
22 - 1
business_daily_to_redshift.py
in assets/glue/scripts
35 - 1
generate_meter_data.py
in meter-data
218 16 1