- 
		Home
	
 
	- 
Advanced Ads – Ad Manager & AdSense
 
- 
2.0.13 (latest)
 
- 
Code
 
- 
Classes
 
-  Advanced_Ads 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											124 | 
										
																			
											| Dependencies | 
											11 | 
										
																			
											| Dependents | 
											13 | 
										
																	
							 
													
								
																			
											| Total lines | 
											774 | 
										
																			
											| Lines of code | 
											380 | 
										
																			
											| Logical lines of code | 
											196 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											276 | 
										
																			
											| Methods | 
											29 | 
										
																			
											| Properties | 
											9 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 29
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| inject_content() | 
									C  | 
																	37 | 
													25 | 
													73 | 
							
					
				| can_inject_into_content() | 
									A  | 
																	50 | 
													14 | 
													24 | 
							
					
				| debug_parameter() | 
									A  | 
																	47 | 
													10 | 
													37 | 
							
					
				| transition_ad_status() | 
									A  | 
																	55 | 
													11 | 
													18 | 
							
					
				| get_label() | 
									S  | 
																	45 | 
													6 | 
													43 | 
							
					
				| noindex_attachment_images() | 
									S  | 
																	60 | 
													8 | 
													11 | 
							
					
				| can_display_ads() | 
									S  | 
																	62 | 
													5 | 
													11 | 
							
					
				| internal_options() | 
									S  | 
																	56 | 
													4 | 
													19 | 
							
					
				| log() | 
									S  | 
																	62 | 
													4 | 
													11 | 
							
					
				| custom_header_code() | 
									S  | 
																	58 | 
													3 | 
													21 | 
							
					
				| get_adblocker_options() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| options() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| in_the_loop() | 
									S  | 
																	69 | 
													3 | 
													8 | 
							
					
				| set_was_in_the_loop() | 
									S  | 
																	67 | 
													3 | 
													8 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| set_query_type() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| is_main_query() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| has_many_the_content() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_model() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| get_content_injection_priority() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| update_internal_options() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| wp_plugins_loaded() | 
									S  | 
																	60 | 
													1 | 
													13 | 
							
					
				| __construct() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| advanced_ads_loaded() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| init_injection() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| set_loop_start() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_loop_end() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_number_of_ads() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_ad_placements_array() | 
									S  | 
																	80 | 
													1 | 
													3 |