aws-samples / amazon-cloudfront-secure-static-site
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 11 files with 567 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (363 lines of code)
    • 8 very small files (204 lines of code)
0% | 0% | 0% | 64% | 35%
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% | 0% | 90% | 9%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates0% | 0% | 0% | 91% | 8%
source/witch0% | 0% | 0% | 0% | 100%
www0% | 0% | 0% | 0% | 100%
www/css0% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
cloudfront-site.yaml
in templates
156 -
main.yaml
in templates
105 -
custom-resource.yaml
in templates
102 -
witch.js
in source/witch
90 3
acm-certificate.yaml
in templates
33 -
style.css
in www/css
29 -
index.html
in www
12 -
404.html
in www
12 -
other.html
in www
12 -
403.html
in www
12 -
cfn_nag_blacklist.yaml
in ci
4 -
Files With Most Units (Top 1)
File# lines# units
witch.js
in source/witch
90 3
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
cloudfront-site.yaml
in templates
156 - 1