Code Analysis: Paystack WooCommerce Payment Gateway 5.7

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Custom_Paystack::payment_scripts()
D
28
36 109
WC_Gateway_Paystack::payment_scripts()
C
31 30 92
WC_Gateway_Paystack_Three::__construct()
B
36 18 71
WC_Gateway_Paystack_Five::__construct()
B
36 18 71
WC_Gateway_Paystack_Four::__construct()
B
36 18 71
WC_Gateway_Paystack_Two::__construct()
B
36 18 71
WC_Gateway_Paystack::__construct()
B
37 18 67
WC_Gateway_Paystack_One::__construct()
B
37 18 65
tbz_wc_paystack_testmode_notice()
B
42 18 48
WC_Gateway_Paystack::process_token_payment()
B
34 15 85
WC_Gateway_Paystack::get_custom_fields()
B
36 15 84
WC_Gateway_Paystack::verify_paystack_transaction()
B
35 14 82
WC_Gateway_Paystack::process_webhooks()
A
38 13 67
WC_Gateway_Paystack::init_form_fields()
A
26
2 227
WC_Gateway_Paystack::process_refund()
A
40 12 58
WC_Gateway_Custom_Paystack::init_form_fields()
A
27
1 220
WC_Gateway_Paystack_Subscriptions::process_subscription_payment()
A
42 10 48
tbz_wc_add_paystack_gateway()
A
46 10 41
WC_Gateway_Paystack::process_payment()
A
48 10 30
WC_Gateway_Paystack::process_redirect_payment_option()
A
41 8 52
WC_Gateway_Paystack::save_subscription_payment_token()
A
54 10 19
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::receipt_page()
S
55 4 17
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
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_Paystack::get_icon()
S
61 3 11
WC_Gateway_Custom_Paystack::payment_icons()
S
45 1 39
tbz_wc_paystack_init()
S
55 2 19
WC_Gateway_Custom_Paystack::banks()
S
48 1 32
WC_Gateway_Paystack::is_autocomplete_order_enabled()
S
64 3 9
WC_Gateway_Paystack_Subscriptions::order_contains_subscription()
S
77 3 3
WC_Gateway_Paystack_Subscriptions::scheduled_subscription_payment()
S
69 2 6
WC_Gateway_Paystack_Subscriptions::__construct()
S
69 2 6
WC_Gateway_Paystack::is_valid_for_use()
S
66 2 7
WC_Gateway_Custom_Paystack::add_gateway_to_checkout()
S
71 2 6
WC_Paystack_Plugin_Tracker::log_transaction()
S
62 1 12
tbz_wc_paystack_wc_missing_notice()
S
76 1 3
tbz_woo_paystack_plugin_action_links()
S
68 1 6
WC_Gateway_Paystack::add_payment_method()
S
75 1 4
WC_Paystack_Plugin_Tracker::__construct()
S
77 1 4
WC_Gateway_Paystack::is_wc_lt()
S
79 1 3
WC_Gateway_Custom_Paystack::channels()
S
65 1 9
WC_Gateway_Custom_Paystack::card_types()
S
68 1 7