- 
		Home
	
- 
Discount Rules and Dynamic Pricing for WooCommerce
- 
5.1.0
- 
Code
- 
Classes
-  WCCS_Compatibility_Product_Addons 
		
			
				
					
													
								
																			
											| Total Complexity | 21 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 106 | 
																			
											| Lines of code | 81 | 
																			
											| Logical lines of code | 49 | 
																	
							 
													
								
																			
											| Comment lines | 1 | 
																			
											| Methods | 8 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 8
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_addons_price() | S | 53 | 5 | 23 | 
					
				| cart_item_prices() | S | 57 | 5 | 16 | 
					
				| cart_item_before_discounted_price() | S | 62 | 2 | 12 | 
					
				| init() | S | 64 | 2 | 9 | 
					
				| cart_item_discounted_price() | S | 70 | 2 | 6 | 
					
				| cart_item_main_price() | S | 70 | 2 | 6 | 
					
				| cart_item_main_display_price() | S | 70 | 2 | 6 | 
					
				| __construct() | S | 81 | 1 | 3 |