aws-samples / aws-modernization-with-bridgecrew
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 129 files with 9,552 lines of code.
    • 2 very long files (2,214 lines of code)
    • 2 long files (1,044 lines of code)
    • 8 medium size files (2,148 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,112 lines of code)
    • 109 very small files (3,034 lines of code)
23% | 10% | 22% | 11% | 31%
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%
html0% | 0% | 0% | 34% | 65%
yaml0% | 0% | 0% | 65% | 34%
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
terraform-workshop/themes25% | 12% | 25% | 5% | 31%
themes/hugo-theme-learn25% | 12% | 25% | 5% | 31%
pipeline/webhosting0% | 0% | 0% | 65% | 34%
terraform-workshop/pipeline0% | 0% | 0% | 65% | 34%
static/css0% | 0% | 0% | 100% | 0%
terraform-workshop/static0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
terraform-workshop0% | 0% | 0% | 0% | 100%
terraform-workshop/layouts0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in terraform-workshop/themes/hugo-theme-learn/static/css
1107 -
theme.css
in themes/hugo-theme-learn/static/css
1107 -
nucleus.css
in terraform-workshop/themes/hugo-theme-learn/static/css
522 -
nucleus.css
in themes/hugo-theme-learn/static/css
522 -
mermaid.forest.css
in terraform-workshop/themes/hugo-theme-learn/static/mermaid
340 -
mermaid.forest.css
in themes/hugo-theme-learn/static/mermaid
340 -
mermaid.dark.css
in terraform-workshop/themes/hugo-theme-learn/static/mermaid
262 -
mermaid.dark.css
in themes/hugo-theme-learn/static/mermaid
262 -
mermaid.css
in terraform-workshop/themes/hugo-theme-learn/static/mermaid
260 -
mermaid.css
in themes/hugo-theme-learn/static/mermaid
260 -
hugo-theme.css
in terraform-workshop/themes/hugo-theme-learn/static/css
212 -
hugo-theme.css
in themes/hugo-theme-learn/static/css
212 -
pipeline.yaml
in pipeline/webhosting
180 -
pipeline.yaml
in terraform-workshop/pipeline/webhosting
180 -
menu.html
in terraform-workshop/themes/hugo-theme-learn/layouts/partials
142 -
menu.html
in themes/hugo-theme-learn/layouts/partials
142 -
theme-mine.css
in static/css
127 -
theme-mine.css
in terraform-workshop/static/css
127 -
header.html
in terraform-workshop/themes/hugo-theme-learn/layouts/partials
107 -
header.html
in themes/hugo-theme-learn/layouts/partials
107 -
cloudfront-s3-website.yaml
in pipeline/webhosting
96 -
cloudfront-s3-website.yaml
in terraform-workshop/pipeline/webhosting
96 -
theme-green.css
in terraform-workshop/themes/hugo-theme-learn/static/css
90 -
theme-blue.css
in terraform-workshop/themes/hugo-theme-learn/static/css
90 -
theme-red.css
in terraform-workshop/themes/hugo-theme-learn/static/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 terraform-workshop/themes/hugo-theme-learn/layouts/shortcodes
86 -
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 -
theme-mine.css
in terraform-workshop/themes/hugo-theme-learn/exampleSite/static/css
84 -
theme-mine.css
in themes/hugo-theme-learn/exampleSite/static/css
84 -
hybrid.css
in terraform-workshop/themes/hugo-theme-learn/static/css
72 -
hybrid.css
in themes/hugo-theme-learn/static/css
72 -
atom-one-dark-reasonable.css
in terraform-workshop/themes/hugo-theme-learn/static/css
70 -
atom-one-dark-reasonable.css
in themes/hugo-theme-learn/static/css
70 -
config.toml
in root
69 -
footer.html
in terraform-workshop/themes/hugo-theme-learn/layouts/partials
66 -
footer.html
in themes/hugo-theme-learn/layouts/partials
66 -
config.toml
in terraform-workshop
57 -
404.html
in terraform-workshop/themes/hugo-theme-learn/layouts
48 -
404.html
in themes/hugo-theme-learn/layouts
48 -
tags.css
in terraform-workshop/themes/hugo-theme-learn/static/css
42 -
tags.css
in themes/hugo-theme-learn/static/css
42 -
auto-complete.css
in terraform-workshop/themes/hugo-theme-learn/static/css
40 -
auto-complete.css
in themes/hugo-theme-learn/static/css
40 -
logo.html
in terraform-workshop/themes/hugo-theme-learn/exampleSite/layouts/partials
37 -
logo.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
37 -
attachments.html
in terraform-workshop/themes/hugo-theme-learn/layouts/shortcodes
35 -
attachments.html
in themes/hugo-theme-learn/layouts/shortcodes
35 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 53 files with lines longer than 120 characters. In total, there are 183 long lines.

File# lines# units# long lines
logo.html
in terraform-workshop/themes/hugo-theme-learn/exampleSite/layouts/partials
37 - 16
logo.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
37 - 16
footer.html
in terraform-workshop/themes/hugo-theme-learn/layouts/partials
66 - 13
footer.html
in themes/hugo-theme-learn/layouts/partials
66 - 13
children.html
in terraform-workshop/themes/hugo-theme-learn/layouts/shortcodes
86 - 12
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 - 12
theme.css
in terraform-workshop/themes/hugo-theme-learn/static/css
1107 - 8
menu.html
in terraform-workshop/themes/hugo-theme-learn/layouts/partials
142 - 8
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 terraform-workshop/themes/hugo-theme-learn/layouts/partials
107 - 5
header.html
in themes/hugo-theme-learn/layouts/partials
107 - 5
menu-footer.html
in terraform-workshop/themes/hugo-theme-learn/exampleSite/layouts/partials
7 - 4
404.html
in terraform-workshop/themes/hugo-theme-learn/layouts
48 - 4
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 terraform-workshop/themes/hugo-theme-learn/static/css
522 - 2
search.html
in terraform-workshop/themes/hugo-theme-learn/layouts/partials
16 - 2
index.html
in terraform-workshop/themes/hugo-theme-learn/layouts
30 - 2
nucleus.css
in themes/hugo-theme-learn/static/css
522 - 2