aws-samples / amazon-ec2-mssql-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 70 files with 5,348 lines of code.
    • 1 very long files (1,104 lines of code)
    • 1 long files (522 lines of code)
    • 7 medium size files (1,860 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (140 lines of code)
    • 60 very small files (1,722 lines of code)
20% | 9% | 34% | 2% | 32%
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% | 37% | 0% | 16%
py0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 59% | 0% | 40%
html0% | 0% | 0% | 18% | 81%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
workshop/themes/learn/static32% | 15% | 38% | 0% | 14%
resources/code/Monitoring0% | 0% | 100% | 0% | 0%
resources/templates0% | 0% | 59% | 0% | 40%
workshop/themes/learn/layouts0% | 0% | 0% | 21% | 78%
workshop/themes/learn/exampleSite0% | 0% | 0% | 0% | 100%
workshop/themes/learn/i18n0% | 0% | 0% | 0% | 100%
workshop0% | 0% | 0% | 0% | 100%
resources/code0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
workshop/themes/learn0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in workshop/themes/learn/static/css
1104 -
nucleus.css
in workshop/themes/learn/static/css
522 -
mermaid.forest.css
in workshop/themes/learn/static/mermaid
340 -
create-cw-dashboard.py
in resources/code/Monitoring
333 5
mermaid.dark.css
in workshop/themes/learn/static/mermaid
262 -
mermaid.css
in workshop/themes/learn/static/mermaid
260 -
theme-aws.css
in workshop/themes/learn/static/css
229 -
vpc-3azs.yaml
in resources/templates
224 -
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
99 -
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 -
theme-mine.css
in workshop/themes/learn/exampleSite/static/css
84 -
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 -
config.toml
in workshop/themes/learn/exampleSite
62 -
mssql-stack-root.yaml
in resources/templates
49 -
404.html
in workshop/themes/learn/layouts
48 -
config.toml
in workshop
45 -
tags.css
in workshop/themes/learn/static/css
42 -
auto-complete.css
in workshop/themes/learn/static/css
40 -
storage_layer.ps1
in resources/code
40 -
managed-ad.yaml
in resources/templates
38 -
fsx.yaml
in resources/templates
38 -
logo.html
in workshop/themes/learn/exampleSite/layouts/partials
37 -
attachments.html
in workshop/themes/learn/layouts/shortcodes
35 -
ghcontributors.html
in workshop/themes/learn/exampleSite/layouts/shortcodes
29 -
iam.yaml
in resources/templates
29 -
buildspec.yml
in workshop
27 -
metadata.yml
in root
21 -
card.html
in workshop/themes/learn/layouts/shortcodes
19 -
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 -
search.html
in workshop/themes/learn/layouts/partials
16 -
menu-footer.html
in workshop/themes/learn/layouts/partials
14 -
Files With Most Units (Top 1)
File# lines# units
create-cw-dashboard.py
in resources/code/Monitoring
333 5
Files With Long Lines (Top 20)

There are 26 files with lines longer than 120 characters. In total, there are 136 long lines.

File# lines# units# long lines
create-cw-dashboard.py
in resources/code/Monitoring
333 5 33
logo.html
in workshop/themes/learn/exampleSite/layouts/partials
37 - 16
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
storage_layer.ps1
in resources/code
40 - 8
header.html
in workshop/themes/learn/layouts/partials
99 - 5
theme-aws.css
in workshop/themes/learn/static/css
229 - 4
menu-footer.html
in workshop/themes/learn/exampleSite/layouts/partials
7 - 4
404.html
in workshop/themes/learn/layouts
48 - 4
mssql-stack-root.yaml
in resources/templates
49 - 4
nucleus.css
in workshop/themes/learn/static/css
522 - 2
search.html
in workshop/themes/learn/layouts/partials
16 - 2
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
theme-mine.css
in workshop/themes/learn/exampleSite/static/css
84 - 1
ghcontributors.html
in workshop/themes/learn/exampleSite/layouts/shortcodes
29 - 1