Code Analysis: Wenprise Alipay Gateway For WooCommerce 2.0.1

Function Rating Maintainability Complexity Lines of code
Wenprise\Alipay\PaymentGateway::listen_return_notify()
A
44 10 45
Wenprise\Alipay\PaymentGateway::process_payment()
A
41 7 59
Wenprise\Alipay\PaymentGateway::init_form_fields()
S
36 2 96
Wenprise\Alipay\PaymentGateway::process_refund()
S
47 6 34
Wenprise\Alipay\PaymentGateway::get_gateway()
S
49 6 31
Wenprise\Alipay\PaymentGateway::query_alipay_order()
S
50 6 29
Wenprise\Alipay\PaymentGateway::is_available()
S
62 6 11
Wenprise\Alipay\PaymentGateway::__construct()
S
49 4 28
Wenprise\Alipay\Helpers::get_ip()
S
57 4 17
Wenprise\Alipay\PaymentGateway::receipt_page()
S
48 2 47
Wenprise\Alipay\BlockSupport::get_payment_method_script_handles()
S
57 3 16
Wenprise\Alipay\Init::enqueue_scripts()
S
58 3 14
Wenprise\Alipay\PaymentGateway::admin_options()
S
62 3 12
Wenprise\Alipay\Helpers::is_wechat()
S
69 3 6
Wenprise\Alipay\PaymentGateway::log()
S
67 3 8
Wenprise\Alipay\PaymentGateway::requirement_checks()
S
67 3 7
Wenprise\Alipay\Init::admin_enqueue_scripts()
S
71 3 5
Wenprise\Alipay\BlockSupport::failed_payment_notice()
S
62 2 13
Wenprise\Alipay\Init::add_block_support()
S
65 2 11
Wenprise\Alipay\PaymentGateway::get_error_message()
S
68 2 7
Wenprise\Alipay\Init::add_custom_table_support()
S
74 2 5
Wenprise\Alipay\Init::modify_pay_button_html()
S
64 2 10
Wenprise\Alipay\PaymentGateway::complete_order()
S
66 2 8
Wenprise\Alipay\BlockSupport::get_payment_method_data()
S
61 1 12
Wenprise\Alipay\BlockSupport::is_active()
S
73 1 5
Wenprise\Alipay\Init::ignore_translate_strings()
S
73 1 5
Wenprise\Alipay\Init::add_settings_link()
S
69 1 6
Wenprise\Alipay\PaymentGateway::get_order_number()
S
78 1 3
Wenprise\Alipay\Init::__construct()
S
62 1 10
Wenprise\Alipay\BlockSupport::initialize()
S
78 1 3
Wenprise\Alipay\Init::ignore_translate_elements()
S
77 1 4