- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  WordAds 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											122 | 
										
																			
											| Dependencies | 
											11 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,025 | 
										
																			
											| Lines of code | 
											539 | 
										
																			
											| Logical lines of code | 
											259 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											343 | 
										
																			
											| Methods | 
											29 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 29
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_ad() | 
									A  | 
																	48 | 
													16 | 
													29 | 
							
					
				| insert_header_ad() | 
									A  | 
																	48 | 
													13 | 
													32 | 
							
					
				| init() | 
									A  | 
																	47 | 
													12 | 
													34 | 
							
					
				| get_ad_snippet() | 
									A  | 
																	39 | 
													9 | 
													70 | 
							
					
				| insert_head_meta() | 
									A  | 
																	39 | 
													7 | 
													67 | 
							
					
				| insert_inline_ad() | 
									S  | 
																	57 | 
													8 | 
													15 | 
							
					
				| insert_ad() | 
									S  | 
																	61 | 
													7 | 
													11 | 
							
					
				| get_fallback_ad_snippet() | 
									S  | 
																	44 | 
													4 | 
													53 | 
							
					
				| get_ad_div() | 
									S  | 
																	52 | 
													5 | 
													25 | 
							
					
				| insert_adcode() | 
									S  | 
																	53 | 
													5 | 
													21 | 
							
					
				| get_house_ad() | 
									S  | 
																	53 | 
													4 | 
													28 | 
							
					
				| insert_head_iponweb() | 
									S  | 
																	60 | 
													3 | 
													16 | 
							
					
				| insert_custom_adstxt() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| resource_hints() | 
									S  | 
																	55 | 
													2 | 
													22 | 
							
					
				| insert_header_ad_amp() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| get_watl_ad_html_tag() | 
									S  | 
																	55 | 
													1 | 
													27 | 
							
					
				| is_amp() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| option() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| is_infinite_scroll() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| get_dynamic_ad_snippet() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| should_bail() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| widget_callback() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| get_amp_snippet() | 
									S  | 
																	61 | 
													1 | 
													13 | 
							
					
				| get_amp_section_id() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_ad_tags() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_solo_unit_css() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| enqueue_scripts() | 
									S  | 
																	69 | 
													1 | 
													8 | 
							
					
				| activate() | 
									S  | 
																	81 | 
													1 | 
													3 |