aws-samples / aws-modernization-with-kong
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 62 files with 4,741 lines of code.
    • 1 very long files (1,107 lines of code)
    • 1 long files (522 lines of code)
    • 6 medium size files (1,516 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (449 lines of code)
    • 50 very small files (1,147 lines of code)
23% | 11% | 31% | 9% | 24%
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% | 15% | 37% | 8% | 6%
yml0% | 0% | 81% | 0% | 18%
html0% | 0% | 0% | 22% | 77%
toml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
themes/learn/static/css42% | 20% | 17% | 11% | 8%
themes/learn/static/mermaid0% | 0% | 100% | 0% | 0%
templates0% | 0% | 72% | 0% | 27%
themes/learn/layouts/partials0% | 0% | 0% | 40% | 60%
themes/learn/i18n0% | 0% | 0% | 0% | 100%
themes/learn/layouts/shortcodes0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
themes/learn/layouts0% | 0% | 0% | 0% | 100%
themes/learn/layouts/_default0% | 0% | 0% | 0% | 100%
themes/learn0% | 0% | 0% | 0% | 100%
layouts/_default/_markup0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in themes/learn/static/css
1107 -
nucleus.css
in themes/learn/static/css
522 -
mermaid.forest.css
in themes/learn/static/mermaid
340 -
mermaid.dark.css
in themes/learn/static/mermaid
262 -
mermaid.css
in themes/learn/static/mermaid
260 -
theme-aws.css
in themes/learn/static/css
236 -
hugo-theme.css
in themes/learn/static/css
212 -
pipeline.yml
in templates
206 -
menu.html
in themes/learn/layouts/partials
140 -
theme-green.css
in themes/learn/static/css
103 -
theme-blue.css
in themes/learn/static/css
103 -
theme-red.css
in themes/learn/static/css
103 -
header.html
in themes/learn/layouts/partials
94 -
children.html
in themes/learn/layouts/shortcodes
86 -
cognito.yaml
in templates
77 -
footer.html
in themes/learn/layouts/partials
73 -
hybrid.css
in themes/learn/static/css
72 -
atom-one-dark-reasonable.css
in themes/learn/static/css
70 -
404.html
in themes/learn/layouts
46 -
tags.css
in themes/learn/static/css
42 -
auto-complete.css
in themes/learn/static/css
40 -
config.toml
in root
35 -
attachments.html
in themes/learn/layouts/shortcodes
35 -
webspec.yml
in root
32 -
zh-cn.toml
in themes/learn/i18n
20 -
de.toml
in themes/learn/i18n
20 -
id.toml
in themes/learn/i18n
20 -
fr.toml
in themes/learn/i18n
20 -
nl.toml
in themes/learn/i18n
20 -
es.toml
in themes/learn/i18n
20 -
pt.toml
in themes/learn/i18n
20 -
tr.toml
in themes/learn/i18n
20 -
hi.toml
in themes/learn/i18n
20 -
ar.toml
in themes/learn/i18n
20 -
ru.toml
in themes/learn/i18n
20 -
ja.toml
in themes/learn/i18n
20 -
en.toml
in themes/learn/i18n
20 -
theme.toml
in themes/learn
18 -
list.html
in themes/learn/layouts/_default
18 -
expand.html
in themes/learn/layouts/shortcodes
17 -
metadata.yml
in root
16 -
search.html
in themes/learn/layouts/partials
16 -
relref.html
in themes/learn/layouts/shortcodes
14 -
ref.html
in themes/learn/layouts/shortcodes
14 -
button.html
in themes/learn/layouts/shortcodes
13 -
single.html
in themes/learn/layouts/_default
9 -
tags.html
in themes/learn/layouts/partials
7 -
siteparam.html
in themes/learn/layouts/shortcodes
7 -
index.html
in themes/learn/layouts
6 -
toc.html
in themes/learn/layouts/partials
5 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

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

File# lines# units# long lines
footer.html
in themes/learn/layouts/partials
73 - 12
children.html
in themes/learn/layouts/shortcodes
86 - 12
menu.html
in themes/learn/layouts/partials
140 - 8
theme.css
in themes/learn/static/css
1107 - 7
theme-aws.css
in themes/learn/static/css
236 - 5
header.html
in themes/learn/layouts/partials
94 - 5
404.html
in themes/learn/layouts
46 - 5
nucleus.css
in themes/learn/static/css
522 - 2
search.html
in themes/learn/layouts/partials
16 - 2
webspec.yml
in root
32 - 1
render-link.html
in layouts/_default/_markup
1 - 1
theme-green.css
in themes/learn/static/css
103 - 1
atom-one-dark-reasonable.css
in themes/learn/static/css
70 - 1
theme-blue.css
in themes/learn/static/css
103 - 1
theme-red.css
in themes/learn/static/css
103 - 1
single.html
in themes/learn/layouts/_default
9 - 1
list.html
in themes/learn/layouts/_default
18 - 1
meta.html
in themes/learn/layouts/partials
2 - 1
menu-footer.html
in themes/learn/layouts/partials
3 - 1
mermaid.html
in themes/learn/layouts/shortcodes
2 - 1