Code Analysis: Payment Gateways by Customer Location for WooCommerce 1.4.0

Most Complex Functions

Function Rating Complexity
Alg_WC_Payment_Gateways_by_Customer_Location_Core::available_payment_gateways()
B
18
alg_wc_gateways_by_location_get_countries()
A
1
alg_wc_gateways_by_location_get_location()
A
14
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::version_updated()
A
8
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
4
Alg_WC_Settings_Payment_Gateways_by_Customer_Location::maybe_reset_settings()
S
4
alg_wc_gateways_by_location_get_country_by_ip()
S
4