aws-samples / ai-services-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 65 files with 4,908 lines of code.
    • 1 very long files (1,104 lines of code)
    • 1 long files (522 lines of code)
    • 5 medium size files (1,419 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (368 lines of code)
    • 55 very small files (1,495 lines of code)
22% | 10% | 28% | 7% | 30%
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
css32% | 15% | 31% | 3% | 16%
yml0% | 0% | 96% | 0% | 3%
html0% | 0% | 0% | 28% | 71%
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/hugo-theme-learn/static34% | 16% | 33% | 0% | 15%
etc0% | 0% | 100% | 0% | 0%
themes/hugo-theme-learn/layouts0% | 0% | 0% | 38% | 61%
static/css0% | 0% | 0% | 100% | 0%
themes/hugo-theme-learn/exampleSite0% | 0% | 0% | 0% | 100%
themes/hugo-theme-learn/i18n0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
themes/hugo-theme-learn0% | 0% | 0% | 0% | 100%
layouts/shortcodes0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in themes/hugo-theme-learn/static/css
1104 -
nucleus.css
in themes/hugo-theme-learn/static/css
522 -
cloudformation_template.yml
in etc
345 -
mermaid.forest.css
in themes/hugo-theme-learn/static/mermaid
340 -
mermaid.dark.css
in themes/hugo-theme-learn/static/mermaid
262 -
mermaid.css
in themes/hugo-theme-learn/static/mermaid
260 -
hugo-theme.css
in themes/hugo-theme-learn/static/css
212 -
menu.html
in themes/hugo-theme-learn/layouts/partials
140 -
theme-mine.css
in static/css
124 -
header.html
in themes/hugo-theme-learn/layouts/partials
104 -
delete_header.html
in layouts/partials
91 -
theme-green.css
in themes/hugo-theme-learn/static/css
90 -
theme-blue.css
in themes/hugo-theme-learn/static/css
90 -
theme-red.css
in themes/hugo-theme-learn/static/css
90 -
children.html
in themes/hugo-theme-learn/layouts/shortcodes
85 -
theme-mine.css
in themes/hugo-theme-learn/exampleSite/static/css
84 -
hybrid.css
in themes/hugo-theme-learn/static/css
72 -
atom-one-dark-reasonable.css
in themes/hugo-theme-learn/static/css
70 -
footer.html
in themes/hugo-theme-learn/layouts/partials
67 -
config.toml
in themes/hugo-theme-learn/exampleSite
62 -
404.html
in themes/hugo-theme-learn/layouts
50 -
tags.css
in themes/hugo-theme-learn/static/css
42 -
config.toml
in root
40 -
auto-complete.css
in themes/hugo-theme-learn/static/css
40 -
logo.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
37 -
attachments.html
in themes/hugo-theme-learn/layouts/shortcodes
34 -
index.html
in themes/hugo-theme-learn/layouts
30 -
ghcontributors.html
in layouts/shortcodes
29 -
ghcontributors.html
in themes/hugo-theme-learn/exampleSite/layouts/shortcodes
29 -
buildspec.yaml
in root
20 -
theme.toml
in themes/hugo-theme-learn
18 -
list.html
in themes/hugo-theme-learn/layouts/_default
18 -
id.toml
in themes/hugo-theme-learn/i18n
18 -
fr.toml
in themes/hugo-theme-learn/i18n
18 -
nl.toml
in themes/hugo-theme-learn/i18n
18 -
es.toml
in themes/hugo-theme-learn/i18n
18 -
pt.toml
in themes/hugo-theme-learn/i18n
18 -
tr.toml
in themes/hugo-theme-learn/i18n
18 -
en.toml
in themes/hugo-theme-learn/i18n
18 -
netlify.toml
in themes/hugo-theme-learn
17 -
search.html
in themes/hugo-theme-learn/layouts/partials
16 -
expand.html
in themes/hugo-theme-learn/layouts/shortcodes
16 -
relref.html
in themes/hugo-theme-learn/layouts/shortcodes
14 -
ref.html
in themes/hugo-theme-learn/layouts/shortcodes
14 -
button.html
in themes/hugo-theme-learn/layouts/shortcodes
13 -
wercker.yml
in themes/hugo-theme-learn
12 -
menu-footer.html
in layouts/partials
10 -
custom-header.html
in layouts/partials
9 -
single.html
in themes/hugo-theme-learn/layouts/_default
9 -
custom-footer.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
8 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

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

File# lines# units# long lines
logo.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
37 - 16
footer.html
in themes/hugo-theme-learn/layouts/partials
67 - 14
children.html
in themes/hugo-theme-learn/layouts/shortcodes
85 - 12
theme.css
in themes/hugo-theme-learn/static/css
1104 - 8
menu.html
in themes/hugo-theme-learn/layouts/partials
140 - 8
delete_header.html
in layouts/partials
91 - 5
header.html
in themes/hugo-theme-learn/layouts/partials
104 - 5
menu-footer.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
7 - 4
404.html
in themes/hugo-theme-learn/layouts
50 - 4
menu-footer.html
in layouts/partials
10 - 2
nucleus.css
in themes/hugo-theme-learn/static/css
522 - 2
search.html
in themes/hugo-theme-learn/layouts/partials
16 - 2
index.html
in themes/hugo-theme-learn/layouts
30 - 2
theme-mine.css
in static/css
124 - 1
custom-header.html
in layouts/partials
9 - 1
ghcontributors.html
in layouts/shortcodes
29 - 1
theme-green.css
in themes/hugo-theme-learn/static/css
90 - 1
atom-one-dark-reasonable.css
in themes/hugo-theme-learn/static/css
70 - 1
theme-blue.css
in themes/hugo-theme-learn/static/css
90 - 1
theme-red.css
in themes/hugo-theme-learn/static/css
90 - 1