- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  Jetpack_Display_Posts_Widget__Base 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											87 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											823 | 
										
																			
											| Lines of code | 
											379 | 
										
																			
											| Logical lines of code | 
											207 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											337 | 
										
																			
											| Methods | 
											18 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| form() | 
									B  | 
																	36 | 
													15 | 
													89 | 
							
					
				| widget() | 
									B  | 
																	39 | 
													16 | 
													59 | 
							
					
				| update() | 
									A  | 
																	50 | 
													12 | 
													25 | 
							
					
				| extract_errors_from_blog_data() | 
									A  | 
																	50 | 
													8 | 
													30 | 
							
					
				| parse_service_response() | 
									S  | 
																	48 | 
													6 | 
													40 | 
							
					
				| fetch_blog_data() | 
									S  | 
																	46 | 
													5 | 
													46 | 
							
					
				| format_posts_for_storage() | 
									S  | 
																	58 | 
													7 | 
													15 | 
							
					
				| parse_posts_response() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| parse_site_info_response() | 
									S  | 
																	62 | 
													3 | 
													13 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													2 | 
													13 | 
							
					
				| fetch_service_endpoint() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| enqueue_scripts() | 
									S  | 
																	69 | 
													1 | 
													8 | 
							
					
				| get_blog_data() | 
									S  | 
																	100 | 
													1 | 
													0 | 
							
					
				| update_instance() | 
									S  | 
																	100 | 
													1 | 
													0 | 
							
					
				| get_site_hash() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| fetch_site_info() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| fetch_posts_for_site() | 
									S  | 
																	65 | 
													1 | 
													10 | 
							
					
				| wp_wp_remote_get() | 
									S  | 
																	79 | 
													1 | 
													3 |