Code Analysis: Paycorp Sampath Bank IPG 1.0

Function Rating Maintainability Complexity Lines of code
woocommerce_sampath_bank_gateway()
B
24
4 231
GatewayConfig::completePayment()
A
54 9 18
WC_Sampath::check_SampathIPG_response()
A
42 6 51
WC_Sampath::get_pages()
S
56 5 18
WC_Sampath::init_form_fields()
S
41 1 68
WC_Sampath::__construct()
S
50 2 27
WC_Sampath::gateway_config()
S
61 2 12
GatewayConfig::initialize()
S
52 1 23
WC_Sampath::process_payment()
S
54 1 20
WC_Sampath::payment_fields()
S
79 2 3
WC_Sampath::admin_options()
S
65 1 9
GatewayConfig::clientConfig()
S
65 1 9
woocommerce_add_sampath_gateway()
S
77 1 4
GatewayConfig::__construct()
S
73 1 5