aws-samples / amazon-ivs-chime-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 24 files with 3,524 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (708 lines of code)
    • 3 medium size files (1,231 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,046 lines of code)
    • 13 very small files (539 lines of code)
0% | 20% | 34% | 29% | 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
css0% | 86% | 0% | 0% | 13%
js0% | 0% | 85% | 0% | 14%
yaml0% | 0% | 100% | 0% | 0%
jsx0% | 0% | 0% | 80% | 19%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
web-ui/src0% | 85% | 0% | 0% | 14%
serverless/lambda0% | 0% | 100% | 0% | 0%
web-ui/src/components/chime0% | 0% | 100% | 0% | 0%
serverless0% | 0% | 100% | 0% | 0%
web-ui/src/components/chimeWeb0% | 0% | 0% | 71% | 28%
web-ui/src/components/chat0% | 0% | 0% | 64% | 35%
web-ui/src/components/videoPlayer0% | 0% | 0% | 100% | 0%
web-ui/src/components0% | 0% | 0% | 0% | 100%
web-ui/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
index.css
in web-ui/src
708 -
index.js
in serverless/lambda
460 5
ChimeSdkWrapper.js
in web-ui/src/components/chime
421 26
template.yaml
in serverless
350 -
VideoPlayer.jsx
in web-ui/src/components/videoPlayer
177 -
Chat.jsx
in web-ui/src/components/chat
177 -
Meeting.jsx
in web-ui/src/components/chimeWeb
174 -
Settings.jsx
in web-ui/src/components/chimeWeb
153 -
RemoteVideoGroup.jsx
in web-ui/src/components/chimeWeb
148 -
Welcome.jsx
in web-ui/src/components/chimeWeb
114 -
LocalVideo.jsx
in web-ui/src/components/chimeWeb
103 -
serviceWorker.js
in web-ui/src
98 4
Chat.css
in web-ui/src/components/chat
97 -
Join.jsx
in web-ui/src/components/chimeWeb
95 -
RemoteVideo.jsx
in web-ui/src/components/chimeWeb
77 -
Error.jsx
in web-ui/src/components/chimeWeb
59 -
App.js
in web-ui/src/components
30 -
End.jsx
in web-ui/src/components/chimeWeb
27 -
index.html
in web-ui/public
21 -
index.js
in web-ui/src
12 -
Attendees.css
in web-ui/src/components/chimeWeb
10 -
config.js
in web-ui/src
8 -
Error.css
in web-ui/src/components/chimeWeb
4 -
App.css
in web-ui/src/components
1 -
Files With Most Units (Top 3)
File# lines# units
ChimeSdkWrapper.js
in web-ui/src/components/chime
421 26
index.js
in serverless/lambda
460 5
serviceWorker.js
in web-ui/src
98 4
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 18 long lines.

File# lines# units# long lines
VideoPlayer.jsx
in web-ui/src/components/videoPlayer
177 - 4
index.css
in web-ui/src
708 - 3
Chat.jsx
in web-ui/src/components/chat
177 - 2
RemoteVideo.jsx
in web-ui/src/components/chimeWeb
77 - 2
LocalVideo.jsx
in web-ui/src/components/chimeWeb
103 - 2
template.yaml
in serverless
350 - 1
config.js
in web-ui/src
8 - 1
ChimeSdkWrapper.js
in web-ui/src/components/chime
421 26 1
Error.jsx
in web-ui/src/components/chimeWeb
59 - 1
index.html
in web-ui/public
21 - 1