WC_Gateway_Swedbank_Pay_Checkout D

Total Complexity 194
Dependencies 22
Dependents 0
Total lines 1,821
Lines of code 1,133
Logical lines of code 503
Comment lines 408
Methods 31
Properties 29

Methods 31

Method Rating Maintainability Complexity Lines of code
process_payment()
D
26
28 179
__construct()
C
33 29 81
return_handler()
B
35 17 86
get_consumer_profile()
A
38 14 73
init_form_fields()
A
28
6 182
ajax_check_payment()
A
38 13 73
payment_scripts()
A
38 7 83
thankyou_scripts()
A
45 9 41
update_address()
A
46 7 36
payment_method_title()
S
52 6 25
override_template()
S
55 5 20
thankyou_page()
S
56 5 18
process_refund()
S
56 5 18
add_payment_method()
S
45 3 44
ajax_swedbank_pay_checkout_log_error()
S
55 4 19
swedbank_card_store()
S
55 4 19
process_admin_options()
S
57 4 16
get_transaction_url()
S
61 3 12
process_recurring_payment()
S
58 2 16
capture_payment()
S
64 3 10
cancel_payment()
S
64 3 10
update_consumer_profile()
S
62 2 11
drop_consumer_profile()
S
63 2 11
delete_token()
S
71 2 6
payment_fields()
S
68 2 8
update_consumer_address()
S
68 2 7
order_contains_subscription()
S
71 2 6
wcs_is_payment_change()
S
75 2 4
process_unscheduled_payment()
S
61 1 13
admin_options()
S
78 1 4
validate_fields()
S
91 1 2