aws-samples / amazon-ivs-chime-messaging-ugc-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 21 files with 1,799 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (894 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (600 lines of code)
    • 14 very small files (305 lines of code)
0% | 0% | 49% | 33% | 16%
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% | 56% | 30% | 12%
css0% | 0% | 0% | 91% | 8%
jsx0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 42% | 47% | 10%
src/chimeapi0% | 0% | 100% | 0% | 0%
src/like0% | 0% | 0% | 0% | 100%
src/config0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
src/assets/icons0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
chime.js
in src/chimeapi
348 21
myChannels.js
in src
286 3
chat.js
in src
260 6
App.js
in src
196 2
channel.js
in src
174 3
App.css
in src
127 -
channelList.js
in src
103 3
Heart.jsx
in src/like
64 -
utils.js
in src/like
59 -
createChannel.js
in src
46 1
deleteChannel.js
in src
39 1
apiConfig.js
in src/config
19 -
index.html
in public
14 -
schema.graphql
in src/config
13 -
index.js
in src
12 -
index.css
in src
12 -
reportWebVitals.js
in src
12 -
myInfo.js
in src
6 -
chimeConfig.js
in src/config
5 -
index.js
in src/assets/icons
3 -
setupTests.js
in src
1 -
Files With Most Units (Top 8)
File# lines# units
chime.js
in src/chimeapi
348 21
chat.js
in src
260 6
channelList.js
in src
103 3
myChannels.js
in src
286 3
channel.js
in src
174 3
App.js
in src
196 2
createChannel.js
in src
46 1
deleteChannel.js
in src
39 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
myChannels.js
in src
286 3 4
createChannel.js
in src
46 1 1