Code Analysis: WooCommerce nowpayments.io Gateway 1.3.1

Function Rating Maintainability Complexity Lines of code
nowpayments_gateway_load()
B
22
2 278
WC_Gateway_nowpayments::check_ipn_request_is_valid()
A
41 13 52
WC_Gateway_nowpayments::get_nowpayments_args()
S
45 6 40
WC_Gateway_nowpayments::successful_request()
S
52 7 23
WC_Gateway_nowpayments::__construct()
S
50 5 26
WC_Gateway_nowpayments::init_form_fields()
S
44 1 54
WC_Gateway_nowpayments::admin_options()
S
60 2 16
WC_Gateway_nowpayments::generate_nowpayments_url()
S
62 3 10
wcnowpayments_add_gateway()
S
71 2 6
WC_Gateway_nowpayments::check_ipn_response()
S
68 2 8
WC_nowpayments::__construct()
S
76 1 4
WC_Gateway_nowpayments::process_payment()
S
70 1 6
WC_Gateway_nowpayments::is_valid_for_use()
S
83 1 3
WC_Gateway_nowpayments::receipt_page()
S
75 1 4