- 
		Home
	
 
	- 
Discount Rules and Dynamic Pricing for WooCommerce
 
- 
7.6.1
 
- 
Code
 
- 
Classes
 
-  WCCS_Public_Order_Hooks 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											29 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											148 | 
										
																			
											| Lines of code | 
											121 | 
										
																			
											| Logical lines of code | 
											61 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											0 | 
										
																			
											| Methods | 
											7 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 7
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| add_pricing_rules_usage() | 
									A  | 
																	50 | 
													8 | 
													31 | 
							
					
				| add_rules_usage_from_session() | 
									S  | 
																	53 | 
													6 | 
													25 | 
							
					
				| add_shipping_rules_usage() | 
									S  | 
																	55 | 
													5 | 
													20 | 
							
					
				| log_rules_usage() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| checkout_create_order_line_item() | 
									S  | 
																	58 | 
													3 | 
													17 | 
							
					
				| add_applied_rules() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| init() | 
									S  | 
																	74 | 
													1 | 
													4 |