Code Analysis: Peach Payments Gateway 2.0.5

Most Complex Classes

Class Rating Complexity
WC_Peach_Payments
D
309
WC_Peach_Payments_Subscriptions
D
139
WC_Peach_Payments_Subscriptions_Deprecated
S
24

Most Complex Functions

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