Code Analysis: Notifier to slack 3.4.4

Function Rating Maintainability Complexity Lines of code
WPNTS\Inc\NotifierSupport::wpnts_support_tickets()
C
31 26 105
WPNTS\Inc\Database\DB::system_info()
C
33 24 78
WPNTS\Inc\NotifierReview::wpnts_review_tickets()
B
32 21 101
WPNTS\Inc\Route::set_plugin_wizards()
B
28
16 147
WPNTS\Inc\WooCommerce::get_product_changes_message()
B
35 14 103
WPNTS\Inc\NotifierReview::wpnts_display_plugin_info()
A
37 12 74
WPNTS\Inc\NotifierReview::wpnts_display_active_installation_change()
A
40 13 57
WPNTS\Inc\NotifierReview::wpnts_display_rating_change()
A
40 13 57
WPNTS\Inc\PluginUpdate::wpnts_plugin_update_notification()
A
41 13 53
WPNTS\Inc\Route::set_slack_maintenance_mode()
A
40 11 56
WPNTS\Inc\Security::wpnts_rate_limit_ip()
A
42 11 47
WPNTS\Inc\Debuglog::log_error_to_slack()
A
43 10 46
WPNTS\Inc\Enqueue::admin_enqueue()
A
38 8 68
WPNTS\Inc\DbTables::__construct()
A
36 5 91
WPNTS\Inc\Database\DB::get_all()
A
45 8 43
WPNTS\Inc\Notify::wpnts_user_login_total_count()
A
46 8 38
WPNTS\Inc\Security::wpnts_detect_suspicious_requests()
A
47 8 32
WPNTS\Inc\WPUpdate::wpnts_wordpress_core_update()
A
47 8 31
WPNTS\Inc\Ajax\Ajax::visitor_data_bulk_delete()
A
51 8 26
WPNTS\Inc\Route::set_slack_captcha_verify()
A
46 7 39
WPNTS\Inc\Notify::__construct()
A
46 7 36
WPNTS\Inc\Ajax\Ajax::manage_notices()
A
56 8 16
WPNTS\Inc\Postnotice::wpnts_send_page_notification()
S
44 6 44
WPNTS\Inc\Websitecron::wpnts_cron_event_scheduled()
S
44 6 43
WPNTSNotifier::wpnts_plugin_activation()
S
50 7 27
WPNTS\Inc\Route::wpnts_create_rest_route()
S
35 1 117
WPNTS\Inc\Route::set_slack_webhook_debuglog_settings()
S
50 7 26
WPNTS\Inc\NotifierReview::wpnts_reset_activity_log_on_duration()
S
52 7 22
WPNTS\Inc\Database\DB::notice_settings()
S
48 6 36
WPNTS\Inc\Capcha::integrate_cloudflare_turnstile()
S
55 7 21
WPNTS\Inc\Comment::__construct()
S
46 6 36
WPNTS\Inc\Notices::review_upgrade_notice_by_condition()
S
54 7 19
WPNTS\Inc\Notify::wpnts_site_health_status_notification()
S
48 6 29
WPNTS\Inc\Security::__construct()
S
50 6 28
WPNTS\Inc\Notify::wpnts_plugin_activation()
S
44 5 43
WPNTS\Inc\Notify::wpnts_plugin_deactivated()
S
44 5 43
WPNTS\Inc\Notify::wpnts_user_activity_notification_logout()
S
44 5 41
WPNTS\Inc\WooCommerce::__construct()
S
51 6 26
WPNTS\Inc\Ajax\Ajax::activity_data_resets()
S
51 6 26
WPNTS\Inc\Integration::wpnts_cf7_integration()
S
45 5 39
WPNTS\Inc\Ajax\Ajax::visitor_data_delete()
S
52 6 24
WPNTS\Inc\Database\DB::debug_mode_status()
S
52 6 24
WPNTS\Inc\NotifierReview::wpnts_add_cron_interval()
S
54 6 19
WPNTS\Inc\NotifierSupport::wpnts_add_cron_interval()
S
54 6 19
WPNTS\Inc\Ajax\Ajax::get_active_logged_in_users()
S
49 5 31
WPNTS\Inc\Theme::check_newly_installed_themes()
S
50 5 28
WPNTS\Inc\WooCommerce::notify_on_address_update()
S
50 5 27
WPNTS\Inc\Notify::wpnts_user_activity_notification_login()
S
45 4 41
WPNTS\Inc\Comment::wpnts_comment_status_notification()
S
50 5 26
WPNTS\Inc\Notify::wpnts_user_track_failed_login()
S
52 5 24
WPNTS\Inc\SlackAttachment::log_activity_to_db()
S
52 5 23
WPNTS\Inc\NotifierReview::__construct()
S
53 5 22
WPNTS\Inc\Theme::__construct()
S
53 5 21
WPNTS\Inc\Websitecron::wpnts_cron_event_deleted()
S
53 5 20
WPNTS\Inc\Ajax\Ajax::IS_woocommerce_installed()
S
55 5 20
WPNTS\Inc\Ajax\Ajax::IS_CF7_installed()
S
55 5 20
WPNTS\Inc\Ajax\Ajax::IS_formflow_installed()
S
55 5 20
WPNTS\Inc\Integration::form_submit_action()
S
47 4 34
WPNTS\Inc\WooCommerce::sales_notification()
S
46 4 34
WPNTS\Inc\Integration::__construct()
S
55 5 18
WPNTS\Inc\Route::set_slack_webhook_sending_test()
S
55 5 18
WPNTS\Inc\AdminDashboard::check_and_update_logdurationtime()
S
56 5 18
WPNTS\Inc\Ajax\Ajax::update_active_users_data()
S
58 5 14
WPNTS\Inc\Notices::review_notice_by_condition()
S
58 5 14
WPNTS\Inc\Websitecron::format_cron_interval()
S
61 5 11
WPNTS\Inc\WooCommerce::notify_on_product_changes()
S
50 4 26
WPNTS\Inc\Postnotice::wpnts_send_post_deletion_notification()
S
51 4 25
WPNTS\Inc\Media::wpnts_log_email_failed()
S
51 4 24
WPNTS\Inc\Media::wpnts_log_email_sent()
S
51 4 23
WPNTS\Inc\Ajax\Ajax::woocommercewoocommerce_status()
S
56 4 18
WPNTS\Inc\Media::__construct()
S
56 4 18
WPNTS\Inc\Ajax\Ajax::set_reminder()
S
56 4 18
WPNTS\Inc\Theme::wpnts_theme_updated()
S
55 4 17
WPNTS\Inc\Notify::wpnts_plugin_updated()
S
55 4 17
WPNTS\Inc\Menu::__construct()
S
56 4 17
WPNTS\Inc\Route::set_slack_webhook_maintenannotice_settings()
S
58 4 15
WPNTS\Inc\Comment::unregister_comment_blocks()
S
51 3 29
WPNTS\Inc\SlackAttachment::get_user_ip()
S
61 4 12
WPNTS\Inc\Maintenance::wpnts_enforce_maintenance_mode()
S
63 4 11
WPNTS\Inc\AdminDashboard::check_and_add_columns()
S
55 3 22
WPNTS\Inc\SlackAttachment::addAttachment()
S
49 2 36
WPNTS\Inc\Comment::custom_comments_open()
S
57 3 19
WPNTS\Inc\Capcha::__construct()
S
48 2 33
WPNTS\Inc\WooCommerce::notify_on_shipping_status_update()
S
57 3 16
WPNTS\Inc\Notify::sendEmailNotificationSiteHelgth()
S
57 3 14
WPNTS\Inc\WooCommerce::wpnts_product_stock_notification()
S
49 2 29
WPNTS\Inc\Websitecron::__construct()
S
59 3 13
WPNTS\Inc\Postnotice::__construct()
S
59 3 13
WPNTS\Inc\Wpwidgets::__construct()
S
59 3 13
WPNTS\Inc\Ajax\Ajax::maintenannotice_mode_status()
S
61 3 12
WPNTS\Inc\Ajax\Ajax::global_settings()
S
61 3 12
WPNTS\Inc\Notify::sendEmailNotificationPluginActiveDeactive()
S
59 3 12
WPNTS\Inc\Ajax\Ajax::notice_settings()
S
61 3 12
WPNTS\Inc\Ajax\Ajax::get_all()
S
61 3 12
WPNTS\Inc\Ajax\Ajax::debug_mode_status()
S
61 3 12
WPNTS\Inc\Ajax\Ajax::activity_table()
S
61 3 12
WPNTS\Inc\Ajax\Ajax::get_visitor_data()
S
61 3 12
WPNTS\Inc\Database\DB::activity_log_truncate()
S
62 3 12
WPNTS\Inc\Route::set_slack_webhook_pagenpost_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_slack_webhook_media_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_slack_webhook_widget_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_slack_webhook_menu_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_webhook_theme_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_slack_webhook_integration_settings()
S
62 3 11
WPNTS\Inc\Ajax\Ajax::hide_notice()
S
63 3 11
WPNTS\Inc\Notify::wpnts_new_user_notification()
S
51 2 26
WPNTS\Inc\Route::set_plugin_name()
S
62 3 11
WPNTS\Inc\Route::set_slack_webhook()
S
62 3 11
WPNTS\Inc\Route::set_slack_webhookapi_global_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_webhook_site_settings()
S
62 3 11
WPNTS\Inc\Route::set_slack_webhook_woocommerce_settings()
S
62 3 11
WPNTS\Inc\Route::set_emengency_shutdown()
S
62 3 11
WPNTS\Inc\Route::set_slack_webhook_comment_settings()
S
62 3 11
WPNTS\Inc\Route::set_website_downtime_alerts()
S
62 3 11
WPNTS\Inc\Route::set_slack_captcha_settings()
S
62 3 11
wpnts_nts_fs()
S
53 2 25
WPNTS\Inc\AdminDashboard::add_notifier_pages()
S
55 2 19
WPNTS\Inc\Menu::wpnts_menu_deleted()
S
55 2 19
WPNTS\Inc\Database\DB::is_pro_active()
S
75 3 4
WPNTS\Inc\PluginUpdate::wpnts_add_cron_interval()
S
62 3 10
WPNTS\Inc\Database\DB::formflow_status()
S
65 3 9
WPNTS\Inc\Notify::sendEmailNotificationSigninout()
S
62 3 10
WPNTS\Inc\Database\DB::cf7_status()
S
65 3 9
WPNTS\Inc\WPUpdate::wpnts_add_cron_interval()
S
62 3 10
WPNTS\Inc\Database\DB::woocommercewoocommerce_status()
S
65 3 9
WPNTS\Inc\Notices::__construct()
S
65 3 9
WPNTSNotifier::includes()
S
51 1 29
WPNTS\Inc\Database\DB::admin_list()
S
60 2 14
WPNTS\Inc\Theme::wpnts_option_updated()
S
57 2 14
WPNTS\Inc\WooCommerce::get_shipping_status_update_message()
S
61 2 13
WPNTS\Inc\Database\DB::visitor_data()
S
61 2 12
WPNTS\Inc\Database\DB::global_settings()
S
61 2 12
WPNTS\Inc\Ajax\Ajax::__construct()
S
54 1 20
WPNTS\Inc\Comment::wpnts_comment_moderation_notification()
S
54 1 19
WPNTS\Inc\Capcha::render_turnstile_container()
S
58 1 17
WPNTS\Inc\WooCommerce::get_formatted_address_from_args()
S
57 1 16
WPNTS\Inc\Notify::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Wpwidgets::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Comment::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Security::wpnts_disable_file_editor()
S
75 2 5
WPNTS\Inc\NotifierSupport::__construct()
S
64 2 9
WPNTS\Inc\Postnotice::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Maintenance::__construct()
S
66 2 8
WPNTS\Inc\Security::wpnts_remove_x_powered_by_header()
S
74 2 5
WPNTS\Inc\Security::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Theme::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Menu::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\SlackAttachment::addPluginUpdateNotification()
S
59 1 15
WPNTS\Inc\Wpwidgets::wpnts_hook_widget_delete()
S
62 2 9
WPNTS\Inc\PluginUpdate::__construct()
S
64 2 9
WPNTS\Inc\Debuglog::__construct()
S
62 2 10
WPNTS\Inc\Database\DB::visitor_data_bulk_delete()
S
62 2 10
WPNTS\Inc\Websitecron::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Route::set_slack__webhook_site_security_settings()
S
65 2 8
WPNTS\Inc\Debuglog::wpnts_add_cron_interval()
S
66 2 8
WPNTS\Inc\Security::wpnts_remove_x_powered_by_for_rest()
S
71 2 6
WPNTS\Inc\Media::wpnts_notify_slack()
S
58 1 15
WPNTS\Inc\Comment::disable_comments_sitewide()
S
69 2 7
WPNTS\Inc\WPUpdate::__construct()
S
64 2 9
WPNTS\Inc\Security::wpnts_remove_version_from_assets()
S
70 2 6
WPNTS\Inc\Activate::wpnts_activate()
S
70 2 6
WPNTS\Inc\Capcha::enqueue_assets()
S
61 1 14
WPNTS\Inc\Theme::wpnts_theme_deleted()
S
58 1 14
WPNTS\Inc\Menu::wpnts_menu_created()
S
59 1 13
WPNTS\Inc\Integration::wpnts_notify_slack()
S
60 1 13
WPNTS\Inc\WooCommerce::send_slack_notification()
S
60 1 13
WPNTS\Inc\Menu::wpnts_menu_updated()
S
59 1 13
WPNTS\Inc\Integration::wpnts_formflow_notify_slack()
S
60 1 13
WPNTS\Inc\Media::wpnts_media_attachment_deleted()
S
60 1 12
WPNTS\Inc\Media::wpnts_media_attachment_added()
S
60 1 12
WPNTS\Inc\SlackAttachment::sendEmailNotification()
S
60 1 12
WPNTS\Inc\Comment::filter_wp_count_comments()
S
64 1 11
WPNTS\Inc\Route::set_slack_webhook_permission_pagenpost_settings()
S
80 1 3
WPNTS\Inc\Wpwidgets::log_to_db()
S
69 1 6
WPNTS\Inc\Comment::remove_admin_bar_comments_menu()
S
79 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_menu_settings()
S
80 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_integration_settings()
S
80 1 3
WPNTS\Inc\Maintenance::is_maintenance_mode_enabled()
S
70 1 6
WPNTS\Inc\Comment::block_comments_admin_screen()
S
79 1 3
WPNTS\Inc\SlackAttachment::getMessage()
S
74 1 5
WPNTS\Inc\AdminDashboard::notifier_pages()
S
78 1 4
WPNTS\Inc\Deactivate::wpnts_deactivate()
S
77 1 4
WPNTS\Inc\Route::set_plugin_wizards_permission()
S
80 1 3
WPNTS\Inc\Route::set_permission_emengency_shutdown()
S
80 1 3
WPNTS\Inc\Database\DB::visitor_data_delete()
S
71 1 5
WPNTS\Inc\BaseController::__construct()
S
76 1 4
WPNTS\Inc\Notices::show_review_notice()
S
80 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_debuglog_settings()
S
80 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_site_security_settings()
S
80 1 3
WPNTS\Inc\Capcha::add_cloudflare_turnstile()
S
72 1 5
WPNTS\Inc\Route::set_slack_webhook_permission_theme_settings()
S
80 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_woocommerce_settings()
S
80 1 3
WPNTS\Inc\Database\DB::get_all_activity_logs()
S
68 1 7
WPNTS\Inc\Route::set_slack_captcha_verify_permission()
S
80 1 3
WPNTS\Inc\WooCommerce::get_address_update_message()
S
72 1 5
WPNTS\Inc\WooCommerce::get_formatted_shipping_address()
S
81 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_site_settings()
S
80 1 3
WPNTS\Inc\Route::get_plugin_corn_run()
S
69 1 7
WPNTS\Inc\Route::set_slack_webhook_permission()
S
80 1 3
WPNTS\Inc\Wpwidgets::wpnts_widget_updated()
S
63 1 9
WPNTS\Inc\Security::wpnts_hide_wordpress_version()
S
75 1 4
WPNTS\Inc\Route::set_slack_webhook_api_global_settings_permission()
S
80 1 3
WPNTSNotifier::__construct()
S
76 1 4
WPNTS\Inc\WooCommerce::get_formatted_billing_address()
S
81 1 3
WPNTS\Inc\Capcha::initialize()
S
78 1 4
WPNTS\Inc\Route::set_plugin_name_permission()
S
80 1 3
WPNTSNotifier::wpnts_deactivate()
S
82 1 3
WPNTS\Inc\Route::set_slack_captcha_settings_permission()
S
80 1 3
WPNTS\Inc\Database\DB::get_current_user_id()
S
77 1 4
WPNTS\Inc\Route::set_slack_webhook_permission_maintenance_mode()
S
82 1 3
WPNTS\Inc\Database\DB::maintenannotice_mode_status()
S
66 1 8
WPNTS\Inc\AdminDashboard::__construct()
S
75 1 4
WPNTS\Inc\Route::set_slack_webhook_permission_comment_settings()
S
80 1 3
WPNTSNotifier::register()
S
75 1 4
WPNTSNotifier::wpnts_load()
S
78 1 3
WPNTS\Inc\Route::__construct()
S
79 1 3
WPNTSNotifier::wpnts_activate()
S
82 1 3
WPNTS\Inc\Route::set_slack_webhook_sending_test_permission()
S
80 1 3
WPNTS\Inc\Database\DB::check_pro_plugin_exists()
S
79 1 3
WPNTS\Inc\Route::set_slack_webhook_permission_widget_settings()
S
80 1 3
WPNTS\Inc\Comment::remove_comments_menu_page()
S
76 1 4
WPNTS\Inc\Route::get_plugin_corn_run_permission()
S
82 1 3
WPNTS\Inc\Route::set_permission_website_downtime_alerts()
S
80 1 3
WPNTS\Inc\Enqueue::register()
S
75 1 4
WPNTS\Inc\Route::set_slack_webhook_permission_maintenannotice_settings()
S
80 1 3
WPNTS\Inc\Comment::unregister_comment_blocks_javascript()
S
64 1 10
WPNTS\Inc\Route::set_slack_webhook_permission_media_settings()
S
80 1 3
WPNTS\Inc\Enqueue::frondend_enqueue()
S
65 1 8
WPNTS\Inc\Notices::show_upgrade_notice()
S
80 1 3