WC_Gateway_Visma_Pay D

Total Complexity 178
Dependencies 6
Dependents 0
Total lines 990
Lines of code 856
Logical lines of code 467
Comment lines 4
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
process_payment()
D
15
52 286
check_visma_pay_response()
D
27
41 117
payment_fields()
D
31 34 93
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
48 3 31
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
is_valid_currency()
S
79 1 3
sanitize_visma_pay_order_number()
S
79 1 3
visma_pay_die()
S
68 1 7