aws-samples / aws-modernization-with-hashicorp-terraform
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 26 files with 3,763 lines of code.
    • 1 very long files (1,113 lines of code)
    • 1 long files (522 lines of code)
    • 3 medium size files (745 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (674 lines of code)
    • 15 very small files (709 lines of code)
29% | 13% | 19% | 17% | 18%
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
css41% | 19% | 7% | 20% | 10%
js0% | 0% | 68% | 0% | 31%
yaml0% | 0% | 64% | 35% | 0%
html0% | 0% | 0% | 0% | 100%
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
public/css43% | 20% | 8% | 17% | 9%
public/js0% | 0% | 68% | 0% | 31%
pipeline/webhosting0% | 0% | 64% | 35% | 0%
static/css0% | 0% | 0% | 81% | 18%
ROOT0% | 0% | 0% | 0% | 100%
public/ee0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
public/oyo0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
theme.css
in public/css
1113 -
nucleus.css
in public/css
522 -
learn.js
in public/js
331 38
hugo-theme.css
in public/css
212 -
pipeline.yaml
in pipeline/webhosting
202 -
theme-mine.css
in static/css
127 -
theme-mine.css
in public/css
127 -
cloudfront-s3-website.yaml
in pipeline/webhosting
111 -
theme-green.css
in public/css
103 -
theme-blue.css
in public/css
103 -
theme-red.css
in public/css
103 -
hugo-learn.js
in public/js
80 5
config.toml
in root
78 -
hybrid.css
in public/css
72 -
atom-one-dark-reasonable.css
in public/css
70 -
404.html
in public/ee
70 -
404.html
in public
70 -
search.js
in public/js
69 8
tags.css
in public/css
42 -
auto-complete.css
in public/css
40 -
webspec.yml
in root
32 -
mp-devops-series.css
in static/css
28 -
mp-devops-series.css
in public/css
28 -
custom-header.html
in layouts/partials
24 -
menu-footer.html
in layouts/partials
5 -
index.html
in public/oyo
1 -
Files With Most Units (Top 3)
File# lines# units
learn.js
in public/js
331 38
search.js
in public/js
69 8
hugo-learn.js
in public/js
80 5
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 23 long lines.

File# lines# units# long lines
theme.css
in public/css
1113 - 8
learn.js
in public/js
331 38 3
nucleus.css
in public/css
522 - 2
cloudfront-s3-website.yaml
in pipeline/webhosting
111 - 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
103 - 1
atom-one-dark-reasonable.css
in public/css
70 - 1
theme-blue.css
in public/css
103 - 1
theme-red.css
in public/css
103 - 1
theme-mine.css
in public/css
127 - 1
index.html
in public/oyo
1 - 1