Code Analysis: MeSomb for WooCommerce 1.2.5-2

Function Rating Maintainability Complexity Lines of code
mesomb_init_gateway_class()
B
19
1 361
WC_MeSomb_Gateway::process_payment()
B
31 15 108
WC_MeSomb_Gateway::payment_fields()
A
42 6 57
WC_MeSomb_Gateway::process_refund()
A
45 7 38
Signature::signRequest()
S
47 5 31
WC_MeSomb_Gateway::payment_scripts()
S
59 6 14
WC_MeSomb_Gateway::validate_fields()
S
62 5 11
WC_MeSomb_Gateway::init_form_fields()
S
43 1 59
WC_MeSomb_Gateway::__construct()
S
44 1 48
get_client_ip()
S
64 3 11
get_provider()
S
68 3 8
Signature::nonceGenerator()
S
64 2 9
mesomb_timeout_extend()
S
83 1 3
PaymentMethod::__construct()
S
77 1 4
WC_MeSomb_Gateway::get_authorization()
S
72 1 4
PaymentMethod::get_title()
S
82 1 3
mesomb_gateway_class()
S
77 1 4