Advanced_Ads_Display_Conditions D

Total Complexity 290
Dependencies 5
Dependents 3
Total lines 1,489
Lines of code 877
Logical lines of code 432
Comment lines 401
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 44
check_general()
B
45 25 35
check_taxonomies()
B
46 17 35
check_post_ids()
B
47 17 32
metabox_post_ids()
A
41 11 53
metabox_post_type()
A
41 11 53
render_condition_list()
A
45 11 39
check_content_age()
A
51 12 24
metabox_taxonomy_terms()
A
49 11 29
metabox_taxonomies()
A
44 10 41
check_taxonomy_archive()
A
54 11 19
check_taxonomy()
A
54 11 19
display_term_list()
A
42 8 56
metabox_author()
A
49 9 26
register_conditions()
A
38 5 76
check_post_type()
A
55 8 18
check_author()
A
56 8 17
metabox_general()
A
48 7 31
metabox_content_age()
S
50 7 29
frontend_check()
S
60 5 12
modify_post_search_sql_callback()
S
60 5 11
in_array()
S
64 5 9
can_display_ids()
S
65 5 9
general_conditions()
S
45 1 52
modify_post_search()
S
62 3 10
render_connector_option()
S
59 2 13
get_form_name_with_index()
S
76 2 3
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