- 
		Home
	
 
	- 
WP BASE Booking of Appointments, Services and Events
 
- 
3.7.4
 
- 
Code
 
- 
Classes
 
-  WP_Session 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											28 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											9 | 
										
																	
							 
													
								
																			
											| Total lines | 
											311 | 
										
																			
											| Lines of code | 
											105 | 
										
																			
											| Logical lines of code | 
											54 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											157 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| __construct() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| write_data() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| json_in() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| regenerate_id() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| set_expiration() | 
									S  | 
																	73 | 
													1 | 
													4 | 
							
					
				| set_cookie() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| generate_id() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| is_valid_md5() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| read_data() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| json_out() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| session_started() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| cache_expiration() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| reset() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| current() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| key() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| next() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| rewind() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| valid() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| count() | 
									S  | 
																	80 | 
													1 | 
													3 |