SPC_Countries A

Total Complexity 67
Dependencies 0
Dependents 1
Total lines 3,561
Lines of code 3,473
Logical lines of code 125
Comment lines 98
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
__construct()
D
0
1 2,345
get_country_locale()
D
13
3 797
get_address_fields()
B
42 18 47
get_formatted_address()
A
39 9 66
get_default_address_fields()
S
39 3 77
state_dropdown()
S
53 6 20
country_only_dropdown()
S
54 6 19
countries_dropdown()
S
55 6 17
get_allowed_countries()
S
62 5 11
get_countries_with_states()
S
59 4 14
get_address_formats()
S
45 1 46
get_states()
S
73 2 5
get_base_country()
S
80 1 3
get_countries()
S
82 1 3
trim_formatted_address_line()
S
79 1 3