aws / aws-iot-device-sdk-python
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 36 files with 3,983 lines of code.
    • 1 very long files (1,627 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,225 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (767 lines of code)
    • 26 very small files (364 lines of code)
40% | 0% | 30% | 19% | 9%
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
py40% | 0% | 30% | 19% | 8%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
AWSIoTPythonSDK/core/protocol/paho99% | 0% | 0% | 0% | <1%
AWSIoTPythonSDK/core/protocol/connection0% | 0% | 92% | 0% | 7%
AWSIoTPythonSDK/core/protocol0% | 0% | 99% | 0% | <1%
AWSIoTPythonSDK/core/greengrass/discovery0% | 0% | 67% | 32% | <1%
AWSIoTPythonSDK/core/protocol/internal0% | 0% | 47% | 36% | 16%
AWSIoTPythonSDK/core/shadow0% | 0% | 0% | 78% | 22%
AWSIoTPythonSDK0% | 0% | 0% | 99% | <1%
AWSIoTPythonSDK/core/jobs0% | 0% | 0% | 99% | <1%
AWSIoTPythonSDK/exception0% | 0% | 0% | 0% | 100%
AWSIoTPythonSDK/core/util0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
AWSIoTPythonSDK/core0% | 0% | 0% | 0% | 100%
AWSIoTPythonSDK/core/greengrass0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
client.py
in AWSIoTPythonSDK/core/protocol/paho
1627 83
cores.py
in AWSIoTPythonSDK/core/protocol/connection
459 41
mqtt_core.py
in AWSIoTPythonSDK/core/protocol
309 40
providers.py
in AWSIoTPythonSDK/core/greengrass/discovery
234 19
workers.py
in AWSIoTPythonSDK/core/protocol/internal
223 43
deviceShadow.py
in AWSIoTPythonSDK/core/shadow
195 19
clients.py
in AWSIoTPythonSDK/core/protocol/internal
175 33
MQTTLib.py
in AWSIoTPythonSDK
169 57
models.py
in AWSIoTPythonSDK/core/greengrass/discovery
114 26
thingJobManager.py
in AWSIoTPythonSDK/core/jobs
114 8
AWSIoTExceptions.py
in AWSIoTPythonSDK/exception
80 26
providers.py
in AWSIoTPythonSDK/core/util
57 23
shadowManager.py
in AWSIoTPythonSDK/core/shadow
54 9
queues.py
in AWSIoTPythonSDK/core/protocol/internal
48 6
alpn.py
in AWSIoTPythonSDK/core/protocol/connection
36 9
setup.py
in root
33 -
events.py
in AWSIoTPythonSDK/core/protocol/internal
12 -
requests.py
in AWSIoTPythonSDK/core/protocol/internal
10 1
in
MANIFEST.in
in root
6 -
defaults.py
in AWSIoTPythonSDK/core/protocol/internal
5 -
operationTimeoutException.py
in AWSIoTPythonSDK/exception
3 1
operationError.py
in AWSIoTPythonSDK/exception
3 1
enums.py
in AWSIoTPythonSDK/core/util
3 -
cfg
setup.cfg
in root
2 -
__init__.py
in AWSIoTPythonSDK
1 -
__init__.py
in AWSIoTPythonSDK/exception
1 -
__init__.py
in AWSIoTPythonSDK/core
1 -
__init__.py
in AWSIoTPythonSDK/core/util
1 -
__init__.py
in AWSIoTPythonSDK/core/greengrass
1 -
__init__.py
in AWSIoTPythonSDK/core/greengrass/discovery
1 -
__init__.py
in AWSIoTPythonSDK/core/jobs
1 -
__init__.py
in AWSIoTPythonSDK/core/protocol
1 -
__init__.py
in AWSIoTPythonSDK/core/protocol/paho
1 -
__init__.py
in AWSIoTPythonSDK/core/protocol/connection
1 -
__init__.py
in AWSIoTPythonSDK/core/protocol/internal
1 -
__init__.py
in AWSIoTPythonSDK/core/shadow
1 -
Files With Most Units (Top 18)
File# lines# units
client.py
in AWSIoTPythonSDK/core/protocol/paho
1627 83
MQTTLib.py
in AWSIoTPythonSDK
169 57
workers.py
in AWSIoTPythonSDK/core/protocol/internal
223 43
cores.py
in AWSIoTPythonSDK/core/protocol/connection
459 41
mqtt_core.py
in AWSIoTPythonSDK/core/protocol
309 40
clients.py
in AWSIoTPythonSDK/core/protocol/internal
175 33
AWSIoTExceptions.py
in AWSIoTPythonSDK/exception
80 26
models.py
in AWSIoTPythonSDK/core/greengrass/discovery
114 26
providers.py
in AWSIoTPythonSDK/core/util
57 23
providers.py
in AWSIoTPythonSDK/core/greengrass/discovery
234 19
deviceShadow.py
in AWSIoTPythonSDK/core/shadow
195 19
alpn.py
in AWSIoTPythonSDK/core/protocol/connection
36 9
shadowManager.py
in AWSIoTPythonSDK/core/shadow
54 9
thingJobManager.py
in AWSIoTPythonSDK/core/jobs
114 8
queues.py
in AWSIoTPythonSDK/core/protocol/internal
48 6
operationTimeoutException.py
in AWSIoTPythonSDK/exception
3 1
operationError.py
in AWSIoTPythonSDK/exception
3 1
requests.py
in AWSIoTPythonSDK/core/protocol/internal
10 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 54 long lines.

File# lines# units# long lines
MQTTLib.py
in AWSIoTPythonSDK
169 57 16
client.py
in AWSIoTPythonSDK/core/protocol/paho
1627 83 12
thingJobManager.py
in AWSIoTPythonSDK/core/jobs
114 8 7
cores.py
in AWSIoTPythonSDK/core/protocol/connection
459 41 6
deviceShadow.py
in AWSIoTPythonSDK/core/shadow
195 19 5
mqtt_core.py
in AWSIoTPythonSDK/core/protocol
309 40 2
clients.py
in AWSIoTPythonSDK/core/protocol/internal
175 33 2
shadowManager.py
in AWSIoTPythonSDK/core/shadow
54 9 2
providers.py
in AWSIoTPythonSDK/core/greengrass/discovery
234 19 1
alpn.py
in AWSIoTPythonSDK/core/protocol/connection
36 9 1