- 
		Home
	
 
	- 
The Events Calendar
 
- 
5.16.3
 
- 
Code
 
- 
Classes
 
-  Tribe__Events__Query 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											289 | 
										
																			
											| Dependencies | 
											17 | 
										
																			
											| Dependents | 
											6 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,565 | 
										
																			
											| Lines of code | 
											949 | 
										
																			
											| Logical lines of code | 
											589 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											414 | 
										
																			
											| Methods | 
											23 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| pre_get_posts() | 
									D  | 
																	17  | 
													63 | 
													223 | 
							
					
				| getEvents() | 
									D  | 
																	22  | 
													45 | 
													180 | 
							
					
				| parse_query() | 
									D  | 
																	30 | 
													47 | 
													100 | 
							
					
				| getEventCounts() | 
									B  | 
																	30 | 
													18 | 
													119 | 
							
					
				| posts_orderby() | 
									B  | 
																	44 | 
													19 | 
													40 | 
							
					
				| posts_where() | 
									B  | 
																	40 | 
													18 | 
													51 | 
							
					
				| set_orderby() | 
									A  | 
																	52 | 
													9 | 
													25 | 
							
					
				| set_order() | 
									A  | 
																	58 | 
													9 | 
													14 | 
							
					
				| postmeta_table() | 
									A  | 
																	53 | 
													8 | 
													23 | 
							
					
				| posts_join() | 
									S  | 
																	52 | 
													7 | 
													21 | 
							
					
				| posts_orderby_venue_organizer() | 
									S  | 
																	55 | 
													7 | 
													18 | 
							
					
				| can_inject_date_field() | 
									S  | 
																	57 | 
													7 | 
													16 | 
							
					
				| posts_join_venue_organizer() | 
									S  | 
																	50 | 
													5 | 
													27 | 
							
					
				| should_remove_date_filters() | 
									S  | 
																	62 | 
													5 | 
													11 | 
							
					
				| posts_fields() | 
									S  | 
																	56 | 
													4 | 
													18 | 
							
					
				| multi_type_posts_fields() | 
									S  | 
																	58 | 
													3 | 
													15 | 
							
					
				| filter_args() | 
									S  | 
																	70 | 
													4 | 
													6 | 
							
					
				| init() | 
									S  | 
																	59 | 
													3 | 
													14 | 
							
					
				| getHideFromUpcomingEvents() | 
									S  | 
																	59 | 
													2 | 
													13 | 
							
					
				| posts_results() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| default_page_on_front() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| posts_distinct() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| last_found_events() | 
									S  | 
																	80 | 
													1 | 
													3 |