aws-samples / application-migration-with-aws-workshop
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 60 files with 5,620 lines of code.
    • 1 very long files (1,104 lines of code)
    • 2 long files (1,513 lines of code)
    • 6 medium size files (1,581 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (140 lines of code)
    • 50 very small files (1,282 lines of code)
19% | 26% | 28% | 2% | 22%
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
css31% | 14% | 39% | 0% | 14%
yml0% | 98% | 0% | 0% | 1%
toml0% | 0% | 51% | 0% | 48%
html0% | 0% | 0% | 22% | 77%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
workshop/themes/learn/static31% | 14% | 39% | 0% | 14%
resources0% | 100% | 0% | 0% | 0%
workshop0% | 0% | 100% | 0% | 0%
workshop/themes/learn/layouts0% | 0% | 0% | 22% | 77%
workshop/themes/learn/i18n0% | 0% | 0% | 0% | 100%
resources/src/create_key_pair0% | 0% | 0% | 0% | 100%
workshop/themes/learn0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
resources/src/get_ssh_key_from_ssm0% | 0% | 0% | 0% | 100%
workshop/layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in workshop/themes/learn/static/css
1104 -
cloudformation.yml
in resources
991 -
nucleus.css
in workshop/themes/learn/static/css
522 -
mermaid.forest.css
in workshop/themes/learn/static/mermaid
340 -
theme-aws.css
in workshop/themes/learn/static/css
295 -
mermaid.dark.css
in workshop/themes/learn/static/mermaid
262 -
mermaid.css
in workshop/themes/learn/static/mermaid
260 -
config.toml
in workshop
212 -
hugo-theme.css
in workshop/themes/learn/static/css
212 -
menu.html
in workshop/themes/learn/layouts/partials
140 -
header.html
in workshop/themes/learn/layouts/partials
96 -
theme-green.css
in workshop/themes/learn/static/css
90 -
theme-blue.css
in workshop/themes/learn/static/css
90 -
theme-red.css
in workshop/themes/learn/static/css
90 -
children.html
in workshop/themes/learn/layouts/shortcodes
86 -
hybrid.css
in workshop/themes/learn/static/css
72 -
atom-one-dark-reasonable.css
in workshop/themes/learn/static/css
70 -
footer.html
in workshop/themes/learn/layouts/partials
67 -
404.html
in workshop/themes/learn/layouts
46 -
tags.css
in workshop/themes/learn/static/css
42 -
auto-complete.css
in workshop/themes/learn/static/css
40 -
attachments.html
in workshop/themes/learn/layouts/shortcodes
35 -
generate_ssh_key.py
in resources/src/create_key_pair
35 3
cfnresponse.py
in resources/src/create_key_pair
31 1
theme.toml
in workshop/themes/learn
18 -
list.html
in workshop/themes/learn/layouts/_default
18 -
de.toml
in workshop/themes/learn/i18n
18 -
id.toml
in workshop/themes/learn/i18n
18 -
fr.toml
in workshop/themes/learn/i18n
18 -
nl.toml
in workshop/themes/learn/i18n
18 -
es.toml
in workshop/themes/learn/i18n
18 -
pt.toml
in workshop/themes/learn/i18n
18 -
tr.toml
in workshop/themes/learn/i18n
18 -
hi.toml
in workshop/themes/learn/i18n
18 -
ar.toml
in workshop/themes/learn/i18n
18 -
en.toml
in workshop/themes/learn/i18n
18 -
expand.html
in workshop/themes/learn/layouts/shortcodes
17 -
metadata.yml
in root
17 -
search.html
in workshop/themes/learn/layouts/partials
16 -
relref.html
in workshop/themes/learn/layouts/shortcodes
14 -
button.html
in workshop/themes/learn/layouts/shortcodes
14 -
ref.html
in workshop/themes/learn/layouts/shortcodes
14 -
index.py
in resources/src/get_ssh_key_from_ssm
13 2
single.html
in workshop/themes/learn/layouts/_default
9 -
custom-footer.html
in workshop/layouts/partials
8 -
tags.html
in workshop/themes/learn/layouts/partials
7 -
siteparam.html
in workshop/themes/learn/layouts/shortcodes
7 -
notice.html
in workshop/themes/learn/layouts/shortcodes
6 -
index.html
in workshop/themes/learn/layouts
6 -
toc.html
in workshop/themes/learn/layouts/partials
5 -
Files With Most Units (Top 3)
File# lines# units
generate_ssh_key.py
in resources/src/create_key_pair
35 3
index.py
in resources/src/get_ssh_key_from_ssm
13 2
cfnresponse.py
in resources/src/create_key_pair
31 1
Files With Long Lines (Top 20)

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

File# lines# units# long lines
footer.html
in workshop/themes/learn/layouts/partials
67 - 14
children.html
in workshop/themes/learn/layouts/shortcodes
86 - 12
theme.css
in workshop/themes/learn/static/css
1104 - 8
menu.html
in workshop/themes/learn/layouts/partials
140 - 8
header.html
in workshop/themes/learn/layouts/partials
96 - 7
404.html
in workshop/themes/learn/layouts
46 - 5
theme-aws.css
in workshop/themes/learn/static/css
295 - 4
nucleus.css
in workshop/themes/learn/static/css
522 - 2
search.html
in workshop/themes/learn/layouts/partials
16 - 2
cloudformation.yml
in resources
991 - 2
config.toml
in workshop
212 - 1
theme-green.css
in workshop/themes/learn/static/css
90 - 1
atom-one-dark-reasonable.css
in workshop/themes/learn/static/css
70 - 1
theme-blue.css
in workshop/themes/learn/static/css
90 - 1
theme-red.css
in workshop/themes/learn/static/css
90 - 1
single.html
in workshop/themes/learn/layouts/_default
9 - 1
list.html
in workshop/themes/learn/layouts/_default
18 - 1
meta.html
in workshop/themes/learn/layouts/partials
2 - 1
mermaid.html
in workshop/themes/learn/layouts/shortcodes
2 - 1
expand.html
in workshop/themes/learn/layouts/shortcodes
17 - 1