aws-samples / aws-lambda-redirection-at-edge
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 20 files with 1,667 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (608 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (504 lines of code)
    • 14 very small files (555 lines of code)
0% | 0% | 36% | 30% | 33%
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% | 0% | 100% | 0% | 0%
css0% | 0% | 67% | 32% | 0%
js0% | 0% | 0% | 49% | 50%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation0% | 0% | 100% | 0% | 0%
userinterface/css0% | 0% | 67% | 32% | 0%
lambda/deploy-function0% | 0% | 0% | 100% | 0%
lambda/origin-request-function0% | 0% | 0% | 50% | 49%
userinterface/js/contollers0% | 0% | 0% | 57% | 42%
userinterface/js/services0% | 0% | 0% | 0% | 100%
userinterface/views0% | 0% | 0% | 0% | 100%
userinterface0% | 0% | 0% | 0% | 100%
userinterface/js0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
template.yaml
in cloudformation
332 -
material-datetimepicker.css
in userinterface/css
276 -
index.js
in lambda/deploy-function
141 6
app.css
in userinterface/css
130 -
rules.js
in lambda/origin-request-function
129 10
AppController.js
in userinterface/js/contollers
104 11
rule.html
in userinterface/views
99 -
index.js
in lambda/origin-request-function
80 1
awsService.js
in userinterface/js/services
77 8
LoginController.js
in userinterface/js/contollers
49 5
utils.js
in lambda/origin-request-function
48 3
index.html
in userinterface
46 -
auth.html
in userinterface/views
32 -
tokenService.js
in userinterface/js/services
31 8
configService.js
in userinterface/js/services
27 2
GlobalController.js
in userinterface/js/contollers
26 2
httpService.js
in userinterface/js/services
26 3
app.js
in userinterface/js
12 1
index.js
in userinterface/js/contollers
1 -
index.js
in userinterface/js/services
1 -
Files With Most Units (Top 12)
File# lines# units
AppController.js
in userinterface/js/contollers
104 11
rules.js
in lambda/origin-request-function
129 10
tokenService.js
in userinterface/js/services
31 8
awsService.js
in userinterface/js/services
77 8
index.js
in lambda/deploy-function
141 6
LoginController.js
in userinterface/js/contollers
49 5
httpService.js
in userinterface/js/services
26 3
utils.js
in lambda/origin-request-function
48 3
GlobalController.js
in userinterface/js/contollers
26 2
configService.js
in userinterface/js/services
27 2
app.js
in userinterface/js
12 1
index.js
in lambda/origin-request-function
80 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 30 long lines.

File# lines# units# long lines
rule.html
in userinterface/views
99 - 17
AppController.js
in userinterface/js/contollers
104 11 3
LoginController.js
in userinterface/js/contollers
49 5 2
awsService.js
in userinterface/js/services
77 8 2
auth.html
in userinterface/views
32 - 2
template.yaml
in cloudformation
332 - 1
app.js
in userinterface/js
12 1 1
GlobalController.js
in userinterface/js/contollers
26 2 1
index.html
in userinterface
46 - 1