aws-samples / multi-channel-customer-engagement
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 11 files with 3,377 lines of code.
    • 1 very long files (1,012 lines of code)
    • 2 long files (1,128 lines of code)
    • 2 medium size files (543 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (631 lines of code)
    • 2 very small files (63 lines of code)
29% | 33% | 16% | 18% | 1%
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
yaml30% | 34% | 16% | 19% | 0%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation30% | 34% | 16% | 19% | 0%
cloudformation/function_create_config0% | 0% | 0% | 0% | 100%
cloudformation/function_copy_website0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
apiGateway-backend.yaml
in assets/cloudformation
1012 -
alexaLexDynamo-backend.yaml
in assets/cloudformation
607 -
voiceAnalytics.yaml
in assets/cloudformation
521 -
connect-chat-backend.yaml
in assets/cloudformation
324 -
mainTemplate.yaml
in assets/cloudformation
219 -
customer-portal-front-end.yaml
in assets/cloudformation
171 -
agent-portal-front-end.yaml
in assets/cloudformation
171 -
customer-portal-config.yaml
in assets/cloudformation
149 -
cognito-appClientSettings.yaml
in assets/cloudformation
140 -
lambda_function.py
in assets/cloudformation/function_create_config
33 3
lambda_function.py
in assets/cloudformation/function_copy_website
30 3
Files With Most Units (Top 2)
File# lines# units
lambda_function.py
in assets/cloudformation/function_copy_website
30 3
lambda_function.py
in assets/cloudformation/function_create_config
33 3
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
apiGateway-backend.yaml
in assets/cloudformation
1012 - 15
connect-chat-backend.yaml
in assets/cloudformation
324 - 6
alexaLexDynamo-backend.yaml
in assets/cloudformation
607 - 3
mainTemplate.yaml
in assets/cloudformation
219 - 1
customer-portal-front-end.yaml
in assets/cloudformation
171 - 1
voiceAnalytics.yaml
in assets/cloudformation
521 - 1
agent-portal-front-end.yaml
in assets/cloudformation
171 - 1