- 
		Home
	
 
	- 
Ad Inserter – Ad Manager & AdSense Ads
 
- 
2.8.6
 
- 
Code
 
- 
Classes
 
-  ai_BaseCodeBlock 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											169 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											687 | 
										
																			
											| Lines of code | 
											503 | 
										
																			
											| Logical lines of code | 
											427 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											13 | 
										
																			
											| Methods | 
											18 | 
										
																			
											| Properties | 
											69 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| load_options() | 
									D  | 
																	22  | 
													46 | 
													203 | 
							
					
				| ai_getCode() | 
									D  | 
																	33 | 
													37 | 
													77 | 
							
					
				| check_server_side_detection() | 
									A  | 
																	54 | 
													16 | 
													19 | 
							
					
				| get_display_for_devices_text() | 
									A  | 
																	49 | 
													13 | 
													31 | 
							
					
				| empty_code() | 
									A  | 
																	50 | 
													12 | 
													26 | 
							
					
				| get_display_for_devices() | 
									A  | 
																	60 | 
													10 | 
													11 | 
							
					
				| get_enable_amp() | 
									S  | 
																	59 | 
													7 | 
													13 | 
							
					
				| check_filter_hook() | 
									S  | 
																	57 | 
													4 | 
													16 | 
							
					
				| __construct() | 
									S  | 
																	42 | 
													1 | 
													57 | 
							
					
				| get_detection_server_side() | 
									S  | 
																	65 | 
													4 | 
													8 | 
							
					
				| get_enable_manual() | 
									S  | 
																	71 | 
													3 | 
													5 | 
							
					
				| get_process_php() | 
									S  | 
																	71 | 
													3 | 
													5 | 
							
					
				| get_enable_404() | 
									S  | 
																	71 | 
													3 | 
													5 | 
							
					
				| get_debug_disable_insertion() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| get_ad_name() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_ad_data() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_ad_code_hash() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| clear_code_cache() | 
									S  | 
																	80 | 
													1 | 
													3 |