- 
		Home
	
 
	- 
WowRevenue – Product Bundles & Bulk Discounts
 
- 
2.0.2 (latest)
 
- 
Code
 
- 
Classes
 
-  Revenue_Normal_Discount 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											56 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											385 | 
										
																			
											| Lines of code | 
											202 | 
										
																			
											| Logical lines of code | 
											126 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											113 | 
										
																			
											| Methods | 
											9 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| render_views() | 
									B  | 
																	39 | 
													14 | 
													77 | 
							
					
				| get_discounted_price() | 
									A  | 
																	47 | 
													12 | 
													32 | 
							
					
				| set_price_on_cart() | 
									A  | 
																	50 | 
													11 | 
													25 | 
							
					
				| get_offer_products() | 
									A  | 
																	48 | 
													8 | 
													31 | 
							
					
				| cart_item_price() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| output_inpage_views() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| output_popup_views() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| output_floating_views() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| init() | 
									S  | 
																	74 | 
													1 | 
													4 |