WC_Gateway_Visma_Pay D

Total Complexity 190
Dependencies 5
Dependents 0
Total lines 984
Lines of code 852
Logical lines of code 462
Comment lines 4
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
process_payment()
D
15
57 280
check_visma_pay_response()
D
27
42 116
payment_fields()
D
31 39 92
init_form_fields()
A
32 2 135
visma_pay_url()
A
48 8 35
visma_pay_translate_error_code()
A
54 8 21
visma_pay_save_img()
S
51 7 26
visma_pay_settle_payment()
S
47 6 36
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_valid_currency()
S
79 1 3
visma_pay_die()
S
71 1 6