aws-samples / aws-modernization-with-sysdig
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 96 files with 9,620 lines of code.
    • 2 very long files (2,214 lines of code)
    • 2 long files (1,044 lines of code)
    • 11 medium size files (2,915 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (970 lines of code)
    • 74 very small files (2,477 lines of code)
23% | 10% | 30% | 10% | 25%
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% | 15%
yaml0% | 0% | 42% | 36% | 21%
js0% | 0% | 69% | 0% | 30%
html0% | 0% | 0% | 31% | 68%
toml0% | 0% | 0% | 20% | 79%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
themes/hugo-theme-learn25% | 11% | 24% | 5% | 32%
public/css44% | 21% | 8% | 5% | 20%
public/mermaid0% | 0% | 100% | 0% | 0%
code-samples/cloudformation0% | 0% | 58% | 25% | 16%
public/js0% | 0% | 69% | 0% | 30%
pipeline/webhosting0% | 0% | 0% | 65% | 34%
static/css0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 69% | 30%
hugo-docs-content0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
code-samples/codebuild0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in public/css
1107 -
theme.css
in themes/hugo-theme-learn/static/css
1107 -
nucleus.css
in public/css
522 -
nucleus.css
in themes/hugo-theme-learn/static/css
522 -
learn.js
in public/js
342 40
mermaid.forest.css
in public/mermaid
340 -
mermaid.forest.css
in themes/hugo-theme-learn/static/mermaid
340 -
mermaid.dark.css
in public/mermaid
262 -
mermaid.dark.css
in themes/hugo-theme-learn/static/mermaid
262 -
mermaid.css
in public/mermaid
260 -
mermaid.css
in themes/hugo-theme-learn/static/mermaid
260 -
vpc.yaml
in code-samples/cloudformation/vpc
216 -
hugo-theme.css
in public/css
212 -
hugo-theme.css
in themes/hugo-theme-learn/static/css
212 -
teamrole-testing.yaml
in code-samples/cloudformation/ee
209 -
vpc.yaml
in code-samples/cloudformation
188 -
pipeline.yaml
in pipeline/webhosting
180 -
menu.html
in themes/hugo-theme-learn/layouts/partials
140 -
theme-mine.css
in static/css
127 -
theme-mine.css
in public/css
127 -
config.toml
in root
104 -
header.html
in themes/hugo-theme-learn/layouts/partials
104 -
cloudfront-s3-website.yaml
in pipeline/webhosting
96 -
theme-green.css
in public/css
90 -
theme-blue.css
in public/css
90 -
theme-red.css
in public/css
90 -
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
86 -
theme-mine.css
in themes/hugo-theme-learn/exampleSite/static/css
84 -
config.toml
in themes/hugo-theme-learn/exampleSite
84 -
hugo-learn.js
in public/js
82 5
hybrid.css
in public/css
72 -
hybrid.css
in themes/hugo-theme-learn/static/css
72 -
atom-one-dark-reasonable.css
in public/css
70 -
atom-one-dark-reasonable.css
in themes/hugo-theme-learn/static/css
70 -
search.js
in public/js
69 8
footer.html
in themes/hugo-theme-learn/layouts/partials
66 -
config.toml
in hugo-docs-content
60 -
404.html
in themes/hugo-theme-learn/layouts
48 -
404.html
in public
46 -
buildspec-container-build-ecr.yml
in code-samples/codebuild
43 -
tags.css
in public/css
42 -
tags.css
in themes/hugo-theme-learn/static/css
42 -
modernization-role.yaml
in code-samples/cloudformation/iam
41 -
auto-complete.css
in public/css
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
35 -
Files With Most Units (Top 3)
File# lines# units
learn.js
in public/js
342 40
search.js
in public/js
69 8
hugo-learn.js
in public/js
82 5
Files With Long Lines (Top 20)

There are 37 files with lines longer than 120 characters. In total, there are 113 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
66 - 13
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 - 12
theme.css
in public/css
1107 - 8
theme.css
in themes/hugo-theme-learn/static/css
1107 - 8
menu.html
in themes/hugo-theme-learn/layouts/partials
140 - 8
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
48 - 4
learn.js
in public/js
342 40 3
nucleus.css
in public/css
522 - 2
buildspec-container-build-ecr.yml
in code-samples/codebuild
43 - 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
cloudfront-s3-website.yaml
in pipeline/webhosting
96 - 1
theme-mine.css
in static/css
127 - 1
webspec.yml
in root
32 - 1
search.js
in public/js
69 8 1
theme-green.css
in public/css
90 - 1