Code Analysis: WooCommerce eSewa 2.0.0

Function Rating Maintainability Complexity Lines of code
WC_Gateway_eSewa_IPN_Handler::validate_ipn()
A
44 12 38
WC_Gateway_eSewa::__construct()
S
48 6 29
WC_Gateway_eSewa_IPN_Handler::valid_response()
S
54 6 19
WC_Gateway_eSewa_IPN_Handler::payment_status_completed()
S
55 6 17
WC_Gateway_eSewa_Response::get_esewa_order()
S
57 5 17
WC_Gateway_eSewa::admin_scripts()
S
63 5 9
WC_Gateway_eSewa_Request::limit_length()
S
60 4 13
WC_Gateway_eSewa_IPN_Handler::send_ipn_email_notification()
S
62 4 10
WC_Gateway_eSewa_Request::get_service_charge()
S
65 4 9
WC_Gateway_eSewa_Request::get_esewa_args()
S
55 2 19
WC_Gateway_eSewa_Request::get_payment_status_args()
S
57 2 18
WC_Gateway_eSewa::process_admin_options()
S
64 3 10
WC_Gateway_eSewa_IPN_Handler::check_response()
S
65 3 8
WooCommerce_eSewa::__construct()
S
62 3 10
WC_Gateway_eSewa::log()
S
67 3 8
WC_Gateway_eSewa::admin_options()
S
63 2 13
WC_Gateway_eSewa_IPN_Handler::payment_status_paid_cancelled_order()
S
65 2 8
WooCommerce_eSewa::get_instance()
S
72 2 6
WC_Gateway_eSewa_Request::get_request_url()
S
68 2 6
WooCommerce_eSewa::add_gateway()
S
77 1 4
WooCommerce_eSewa::woocommerce_missing_notice()
S
76 1 3
WC_Gateway_eSewa::init_form_fields()
S
80 1 3
WC_Gateway_eSewa::is_valid_for_use()
S
78 1 3
WC_Gateway_eSewa_Response::payment_complete()
S
74 1 5
WC_Gateway_eSewa_IPN_Handler::payment_status_failed()
S
77 1 3
WC_Gateway_eSewa_Response::payment_on_hold()
S
73 1 5
WC_Gateway_eSewa::needs_setup()
S
80 1 3
WooCommerce_eSewa::load_plugin_textdomain()
S
70 1 5
WooCommerce_eSewa::plugin_action_links()
S
68 1 6
WC_Gateway_eSewa::process_payment()
S
64 1 9
WC_Gateway_eSewa_Request::__construct()
S
76 1 4
WooCommerce_eSewa::includes()
S
79 1 3
WC_Gateway_eSewa_IPN_Handler::__construct()
S
68 1 7