Code Analysis: dLocal Go payments for WooCommerce 1.0.6

Function Rating Maintainability Complexity Lines of code
WC_Gateway_DlocalGo_Plugin::check_ipn_response()
A
53 14 19
WC_Gateway_DlocalGo_Plugin::process_refund()
S
47 6 35
WC_Gateway_DlocalGo_Client::_request()
S
49 6 29
WC_Gateway_DlocalGo_Plugin::check_refund_ipn_response()
S
51 5 26
WC_Gateway_DlocalGo_Plugin::wc_auto_complete_paid_order()
S
57 5 16
WC_Gateway_DlocalGo_Plugin::init_form_fields()
S
40 1 75
wc_gateway_dlocalgo_init()
S
58 4 14
WC_Gateway_DlocalGo_Client::getCountryCode()
S
61 4 13
WC_Gateway_DlocalGo_Client::get_checkout_url()
S
49 3 28
WC_Gateway_DlocalGo_Plugin::__construct()
S
50 3 27
WC_Gateway_DlocalGo_Plugin::cancel_order()
S
56 3 18
WC_Gateway_DlocalGo_Plugin::process_payment()
S
57 3 18
WC_Gateway_DlocalGo_Plugin::_load_client()
S
65 4 8
WC_Gateway_DlocalGo_Client::refund()
S
54 2 19
WC_Gateway_DlocalGo_Plugin::can_refund_order()
S
71 3 6
WC_Gateway_DlocalGo_Client::get_refund()
S
75 1 4
WC_Gateway_DlocalGo_Client::get_payments_endpoint()
S
76 1 4
WC_Gateway_DlocalGo_Client::_is_old_WC()
S
79 1 3
wc_dlocalgo_gateway_plugin_links()
S
69 1 6
WC_Gateway_DlocalGo_Client::set_default_country()
S
81 1 3
add_dlocalgo_payment_gateway()
S
77 1 4
WC_Gateway_DlocalGo_Client::__construct()
S
71 1 6
WC_Gateway_DlocalGo_Client::get_payment_info()
S
68 1 7
WC_Gateway_DlocalGo_Client::set_api_secret()
S
81 1 3
WC_Gateway_DlocalGo_Client::get_default_country()
S
82 1 3
WC_Gateway_DlocalGo_Client::set_api_url()
S
81 1 3
WC_Gateway_DlocalGo_Client::set_api_key()
S
81 1 3
WC_Gateway_DlocalGo_Client::get_refunds_endpoint()
S
76 1 4
wc_dlocalgo_httpsNotice()
S
78 1 3