Code Analysis: WP Dark Mode 4.1.2

Function Rating Maintainability Complexity Lines of code
WP_Dark_Mode_Settings::settings_fields()
D
10
9 760
WPPOOL_Plugin::get_inline_scripts()
B
32 1 397
WPPOOL_Settings_API::admin_init()
B
40 22 52
WP_Dark_Mode_Enqueue::frontend_scripts()
B
39 19 56
WPPOOL_Settings_API::style_fix()
B
35 2 268
Appsero\License::menu_output()
B
40 15 66
WP_Dark_Mode_Shortcode::render_dark_mode_btn()
A
41 15 51
Appsero\Insights::get_tracking_data()
A
39 13 61
WP_Dark_Mode_Settings::exclude_wc_categories()
A
41 13 60
WP_Dark_Mode_Settings::exclude_categories()
A
42 13 56
Appsero\Insights::deactivate_scripts()
A
32 6 161
WP_Dark_Mode_Admin::dashboard_widget_cb()
A
40 12 66
WP_Dark_Mode_Settings::exclude_pages()
A
40 12 64
WP_Dark_Mode_Theme_Supports::enqueue_scripts()
A
49 13 27
WP_Dark_Mode_Settings::image_settings()
A
38 8 94
WPPOOL_Plugin::get_inline_styles()
A
37 1 198
WP_Dark_Mode_Settings::exclude_posts()
A
41 10 61
WP_Dark_Mode_Settings::video_settings()
A
39 8 86
WP_Dark_Mode_Admin::save_settings()
A
50 11 25
wp_dark_mode_localize_array()
A
41 9 50
WP_Dark_Mode_Theme_Supports::excludes()
A
51 10 30
WP_Dark_Mode_Admin::display_notices()
A
50 10 29
Appsero\Updater::check_plugin_update()
A
52 10 24
Appsero\Updater::check_theme_update()
A
52 10 23
WP_Dark_Mode_Settings::exclude_tags()
A
44 8 53
Appsero\Insights::deactivation_modal_styles()
A
50 1 158
Appsero\Insights::handle_optin_optout()
A
53 10 21
Appsero\License::licenses_style()
A
50 1 155
WP_Dark_Mode_Settings::exclude_products()
A
45 8 49
WPPOOL_Settings_API::script()
A
50 1 153
WPDarkMode\Module\SocialShare::the_content()
A
50 9 29
WP_Dark_Mode_Hooks::header_scripts()
A
44 7 49
Appsero\Insights::get_all_plugins()
A
48 8 34
WPPOOL_Settings_API::callback_number()
A
47 8 34
Appsero\Updater::get_project_latest_version()
A
49 8 29
WP_Dark_Mode_Enqueue::admin_scripts()
A
39 6 59
WPDarkMode\Module\SocialShare::channels()
S
35 1 119
WP_Dark_Mode_Elementor_Widget::register_controls()
S
34 1 119
Appsero\Insights::admin_notice()
S
45 6 43
Appsero\Insights::uninstall_reason_submission()
S
53 7 21
Appsero\Updater::get_cached_version_info()
S
56 7 20
WP_Dark_Mode_Admin::handle_review_notice()
S
55 7 17
WP_Dark_Mode_Admin::handle_affiliate_notice()
S
55 7 17
Appsero\Insights::get_server_info()
S
55 7 17
WPPOOL_Settings_API::get_sanitize_callback()
S
58 7 15
Appsero\License::send_request()
S
51 6 28
WP_Dark_Mode_Hooks::display_widget()
S
59 7 13
WP_Dark_Mode_Admin::export_settings()
S
53 6 23
WP_Dark_Mode_Hooks::not_selectors()
S
54 6 21
WP_Dark_Mode_Admin::header_scripts()
S
45 2 80
WP_Dark_Mode_Admin::recommended_plugins_menu()
S
55 6 20
WPPOOL_Plugin::sent_to_fluent_server()
S
55 6 18
WPPOOL_Settings_API::sanitize_options()
S
59 6 15
WPPOOL_Settings_API::callback_text()
S
50 5 28
WPDarkMode\Module\SocialShare::wpdm_social_share_counter()
S
45 4 43
WPPOOL_Settings_API::show_forms()
S
47 4 43
WP_Dark_Mode_Nav_Menu::nav_menu_links()
S
49 4 43
active_filter_preview()
S
61 6 12
Appsero\License::show_active_license_info()
S
51 5 27
WP_Dark_Mode_Settings::if_image_settings()
S
62 6 11
WP_Dark_Mode_Enqueue::palettes_allow()
S
62 6 11
WP_Dark_Mode_Enqueue::is_license_valid()
S
62 6 11
wp_dark_mode_frontend_mode()
S
62 6 11
WP_Dark_Mode::__construct()
S
51 5 25
WPPOOL_Settings_API::callback_wysiwyg()
S
51 5 24
wpdm_extended_kses()
S
40 1 82
WPPOOL_Settings_API::callback_file()
S
47 4 37
Appsero\License::check_license_status()
S
55 5 19
WP_Dark_Mode_Settings::switch_menus()
S
56 5 18
Appsero\License::license_form_submit()
S
57 5 17
Appsero\Insights::__construct()
S
65 6 8
Appsero\Insights::is_local_server()
S
62 6 9
Appsero\License::is_valid_by()
S
64 6 9
WP_Dark_Mode_Control_Image_Choose::content_template()
S
53 4 29
WPPOOL_Settings_API::callback_select()
S
50 4 28
Appsero\Insights::send_tracking_data()
S
61 5 12
Appsero\License::is_valid()
S
61 5 12
WPPOOL_Settings_API::callback_textarea()
S
51 4 26
WPPOOL_Settings_API::show_navigation()
S
47 3 41
Appsero\License::active_client_license()
S
51 4 25
WPPOOL_Settings_API::callback_image_choose()
S
47 3 40
WPPOOL_Settings_API::callback_multicheck()
S
47 3 39
wp_dark_mode_register_block()
S
49 3 36
WP_Dark_Mode_Admin::import_settings()
S
55 4 19
Appsero\License::deactive_client_license()
S
55 4 19
WPDarkMode\Module\SocialShare::admin_enqueue_scripts()
S
49 3 30
WPPOOL_Settings_API::callback_color()
S
50 3 30
WPPOOL_Settings_API::callback_slider()
S
50 3 30
Appsero\Insights::get_wp_info()
S
57 4 15
WP_Dark_Mode_Admin::render_admin_switcher_menu()
S
51 3 30
Appsero\License::get_input_license_value()
S
59 4 14
WPDarkMode\Module\SocialShare::activate()
S
59 4 14
WP_Dark_Mode::check_environment()
S
53 3 29
WP_Dark_Mode::add_notice()
S
60 4 14
Appsero\License::admin_menu()
S
62 4 13
wp_dark_mode_enabled()
S
62 4 11
WPPOOL_Plugin::load_popup_template()
S
48 1 56
WPPOOL_Settings_API::callback_password()
S
52 3 25
Appsero\License::show_license_page_card_header()
S
56 3 23
WPDarkMode\Module\SocialShare::default_options()
S
44 1 52
WP_Dark_Mode_Admin::dashboard_widgets()
S
56 3 18
WP_Dark_Mode_Admin::admin_menu()
S
51 2 33
WP_Dark_Mode_Settings::exclude_post_types()
S
57 3 17
Appsero\Insights::get_uninstall_reasons()
S
46 1 47
Appsero\License::show_license_page_notices()
S
60 3 17
wp_dark_mode_lighten()
S
57 3 15
Appsero\License::form_action_url()
S
62 4 10
Appsero\Updater::plugins_api_filter()
S
65 4 9
WP_Dark_Mode_Admin::get_switch_preview()
S
61 4 10
WPPOOL_Settings_API::callback_radio()
S
50 2 30
Appsero\License::refresh_client_license()
S
63 4 10
WPDarkMode\Module\SocialShare::wpdm_social_share_save_options()
S
58 3 14
WPPOOL_Settings_API::callback_switcher()
S
47 1 43
Appsero\Insights::get_user_counts()
S
62 3 12
Appsero\Insights::activate_plugin()
S
61 3 12
Appsero\License::run_schedule()
S
62 3 12
WP_Dark_Mode_Settings::custom_position_cb()
S
49 1 42
WP_Dark_Mode_Admin::reset_settings()
S
61 3 12
WP_Dark_Mode::get_template()
S
62 3 11
Appsero\Insights::get_user_ip_address()
S
63 3 11
Appsero\Insights::get_site_name()
S
63 3 11
WPPOOL_Settings_API::callback_html()
S
48 1 40
wp_dark_mode_color_presets()
S
54 2 23
WP_Dark_Mode_Hooks::footer_scripts()
S
56 2 22
WPDarkMode\Module\SocialShare::get_social_share_count()
S
56 2 20
WPDarkMode\Module\SocialShare::admin_head()
S
59 1 34
Appsero\Client::set_basename_and_slug()
S
56 2 17
WP_Dark_Mode::load_files()
S
59 2 16
WP_Dark_Mode_Update::needs_update()
S
66 3 9
WP_Dark_Mode_Update::perform_updates()
S
63 3 10
Appsero\Client::insights()
S
64 3 10
Appsero\Client::updater()
S
64 3 10
WP_Dark_Mode::plugin_action_links()
S
60 2 15
WP_Dark_Mode_Install::__construct()
S
65 3 9
WP_Dark_Mode_Admin::init_update()
S
65 3 9
Appsero\Insights::init()
S
69 3 7
Appsero\Insights::get_extra_data()
S
67 3 9
WP_Dark_Mode_Enqueue::frontend_support_scripts()
S
63 3 10
WP_Dark_Mode_Hooks::excludes()
S
64 3 10
Appsero\Insights::theme_deactivated()
S
71 3 5
WPDarkMode\Module\SocialShare::recursive_sanitizer()
S
64 3 10
Appsero\Client::license()
S
64 3 10
Appsero\Updater::__construct()
S
65 3 9
WP_Dark_Mode_Update_2_0_5::update_switch_settings()
S
64 3 9
WPPOOL_Plugin::set_tag()
S
66 3 9
WPPOOL_Plugin::set_list()
S
66 3 9
WPPOOL_Plugin::remove_tag()
S
66 3 9
WPPOOL_Plugin::remove_list()
S
66 3 9
Appsero\Insights::data_we_collect()
S
60 2 14
WP_Dark_Mode_Admin::footer_scripts()
S
66 1 28
Appsero\Insights::send_tracking_skipped_request()
S
60 2 13
WPPOOL_Settings_API::callback_checkbox()
S
51 1 27
WPPOOL_Plugin::enqueue_scripts()
S
61 2 12
WPDarkMode\Module\SocialShare::get_options()
S
62 2 11
WP_Dark_Mode_Settings::settings_page()
S
56 1 26
WP_Dark_Mode::print_notices()
S
63 2 11
WP_Dark_Mode::init_appsero()
S
63 2 11
WP_Dark_Mode_Hooks::after_elementor_scripts()
S
57 1 23
WPDarkMode\Module\SocialShare::wp_enqueue_scripts()
S
53 1 23
WP_Dark_Mode_Admin::__construct()
S
53 1 23
WPDarkMode\Module\SocialShare::get_kses_extended_ruleset()
S
54 1 23
WP_Dark_Mode_Settings::settings_menu()
S
57 1 20
WP_Dark_Mode_Control_Image_Choose::enqueue()
S
57 1 19
WP_Dark_Mode_Admin::settings_option_names()
S
57 1 19
Appsero\Client::send_request()
S
56 1 18
WPDarkMode\Module\SocialShare::create_database_table()
S
59 1 16
WPDarkMode\Module\SocialShare::admin_menu()
S
59 1 16
WP_Dark_Mode::activation_redirect()
S
71 2 6
WP_Dark_Mode_Update_2_0_5::instance()
S
72 2 6
WPDarkMode\Module\SocialShare::init()
S
69 2 7
wp_dark_mode_is_hello_elementora()
S
70 2 7
Appsero\Updater::set_cached_version_info()
S
70 2 6
Appsero\Client::is_local_server()
S
72 2 4
Appsero\Insights::deactivation_cleanup()
S
67 2 8
Appsero\Insights::plugin_action_links()
S
69 2 6
WPPOOL_Plugin::get_instance()
S
72 2 6
wp_dark_mode_is_custom_color()
S
74 2 4
WPPOOL_Plugin::get_default_background_image_url()
S
69 2 6
wp_dark_mode_is_gutenberg_page()
S
75 2 4
WPPOOL_Plugin::get_current_list_id()
S
75 2 4
WP_Dark_Mode_Theme_Supports::not_selectors()
S
71 2 6
Appsero\License::schedule_cron_event()
S
70 2 6
WP_Dark_Mode_Theme_Supports::instance()
S
72 2 6
Appsero\Updater::get_version_info()
S
68 2 8
WP_Dark_Mode_Controls_Init::instance()
S
72 2 6
WP_Dark_Mode_Settings::instance()
S
72 2 6
WPPOOL_Plugin::get_list_id()
S
68 2 7
Appsero\Insights::init_common()
S
64 2 9
wp_dark_mode_get_settings()
S
74 2 4
WPPOOL_Plugin::get_tag_id()
S
75 2 4
WPPOOL_Plugin::get_current_plugin()
S
71 2 6
WPPOOL_Plugin::init()
S
64 2 9
WP_Dark_Mode::is_license_active()
S
79 2 3
WP_Dark_Mode_Shortcode::is_license_valid()
S
70 2 7
WP_Dark_Mode_Elementor_Widget::render()
S
68 2 7
WP_Dark_Mode_Install::create_default_data()
S
64 2 9
Appsero\Insights::init_plugin()
S
64 2 9
WPPOOL_Settings_API::get_field_description()
S
66 2 8
WP_Dark_Mode_Install::instance()
S
72 2 6
WP_Dark_Mode_Hooks::switch_label_class()
S
68 2 7
WP_Dark_Mode_Admin::instance()
S
72 2 6
WP_Dark_Mode_Hooks::instance()
S
72 2 6
WP_Dark_Mode_Theme_Supports::is_theme()
S
69 2 6
WP_Dark_Mode_Nav_Menu::instance()
S
72 2 6
WPPOOL_Plugin::__construct()
S
75 2 4
WP_Dark_Mode_Shortcode::instance()
S
72 2 6
WP_Dark_Mode_Hooks::is_license_valid()
S
70 2 7
Appsero\Insights::get_post_count()
S
66 2 8
WP_Dark_Mode::instance()
S
72 2 6
WP_Dark_Mode_Update_2_0_0::instance()
S
72 2 6
WP_Dark_Mode_Enqueue::instance()
S
72 2 6
WP_Dark_Mode_Enqueue::wp_dark_mode_common_mode()
S
69 2 7
WPPOOL_Settings_API::get_option()
S
69 2 7
Appsero\Insights::schedule_event()
S
70 2 6
Appsero\Insights::notice_dismissed()
S
68 2 7
Appsero\License::add_settings_page()
S
59 1 14
WPDarkMode\Module\SocialShare::wp_head()
S
64 1 13
WPPOOL_Plugin::init_plugin_sdk()
S
62 1 13
Appsero\License::create_submenu_page()
S
63 1 12
Appsero\License::create_menu_page()
S
63 1 12
Appsero\License::create_options_page()
S
64 1 11
WPPOOL_Settings_API::add_field()
S
63 1 11
WP_Dark_Mode_Update_2_0_5::__construct()
S
82 1 3
WP_Dark_Mode_Admin::recommended_plugins_page()
S
80 1 3
WPPOOL_Plugin::get_plugins()
S
79 1 3
WP_Dark_Mode_Elementor_Widget::get_name()
S
82 1 3
WP_Dark_Mode_Admin::after_settings()
S
80 1 3
WP_Dark_Mode_Update_2_0_0::__construct()
S
69 1 7
Appsero\Client::set_textdomain()
S
81 1 3
WPPOOL_Settings_API::callback_url()
S
81 1 3
WP_Dark_Mode::activation()
S
75 1 4
wp_dark_mode_exclude_pages()
S
79 1 3
Appsero\Client::__construct()
S
71 1 6
Appsero\Insights::notice()
S
77 1 4
WP_Dark_Mode::lang()
S
69 1 7
Appsero\Insights::add_weekly_schedule()
S
68 1 7
WPPOOL_Plugin::get_plugin_image()
S
79 1 3
WP_Dark_Mode_Elementor_Widget::get_categories()
S
81 1 3
Appsero\Client::etrans()
S
79 1 3
WPPOOL_Plugin::slugify()
S
73 1 5
WP_Dark_Mode_Update_2_0_0::update_includes_excludes()
S
69 1 6
WPPOOL_Plugin::unsubscribe()
S
74 1 4
WP_Dark_Mode_Update_2_0_0::update_color_settings()
S
72 1 5
WP_Dark_Mode_Update_2_0_0::update_switch_settings()
S
69 1 6
Appsero\License::get_license()
S
79 1 3
WPPOOL_Plugin::appsero()
S
82 1 3
Appsero\License::deactivate()
S
74 1 4
WPPOOL_Plugin::unsubscribe_tag()
S
70 1 6
WPDarkMode\Module\SocialShare::add_actions()
S
66 1 8
WP_Dark_Mode_Elementor_Widget::get_icon()
S
82 1 3
Appsero\Insights::optout()
S
68 1 7
WPPOOL_Settings_API::__construct()
S
79 1 3
Appsero\Client::__trans()
S
79 1 3
WP_Dark_Mode_Elementor_Widget::get_keywords()
S
71 1 7
Appsero\Insights::add_plugin_data()
S
77 1 4
Appsero\Insights::init_theme()
S
72 1 5
Appsero\Insights::get_last_send()
S
78 1 3
WP_Dark_Mode::is_pro_active()
S
79 1 3
WPPOOL_Plugin::listen_appsero()
S
64 1 10
Appsero\Insights::tracking_allowed()
S
74 1 4
Appsero\Insights::hide_notice()
S
77 1 4
wp_dark_mode_get_excludes()
S
74 1 4
WP_Dark_Mode::is_ultimate_active()
S
79 1 3
WPDarkMode\Module\SocialShare::get_share_count_by_url()
S
68 1 7
WP_Dark_Mode_Controls_Init::__construct()
S
75 1 4
WP_Dark_Mode::deactivation()
S
81 1 3
WP_Dark_Mode_Controls_Init::image_choose()
S
80 1 3
WPPOOL_Settings_API::callback_buttons()
S
64 1 9
WP_Dark_Mode_Nav_Menu::add_nav_menu_meta_boxes()
S
65 1 10
Appsero\License::refresh_license_api()
S
75 1 4
Appsero\License::set_option_key()
S
77 1 4
WP_Dark_Mode_Settings::filter_preview()
S
81 1 3
WPPOOL_Settings_API::callback_heading()
S
69 1 6
Appsero\Updater::run_theme_hooks()
S
79 1 3
WP_Dark_Mode::register_widget()
S
71 1 6
WP_Dark_Mode_Nav_Menu::__construct()
S
79 1 3
WP_Dark_Mode_Enqueue::__construct()
S
71 1 5
WP_Dark_Mode_Settings::switch_preview()
S
73 1 4
WPPOOL_Settings_API::callback_cb_function()
S
80 1 3
WPDarkMode\Module\SocialShare::render_social_share()
S
80 1 3
wp_dark_mode_get_includes()
S
74 1 4
WP_Dark_Mode_Update::installed_version()
S
80 1 3
Appsero\License::clear_scheduler()
S
81 1 3
WPDarkMode\Module\SocialShare::add_filters()
S
79 1 3
WP_Dark_Mode_Admin::getting_started()
S
80 1 3
WP_Dark_Mode_Update_2_0_0::update_advanced_settings()
S
70 1 6
Appsero\License::activate()
S
74 1 4
WP_Dark_Mode_Elementor_Widget::get_title()
S
79 1 3
WPPOOL_Settings_API::set_sections()
S
77 1 4
wp_dark_mode()
S
82 1 3
Appsero\Insights::optin()
S
66 1 8
WP_Dark_Mode_Admin::admin_tools()
S
80 1 3
WPPOOL_Settings_API::admin_enqueue_scripts()
S
70 1 7
Appsero\Insights::add_extra()
S
77 1 4
wppool_plugin_init()
S
80 1 3
WP_Dark_Mode_Theme_Supports::__construct()
S
74 1 4
WPPOOL_Settings_API::add_section()
S
76 1 4
WPDarkMode\Module\SocialShare::get_social_share_buttons()
S
65 1 9
WPPOOL_Settings_API::set_fields()
S
77 1 4
WP_Dark_Mode_Controls_Init::include_files()
S
77 1 4
Appsero\License::check()
S
74 1 4
WPPOOL_Settings_API::callback_pages()
S
64 1 9
WPPOOL_Plugin::plugin_tracker_optin_callback()
S
67 1 8
WPPOOL_Plugin::subscribe()
S
68 1 7
WP_Dark_Mode_Shortcode::__construct()
S
70 1 6
WPPOOL_Plugin::unsubscribe_plugin()
S
70 1 6
wp_dark_mode_exclude_pages_except()
S
79 1 3
WP_Dark_Mode_Control_Image_Choose::get_type()
S
82 1 3
Appsero\Updater::run_plugin_hooks()
S
74 1 4
WP_Dark_Mode_Control_Image_Choose::get_default_settings()
S
72 1 6
Appsero\Client::endpoint()
S
75 1 4
WPPOOL_Plugin::get_tags()
S
72 1 6
Appsero\License::__construct()
S
65 1 8
WPDarkMode\Module\SocialShare::hooks_if_social_share_enabled()
S
64 1 9
WP_Dark_Mode_Hooks::__construct()
S
64 1 9
WP_Dark_Mode_Settings::__construct()
S
74 1 4
Appsero\Insights::clear_schedule_event()
S
80 1 3
WPPOOL_Settings_API::show_settings()
S
72 1 6
WPDarkMode\Module\SocialShare::wpdm_settings_option_names()
S
66 1 8