PP_Notifications D

Total Complexity 239
Dependencies 4
Dependents 0
Total lines 2,239
Lines of code 1,503
Logical lines of code 630
Comment lines 385
Methods 55
Properties 6

Methods 55

Method Rating Maintainability Complexity Lines of code
action_save_post()
B
39 20 66
send_notification_status_update()
B
29 11 164
get_users_to_notify()
A
44 15 45
notifications_meta_box()
A
33 9 125
_get_notification_recipients()
A
44 12 44
post_set_users_stop_notify()
A
48 10 34
handle_user_post_subscription()
A
50 10 26
post_set_groups_to_notify()
A
48 9 31
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
print_configure_view()
S
49 6 33
notification_status_change()
S
49 5 33
register_taxonomies()
S
42 2 70
upgrade()
S
53 5 23
init()
S
45 3 46
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_groups_to_notify()
S
61 4 12
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_author_by_default_option()
S
62 3 11
settings_notify_current_user_by_default_option()
S
62 3 11
enqueue_admin_scripts()
S
54 2 26
__construct()
S
47 1 38
get_notify_action_parts()
S
54 2 22
action_admin_head_notify_js()
S
64 1 34
setDefaultCapabilities()
S
59 2 16
add_term_if_not_exists()
S
65 3 9
get_emails_to_notify()
S
64 3 10
schedule_emails()
S
62 2 12
settings_email_from_option()
S
56 1 20
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
59 1 14
get_workflows_related_to_followers()
S
61 1 13
get_notification_footer()
S
60 1 13
settings_post_types_option()
S
77 1 4
send_single_email()
S
78 1 3
getPostID()
S
82 1 3
migrateLegacyFollowingTerms()
S
67 1 9
get_scheduled_datetime()
S
69 1 6
install()
S
82 1 3