- 
		Home
	
- 
Jetpack – WP Security, Backup, Speed, & Growth
- 
13.2.2
- 
Code
- 
Classes
-  Jetpack_Widget_Conditions 
		
			
				
					
													
								
																			
											| Total Complexity | 224 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 1,165 | 
																			
											| Lines of code | 802 | 
																			
											| Logical lines of code | 451 | 
																	
							 
													
								
																			
											| Comment lines | 238 | 
																			
											| Methods | 15 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| filter_widget_check_conditions() | D | 16 | 87 | 208 | 
					
				| init() | C | 37 | 32 | 64 | 
					
				| widget_conditions_admin() | B | 28 | 17 | 161 | 
					
				| widget_admin_setup() | B | 29 | 12 | 136 | 
					
				| widget_update() | B | 45 | 17 | 37 | 
					
				| migrate_post_type_rules() | B | 43 | 16 | 46 | 
					
				| filter_widget() | A | 48 | 16 | 28 | 
					
				| sidebars_widgets() | A | 46 | 14 | 37 | 
					
				| add_block_attributes_filter() | S | 54 | 3 | 22 | 
					
				| get_pages() | S | 50 | 2 | 28 | 
					
				| maybe_get_split_term() | S | 63 | 3 | 11 | 
					
				| generate_condition_key() | S | 69 | 2 | 6 | 
					
				| setup_block_controls() | S | 63 | 1 | 12 | 
					
				| template_redirect() | S | 80 | 1 | 3 | 
					
				| strcasecmp_name() | S | 79 | 1 | 3 |