Code Analysis: Payment Gateway for Paytriot 1.0.0

Most Complex Classes

Class Rating Complexity
WC_Paytriot_Gateway
S
20
WPG_Merchant_Api
S
18

Most Complex Functions

Function Rating Complexity
wpg_gateway_init_gateway_class()
A
1
WC_Paytriot_Gateway::payment_scripts()
A
11
WPG_Merchant_Api::_request()
S
4
WC_Paytriot_Gateway::init_form_fields()
S
1
WC_Paytriot_Gateway::process_payment()
S
3
WC_Paytriot_Gateway::wpg_paytriot_webhook()
S
3
wpg_gateway_action_links()
S
3
WPG_Merchant_Api::_sign()
S
3
WC_Paytriot_Gateway::__construct()
S
1
WPG_Merchant_Api::encrypt3DES()
S
2
WPG_Merchant_Api::getLastRequest()
S
1
wpg_gateway_add_meta_boxes()
S
1