aws-solutions / aws-ops-automator
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 116 files with 18,172 lines of code.
    • 0 very long files (0 lines of code)
    • 7 long files (5,133 lines of code)
    • 21 medium size files (6,524 lines of codeclsfd_ftr_w_mp_ins)
    • 26 small files (3,554 lines of code)
    • 62 very small files (2,961 lines of code)
0% | 28% | 35% | 19% | 16%
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% | 28% | 36% | 19% | 16%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
code/actions0% | 64% | 22% | 11% | 2%
code/configuration0% | 81% | 0% | 13% | 4%
code/testing0% | 26% | 33% | 27% | 13%
code/builders0% | 61% | 26% | 0% | 11%
code/handlers0% | 0% | 75% | 10% | 14%
code/services0% | 0% | 35% | 28% | 35%
code/scheduling0% | 0% | 78% | 0% | 21%
code/tagging0% | 0% | 57% | 0% | 42%
code0% | 0% | 0% | 78% | 22%
code/boto_retry0% | 0% | 0% | 80% | 19%
code/outputs0% | 0% | 0% | 53% | 46%
code/metrics0% | 0% | 0% | 53% | 46%
code/helpers0% | 0% | 0% | 0% | 100%
ecs0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ec2_replace_instance_action.py
in source/code/actions
933 25
task_configuration.py
in source/code/configuration
846 39
ec2_copy_snapshot_action.py
in source/code/actions
784 11
ec2.py
in source/code/testing
680 65
action_template_builder.py
in source/code/builders
671 12
ec2_create_snapshot_action.py
in source/code/actions
654 7
ec2_resize_instance_action.py
in source/code/actions
565 17
rds.py
in source/code/testing
448 44
select_resources_handler.py
in source/code/handlers
436 15
task_tracking_handler.py
in source/code/handlers
410 19
task_test_runner.py
in source/code/testing
399 17
__init__.py
in source/code/handlers
389 20
task_tracking_table.py
in source/code/handlers
357 20
execution_handler.py
in source/code/handlers
355 10
aws_service.py
in source/code/services
326 28
schedule_handler.py
in source/code/handlers
313 13
ec2_service.py
in source/code/services
296 4
setup_helper_handler.py
in source/code/handlers
295 13
cron_expression.py
in source/code/scheduling
293 28
cross_account_role_builder.py
in source/code/builders
292 7
ec2_tag_cpu_instance_action.py
in source/code/actions
281 9
ec2_delete_snapshot_action.py
in source/code/actions
281 7
setbuilder.py
in source/code/scheduling
255 36
__init__.py
in source/code/actions
226 18
route53_service.py
in source/code/services
224 8
dynamodb_set_capacity_action.py
in source/code/actions
223 6
event_handler_base.py
in source/code/handlers
218 15
__init__.py
in source/code/tagging
207 10
cloudwatch_metrics.py
in source/code/testing
194 9
s3_service.py
in source/code/services
189 10
cloudwatch_queue_handler_lambda.py
in source/code
179 9
__init__.py
in source/code/boto_retry
175 27
queued_logger.py
in source/code/outputs
174 14
rds_service.py
in source/code/services
173 6
run_ops_automator_local.py
in source/code
162 7
task_admin_api.py
in source/code/configuration
144 13
ebs_snapshot_event_handler.py
in source/code/handlers
141 5
scheduler_task_export_action.py
in source/code/actions
139 2
stack.py
in source/code/testing
136 13
tags.py
in source/code/testing
134 8
build-ops-automator-template.py
in source/code
130 6
scheduler_task_cleanup_action.py
in source/code/actions
129 4
storage_gateway.py
in source/code/testing
127 10
custom_resource.py
in source/code/handlers
127 23
action_base.py
in source/code/actions
125 7
rds_event_handler.py
in source/code/handlers
116 6
aws_service_retry.py
in source/code/boto_retry
114 8
main.py
in source/code
114 5
action_ec2_events_base.py
in source/code/actions
109 3
task_metrics.py
in source/code/metrics
108 8
Files With Most Units (Top 20)
File# lines# units
ec2.py
in source/code/testing
680 65
rds.py
in source/code/testing
448 44
task_configuration.py
in source/code/configuration
846 39
setbuilder.py
in source/code/scheduling
255 36
cron_expression.py
in source/code/scheduling
293 28
aws_service.py
in source/code/services
326 28
__init__.py
in source/code/boto_retry
175 27
ec2_replace_instance_action.py
in source/code/actions
933 25
custom_resource.py
in source/code/handlers
127 23
__init__.py
in source/code/handlers
389 20
task_tracking_table.py
in source/code/handlers
357 20
task_tracking_handler.py
in source/code/handlers
410 19
__init__.py
in source/code/actions
226 18
task_test_runner.py
in source/code/testing
399 17
ec2_resize_instance_action.py
in source/code/actions
565 17
event_handler_base.py
in source/code/handlers
218 15
select_resources_handler.py
in source/code/handlers
436 15
queued_logger.py
in source/code/outputs
174 14
task_admin_api.py
in source/code/configuration
144 13
stack.py
in source/code/testing
136 13
Files With Long Lines (Top 20)

There are 73 files with lines longer than 120 characters. In total, there are 353 long lines.

File# lines# units# long lines
ec2_copy_snapshot_action.py
in source/code/actions
784 11 32
ec2_replace_instance_action.py
in source/code/actions
933 25 27
task_configuration.py
in source/code/configuration
846 39 25
action_template_builder.py
in source/code/builders
671 12 23
select_resources_handler.py
in source/code/handlers
436 15 19
ec2_resize_instance_action.py
in source/code/actions
565 17 17
ec2_create_snapshot_action.py
in source/code/actions
654 7 14
setup_helper_handler.py
in source/code/handlers
295 13 12
task_test_runner.py
in source/code/testing
399 17 11
action_ec2_events_base.py
in source/code/actions
109 3 10
task_tracking_handler.py
in source/code/handlers
410 19 10
task_tracking_table.py
in source/code/handlers
357 20 9
cross_account_role_builder.py
in source/code/builders
292 7 8
ec2.py
in source/code/testing
680 65 8
event_handler_base.py
in source/code/handlers
218 15 8
execution_handler.py
in source/code/handlers
355 10 8
schedule_handler.py
in source/code/handlers
313 13 7
rds.py
in source/code/testing
448 44 6
aws_service.py
in source/code/services
326 28 6
route53_service.py
in source/code/services
224 8 6