OMAPI_Rules D

Total Complexity 130
Dependencies 7
Dependents 2
Total lines 810
Lines of code 391
Logical lines of code 211
Comment lines 279
Methods 29
Properties 10

Methods 29

Method Rating Maintainability Complexity Lines of code
check_taxonomies_field()
B
39 21 63
default_checks()
B
41 19 55
check_categories_field()
A
44 13 45
__get()
A
57 9 16
woocommerce_checks()
S
55 7 19
exclude_on_user_logged_in_checks()
S
61 7 12
output_rules_debug()
S
53 5 20
check_woocommerce_field()
S
49 4 29
exclude_on_campaign_types()
S
63 5 11
check_should_output()
S
52 4 26
include_if_inline_and_automatic_and_no_advanced_settings()
S
66 4 9
check_is_home_and_show_on_index()
S
72 3 5
include_if_shortcode_and_no_advanced_settings()
S
68 3 8
exclude_if_inline_and_not_automatic()
S
68 3 8
exclude_if_not_enabled()
S
68 3 8
is_inline_post_type()
S
78 3 3
collect_optin_fields()
S
69 2 6
field_is()
S
78 2 3
output_if_global_override()
S
74 2 5
get_field_value()
S
73 2 5
check_inline()
S
78 1 3
should_output()
S
72 1 5
is_inline_type()
S
80 1 3
item_in_field()
S
79 1 3
field_not_empty_array()
S
79 1 3
field_empty()
S
79 1 3
check()
S
74 1 4
check_shortcode()
S
78 1 3
__construct()
S
66 1 8