OMAPI D

Total Complexity 128
Dependencies 26
Dependents 35
Total lines 1,140
Lines of code 456
Logical lines of code 225
Comment lines 500
Methods 44
Properties 25

Methods 44

Method Rating Maintainability Complexity Lines of code
hide_unrelated_admin_notices()
A
48 16 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
asset_version()
S
62 7 11
load_option()
S
54 6 21
get_api_key_errors()
S
73 6 4
get_option()
S
59 5 15
beta_version()
S
58 4 15
load_global()
S
58 4 15
can_upgrade()
S
62 3 12
get_optins()
S
56 2 19
load_admin()
S
57 2 17
autoload()
S
64 3 9
get_instance()
S
70 3 6
default_options()
S
57 1 18
get_campaigns()
S
69 2 7
add_campaign_properties()
S
68 2 7
init()
S
66 2 9
get_site_id()
S
74 2 4
get_site_ids()
S
74 2 4
has_rule_type()
S
73 2 4
output_view()
S
78 1 3
woocommerce_version()
S
80 1 3
app_url()
S
79 1 3
can_access()
S
80 1 3
access_capability()
S
79 1 3
widgets()
S
81 1 3
beta_enabled()
S
74 1 4
is_woocommerce_active()
S
79 1 3
load_rest()
S
64 1 10
get_optin()
S
75 1 4
woocommerce_version_compare()
S
79 1 3
get_view_contents()
S
73 1 5
get_optin_by_slug()
S
74 1 4
is_mailpoet_active()
S
80 1 3
get_api_url()
S
81 1 3
load_plugin_textdomain()
S
68 1 6
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
__construct()
S
63 1 10