- 
		Home
	
 
	- 
WP BASE Booking of Appointments, Services and Events
 
- 
3.7.4
 
- 
Code
 
- 
Classes
 
-  WpB_Calendar 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											127 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											8 | 
										
																	
							 
													
								
																			
											| Total lines | 
											561 | 
										
																			
											| Lines of code | 
											308 | 
										
																			
											| Logical lines of code | 
											206 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											145 | 
										
																			
											| Methods | 
											28 | 
										
																			
											| Properties | 
											25 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 28
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| find_slots_in_day() | 
									D  | 
																	26  | 
													59 | 
													113 | 
							
					
				| __construct() | 
									A  | 
																	47 | 
													8 | 
													35 | 
							
					
				| limits() | 
									A  | 
																	50 | 
													8 | 
													26 | 
							
					
				| setup() | 
									S  | 
																	57 | 
													7 | 
													14 | 
							
					
				| find_available_days() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| is_lazy_load_allowed() | 
									S  | 
																	63 | 
													5 | 
													10 | 
							
					
				| save_cache() | 
									S  | 
																	66 | 
													5 | 
													7 | 
							
					
				| wrap_cells() | 
									S  | 
																	59 | 
													3 | 
													12 | 
							
					
				| instant_duration() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| force_duration() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| force_is_daily() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| hard_limit() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| is_hard_limit_exceeded() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| slot() | 
									S  | 
																	77 | 
													2 | 
													3 | 
							
					
				| doing_lazy_load() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| get_display() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_daily() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_location() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_service() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_worker() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| is_inline() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_admin() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| is_package() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_waiting_list_allowed() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| start_hard_limit_scan() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| scan_start_time() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| is_capacity_increased() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| use_cache() | 
									S  | 
																	80 | 
													1 | 
													3 |