aws-samples / aws-gateway-load-balancer-code-samples
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 29 files with 8,436 lines of code.
    • 0 very long files (0 lines of code)
    • 7 long files (5,426 lines of code)
    • 5 medium size files (2,119 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (402 lines of code)
    • 14 very small files (489 lines of code)
0% | 64% | 25% | 4% | 5%
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% | 68% | 26% | 3% | <1%
py0% | 0% | 0% | 20% | 79%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
aws-cloudformation/vpc_routing_enhancement_architectures/templates0% | 100% | 0% | 0% | 0%
aws-cloudformation/distributed_architecture0% | 100% | 0% | 0% | 0%
aws-cloudformation/centralized_architecture0% | 51% | 48% | 0% | 0%
aws-cloudformation/centralized_architecture/nested-stack0% | 41% | 58% | 0% | 0%
aws-cloudformation/vpce0% | 0% | 0% | 75% | 24%
aws-cloudformation/gwlb0% | 0% | 0% | 100% | 0%
python/gwlb0% | 0% | 0% | 31% | 68%
python/vpce0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
CentralizedArchitectureApplianceVpc2Az.yaml
in aws-cloudformation/centralized_architecture
914 -
ApplianceVpc2Az.yaml
in aws-cloudformation/centralized_architecture/nested-stack
913 -
IngressVpcElb.yaml
in aws-cloudformation/vpc_routing_enhancement_architectures/templates
912 -
EgressVpcNatGw.yaml
in aws-cloudformation/vpc_routing_enhancement_architectures/templates
749 -
InspectionVpc.yaml
in aws-cloudformation/vpc_routing_enhancement_architectures/templates
681 -
DistributedArchitectureApplianceVpc2Az.yaml
in aws-cloudformation/distributed_architecture
630 -
DistributedArchitectureSpokeVpc2Az.yaml
in aws-cloudformation/distributed_architecture
627 -
CentralizedArchitectureSpokeVpc2Az.yaml
in aws-cloudformation/centralized_architecture
457 -
SpokeVpc2Az.yaml
in aws-cloudformation/centralized_architecture/nested-stack
457 -
CentralizedArchitecturePrimary.yaml
in aws-cloudformation/centralized_architecture/nested-stack
406 -
CentralizedArchitectureTgw.yaml
in aws-cloudformation/centralized_architecture
400 -
Tgw.yaml
in aws-cloudformation/centralized_architecture/nested-stack
399 -
GwlbVpcEndpointServiceSample.yaml
in aws-cloudformation/vpce
153 -
GwlbWithTargetGroupAndListenerSample.yaml
in aws-cloudformation/gwlb
135 -
create_gwlb_tg_listener_sample.py
in python/gwlb
114 5
GwlbVpcEndpointSample.yaml
in aws-cloudformation/vpce
50 -
create_tg_sample.py
in python/gwlb
46 2
delete_gwlb_tg_sample.py
in python/gwlb
43 3
create_gwlb_sample.py
in python/gwlb
42 2
modify_vpce_service_permissions_sample.py
in python/vpce
38 2
create_gwlb_endpoint_sample.py
in python/vpce
37 2
create_listener_sample.py
in python/gwlb
34 2
create_vpce_service_configuration_sample.py
in python/vpce
34 2
register_targets_sample.py
in python/gwlb
32 2
delete_gwlb_sample.py
in python/gwlb
31 2
modify_vpce_service_configuration_sample.py
in python/vpce
31 2
delete_gwlb_endpoint_sample.py
in python/vpce
25 2
delete_vpce_service_sample.py
in python/vpce
24 2
delete_tg_sample.py
in python/gwlb
22 2
Files With Most Units (Top 14)
File# lines# units
create_gwlb_tg_listener_sample.py
in python/gwlb
114 5
delete_gwlb_tg_sample.py
in python/gwlb
43 3
create_gwlb_sample.py
in python/gwlb
42 2
delete_tg_sample.py
in python/gwlb
22 2
register_targets_sample.py
in python/gwlb
32 2
create_tg_sample.py
in python/gwlb
46 2
create_listener_sample.py
in python/gwlb
34 2
delete_gwlb_sample.py
in python/gwlb
31 2
modify_vpce_service_permissions_sample.py
in python/vpce
38 2
create_vpce_service_configuration_sample.py
in python/vpce
34 2
delete_vpce_service_sample.py
in python/vpce
24 2
modify_vpce_service_configuration_sample.py
in python/vpce
31 2
delete_gwlb_endpoint_sample.py
in python/vpce
25 2
create_gwlb_endpoint_sample.py
in python/vpce
37 2
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 160 long lines.

File# lines# units# long lines
CentralizedArchitecturePrimary.yaml
in aws-cloudformation/centralized_architecture/nested-stack
406 - 25
CentralizedArchitectureApplianceVpc2Az.yaml
in aws-cloudformation/centralized_architecture
914 - 21
ApplianceVpc2Az.yaml
in aws-cloudformation/centralized_architecture/nested-stack
913 - 21
InspectionVpc.yaml
in aws-cloudformation/vpc_routing_enhancement_architectures/templates
681 - 19
DistributedArchitectureApplianceVpc2Az.yaml
in aws-cloudformation/distributed_architecture
630 - 17
IngressVpcElb.yaml
in aws-cloudformation/vpc_routing_enhancement_architectures/templates
912 - 13
EgressVpcNatGw.yaml
in aws-cloudformation/vpc_routing_enhancement_architectures/templates
749 - 13
DistributedArchitectureSpokeVpc2Az.yaml
in aws-cloudformation/distributed_architecture
627 - 9
CentralizedArchitectureSpokeVpc2Az.yaml
in aws-cloudformation/centralized_architecture
457 - 7
SpokeVpc2Az.yaml
in aws-cloudformation/centralized_architecture/nested-stack
457 - 7
CentralizedArchitectureTgw.yaml
in aws-cloudformation/centralized_architecture
400 - 4
Tgw.yaml
in aws-cloudformation/centralized_architecture/nested-stack
399 - 4