Code Analysis: Darkify 1.2.5

Function Rating Maintainability Complexity Lines of code
DARKIFY_Fields::field_data()
D
24
57 148
DARKIFY_Setup::setup()
D
27
52 117
DARKIFY_Options::add_options_html()
D
26
48 116
DARKIFY_Setup::add_admin_enqueue_scripts()
D
30 40 98
DARKIFY_Fields::field_wp_query_data_title()
D
35 41 71
DARKIFY_Abstract::recursive_output_css()
D
36 41 61
DARKIFY_Field_select::render()
D
33 38 79
DARKIFY_Options::set_options()
D
34 36 78
DARKIFY_Metabox::add_meta_box_content()
D
32 36 77
Help::help_page_callback()
D
20
10 465
DARKIFY_Field_background::render()
D
22
22 252
DARKIFY_Field_border::output()
D
44 35 31
DARKIFY_Comment_Metabox::add_comment_meta_box_content()
C
35 30 69
DARKIFY_Field_group::render()
C
32 28 93
Help::themeatelier_plugins_info_api_help_page()
C
27
21 170
DARKIFY_Taxonomy_Options::save_taxonomy()
C
36 27 70
DARKIFY_Metabox::save_meta_box()
C
36 27 69
DARKIFY_Comment_Metabox::save_comment_meta_box()
C
36 27 69
DarkifyShortcodeParser::darkify_client_view_maker()
C
28
16 230
DARKIFY_Nav_Menu_Options::wp_update_nav_menu_item()
C
37 26 69
DARKIFY_Profile_Options::save_profile()
C
37 26 69
DARKIFY_Shortcoder::get_shortcode()
C
40 26 47
DARKIFY_Setup::field()
C
37 24 65
DARKIFY_Field_spacing::output()
B
42 25 41
DARKIFY_Customize_Options::add_section()
B
39 24 53
DARKIFY_Field_spacing::render()
B
36 20 74
DARKIFY_Taxonomy_Options::render_taxonomy_form_fields()
B
44 22 34
DARKIFY_Field_border::render()
B
33 18 93
Darkify_Admin::darkify_admin_enqueue()
B
39 20 54
DarkifyClient::darkify_client_enqueue()
B
37 18 65
DARKIFY_Profile_Options::render_profile_form_fields()
B
46 19 30
DARKIFY_Field_dimensions::render()
B
40 17 54
DARKIFY_Field_checkbox::render()
B
39 16 60
DARKIFY_Shortcoder::add_footer_modal_shortcode()
B
40 16 56
DARKIFY_Field_radio::render()
A
41 15 53
DARKIFY_Field_link_color::output()
A
51 17 21
DARKIFY_Field_media::render()
A
38 14 63
DARKIFY_Field_button_set::render()
A
46 16 33
DARKIFY_Nav_Menu_Options::wp_nav_menu_item_custom_fields()
A
47 16 29
DARKIFY_Field_background::output()
A
46 15 33
DARKIFY_Field_repeater::render()
A
40 12 59
DarkifyAppSero\Insights::deactivate_scripts()
A
34 6 148
DARKIFY_Field_upload::render()
A
44 13 36
DARKIFY_Metabox::add_metabox_classes()
A
47 13 35
DARKIFY_Field_sorter::render()
A
45 12 38
DARKIFY_Options::add_admin_bar_menu()
A
49 12 28
DARKIFY_Field_tabbed::render()
A
48 12 28
darkify_chosen_ajax()
A
50 12 24
DarkifyAppSero\Insights::deactivation_modal_styles()
A
48 1 186
DARKIFY_Customize_Control::render_field_content()
A
44 10 42
DARKIFY_Customize_Options::add_customize_options()
A
51 11 25
darkify_import_ajax()
A
51 11 22
DARKIFY_Field_number::output()
A
52 11 21
DARKIFY_Field_slider::output()
A
52 11 21
DARKIFY_Field_spinner::output()
A
52 11 21
DARKIFY_Customize_Control::render()
A
46 10 36
DARKIFY_Field_sortable::render()
A
47 10 35
DARKIFY_Field_dimensions::output()
A
56 11 14
DARKIFY_Setup::add_typography_enqueue_styles()
A
49 10 27
DARKIFY_Setup::include_plugin_file()
A
51 10 24
DARKIFY_Options::error_check()
A
54 10 22
DARKIFY_Field_image_select::render()
A
47 9 31
DARKIFY_Setup::includes()
A
39 6 73
DARKIFY_Field_accordion::render()
A
49 9 27
DARKIFY_Fields::field_attributes()
A
53 9 22
DARKIFY_Field_color::output()
A
54 9 18
DARKIFY_Customize_Options::save_defaults()
A
56 9 17
DARKIFY_Field_textarea::shortcoder()
A
55 9 17
DarkifyAppSero\Insights::get_all_plugins()
A
49 8 31
DARKIFY_Taxonomy_Options::get_meta_value()
A
56 9 16
DarkifyAppSero\Insights::get_tracking_data()
A
45 7 41
DarkifyUtils::isRestrictedByDisallowedAdminPages()
A
53 8 23
darkify_get_icons()
A
51 8 22
DARKIFY_Abstract::pre_tabs()
A
53 8 22
DARKIFY_Field_palette::render()
A
53 8 21
DARKIFY_Setup::set_used_fields()
A
54 8 21
DARKIFY_Metabox::__construct()
A
53 8 18
DARKIFY_Metabox::get_meta_value()
A
56 8 16
DARKIFY_Nav_Menu_Options::get_meta_value()
S
57 8 15
DARKIFY_Profile_Options::get_meta_value()
S
57 8 15
DARKIFY_Comment_Metabox::get_meta_value()
S
57 8 15
DarkifyAppSero\Insights::admin_notice()
S
46 6 37
DARKIFY_Options::add_admin_menu()
S
52 7 21
DARKIFY_Field_map::render()
S
42 5 51
DarkifyAppSero\Insights::get_server_info()
S
55 7 17
DarkifyAppSero\Insights::send_tracking_data()
S
58 7 15
DARKIFY_Widget::form()
S
55 6 18
DARKIFY_Customize_Options::pre_sections_customize()
S
57 6 17
DARKIFY_Field_color_group::render()
S
56 6 15
DARKIFY_Abstract::pre_sections()
S
59 6 15
DARKIFY_Field_switcher::render()
S
56 6 15
DarkifyUtils::is_hidden_by_user_agent()
S
61 6 14
DARKIFY_Field_fieldset::render()
S
58 6 13
DARKIFY_Field_link::render()
S
49 5 28
DARKIFY_Field_image_select::output()
S
60 6 11
DARKIFY_Options::save_defaults()
S
62 6 11
DarkifyClient::__construct()
S
52 5 23
DARKIFY_Field_link_color::render()
S
46 4 38
DARKIFY_Field_datetime::render()
S
48 4 33
darkify_export()
S
56 5 17
DARKIFY_Options::get_options()
S
59 5 15
DarkifyAppSero\Insights::__construct()
S
65 6 8
DARKIFY_Fields::field_name()
S
62 6 10
DARKIFY_Field_wp_editor::render()
S
50 4 29
DARKIFY_Options::add_page_on_load()
S
59 5 14
DARKIFY_Setup::constants()
S
57 5 14
DARKIFY_Field_code_editor::enqueue()
S
58 5 13
DarkifyAppSero\Insights::handle_optin_optout()
S
61 5 12
DARKIFY_Taxonomy_Options::__construct()
S
59 5 12
darkify_array_search()
S
61 5 12
DARKIFY_Field_gallery::render()
S
50 4 26
Darkify_Admin::__construct()
S
55 4 18
DARKIFY_Widget::__construct()
S
56 4 18
DARKIFY_Widget::update()
S
61 5 10
DARKIFY_Field_date::render()
S
49 3 30
DarkifyAppSero\Insights::get_wp_info()
S
57 4 15
DARKIFY_Fields::field_after()
S
65 5 7
DarkifyClient::darkify_switch_in_menu()
S
59 4 14
DARKIFY_Options::save_options()
S
61 4 12
DarkifyClient::darkify_is_dark_mode_allowed()
S
63 4 11
DARKIFY_Abstract::pre_fields()
S
63 4 11
DARKIFY_Field_map::enqueue()
S
62 4 11
DARKIFY_Field_slider::render()
S
53 3 21
DARKIFY_Options::__construct()
S
53 3 20
DARKIFY_Shortcoder::__construct()
S
54 3 19
DarkifyAppSero\Insights::get_uninstall_reasons()
S
46 1 47
DARKIFY_Field_callback::render()
S
69 4 6
DARKIFY_Shortcoder::add_guteberg_blocks()
S
58 3 15
darkify_reset_ajax()
S
63 4 9
DARKIFY_Widget::get_widget_value()
S
70 4 5
DARKIFY_Field_wp_editor::setup_wp_editor_settings()
S
60 3 14
DarkifyAppSero\Insights::activate_plugin()
S
61 3 12
DarkifyAppSero\Insights::get_user_counts()
S
62 3 12
DarkifyAppSero\Insights::get_site_name()
S
63 3 11
DarkifyAppSero\Insights::get_user_ip_address()
S
63 3 11
DARKIFY_Customize_Options::get_options()
S
63 3 11
DARKIFY_Field_icon::render()
S
54 2 19
DARKIFY_Field_number::render()
S
56 2 17
DarkifyUtils::isMobile()
S
62 3 10
DarkifyUtils::generateSwitchStylesForShortcode()
S
64 3 10
DARKIFY_Metabox::get_default()
S
71 3 5
DARKIFY_Nav_Menu_Options::wp_edit_nav_menu_walker()
S
64 3 10
DARKIFY_Nav_Menu_Options::get_default()
S
71 3 5
DarkifyAppSero\Insights::get_extra_data()
S
67 3 9
DARKIFY_Abstract::__construct()
S
68 3 6
DarkifyAppSero\Insights::uninstall_reason_submission()
S
63 3 10
DARKIFY_Profile_Options::get_default()
S
71 3 5
Darkify_Loader::run()
S
66 3 8
DARKIFY_Field_group::enqueue()
S
68 3 8
DARKIFY_Comment_Metabox::get_default()
S
71 3 5
DARKIFY_Field_link::enqueue()
S
66 3 9
DARKIFY_Customize_Options::__construct()
S
57 2 15
DARKIFY_Customize_Options::get_default()
S
71 3 5
DARKIFY_Field_notice::render()
S
72 3 4
Help::__construct()
S
69 3 6
DARKIFY_Shortcoder::get_default()
S
71 3 5
DARKIFY_Shortcoder::once_editor_setup()
S
67 3 8
Darkify_Admin::darkify_is_dark_mode_allowed()
S
66 3 8
DARKIFY_Options::get_default()
S
71 3 5
DARKIFY_Taxonomy_Options::get_default()
S
71 3 5
DARKIFY_Field_wp_editor::enqueue()
S
68 3 7
DARKIFY_Widget::get_default()
S
71 3 5
DARKIFY_Field_code_editor::render()
S
59 2 13
Darkify_Main::__construct()
S
61 2 13
DarkifyAppSero\Insights::send_tracking_skipped_request()
S
60 2 13
Darkify_Admin::darkify_admin_bar_switch()
S
62 2 13
DARKIFY_Field_switcher_shortcode::render()
S
62 2 12
DARKIFY_Field_wp_editor::setup_wp_editor_media_buttons()
S
61 2 12
DARKIFY_Comment_Metabox::__construct()
S
61 2 11
DARKIFY_Field_icon::add_footer_modal_icon()
S
59 1 24
DARKIFY_Field_backup::render()
S
53 1 21
add_plugin_page()
S
56 1 20
DarkifyExternalSupport::getDisallowedElementsByAdminPanel()
S
58 1 19
DarkifyAppSero\Client::send_request()
S
56 1 18
DarkifyUtils::minify_string()
S
60 1 16
darkify_customize_validate_numeric()
S
70 2 6
DARKIFY_Shortcoder::add_media_buttons()
S
70 2 5
DARKIFY_Options::ajax_save()
S
66 2 8
darkify_customize_validate_email()
S
70 2 6
darkify_validate_email()
S
72 2 5
DARKIFY_Comment_Metabox::add_comment_metabox_classes()
S
71 2 6
Darkify_Main::redirect_to()
S
70 2 6
DarkifyAppSero\Insights::init()
S
74 2 5
DARKIFY_Field_slider::enqueue()
S
74 2 5
darkify_validate_required()
S
73 2 5
darkify_validate_url()
S
72 2 5
darkify_customize_validate_url()
S
70 2 6
darkify_appsero_init()
S
67 2 7
DARKIFY_Field_date::enqueue()
S
74 2 5
darkify_validate_numeric()
S
73 2 5
DARKIFY_Field_subheading::render()
S
77 2 3
Darkify_Admin::add_plugin_action_links()
S
65 2 9
DARKIFY_Field_heading::render()
S
77 2 3
darkify_customize_validate_required()
S
70 2 6
DarkifyClient::darkify_client_header_script()
S
74 2 5
DARKIFY_Field_sortable::enqueue()
S
74 2 5
Help::instance()
S
72 2 6
DARKIFY_Field_content::render()
S
73 2 5
DARKIFY_Field_color::render()
S
67 2 6
DARKIFY_Setup::init()
S
65 2 10
DARKIFY_Metabox::add_meta_box()
S
70 2 5
Darkify_Admin::darkify_admin_header_script()
S
74 2 5
DarkifyShortcodeParser::darkify_shortcode_parser()
S
69 2 7
DarkifyAppSero\Client::insights()
S
70 2 6
DarkifyClient::darkify_client_footer_script()
S
74 2 5
DarkifyAppSero\Insights::schedule_event()
S
70 2 6
DarkifyAppSero\Insights::plugin_action_links()
S
69 2 6
DARKIFY_Field_sorter::enqueue()
S
74 2 5
Darkify_Admin::enqueue_scripts()
S
70 2 6
Darkify_Admin::darkify_admin_footer_script()
S
74 2 5
DARKIFY_Field_link::add_wp_link_dialog()
S
68 2 7
DARKIFY_Field_repeater::enqueue()
S
74 2 5
DARKIFY_Field_select::enqueue()
S
74 2 5
DarkifyAppSero\Insights::notice_dismissed()
S
68 2 7
DARKIFY_Setup::add_admin_body_class()
S
70 2 6
DARKIFY_Setup::add_custom_css()
S
72 2 5
darkify_timeout()
S
78 2 3
DARKIFY_Field_spinner::enqueue()
S
74 2 5
DarkifyAppSero\Insights::init_plugin()
S
64 2 9
DARKIFY_Field_submessage::render()
S
72 2 4
DARKIFY_Fields::field_before()
S
77 2 3
DARKIFY_Field_text::render()
S
67 2 6
DarkifyAppSero\Insights::init_common()
S
64 2 9
DARKIFY_Field_spinner::render()
S
58 1 14
DarkifyUtils::generateSwitchStyles()
S
60 1 13
Darkify_Main::load_dependencies()
S
63 1 11
DarkifyAppSero\Insights::data_we_collect()
S
65 1 11
DARKIFY_Field_map::__construct()
S
78 1 3
DarkifyAppSero\Insights::hide_notice()
S
77 1 4
DarkifyAppSero\Insights::tracking_allowed()
S
74 1 4
Darkify_Main::get_plugin_name()
S
82 1 3
DARKIFY_Comment_Metabox::instance()
S
79 1 3
DARKIFY_Field_callback::__construct()
S
78 1 3
Darkify_Main::run()
S
82 1 3
DARKIFY_Field_group::__construct()
S
78 1 3
DARKIFY_Field_icon::enqueue()
S
75 1 4
DarkifyAppSero\Insights::is_local_server()
S
71 1 5
darkify_get_default_icons()
S
53 1 8
DARKIFY_Options::add_admin_footer_text()
S
79 1 3
DARKIFY_Metabox::instance()
S
79 1 3
DARKIFY_Field_slider::__construct()
S
78 1 3
darkify_sanitize_title()
S
81 1 3
DarkifyAppSero\Insights::notice()
S
77 1 4
Darkify_Loader::add_filter()
S
77 1 3
Darkify_Main::get_version()
S
82 1 3
darkify_wp_editor_api()
S
76 1 4
DARKIFY_Field_textarea::render()
S
69 1 6
DARKIFY_Field_sortable::__construct()
S
78 1 3
DARKIFY_Field_spacing::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByDarkify()
S
69 1 8
DarkifyExternalSupport::getDisallowedElementsByOneSignal()
S
73 1 6
DARKIFY_Setup::createShortcoder()
S
78 1 3
DarkifyAppSero\Client::darkify_trans()
S
79 1 3
DARKIFY_Field_select::__construct()
S
78 1 3
DarkifyAppSero\Insights::get_post_count()
S
74 1 4
darkify_run()
S
77 1 4
DarkifyExternalSupport::getDisallowedElementsByBeaver()
S
73 1 6
DARKIFY_Field_datetime::__construct()
S
78 1 3
DarkifyAppSero\Insights::deactivation_cleanup()
S
76 1 4
Darkify_i18n::load_plugin_textdomain()
S
73 1 4
DARKIFY_Field_button_set::__construct()
S
78 1 3
DARKIFY_Comment_Metabox::add_comment_meta_box()
S
77 1 3
DarkifyExternalSupport::getDisallowedElementsByReadMeter()
S
73 1 6
DARKIFY_Widget::instance()
S
79 1 3
DARKIFY_Setup::is_active_plugin()
S
78 1 3
DARKIFY_Field_color::__construct()
S
78 1 3
DARKIFY_Customize_Options::add_customize_save_after()
S
71 1 5
DARKIFY_Setup::__construct()
S
63 1 10
DARKIFY_Field_radio::__construct()
S
78 1 3
DARKIFY_Field_color_group::__construct()
S
78 1 3
DarkifyExternalSupport::__construct()
S
81 1 3
DARKIFY_Setup::createSection()
S
75 1 4
DARKIFY_Setup::createProfileOptions()
S
78 1 3
DARKIFY_Field_sorter::__construct()
S
78 1 3
DARKIFY_Field_backup::__construct()
S
78 1 3
darkify_activate()
S
77 1 4
DARKIFY_Field_submessage::__construct()
S
78 1 3
DARKIFY_Taxonomy_Options::add_taxonomy_options()
S
69 1 6
darkify_get_default_icons()
S
50 1 8
DarkifyAppSero\Client::_etrans()
S
79 1 3
DarkifyAppSero\Insights::get_last_send()
S
78 1 3
DarkifyAppSero\Client::__construct()
S
71 1 6
DARKIFY_Field_textarea::__construct()
S
78 1 3
DARKIFY_Field_ta_help::__construct()
S
78 1 3
DarkifyShortcodeParser::__construct()
S
75 1 4
DARKIFY_Setup::createCommentMetabox()
S
78 1 3
DARKIFY_Fields::__construct()
S
69 1 7
DarkifyExternalSupport::getDisallowedElementsByRevSlider()
S
73 1 6
DARKIFY_Field_media::__construct()
S
78 1 3
DARKIFY_Field_code_editor::__construct()
S
78 1 3
DarkifyAppSero\Insights::add_extra()
S
77 1 4
DARKIFY_Field_text::__construct()
S
78 1 3
DARKIFY_Setup::include_plugin_url()
S
77 1 3
DarkifyUtils::__construct()
S
81 1 3
DARKIFY_Field_icon::__construct()
S
78 1 3
DARKIFY_Field_border::__construct()
S
78 1 3
DARKIFY_Field_switcher::__construct()
S
78 1 3
Darkify_Public::load_dependencies()
S
75 1 4
Darkify_Main::define_admin_hooks()
S
72 1 5
DARKIFY_Profile_Options::add_profile_options()
S
70 1 6
DARKIFY_Abstract::collect_output_css_and_typography()
S
81 1 3
DarkifyAppSero\Insights::optin()
S
68 1 7
DARKIFY_Nav_Menu_Options::__construct()
S
63 1 9
Darkify_Loader::add()
S
64 1 10
Darkify_Main::set_locale()
S
75 1 4
DARKIFY_Options::instance()
S
79 1 3
DarkifyAppSero\Insights::optout()
S
70 1 6
DARKIFY_Field_fieldset::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByAdminLogin()
S
73 1 6
Darkify_Loader::__construct()
S
77 1 4
DARKIFY_Field_link::__construct()
S
78 1 3
DARKIFY_Field_spinner::__construct()
S
78 1 3
DARKIFY_Field_date::__construct()
S
78 1 3
DARKIFY_Setup::createNavMenuOptions()
S
78 1 3
DARKIFY_Field_content::__construct()
S
78 1 3
Darkify_Main::define_public_hooks()
S
79 1 3
DARKIFY_Profile_Options::instance()
S
79 1 3
DARKIFY_Setup::createWidget()
S
75 1 4
darkify_settings()
S
100 1 1
darkify_sanitize_replace_a_to_b()
S
79 1 3
DARKIFY_Walker_Nav_Menu_Edit::start_el()
S
65 1 8
DARKIFY_Widget::widget()
S
79 1 3
DARKIFY_Field_wp_editor::__construct()
S
78 1 3
DARKIFY_Field_tabbed::__construct()
S
78 1 3
DARKIFY_Setup::createCustomizeOptions()
S
78 1 3
Help::is_plugin_installed()
S
78 1 3
DARKIFY_Field_repeater::__construct()
S
78 1 3
Darkify_Main::get_loader()
S
82 1 3
Darkify_Public::__construct()
S
74 1 5
DARKIFY_Profile_Options::__construct()
S
66 1 7
DARKIFY_Shortcoder::instance()
S
79 1 3
DarkifyExternalSupport::getDisallowedElementsByBlockEditor()
S
73 1 6
DARKIFY_Field_notice::__construct()
S
78 1 3
DARKIFY_Field_switcher_shortcode::__construct()
S
78 1 3
Darkify_Activator::activate()
S
89 1 2
DARKIFY_Field_subheading::__construct()
S
78 1 3
DARKIFY_Taxonomy_Options::instance()
S
79 1 3
DARKIFY_Setup::createMetabox()
S
78 1 3
DARKIFY_Field_ta_help::render()
S
68 1 7
DARKIFY_Setup::createTaxonomyOptions()
S
78 1 3
DARKIFY_Field_heading::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByElementor()
S
66 1 10
DARKIFY_Field_upload::__construct()
S
78 1 3
DarkifyAppSero\Client::endpoint()
S
75 1 4
Darkify_Admin::enqueue_styles()
S
78 1 3
DARKIFY_Field_number::__construct()
S
78 1 3
DARKIFY_Field_accordion::__construct()
S
78 1 3
Darkify_Deactivator::deactivate()
S
89 1 2
DARKIFY_Nav_Menu_Options::instance()
S
79 1 3
DARKIFY_Setup::createOptions()
S
78 1 3
DarkifyAppSero\Client::set_basename_and_slug()
S
66 1 8
darkify_deactivate()
S
77 1 4
Darkify_Loader::add_action()
S
77 1 3
DARKIFY_Field_checkbox::__construct()
S
78 1 3
DarkifyAppSero\Insights::clear_schedule_event()
S
80 1 3
DarkifyAppSero\Client::is_local_server()
S
78 1 3
DARKIFY_Field_link_color::__construct()
S
78 1 3
Help::install_plugin_link()
S
78 1 3
DARKIFY_Field_image_select::__construct()
S
78 1 3
DarkifyAppSero\Insights::add_weekly_schedule()
S
68 1 7
Help::is_plugin_active()
S
79 1 3
DARKIFY_Setup::sanitize_dirname()
S
78 1 3
DARKIFY_Customize_Options::instance()
S
79 1 3
DARKIFY_Field_palette::__construct()
S
78 1 3
DARKIFY_Field_gallery::__construct()
S
78 1 3
Help::activate_plugin_link()
S
77 1 3
DARKIFY_Field_dimensions::__construct()
S
78 1 3
DARKIFY_Field_background::__construct()
S
78 1 3