OMAPI D

Total Complexity 132
Dependencies 28
Dependents 45
Total lines 1,205
Lines of code 471
Logical lines of code 237
Comment lines 538
Methods 46
Properties 28

Methods 46

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
autoload()
S
64 3 9
get_instance()
S
70 3 6
default_options()
S
57 1 18
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
add_campaign_properties()
S
68 2 7
load_admin()
S
58 1 15
init()
S
66 2 9
has_rule_type()
S
73 2 4
beta_enabled()
S
74 1 4
access_capability()
S
79 1 3
can_access()
S
80 1 3
app_url()
S
79 1 3
__construct()
S
63 1 10
is_custom_plan()
S
79 1 3
get_level()
S
79 1 3
output_min_css()
S
79 1 3
get_min_css_view_contents()
S
74 1 4
get_view_contents()
S
73 1 5
load_plugin_textdomain()
S
68 1 6
is_mailpoet_active()
S
80 1 3
woocommerce_version_compare()
S
79 1 3
woocommerce_version()
S
80 1 3
is_woocommerce_active()
S
75 1 4
get_api_url()
S
81 1 3
get_optin_by_slug()
S
74 1 4
get_optin()
S
75 1 4
load_rest()
S
64 1 10
widgets()
S
81 1 3
output_view()
S
78 1 3