Code Analysis: Walletdoc Payment Gateway for WooCommerce 1.1.1

Most Complex Classes

Class Rating Complexity
WP_Gateway_Walletdoc
A
72
Walletdoc
S
35
WalletdocWcValidationException
S
3

Most Complex Functions

Function Rating Complexity
WP_Gateway_Walletdoc::webhook()
B
22
WP_Gateway_Walletdoc::capture_payment()
A
14
WP_Gateway_Walletdoc::process_payment()
A
8
WP_Gateway_Walletdoc::process_refund()
A
7
Walletdoc::createOrderPayment()
S
7
Walletdoc::updateCustomer()
S
5
Walletdoc::getOrderById()
S
4
walletdoc_wc_payment_gateway_server()
S
5
WP_Gateway_Walletdoc::validate_production_secret_field()
S
4
WP_Gateway_Walletdoc::validate_client_secret_field()
S
4
Walletdoc::createCustomer()
S
3
Walletdoc::createRefund()
S
3