aws-samples / aws-modernization-with-tricentis
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,620 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)
    • 11 very small files (566 lines of code)
30% | 14% | 20% | 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
css42% | 19% | 8% | 21% | 8%
js0% | 0% | 68% | 0% | 31%
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/css44% | 20% | 8% | 17% | 8%
public/js0% | 0% | 68% | 0% | 31%
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
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 -
config.toml
in root
86 -
hugo-learn.js
in public/js
80 5
hybrid.css
in public/css
72 -
atom-one-dark-reasonable.css
in public/css
70 -
search.js
in public/js
69 8
404.html
in public
46 -
tags.css
in public/css
42 -
auto-complete.css
in public/css
40 -
webspec.yml
in root
32 -
custom-header.html
in layouts/partials
24 -
menu-footer.html
in layouts/partials
5 -
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 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
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