aws-samples / amazon-connect-custom-ccp
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 31 files with 2,495 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (280 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (1,063 lines of code)
    • 24 very small files (1,152 lines of code)
0% | 0% | 11% | 42% | 46%
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
jsx0% | 0% | 20% | 54% | 25%
js0% | 0% | 0% | 28% | 71%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ccp-ui/src/components0% | 0% | 21% | 57% | 21%
ccp-cdk-infra/lib0% | 0% | 0% | 100% | 0%
ccp-cdk-infra/lib/lambdaCode/updateIntentTable0% | 0% | 0% | 100% | 0%
ccp-ui/src0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/newConnectId0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/updateRecordingStatus0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/populateDB0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getIntentMetrics0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getActiveAgents0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getCallIntents0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getCustomersInQueue0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/updateContactTraceRecord0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getLongestWaitTime0% | 0% | 0% | 0% | 100%
ccp-ui/public0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getAvrAbandTime0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getAvrQueueTime0% | 0% | 0% | 0% | 100%
ccp-cdk-infra/lib/lambdaCode/getMissedCalls0% | 0% | 0% | 0% | 100%
Longest Files (Top 31)
File# lines# units
StatisticsModal.jsx
in ccp-ui/src/components
280 -
TaggingModal.jsx
in ccp-ui/src/components
200 -
CustomerInfo.jsx
in ccp-ui/src/components
193 -
ActionsSection.jsx
in ccp-ui/src/components
192 -
ccp-stack.js
in ccp-cdk-infra/lib
176 1
RecordingActions.jsx
in ccp-ui/src/components
161 -
index.js
in ccp-cdk-infra/lib/lambdaCode/updateIntentTable
141 -
index.js
in ccp-cdk-infra/lib/lambdaCode/newConnectId
97 -
hooks.js
in ccp-ui/src
95 -
serviceWorker.js
in ccp-ui/src
94 4
Checklist.jsx
in ccp-ui/src/components
88 -
index.js
in ccp-cdk-infra/lib/lambdaCode/updateRecordingStatus
87 -
index.js
in ccp-cdk-infra/lib/lambdaCode/populateDB
75 -
ContactDispositionSection.jsx
in ccp-ui/src/components
73 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getIntentMetrics
72 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getActiveAgents
54 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getCallIntents
45 -
App.jsx
in ccp-ui/src
43 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getCustomersInQueue
43 -
ConnectCCP.jsx
in ccp-ui/src/components
41 -
Dashboard.jsx
in ccp-ui/src/components
40 -
index.js
in ccp-cdk-infra/lib/lambdaCode/updateContactTraceRecord
40 -
AppLayout.jsx
in ccp-ui/src/components
38 -
index.jsx
in ccp-ui/src
31 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getLongestWaitTime
22 -
index.html
in ccp-ui/public
17 -
config.js
in ccp-ui/src
14 -
lib.js
in ccp-ui/src
14 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getAvrAbandTime
10 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getAvrQueueTime
10 -
index.js
in ccp-cdk-infra/lib/lambdaCode/getMissedCalls
9 -
Files With Most Units (Top 2)
File# lines# units
serviceWorker.js
in ccp-ui/src
94 4
ccp-stack.js
in ccp-cdk-infra/lib
176 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
ActionsSection.jsx
in ccp-ui/src/components
192 - 2
ccp-stack.js
in ccp-cdk-infra/lib
176 1 2
config.js
in ccp-ui/src
14 - 1
ContactDispositionSection.jsx
in ccp-ui/src/components
73 - 1