aws-samples / aws-modernization-with-lacework
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 67 files with 4,102 lines of code.
    • 1 very long files (1,107 lines of code)
    • 1 long files (522 lines of code)
    • 1 medium size files (212 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (555 lines of code)
    • 60 very small files (1,706 lines of code)
26% | 12% | 5% | 13% | 41%
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
css43% | 20% | 8% | 4% | 23%
html0% | 0% | 0% | 32% | 67%
yaml0% | 0% | 0% | 65% | 34%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
policy0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
themes/hugo-theme-learn/static47% | 22% | 9% | 0% | 21%
themes/hugo-theme-learn/layouts0% | 0% | 0% | 38% | 61%
pipeline/webhosting0% | 0% | 0% | 65% | 34%
static/css0% | 0% | 0% | 81% | 18%
themes/hugo-theme-learn/exampleSite0% | 0% | 0% | 0% | 100%
themes/hugo-theme-learn/i18n0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
themes/hugo-theme-learn0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
layouts/_default/_markup0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in themes/hugo-theme-learn/static/css
1107 -
nucleus.css
in themes/hugo-theme-learn/static/css
522 -
hugo-theme.css
in themes/hugo-theme-learn/static/css
212 -
pipeline.yaml
in pipeline/webhosting
179 -
menu.html
in themes/hugo-theme-learn/layouts/partials
142 -
theme-mine.css
in static/css
127 -
header.html
in themes/hugo-theme-learn/layouts/partials
107 -
cloudfront-s3-website.yaml
in pipeline/webhosting
96 -
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 -
config.toml
in themes/hugo-theme-learn/exampleSite
87 -
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 -
theme-mine.css
in themes/hugo-theme-learn/exampleSite/static/css
84 -
footer.html
in themes/hugo-theme-learn/layouts/partials
73 -
hybrid.css
in themes/hugo-theme-learn/static/css
72 -
config.toml
in root
70 -
atom-one-dark-reasonable.css
in themes/hugo-theme-learn/static/css
70 -
404.html
in themes/hugo-theme-learn/layouts
48 -
tags.css
in themes/hugo-theme-learn/static/css
42 -
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
35 -
webspec.yml
in root
32 -
index.html
in themes/hugo-theme-learn/layouts
30 -
ghcontributors.html
in themes/hugo-theme-learn/exampleSite/layouts/shortcodes
29 -
mp-devops-series.css
in static/css
28 -
custom-header.html
in layouts/partials
24 -
policy
demo-default-policy.policy
in config
21 -
theme.toml
in themes/hugo-theme-learn
18 -
list.html
in themes/hugo-theme-learn/layouts/_default
18 -
zh-cn.toml
in themes/hugo-theme-learn/i18n
18 -
de.toml
in themes/hugo-theme-learn/i18n
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 -
hi.toml
in themes/hugo-theme-learn/i18n
18 -
ar.toml
in themes/hugo-theme-learn/i18n
18 -
ru.toml
in themes/hugo-theme-learn/i18n
18 -
ja.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 -
expand.html
in themes/hugo-theme-learn/layouts/shortcodes
17 -
search.html
in themes/hugo-theme-learn/layouts/partials
16 -
relref.html
in themes/hugo-theme-learn/layouts/shortcodes
14 -
button.html
in themes/hugo-theme-learn/layouts/shortcodes
14 -
ref.html
in themes/hugo-theme-learn/layouts/shortcodes
14 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 27 files with lines longer than 120 characters. In total, there are 91 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
73 - 12
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 - 12
theme.css
in themes/hugo-theme-learn/static/css
1107 - 8
menu.html
in themes/hugo-theme-learn/layouts/partials
142 - 8
header.html
in themes/hugo-theme-learn/layouts/partials
107 - 5
menu-footer.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
7 - 4
404.html
in themes/hugo-theme-learn/layouts
48 - 4
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
cloudfront-s3-website.yaml
in pipeline/webhosting
96 - 1
theme-mine.css
in static/css
127 - 1
webspec.yml
in root
32 - 1
render-link.html
in layouts/_default/_markup
1 - 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
theme-mine.css
in themes/hugo-theme-learn/exampleSite/static/css
84 - 1