- 
		Home
	
 
	- 
Discount Rules and Dynamic Pricing for WooCommerce
 
- 
5.4.0
 
- 
Code
 
- 
Classes
 
-  WCCS_Activator 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											50 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											324 | 
										
																			
											| Lines of code | 
											178 | 
										
																			
											| Logical lines of code | 
											100 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											106 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| create_options() | 
									A  | 
																	45 | 
													16 | 
													35 | 
							
					
				| update() | 
									S  | 
																	53 | 
													6 | 
													24 | 
							
					
				| run_install() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| activate() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| install_actions() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| maybe_update_db_version() | 
									S  | 
																	63 | 
													3 | 
													12 | 
							
					
				| get_db_update_callbacks() | 
									S  | 
																	53 | 
													2 | 
													26 | 
							
					
				| check_version() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| needs_db_update() | 
									S  | 
																	68 | 
													3 | 
													6 | 
							
					
				| update_db_version() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| init() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| init_background_updater() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| load_dependencies() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| update_version() | 
									S  | 
																	76 | 
													1 | 
													4 |