awslabs / aws-greengrass-labs-bluetooth-gateway
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,194 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (307 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (571 lines of code)
    • 4 very small files (316 lines of code)
0% | 0% | 25% | 47% | 26%
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% | 25% | 47% | 26%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 100% | 0% | 0%
src/ipc_pubsub0% | 0% | 0% | 100% | 0%
esp32-ble-device0% | 0% | 0% | 100% | 0%
src/ble0% | 0% | 0% | 51% | 48%
esp32-ble-device/ble0% | 0% | 0% | 0% | 100%
Longest Files (Top 9)
File# lines# units
main.py
in src
307 14
main.py
in esp32-ble-device
178 11
ble_uart_peripheral.py
in src/ble
154 11
ipc_topic_pubsub.py
in src/ipc_pubsub
121 9
mqtt_core_pubsub.py
in src/ipc_pubsub
118 9
ble_uart_controller.py
in src/ble
94 6
ble_uart_peripheral.py
in esp32-ble-device/ble
93 8
ble_advertising.py
in esp32-ble-device/ble
76 5
ble_scanner.py
in src/ble
53 5
Files With Most Units (Top 9)
File# lines# units
main.py
in src
307 14
ble_uart_peripheral.py
in src/ble
154 11
main.py
in esp32-ble-device
178 11
mqtt_core_pubsub.py
in src/ipc_pubsub
118 9
ipc_topic_pubsub.py
in src/ipc_pubsub
121 9
ble_uart_peripheral.py
in esp32-ble-device/ble
93 8
ble_uart_controller.py
in src/ble
94 6
ble_scanner.py
in src/ble
53 5
ble_advertising.py
in esp32-ble-device/ble
76 5
Files With Long Lines (Top 8)

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

File# lines# units# long lines
main.py
in src
307 14 10
ipc_topic_pubsub.py
in src/ipc_pubsub
121 9 8
mqtt_core_pubsub.py
in src/ipc_pubsub
118 9 7
main.py
in esp32-ble-device
178 11 5
ble_uart_peripheral.py
in src/ble
154 11 4
ble_uart_controller.py
in src/ble
94 6 2
ble_advertising.py
in esp32-ble-device/ble
76 5 1
ble_uart_peripheral.py
in esp32-ble-device/ble
93 8 1