aws-samples / reinvent2021-tsa-bot
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 18 files with 2,047 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,129 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (270 lines of code)
    • 12 very small files (648 lines of code)
0% | 0% | 55% | 13% | 31%
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
py0% | 0% | 59% | 6% | 33%
js0% | 0% | 0% | 92% | 7%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
TSA-demo/TSA_mecha0% | 0% | 74% | 0% | 25%
TSA-demo/TSA_voice_assistant0% | 0% | 81% | 0% | 18%
cloudformation-templates/lib0% | 0% | 0% | 94% | 5%
TSA-demo/TSA_rekognition0% | 0% | 0% | 57% | 42%
TSA-demo/TSA_flight_status0% | 0% | 0% | 0% | 100%
cloudformation-templates/cdk.out/asset.34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad220% | 0% | 0% | 0% | 100%
cloudformation-templates/resources/Lambda/update-flight-LasVegasdeparture0% | 0% | 0% | 0% | 100%
cloudformation-templates0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
finalflow-mqtt-dev-rasp.py
in TSA-demo/TSA_mecha
310 3
finalflow-mqtt-dev-local.py
in TSA-demo/TSA_mecha
309 3
raspberry_voice_assistant_local.py
in TSA-demo/TSA_voice_assistant
258 14
raspberry_voice_assistant.py
in TSA-demo/TSA_voice_assistant
252 14
tsabot_service.js
in cloudformation-templates/lib
153 5
iot_sub_reko.py
in TSA-demo/TSA_rekognition
117 9
servo_actions_local.py
in TSA-demo/TSA_mecha
99 5
servo_actions.py
in TSA-demo/TSA_mecha
97 5
flight.py
in TSA-demo/TSA_flight_status
85 4
apa102.py
in TSA-demo/TSA_voice_assistant
71 12
flight.py
in cloudformation-templates/cdk.out/asset.34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22
66 4
flight.py
in cloudformation-templates/resources/Lambda/update-flight-LasVegasdeparture
66 4
detect_labels_image.py
in TSA-demo/TSA_rekognition
54 3
waver.py
in TSA-demo/TSA_voice_assistant
45 2
connect_dynamo.py
in TSA-demo/TSA_rekognition
34 1
test-servo.py
in TSA-demo/TSA_mecha
19 1
tsabot-templates-stack.js
in cloudformation-templates/lib
9 1
jest.config.js
in cloudformation-templates
3 -
Files With Most Units (Top 17)
File# lines# units
raspberry_voice_assistant_local.py
in TSA-demo/TSA_voice_assistant
258 14
raspberry_voice_assistant.py
in TSA-demo/TSA_voice_assistant
252 14
apa102.py
in TSA-demo/TSA_voice_assistant
71 12
iot_sub_reko.py
in TSA-demo/TSA_rekognition
117 9
tsabot_service.js
in cloudformation-templates/lib
153 5
servo_actions_local.py
in TSA-demo/TSA_mecha
99 5
servo_actions.py
in TSA-demo/TSA_mecha
97 5
flight.py
in cloudformation-templates/cdk.out/asset.34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22
66 4
flight.py
in cloudformation-templates/resources/Lambda/update-flight-LasVegasdeparture
66 4
flight.py
in TSA-demo/TSA_flight_status
85 4
detect_labels_image.py
in TSA-demo/TSA_rekognition
54 3
finalflow-mqtt-dev-local.py
in TSA-demo/TSA_mecha
309 3
finalflow-mqtt-dev-rasp.py
in TSA-demo/TSA_mecha
310 3
waver.py
in TSA-demo/TSA_voice_assistant
45 2
tsabot-templates-stack.js
in cloudformation-templates/lib
9 1
connect_dynamo.py
in TSA-demo/TSA_rekognition
34 1
test-servo.py
in TSA-demo/TSA_mecha
19 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 73 long lines.

File# lines# units# long lines
finalflow-mqtt-dev-local.py
in TSA-demo/TSA_mecha
309 3 33
finalflow-mqtt-dev-rasp.py
in TSA-demo/TSA_mecha
310 3 33
connect_dynamo.py
in TSA-demo/TSA_rekognition
34 1 2
tsabot_service.js
in cloudformation-templates/lib
153 5 1
flight.py
in cloudformation-templates/cdk.out/asset.34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22
66 4 1
flight.py
in cloudformation-templates/resources/Lambda/update-flight-LasVegasdeparture
66 4 1
iot_sub_reko.py
in TSA-demo/TSA_rekognition
117 9 1
flight.py
in TSA-demo/TSA_flight_status
85 4 1