- 
		Home
	
- 
YITH WooCommerce Wishlist
- 
3.34.0
- 
Code
- 
Classes
-  YITH_WCWL_Wishlist_Item 
		
			
				
					
													
								
																			
											| Total Complexity | 90 | 
																			
											| Dependencies | 7 | 
																			
											| Dependents | 5 | 
																	
							 
													
								
																			
											| Total lines | 761 | 
																			
											| Lines of code | 292 | 
																			
											| Logical lines of code | 157 | 
																	
							 
													
								
																			
											| Comment lines | 345 | 
																			
											| Methods | 40 | 
																			
											| Properties | 4 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 40
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_price_variation() | A | 46 | 8 | 37 | 
					
				| __construct() | S | 57 | 6 | 17 | 
					
				| get_product_price() | S | 60 | 4 | 13 | 
					
				| get_formatted_product_price() | S | 60 | 4 | 12 | 
					
				| set_on_sale() | S | 69 | 4 | 6 | 
					
				| get_product() | S | 66 | 3 | 9 | 
					
				| get_date_added() | S | 66 | 3 | 8 | 
					
				| get_date_added_formatted() | S | 67 | 3 | 8 | 
					
				| get_original_currency() | S | 68 | 3 | 7 | 
					
				| get_stock_status() | S | 65 | 3 | 9 | 
					
				| set_wishlist_id() | S | 68 | 3 | 7 | 
					
				| offsetSet() | S | 65 | 3 | 9 | 
					
				| offsetUnset() | S | 66 | 3 | 9 | 
					
				| map_legacy_offsets() | S | 65 | 3 | 9 | 
					
				| get_original_price() | S | 62 | 2 | 12 | 
					
				| get_formatted_product_name() | S | 69 | 2 | 7 | 
					
				| get_user() | S | 68 | 2 | 7 | 
					
				| get_wishlist() | S | 69 | 2 | 7 | 
					
				| get_wishlist_slug() | S | 69 | 2 | 7 | 
					
				| get_wishlist_name() | S | 69 | 2 | 7 | 
					
				| get_wishlist_token() | S | 69 | 2 | 7 | 
					
				| is_purchasable() | S | 69 | 2 | 7 | 
					
				| set_product_id() | S | 68 | 2 | 7 | 
					
				| offsetExists() | S | 67 | 2 | 8 | 
					
				| offsetGet() | S | 67 | 2 | 8 | 
					
				| get_wishlist_id() | S | 79 | 1 | 3 | 
					
				| get_origin_wishlist_id() | S | 81 | 1 | 3 | 
					
				| get_original_product_id() | S | 79 | 1 | 3 | 
					
				| get_product_id() | S | 78 | 1 | 3 | 
					
				| get_quantity() | S | 71 | 1 | 5 | 
					
				| get_user_id() | S | 79 | 1 | 3 | 
					
				| get_position() | S | 79 | 1 | 3 | 
					
				| is_on_sale() | S | 79 | 1 | 3 | 
					
				| get_remove_url() | S | 74 | 1 | 4 | 
					
				| set_quantity() | S | 80 | 1 | 3 | 
					
				| set_user_id() | S | 80 | 1 | 3 | 
					
				| set_date_added() | S | 80 | 1 | 3 | 
					
				| set_position() | S | 79 | 1 | 3 | 
					
				| set_original_price() | S | 80 | 1 | 3 | 
					
				| set_original_currency() | S | 80 | 1 | 3 |