PP_Notifications D

Total Complexity 216
Dependencies 3
Dependents 0
Total lines 1,998
Lines of code 1,302
Logical lines of code 569
Comment lines 373
Methods 55
Properties 5

Methods 55

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
38 7 81
post_set_users_stop_notify()
A
48 10 34
handle_user_post_subscription()
A
51 10 26
post_set_users_to_notify()
A
49 9 31
post_set_emails_to_notify()
A
49 8 32
send_email()
S
50 7 30
post_set_roles_to_notify()
S
52 7 26
settings_validate()
S
53 7 24
notification_status_change()
S
49 5 33
upgrade()
S
53 5 23
save_post_notify_users()
S
56 5 18
notification_comment()
S
50 4 28
filter_post_row_actions()
S
56 4 17
get_roles_to_notify()
S
58 4 16
init()
S
45 2 44
delete_user_action()
S
61 4 13
add_role_to_notify()
S
62 4 11
get_user_to_notify_posts()
S
53 3 24
enqueue_admin_styles()
S
59 3 17
get_email_from()
S
59 3 16
add_post_meta_box()
S
58 3 16
send_notification_comment()
S
46 1 44
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
settings_blacklisted_taxonomies_option()
S
56 2 24
__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
register_taxonomies()
S
59 1 15
save_post_notify_roles()
S
68 2 7
filter_pp_notification_auto_subscribe_current_user()
S
71 2 6
filter_pp_notification_auto_subscribe_post_author()
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
settings_post_types_option()
S
77 1 4
getPostID()
S
82 1 3
send_single_email()
S
78 1 3
migrateLegacyFollowingTerms()
S
67 1 9
print_configure_view()
S
77 1 4
get_scheduled_datetime()
S
69 1 6
install()
S
82 1 3