- 
		Home
	
- 
Jetpack – WP Security, Backup, Speed, & Growth
- 
13.2.2
- 
Code
- 
Classes
-  WordAds 
		
			
				
					
													
								
																			
											| Total Complexity | 111 | 
																			
											| Dependencies | 8 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 845 | 
																			
											| Lines of code | 424 | 
																			
											| Logical lines of code | 239 | 
																	
							 
													
								
																			
											| Comment lines | 302 | 
																			
											| Methods | 27 | 
																			
											| Properties | 7 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_ad() | A | 48 | 16 | 29 | 
					
				| insert_header_ad() | A | 48 | 13 | 32 | 
					
				| init() | A | 48 | 11 | 31 | 
					
				| get_ad_snippet() | A | 44 | 8 | 44 | 
					
				| insert_ad() | S | 61 | 7 | 11 | 
					
				| get_dynamic_ad_snippet() | S | 44 | 4 | 53 | 
					
				| get_ad_div() | S | 52 | 5 | 25 | 
					
				| insert_adcode() | S | 53 | 5 | 21 | 
					
				| insert_head_meta() | S | 54 | 5 | 20 | 
					
				| get_house_ad() | S | 53 | 4 | 28 | 
					
				| insert_inline_ad() | S | 61 | 4 | 12 | 
					
				| insert_head_iponweb() | S | 62 | 3 | 14 | 
					
				| insert_custom_adstxt() | S | 63 | 3 | 11 | 
					
				| resource_hints() | S | 55 | 2 | 22 | 
					
				| insert_header_ad_amp() | S | 67 | 3 | 7 | 
					
				| is_amp() | S | 79 | 2 | 3 | 
					
				| option() | S | 71 | 2 | 6 | 
					
				| __construct() | S | 65 | 2 | 9 | 
					
				| is_infinite_scroll() | S | 79 | 2 | 3 | 
					
				| 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 |