aws-samples / aws-lex-web-ui
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 64 files with 10,707 lines of code.
    • 1 very long files (1,013 lines of code)
    • 3 long files (1,651 lines of code)
    • 13 medium size files (4,657 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,227 lines of code)
    • 32 very small files (1,159 lines of code)
9% | 15% | 43% | 20% | 10%
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
js27% | 0% | 26% | 30% | 14%
yaml0% | 18% | 65% | 15% | 0%
py0% | 59% | 24% | 0% | 16%
vue0% | 21% | 47% | 18% | 12%
html0% | 0% | 51% | 34% | 14%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lex-web-ui/src18% | 9% | 39% | 22% | 9%
templates0% | 18% | 65% | 15% | 0%
templates/custom-resources0% | 59% | 24% | 0% | 16%
src/website0% | 0% | 52% | 34% | 12%
lex-web-ui0% | 0% | 0% | 97% | 2%
src/initiate-chat-lambda0% | 0% | 0% | 100% | 0%
src/lex-web-ui-loader0% | 0% | 0% | 37% | 62%
config0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
config/utils0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
lex-web-ui/public0% | 0% | 0% | 0% | 100%
lex-web-ui/current0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
actions.js
in lex-web-ui/src/store
1013 57
codebuild-deploy.yaml
in templates
569 -
lexutils.py
in templates/custom-resources
559 32
LexWeb.vue
in lex-web-ui/src/components
523 -
pipeline.yaml
in templates
490 -
ToolbarContainer.vue
in lex-web-ui/src/components
457 -
master-pipeline.yaml
in templates
442 -
master.yaml
in templates
439 -
recorder.js
in lex-web-ui/src/lib/lex
397 31
Message.vue
in lex-web-ui/src/components
395 -
cognitouserpoolconfig.yaml
in templates
389 -
mutations.js
in lex-web-ui/src/store
332 46
InputContainer.vue
in lex-web-ui/src/components
304 -
parent.html
in src/website
278 -
cognito.yaml
in templates
252 -
client.js
in lex-web-ui/src/lib/lex
251 8
lex-manager.py
in templates/custom-resources
231 10
RecorderStatus.vue
in lex-web-ui/src/components
184 -
restapi.yaml
in templates
183 -
iframeparent.html
in src/website
182 -
wav-worker.js
in lex-web-ui/src/lib/lex
180 12
vue.config.js
in lex-web-ui
167 7
MessageText.vue
in lex-web-ui/src/components
166 -
index.js
in lex-web-ui/src/config
158 4
coderepo.yaml
in templates
155 -
lexbot.yaml
in templates
140 -
live-chat-handlers.js
in lex-web-ui/src/store
137 -
recorder-handlers.js
in lex-web-ui/src/store
135 -
lex-web-ui.js
in lex-web-ui/src
115 1
ResponseCard.vue
in lex-web-ui/src/components
114 -
index.js
in src/initiate-chat-lambda
107 3
index.js
in src/lex-web-ui-loader/js
104 9
MinButton.vue
in lex-web-ui/src/components
99 -
MessageList.vue
in lex-web-ui/src/components
94 -
state.js
in lex-web-ui/src/store
87 -
getters.js
in lex-web-ui/src/store
78 -
lex-web-ui-iframe.css
in src/lex-web-ui-loader/css
74 -
MessageLoading.vue
in lex-web-ui/src/components
74 -
s3-cleanup.py
in templates/custom-resources
65 3
base.env.js
in config
64 -
dependencies.js
in src/lex-web-ui-loader/js/defaults
64 -
index.html
in src/website
60 -
codebuild-start.py
in templates/custom-resources
56 2
update-lex-web-ui-config.js
in build
54 -
merge-config.js
in config/utils
40 1
LexApp.vue
in lex-web-ui/src
33 -
cfnresponse.py
in templates/custom-resources
31 2
full.env.js
in config
31 2
dist.env.js
in config
21 -
loader.js
in src/lex-web-ui-loader/js/defaults
19 -
Files With Most Units (Top 17)
File# lines# units
actions.js
in lex-web-ui/src/store
1013 57
mutations.js
in lex-web-ui/src/store
332 46
lexutils.py
in templates/custom-resources
559 32
recorder.js
in lex-web-ui/src/lib/lex
397 31
wav-worker.js
in lex-web-ui/src/lib/lex
180 12
lex-manager.py
in templates/custom-resources
231 10
index.js
in src/lex-web-ui-loader/js
104 9
client.js
in lex-web-ui/src/lib/lex
251 8
vue.config.js
in lex-web-ui
167 7
index.js
in lex-web-ui/src/config
158 4
s3-cleanup.py
in templates/custom-resources
65 3
index.js
in src/initiate-chat-lambda
107 3
codebuild-start.py
in templates/custom-resources
56 2
cfnresponse.py
in templates/custom-resources
31 2
full.env.js
in config
31 2
merge-config.js
in config/utils
40 1
lex-web-ui.js
in lex-web-ui/src
115 1
Files With Long Lines (Top 20)

There are 21 files with lines longer than 120 characters. In total, there are 56 long lines.

File# lines# units# long lines
base.env.js
in config
64 - 7
restapi.yaml
in templates
183 - 5
pipeline.yaml
in templates
490 - 5
master-pipeline.yaml
in templates
442 - 5
iframeparent.html
in src/website
182 - 5
cognitouserpoolconfig.yaml
in templates
389 - 4
codebuild-deploy.yaml
in templates
569 - 4
parent.html
in src/website
278 - 3
actions.js
in lex-web-ui/src/store
1013 57 3
coderepo.yaml
in templates
155 - 2
getters.js
in lex-web-ui/src/store
78 - 2
Message.vue
in lex-web-ui/src/components
395 - 2
cognito.yaml
in templates
252 - 1
master.yaml
in templates
439 - 1
index.html
in src/website
60 - 1
index.js
in src/initiate-chat-lambda
107 3 1
live-chat-handlers.js
in lex-web-ui/src/store
137 - 1
mutations.js
in lex-web-ui/src/store
332 46 1
MessageText.vue
in lex-web-ui/src/components
166 - 1
LexWeb.vue
in lex-web-ui/src/components
523 - 1