aws-quickstart / quickstart-quantiphi-lex-kendra-backend
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 9 files with 1,386 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (334 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (988 lines of code)
    • 2 very small files (64 lines of code)
0% | 0% | 24% | 71% | 4%
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
yaml0% | 0% | 40% | 59% | 0%
py0% | 0% | 0% | 88% | 11%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates0% | 0% | 40% | 59% | 0%
functions/source/lex_custom_resource0% | 0% | 0% | 100% | 0%
functions/source/kendra_search_intent_handler_lambda0% | 0% | 0% | 73% | 26%
functions/source/kendra_custom_resource0% | 0% | 0% | 100% | 0%
Longest Files (Top 9)
File# lines# units
lex_bot_kendra_master.template.yaml
in templates
334 -
lex_bot_resource.template.yaml
in templates
187 -
lex_custom_resource.py
in functions/source/lex_custom_resource
184 14
helpers.py
in functions/source/kendra_search_intent_handler_lambda
174 11
kendra_resource.template.yaml
in templates
168 -
kendra_custom_resource.py
in functions/source/kendra_custom_resource
139 12
lambda_kendra_search.template.yaml
in templates
136 -
lambda_function.py
in functions/source/kendra_search_intent_handler_lambda
56 2
config.py
in functions/source/kendra_search_intent_handler_lambda
8 -
Files With Most Units (Top 4)
File# lines# units
lex_custom_resource.py
in functions/source/lex_custom_resource
184 14
kendra_custom_resource.py
in functions/source/kendra_custom_resource
139 12
helpers.py
in functions/source/kendra_search_intent_handler_lambda
174 11
lambda_function.py
in functions/source/kendra_search_intent_handler_lambda
56 2
Files With Long Lines (Top 4)

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

File# lines# units# long lines
lex_bot_kendra_master.template.yaml
in templates
334 - 4
lex_custom_resource.py
in functions/source/lex_custom_resource
184 14 4
lambda_kendra_search.template.yaml
in templates
136 - 2
lex_bot_resource.template.yaml
in templates
187 - 1