aws-samples / aws-modernization-with-confluent
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 22 files with 3,659 lines of code.
    • 1 very long files (1,113 lines of code)
    • 1 long files (522 lines of code)
    • 3 medium size files (779 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (677 lines of code)
    • 11 very small files (568 lines of code)
30% | 14% | 21% | 18% | 15%
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% | 21% | 9%
js0% | 0% | 70% | 0% | 29%
yaml0% | 0% | 64% | 35% | 0%
toml0% | 0% | 0% | 0% | 100%
html0% | 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% | 7% | 17% | 10%
public/js0% | 0% | 70% | 0% | 29%
pipeline/webhosting0% | 0% | 64% | 35% | 0%
static/css0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
theme.css
in public/css
1113 -
nucleus.css
in public/css
522 -
learn.js
in public/js
370 40
pipeline.yaml
in pipeline/webhosting
206 -
hugo-theme.css
in public/css
203 -
theme-mine.css
in static/css
127 -
theme-mine.css
in public/css
127 -
cloudfront-s3-website.yaml
in pipeline/webhosting
114 -
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
search.js
in public/js
72 8
hybrid.css
in public/css
72 -
atom-one-dark-reasonable.css
in public/css
70 -
config.toml
in root
69 -
404.html
in public
46 -
tags.css
in public/css
42 -
auto-complete.css
in public/css
40 -
tabs.css
in public/css
40 -
webspec.yml
in root
32 -
menu-footer.html
in layouts/partials
5 -
Files With Most Units (Top 3)
File# lines# units
learn.js
in public/js
370 40
search.js
in public/js
72 8
hugo-learn.js
in public/js
80 5
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 22 long lines.

File# lines# units# long lines
theme.css
in public/css
1113 - 8
learn.js
in public/js
370 40 3
nucleus.css
in public/css
522 - 2
cloudfront-s3-website.yaml
in pipeline/webhosting
114 - 1
theme-mine.css
in static/css
127 - 1
webspec.yml
in root
32 - 1
search.js
in public/js
72 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