aws-quickstart / quickstart-urbanio-iot-aas
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 23 files with 2,146 lines of code.
    • 1 very long files (1,312 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 22 very small files (834 lines of code)
61% | 0% | 0% | 0% | 38%
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
yaml100% | 0% | 0% | 0% | 0%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates100% | 0% | 0% | 0% | 0%
functions/source/asset-model-converter0% | 0% | 0% | 0% | 100%
functions/source/association-updater0% | 0% | 0% | 0% | 100%
functions/source/attributes-updater0% | 0% | 0% | 0% | 100%
functions/source/s3-to-lifecycle-events-converter0% | 0% | 0% | 0% | 100%
functions/source/iot-core-to-sqs0% | 0% | 0% | 0% | 100%
functions/source/lifecycle-events-mapping-updater0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
main.template.yaml
in templates
1312 -
handler.py
in functions/source/asset-model-converter
99 2
handler.py
in functions/source/attributes-updater
84 3
sitewise.py
in functions/source/asset-model-converter
78 9
handler.py
in functions/source/association-updater
72 3
handler.py
in functions/source/s3-to-lifecycle-events-converter
64 3
model_converter.py
in functions/source/asset-model-converter
51 2
asset_converter.py
in functions/source/asset-model-converter
47 5
handler.py
in functions/source/iot-core-to-sqs
37 1
sitewise_models_cache.py
in functions/source/asset-model-converter
30 7
association_converter.py
in functions/source/association-updater
30 2
sitewise_assets_cache.py
in functions/source/asset-model-converter
27 5
handler.py
in functions/source/lifecycle-events-mapping-updater
25 2
sitewise_integration_points.py
in functions/source/asset-model-converter
23 5
sitewise_integration_points.py
in functions/source/association-updater
23 5
sitewise_integration_points.py
in functions/source/s3-to-lifecycle-events-converter
23 5
sqs.py
in functions/source/asset-model-converter
21 2
sqs.py
in functions/source/association-updater
21 2
sitewise_asset.py
in functions/source/association-updater
20 4
sitewise_asset.py
in functions/source/attributes-updater
17 2
sitewise_assets_cache.py
in functions/source/association-updater
16 4
sitewise_assets_cache.py
in functions/source/attributes-updater
15 3
event_mappings.py
in functions/source/attributes-updater
11 2
Files With Most Units (Top 20)
File# lines# units
sitewise.py
in functions/source/asset-model-converter
78 9
sitewise_models_cache.py
in functions/source/asset-model-converter
30 7
sitewise_integration_points.py
in functions/source/asset-model-converter
23 5
asset_converter.py
in functions/source/asset-model-converter
47 5
sitewise_assets_cache.py
in functions/source/asset-model-converter
27 5
sitewise_integration_points.py
in functions/source/association-updater
23 5
sitewise_integration_points.py
in functions/source/s3-to-lifecycle-events-converter
23 5
sitewise_asset.py
in functions/source/association-updater
20 4
sitewise_assets_cache.py
in functions/source/association-updater
16 4
handler.py
in functions/source/attributes-updater
84 3
sitewise_assets_cache.py
in functions/source/attributes-updater
15 3
handler.py
in functions/source/association-updater
72 3
handler.py
in functions/source/s3-to-lifecycle-events-converter
64 3
model_converter.py
in functions/source/asset-model-converter
51 2
handler.py
in functions/source/asset-model-converter
99 2
sqs.py
in functions/source/asset-model-converter
21 2
sitewise_asset.py
in functions/source/attributes-updater
17 2
event_mappings.py
in functions/source/attributes-updater
11 2
handler.py
in functions/source/lifecycle-events-mapping-updater
25 2
association_converter.py
in functions/source/association-updater
30 2
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 32 long lines.

File# lines# units# long lines
main.template.yaml
in templates
1312 - 4
model_converter.py
in functions/source/asset-model-converter
51 2 4
handler.py
in functions/source/s3-to-lifecycle-events-converter
64 3 4
asset_converter.py
in functions/source/asset-model-converter
47 5 3
handler.py
in functions/source/asset-model-converter
99 2 3
sqs.py
in functions/source/asset-model-converter
21 2 2
handler.py
in functions/source/association-updater
72 3 2
sqs.py
in functions/source/association-updater
21 2 2
handler.py
in functions/source/iot-core-to-sqs
37 1 1
sitewise_integration_points.py
in functions/source/asset-model-converter
23 5 1
sitewise_assets_cache.py
in functions/source/asset-model-converter
27 5 1
event_mappings.py
in functions/source/attributes-updater
11 2 1
handler.py
in functions/source/lifecycle-events-mapping-updater
25 2 1
sitewise_integration_points.py
in functions/source/association-updater
23 5 1
association_converter.py
in functions/source/association-updater
30 2 1
sitewise_integration_points.py
in functions/source/s3-to-lifecycle-events-converter
23 5 1