aws-samples / amazon-ivs-ugc-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 36 files with 6,272 lines of code.
    • 1 very long files (1,269 lines of code)
    • 1 long files (839 lines of code)
    • 8 medium size files (2,761 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (467 lines of code)
    • 22 very small files (936 lines of code)
20% | 13% | 44% | 7% | 14%
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
js79% | 0% | 0% | 6% | 13%
css0% | 63% | 16% | 0% | 19%
jsx0% | 0% | 60% | 17% | 21%
yaml0% | 0% | 100% | 0% | 0%
html0% | 0% | 94% | 0% | 5%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
serverless/lambda100% | 0% | 0% | 0% | 0%
web-ui/src0% | 78% | 0% | 10% | 11%
serverless0% | 0% | 100% | 0% | 0%
web-ui/src/components/ugc0% | 0% | 73% | 7% | 19%
web-ui/src/components/ugc/modals0% | 0% | 42% | 28% | 28%
web-ui/src/components0% | 0% | 68% | 0% | 31%
web-ui/src/components/common0% | 0% | 0% | 37% | 62%
web-ui/src/components/videoPlayer0% | 0% | 0% | 0% | 100%
web-ui/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
index.js
in serverless/lambda
1269 -
index.css
in web-ui/src
839 -
packaged.yaml
in serverless
477 -
Settings.jsx
in web-ui/src/components/ugc
443 -
template.yaml
in serverless
434 -
example.html
in serverless
414 -
Channel.jsx
in web-ui/src/components/ugc
305 -
Layout.jsx
in web-ui/src/components/ugc
237 -
SignUp.jsx
in web-ui/src/components/ugc/modals
229 -
App.css
in web-ui/src/components
222 -
SignIn.jsx
in web-ui/src/components/ugc/modals
150 -
constants.js
in web-ui/src
109 -
Home.jsx
in web-ui/src/components/ugc
104 -
Header.jsx
in web-ui/src/components/common
104 -
serviceWorker.js
in web-ui/src
98 4
util.js
in web-ui/src/components
76 -
DeleteAccount.jsx
in web-ui/src/components/ugc/modals
74 -
VideoPlayer.jsx
in web-ui/src/components/videoPlayer
67 -
Auth.css
in web-ui/src/components/ugc/modals
65 -
Streams.jsx
in web-ui/src/components/ugc
54 -
HowToStream.jsx
in web-ui/src/components/ugc
53 -
HowToStream.css
in web-ui/src/components/ugc
50 -
Settings.css
in web-ui/src/components/ugc
49 -
Avatars.jsx
in web-ui/src/components/common
44 -
Messages.jsx
in web-ui/src/components/common
42 -
VideoPlayer.css
in web-ui/src/components/videoPlayer
41 -
BgColor.jsx
in web-ui/src/components/common
41 -
PasswordReq.jsx
in web-ui/src/components/common
32 -
Streams.css
in web-ui/src/components/ugc
31 -
App.js
in web-ui/src/components
25 -
index.html
in web-ui/public
24 -
SettingsField.jsx
in web-ui/src/components/ugc
23 -
DeleteAccount.css
in web-ui/src/components/ugc/modals
15 -
index.js
in web-ui/src
12 -
Messages.css
in web-ui/src/components/common
12 -
config.js
in web-ui/src
8 -
Files With Most Units (Top 1)
File# lines# units
serviceWorker.js
in web-ui/src
98 4
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 22 long lines.

File# lines# units# long lines
example.html
in serverless
414 - 9
index.js
in serverless/lambda
1269 - 5
index.css
in web-ui/src
839 - 3
Messages.jsx
in web-ui/src/components/common
42 - 2
config.js
in web-ui/src
8 - 1
Auth.css
in web-ui/src/components/ugc/modals
65 - 1
index.html
in web-ui/public
24 - 1