WC_Gateway_Paystack D

Total Complexity 177
Dependencies 4
Dependents 0
Total lines 1,774
Lines of code 1,016
Logical lines of code 521
Comment lines 270
Methods 25
Properties 24

Methods 25

Method Rating Maintainability Complexity Lines of code
payment_scripts()
C
33 23 88
__construct()
B
38 17 64
process_token_payment()
B
33 14 98
process_webhooks()
A
37 14 73
init_form_fields()
A
26
2 226
verify_paystack_transaction()
A
37 12 72
get_custom_fields()
A
37 11 80
process_refund()
A
44 10 44
save_subscription_payment_token()
A
51 11 24
process_payment()
A
48 10 31
process_redirect_payment_option()
A
42 6 51
payment_fields()
S
60 7 13
save_card_details()
S
50 6 26
get_icon()
S
59 4 13
admin_scripts()
S
61 4 11
admin_options()
S
53 3 25
admin_notices()
S
64 4 9
is_available()
S
66 4 9
get_paystack_transaction()
S
58 3 15
get_gateway_payment_channels()
S
64 3 11
is_autocomplete_order_enabled()
S
64 3 9
is_valid_for_use()
S
66 2 7
receipt_page()
S
62 2 10
add_payment_method()
S
75 1 4
is_wc_lt()
S
79 1 3