Code Analysis: Payment Gateways by Customer Location for WooCommerce 1.7.3

Most Complex Functions

Function Rating Complexity
alg_wc_gateways_by_location_get_location()
B
20
Alg_WC_Payment_Gateways_by_Customer_Location_Core::available_payment_gateways()
B
18
Alg_WC_Payment_Gateways_by_Customer_Location_Settings_States::get_settings()
A
5
Alg_WC_Payment_Gateways_by_Customer_Location_Settings_Countries::get_settings()
A
5
Alg_WC_Payment_Gateways_by_Customer_Location_Settings_Postcodes::get_settings()
A
5
Alg_WC_Payment_Gateways_by_Customer_Location_Settings_Cities::get_settings()
A
5
Alg_WC_Payment_Gateways_by_Customer_Location::version_updated()
S
7
alg_wc_gateways_by_location_check_postcode()
S
7
Alg_WC_Payment_Gateways_by_Customer_Location_Settings_General::get_settings()
S
1
Alg_WC_Payment_Gateways_by_Customer_Location::__construct()
S
5
Alg_WC_Payment_Gateways_by_Customer_Location::wc_declare_compatibility()
S
4
Alg_WC_Payment_Gateways_by_Customer_Location_Core::check_data()
S
5