Code Analysis: Payment Gateway for Paytriot 1.0.0

Function Rating Maintainability Complexity Lines of code
wpg_gateway_init_gateway_class()
A
27
1 188
WC_Paytriot_Gateway::payment_scripts()
A
56 11 16
WPG_Merchant_Api::_request()
S
49 4 29
WC_Paytriot_Gateway::init_form_fields()
S
41 1 69
WC_Paytriot_Gateway::process_payment()
S
47 3 35
WC_Paytriot_Gateway::wpg_paytriot_webhook()
S
50 3 28
wpg_gateway_action_links()
S
59 3 13
WPG_Merchant_Api::_sign()
S
62 3 11
WC_Paytriot_Gateway::__construct()
S
51 1 26
WPG_Merchant_Api::encrypt3DES()
S
70 2 5
WPG_Merchant_Api::getLastRequest()
S
82 1 3
wpg_gateway_add_meta_boxes()
S
77 1 3
WPG_Merchant_Api::__construct()
S
69 1 7
WPG_Merchant_Api::getLastCurlInfo()
S
82 1 3
WPG_Merchant_Api::getLastUri()
S
82 1 3
WPG_Merchant_Api::getVersion()
S
92 1 1
WPG_Merchant_Api::createPaymentRequestLink()
S
70 1 5
WPG_Merchant_Api::customAction()
S
72 1 5
WPG_Merchant_Api::getLastCurlError()
S
82 1 3
WC_Paytriot_Gateway::process_admin_options()
S
82 1 3
wpg_gateway_add_other_fields_for_packaging()
S
65 1 8
WPG_Merchant_Api::getLastResponse()
S
82 1 3
wpg_gateway_add_gateway_class()
S
77 1 4