aws-samples / chime-voiceconnector-agent-assist
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 27 files with 3,100 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (709 lines of code)
    • 3 medium size files (955 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (741 lines of code)
    • 17 very small files (695 lines of code)
0% | 22% | 30% | 23% | 22%
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
yml0% | 62% | 37% | 0% | 0%
js0% | 0% | 34% | 33% | 32%
css0% | 0% | 0% | 53% | 46%
graphql0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
amplify/backend0% | 52% | 32% | 15% | 0%
src/search0% | 0% | 83% | 0% | 16%
src/agentAssist0% | 0% | 100% | 0% | 0%
src/utils0% | 0% | 0% | 68% | 31%
src/styles0% | 0% | 0% | 53% | 46%
infrastructure/function0% | 0% | 0% | 27% | 72%
src/apps0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/constants0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
cognitocf0c6096-cloudformation-template.yml
in amplify/backend/auth/cognitocf0c6096
709 -
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
434 -
StreamingRecord.js
in src/search
286 4
AgentAssist.js
in src/agentAssist
235 7
elasticsearch.js
in src/utils
197 6
AgentAssist.css
in src/styles
129 -
schema.graphql
in amplify/backend/api/chimeagentassist
110 -
index.js
in amplify/backend/function/chimevcagentassist76fdc921/src
102 2
index.js
in infrastructure/function/src/transcriptToESFunction
102 4
transcript.js
in src/utils
101 4
serviceWorker.js
in src/utils
81 4
lambda_function.py
in infrastructure/function/src/retrieveMergedAudioUrl
80 6
index.js
in infrastructure/function/src/s3AudioStreamingLambdaFunction
79 2
StreamingRecord.css
in src/styles
75 -
HistorySearch.js
in src/search
58 4
index.js
in infrastructure/function/src/metadataStreamingLambdaFunction
58 2
index.js
in infrastructure/function/src/searchLambdaFunction
57 3
App.js
in src/apps
48 3
audio.js
in src/utils
41 1
index.js
in src/constants
21 -
aws-exports.js
in src
18 -
index.html
in public
17 -
App.css
in src/styles
15 -
sts.js
in src/utils
14 1
index.css
in src/styles
13 -
index.js
in src
10 -
HistorySearch.css
in src/styles
10 -
Files With Most Units (Top 15)
File# lines# units
AgentAssist.js
in src/agentAssist
235 7
elasticsearch.js
in src/utils
197 6
lambda_function.py
in infrastructure/function/src/retrieveMergedAudioUrl
80 6
StreamingRecord.js
in src/search
286 4
HistorySearch.js
in src/search
58 4
serviceWorker.js
in src/utils
81 4
transcript.js
in src/utils
101 4
index.js
in infrastructure/function/src/transcriptToESFunction
102 4
App.js
in src/apps
48 3
index.js
in infrastructure/function/src/searchLambdaFunction
57 3
index.js
in amplify/backend/function/chimevcagentassist76fdc921/src
102 2
index.js
in infrastructure/function/src/s3AudioStreamingLambdaFunction
79 2
index.js
in infrastructure/function/src/metadataStreamingLambdaFunction
58 2
sts.js
in src/utils
14 1
audio.js
in src/utils
41 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
434 - 14
schema.graphql
in amplify/backend/api/chimeagentassist
110 - 5
cognitocf0c6096-cloudformation-template.yml
in amplify/backend/auth/cognitocf0c6096
709 - 1
HistorySearch.js
in src/search
58 4 1
lambda_function.py
in infrastructure/function/src/retrieveMergedAudioUrl
80 6 1