- 
		Home
	
 
	- 
Product Options and Price Calculation Formulas for WooCommerce – Uni CPO
 
- 
4.9.9.1
 
- 
Code
 
- 
Classes
 
-  EvalMathFuncs 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											26 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											120 | 
										
																			
											| Lines of code | 
											94 | 
										
																			
											| Logical lines of code | 
											53 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											1 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| rand_int() | 
									S  | 
																	57 | 
													4 | 
													16 | 
							
					
				| minpositiveorzero() | 
									S  | 
																	61 | 
													3 | 
													13 | 
							
					
				| max() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| min() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| rangesum() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| sum() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| get_random_seed() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| average() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| mod() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| pi() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| power() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| round() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| set_random_seed() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| rand_float() | 
									S  | 
																	74 | 
													1 | 
													4 |