OMAPI_Rules D

Total Complexity 130
Dependencies 11
Dependents 3
Total lines 850
Lines of code 384
Logical lines of code 217
Comment lines 331
Methods 33
Properties 13

Methods 33

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
54 12 20
exclude_on_user_logged_in_checks()
S
61 7 12
output_rules_debug()
S
53 5 20
check_should_output()
S
52 4 26
exclude_on_campaign_types()
S
63 5 11
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
collect_optin_fields()
S
65 3 9
exclude_if_not_enabled()
S
68 3 8
is_inline_post_type()
S
69 3 7
init_extensions()
S
64 2 11
get_field_value()
S
73 2 5
output_if_global_override()
S
74 2 5
field_is()
S
78 2 3
set_global_override()
S
77 1 4
set_advanced_settings_field()
S
76 1 4
add_reason()
S
76 1 4
check_inline()
S
78 1 3
check_shortcode()
S
78 1 3
should_output()
S
72 1 5
check()
S
74 1 4
field_empty()
S
79 1 3
field_not_empty_array()
S
79 1 3
plugin_checks()
S
80 1 3
item_in_field()
S
79 1 3
is_inline_type()
S
80 1 3
set()
S
73 1 5
__construct()
S
69 1 7