- 
		Home
	
 
	- 
YITH WooCommerce Wishlist
 
- 
3.20.0
 
- 
Code
 
- 
Classes
 
-  YITH_WCWL_Session 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											44 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											368 | 
										
																			
											| Lines of code | 
											153 | 
										
																			
											| Logical lines of code | 
											91 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											155 | 
										
																			
											| Methods | 
											16 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| init_session_cookie() | 
									A  | 
																	56 | 
													8 | 
													17 | 
							
					
				| get_session_cookie() | 
									S  | 
																	53 | 
													7 | 
													23 | 
							
					
				| finalize_session() | 
									S  | 
																	55 | 
													5 | 
													21 | 
							
					
				| set_session_cookie() | 
									S  | 
																	57 | 
													3 | 
													16 | 
							
					
				| get_session_id() | 
									S  | 
																	66 | 
													3 | 
													9 | 
							
					
				| update_session_timestamp() | 
									S  | 
																	61 | 
													2 | 
													13 | 
							
					
				| use_secure_cookie() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_session_cookie_name() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_session_expiration() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| maybe_get_session_id() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| generate_session_id() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| get_instance() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| set_session_expiration() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| has_session() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| forget_session() | 
									S  | 
																	73 | 
													1 | 
													5 |