OMAPI D

Total Complexity 141
Dependencies 25
Dependents 89
Total lines 1,167
Lines of code 498
Logical lines of code 240
Comment lines 478
Methods 50
Properties 7

Methods 50

Method Rating Maintainability Complexity Lines of code
hide_unrelated_admin_notices()
A
48 15 31
get_api_credentials()
A
47 10 40
define_constants()
A
50 10 33
collect_campaign_data()
A
47 8 39
check_php_version()
S
47 6 40
load_option()
S
54 6 21
beta_version()
S
56 5 19
get_option()
S
59 5 15
get_api_key_errors()
S
73 6 4
asset_version()
S
63 6 10
load_global()
S
57 4 16
is_om_page()
S
69 4 6
can_upgrade()
S
62 3 12
get_optins()
S
56 2 19
autoload()
S
64 3 9
validate_is_campaign_type()
S
70 3 6
get_instance()
S
70 3 6
default_options()
S
57 1 18
has_rule_type()
S
73 2 4
__get()
S
70 2 6
add_campaign_properties()
S
66 2 8
get_site_ids()
S
74 2 4
get_site_id()
S
74 2 4
get_revenue_attribution()
S
74 2 4
get_campaigns()
S
69 2 7
init()
S
66 2 9
can_show_upgrade()
S
79 2 3
__construct()
S
62 1 11
load_admin()
S
62 1 11
get_level()
S
79 1 3
get_optin_by_slug()
S
74 1 4
widgets()
S
81 1 3
app_url()
S
79 1 3
can_access()
S
80 1 3
access_capability()
S
79 1 3
load_rest()
S
71 1 6
beta_enabled()
S
74 1 4
get_optin()
S
75 1 4
get_api_url()
S
81 1 3
is_custom_plan()
S
79 1 3
is_woocommerce_active()
S
75 1 4
woocommerce_version()
S
80 1 3
woocommerce_version_compare()
S
79 1 3
is_mailpoet_active()
S
80 1 3
output_view()
S
78 1 3
load_plugin_textdomain()
S
68 1 6
is_lite_user()
S
80 1 3
get_min_css_view_contents()
S
74 1 4
output_min_css()
S
66 1 10
get_view_contents()
S
73 1 5