WC_Gateway_Swedbank_Pay_Cc D

Total Complexity 196
Dependencies 21
Dependents 1
Total lines 1,770
Lines of code 1,130
Logical lines of code 498
Comment lines 385
Methods 32
Properties 23

Methods 32

Method Rating Maintainability Complexity Lines of code
__construct()
C
29
25 125
process_payment()
B
34 19 93
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
51 6 25
add_subscription_card_id()
S
55 6 19
save_subscription_payment_meta()
S
59 6 14
enqueue_seamless()
S
46 3 50
override_template()
S
55 5 20
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
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
delete_resubscribe_meta()
S
80 1 3
update_failing_payment_method()
S
80 1 3
validate_fields()
S
82 1 3
admin_options()
S
78 1 4