- 
		Home
	
 
	- 
WP BASE Booking of Appointments, Services and Events
 
- 
3.7.4
 
- 
Code
 
- 
Classes
 
-  WpB_Slot 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											257 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											18 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,085 | 
										
																			
											| Lines of code | 
											633 | 
										
																			
											| Logical lines of code | 
											395 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											278 | 
										
																			
											| Methods | 
											58 | 
										
																			
											| Properties | 
											26 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 58
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| is_busy() | 
									D  | 
																	31 | 
													39 | 
													95 | 
							
					
				| assign_worker() | 
									C  | 
																	39 | 
													27 | 
													59 | 
							
					
				| why_not_bookable_s() | 
									B  | 
																	44 | 
													23 | 
													36 | 
							
					
				| weekly_calendar_cell_html() | 
									A  | 
																	44 | 
													15 | 
													36 | 
							
					
				| available_workforce() | 
									A  | 
																	46 | 
													14 | 
													40 | 
							
					
				| __construct() | 
									A  | 
																	44 | 
													14 | 
													39 | 
							
					
				| why_not_free() | 
									A  | 
																	48 | 
													13 | 
													30 | 
							
					
				| is_service_possible() | 
									A  | 
																	58 | 
													11 | 
													14 | 
							
					
				| monthly_calendar_cell_html() | 
									S  | 
																	52 | 
													7 | 
													20 | 
							
					
				| get_price() | 
									S  | 
																	52 | 
													6 | 
													23 | 
							
					
				| why_not_bookable() | 
									S  | 
																	57 | 
													6 | 
													16 | 
							
					
				| servicable_slot_count() | 
									S  | 
																	61 | 
													6 | 
													11 | 
							
					
				| is_past_today() | 
									S  | 
																	57 | 
													5 | 
													15 | 
							
					
				| is_service_working() | 
									S  | 
																	62 | 
													5 | 
													12 | 
							
					
				| is_break() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| get_category() | 
									S  | 
																	67 | 
													4 | 
													7 | 
							
					
				| is_working_day_for_service() | 
									S  | 
																	65 | 
													4 | 
													9 | 
							
					
				| is_holiday_for_service() | 
									S  | 
																	66 | 
													3 | 
													9 | 
							
					
				| is_working() | 
									S  | 
																	70 | 
													3 | 
													7 | 
							
					
				| pack() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| get_deposit() | 
									S  | 
																	70 | 
													2 | 
													5 | 
							
					
				| is_working_day() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| is_holiday() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| is_multitasking() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_excluded() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| is_free() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| doing_lazy_load() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| is_daily() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| get_location() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_service() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_service() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_worker() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_worker() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_start() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_start() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_end() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_end() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_app_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_app_id() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| location_price() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| service_price() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| worker_price() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_unfiltered_pax() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_pax() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| set_pax() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| maybe_waiting() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| mark_waiting_list() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| update_start_end() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| is_package() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_list_price() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| exclude() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| client_time() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| client_end_time() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| client_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| client_end_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| client_day() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| client_dt() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| client_end_dt() | 
									S  | 
																	79 | 
													1 | 
													3 |