aws / aws-iot-device-sdk-python-v2
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 19 files with 6,834 lines of code.
    • 1 very long files (3,681 lines of code)
    • 2 long files (1,157 lines of code)
    • 4 medium size files (1,378 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (302 lines of code)
    • 10 very small files (316 lines of code)
53% | 16% | 20% | 4% | 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
py54% | 17% | 20% | 4% | 4%
yml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
awsiot/greengrasscoreipc82% | 0% | 16% | 0% | <1%
awsiot0% | 52% | 29% | 13% | 4%
continuous-delivery0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
utils0% | 0% | 0% | 0% | 100%
docsrc0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
model.py
in awsiot/greengrasscoreipc
3681 787
iotshadow.py
in awsiot
614 65
iotjobs.py
in awsiot
543 48
eventstreamrpc.py
in awsiot
461 53
clientv2.py
in awsiot/greengrasscoreipc
420 60
client.py
in awsiot/greengrasscoreipc
293 128
iotidentity.py
in awsiot
204 25
greengrass_discovery.py
in awsiot
159 11
mqtt_connection_builder.py
in awsiot
143 9
__init__.py
in awsiot
96 6
__init__.py
in awsiot/greengrasscoreipc
42 1
parse_cert_set_result.py
in utils
37 -
setup.py
in root
34 2
conf.py
in docsrc
28 -
pip-install-with-retry.py
in continuous-delivery
27 -
make-docs.py
in root
17 -
publish_to_test_pypi.yml
in continuous-delivery
16 -
publish_to_prod_pypi.yml
in continuous-delivery
16 -
cfg
setup.cfg
in root
3 -
Files With Most Units (Top 12)
File# lines# units
model.py
in awsiot/greengrasscoreipc
3681 787
client.py
in awsiot/greengrasscoreipc
293 128
iotshadow.py
in awsiot
614 65
clientv2.py
in awsiot/greengrasscoreipc
420 60
eventstreamrpc.py
in awsiot
461 53
iotjobs.py
in awsiot
543 48
iotidentity.py
in awsiot
204 25
greengrass_discovery.py
in awsiot
159 11
mqtt_connection_builder.py
in awsiot
143 9
__init__.py
in awsiot
96 6
setup.py
in root
34 2
__init__.py
in awsiot/greengrasscoreipc
42 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
clientv2.py
in awsiot/greengrasscoreipc
420 60 15
model.py
in awsiot/greengrasscoreipc
3681 787 6
iotjobs.py
in awsiot
543 48 5
client.py
in awsiot/greengrasscoreipc
293 128 3
parse_cert_set_result.py
in utils
37 - 2
publish_to_test_pypi.yml
in continuous-delivery
16 - 1
publish_to_prod_pypi.yml
in continuous-delivery
16 - 1