- 
		Home
	
 
	- 
WP BASE Booking of Appointments, Services and Events
 
- 
3.7.4
 
- 
Code
 
- 
Classes
 
-  WpBWH 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											322 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,607 | 
										
																			
											| Lines of code | 
											1,080 | 
										
																			
											| Logical lines of code | 
											727 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											279 | 
										
																			
											| Methods | 
											44 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 44
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| save_wh() | 
									D  | 
																	32 | 
													38 | 
													89 | 
							
					
				| render_tab() | 
									D  | 
																	27  | 
													27 | 
													155 | 
							
					
				| draw_s() | 
									C  | 
																	31 | 
													28 | 
													93 | 
							
					
				| available_subjects() | 
									C  | 
																	34 | 
													28 | 
													82 | 
							
					
				| get() | 
									B  | 
																	39 | 
													21 | 
													55 | 
							
					
				| replace() | 
									A  | 
																	44 | 
													16 | 
													42 | 
							
					
				| add_default() | 
									A  | 
																	45 | 
													14 | 
													37 | 
							
					
				| remove() | 
									A  | 
																	47 | 
													13 | 
													33 | 
							
					
				| fill() | 
									A  | 
																	49 | 
													12 | 
													29 | 
							
					
				| check_start() | 
									A  | 
																	46 | 
													9 | 
													38 | 
							
					
				| check_end() | 
									A  | 
																	46 | 
													9 | 
													38 | 
							
					
				| pack_n_save() | 
									A  | 
																	48 | 
													8 | 
													30 | 
							
					
				| maybe_divide() | 
									A  | 
																	53 | 
													8 | 
													21 | 
							
					
				| is_working_day() | 
									A  | 
																	48 | 
													7 | 
													31 | 
							
					
				| find_limits() | 
									S  | 
																	46 | 
													6 | 
													35 | 
							
					
				| translate() | 
									S  | 
																	63 | 
													8 | 
													8 | 
							
					
				| is_break() | 
									S  | 
																	58 | 
													7 | 
													14 | 
							
					
				| find_cells() | 
									S  | 
																	50 | 
													6 | 
													27 | 
							
					
				| find_max_cont_wh() | 
									S  | 
																	53 | 
													6 | 
													21 | 
							
					
				| count_lateral_cells() | 
									S  | 
																	54 | 
													6 | 
													19 | 
							
					
				| is_working_day_for_service() | 
									S  | 
																	52 | 
													5 | 
													23 | 
							
					
				| find_turning_points() | 
									S  | 
																	50 | 
													4 | 
													27 | 
							
					
				| new_install() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| available_services() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| from() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| draw() | 
									S  | 
																	58 | 
													2 | 
													14 | 
							
					
				| available_workers() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| new_service() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| new_worker() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| is_break_wh() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| get_schedule_name() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| add_tab() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| add_hooks() | 
									S  | 
																	60 | 
													1 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_location() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_location_ids_for_default() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| clear() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| combine_alt() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| to() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| get_schedules() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| remove_service() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| remove_worker() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| add_item() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| remove_item() | 
									S  | 
																	70 | 
													1 | 
													6 |