- 
		Home
	
 
	- 
Imagify Image Optimization – Optimize Images | Compress Images | Convert WebP | Convert AVIF
 
- 
2.2.6 (latest)
 
- 
Code
 
- 
Classes
 
-  Imagify_Attachment 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											92 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											840 | 
										
																			
											| Lines of code | 
											361 | 
										
																			
											| Logical lines of code | 
											232 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											347 | 
										
																			
											| Methods | 
											16 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| optimize() | 
									B  | 
																	35 | 
													21 | 
													81 | 
							
					
				| reoptimize_thumbnails() | 
									A  | 
																	39 | 
													15 | 
													60 | 
							
					
				| optimize_missing_thumbnails() | 
									A  | 
																	41 | 
													10 | 
													55 | 
							
					
				| fill_data() | 
									A  | 
																	45 | 
													8 | 
													42 | 
							
					
				| create_missing_thumbnails() | 
									A  | 
																	52 | 
													9 | 
													23 | 
							
					
				| create_thumbnail() | 
									A  | 
																	50 | 
													8 | 
													27 | 
							
					
				| restore() | 
									S  | 
																	54 | 
													5 | 
													22 | 
							
					
				| update_metadata_size() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| get_data() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_optimization_level() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_status() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_dimensions() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_raw_backup_path() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_original_path() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_original_url() | 
									S  | 
																	80 | 
													1 | 
													3 |