WC_Gateway_Swedbank_Pay_Cc D

Total Complexity 195
Dependencies 21
Dependents 1
Total lines 1,766
Lines of code 1,124
Logical lines of code 493
Comment lines 389
Methods 33
Properties 23

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
C
29
25 125
process_payment()
B
34 19 92
init_form_fields()
A
27
6 190
return_handler()
A
42 13 49
ajax_check_payment()
A
40 12 62
thankyou_page()
A
40 10 57
process_admin_options()
A
43 10 55
scheduled_subscription_payment()
A
38 8 82
thankyou_scripts()
A
45 9 40
swedbank_card_store()
A
45 8 40
validate_subscription_payment_meta()
S
54 7 20
payment_scripts()
S
52 6 24
add_subscription_card_id()
S
55 6 19
save_subscription_payment_meta()
S
59 6 14
enqueue_seamless()
S
46 3 50
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
override_template()
S
60 3 14
cancel_pending()
S
62 3 11
add_payment_method()
S
52 2 25
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