Code Analysis: Darkify 1.2.2

Function Rating Maintainability Complexity Lines of code
DRK_LITE_Fields::field_data()
D
24
57 148
DRK_LITE_Setup::setup()
D
27
52 117
DRK_LITE_Options::add_options_html()
D
26
48 116
DRK_LITE_Setup::add_admin_enqueue_scripts()
D
30 40 96
DRK_LITE_Fields::field_wp_query_data_title()
D
35 41 71
DRK_LITE_Abstract::recursive_output_css()
D
36 41 61
DRK_LITE_Field_select::render()
D
33 38 79
DRK_LITE_Options::set_options()
D
34 36 78
DRK_LITE_Metabox::add_meta_box_content()
D
32 36 77
TADiscountPage::menu_page_content()
D
37 1 579
DRK_LITE_Field_background::render()
D
22
22 252
DRK_LITE_Field_border::output()
D
44 35 31
DRK_LITE_Comment_Metabox::add_comment_meta_box_content()
C
35 30 69
DRK_LITE_Field_group::render()
C
32 28 93
DRK_LITE_Taxonomy_Options::save_taxonomy()
C
36 27 70
DRK_LITE_Metabox::save_meta_box()
C
36 27 69
DRK_LITE_Comment_Metabox::save_comment_meta_box()
C
36 27 69
DarkifyShortcodeParser::darkify_client_view_maker()
C
28
16 230
DRK_LITE_Nav_Menu_Options::wp_update_nav_menu_item()
C
37 26 69
DRK_LITE_Profile_Options::save_profile()
C
37 26 69
DRK_LITE_Shortcoder::get_shortcode()
C
40 26 47
DRK_LITE_Setup::field()
C
37 24 65
DRK_LITE_Field_spacing::output()
B
42 25 41
DRK_LITE_Customize_Options::add_section()
B
39 24 53
DRK_LITE_Field_spacing::render()
B
36 20 74
DRK_LITE_Taxonomy_Options::render_taxonomy_form_fields()
B
44 22 34
DRK_LITE_Field_border::render()
B
33 18 93
Darkify_Admin::darkify_admin_enqueue()
B
39 20 54
DarkifyClient::darkify_client_enqueue()
B
36 18 65
DRK_LITE_Profile_Options::render_profile_form_fields()
B
46 19 30
DRK_LITE_Field_dimensions::render()
B
40 17 54
DRK_LITE_Field_checkbox::render()
B
39 16 60
DRK_LITE_Shortcoder::add_footer_modal_shortcode()
B
40 16 56
DRK_LITE_Field_radio::render()
A
41 15 53
DRK_LITE_Field_link_color::output()
A
51 17 21
DRK_LITE_Field_button_set::render()
A
46 16 33
DRK_LITE_Field_media::render()
A
38 14 63
DRK_LITE_Nav_Menu_Options::wp_nav_menu_item_custom_fields()
A
47 16 29
DRK_LITE_Field_background::output()
A
46 15 33
DRK_LITE_Field_repeater::render()
A
40 12 59
DarkifyAppSero\Insights::deactivate_scripts()
A
34 6 148
DRK_LITE_Field_upload::render()
A
44 13 36
DRK_LITE_Metabox::add_metabox_classes()
A
47 13 35
DRK_LITE_Field_sorter::render()
A
45 12 38
DRK_LITE_Field_tabbed::render()
A
48 12 28
DRK_LITE_Options::add_admin_bar_menu()
A
49 12 28
drk_lite_chosen_ajax()
A
50 12 24
DarkifyAppSero\Insights::deactivation_modal_styles()
A
48 1 186
DRK_LITE_Customize_Control::render_field_content()
A
44 10 42
DRK_LITE_Customize_Options::add_customize_options()
A
51 11 25
drk_lite_import_ajax()
A
51 11 22
DRK_LITE_Field_number::output()
A
52 11 21
DRK_LITE_Field_slider::output()
A
52 11 21
DRK_LITE_Field_spinner::output()
A
52 11 21
DRK_LITE_Customize_Control::render()
A
46 10 36
DRK_LITE_Field_sortable::render()
A
47 10 35
DRK_LITE_Field_dimensions::output()
A
56 11 14
DRK_LITE_Setup::add_typography_enqueue_styles()
A
49 10 27
DRK_LITE_Setup::include_plugin_file()
A
51 10 24
DRK_LITE_Options::error_check()
A
54 10 22
DRK_LITE_Field_image_select::render()
A
47 9 31
DRK_LITE_Field_accordion::render()
A
49 9 27
DRK_LITE_Setup::includes()
A
39 6 72
DRK_LITE_Fields::field_attributes()
A
53 9 22
DRK_LITE_Field_color::output()
A
54 9 18
DRK_LITE_Customize_Options::save_defaults()
A
56 9 17
DRK_LITE_Field_textarea::shortcoder()
A
55 9 17
DarkifyAppSero\Insights::get_all_plugins()
A
49 8 31
DRK_LITE_Taxonomy_Options::get_meta_value()
A
56 9 16
DarkifyAppSero\Insights::get_tracking_data()
A
45 7 41
DarkifyUtils::isRestrictedByDisallowedAdminPages()
A
53 8 23
drk_lite_get_icons()
A
51 8 22
DRK_LITE_Abstract::pre_tabs()
A
53 8 22
DRK_LITE_Field_palette::render()
A
53 8 21
DRK_LITE_Setup::set_used_fields()
A
54 8 21
DRK_LITE_Metabox::__construct()
A
53 8 18
DRK_LITE_Metabox::get_meta_value()
A
56 8 16
DRK_LITE_Nav_Menu_Options::get_meta_value()
S
57 8 15
DRK_LITE_Profile_Options::get_meta_value()
S
57 8 15
DRK_LITE_Comment_Metabox::get_meta_value()
S
57 8 15
DarkifyAppSero\Insights::admin_notice()
S
46 6 37
DRK_LITE_Field_map::render()
S
42 5 51
DRK_LITE_Options::add_admin_menu()
S
52 7 21
DarkifyAppSero\Insights::get_server_info()
S
55 7 17
DarkifyAppSero\Insights::send_tracking_data()
S
58 7 15
DRK_LITE_Widget::form()
S
55 6 18
DRK_LITE_Customize_Options::pre_sections_customize()
S
57 6 17
DRK_LITE_Field_color_group::render()
S
56 6 15
DRK_LITE_Abstract::pre_sections()
S
59 6 15
DRK_LITE_Field_switcher::render()
S
56 6 15
DarkifyUtils::is_hidden_by_user_agent()
S
61 6 14
DRK_LITE_Field_fieldset::render()
S
58 6 13
DRK_LITE_Field_link::render()
S
49 5 28
DRK_LITE_Field_image_select::output()
S
60 6 11
DRK_LITE_Options::save_defaults()
S
62 6 11
DarkifyClient::__construct()
S
52 5 23
TADiscountPage::create_menu_page()
S
54 5 23
DRK_LITE_Field_link_color::render()
S
46 4 38
DRK_LITE_Field_datetime::render()
S
48 4 33
drk_lite_export()
S
56 5 17
DarkifyAppSero\Insights::__construct()
S
65 6 8
DRK_LITE_Fields::field_name()
S
62 6 10
DRK_LITE_Options::get_options()
S
59 5 15
DRK_LITE_Field_wp_editor::render()
S
50 4 29
DRK_LITE_Options::add_page_on_load()
S
59 5 14
DRK_LITE_Setup::constants()
S
57 5 14
DRK_LITE_Field_code_editor::enqueue()
S
58 5 13
DarkifyAppSero\Insights::handle_optin_optout()
S
61 5 12
DRK_LITE_Taxonomy_Options::__construct()
S
59 5 12
drk_lite_array_search()
S
61 5 12
DRK_LITE_Field_gallery::render()
S
50 4 26
Darkify_Admin::__construct()
S
55 4 18
DRK_LITE_Widget::__construct()
S
56 4 18
DRK_LITE_Widget::update()
S
61 5 10
DarkifyAppSero\Insights::get_wp_info()
S
57 4 15
DRK_LITE_Field_date::render()
S
49 3 30
DRK_LITE_Fields::field_after()
S
65 5 7
DarkifyClient::darkify_switch_in_menu()
S
59 4 14
DRK_LITE_Options::save_options()
S
61 4 12
DarkifyClient::darkify_is_dark_mode_allowed()
S
63 4 11
DRK_LITE_Abstract::pre_fields()
S
63 4 11
DRK_LITE_Field_map::enqueue()
S
62 4 11
TADiscountPage::discount_admin_notice()
S
54 3 23
DRK_LITE_Field_slider::render()
S
53 3 21
DRK_LITE_Options::__construct()
S
53 3 20
DRK_LITE_Shortcoder::__construct()
S
54 3 19
DarkifyAppSero\Insights::get_uninstall_reasons()
S
46 1 47
DRK_LITE_Field_callback::render()
S
69 4 6
DRK_LITE_Shortcoder::add_guteberg_blocks()
S
58 3 15
DRK_LITE_Widget::get_widget_value()
S
70 4 5
drk_lite_reset_ajax()
S
63 4 9
DRK_LITE_Field_wp_editor::setup_wp_editor_settings()
S
60 3 14
DarkifyAppSero\Insights::get_user_counts()
S
62 3 12
DarkifyAppSero\Insights::activate_plugin()
S
61 3 12
DarkifyAppSero\Insights::get_site_name()
S
63 3 11
DRK_LITE_Customize_Options::get_options()
S
63 3 11
DarkifyAppSero\Insights::get_user_ip_address()
S
63 3 11
DRK_LITE_Field_icon::render()
S
54 2 19
DRK_LITE_Field_number::render()
S
56 2 17
DRK_LITE_Metabox::get_default()
S
71 3 5
DarkifyUtils::isMobile()
S
62 3 10
DarkifyUtils::generateSwitchStylesForShortcode()
S
64 3 10
DRK_LITE_Nav_Menu_Options::wp_edit_nav_menu_walker()
S
64 3 10
DRK_LITE_Nav_Menu_Options::get_default()
S
71 3 5
DarkifyAppSero\Insights::get_extra_data()
S
67 3 9
DRK_LITE_Abstract::__construct()
S
68 3 6
Darkify_Loader::run()
S
66 3 8
DRK_LITE_Comment_Metabox::get_default()
S
71 3 5
DRK_LITE_Field_group::enqueue()
S
68 3 8
DRK_LITE_Customize_Options::__construct()
S
57 2 15
DRK_LITE_Field_link::enqueue()
S
66 3 9
DRK_LITE_Customize_Options::get_default()
S
71 3 5
DRK_LITE_Field_notice::render()
S
72 3 4
Darkify_Admin::darkify_is_dark_mode_allowed()
S
66 3 8
DarkifyAppSero\Insights::uninstall_reason_submission()
S
63 3 10
DRK_LITE_Options::get_default()
S
71 3 5
DRK_LITE_Shortcoder::get_default()
S
71 3 5
DRK_LITE_Profile_Options::get_default()
S
71 3 5
DRK_LITE_Shortcoder::once_editor_setup()
S
67 3 8
TADiscountPage::discount_admin_notice_dismissed()
S
69 3 6
DRK_LITE_Taxonomy_Options::get_default()
S
71 3 5
DRK_LITE_Field_wp_editor::enqueue()
S
68 3 7
DRK_LITE_Widget::get_default()
S
71 3 5
DRK_LITE_Field_code_editor::render()
S
59 2 13
DarkifyAppSero\Insights::send_tracking_skipped_request()
S
60 2 13
Darkify_Admin::darkify_admin_bar_switch()
S
62 2 13
Darkify::__construct()
S
62 2 12
DRK_LITE_Field_switcher_shortcode::render()
S
62 2 12
DRK_LITE_Field_wp_editor::setup_wp_editor_media_buttons()
S
61 2 12
DRK_LITE_Comment_Metabox::__construct()
S
61 2 11
DRK_LITE_Field_icon::add_footer_modal_icon()
S
59 1 24
DRK_LITE_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
DRK_LITE_Field_heading::render()
S
77 2 3
drk_lite_customize_validate_required()
S
70 2 6
drk_lite_customize_validate_numeric()
S
70 2 6
Darkify_Admin::darkify_admin_header_script()
S
74 2 5
drk_lite_timeout()
S
78 2 3
drk_lite_validate_numeric()
S
73 2 5
DarkifyClient::darkify_client_footer_script()
S
74 2 5
DarkifyShortcodeParser::darkify_shortcode_parser()
S
69 2 7
DRK_LITE_Setup::init()
S
65 2 10
DRK_LITE_Shortcoder::add_media_buttons()
S
70 2 5
drk_lite_validate_required()
S
73 2 5
drk_lite_validate_url()
S
72 2 5
drk_lite_customize_validate_url()
S
70 2 6
darkify_appsero_init()
S
67 2 7
Darkify_Admin::darkify_admin_footer_script()
S
74 2 5
DRK_LITE_Field_sorter::enqueue()
S
74 2 5
DRK_LITE_Field_select::enqueue()
S
74 2 5
DRK_LITE_Field_date::enqueue()
S
74 2 5
DarkifyAppSero\Insights::init_common()
S
64 2 9
DarkifyAppSero\Insights::init_plugin()
S
64 2 9
Darkify_Admin::enqueue_scripts()
S
70 2 6
drk_lite_customize_validate_email()
S
70 2 6
DRK_LITE_Field_submessage::render()
S
72 2 4
DRK_LITE_Field_slider::enqueue()
S
74 2 5
TADiscountPage::admin_scripts()
S
64 2 9
DarkifyAppSero\Insights::init()
S
74 2 5
DRK_LITE_Setup::add_custom_css()
S
72 2 5
DarkifyClient::darkify_client_header_script()
S
74 2 5
DarkifyAppSero\Client::insights()
S
70 2 6
DarkifyAppSero\Insights::schedule_event()
S
70 2 6
DRK_LITE_Field_color::render()
S
67 2 6
DRK_LITE_Field_content::render()
S
73 2 5
DarkifyAppSero\Insights::plugin_action_links()
S
69 2 6
Darkify_Admin::add_plugin_action_links()
S
65 2 9
drk_lite_validate_email()
S
72 2 5
DRK_LITE_Field_link::add_wp_link_dialog()
S
68 2 7
DRK_LITE_Options::ajax_save()
S
66 2 8
DRK_LITE_Field_repeater::enqueue()
S
74 2 5
DRK_LITE_Setup::add_admin_body_class()
S
70 2 6
DRK_LITE_Comment_Metabox::add_comment_metabox_classes()
S
71 2 6
DRK_LITE_Field_sortable::enqueue()
S
74 2 5
DRK_LITE_Field_spinner::enqueue()
S
74 2 5
DRK_LITE_Fields::field_before()
S
77 2 3
DRK_LITE_Field_subheading::render()
S
77 2 3
DRK_LITE_Field_text::render()
S
67 2 6
DarkifyAppSero\Insights::notice_dismissed()
S
68 2 7
DRK_LITE_Metabox::add_meta_box()
S
70 2 5
DRK_LITE_Field_spinner::render()
S
58 1 14
DarkifyUtils::generateSwitchStyles()
S
60 1 13
Darkify::load_dependencies()
S
61 1 13
DarkifyAppSero\Insights::data_we_collect()
S
65 1 11
DRK_LITE_Field_button_set::__construct()
S
78 1 3
Darkify_Deactivator::deactivate()
S
89 1 2
DarkifyAppSero\Insights::add_weekly_schedule()
S
68 1 7
DarkifyAppSero\Insights::get_post_count()
S
74 1 4
DRK_LITE_Setup::createMetabox()
S
78 1 3
darkify_deactivate()
S
77 1 4
DRK_LITE_Setup::createNavMenuOptions()
S
78 1 3
DRK_LITE_Field_group::__construct()
S
78 1 3
DarkifyAppSero\Client::endpoint()
S
75 1 4
DRK_LITE_Field_dimensions::__construct()
S
78 1 3
DRK_LITE_Setup::createOptions()
S
78 1 3
Darkify_Public::__construct()
S
74 1 5
DRK_LITE_Field_notice::__construct()
S
78 1 3
DRK_LITE_Field_border::__construct()
S
78 1 3
DRK_LITE_Field_tabbed::__construct()
S
78 1 3
DarkifyAppSero\Insights::optin()
S
68 1 7
DRK_LITE_Setup::__construct()
S
63 1 10
Darkify_Admin::enqueue_styles()
S
78 1 3
DRK_LITE_Field_subheading::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByReadMeter()
S
73 1 6
Darkify_Loader::add()
S
64 1 10
DRK_LITE_Fields::__construct()
S
69 1 7
DRK_LITE_Field_gallery::__construct()
S
78 1 3
DRK_LITE_Customize_Options::instance()
S
79 1 3
DRK_LITE_Field_textarea::render()
S
69 1 6
DRK_LITE_Field_callback::__construct()
S
78 1 3
Darkify::get_version()
S
82 1 3
DRK_LITE_Field_radio::__construct()
S
78 1 3
DRK_LITE_Customize_Options::add_customize_save_after()
S
71 1 5
darkify_run()
S
77 1 4
DRK_LITE_Setup::createCommentMetabox()
S
78 1 3
DRK_LITE_Nav_Menu_Options::instance()
S
79 1 3
DRK_LITE_Options::instance()
S
79 1 3
DRK_LITE_Field_text::__construct()
S
78 1 3
DRK_LITE_Field_link_color::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByDarkify()
S
69 1 8
DRK_LITE_Field_datetime::__construct()
S
78 1 3
DRK_LITE_Field_code_editor::__construct()
S
78 1 3
DRK_LITE_Field_submessage::__construct()
S
78 1 3
DarkifyAppSero\Insights::hide_notice()
S
77 1 4
DRK_LITE_Field_icon::enqueue()
S
75 1 4
DRK_LITE_Field_link::__construct()
S
78 1 3
DRK_LITE_Field_textarea::__construct()
S
78 1 3
DRK_LITE_Setup::sanitize_dirname()
S
78 1 3
drk_lite_get_default_icons()
S
53 1 8
DRK_LITE_Setup::createShortcoder()
S
78 1 3
DRK_LITE_Abstract::collect_output_css_and_typography()
S
81 1 3
Darkify::get_loader()
S
82 1 3
DarkifyAppSero\Insights::deactivation_cleanup()
S
76 1 4
DRK_LITE_Field_switcher_shortcode::__construct()
S
78 1 3
DRK_LITE_Nav_Menu_Options::__construct()
S
63 1 9
Darkify_Loader::__construct()
S
77 1 4
DarkifyAppSero\Insights::notice()
S
77 1 4
DarkifyAppSero\Insights::get_last_send()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByElementor()
S
66 1 10
drk_lite_get_default_icons()
S
50 1 8
DRK_LITE_Field_slider::__construct()
S
78 1 3
DarkifyAppSero\Insights::optout()
S
70 1 6
DRK_LITE_Field_number::__construct()
S
78 1 3
DRK_LITE_Field_wp_editor::__construct()
S
78 1 3
DRK_LITE_Profile_Options::instance()
S
79 1 3
Darkify_Loader::add_action()
S
77 1 3
DarkifyExternalSupport::__construct()
S
81 1 3
DRK_LITE_Field_background::__construct()
S
78 1 3
DarkifyAppSero\Client::_etrans()
S
79 1 3
DRK_LITE_Field_spacing::__construct()
S
78 1 3
DRK_LITE_Field_palette::__construct()
S
78 1 3
DRK_LITE_Setup::include_plugin_url()
S
77 1 3
DRK_LITE_Setup::createTaxonomyOptions()
S
78 1 3
Darkify::run()
S
82 1 3
Darkify::get_plugin_name()
S
82 1 3
DRK_LITE_Setup::createSection()
S
75 1 4
DRK_LITE_Field_repeater::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByOneSignal()
S
73 1 6
Darkify_i18n::load_plugin_textdomain()
S
69 1 7
DRK_LITE_Profile_Options::add_profile_options()
S
70 1 6
DarkifyShortcodeParser::__construct()
S
75 1 4
DRK_LITE_Taxonomy_Options::add_taxonomy_options()
S
69 1 6
Darkify_Public::load_dependencies()
S
75 1 4
DRK_LITE_Field_map::__construct()
S
78 1 3
DRK_LITE_Setup::is_active_plugin()
S
78 1 3
DRK_LITE_Field_icon::__construct()
S
78 1 3
DRK_LITE_Field_switcher::__construct()
S
78 1 3
DRK_LITE_Field_image_select::__construct()
S
78 1 3
DRK_LITE_Field_checkbox::__construct()
S
78 1 3
DarkifyAppSero\Client::is_local_server()
S
78 1 3
drk_lite_sanitize_replace_a_to_b()
S
79 1 3
Darkify_Loader::add_filter()
S
77 1 3
Darkify_Activator::activate()
S
89 1 2
DRK_LITE_Field_select::__construct()
S
78 1 3
DRK_LITE_Widget::instance()
S
79 1 3
drk_lite_sanitize_title()
S
81 1 3
DarkifyExternalSupport::getDisallowedElementsByAdminLogin()
S
73 1 6
Darkify::set_locale()
S
75 1 4
DarkifyExternalSupport::getDisallowedElementsByBeaver()
S
73 1 6
DarkifyAppSero\Insights::tracking_allowed()
S
74 1 4
DRK_LITE_Options::add_admin_footer_text()
S
79 1 3
darkify_settings()
S
100 1 1
DarkifyAppSero\Client::darkify_trans()
S
79 1 3
DRK_LITE_Field_color::__construct()
S
78 1 3
DarkifyAppSero\Insights::add_extra()
S
77 1 4
DRK_LITE_Shortcoder::instance()
S
79 1 3
DRK_LITE_Setup::createCustomizeOptions()
S
78 1 3
DRK_LITE_Field_backup::__construct()
S
78 1 3
DRK_LITE_Setup::createProfileOptions()
S
78 1 3
DRK_LITE_Metabox::instance()
S
79 1 3
DRK_LITE_Field_spinner::__construct()
S
78 1 3
DRK_LITE_Field_sorter::__construct()
S
78 1 3
DRK_LITE_Field_heading::__construct()
S
78 1 3
DRK_LITE_Field_color_group::__construct()
S
78 1 3
DarkifyExternalSupport::getDisallowedElementsByRevSlider()
S
73 1 6
TADiscountPage::__construct()
S
70 1 6
DRK_LITE_Comment_Metabox::add_comment_meta_box()
S
77 1 3
DRK_LITE_Taxonomy_Options::instance()
S
79 1 3
DarkifyAppSero\Insights::clear_schedule_event()
S
80 1 3
DarkifyAppSero\Client::set_basename_and_slug()
S
64 1 9
DarkifyAppSero\Insights::is_local_server()
S
71 1 5
DarkifyExternalSupport::getDisallowedElementsByBlockEditor()
S
73 1 6
darkify_activate()
S
77 1 4
DRK_LITE_Field_accordion::__construct()
S
78 1 3
DRK_LITE_Profile_Options::__construct()
S
66 1 7
DRK_LITE_Field_media::__construct()
S
78 1 3
Darkify::define_admin_hooks()
S
72 1 5
DarkifyUtils::__construct()
S
81 1 3
DRK_LITE_Comment_Metabox::instance()
S
79 1 3
DRK_LITE_Setup::createWidget()
S
75 1 4
DRK_LITE_Widget::widget()
S
79 1 3
DRK_LITE_Field_upload::__construct()
S
78 1 3
DarkifyAppSero\Client::__construct()
S
71 1 6
drk_lite_wp_editor_api()
S
76 1 4
DRK_LITE_Field_content::__construct()
S
78 1 3
DRK_LITE_Field_sortable::__construct()
S
78 1 3
DRK_LITE_Field_date::__construct()
S
78 1 3
DRK_LITE_Field_fieldset::__construct()
S
78 1 3
DRK_LITE_Walker_Nav_Menu_Edit::start_el()
S
65 1 8
Darkify::define_public_hooks()
S
79 1 3