aws-samples / aws-iot-edukit-tutorials
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 169 files with 8,636 lines of code.
    • 2 very long files (2,601 lines of code)
    • 2 long files (1,191 lines of code)
    • 7 medium size files (1,740 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (577 lines of code)
    • 153 very small files (2,527 lines of code)
30% | 13% | 20% | 6% | 29%
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
css48% | 9% | 32% | 5% | 4%
js0% | 30% | 0% | 5% | 63%
html0% | 0% | 0% | 21% | 78%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
workshop/static/en/api-reference78% | 0% | 11% | 0% | 9%
workshop/themes/learn/static/css42% | 19% | 17% | 11% | 8%
workshop/static/en/api-reference/search0% | 29% | 9% | 5% | 55%
workshop/themes/learn/static/mermaid0% | 0% | 100% | 0% | 0%
workshop/themes/learn/layouts/partials0% | 0% | 0% | 40% | 60%
workshop/themes/learn/i18n0% | 0% | 0% | 0% | 100%
workshop/themes/learn/layouts/shortcodes0% | 0% | 0% | 0% | 100%
workshop0% | 0% | 0% | 0% | 100%
workshop/themes/learn/layouts0% | 0% | 0% | 0% | 100%
workshop/themes/learn/layouts/_default0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
workshop/themes/learn0% | 0% | 0% | 0% | 100%
workshop/layouts/_default/_markup0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
doxygen.css
in workshop/static/en/api-reference
1487 -
theme.css
in workshop/themes/learn/static/css
1114 -
search.js
in workshop/static/en/api-reference/search
669 36
nucleus.css
in workshop/themes/learn/static/css
522 -
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/themes/learn/static/css
236 -
custom.css
in workshop/static/en/api-reference
219 -
hugo-theme.css
in workshop/themes/learn/static/css
212 -
search.css
in workshop/static/en/api-reference/search
211 -
menu.html
in workshop/themes/learn/layouts/partials
140 -
all_1.js
in workshop/static/en/api-reference/search
128 -
theme-green.css
in workshop/themes/learn/static/css
103 -
theme-blue.css
in workshop/themes/learn/static/css
103 -
theme-red.css
in workshop/themes/learn/static/css
103 -
config.toml
in workshop
100 -
menu.js
in workshop/static/en/api-reference
99 4
header.html
in workshop/themes/learn/layouts/partials
94 -
children.html
in workshop/themes/learn/layouts/shortcodes
86 -
dynsections.js
in workshop/static/en/api-reference
80 6
footer.html
in workshop/themes/learn/layouts/partials
73 -
hybrid.css
in workshop/themes/learn/static/css
72 -
atom-one-dark-reasonable.css
in workshop/themes/learn/static/css
70 -
functions_1.js
in workshop/static/en/api-reference/search
62 -
all_b.js
in workshop/static/en/api-reference/search
62 -
all_3.js
in workshop/static/en/api-reference/search
59 -
defines_0.js
in workshop/static/en/api-reference/search
54 -
pages_0.js
in workshop/static/en/api-reference/search
50 -
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 -
searchdata.js
in workshop/static/en/api-reference/search
39 -
functions_3.js
in workshop/static/en/api-reference/search
35 -
pages_2.js
in workshop/static/en/api-reference/search
35 -
all_10.js
in workshop/static/en/api-reference/search
35 -
attachments.html
in workshop/themes/learn/layouts/shortcodes
35 -
all_2.js
in workshop/static/en/api-reference/search
34 -
defines_7.js
in workshop/static/en/api-reference/search
33 -
all_4.js
in workshop/static/en/api-reference/search
32 -
all_9.js
in workshop/static/en/api-reference/search
31 -
pages_1.js
in workshop/static/en/api-reference/search
24 -
enumvalues_1.js
in workshop/static/en/api-reference/search
23 -
metadata.yml
in root
21 -
functions_6.js
in workshop/static/en/api-reference/search
20 -
zh-cn.toml
in workshop/themes/learn/i18n
20 -
de.toml
in workshop/themes/learn/i18n
20 -
id.toml
in workshop/themes/learn/i18n
20 -
fr.toml
in workshop/themes/learn/i18n
20 -
nl.toml
in workshop/themes/learn/i18n
20 -
Files With Most Units (Top 3)
File# lines# units
search.js
in workshop/static/en/api-reference/search
669 36
dynsections.js
in workshop/static/en/api-reference
80 6
menu.js
in workshop/static/en/api-reference
99 4
Files With Long Lines (Top 20)

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

File# lines# units# long lines
all_1.js
in workshop/static/en/api-reference/search
128 - 112
functions_1.js
in workshop/static/en/api-reference/search
62 - 59
all_3.js
in workshop/static/en/api-reference/search
59 - 53
all_b.js
in workshop/static/en/api-reference/search
62 - 46
defines_0.js
in workshop/static/en/api-reference/search
54 - 45
functions_3.js
in workshop/static/en/api-reference/search
35 - 32
pages_2.js
in workshop/static/en/api-reference/search
35 - 27
all_10.js
in workshop/static/en/api-reference/search
35 - 25
defines_7.js
in workshop/static/en/api-reference/search
33 - 25
all_9.js
in workshop/static/en/api-reference/search
31 - 24
all_4.js
in workshop/static/en/api-reference/search
32 - 23
enumvalues_1.js
in workshop/static/en/api-reference/search
23 - 20
all_2.js
in workshop/static/en/api-reference/search
34 - 19
functions_6.js
in workshop/static/en/api-reference/search
20 - 17
functions_2.js
in workshop/static/en/api-reference/search
19 - 15
enumvalues_2.js
in workshop/static/en/api-reference/search
18 - 15
all_e.js
in workshop/static/en/api-reference/search
19 - 15
functions_7.js
in workshop/static/en/api-reference/search
16 - 13
footer.html
in workshop/themes/learn/layouts/partials
73 - 12
children.html
in workshop/themes/learn/layouts/shortcodes
86 - 12