Code Analysis: Peach Payments Gateway 2.0.11

Most Complex Classes

Class Rating Complexity
WC_Peach_Payments
D
308
WC_Peach_Payments_Subscriptions
D
137
WC_Peach_Payments_Subscriptions_Deprecated
S
24

Most Complex Functions

Function Rating Complexity
WC_Peach_Payments_Subscriptions::process_payment()
D
34
WC_Peach_Payments_Subscriptions::process_payment_status()
C
23
WC_Peach_Payments::payment_fields()
C
22
WC_Peach_Payments::process_payment_status()
B
21
WC_Peach_Payments::process_payment()
B
19
WC_Peach_Payments::process_pre_order()
B
17
WC_Peach_Payments_Subscriptions::payment_fields()
B
18
WC_Peach_Payments::pp_handle_switch_request()
B
16
WC_Peach_Payments::pp_handle_switch_webhook_request()
B
16
woocommerce_peach_payments_add_gateway()
A
14
WC_Peach_Payments_Subscriptions::process_refund()
A
12
WC_Peach_Payments_Subscriptions_Deprecated::update_failing_payment_method()
A
11