Code Analysis: GetLoy payment gateway for WooCommerce (supports iPay88, PayWay and Pi Pay) 1.2.1

Function Rating Maintainability Complexity Lines of code
Wc_Getloy_Payment_Gateway::status_update_callback()
B
33 12 119
Wc_Getloy_Payment_Gateway::check_setup()
A
43 8 55
Getloy_Widget::update()
A
50 9 29
Wc_Getloy_Gateway::gateway_check_setup()
A
45 8 43
Wc_Getloy_Payment_Gateway::get_gateway_variant_form_fields()
A
54 9 19
Wc_Getloy_Gateway_Ipay88_Kh::check_config()
A
57 9 16
Getloy_Widget::render_form()
A
46 7 41
Wc_Getloy_Payment_Gateway::receipt_page()
A
44 6 50
Wc_Getloy_Payment_Gateway::receipt_page_footer()
S
40 4 74
Wc_Getloy_Gateway::init_gateway()
S
48 6 34
Wc_Getloy_Gateway_Pipay_Kh::check_config()
S
55 7 19
Wc_Getloy_Payment_Gateway::get_order_details()
S
46 5 37
Wc_Getloy_Payment_Gateway::filter_gateways()
S
54 6 22
Wc_Getloy_Payment_Gateway::get_form_fields_general()
S
42 3 62
Wc_Getloy_Payment_Gateway::get_icon_img()
S
56 6 17
Wc_Getloy_Gateway_Payway_Kh::check_config()
S
60 6 13
Wc_Getloy_Payment_Gateway_Connector::validateCreateTransactionParams()
S
53 5 24
Wc_Getloy_Payment_Gateway::__construct()
S
46 4 39
Getloy_Widget_Payway_Footer_Box::__construct()
S
49 4 33
Wc_Getloy_Payment_Gateway_Connector::generateCreateTransactionParams()
S
44 3 47
Wc_Getloy_Payment_Gateway::process_payment()
S
55 4 21
Getloy_Widget_Payway_Footer_Box::widget()
S
56 4 18
Wc_Getloy_Payment_Gateway::get_variant_option()
S
59 4 15
Wc_Getloy_Gateway_Ipay88_Kh::get_gateway_form_fields()
S
45 1 56
Wc_Getloy_Payment_Gateway::get_active_payment_option_logo_imgs()
S
56 3 21
Wc_Getloy_Gateway::__call()
S
59 3 17
Wc_Getloy_Gateway_Payway_Kh::get_gateway_variant_form_field_template()
S
50 1 32
Wc_Getloy_Gateway::load_dependencies()
S
56 2 17
Wc_Getloy_Gateway_Ipay88_Kh::get_gateway_variant_form_field_template()
S
50 1 32
Wc_Getloy_Gateway::handle_status_update_callback()
S
58 2 17
Wc_Getloy_Payment_Gateway::get_icon_code()
S
59 2 16
Wc_Getloy_Payment_Gateway::show_config_error_notice()
S
60 2 16
Wc_Getloy_Gateway_Loader::run()
S
66 3 8
Wc_Getloy_Gateway::enqueue_scripts()
S
65 3 10
Wc_Getloy_Gateway::get_plugin_name()
S
64 3 10
Wc_Getloy_Payment_Gateway::generateTransactionId()
S
70 3 6
Wc_Getloy_Payment_Gateway::get_order_items()
S
58 2 15
Wc_Getloy_Payment_Gateway::add_notice()
S
67 3 8
Wc_Getloy_Payment_Gateway::get_enabled_option()
S
68 3 7
Wc_Getloy_Gateway_Ipay88_Kh::get_connector_constructor_args()
S
64 3 10
Wc_Getloy_Gateway_Ipay88_Kh_Connector::validateCreateTransactionParamsGateway()
S
62 2 13
Wc_Getloy_Gateway_Payway_Kh_Connector::validateCreateTransactionParamsGateway()
S
62 2 13
Wc_Getloy_Gateway_Pipay_Kh_Connector::validateCreateTransactionParamsGateway()
S
62 2 13
Wc_Getloy_Payment_Gateway::get_form_fields_transaction_id()
S
53 1 27
Wc_Getloy_Gateway_Payway_Kh_Connector::order_items_to_base64_string()
S
62 2 11
Wc_Getloy_Gateway_Payway_Kh::get_gateway_form_fields()
S
54 1 25
Wc_Getloy_Gateway_Pipay_Kh::get_gateway_form_fields()
S
54 1 25
Wc_Getloy_Gateway_Payway_Kh_Connector::getCreateTransactionGatewayParams()
S
57 1 19
Wc_Getloy_Gateway_Ipay88_Kh_Connector::getCreateTransactionGatewayParams()
S
58 1 17
Wc_Getloy_Gateway::plugin_add_action_link()
S
63 2 10
Wc_Getloy_Payment_Gateway_Connector::validate_callback_hash()
S
67 2 7
Wc_Getloy_Gateway_Payway_Kh::get_connector_constructor_args()
S
70 2 6
Wc_Getloy_Gateway_Ipay88_Kh::get_connector_create_transaction_args()
S
70 2 6
Wc_Getloy_Gateway::add_gateway()
S
70 2 6
Wc_Getloy_Payment_Gateway::get_logo_config()
S
69 2 7
Wc_Getloy_Payment_Gateway::get_active_logo_variant()
S
79 2 3
Wc_Getloy_Payment_Gateway::get_gateway_config()
S
67 2 8
Wc_Getloy_Gateway::instance()
S
72 2 6
Wc_Getloy_Gateway::filter_gateways()
S
68 2 7
Wc_Getloy_Gateway_Payway_Kh::get_connector_create_transaction_args()
S
70 2 6
Wc_Getloy_Payment_Gateway::get_name()
S
65 2 10
Wc_Getloy_Payment_Gateway::filter_form_fields()
S
62 1 13
Wc_Getloy_Gateway::output_wc_checkout_script()
S
73 1 13
Wc_Getloy_Payment_Gateway_Connector::getCreateTransactionGatewayParams()
S
100 1 0
Wc_Getloy_Gateway::get_version()
S
82 1 3
Wc_Getloy_Payment_Gateway::lookupOrderId()
S
65 1 10
Wc_Getloy_Gateway::set_locale()
S
75 1 4
Wc_Getloy_Payment_Gateway::get_gateway_form_fields()
S
100 1 0
Wc_Getloy_Gateway::run()
S
82 1 3
Wc_Getloy_Payment_Gateway_Connector::validateCreateTransactionParamsGateway()
S
100 1 0
Wc_Getloy_Payment_Gateway::get_gateway_variant_form_field_template()
S
82 1 3
Getloy_Widget::form()
S
80 1 3
Wc_Getloy_Gateway::__construct()
S
72 1 6
Wc_Getloy_Gateway_Ipay88_Kh_Connector::validateTransactionId()
S
79 1 3
run_wc_getloy_gateway()
S
77 1 4
Wc_Getloy_Payment_Gateway::get_connector_create_transaction_args()
S
100 1 0
Wc_Getloy_Gateway_Pipay_Kh::get_connector_create_transaction_args()
S
82 1 3
Wc_Getloy_Gateway::get_loader()
S
82 1 3
Wc_Getloy_Payment_Gateway_Connector::__construct()
S
71 1 6
Wc_Getloy_Payment_Gateway_Connector::hash()
S
75 1 4
Wc_Getloy_Gateway::gateway_receipt_page()
S
75 1 4
Wc_Getloy_Gateway::gateway_process_admin_options()
S
80 1 3
Wc_Getloy_Payment_Gateway::init_form_fields()
S
65 1 9
Wc_Getloy_Payment_Gateway::get_gateway_config_link()
S
79 1 3
Wc_Getloy_Gateway_Loader::__construct()
S
77 1 4
Wc_Getloy_Gateway_Pipay_Kh::get_connector_constructor_args()
S
69 1 7
Wc_Getloy_Payment_Gateway::get_option_key()
S
80 1 3
Wc_Getloy_Gateway::get_gateway_connector_filename()
S
74 1 4
Wc_Getloy_Gateway_Loader::add()
S
64 1 10
Wc_Getloy_Gateway_I18n::load_plugin_textdomain()
S
69 1 7
Wc_Getloy_Gateway_Payway_Kh_Connector::validateTransactionId()
S
79 1 3
Wc_Getloy_Gateway_Loader::add_filter()
S
77 1 3
Wc_Getloy_Gateway::register_rest_routes()
S
66 1 10
Wc_Getloy_Payment_Gateway::get_icon()
S
79 1 3
Wc_Getloy_Gateway::get_wc_order_button_text()
S
79 1 3
Wc_Getloy_Gateway::get_gateway_connector_classname()
S
79 1 3
Wc_Getloy_Payment_Gateway::get_active_method_variants()
S
65 1 10
Wc_Getloy_Gateway_Pipay_Kh_Connector::getCreateTransactionGatewayParams()
S
69 1 7
Wc_Getloy_Payment_Gateway::check_config()
S
100 1 0
Wc_Getloy_Gateway::enqueue_scripts_admin()
S
69 1 8
Wc_Getloy_Payment_Gateway::get_method_variants()
S
80 1 3
Wc_Getloy_Gateway::get_gateway_classname()
S
77 1 3
Wc_Getloy_Gateway_Pipay_Kh_Connector::validateTransactionId()
S
79 1 3
Wc_Getloy_Gateway::get_gateway_filename()
S
74 1 4
Wc_Getloy_Payment_Gateway::get_connector_constructor_args()
S
100 1 0
Wc_Getloy_Gateway_Loader::add_action()
S
77 1 3