- 
		Home
	
- 
Discount Rules and Dynamic Pricing for WooCommerce
- 
5.12.0
- 
Code
- 
Classes
-  WCCS_Cart_Item_Pricing_Discounts 
		
			
				
					
													
								
																			
											| Total Complexity | 54 | 
																			
											| Dependencies | 2 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 186 | 
																			
											| Lines of code | 141 | 
																			
											| Logical lines of code | 77 | 
																	
							 
													
								
																			
											| Comment lines | 0 | 
																			
											| Methods | 7 | 
																			
											| Properties | 8 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 7
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_bulk_discounts() | B | 43 | 18 | 42 | 
					
				| get_simple_discounts() | A | 50 | 10 | 25 | 
					
				| get_simple_pricings() | A | 51 | 10 | 23 | 
					
				| get_bulk_pricings() | A | 52 | 10 | 23 | 
					
				| __construct() | S | 63 | 2 | 10 | 
					
				| get_discounts() | S | 65 | 2 | 9 | 
					
				| get_pricings() | S | 65 | 2 | 9 |