Code Analysis: Visma Pay Payment Gateway 1.0.4

Most Complex Classes

Class Rating Complexity
WC_Gateway_Visma_Pay
D
182
Visma\VismaPay
S
34
Visma\VismaPayWPConnector
S
2
Visma\VismaPayException
S
0

Most Complex Functions

Function Rating Complexity
WC_Gateway_Visma_Pay::process_payment()
D
52
init_visma_pay_gateway()
D
2
WC_Gateway_Visma_Pay::check_visma_pay_response()
D
41
WC_Gateway_Visma_Pay::payment_fields()
D
37
WC_Gateway_Visma_Pay::init_form_fields()
A
2
WC_Gateway_Visma_Pay::visma_pay_url()
A
8
WC_Gateway_Visma_Pay::visma_pay_translate_error_code()
A
8
Visma\VismaPay::checkReturn()
A
8
WC_Gateway_Visma_Pay::visma_pay_save_img()
S
7
WC_Gateway_Visma_Pay::visma_pay_settle_payment()
S
6
Visma\VismaPay::makeChargeRequest()
S
6
WC_Gateway_Visma_Pay::process_settlement()
S
5