amazon-connect / amazon-connect-chatjs
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 17 files with 1,836 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (765 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (569 lines of code)
    • 10 very small files (502 lines of code)
0% | 0% | 41% | 30% | 27%
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% | 31% | 26%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/core0% | 0% | 44% | 20% | 35%
showcase0% | 0% | 91% | 0% | 8%
src/client0% | 0% | 100% | 0% | 0%
src0% | 0% | 0% | 73% | 26%
src/core/connectionHelpers0% | 0% | 0% | 51% | 48%
Longest Files (Top 17)
File# lines# units
chatController.js
in src/core
286 26
test.js
in showcase
245 14
client.js
in src/client
234 20
LpcConnectionHelper.js
in src/core/connectionHelpers
156 26
utils.js
in src
143 18
log.js
in src
137 16
chatSession.js
in src/core
133 22
eventbus.js
in src/core
92 16
chatArgsValidator.js
in src/core
86 10
constants.js
in src
76 -
connectionDetailsProvider.js
in src/core/connectionHelpers
75 10
baseConnectionHelper.js
in src/core/connectionHelpers
71 7
exceptions.js
in src/core
52 5
index.html
in showcase
24 -
globalConfig.js
in src
16 3
chat.js
in src
6 1
index.js
in src
4 -
Files With Most Units (Top 14)
File# lines# units
chatController.js
in src/core
286 26
LpcConnectionHelper.js
in src/core/connectionHelpers
156 26
chatSession.js
in src/core
133 22
client.js
in src/client
234 20
utils.js
in src
143 18
eventbus.js
in src/core
92 16
log.js
in src
137 16
test.js
in showcase
245 14
chatArgsValidator.js
in src/core
86 10
connectionDetailsProvider.js
in src/core/connectionHelpers
75 10
baseConnectionHelper.js
in src/core/connectionHelpers
71 7
exceptions.js
in src/core
52 5
globalConfig.js
in src
16 3
chat.js
in src
6 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
test.js
in showcase
245 14 4
chatController.js
in src/core
286 26 1
baseConnectionHelper.js
in src/core/connectionHelpers
71 7 1
connectionDetailsProvider.js
in src/core/connectionHelpers
75 10 1