- 
		Home
	
 
	- 
Geo Controller
 
- 
7.13.5
 
- 
Code
 
- 
Classes
 
-  CF_Geoplugin_Global 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											571 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,418 | 
										
																			
											| Lines of code | 
											1,571 | 
										
																			
											| Logical lines of code | 
											957 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											421 | 
										
																			
											| Methods | 
											66 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 66
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| ip() | 
									D  | 
																	26  | 
													41 | 
													157 | 
							
					
				| post() | 
									C  | 
																	36 | 
													31 | 
													70 | 
							
					
				| get() | 
									C  | 
																	36 | 
													31 | 
													70 | 
							
					
				| request() | 
									C  | 
																	36 | 
													31 | 
													70 | 
							
					
				| ip_server() | 
									C  | 
																	36 | 
													26 | 
													76 | 
							
					
				| get_post_type() | 
									B  | 
																	47 | 
													25 | 
													28 | 
							
					
				| get_current_page_ID() | 
									B  | 
																	42 | 
													22 | 
													47 | 
							
					
				| curl_get() | 
									B  | 
																	42 | 
													21 | 
													50 | 
							
					
				| validate() | 
									B  | 
																	38 | 
													19 | 
													65 | 
							
					
				| is_ssl() | 
									B  | 
																	52 | 
													18 | 
													21 | 
							
					
				| check_user_by_region() | 
									A  | 
																	53 | 
													14 | 
													21 | 
							
					
				| check_user_by_country() | 
									A  | 
																	53 | 
													14 | 
													21 | 
							
					
				| get_the_option() | 
									A  | 
																	48 | 
													12 | 
													33 | 
							
					
				| ip_blocked() | 
									A  | 
																	42 | 
													9 | 
													56 | 
							
					
				| url_origin() | 
									A  | 
																	58 | 
													12 | 
													11 | 
							
					
				| sanitize() | 
									A  | 
																	48 | 
													10 | 
													35 | 
							
					
				| check_defender_activation() | 
									A  | 
																	54 | 
													11 | 
													19 | 
							
					
				| update_option() | 
									A  | 
																	48 | 
													9 | 
													37 | 
							
					
				| filter_ip() | 
									A  | 
																	54 | 
													10 | 
													21 | 
							
					
				| cf_geo_get_terms() | 
									A  | 
																	50 | 
													9 | 
													28 | 
							
					
				| check_user_by_postcode() | 
									A  | 
																	58 | 
													10 | 
													13 | 
							
					
				| check_user_by_city() | 
									A  | 
																	58 | 
													10 | 
													13 | 
							
					
				| access_level() | 
									A  | 
																	50 | 
													8 | 
													32 | 
							
					
				| recursive_array_search() | 
									A  | 
																	52 | 
													8 | 
													25 | 
							
					
				| flush_w3tc_cache() | 
									S  | 
																	58 | 
													8 | 
													15 | 
							
					
				| get_option() | 
									S  | 
																	53 | 
													7 | 
													24 | 
							
					
				| delete_option() | 
									S  | 
																	56 | 
													7 | 
													19 | 
							
					
				| get_time_ago() | 
									S  | 
																	48 | 
													6 | 
													34 | 
							
					
				| is_bot() | 
									S  | 
																	48 | 
													6 | 
													33 | 
							
					
				| lookup_status_icon() | 
									S  | 
																	58 | 
													7 | 
													14 | 
							
					
				| set_stream_context() | 
									S  | 
																	44 | 
													4 | 
													52 | 
							
					
				| array_find_parent() | 
									S  | 
																	57 | 
													6 | 
													17 | 
							
					
				| runtime_status_icon() | 
									S  | 
																	56 | 
													6 | 
													17 | 
							
					
				| plugin_auto_update() | 
									S  | 
																	61 | 
													7 | 
													10 | 
							
					
				| validate_ip() | 
									S  | 
																	60 | 
													6 | 
													12 | 
							
					
				| shortcode_has_argument() | 
									S  | 
																	66 | 
													6 | 
													8 | 
							
					
				| var_dump() | 
									S  | 
																	59 | 
													5 | 
													14 | 
							
					
				| __construct() | 
									S  | 
																	50 | 
													4 | 
													28 | 
							
					
				| array_find_deep() | 
									S  | 
																	60 | 
													5 | 
													13 | 
							
					
				| analyse_file() | 
									S  | 
																	45 | 
													3 | 
													43 | 
							
					
				| get_post_meta() | 
									S  | 
																	60 | 
													5 | 
													12 | 
							
					
				| is_connected() | 
									S  | 
																	57 | 
													4 | 
													18 | 
							
					
				| add_admin_url() | 
									S  | 
																	59 | 
													4 | 
													17 | 
							
					
				| check_activation() | 
									S  | 
																	68 | 
													5 | 
													6 | 
							
					
				| URL() | 
									S  | 
																	57 | 
													4 | 
													14 | 
							
					
				| generate_token() | 
									S  | 
																	59 | 
													4 | 
													13 | 
							
					
				| get_time_ago_string() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| license_name() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| generate_converter_output() | 
									S  | 
																	72 | 
													3 | 
													4 | 
							
					
				| get_instance() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| notice() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| register_uninstall_hook() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| register_deactivation_hook() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| register_activation_hook() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| add_action() | 
									S  | 
																	71 | 
													2 | 
													5 | 
							
					
				| add_filter() | 
									S  | 
																	71 | 
													2 | 
													5 | 
							
					
				| remove_filter() | 
									S  | 
																	71 | 
													2 | 
													5 | 
							
					
				| add_shortcode() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| is_network_admin() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| full_url() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| addhttp() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| proxy() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| get_host() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| is_plugin_active() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| get_http_codes() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| mb_convert_encoding() | 
									S  | 
																	67 | 
													1 | 
													7 |