Code Analysis: Paystack WooCommerce Payment Gateway 5.7.4

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Custom_Paystack::payment_scripts()
C
30 29 104
WC_Gateway_Paystack::payment_scripts()
C
33 23 87
WC_Gateway_Paystack_Three::__construct()
B
37 17 68
WC_Gateway_Paystack_Five::__construct()
B
37 17 68
WC_Gateway_Paystack_Four::__construct()
B
37 17 68
WC_Gateway_Paystack_Two::__construct()
B
37 17 68
WC_Gateway_Paystack::__construct()
B
38 17 64
WC_Gateway_Paystack_One::__construct()
B
37 17 62
WC_Gateway_Paystack::verify_paystack_transaction()
A
36 13 80
WC_Gateway_Paystack::process_token_payment()
A
35 12 81
WC_Gateway_Paystack::init_form_fields()
A
26
2 226
WC_Gateway_Paystack::get_custom_fields()
A
37 11 80
WC_Gateway_Paystack::process_webhooks()
A
38 12 65
WC_Gateway_Paystack::process_refund()
A
40 12 58
WC_Gateway_Custom_Paystack::init_form_fields()
A
27
1 219
tbz_wc_add_paystack_gateway()
A
46 10 41
WC_Gateway_Paystack::process_payment()
A
48 10 30
WC_Gateway_Paystack::save_subscription_payment_token()
A
54 10 19
WC_Gateway_Paystack_Subscriptions::process_subscription_payment()
A
43 8 45
WC_Gateway_Paystack::process_redirect_payment_option()
A
42 6 50
WC_Gateway_Paystack::payment_fields()
S
60 7 13
WC_Gateway_Paystack::save_card_details()
S
52 6 23
WC_Gateway_Custom_Paystack::admin_options()
S
48 3 40
WC_Gateway_Paystack::get_icon()
S
59 4 13
WC_Gateway_Paystack::admin_scripts()
S
61 4 11
WC_Gateway_Paystack::admin_options()
S
53 3 25
WC_Gateway_Paystack::admin_notices()
S
64 4 9
WC_Gateway_Paystack::is_available()
S
66 4 9
tbz_wc_paystack_testmode_notice()
S
62 4 10
WC_Gateway_Paystack_Subscriptions::process_payment()
S
60 3 13
WC_Gateway_Custom_Paystack::get_icon()
S
60 3 12
WC_Gateway_Paystack::get_gateway_payment_channels()
S
64 3 11
WC_Gateway_Custom_Paystack::payment_icons()
S
45 1 39
tbz_wc_paystack_init()
S
56 2 18
WC_Gateway_Custom_Paystack::banks()
S
48 1 32
WC_Gateway_Paystack_Subscriptions::order_contains_subscription()
S
77 3 3
WC_Gateway_Paystack::is_autocomplete_order_enabled()
S
64 3 9
WC_Gateway_Custom_Paystack::add_gateway_to_checkout()
S
71 2 6
WC_Gateway_Paystack_Subscriptions::__construct()
S
69 2 6
WC_Gateway_Paystack_Subscriptions::scheduled_subscription_payment()
S
69 2 6
WC_Gateway_Paystack::is_valid_for_use()
S
66 2 7
WC_Gateway_Paystack::receipt_page()
S
62 2 10
WC_Gateway_Custom_Paystack::channels()
S
65 1 9
tbz_woo_paystack_plugin_action_links()
S
68 1 6
WC_Gateway_Paystack::is_wc_lt()
S
79 1 3
WC_Gateway_Custom_Paystack::card_types()
S
68 1 7
WC_Gateway_Paystack::add_payment_method()
S
75 1 4
tbz_wc_paystack_wc_missing_notice()
S
76 1 3