- 
		Home
	
 
	- 
Imagify Image Optimization – Optimize Images | Compress Images | Convert WebP | Convert AVIF
 
- 
2.2.6 (latest)
 
- 
Code
 
- 
Classes
 
-  Imagify_AS3CF_Attachment 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											143 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											979 | 
										
																			
											| Lines of code | 
											470 | 
										
																			
											| Logical lines of code | 
											314 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											332 | 
										
																			
											| Methods | 
											19 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 19
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| optimize() | 
									D  | 
																	29 | 
													33 | 
													120 | 
							
					
				| optimize_missing_thumbnails() | 
									C  | 
																	32 | 
													29 | 
													104 | 
							
					
				| restore() | 
									C  | 
																	37 | 
													24 | 
													72 | 
							
					
				| get_file_from_s3() | 
									S  | 
																	53 | 
													7 | 
													22 | 
							
					
				| maybe_resize() | 
									S  | 
																	55 | 
													7 | 
													20 | 
							
					
				| can_send_to_s3() | 
									S  | 
																	55 | 
													7 | 
													19 | 
							
					
				| maybe_send_attachment_to_s3() | 
									S  | 
																	55 | 
													5 | 
													20 | 
							
					
				| set_deletion_status() | 
									S  | 
																	61 | 
													5 | 
													12 | 
							
					
				| cleanup() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| get_thumbnail_path() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| get_thumbnail_url() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| is_s3_setup() | 
									S  | 
																	67 | 
													3 | 
													8 | 
							
					
				| get_s3_info() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| maybe_delete_file() | 
									S  | 
																	66 | 
													3 | 
													9 | 
							
					
				| file_should_be_deleted() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_original_path() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_original_url() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| reoptimize_thumbnails() | 
									S  | 
																	98 | 
													1 | 
													1 |