- 
		Home
	
 
	- 
Discount Rules and Dynamic Pricing for WooCommerce
 
- 
7.6.1
 
- 
Code
 
- 
Classes
 
-  WCCS_Cart_Item_Pricing_Discounts 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											58 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											214 | 
										
																			
											| Lines of code | 
											165 | 
										
																			
											| Logical lines of code | 
											85 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											0 | 
										
																			
											| Methods | 
											7 | 
										
																			
											| Properties | 
											8 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 7
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_bulk_discounts() | 
									B  | 
																	42 | 
													19 | 
													48 | 
							
					
				| get_simple_discounts() | 
									A  | 
																	48 | 
													11 | 
													31 | 
							
					
				| get_simple_pricings() | 
									A  | 
																	49 | 
													11 | 
													29 | 
							
					
				| get_bulk_pricings() | 
									A  | 
																	49 | 
													11 | 
													29 | 
							
					
				| __construct() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| get_discounts() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| get_pricings() | 
									S  | 
																	65 | 
													2 | 
													9 |