aws-quickstart / quickstart-datalake-foundation
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 19 files with 2,635 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (2,087 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (160 lines of code)
    • 12 very small files (388 lines of code)
0% | 0% | 79% | 6% | 14%
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% | 81% | 7% | 11%
py0% | 0% | 71% | 0% | 28%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates0% | 0% | 81% | 7% | 11%
assets/lambdas0% | 0% | 100% | 0% | 0%
assets/kibana0% | 0% | 0% | 0% | 100%
assets/glue0% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
assets0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
data-lake.template.yaml
in templates
483 -
data-lake-master.template.yaml
in templates
417 -
iam-roles.template.yaml
in templates
416 -
elasticsearch.template.yaml
in templates
283 -
buckets.template.yaml
in templates
262 -
lambdas.py
in assets/lambdas
226 15
redshift.template.yaml
in templates
160 -
random-string.template.yaml
in templates
67 -
sagemaker.template.yaml
in templates
67 -
kinesis.template.yaml
in templates
65 -
import_analysis_dashboard.py
in assets/kibana
45 6
register-dashboard.template.yaml
in templates
42 -
curated-datasets-job.py
in assets/glue
36 -
glue.template.yaml
in templates
23 -
config.yml
in ci
19 -
taskcat.yml
in ci
16 -
setup.py
in assets
5 -
root.py
in assets
2 -
__init__.py
in assets
1 -
Files With Most Units (Top 2)
File# lines# units
lambdas.py
in assets/lambdas
226 15
import_analysis_dashboard.py
in assets/kibana
45 6
Files With Long Lines (Top 6)

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

File# lines# units# long lines
data-lake.template.yaml
in templates
483 - 7
data-lake-master.template.yaml
in templates
417 - 5
buckets.template.yaml
in templates
262 - 2
lambdas.py
in assets/lambdas
226 15 2
curated-datasets-job.py
in assets/glue
36 - 2
redshift.template.yaml
in templates
160 - 1