- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  Jetpack_PostImages 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											200 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											12 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,147 | 
										
																			
											| Lines of code | 
											709 | 
										
																			
											| Logical lines of code | 
											385 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											336 | 
										
																			
											| Methods | 
											19 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 19
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| from_thumbnail() | 
									C  | 
																	34 | 
													29 | 
													86 | 
							
					
				| from_html() | 
									B  | 
																	35 | 
													22 | 
													82 | 
							
					
				| get_images() | 
									B  | 
																	41 | 
													18 | 
													56 | 
							
					
				| get_images_from_block_attributes() | 
									B  | 
																	45 | 
													19 | 
													40 | 
							
					
				| from_gallery() | 
									B  | 
																	38 | 
													17 | 
													67 | 
							
					
				| from_slideshow() | 
									A  | 
																	40 | 
													13 | 
													58 | 
							
					
				| from_attachment() | 
									A  | 
																	43 | 
													13 | 
													47 | 
							
					
				| get_attachment_data() | 
									A  | 
																	46 | 
													10 | 
													40 | 
							
					
				| generate_cropped_srcset() | 
									A  | 
																	49 | 
													9 | 
													29 | 
							
					
				| fit_image_url() | 
									A  | 
																	52 | 
													8 | 
													25 | 
							
					
				| from_blocks() | 
									A  | 
																	47 | 
													7 | 
													36 | 
							
					
				| determine_thumbnail_size_for_photon() | 
									S  | 
																	53 | 
													7 | 
													24 | 
							
					
				| filter_gallery_urls() | 
									S  | 
																	53 | 
													7 | 
													22 | 
							
					
				| from_blavatar() | 
									S  | 
																	52 | 
													6 | 
													26 | 
							
					
				| from_gravatar() | 
									S  | 
																	49 | 
													5 | 
													32 | 
							
					
				| get_post_html() | 
									S  | 
																	57 | 
													4 | 
													18 | 
							
					
				| get_image() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| get_alt_text() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_max_thumbnail_dimension() | 
									S  | 
																	78 | 
													1 | 
													3 |