WHTP_Geolocation S

Total Complexity 45
Dependencies 3
Dependents 4
Total lines 350
Lines of code 164
Logical lines of code 94
Comment lines 141
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
locate_ip()
B
38 16 67
get_ip_address()
S
59 7 16
get_country_code()
S
62 3 11
get_country_name_by_ip()
S
62 3 11
get_local_database_path()
S
63 2 12
get_instance()
S
71 2 6
get_location()
S
72 2 6
code_to_country_name()
S
68 2 7
has_integration()
S
71 2 6
__construct()
S
73 1 5
init()
S
95 1 1
get_results()
S
76 1 4
set_location()
S
76 1 4
countries()
S
74 1 4
states()
S
74 1 4