Code Analysis: Peach Payments Gateway 3.1.8

Most Complex Classes

Class Rating Complexity
WC_Peach_Payments
D
348
PMProGateway_peach
C
110
PMProGateway_peach
B
80
pluginSupport
S
11

Most Complex Functions

Function Rating Complexity
woocommerce_gateway_peach()
D
1
WC_Peach_Payments::receipt_page()
D
45
WC_Peach_Payments::payment_fields()
D
52
WC_Peach_Payments::process_payment()
D
44
peach_add_card_content()
C
23
PMProGateway_peach::pmpro_checkout_confirmed()
C
20
PMProGateway_peach::process()
B
21
PMProGateway_peach::process()
B
21
WC_Peach_Payments::card_search()
B
21
WC_Peach_Payments::pp_handle_switch_webhook_request()
B
19
generateCards()
B
17
WC_Peach_Payments::pp_handle_switch_request()
A
15