Code Analysis: TriPay Payment Gateway 3.3.4

Most Complex Functions

Function Rating Complexity
Tripay_Payment_Gateway::process_payment()
D
30
woocommerce_tripay_init()
C
4
TripayPayment::view_order_and_thankyou_page()
B
19
Tripay_Payment_Gateway::handle_callback()
A
15
Tripay_Payment_Gateway::email_instructions()
A
14
WC_Tripay_Blocks::gateways()
A
3
TripayPayment::gateways()
A
3
WC_Tripay_Blocks::wp_add_checkout_fees()
A
9
TripayPayment::wp_add_checkout_fees()
A
9
TripayPayment::tripay_settings_page()
S
5
TripayPayment::tripay_settings_fields()
S
1
Tripay_Payment_Gateway::__construct()
S
6