WC_Gateway_Swedbank_Pay_Cc D

Total Complexity 149
Dependencies 13
Dependents 1
Total lines 1,353
Lines of code 828
Logical lines of code 384
Comment lines 334
Methods 28
Properties 21

Methods 28

Method Rating Maintainability Complexity Lines of code
__construct()
C
31 21 115
process_payment()
B
36 17 79
init_form_fields()
A
30 6 155
return_handler()
A
42 13 49
thankyou_page()
A
40 10 58
scheduled_subscription_payment()
A
39 7 77
swedbank_card_store()
A
44 9 41
validate_subscription_payment_meta()
S
54 7 20
add_subscription_card_id()
S
55 6 19
save_subscription_payment_meta()
S
59 6 14
maybe_render_subscription_payment_method()
S
56 5 19
save_new_payment_method_option_html()
S
56 5 17
wcs_cart_have_subscription()
S
61 5 12
process_refund()
S
53 4 25
capture_payment()
S
57 4 18
cancel_payment()
S
59 3 15
cancel_pending()
S
62 3 11
add_payment_method()
S
52 2 25
order_has_status()
S
64 3 10
payment_fields()
S
65 3 10
wcs_is_payment_change()
S
76 2 4
get_custom_logo()
S
65 2 9
add_subscription_payment_meta()
S
63 1 11
update_failing_payment_method()
S
80 1 3
delete_resubscribe_meta()
S
80 1 3
payment_confirm()
S
91 1 2
validate_fields()
S
82 1 3
admin_options()
S
78 1 4