WC_Gateway_Swedbank_Pay_Cc D

Total Complexity 153
Dependencies 20
Dependents 1
Total lines 1,385
Lines of code 881
Logical lines of code 395
Comment lines 293
Methods 23
Properties 23

Methods 23

Method Rating Maintainability Complexity Lines of code
__construct()
C
34 25 76
process_payment()
B
34 19 93
init_form_fields()
A
27
6 190
ajax_check_payment()
A
38 13 70
return_handler()
A
42 13 49
thankyou_page()
A
40 10 57
process_admin_options()
A
43 10 55
thankyou_scripts()
A
45 9 41
swedbank_card_store()
A
45 8 40
payment_scripts()
S
51 6 25
enqueue_seamless()
S
46 3 50
override_template()
S
55 5 20
process_refund()
S
59 4 15
capture_payment()
S
60 4 13
cancel_pending()
S
62 3 11
add_payment_method()
S
52 2 25
payment_fields()
S
65 3 10
cancel_payment()
S
64 3 10
wcs_is_payment_change()
S
76 2 4
get_custom_logo()
S
65 2 9
process_recurring_payment()
S
63 1 11
validate_fields()
S
82 1 3
admin_options()
S
78 1 4