- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Session_Handler 
		
			
				
					
													
								
																			
											| Total Complexity | 67 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 454 | 
																			
											| Lines of code | 236 | 
																			
											| Logical lines of code | 120 | 
																	
							 
													
								
																			
											| Comment lines | 127 | 
																			
											| Methods | 32 | 
																			
											| Properties | 10 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 32
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| init() | S | 51 | 7 | 25 | 
					
				| get_session() | S | 56 | 5 | 16 | 
					
				| get_session_cookie() | S | 60 | 5 | 12 | 
					
				| save_data() | S | 55 | 4 | 20 | 
					
				| destroy_session() | S | 56 | 3 | 18 | 
					
				| has_session() | S | 78 | 3 | 3 | 
					
				| cleanup_sessions() | S | 67 | 3 | 7 | 
					
				| remove() | S | 64 | 3 | 10 | 
					
				| set() | S | 65 | 3 | 9 | 
					
				| __unset() | S | 71 | 2 | 6 | 
					
				| set_customer_session_cookie() | S | 64 | 2 | 9 | 
					
				| has_cookie() | S | 80 | 2 | 3 | 
					
				| generate_customer_id() | S | 65 | 2 | 9 | 
					
				| get_session_data() | S | 78 | 2 | 3 | 
					
				| get_cache_prefix() | S | 66 | 2 | 8 | 
					
				| update_session_timestamp() | S | 61 | 1 | 15 | 
					
				| get() | S | 74 | 2 | 4 | 
					
				| instance() | S | 71 | 2 | 6 | 
					
				| __get() | S | 80 | 1 | 3 | 
					
				| __set() | S | 80 | 1 | 3 | 
					
				| __isset() | S | 79 | 1 | 3 | 
					
				| __construct() | S | 78 | 1 | 4 | 
					
				| init_hooks() | S | 69 | 1 | 6 | 
					
				| set_session_expiration() | S | 77 | 1 | 3 | 
					
				| incr_cache_prefix() | S | 78 | 1 | 3 | 
					
				| delete_session() | S | 65 | 1 | 10 | 
					
				| get_customer_id() | S | 82 | 1 | 3 | 
					
				| get_session_expiration() | S | 82 | 1 | 3 | 
					
				| offsetExists() | S | 79 | 1 | 3 | 
					
				| offsetGet() | S | 80 | 1 | 3 | 
					
				| offsetUnset() | S | 81 | 1 | 3 | 
					
				| offsetSet() | S | 80 | 1 | 3 |