Code Analysis: Paycorp Sampath Bank IPG 1.0

Most Complex Classes

Class Rating Complexity
WC_Sampath
S
20
GatewayConfig
S
12

Most Complex Functions

Function Rating Complexity
woocommerce_sampath_bank_gateway()
B
4
GatewayConfig::completePayment()
A
9
WC_Sampath::check_SampathIPG_response()
A
6
WC_Sampath::get_pages()
S
5
WC_Sampath::init_form_fields()
S
1
WC_Sampath::__construct()
S
2
WC_Sampath::gateway_config()
S
2
GatewayConfig::initialize()
S
1
WC_Sampath::process_payment()
S
1
WC_Sampath::payment_fields()
S
2
WC_Sampath::admin_options()
S
1
GatewayConfig::clientConfig()
S
1