- 
		Home
	
- 
YITH WooCommerce Wishlist
- 
3.34.0
- 
Code
- 
Classes
-  YITH_WCWL_Wishlist 
		
			
				
					
													
								
																			
											| Total Complexity | 123 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 1,034 | 
																			
											| Lines of code | 385 | 
																			
											| Logical lines of code | 216 | 
																	
							 
													
								
																			
											| Comment lines | 504 | 
																			
											| Methods | 55 | 
																			
											| Properties | 5 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 55
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| is_current_user_owner() | A | 58 | 9 | 15 | 
					
				| __construct() | S | 50 | 7 | 27 | 
					
				| current_user_can() | S | 56 | 7 | 17 | 
					
				| has_privacy() | S | 58 | 6 | 16 | 
					
				| map_legacy_offsets() | S | 58 | 5 | 16 | 
					
				| add_product() | S | 57 | 4 | 17 | 
					
				| get_user_formatted_name() | S | 58 | 4 | 15 | 
					
				| save_items() | S | 62 | 4 | 12 | 
					
				| save() | S | 62 | 3 | 12 | 
					
				| get_formatted_name() | S | 67 | 3 | 7 | 
					
				| get_date_added() | S | 68 | 3 | 7 | 
					
				| get_date_added_formatted() | S | 67 | 3 | 8 | 
					
				| get_expiration() | S | 68 | 3 | 7 | 
					
				| get_expiration_formatted() | S | 67 | 3 | 8 | 
					
				| get_items() | S | 64 | 3 | 10 | 
					
				| add_item() | S | 65 | 3 | 9 | 
					
				| offsetSet() | S | 65 | 3 | 9 | 
					
				| offsetUnset() | S | 66 | 3 | 9 | 
					
				| get_user_email() | S | 67 | 2 | 8 | 
					
				| get_user_first_name() | S | 67 | 2 | 8 | 
					
				| get_user_last_name() | S | 67 | 2 | 8 | 
					
				| set_prop() | S | 70 | 2 | 6 | 
					
				| get_product() | S | 66 | 2 | 8 | 
					
				| remove_product() | S | 65 | 2 | 9 | 
					
				| get_item() | S | 68 | 2 | 7 | 
					
				| remove_item() | S | 65 | 2 | 9 | 
					
				| offsetExists() | S | 67 | 2 | 8 | 
					
				| offsetGet() | S | 67 | 2 | 8 | 
					
				| count_items() | S | 80 | 1 | 3 | 
					
				| is_session_based() | S | 80 | 1 | 3 | 
					
				| is_default() | S | 81 | 1 | 3 | 
					
				| has_owner() | S | 80 | 1 | 3 | 
					
				| get_token() | S | 82 | 1 | 3 | 
					
				| get_privacy() | S | 79 | 1 | 3 | 
					
				| get_formatted_privacy() | S | 72 | 1 | 5 | 
					
				| get_user_id() | S | 79 | 1 | 3 | 
					
				| get_session_id() | S | 79 | 1 | 3 | 
					
				| get_name() | S | 78 | 1 | 3 | 
					
				| get_slug() | S | 79 | 1 | 3 | 
					
				| get_is_default() | S | 79 | 1 | 3 | 
					
				| get_url() | S | 79 | 1 | 3 | 
					
				| get_download_url() | S | 77 | 1 | 3 | 
					
				| get_delete_url() | S | 76 | 1 | 3 | 
					
				| set_token() | S | 80 | 1 | 3 | 
					
				| set_privacy() | S | 80 | 1 | 3 | 
					
				| set_user_id() | S | 80 | 1 | 3 | 
					
				| set_session_id() | S | 80 | 1 | 3 | 
					
				| set_name() | S | 80 | 1 | 3 | 
					
				| set_slug() | S | 78 | 1 | 3 | 
					
				| set_is_default() | S | 80 | 1 | 3 | 
					
				| set_date_added() | S | 80 | 1 | 3 | 
					
				| set_expiration() | S | 80 | 1 | 3 | 
					
				| has_items() | S | 76 | 1 | 4 | 
					
				| has_product() | S | 74 | 1 | 4 | 
					
				| has_item() | S | 77 | 1 | 3 |