Code Analysis: Integrate Fonepay in WooCommerce 1.2.0

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