OMAPI D

Total Complexity 135
Dependencies 28
Dependents 45
Total lines 1,227
Lines of code 477
Logical lines of code 239
Comment lines 552
Methods 48
Properties 28

Methods 48

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()
S
50 7 29
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
55 4 18
is_om_page()
S
69 4 6
can_upgrade()
S
62 3 12
get_optins()
S
56 2 19
get_instance()
S
70 3 6
autoload()
S
64 3 9
default_options()
S
57 1 18
get_revenue_attribution()
S
74 2 4
has_rule_type()
S
73 2 4
get_site_ids()
S
74 2 4
get_site_id()
S
74 2 4
add_campaign_properties()
S
68 2 7
get_campaigns()
S
69 2 7
load_admin()
S
58 1 15
can_show_upgrade()
S
79 2 3
init()
S
66 2 9
app_url()
S
79 1 3
can_access()
S
80 1 3
access_capability()
S
79 1 3
beta_enabled()
S
74 1 4
__construct()
S
63 1 10
is_lite_user()
S
80 1 3
woocommerce_version()
S
80 1 3
widgets()
S
81 1 3
load_rest()
S
64 1 10
get_optin()
S
75 1 4
get_optin_by_slug()
S
74 1 4
get_api_url()
S
81 1 3
is_woocommerce_active()
S
75 1 4
woocommerce_version_compare()
S
79 1 3
is_custom_plan()
S
79 1 3
is_mailpoet_active()
S
80 1 3
output_view()
S
78 1 3
load_plugin_textdomain()
S
68 1 6
get_min_css_view_contents()
S
74 1 4
output_min_css()
S
79 1 3
get_level()
S
79 1 3
get_view_contents()
S
73 1 5