Code Analysis: Pay with PAYUNi 1.6.0

Function Rating Maintainability Complexity Lines of code
WPBrewer\Payuni\Payment\Api\PaymentRequest::refund()
B
32 14 120
WPBrewer\Payuni\Payment\Gateways\GatewayBase::payuni_payment_detail_after_order_table()
A
39 15 60
WPBrewer\Payuni\Payment\Admin\OrderMetaBoxes::payuni_order_admin_meta_box()
A
39 15 58
WPBrewer\Payuni\Payment\Api\PaymentResponse::payuni_receive_response()
A
42 13 46
WPBrewer\Payuni\Payment\Api\PaymentRequest::query()
A
39 8 62
WPBrewer\Payuni\Payment\Api\PaymentResponse::payuni_receive_response_frontend()
A
46 9 37
WPBrewer\Payuni\Payment\Api\PaymentResponse::save_payuni_order_data()
A
45 7 39
WPBrewer\Payuni\Payment\PayuniPayment::payuni_ajax_query_payment()
A
47 7 36
WPBrewer\Payuni\Payment\Settings\SettingsTab::get_settings_for_payment_section()
A
34 1 121
WPBrewer\Payuni\Payment\Settings\SettingsTab::payuni_redirect_default_tab()
S
57 8 15
WPBrewer\Payuni\Payment\Utils\TradeStatus::get_name()
S
56 7 18
WPBrewer\Payuni\Payment\Gateways\GatewayBase::is_available()
S
63 8 10
WPBrewer\Payuni\Payment\Gateways\GatewayBase::payuni_thankyou_order_unpaid_message()
S
56 6 17
WPBrewer\Payuni\Payment\Admin\OrderMetaBoxes::payuni_add_meta_boxes()
S
53 5 23
WPBrewer\Payuni\Payment\Gateways\GatewayBase::__construct()
S
54 5 17
WPBrewer\Payuni\Payment\PayuniPayment::init()
S
43 3 46
WPBrewer\Payuni\Payment\Api\PaymentRequest::get_transaction_args()
S
47 3 35
WPBrewer\Payuni\Payment\PayuniPayment::get_allowed_payments()
S
57 4 16
WPBrewer\Payuni\Payment\PayuniPayment::get_allowed_install_payments()
S
57 4 16
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_items_infos()
S
60 4 12
WPBrewer\Payuni\Payment\Api\PaymentRequest::build_request_form()
S
55 3 19
WPBrewer\Payuni\Payment\Api\PaymentResponse::update_order_meta()
S
68 4 6
WPBrewer\Payuni\Payment\PayuniPayment::build_payuni_order_no()
S
59 3 15
WPBrewer\Payuni\Payment\PayuniPayment::get_refund_api_url()
S
65 4 9
WPBrewer\Payuni\Payment\Api\PaymentRequest::is_cancellable()
S
68 4 7
WPBrewer\Payuni\Payment\Admin\OrderList::shop_order_columns()
S
59 3 14
run_payuni_payment()
S
61 3 11
WPBrewer\Payuni\Payment\Admin\OrderList::shop_order_column()
S
63 3 11
WPBrewer\Payuni\Payment\PayuniPayment::log()
S
66 3 8
WPBrewer\Payuni\Payment\Api\PaymentRequest::is_refundable()
S
69 3 7
WPBrewer\Payuni\Payment\Settings\SettingsTab::payuni_payment_sections()
S
67 3 7
WPBrewer\Payuni\Payment\PayuniPayment::encrypt()
S
64 3 8
WPBrewer\Payuni\Payment\PayuniPayment::decrypt()
S
62 3 9
WPBrewer\Payuni\Payment\PayuniPayment::hash_info()
S
68 3 6
WPBrewer\Payuni\Payment\Gateways\Credit::__construct()
S
56 1 18
WPBrewer\Payuni\Payment\Gateways\SamsungPay::__construct()
S
56 1 18
WPBrewer\Payuni\Payment\Gateways\Aftee::__construct()
S
55 1 18
WPBrewer\Payuni\Payment\Gateways\ApplePay::__construct()
S
56 1 18
WPBrewer\Payuni\Payment\Gateways\GooglePay::__construct()
S
56 1 18
WPBrewer\Payuni\Payment\Gateways\LinePay::__construct()
S
56 1 17
WPBrewer\Payuni\Payment\PayuniPayment::payuni_checkout_enqueue_scripts()
S
67 2 7
WPBrewer\Payuni\Payment\Settings\SettingsTab::save()
S
67 2 8
WPBrewer\Payuni\Payment\Gateways\CreditInstallment6::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\CreditInstallment12::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\CreditInstallment18::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\CreditInstallment24::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\CreditInstallment3::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\CreditInstallment30::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\CreditInstallment9::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\Gateways\Cvs::__construct()
S
57 1 15
WPBrewer\Payuni\Payment\PayuniPayment::get_instance()
S
71 2 6
WPBrewer\Payuni\Payment\PayuniPayment::get_order_meta_key()
S
66 2 8
WPBrewer\Payuni\Payment\Settings\SettingsTab::output()
S
67 2 8
WPBrewer\Payuni\Payment\Gateways\GatewayBase::admin_options()
S
59 1 15
WPBrewer\Payuni\Payment\PayuniPayment::parse_payuni_order_no_to_woo_order_id()
S
66 2 8
WPBrewer\Payuni\Payment\Gateways\Atm::__construct()
S
58 1 14
WPBrewer\Payuni\Payment\PayuniPayment::payuni_admin_scripts()
S
61 1 12
WPBrewer\Payuni\Payment\Gateways\Atm::get_payment_order_metas()
S
62 1 11
WPBrewer\Payuni\Payment\Gateways\ApplePay::payuni_payment_applepay_transaction_arrgs()
S
69 1 8
WPBrewer\Payuni\Payment\Admin\OrderMetaBoxes::init()
S
74 1 4
WPBrewer\Payuni\Payment\Gateways\GooglePay::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\Gateways\Credit::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_api_url()
S
82 1 3
WPBrewer\Payuni\Payment\Gateways\Credit::payuni_payment_credit_transaction_arrgs()
S
69 1 8
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_merchant_id()
S
82 1 3
WPBrewer\Payuni\Payment\Gateways\SamsungPay::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\Gateways\LinePay::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\Gateways\GatewayBase::process_payment()
S
68 1 7
WPBrewer\Payuni\Payment\Gateways\LinePay::process_refund()
S
74 1 4
WPBrewer\Payuni\Payment\Admin\OrderList::init()
S
71 1 5
WPBrewer\Payuni\Payment\Gateways\SamsungPay::process_refund()
S
74 1 4
WPBrewer\Payuni\Payment\Gateways\ApplePay::process_refund()
S
74 1 4
WPBrewer\Payuni\Payment\Gateways\Atm::payuni_payment_atm_transaction_arrgs()
S
65 1 9
WPBrewer\Payuni\Payment\Gateways\GooglePay::get_payment_order_metas()
S
65 1 9
WPBrewer\Payuni\Payment\Gateways\SamsungPay::payuni_payment_samsungpay_transaction_arrgs()
S
69 1 8
WPBrewer\Payuni\Payment\Gateways\GooglePay::payuni_payment_googlepay_transaction_arrgs()
S
69 1 8
WPBrewer\Payuni\Payment\Gateways\LinePay::get_payment_order_metas()
S
69 1 7
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_hashiv()
S
82 1 3
WPBrewer\Payuni\Payment\Gateways\Aftee::payuni_payment_aftee_transaction_arrgs()
S
69 1 8
WPBrewer\Payuni\Payment\Settings\SettingsTab::__construct()
S
64 1 9
WPBrewer\Payuni\Payment\Gateways\Credit::get_payment_order_metas()
S
65 1 9
WPBrewer\Payuni\Payment\Settings\SettingsTab::get_woo_payment_settings_url()
S
77 1 3
WPBrewer\Payuni\Payment\Gateways\SamsungPay::get_payment_order_metas()
S
65 1 9
WPBrewer\Payuni\Payment\PayuniPayment::add_payuni_payment_gateway()
S
75 1 4
WPBrewer\Payuni\Payment\Gateways\LinePay::payuni_payment_linepay_transaction_arrgs()
S
69 1 8
WPBrewer\Payuni\Payment\Settings\SettingsTab::get_log_link()
S
77 1 3
WPBrewer\Payuni\Payment\Api\PaymentResponse::init()
S
72 1 5
WPBrewer\Payuni\Payment\PayuniPayment::payuni_add_settings()
S
76 1 4
WPBrewer\Payuni\Payment\Gateways\GooglePay::process_refund()
S
74 1 4
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_order_metas()
S
79 1 3
WPBrewer\Payuni\Payment\Api\PaymentRequest::set_gateway()
S
81 1 3
WPBrewer\Payuni\Payment\Gateways\Aftee::get_payment_order_metas()
S
67 1 8
WPBrewer\Payuni\Payment\Gateways\Atm::init_form_fields()
S
79 1 3
payuni_payment_needs_woocommerce()
S
72 1 5
WPBrewer\Payuni\Payment\Gateways\Cvs::payuni_payment_cvs_transaction_arrgs()
S
65 1 9
WPBrewer\Payuni\Payment\Gateways\ApplePay::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\Gateways\Cvs::get_payment_order_metas()
S
65 1 9
WPBrewer\Payuni\Payment\Api\PaymentResponse::save_einvoice_data()
S
64 1 9
WPBrewer\Payuni\Payment\Gateways\ApplePay::get_payment_order_metas()
S
65 1 9
WPBrewer\Payuni\Payment\Gateways\Cvs::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\PayuniPayment::__construct()
S
91 1 2
WPBrewer\Payuni\Payment\Gateways\Aftee::init_form_fields()
S
79 1 3
WPBrewer\Payuni\Payment\PayuniPayment::payuni_add_action_links()
S
67 1 7
WPBrewer\Payuni\Payment\Gateways\Credit::process_refund()
S
75 1 4
WPBrewer\Payuni\Payment\Gateways\GatewayBase::receipt_page()
S
71 1 6
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_method_title()
S
82 1 3
WPBrewer\Payuni\Payment\Gateways\GatewayBase::get_hashkey()
S
82 1 3