- 
		Home
	
 
	- 
AI Engine
 
- 
3.1.6 (latest)
 
- 
Code
 
- 
Classes
 
-  Meow_MWAI_Modules_Files 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											184 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,025 | 
										
																			
											| Lines of code | 
											740 | 
										
																			
											| Logical lines of code | 
											386 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											165 | 
										
																			
											| Methods | 
											33 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 33
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| upload_file() | 
									B  | 
																	34 | 
													22 | 
													83 | 
							
					
				| commit_file() | 
									B  | 
																	43 | 
													21 | 
													45 | 
							
					
				| handle_cleanup_task() | 
									B  | 
																	33 | 
													16 | 
													109 | 
							
					
				| rest_list() | 
									A  | 
																	50 | 
													13 | 
													23 | 
							
					
				| _buildQuery() | 
									A  | 
																	45 | 
													11 | 
													44 | 
							
					
				| delete_expired_files() | 
									A  | 
																	49 | 
													8 | 
													32 | 
							
					
				| rest_upload() | 
									A  | 
																	49 | 
													8 | 
													27 | 
							
					
				| check_db() | 
									A  | 
																	54 | 
													8 | 
													20 | 
							
					
				| save_temp_image_from_b64() | 
									A  | 
																	49 | 
													7 | 
													31 | 
							
					
				| rest_delete() | 
									S  | 
																	55 | 
													7 | 
													18 | 
							
					
				| get_info() | 
									S  | 
																	52 | 
													5 | 
													26 | 
							
					
				| get_path() | 
									S  | 
																	53 | 
													5 | 
													23 | 
							
					
				| get_url() | 
									S  | 
																	53 | 
													5 | 
													23 | 
							
					
				| delete_files() | 
									S  | 
																	54 | 
													5 | 
													20 | 
							
					
				| list() | 
									S  | 
																	55 | 
													4 | 
													18 | 
							
					
				| filter_authorized_files() | 
									S  | 
																	56 | 
													4 | 
													17 | 
							
					
				| get_metadata() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| get_id_from_refId() | 
									S  | 
																	60 | 
													3 | 
													15 | 
							
					
				| get_mime_type() | 
									S  | 
																	64 | 
													3 | 
													11 | 
							
					
				| get_effective_user_id() | 
									S  | 
																	69 | 
													3 | 
													7 | 
							
					
				| create_db() | 
									S  | 
																	54 | 
													1 | 
													29 | 
							
					
				| generate_refId() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| add_metadata() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| rest_api_init() | 
									S  | 
																	58 | 
													1 | 
													17 | 
							
					
				| get_base64_data() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| get_data() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| update_refId() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| update_purpose() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| update_envId() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| search() | 
									S  | 
																	63 | 
													2 | 
													9 | 
							
					
				| add_metadata_from_refId() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	64 | 
													1 | 
													9 | 
							
					
				| is_image() | 
									S  | 
																	75 | 
													1 | 
													4 |