WC_Gateway_Swedbank_Pay_Cc D

Total Complexity 160
Dependencies 22
Dependents 0
Total lines 1,457
Lines of code 923
Logical lines of code 415
Comment lines 309
Methods 24
Properties 25

Methods 24

Method Rating Maintainability Complexity Lines of code
__construct()
C
34 26 77
process_payment()
B
33 21 101
init_form_fields()
B
27
6 196
ajax_check_payment()
A
38 13 73
return_handler()
A
40 13 60
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
52 6 24
enqueue_seamless()
S
46 3 50
override_template()
S
55 5 20
process_refund()
S
56 5 18
capture_payment()
S
60 4 13
get_transaction_url()
S
61 3 12
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
process_recurring_payment()
S
64 1 10
admin_options()
S
78 1 4