Code Analysis: Integrate Fonepay in WooCommerce 1.1.1

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Fonepay::__construct()
S
48 7 29
WC_Gateway_Fonepay_IPN_Handler::check_response()
S
53 5 20
WC_Gateway_Fonepay_IPN_Handler::validate_dv()
S
47 3 41
WC_Gateway_Fonepay::admin_scripts()
S
63 5 9
WC_Gateway_Fonepay_IPN_Handler::valid_response()
S
58 4 14
WC_Gateway_Fonepay_IPN_Handler::payment_status_completed()
S
59 4 13
WC_Gateway_Fonepay_Request::limit_length()
S
60 4 13
WC_Gateway_Fonepay_IPN_Handler::send_ipn_email_notification()
S
62 4 10
WC_Gateway_Fonepay_Response::get_fonepay_order()
S
60 3 14
WC_Gateway_Fonepay_Request::get_request_url()
S
56 2 17
WC_Gateway_Fonepay::process_admin_options()
S
64 3 10
WooCommerce_Fonepay::__construct()
S
62 3 10
WC_Gateway_Fonepay::log()
S
67 3 8
WC_Gateway_Fonepay_Request::get_fonepay_args()
S
51 1 29
WC_Gateway_Fonepay::admin_options()
S
63 2 13
WC_Gateway_Fonepay::needs_setup()
S
79 2 3
WC_Gateway_Fonepay_IPN_Handler::payment_status_paid_cancelled_order()
S
65 2 8
WooCommerce_Fonepay::get_instance()
S
72 2 6
WC_Gateway_Fonepay_Request::get_payment_remark()
S
63 2 10
WooCommerce_Fonepay::includes()
S
79 1 3
WC_Gateway_Fonepay::is_valid_for_use()
S
78 1 3
WC_Gateway_Fonepay_Response::payment_complete()
S
74 1 5
WC_Gateway_Fonepay::init_form_fields()
S
80 1 3
WooCommerce_Fonepay::plugin_action_links()
S
68 1 6
WC_Gateway_Fonepay_IPN_Handler::payment_status_failed()
S
78 1 3
WC_Gateway_Fonepay_IPN_Handler::__construct()
S
72 1 5
WooCommerce_Fonepay::load_plugin_textdomain()
S
70 1 5
WC_Gateway_Fonepay_Request::__construct()
S
76 1 4
WC_Gateway_Fonepay::process_payment()
S
64 1 9
WooCommerce_Fonepay::add_gateway()
S
77 1 4
WC_Gateway_Fonepay_Response::payment_on_hold()
S
73 1 5
WooCommerce_Fonepay::woocommerce_missing_notice()
S
76 1 3