Code Analysis: WooCommerce 3D Secure (Bankart) Payment Gateway 1.2

Function Rating Maintainability Complexity Lines of code
woocommerce_bankart_init()
A
24
2 238
BankartPurchaseResponse::__construct()
A
49 11 27
SecureSettings::load()
A
41 8 55
woocommerce_bankart::init_form_fields()
S
38 3 84
BankartPurchaseResponse::get_error_message()
S
56 7 17
woocommerce_bankart::request_hpp_url()
S
45 2 45
woocommerce_bankart::gateway_callback()
S
50 3 28
SecureSettings::simple_xor()
S
62 3 11
woocommerce_bankart::__construct()
S
51 2 26
woocommerce_bankart::gateway_customer_redirect()
S
61 3 11
woocommerce_bankart::process_payment()
S
53 2 22
BankartHPPResponse::__construct()
S
63 3 10
BankartPurchaseResponse::is_valid()
S
80 2 3
BankartPurchaseResponse::get_request_param()
S
69 2 7
BankartHPPResponse::is_error()
S
79 2 3
BankartHPPResponse::get_payment_id()
S
83 1 3
BankartPurchaseResponse::is_transaction_error()
S
83 1 3
SecureSettings::get_passwordhash()
S
83 1 3
BankartHPPResponse::get_payment_url()
S
83 1 3
add_bankart_gateway()
S
77 1 4
woocommerce_bankart::log()
S
80 1 3
BankartPurchaseResponse::get_sanitized_request_params()
S
82 1 3
BankartPurchaseResponse::is_authorized()
S
83 1 3
SecureSettings::get_url()
S
83 1 3
BankartHPPResponse::get_error_message()
S
83 1 3
SecureSettings::get_id()
S
83 1 3