- 
		Home
	
 
	- 
Product Options and Price Calculation Formulas for WooCommerce – Uni CPO
 
- 
4.9.56 (latest)
 
- 
Code
 
- 
Classes
 
-  Uni_Cpo_Option 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											59 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											408 | 
										
																			
											| Lines of code | 
											240 | 
										
																			
											| Logical lines of code | 
											116 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											112 | 
										
																			
											| Methods | 
											34 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 34
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| conditional_rules() | 
									A  | 
																	34 | 
													11 | 
													112 | 
							
					
				| __construct() | 
									S  | 
																	57 | 
													6 | 
													16 | 
							
					
				| cpo_order_label() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| get_custom_attribute_html() | 
									S  | 
																	62 | 
													4 | 
													10 | 
							
					
				| save() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| cpo_order_visibility() | 
									S  | 
																	73 | 
													3 | 
													4 | 
							
					
				| get_type() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_special_vars() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_filter_data() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_name() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_status() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_slug() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_general() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_style() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_advanced() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_cpo_general() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_cpo_conditional() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_cpo_validation() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_slug_ending() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| set_name() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_status() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_slug() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_general() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_style() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_advanced() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_cpo_general() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_cpo_conditional() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_cpo_validation() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| formatted_model_data() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| get_edit_field() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| template() | 
									S  | 
																	89 | 
													1 | 
													2 | 
							
					
				| get_css() | 
									S  | 
																	89 | 
													1 | 
													2 | 
							
					
				| suboptions_conditional_rules() | 
									S  | 
																	89 | 
													1 | 
													2 | 
							
					
				| validation_rules() | 
									S  | 
																	89 | 
													1 | 
													2 |