- 
		Home
	
 
	- 
Product Options and Price Calculation Formulas for WooCommerce – Uni CPO
 
- 
4.9.56 (latest)
 
- 
Code
 
- 
Classes
 
-  Uni_Cpo_Product 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											184 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											20 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,164 | 
										
																			
											| Lines of code | 
											799 | 
										
																			
											| Logical lines of code | 
											475 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											173 | 
										
																			
											| Methods | 
											25 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 25
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_product_data_by_id() | 
									D  | 
																	21  | 
													42 | 
													204 | 
							
					
				| image_change_rules() | 
									D  | 
																	27  | 
													29 | 
													139 | 
							
					
				| display_options() | 
									B  | 
																	35 | 
													20 | 
													80 | 
							
					
				| save_product_data() | 
									B  | 
																	30 | 
													12 | 
													138 | 
							
					
				| is_post_editable() | 
									A  | 
																	57 | 
													8 | 
													16 | 
							
					
				| is_order_item_order_again() | 
									S  | 
																	57 | 
													7 | 
													16 | 
							
					
				| is_builder_active() | 
									S  | 
																	59 | 
													6 | 
													13 | 
							
					
				| is_single_product() | 
									S  | 
																	61 | 
													6 | 
													11 | 
							
					
				| builder_link() | 
									S  | 
																	55 | 
													5 | 
													19 | 
							
					
				| duplicate_product_settings() | 
									S  | 
																	55 | 
													5 | 
													19 | 
							
					
				| is_cart_item_editing() | 
									S  | 
																	61 | 
													5 | 
													11 | 
							
					
				| is_wc_sold_individually_enabled() | 
									S  | 
																	66 | 
													5 | 
													8 | 
							
					
				| save_content() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| is_cpo_enabled() | 
									S  | 
																	62 | 
													4 | 
													11 | 
							
					
				| woocommerce_post_class() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| is_ajax_add_to_cart() | 
									S  | 
																	73 | 
													3 | 
													4 | 
							
					
				| is_guide_needed() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| init() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| delete_content() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| update_content() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| admin_bar_menu_item() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| enable_editing() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| get_content() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| get_edit_url() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| get_product_data() | 
									S  | 
																	67 | 
													2 | 
													8 |