Email_Subscribers D

Total Complexity 306
Dependencies 32
Dependents 1
Total lines 2,061
Lines of code 1,119
Logical lines of code 673
Comment lines 604
Methods 44
Properties 29

Methods 44

Method Rating Maintainability Complexity Lines of code
define_constants()
D
18
76 229
get_const_value()
D
29 52 107
is_const_defined()
D
29 51 105
get_const_name()
C
36 26 89
add_admin_notice()
A
41 14 51
instance()
A
37 10 75
load_dependencies()
A
28
3 176
check_trial_optin_consent()
S
59 6 14
validate_service_request()
S
59 5 15
is_offer_period()
S
58 4 15
is_trial_expired()
S
59 4 15
is_es_admin_screen()
S
60 4 15
get_admin_menu_title()
S
58 4 15
get_current_screen_id()
S
66 4 8
add_trial_data()
S
66 4 8
add_service_authentication_data()
S
61 3 13
log_errors()
S
59 2 13
get_es_admin_screens()
S
52 1 27
add_trial_plan()
S
72 2 6
is_const_enabled()
S
75 2 4
get_const_set_message()
S
60 1 15
can_upsell_features()
S
69 2 7
is_trial()
S
67 2 8
is_premium()
S
79 2 3
define()
S
75 2 5
is_trial_valid()
S
79 2 3
define_admin_hooks()
S
61 1 11
get_loader()
S
82 1 3
set_locale()
S
75 1 4
define_public_hooks()
S
64 1 9
run()
S
82 1 3
get_admin_page_prefix()
S
73 1 5
get_email_subscribers()
S
82 1 3
is_premium_installed()
S
73 1 5
get_version()
S
82 1 3
is_premium_activated()
S
73 1 5
add_tracking_data()
S
73 1 5
get_trial_start_date()
S
79 1 3
get_plan()
S
75 1 4
is_pro()
S
79 1 3
register_es_widget()
S
81 1 3
is_current_user_administrator()
S
80 1 3
is_starter()
S
79 1 3
__construct()
S
81 1 3