- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  WPCOM_JSON_API_Update_Post_Endpoint 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											237 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											808 | 
										
																			
											| Lines of code | 
											538 | 
										
																			
											| Logical lines of code | 
											374 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											158 | 
										
																			
											| Methods | 
											7 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 7
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| write_post() | 
									D  | 
																	0  | 
													204 | 
													442 | 
							
					
				| delete_post() | 
									A  | 
																	49 | 
													9 | 
													29 | 
							
					
				| parse_and_set_author() | 
									A  | 
																	56 | 
													8 | 
													18 | 
							
					
				| parse_and_set_featured_image() | 
									S  | 
																	57 | 
													6 | 
													17 | 
							
					
				| callback() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| restore_post() | 
									S  | 
																	59 | 
													4 | 
													13 | 
							
					
				| __construct() | 
									S  | 
																	69 | 
													2 | 
													6 |