Code Analysis: Peach Payments Gateway 4.0

Most Complex Functions

Function Rating Complexity
PP_Gateway_Change_Card_Endpoint::endpoint_content()
D
45
WC_Peach_Gateway_Init::init()
D
39
PP_Gateway_Change_Card_Endpoint::handle_post()
C
26
PP_Peach_API::get_standing_instruction_from_order()
C
25
PP_Gateway_Token_Add_Handler::handle_get_registration_id()
C
22
PP_Gateway_Order_Utils::handle_payment_status()
C
24
PP_Peach_API::reverse_preauthorisation()
B
21
PP_Gateway_Webhook_Handler::handle_webhook()
B
17
PP_Gateway_IPN_Handler::handle_ipn()
B
16
WC_Gateway_Peach_Hosted::custom_cart_validation()
B
16
WC_Gateway_Peach_Hosted::custom_cart_validation_blocks()
A
15
WC_Gateway_Peach_Hosted::handle_peach_return()
A
15