Code Analysis: Chapa Payment Gateway Plugin for WooCommerce 1.0.3

Most Complex Classes

Class Rating Complexity
WAF_WC_CHAPA_Gateway
S
44
WC_CHAPA_Payments
S
17
WC_Gateway_Chapa_Blocks_Support
S
5

Most Complex Functions

Function Rating Complexity
WAF_WC_CHAPA_Gateway::chapa_proceed()
B
13
WAF_WC_CHAPA_Gateway::get_supported_currencies()
A
8
WAF_WC_CHAPA_Gateway::process_success()
A
6
WAF_WC_CHAPA_Gateway::init_form_fields()
S
1
WAF_WC_CHAPA_Gateway::is_available()
S
4
WAF_WC_CHAPA_Gateway::admin_notices()
S
4
WC_CHAPA_Payments::conditionally_hide_waf_chapa_payment_gateways()
S
3
WC_Gateway_Chapa_Blocks_Support::get_payment_method_script_handles()
S
2
WC_CHAPA_Payments::button_enqueue_scripts()
S
3
WAF_WC_CHAPA_Gateway::payment_fields()
S
3
WAF_WC_CHAPA_Gateway::__construct()
S
1
WC_CHAPA_Payments::woocommerce_gateway_chapa_woocommerce_block_support()
S
2