- 
		Home
	
- 
The Events Calendar
- 
5.7.0
- 
Code
- 
Classes
-  Tribe__Context 
		
			
				
					
													
								
																			
											| Total Complexity | 190 | 
																			
											| Dependencies | 8 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 1,633 | 
																			
											| Lines of code | 557 | 
																			
											| Logical lines of code | 328 | 
																	
							 
													
								
																			
											| Comment lines | 844 | 
																			
											| Methods | 54 | 
																			
											| Properties | 8 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 54
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| is_editing_post() | A | 48 | 15 | 29 | 
					
				| dangerously_set_global_context() | A | 49 | 11 | 28 | 
					
				| map_to_read() | A | 50 | 9 | 28 | 
					
				| get() | A | 51 | 9 | 26 | 
					
				| get_orm_args() | A | 50 | 8 | 28 | 
					
				| method() | S | 57 | 5 | 17 | 
					
				| static_prop() | S | 59 | 5 | 14 | 
					
				| func() | S | 60 | 5 | 14 | 
					
				| prop() | S | 60 | 5 | 13 | 
					
				| static_method() | S | 60 | 5 | 13 | 
					
				| query_method() | S | 60 | 5 | 13 | 
					
				| translate_sub_locations() | S | 54 | 4 | 20 | 
					
				| query_var() | S | 59 | 4 | 15 | 
					
				| get_state() | S | 59 | 4 | 14 | 
					
				| query_prop() | S | 61 | 4 | 12 | 
					
				| constant() | S | 62 | 4 | 11 | 
					
				| global_var() | S | 62 | 4 | 11 | 
					
				| write_request_var() | S | 64 | 4 | 11 | 
					
				| safe_set() | S | 62 | 4 | 11 | 
					
				| to_array() | S | 61 | 3 | 12 | 
					
				| request_var() | S | 63 | 3 | 11 | 
					
				| tribe_option() | S | 63 | 3 | 11 | 
					
				| option() | S | 63 | 3 | 11 | 
					
				| transient() | S | 63 | 3 | 11 | 
					
				| doing_ajax() | S | 72 | 3 | 5 | 
					
				| doing_cron() | S | 72 | 3 | 5 | 
					
				| get_locations() | S | 64 | 3 | 10 | 
					
				| write_static_prop() | S | 70 | 3 | 6 | 
					
				| write_prop() | S | 64 | 3 | 10 | 
					
				| filter() | S | 66 | 3 | 9 | 
					
				| wp_parsed() | S | 67 | 3 | 7 | 
					
				| wp_matched_query() | S | 66 | 3 | 8 | 
					
				| doing_php_initial_state() | S | 78 | 3 | 3 | 
					
				| get_read_key_for() | S | 65 | 3 | 9 | 
					
				| is_new_post() | S | 72 | 2 | 5 | 
					
				| refresh() | S | 69 | 2 | 7 | 
					
				| write_query_prop() | S | 69 | 2 | 7 | 
					
				| write_query_var() | S | 69 | 2 | 7 | 
					
				| write_constant() | S | 73 | 2 | 6 | 
					
				| write_static_method() | S | 70 | 2 | 6 | 
					
				| write_method() | S | 70 | 2 | 6 | 
					
				| write_func() | S | 71 | 2 | 6 | 
					
				| populate_locations() | S | 66 | 2 | 8 | 
					
				| is() | S | 74 | 2 | 4 | 
					
				| doing_rest() | S | 79 | 2 | 3 | 
					
				| alter() | S | 72 | 1 | 5 | 
					
				| write_tribe_option() | S | 80 | 1 | 3 | 
					
				| write_option() | S | 80 | 1 | 3 | 
					
				| write_transient() | S | 79 | 1 | 3 | 
					
				| write_global_var() | S | 80 | 1 | 3 | 
					
				| add_locations() | S | 72 | 1 | 5 | 
					
				| set_locations() | S | 71 | 1 | 6 | 
					
				| dangerously_repopulate_locations() | S | 76 | 1 | 4 | 
					
				| location_func() | S | 75 | 1 | 4 |