aws-samples / amazon-ivs-simple-chat-web-demo
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 15 files with 1,472 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (699 lines of code)
    • 1 medium size files (202 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (146 lines of code)
    • 12 very small files (425 lines of code)
0% | 47% | 13% | 9% | 28%
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
css0% | 86% | 0% | 0% | 13%
yaml0% | 0% | 100% | 0% | 0%
jsx0% | 0% | 0% | 56% | 43%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
web-ui/src0% | 86% | 0% | 0% | 13%
serverless0% | 0% | 100% | 0% | 0%
web-ui/src/components/chat0% | 0% | 0% | 54% | 45%
web-ui/src/components/videoPlayer0% | 0% | 0% | 0% | 100%
serverless/lambda0% | 0% | 0% | 0% | 100%
web-ui/public0% | 0% | 0% | 0% | 100%
web-ui/src/components0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
index.css
in web-ui/src
699 -
template.yaml
in serverless
202 -
Chat.jsx
in web-ui/src/components/chat
146 -
serviceWorker.js
in web-ui/src
98 4
Chat.css
in web-ui/src/components/chat
78 -
VideoPlayer.jsx
in web-ui/src/components/videoPlayer
70 -
app.js
in serverless/lambda
62 -
SignIn.jsx
in web-ui/src/components/chat
43 -
VideoPlayer.css
in web-ui/src/components/videoPlayer
27 -
index.html
in web-ui/public
21 -
index.js
in web-ui/src
12 -
App.js
in web-ui/src/components
10 1
config.js
in web-ui/src
2 -
setupTests.js
in web-ui/src
1 -
App.css
in web-ui/src/components
1 -
Files With Most Units (Top 2)
File# lines# units
serviceWorker.js
in web-ui/src
98 4
App.js
in web-ui/src/components
10 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
index.css
in web-ui/src
699 - 3
template.yaml
in serverless
202 - 2
Chat.jsx
in web-ui/src/components/chat
146 - 2
config.js
in web-ui/src
2 - 1
index.html
in web-ui/public
21 - 1