Code Analysis: Wenprise Alipay Gateway For WooCommerce 1.2.1

Function Rating Maintainability Complexity Lines of code
Wenprise_Alipay_Gateway::process_payment()
A
41 7 56
Wenprise_Alipay_Gateway::listen_return_notify()
A
47 8 36
Wenprise_Alipay_Gateway::init_form_fields()
S
36 2 96
Wenprise_Alipay_Gateway::process_refund()
S
48 6 33
Wenprise_Alipay_Gateway::get_gateway()
S
49 6 31
Wenprise_Alipay_Gateway::is_available()
S
59 7 14
Wenprise_Alipay_Gateway::query_alipay_order()
S
51 5 25
Wenprise_Alipay_Gateway::__construct()
S
48 4 30
Wenprise_Alipay_Gateway::receipt_page()
S
47 2 50
wprs_wc_alipay_get_ip()
S
58 4 17
Wenprise_Alipay_Gateway::log()
S
67 3 8
wprs_wc_alipay_is_wechat()
S
69 3 6
Wenprise_Alipay_Gateway::requirement_checks()
S
67 3 7
Wenprise_Alipay_Gateway::admin_options()
S
65 3 9
Wenprise_Alipay_Gateway::complete_order()
S
67 2 7
Wenprise_Alipay_Gateway::get_order_number()
S
78 1 3
Wenprise_Alipay_Gateway::alipay_bridge()
S
69 1 7