WPSC_Country B

Total Complexity 81
Dependencies 5
Dependents 91
Total lines 751
Lines of code 286
Logical lines of code 142
Comment lines 348
Methods 37
Properties 16

Methods 37

Method Rating Maintainability Complexity Lines of code
__construct()
A
49 11 31
set()
S
53 6 22
get_cache()
S
59 6 13
get_regions()
S
55 5 18
get_region()
S
58 5 18
_copy_properties_from_stdclass()
S
55 3 19
exists()
S
70 3 6
save()
S
71 3 5
_wpsc_country_default_properties()
S
64 3 10
delete_cache()
S
72 3 5
get_all()
S
63 3 9
as_array()
S
57 1 17
get()
S
64 2 9
get_region_id_by_region_code()
S
69 2 7
get_region_id_by_region_name()
S
69 2 7
get_region_code_by_region_id()
S
69 2 7
_compare_regions_by_name()
S
79 1 3
update_cache()
S
78 1 3
get_data()
S
79 1 3
_function_not_available_message()
S
66 1 9
get_outdated_isocodes()
S
66 1 10
get_region_count()
S
81 1 3
get_regions_array()
S
76 1 4
is_visible()
S
82 1 3
get_continent()
S
82 1 3
get_tax()
S
82 1 3
has_region()
S
79 1 3
has_regions()
S
80 1 3
get_currency_code()
S
82 1 3
get_currency_symbol_html()
S
82 1 3
get_currency_symbol()
S
82 1 3
get_currency_name()
S
82 1 3
get_currency()
S
80 1 3
get_isocode()
S
82 1 3
get_id()
S
82 1 3
get_name()
S
82 1 3
_parameter_no_longer_used_message()
S
66 1 9