WC_Countries C

Total Complexity 108
Dependencies 0
Dependents 1
Total lines 1,653
Lines of code 1,297
Logical lines of code 204
Comment lines 244
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
get_country_locale()
D
13
3 797
get_formatted_address()
A
38 9 69
country_dropdown_options()
A
51 11 24
get_address_fields()
A
44 8 43
get_default_address_fields()
A
37 4 89
get_allowed_countries()
S
53 7 25
get_shipping_country_states()
S
56 6 18
get_shipping_countries()
S
58 5 16
get_allowed_country_states()
S
59 5 15
get_address_formats()
S
44 2 48
get_country_calling_code()
S
61 4 12
get_states()
S
63 4 10
get_shipping_continents()
S
61 3 12
get_continent_code_for_country()
S
62 3 11
__get()
S
69 3 7
estimated_for_prefix()
S
67 3 6
shipping_to_prefix()
S
67 3 6
get_countries()
S
65 3 9
tax_or_vat()
S
73 2 4
get_continents()
S
70 2 6
inc_tax_or_vat()
S
73 2 4
ex_tax_or_vat()
S
73 2 4
get_european_union_countries()
S
64 2 7
get_base_address_2()
S
75 1 4
get_base_postcode()
S
75 1 4
get_vat_countries()
S
66 1 5
countries_using_vat()
S
66 1 5
load_country_states()
S
72 1 5
get_base_city()
S
75 1 4
get_base_state()
S
75 1 4
get_base_country()
S
75 1 4
trim_formatted_address_line()
S
79 1 3
get_country_locale_field_selectors()
S
64 1 10
country_exists()
S
79 1 3
get_base_address()
S
75 1 4