Tribe__Context D

Total Complexity 179
Dependencies 7
Dependents 1
Total lines 1,644
Lines of code 538
Logical lines of code 309
Comment lines 882
Methods 57
Properties 9

Methods 57

Method Rating Maintainability Complexity Lines of code
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
func()
S
60 5 14
static_prop()
S
59 5 14
query_method()
S
60 5 13
prop()
S
60 5 13
static_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
safe_set()
S
62 4 11
constant()
S
62 4 11
global_var()
S
62 4 11
write_request_var()
S
64 4 11
to_array()
S
61 3 12
option()
S
63 3 11
transient()
S
63 3 11
tribe_option()
S
63 3 11
request_var()
S
63 3 11
filter()
S
66 3 9
wp_parsed()
S
67 3 7
write_prop()
S
64 3 10
write_static_prop()
S
70 3 6
wp_matched_query()
S
66 3 8
doing_php_initial_state()
S
78 3 3
doing_ajax()
S
72 3 5
get_read_key_for()
S
65 3 9
doing_cron()
S
72 3 5
get_locations()
S
64 3 10
write_query_prop()
S
69 2 7
populate_locations()
S
66 2 8
refresh()
S
69 2 7
is()
S
74 2 4
write_constant()
S
73 2 6
write_func()
S
71 2 6
write_method()
S
70 2 6
write_static_method()
S
70 2 6
write_query_var()
S
69 2 7
doing_rest()
S
79 2 3
__construct()
S
79 2 3
location_func()
S
75 1 4
is_editing_posts_list()
S
80 1 3
write_transient()
S
79 1 3
dangerously_repopulate_locations()
S
76 1 4
set_locations()
S
71 1 6
add_locations()
S
72 1 5
write_global_var()
S
80 1 3
is_new_post()
S
80 1 3
write_option()
S
80 1 3
write_tribe_option()
S
80 1 3
alter()
S
72 1 5
is_editing_post()
S
80 1 3
is_inline_editing_post()
S
80 1 3