Code Analysis: HyperPay Payments 2.1.0

Function Rating Maintainability Complexity Lines of code
Hyperpay_main_class::process_payment()
B
32 13 109
hyperpay_handel_order_status()
A
44 10 38
Hyperpay_main_class::failed()
A
47 9 33
Hyperpay_main_class::init_form_fields()
A
35 4 100
Hyperpay_main_class::receipt_page()
S
49 6 31
Hyperpay_main_class::validate_form()
S
56 7 16
Hyperpay_main_class::check_status()
S
59 7 12
Hyperpay_main_class::capture_payment()
S
45 4 42
Hyperpay_main_class::get_pages()
S
56 5 19
Hyperpay_main_class::renderPaymentForm()
S
49 4 30
Hyperpay_main_class::__construct()
S
46 3 37
Hyperpay_main_class::success()
S
54 4 20
Hyperpay_main_class::set_icons()
S
59 4 13
Hyperpay_main_class::order_received_text()
S
64 4 9
WC_Hyperpay_Zoodpay_Gateway::conditional_payment_gateways()
S
66 4 8
Hyperpay_main_class::admin_script()
S
60 3 12
Hyperpay_main_class::insert()
S
54 2 24
WC_Hyperpay_Zoodpay_Gateway::set_icons()
S
52 2 23
WC_Hyperpay_Zoodpay_Gateway::setExtraData()
S
56 2 17
capture_payment()
S
68 3 7
Hyperpay_main_class::action_before_woocommerce_pay()
S
63 3 10
WC_Hyperpay_Tabby_Gateway::setExtraData()
S
57 2 15
Hyperpay_main_class::pending()
S
59 2 13
WC_Hyperpay_Zoodpay_Gateway::__construct()
S
57 1 16
Hyperpay_main_class::processQueryResult()
S
64 2 9
hyperpay_auth_chech()
S
71 2 6
WC_Hyperpay_Zoodpay_Gateway::getPhone()
S
69 2 6
WC_Hyperpay_Zoodpay_Gateway::configration()
S
63 2 9
hyperpay_plugin_load_textdomain()
S
69 2 6
hyperpay_main::load()
S
67 2 7
hyperpay_main::run_migration()
S
61 1 14
hyperpay_rest_orders()
S
69 1 7
WC_Hyperpay_Gateway::get_hyperpay_trans_type()
S
70 1 7
WC_Hyperpay_Tabby_Gateway::__construct()
S
81 1 3
Hyperpay_main_class::queryTransactionReport()
S
67 1 7
Hyperpay_main_class::get_hyperpay_trans_mode()
S
68 1 8
Hyperpay_main_class::get_order_status()
S
69 1 7
Hyperpay_main_class::get_hyperpay_tokenization()
S
69 1 7
WC_Hyperpay_Gateway::__construct()
S
75 1 4
hyperpay_main::get_gateways()
S
79 1 3
WC_Hyperpay_Mada_Gateway::get_hyperpay_trans_type()
S
70 1 7
Hyperpay_main_class::setExtraData()
S
82 1 3
Hyperpay_main_class::get_hyperpay_trans_type()
S
72 1 6
hyperpay_load_styles()
S
100 1 2
WC_Hyperpay_STCPay_Gateway::__construct()
S
81 1 3
WC_Hyperpay_Mada_Gateway::__construct()
S
75 1 4
Hyperpay_main_class::isJson()
S
76 1 4
WC_Hyperpay_ApplePay_Gateway::__construct()
S
81 1 3