WC_Gateway_Swedbank_Pay_Checkout D

Total Complexity 227
Dependencies 23
Dependents 3
Total lines 2,068
Lines of code 1,321
Logical lines of code 631
Comment lines 429
Methods 33
Properties 27

Methods 33

Method Rating Maintainability Complexity Lines of code
process_payment()
C
28
25 142
__construct()
C
33 28 81
process_refund()
C
29
22 137
payment_confirm()
B
34 16 96
return_handler()
B
37 17 75
get_consumer_profile()
A
38 14 73
init_form_fields()
A
28
6 176
ajax_check_payment()
A
40 12 62
payment_scripts()
A
37 8 87
thankyou_scripts()
A
45 9 40
get_remote_address()
A
45 7 44
update_address()
A
46 7 35
swedbank_card_store()
S
46 6 39
payment_method_title()
S
53 6 24
override_template()
S
55 5 20
process_recurring_payment()
S
51 4 27
ajax_swedbank_pay_checkout_log_error()
S
55 4 19
process_admin_options()
S
57 4 16
add_payment_method()
S
48 2 34
capture_payment()
S
62 3 11
cancel_payment()
S
64 3 10
drop_consumer_profile()
S
63 2 11
update_consumer_profile()
S
62 2 11
payment_fields()
S
68 2 8
update_consumer_address()
S
68 2 7
order_contains_subscription()
S
71 2 6
wcs_is_subscription_product()
S
75 2 4
wcs_is_payment_change()
S
75 2 4
save_refund_parameters()
S
80 1 3
validate_fields()
S
91 1 2
admin_options()
S
78 1 4
get_post_id_by_meta()
S
65 1 10
thankyou_page()
S
81 1 3