- 
		Home
	
- 
Datafeedr API
- 
1.3.25 (latest)
- 
Code
- 
Classes
-  Datafeedr_Image_Importer 
		
			
				
					
													
								
																			
											| Total Complexity | 55 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 742 | 
																			
											| Lines of code | 249 | 
																			
											| Logical lines of code | 128 | 
																	
							 
													
								
																			
											| Comment lines | 365 | 
																			
											| Methods | 27 | 
																			
											| Properties | 5 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| media_sideload_image() | A | 50 | 10 | 26 | 
					
				| tmp_name() | A | 48 | 7 | 34 | 
					
				| import() | S | 46 | 4 | 42 | 
					
				| content_type_to_extension() | S | 62 | 3 | 11 | 
					
				| args() | S | 65 | 3 | 9 | 
					
				| set_post_thumbnail() | S | 65 | 3 | 9 | 
					
				| extensions() | S | 58 | 1 | 16 | 
					
				| set_url() | S | 73 | 2 | 4 | 
					
				| default_args() | S | 58 | 1 | 15 | 
					
				| has_error() | S | 78 | 2 | 3 | 
					
				| set_alt_text() | S | 70 | 2 | 6 | 
					
				| set_owner_source() | S | 73 | 2 | 4 | 
					
				| get_admin_user_id() | S | 61 | 1 | 12 | 
					
				| __construct() | S | 77 | 1 | 4 | 
					
				| set_args() | S | 74 | 1 | 4 | 
					
				| url() | S | 82 | 1 | 3 | 
					
				| attachment_id() | S | 80 | 1 | 3 | 
					
				| response() | S | 82 | 1 | 3 | 
					
				| wp_error() | S | 82 | 1 | 3 | 
					
				| post_data() | S | 66 | 1 | 8 | 
					
				| require_files() | S | 73 | 1 | 5 | 
					
				| set_attachment_id() | S | 80 | 1 | 3 | 
					
				| unlink_tmp_file() | S | 80 | 1 | 3 | 
					
				| set_response() | S | 63 | 1 | 10 | 
					
				| response_header() | S | 79 | 1 | 3 | 
					
				| response_message() | S | 80 | 1 | 3 | 
					
				| response_code() | S | 80 | 1 | 3 |