- 
		Home
	
- 
Discount Rules and Dynamic Pricing for WooCommerce
- 
5.1.0
- 
Code
- 
Classes
-  WCCS_Compatibility_WOOCS 
		
			
				
					
													
								
																			
											| Total Complexity | 26 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 107 | 
																			
											| Lines of code | 82 | 
																			
											| Logical lines of code | 50 | 
																	
							 
													
								
																			
											| Comment lines | 1 | 
																			
											| Methods | 11 | 
																			
											| Properties | 3 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 11
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| init() | S | 53 | 3 | 22 | 
					
				| get_coupon_amount() | S | 66 | 4 | 8 | 
					
				| enable_price_hook() | S | 66 | 3 | 8 | 
					
				| before_get_price_html() | S | 65 | 3 | 9 | 
					
				| after_get_price_html() | S | 65 | 3 | 9 | 
					
				| cart_item_price_before_discounted_price() | S | 70 | 3 | 6 | 
					
				| __construct() | S | 75 | 2 | 4 | 
					
				| disable_price_hook() | S | 69 | 2 | 7 | 
					
				| cart_item_price_prices_price() | S | 80 | 1 | 3 | 
					
				| change_price() | S | 80 | 1 | 3 | 
					
				| exchange_price() | S | 80 | 1 | 3 |