aws-samples / aws-modernization-hub
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 21 files with 5,394 lines of code.
    • 1 very long files (3,951 lines of code)
    • 1 long files (654 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (286 lines of code)
    • 17 very small files (503 lines of code)
73% | 12% | 0% | 5% | 9%
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
js100% | 0% | 0% | 0% | 0%
css0% | 94% | 0% | 0% | 5%
yaml0% | 0% | 0% | 83% | 16%
html0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
themes/aws-modernize/static/bootstrap/js100% | 0% | 0% | 0% | 0%
themes/aws-modernize/static/css0% | 94% | 0% | 0% | 5%
cfn/webhosting0% | 0% | 0% | 83% | 16%
themes/aws-modernize/layouts/_default0% | 0% | 0% | 0% | 100%
themes/aws-modernize/layouts/partials0% | 0% | 0% | 0% | 100%
themes/aws-modernize/layouts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
themes/aws-modernize0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
bootstrap.bundle.js
in themes/aws-modernize/static/bootstrap/js
3951 209
site.css
in themes/aws-modernize/static/css
654 -
pipeline.yaml
in cfn/webhosting
170 -
cloudfront-s3-website.yaml
in cfn/webhosting
116 -
list.html
in themes/aws-modernize/layouts/_default
65 -
single.html
in themes/aws-modernize/layouts/_default
63 -
index.html
in themes/aws-modernize/layouts
61 -
lambda-rewrite.yaml
in cfn/webhosting
56 -
header.html
in themes/aws-modernize/layouts/partials
41 -
auto-complete.css
in themes/aws-modernize/static/css
40 -
highlights.html
in themes/aws-modernize/layouts/partials
39 -
webspec.yml
in root
31 -
terms.html
in themes/aws-modernize/layouts/_default
23 -
footer.html
in themes/aws-modernize/layouts/partials
20 -
theme.toml
in themes/aws-modernize
18 -
head.html
in themes/aws-modernize/layouts/partials
17 -
baseof.html
in themes/aws-modernize/layouts/_default
13 -
config.toml
in root
10 -
search.html
in themes/aws-modernize/layouts/partials
4 -
favicon.html
in themes/aws-modernize/layouts/partials
1 -
404.html
in themes/aws-modernize/layouts
1 -
Files With Most Units (Top 1)
File# lines# units
bootstrap.bundle.js
in themes/aws-modernize/static/bootstrap/js
3951 209
Files With Long Lines (Top 5)

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

File# lines# units# long lines
bootstrap.bundle.js
in themes/aws-modernize/static/bootstrap/js
3951 209 51
site.css
in themes/aws-modernize/static/css
654 - 4
webspec.yml
in root
31 - 1
cloudfront-s3-website.yaml
in cfn/webhosting
116 - 1
footer.html
in themes/aws-modernize/layouts/partials
20 - 1