aws-samples / aws-modernization-workshop-with-cloudone-application-security
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 10 files with 1,347 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (554 lines of code)
    • 1 medium size files (206 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (420 lines of code)
    • 5 very small files (167 lines of code)
0% | 41% | 15% | 31% | 12%
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
yaml0% | 52% | 19% | 27% | 0%
css0% | 0% | 0% | 81% | 18%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
static/cft0% | 75% | 0% | 24% | 0%
pipeline/webhosting0% | 0% | 64% | 35% | 0%
static/css0% | 0% | 0% | 81% | 18%
ROOT0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
c1as-lambda-workshop.yaml
in static/cft
554 -
pipeline.yaml
in pipeline/webhosting
206 -
c1as-fargate-workshop.yaml
in static/cft
179 -
theme-mine.css
in static/css
127 -
cloudfront-s3-website.yaml
in pipeline/webhosting
114 -
config.toml
in root
78 -
webspec.yml
in root
32 -
mp-devops-series.css
in static/css
28 -
custom-header.html
in layouts/partials
24 -
menu-footer.html
in layouts/partials
5 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 6 long lines.

File# lines# units# long lines
c1as-lambda-workshop.yaml
in static/cft
554 - 2
cloudfront-s3-website.yaml
in pipeline/webhosting
114 - 1
theme-mine.css
in static/css
127 - 1
webspec.yml
in root
32 - 1
config.toml
in root
78 - 1