aws-samples / aws-simple-streaming-webapp
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 19 files with 1,767 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (824 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (187 lines of code)
    • 16 very small files (756 lines of code)
0% | 0% | 46% | 10% | 42%
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
js0% | 0% | 42% | 17% | 40%
yml0% | 0% | 95% | 0% | 4%
scss0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend/src/components0% | 0% | 54% | 21% | 24%
frontend/amplify/backend/auth0% | 0% | 100% | 0% | 0%
backend0% | 0% | 0% | 0% | 100%
frontend/amplify/backend/function0% | 0% | 0% | 0% | 100%
backend/docker_files/src0% | 0% | 0% | 0% | 100%
frontend/public0% | 0% | 0% | 0% | 100%
frontend/src/components/player0% | 0% | 0% | 0% | 100%
backend/docker_files0% | 0% | 0% | 0% | 100%
frontend/src0% | 0% | 0% | 0% | 100%
backend/docker_files/health0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
stream.js
in frontend/src/components
471 2
simplewebstreaming5fec9bae-cloudformation-template.yml
in frontend/amplify/backend/auth/simplewebstreaming5fec9bae
353 -
home.js
in frontend/src/components
187 -
home.style.scss
in frontend/src/components
84 -
stream.style.scss
in frontend/src/components
83 -
lambda_function.py
in backend
81 7
index.js
in frontend/amplify/backend/function/ISSgetServers/src
79 -
index.js
in frontend/amplify/backend/function/saveIVSparam/src
62 -
transwrap.js
in backend/docker_files/src
57 -
transwrap.js
in backend
57 -
transwrap_local.js
in backend/docker_files/src
50 -
transwrap_local.js
in backend
50 -
App.js
in frontend/src/components
45 -
index.html
in frontend/public
36 -
player.js
in frontend/src/components/player
32 5
buildspec.yml
in backend/docker_files
17 -
index.js
in frontend/src
9 -
health-check.html
in backend/docker_files/health
7 -
health-check.html
in backend
7 -
Files With Most Units (Top 3)
File# lines# units
lambda_function.py
in backend
81 7
player.js
in frontend/src/components/player
32 5
stream.js
in frontend/src/components
471 2
Files With Long Lines (Top 13)

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

File# lines# units# long lines
stream.style.scss
in frontend/src/components
83 - 6
stream.js
in frontend/src/components
471 2 4
lambda_function.py
in backend
81 7 4
buildspec.yml
in backend/docker_files
17 - 2
transwrap.js
in backend/docker_files/src
57 - 2
transwrap.js
in backend
57 - 2
simplewebstreaming5fec9bae-cloudformation-template.yml
in frontend/amplify/backend/auth/simplewebstreaming5fec9bae
353 - 1
index.js
in frontend/amplify/backend/function/ISSgetServers/src
79 - 1
home.js
in frontend/src/components
187 - 1
home.style.scss
in frontend/src/components
84 - 1
index.html
in frontend/public
36 - 1
transwrap_local.js
in backend/docker_files/src
50 - 1
transwrap_local.js
in backend
50 - 1