aws-samples / aws-iot-ota-deployment-tool
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,211 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (236 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (608 lines of code)
    • 8 very small files (367 lines of code)
0% | 0% | 19% | 50% | 30%
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% | 19% | 50% | 30%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 39% | 34% | 26%
src/aws_interfaces0% | 0% | 0% | 87% | 12%
deploy0% | 0% | 0% | 70% | 29%
src/lambda_handlers0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
jobs_configure.py
in src
236 12
deploy_agent.py
in deploy
183 6
iot_interface.py
in src/aws_interfaces
114 8
jobs_scheduler.py
in src
105 4
alarm_interface.py
in src/aws_interfaces
105 5
monitor.py
in src
101 4
add_job_schedule.py
in src
98 4
metrics_generator.py
in src/lambda_handlers
78 5
daemon.py
in deploy
77 7
fetch_job_schedule.py
in src
63 1
s3_interface.py
in src/aws_interfaces
30 3
ota_force_stopper.py
in src/lambda_handlers
19 1
__init__.py
in src/aws_interfaces
1 -
__init__.py
in src/lambda_handlers
1 -
Files With Most Units (Top 12)
File# lines# units
jobs_configure.py
in src
236 12
iot_interface.py
in src/aws_interfaces
114 8
daemon.py
in deploy
77 7
deploy_agent.py
in deploy
183 6
alarm_interface.py
in src/aws_interfaces
105 5
metrics_generator.py
in src/lambda_handlers
78 5
add_job_schedule.py
in src
98 4
monitor.py
in src
101 4
jobs_scheduler.py
in src
105 4
s3_interface.py
in src/aws_interfaces
30 3
fetch_job_schedule.py
in src
63 1
ota_force_stopper.py
in src/lambda_handlers
19 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 9 long lines.

File# lines# units# long lines
add_job_schedule.py
in src
98 4 4
monitor.py
in src
101 4 3
jobs_scheduler.py
in src
105 4 1
fetch_job_schedule.py
in src
63 1 1