WC_Gateway_Visma_Pay D

Total Complexity 200
Dependencies 6
Dependents 1
Total lines 1,100
Lines of code 932
Logical lines of code 502
Comment lines 7
Methods 21
Properties 16

Methods 21

Method Rating Maintainability Complexity Lines of code
process_payment()
D
14
57 284
check_visma_pay_response()
D
27
42 116
payment_fields()
B
39 21 63
visma_pay_filter_payment_methods()
B
40 18 60
init_form_fields()
A
32 2 135
visma_pay_url()
A
48 8 35
visma_pay_save_img()
A
48 8 33
visma_pay_translate_error_code()
A
54 8 21
visma_pay_settle_payment()
S
47 6 36
visma_pay_get_merchant_payment_methods()
S
49 6 29
process_settlement()
S
49 5 32
__construct()
S
47 3 33
visma_pay_translate_verified_code()
S
61 4 13
get_order_by_id_and_order_number()
S
62 3 12
payment_scripts()
S
68 2 6
sanitize_visma_pay_order_number()
S
70 2 6
is_embed()
S
81 1 3
plugin_url()
S
79 1 3
plugin_abspath()
S
80 1 3
is_valid_currency()
S
79 1 3
visma_pay_die()
S
71 1 6