WC_Countries C

Total Complexity 112
Dependencies 0
Dependents 1
Total lines 1,721
Lines of code 1,311
Logical lines of code 208
Comment lines 297
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
get_country_locale()
D
13
3 808
country_dropdown_options()
A
50 13 27
get_formatted_address()
A
38 9 69
get_address_fields()
A
44 8 43
get_default_address_fields()
A
37 4 89
get_allowed_countries()
S
54 7 21
get_shipping_country_states()
S
56 6 18
get_shipping_countries()
S
56 6 18
get_allowed_country_states()
S
59 5 15
get_address_formats()
S
44 2 48
get_country_calling_code()
S
61 4 12
__get()
S
66 4 9
get_states()
S
63 4 10
get_shipping_continents()
S
61 3 12
get_continent_code_for_country()
S
62 3 11
estimated_for_prefix()
S
67 3 6
shipping_to_prefix()
S
67 3 6
get_countries()
S
64 3 9
tax_or_vat()
S
73 2 4
get_continents()
S
69 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
71 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