Advanced_Ads_Display_Conditions D

Total Complexity 277
Dependencies 4
Dependents 4
Total lines 1,403
Lines of code 797
Logical lines of code 436
Comment lines 389
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
ad_select_args_callback()
C
39 31 57
can_display()
C
42 26 43
check_general()
B
45 25 36
check_taxonomies()
B
46 17 35
check_post_ids()
B
47 17 32
metabox_post_type()
A
43 11 47
metabox_post_ids()
A
44 11 43
metabox_taxonomy_terms()
A
49 11 29
metabox_taxonomies()
A
45 10 37
check_taxonomy_archive()
A
54 11 19
check_taxonomy()
A
54 11 19
display_term_list()
A
43 8 49
register_conditions()
A
38 5 76
metabox_author()
A
51 8 24
check_post_type()
A
55 8 18
check_author()
A
56 8 17
metabox_general()
S
51 7 23
metabox_content_age()
S
54 7 19
check_content_age()
S
56 7 16
frontend_check()
S
60 5 12
modify_post_search_sql_callback()
S
60 5 11
render_condition_list()
S
54 4 20
in_array()
S
64 5 9
can_display_ids()
S
65 5 9
general_conditions()
S
45 1 51
modify_post_search()
S
62 3 10
get_form_name_with_index()
S
76 2 3
render_connector_option()
S
64 2 8
get_instance()
S
71 2 6
render_type_field()
S
74 1 5
get_conditions()
S
76 1 4
modify_post_search_sql()
S
71 1 5
__construct()
S
71 1 5