aws-samples / aws-amplify-connect
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 19 files with 1,699 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (781 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (523 lines of code)
    • 13 very small files (395 lines of code)
0% | 0% | 45% | 30% | 23%
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% | 43% | 32% | 23%
yml0% | 0% | 100% | 0% | 0%
py0% | 0% | 0% | 73% | 26%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/CCPData0% | 0% | 100% | 0% | 0%
amplify/backend/auth/lonelyconnect0f4684340% | 0% | 100% | 0% | 0%
amplify/backend/function/ConnectDialerJS/src0% | 0% | 0% | 100% | 0%
amplify/backend/function/apiRESTtelephonenumber/src0% | 0% | 0% | 96% | 3%
Python0% | 0% | 0% | 73% | 26%
src0% | 0% | 0% | 0% | 100%
amplify/backend/function/csvUploadStoreTrigger/src0% | 0% | 0% | 0% | 100%
amplify/backend/function/ConnectDialerSuccessUpdateJS/src0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
CCPData.js
in src/CCPData
274 14
lonelyconnect0f468434-cloudformation-template.yml
in amplify/backend/auth/lonelyconnect0f468434
270 -
CCPDataTables.js
in src/CCPData
237 4
index.js
in amplify/backend/function/ConnectDialerJS/src
199 3
app.js
in amplify/backend/function/apiRESTtelephonenumber/src
184 -
ConnectDialer.py
in Python
140 6
serviceWorker.js
in src
98 4
index.js
in amplify/backend/function/csvUploadStoreTrigger/src
73 1
ConnectDialerSuccessUpdate.py
in Python
50 3
index.js
in amplify/backend/function/ConnectDialerSuccessUpdateJS/src
39 -
App.css
in src
36 -
App.js
in src
23 -
CCP.js
in src
23 2
index.html
in public
21 -
index.css
in src
12 -
index.js
in src
10 -
index.js
in amplify/backend/function/apiRESTtelephonenumber/src
7 -
example.connect-url.js
in src
2 -
setupTests.js
in src
1 -
Files With Most Units (Top 8)
File# lines# units
CCPData.js
in src/CCPData
274 14
ConnectDialer.py
in Python
140 6
serviceWorker.js
in src
98 4
CCPDataTables.js
in src/CCPData
237 4
index.js
in amplify/backend/function/ConnectDialerJS/src
199 3
ConnectDialerSuccessUpdate.py
in Python
50 3
CCP.js
in src
23 2
index.js
in amplify/backend/function/csvUploadStoreTrigger/src
73 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 17 long lines.

File# lines# units# long lines
CCPDataTables.js
in src/CCPData
237 4 8
lonelyconnect0f468434-cloudformation-template.yml
in amplify/backend/auth/lonelyconnect0f468434
270 - 4
ConnectDialerSuccessUpdate.py
in Python
50 3 2
index.js
in amplify/backend/function/ConnectDialerJS/src
199 3 1
index.js
in amplify/backend/function/ConnectDialerSuccessUpdateJS/src
39 - 1
ConnectDialer.py
in Python
140 6 1