WC_Gateway_Swedbank_Pay_Cc D

Total Complexity 160
Dependencies 22
Dependents 1
Total lines 1,463
Lines of code 926
Logical lines of code 418
Comment lines 311
Methods 24
Properties 24

Methods 24

Method Rating Maintainability Complexity Lines of code
__construct()
C
34 25 77
process_payment()
B
34 19 93
init_form_fields()
A
27
6 190
ajax_check_payment()
A
38 13 70
return_handler()
A
40 12 58
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
process_refund()
S
50 7 27
payment_scripts()
S
51 6 25
save_refund_parameters()
S
54 5 24
enqueue_seamless()
S
46 3 50
override_template()
S
55 5 20
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
get_custom_logo()
S
65 2 9
wcs_is_payment_change()
S
76 2 4
validate_fields()
S
82 1 3
admin_options()
S
78 1 4
process_recurring_payment()
S
64 1 10