aws-samples / automated-iot-fleet-provisioning-by-claim
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 14 files with 1,046 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (454 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (323 lines of code)
    • 10 very small files (269 lines of code)
0% | 0% | 43% | 30% | 25%
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
yaml0% | 0% | 51% | 36% | 12%
py0% | 0% | 36% | 26% | 37%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 80% | 0% | 19%
SubTemplates/IoT/Lambdas/provision_device0% | 0% | 87% | 0% | 12%
SubTemplates/IoT0% | 0% | 0% | 100% | 0%
SubTemplates/IoT/Lambdas/provision_device/client0% | 0% | 0% | 84% | 15%
SubTemplates/IoT/Lambdas/cert_rotation_monitor0% | 0% | 0% | 0% | 100%
SubTemplates/IoT/Lambdas/bootstrap_generator0% | 0% | 0% | 0% | 100%
SubTemplates/IoT/Lambdas/cert_rotation_hook0% | 0% | 0% | 0% | 100%
SubTemplates/IoT/Lambdas/provision_hook0% | 0% | 0% | 0% | 100%
SubTemplates/IoT/Lambdas/provision_device/client/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
pipeline.yaml
in root
250 -
app.py
in SubTemplates/IoT/Lambdas/provision_device
204 15
template.yaml
in SubTemplates/IoT
177 -
provisioning_handler.py
in SubTemplates/IoT/Lambdas/provision_device/client
146 12
app.py
in SubTemplates/IoT/Lambdas/cert_rotation_monitor
49 4
app.py
in SubTemplates/IoT/Lambdas/bootstrap_generator
45 2
app.py
in SubTemplates/IoT/Lambdas/cert_rotation_hook
40 3
buildspec.yaml
in root
35 -
cfnresponse.py
in SubTemplates/IoT/Lambdas/provision_device
30 1
main.py
in SubTemplates/IoT/Lambdas/provision_device/client
26 2
template.yaml
in root
24 -
app.py
in SubTemplates/IoT/Lambdas/provision_hook
10 1
config_loader.py
in SubTemplates/IoT/Lambdas/provision_device/client/utils
9 2
__init__.py
in SubTemplates/IoT/Lambdas/provision_device/client/utils
1 -
Files With Most Units (Top 9)
File# lines# units
app.py
in SubTemplates/IoT/Lambdas/provision_device
204 15
provisioning_handler.py
in SubTemplates/IoT/Lambdas/provision_device/client
146 12
app.py
in SubTemplates/IoT/Lambdas/cert_rotation_monitor
49 4
app.py
in SubTemplates/IoT/Lambdas/cert_rotation_hook
40 3
app.py
in SubTemplates/IoT/Lambdas/bootstrap_generator
45 2
config_loader.py
in SubTemplates/IoT/Lambdas/provision_device/client/utils
9 2
main.py
in SubTemplates/IoT/Lambdas/provision_device/client
26 2
app.py
in SubTemplates/IoT/Lambdas/provision_hook
10 1
cfnresponse.py
in SubTemplates/IoT/Lambdas/provision_device
30 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 5 long lines.

File# lines# units# long lines
provisioning_handler.py
in SubTemplates/IoT/Lambdas/provision_device/client
146 12 5