PP_Notifications D

Total Complexity 218
Dependencies 3
Dependents 0
Total lines 2,147
Lines of code 1,465
Logical lines of code 582
Comment lines 357
Methods 53
Properties 5

Methods 53

Method Rating Maintainability Complexity Lines of code
send_notification_status_update()
B
29 11 163
action_save_post()
B
42 16 54
get_users_to_notify()
A
44 15 45
_get_notification_recipients()
A
44 12 44
notifications_meta_box()
A
36 7 102
post_set_users_stop_notify()
A
48 10 34
handle_user_post_subscription()
A
50 10 26
post_set_users_to_notify()
A
49 9 31
post_set_emails_to_notify()
A
49 8 32
send_email()
A
50 7 31
post_set_roles_to_notify()
S
52 7 26
send_notification_comment()
S
42 5 56
settings_validate()
S
53 7 24
register_taxonomies()
S
34 1 114
print_configure_view()
S
49 6 33
notification_status_change()
S
49 5 33
upgrade()
S
53 5 23
init()
S
43 3 52
notification_comment()
S
50 4 28
filter_post_row_actions()
S
56 4 17
get_roles_to_notify()
S
58 4 16
delete_user_action()
S
61 4 13
get_user_to_notify_posts()
S
53 3 24
filterCalendarGetPostData()
S
52 3 24
enqueue_admin_styles()
S
59 3 17
add_post_meta_box()
S
58 3 16
get_email_from()
S
59 3 16
settings_blacklisted_taxonomies_option()
S
54 2 29
register_settings()
S
48 1 43
getOption()
S
62 3 12
settings_notify_current_user_by_default_option()
S
62 3 11
settings_notify_author_by_default_option()
S
62 3 11
__construct()
S
47 1 38
get_notify_action_parts()
S
54 2 22
enqueue_admin_scripts()
S
57 2 20
action_admin_head_notify_js()
S
64 1 34
setDefaultCapabilities()
S
59 2 16
get_emails_to_notify()
S
64 3 10
schedule_emails()
S
62 2 12
settings_email_from_option()
S
56 1 20
add_term_if_not_exists()
S
67 2 7
filter_pp_notification_auto_subscribe_post_author()
S
71 2 6
filter_pp_notification_auto_subscribe_current_user()
S
71 2 6
is_whitelisted_functional_view()
S
69 2 7
get_workflows_related_to_post()
S
61 1 13
get_workflows_related_to_followers()
S
61 1 13
get_notification_footer()
S
60 1 13
install()
S
82 1 3
send_single_email()
S
78 1 3
get_scheduled_datetime()
S
69 1 6
migrateLegacyFollowingTerms()
S
67 1 9
getPostID()
S
82 1 3
settings_post_types_option()
S
77 1 4