Spu_Rules D

Total Complexity 180
Dependencies 3
Dependents 1
Total lines 1,144
Lines of code 575
Logical lines of code 329
Comment lines 211
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
rule_match_page_type()
D
27
52 136
rule_match_taxonomy()
B
40 20 67
rule_match_post_category()
A
44 15 51
__construct()
A
40 14 55
check_rules()
S
52 7 26
rule_match_post_format()
S
53 6 24
rule_match_user_type()
S
53 5 26
rule_match_post_status()
S
56 5 20
rule_match_page_template()
S
57 5 17
rule_match_custom_url()
S
60 5 12
rule_match_page_parent()
S
58 4 17
rule_match_search_engine()
S
61 5 10
rule_match_desktop()
S
66 4 8
rule_match_referrer()
S
67 4 7
rule_match_post()
S
60 3 13
rule_match_post_type()
S
62 3 12
rule_match_query_string()
S
68 3 6
get_post_type()
S
69 3 6
rule_match_keyword_url()
S
66 3 7
rule_match_same_site()
S
64 2 9
rule_match_crawlers()
S
67 2 8
rule_match_left_comment()
S
68 2 7
rule_match_tablets()
S
67 2 8
rule_match_browser()
S
67 2 8
rule_match_mobiles()
S
67 2 8
rule_match_logged_user()
S
69 2 7