aws-samples / aws-serverless-application-catalog-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 95 files with 8,445 lines of code.
    • 2 very long files (3,677 lines of code)
    • 1 long files (522 lines of code)
    • 6 medium size files (1,776 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (523 lines of code)
    • 82 very small files (1,947 lines of code)
43% | 6% | 21% | 6% | 23%
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
css58% | 8% | 21% | 2% | 9%
yaml0% | 0% | 79% | 20% | 0%
html0% | 0% | 0% | 27% | 72%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
workshop/static/css86% | 0% | 8% | 5% | 0%
workshop/themes/learn/static34% | 16% | 33% | 0% | 15%
code0% | 0% | 100% | 0% | 0%
workshop/themes/learn/layouts0% | 0% | 0% | 38% | 61%
code/sam/nodejs0% | 0% | 0% | 60% | 39%
workshop/themes/learn/exampleSite0% | 0% | 0% | 0% | 100%
workshop/themes/learn/i18n0% | 0% | 0% | 0% | 100%
workshop/layouts/shortcodes0% | 0% | 0% | 0% | 100%
code/sam/nodejs/src0% | 0% | 0% | 0% | 100%
workshop0% | 0% | 0% | 0% | 100%
workshop/layouts/partials0% | 0% | 0% | 0% | 100%
workshop/themes/learn0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
workshop/static0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
all.css
in workshop/static/css
2570 -
theme.css
in workshop/themes/learn/static/css
1107 -
nucleus.css
in workshop/themes/learn/static/css
522 -
template.yaml
in code
459 -
mermaid.forest.css
in workshop/themes/learn/static/mermaid
340 -
mermaid.dark.css
in workshop/themes/learn/static/mermaid
262 -
mermaid.css
in workshop/themes/learn/static/mermaid
260 -
theme-aws.css
in workshop/static/css
243 -
hugo-theme.css
in workshop/themes/learn/static/css
212 -
theme-mine.css
in workshop/static/css
157 -
menu.html
in workshop/themes/learn/layouts/partials
142 -
template.yaml
in code/sam/nodejs
117 -
header.html
in workshop/themes/learn/layouts/partials
107 -
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 -
config.toml
in workshop/themes/learn/exampleSite
84 -
config.toml
in workshop
79 -
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
66 -
custom-header.html
in workshop/layouts/partials
51 -
404.html
in workshop/themes/learn/layouts
48 -
tabs.html
in workshop/layouts/shortcodes
43 -
tags.css
in workshop/themes/learn/static/css
42 -
auto-complete.css
in workshop/themes/learn/static/css
40 -
index.js
in code/sam/nodejs/src/items/put-item
38 -
index.js
in code/sam/nodejs/src/items/get-by-id
37 -
logo.html
in workshop/themes/learn/exampleSite/layouts/partials
37 -
index.js
in code/sam/nodejs/src/items/get-all-items
35 -
attachments.html
in workshop/themes/learn/layouts/shortcodes
35 -
index.html
in workshop/themes/learn/layouts
30 -
metadata.yml
in root
30 -
buildspec.yml
in workshop
29 -
ghcontributors.html
in workshop/layouts/shortcodes
29 -
ghcontributors.html
in workshop/themes/learn/exampleSite/layouts/shortcodes
29 -
buildspec.yml
in code/sam/nodejs
26 -
tab.html
in workshop/layouts/shortcodes
19 -
theme.toml
in workshop/themes/learn
18 -
list.html
in workshop/themes/learn/layouts/_default
18 -
zh-cn.toml
in workshop/themes/learn/i18n
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 -
Files With Most Units (Top 1)
File# lines# units
locust-script.py
in code/sam/nodejs
6 1
Files With Long Lines (Top 20)

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

File# lines# units# long lines
logo.html
in workshop/themes/learn/exampleSite/layouts/partials
37 - 16
footer.html
in workshop/themes/learn/layouts/partials
66 - 13
template.yaml
in code
459 - 12
children.html
in workshop/themes/learn/layouts/shortcodes
86 - 12
theme.css
in workshop/themes/learn/static/css
1107 - 8
menu.html
in workshop/themes/learn/layouts/partials
142 - 8
custom-header.html
in workshop/layouts/partials
51 - 5
header.html
in workshop/themes/learn/layouts/partials
107 - 5
menu-footer.html
in workshop/themes/learn/exampleSite/layouts/partials
7 - 4
404.html
in workshop/themes/learn/layouts
48 - 4
all.css
in workshop/static/css
2570 - 3
theme-mine.css
in workshop/static/css
157 - 3
theme-aws.css
in workshop/static/css
243 - 3
nucleus.css
in workshop/themes/learn/static/css
522 - 2
search.html
in workshop/themes/learn/layouts/partials
16 - 2
index.html
in workshop/themes/learn/layouts
30 - 2
menu-footer.html
in workshop/layouts/partials
3 - 1
mermaid.html
in workshop/layouts/shortcodes
1 - 1
surveymonkey.html
in workshop/layouts/shortcodes
1 - 1
cf-launch.html
in workshop/layouts/shortcodes
6 - 1