Code Analysis: MeSomb for WooCommerce 1.2.8

Function Rating Maintainability Complexity Lines of code
WC_Gateway_MeSomb::process_payment()
A
32 11 107
WC_Gateway_MeSomb::payment_fields()
A
42 6 57
WC_Gateway_MeSomb::payment_scripts()
S
56 6 17
Signature::signRequest()
S
47 5 31
WC_MeSomb_Payments::add_gateway()
S
61 5 12
WC_Gateway_MeSomb::validate_fields()
S
61 5 11
WC_Gateway_MeSomb::init_form_fields()
S
43 1 59
WC_Gateway_MeSomb::__construct()
S
42 1 57
WC_Gateway_MeSomb_Blocks_Support::get_payment_method_script_handles()
S
54 3 22
get_client_ip()
S
64 3 11
get_provider()
S
68 3 8
WC_Gateway_MeSomb_Blocks_Support::get_payment_method_data()
S
51 1 29
WC_MeSomb_Payments::woocommerce_gateway_mesomb_woocommerce_block_support()
S
64 2 11
Signature::nonceGenerator()
S
64 2 9
WC_Gateway_MeSomb::process_pre_order_release_payment()
S
65 2 9
WC_Gateway_MeSomb::process_subscription_payment()
S
66 2 8
WC_MeSomb_Payments::includes()
S
74 2 5
PaymentMethod::get_title()
S
82 1 3
WC_Gateway_MeSomb_Blocks_Support::is_active()
S
81 1 3
WC_Gateway_MeSomb_Blocks_Support::initialize()
S
72 1 5
WC_MeSomb_Payments::plugin_abspath()
S
79 1 3
WC_MeSomb_Payments::init()
S
71 1 5
WC_MeSomb_Payments::plugin_url()
S
78 1 3
WC_Gateway_MeSomb::get_authorization()
S
72 1 4
PaymentMethod::__construct()
S
77 1 4