aws-samples / aws-alb-target-group-load-shedding
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 13 files with 695 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (485 lines of code)
    • 10 very small files (210 lines of code)
0% | 0% | 0% | 69% | 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% | 0% | 70% | 29%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/lambda/shared/elb_load_monitor0% | 0% | 0% | 81% | 18%
cdk/cdk0% | 0% | 0% | 99% | <1%
source/lambda0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
source/lambda/shared0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
alb_monitor_stack.py
in cdk/cdk
193 1
alb_listener_rules_handler.py
in source/lambda/shared/elb_load_monitor
166 9
elb_listener_rule.py
in source/lambda/shared/elb_load_monitor
126 8
alb_alarm_messages.py
in source/lambda/shared/elb_load_monitor
60 4
alb_alarm_lambda_handler.py
in source/lambda
46 1
alb_alarm_check_lambda_handler.py
in source/lambda
31 1
setup.py
in cdk
29 -
setup.py
in source/lambda/shared
27 -
app.py
in cdk
7 -
util.py
in source/lambda/shared/elb_load_monitor
5 1
pyproject.toml
in source/lambda/shared
3 -
__init__.py
in cdk/cdk
1 -
__init__.py
in source/lambda/shared/elb_load_monitor
1 -
Files With Most Units (Top 7)
File# lines# units
alb_listener_rules_handler.py
in source/lambda/shared/elb_load_monitor
166 9
elb_listener_rule.py
in source/lambda/shared/elb_load_monitor
126 8
alb_alarm_messages.py
in source/lambda/shared/elb_load_monitor
60 4
alb_monitor_stack.py
in cdk/cdk
193 1
alb_alarm_lambda_handler.py
in source/lambda
46 1
alb_alarm_check_lambda_handler.py
in source/lambda
31 1
util.py
in source/lambda/shared/elb_load_monitor
5 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
alb_monitor_stack.py
in cdk/cdk
193 1 3
elb_listener_rule.py
in source/lambda/shared/elb_load_monitor
126 8 1