Code Analysis: nowpayments.io Gateway for WooCommerce 1.6.1

Function Rating Maintainability Complexity Lines of code
wc_nowpayments_gateway_init()
A
23
2 255
WC_Gateway_nowpayments::check_ipn_request_is_valid()
A
40 13 56
WC_Gateway_nowpayments::successful_request()
S
49 7 30
WC_Gateway_nowpayments::get_nowpayments_args()
S
45 6 40
WC_Gateway_nowpayments::__construct()
S
48 5 30
WC_Gateway_nowpayments::email_instructions()
S
70 5 5
WC_Gateway_nowpayments::generate_nowpayments_url()
S
61 3 11
WC_Gateway_nowpayments::admin_options()
S
59 2 18
WC_Gateway_nowpayments::debug_post_out()
S
59 2 14
wc_nowpayments_add_to_gateways()
S
71 2 6
WC_Gateway_nowpayments::check_ipn_response()
S
64 2 10
WC_Gateway_nowpayments::thankyou_page()
S
70 2 6
WC_Gateway_nowpayments::is_valid_for_use()
S
83 1 3
WC_Gateway_nowpayments::init_form_fields()
S
82 1 3
WC_Gateway_nowpayments::process_payment()
S
66 1 9
wc_nowpayments_gateway_plugin_links()
S
67 1 7