Code Analysis: Nifty Coming Soon & Maintenance page 2.0.0

Function Rating Maintainability Complexity Lines of code
nifty_cs_get_google_webfonts()
D
5
1 5,950
ot_insert_css_with_markers()
D
12
96 252
ot_validate_setting()
D
12
93 260
ot_export_php_settings_array()
D
17
60 229
nifty_cs_custom_theme_options()
D
8
13 909
OT_Settings::sanitize_callback()
D
29
47 111
ot_split_shared_term()
D
29
45 125
OT_Settings::sanitize_callback()
D
31 43 94
ot_register_settings_page()
D
21
29 258
ot_list_item_view()
D
29 39 101
OT_Meta_Box::save_meta_box()
D
32 38 89
OT_Meta_Box::save_meta_box()
D
33 38 84
ot_type_typography()
D
29 33 113
ot_social_links_view()
D
34 35 71
compat_ot_import_from_files()
D
35 34 77
ot_type_background()
D
31 32 94
ot_import()
C
32 29 106
OT_Meta_Box::build_meta_box()
C
36 31 60
OT_Meta_Box::build_meta_box()
C
36 31 58
ot_modify_layouts()
C
34 28 84
ot_settings_view()
C
26
21 166
ot_alert_message()
C
39 27 54
ot_default_settings()
C
32 23 109
ot_validate_settings()
C
43 26 47
OT_Settings::display_page()
B
34 22 78
OT_Cleanup::options_page()
B
32 20 98
OT_Settings::display_page()
B
35 21 77
OT_Cleanup::options_page()
B
33 20 88
OT_Settings::display_setting()
B
45 23 33
OT_Settings::display_setting()
B
45 23 33
nifty_cs_redirect()
B
43 21 42
ot_type_google_fonts()
B
35 18 82
nifty_cs_redirect_x()
B
44 19 42
ot_wpml_filter()
B
46 17 36
ot_type_box_shadow()
B
41 16 50
_ot_settings_potential_shared_terms()
A
43 15 50
ot_type_spacing()
A
42 15 46
ot_type_social_links()
A
33 10 117
ot_load_google_fonts_css()
A
45 15 40
ot_type_border()
A
41 14 50
ot_wpml_unregister()
A
47 15 33
ot_type_option_types()
A
25
1 238
ot_fetch_google_fonts()
A
40 13 57
ot_validate_settings_array()
A
42 13 53
ot_load_dynamic_css()
A
47 14 33
OT_Settings::do_settings_fields()
A
46 14 32
OT_Settings::do_settings_fields()
A
47 14 31
_ot_meta_box_potential_shared_terms()
A
45 13 43
ot_type_theme_options_ui()
A
38 11 65
ot_filter_std_value()
A
53 13 21
ot_type_list_item()
A
46 12 33
get_option_tree()
A
51 12 27
ot_type_theme_mode()
A
32 1 191
ot_remove_old_css()
A
45 11 38
ot_type_dimension()
A
45 11 36
ot_type_gallery()
A
45 10 38
ot_type_custom_post_type_checkbox()
A
46 10 34
ot_type_upload()
A
48 10 30
ot_type_custom_post_type_select()
A
46 9 34
ot_type_page_checkbox()
A
46 9 33
ot_type_post_checkbox()
A
46 9 33
ot_slider_settings()
A
46 8 43
ot_google_font_stack()
A
53 9 20
ot_type_page_select()
A
47 8 33
ot_type_post_select()
A
47 8 33
ot_type_link_color()
A
47 8 31
ot_type_taxonomy_checkbox()
A
48 8 30
OT_Loader::admin_includes()
A
49 8 30
ot_theme_options_layouts_form()
A
48 8 28
OT_Settings::help()
A
52 8 24
OT_Settings::help()
A
52 8 24
ot_type_slider()
A
50 8 24
OT_Settings::do_settings_sections()
A
52 8 23
OT_Settings::do_settings_sections()
A
53 8 21
OT_Cleanup::maybe_cleanup()
A
53 8 18
OT_Loader::shortcode()
A
55 8 18
ot_type_modify_layouts()
A
47 7 33
OT_Cleanup::maybe_cleanup()
A
54 8 17
ot_type_checkbox()
A
54 8 17
ot_type_taxonomy_select()
S
48 7 30
ot_register_theme_options_page()
S
45 6 41
ot_type_sidebar_select()
S
49 7 26
OT_Settings::add_settings()
S
53 7 22
ot_type_radio_image()
S
50 7 22
ot_type_tag_checkbox()
S
52 7 20
OT_Settings::add_page()
S
48 6 35
OT_Settings::add_page()
S
48 6 35
ot_normalize_google_fonts()
S
55 7 20
ot_type_category_checkbox()
S
52 7 20
ot_type_measurement()
S
53 7 18
ot_type_numeric_slider()
S
53 7 18
ot_type_select()
S
54 7 17
OT_Settings::initialize_settings()
S
56 7 17
OT_Settings::initialize_settings()
S
56 7 17
ot_choices_view()
S
46 5 46
ot_save_css()
S
58 7 14
ot_type_on_off()
S
48 6 28
ot_contextual_help_view()
S
45 5 43
OT_Settings::reset_options()
S
60 7 12
OT_Settings::reset_options()
S
60 7 12
OT_Loader::add_social_links()
S
60 7 11
OT_Loader::add_list_item()
S
60 7 11
OT_Loader::hooks()
S
45 5 40
ot_type_weforms()
S
51 6 24
ot_convert_string_to_array()
S
53 6 23
OT_Loader::constants()
S
50 5 36
ot_meta_box_post_format_quote()
S
44 4 50
ot_type_category_select()
S
52 6 20
ot_type_tag_select()
S
52 6 20
OT_Post_Formats::pre_ping_post_links()
S
65 7 8
OT_Post_Formats::pre_ping_post_links()
S
62 7 10
ot_get_media_post_ID()
S
58 6 14
ot_get_option_type_by_id()
S
59 6 14
ot_admin_styles()
S
50 5 28
ot_admin_scripts()
S
44 4 42
_filter_wp_kses_post()
S
50 5 26
ot_save_settings()
S
52 5 25
admin_action_dismiss_notice()
S
54 5 22
ot_meta_box_post_format_link()
S
48 4 36
OT_Settings::add_settings()
S
54 5 21
ot_sections_view()
S
48 4 34
nifty_subscribe()
S
55 5 18
ot_meta_box_post_format_video()
S
49 4 30
ot_is_weforms_active()
S
58 5 15
ot_type_examples()
S
43 1 75
ot_maybe_migrate_settings()
S
63 6 9
ot_meta_box_post_format_gallery()
S
50 4 30
ot_meta_box_post_format_audio()
S
49 4 30
ot_type_textarea_simple()
S
57 5 14
ot_type_colorpicker()
S
58 5 13
ot_type_date_picker()
S
57 5 13
ot_type_date_time_picker()
S
57 5 13
ot_type_radio()
S
58 5 12
ot_type_textarea()
S
53 4 22
ot_map_old_option_types()
S
48 3 35
OT_Loader::retrieve_google_font()
S
57 4 16
OT_Settings::add_sections()
S
59 4 15
ot_after_theme_options_save()
S
64 5 8
OT_Settings::add_sections()
S
59 4 15
ot_decode()
S
60 4 14
option_tree_stripslashes()
S
61 4 14
ot_stripslashes()
S
61 4 14
ot_type_creating_options()
S
45 2 43
ot_recognized_google_font_families()
S
60 4 13
_sanitize_recursive()
S
61 4 13
OT_Loader::ajax_gallery_update()
S
59 4 13
ot_convert_array_to_string()
S
61 4 12
ot_range()
S
61 4 12
ot_type_css()
S
60 4 11
ot_type_javascript()
S
60 4 11
ot_type_layouts_overview()
S
43 1 56
ot_type_meta_boxes()
S
45 1 54
ot_option_types_array()
S
42 1 52
OT_Post_Formats::meta_boxes()
S
58 3 18
OT_Meta_Box::add_meta_boxes()
S
57 3 16
OT_Settings::get_pages()
S
67 4 8
ot_i18n_string()
S
66 4 7
ot_set_google_fonts()
S
64 4 9
ot_create_media_post()
S
50 2 30
ot_maybe_migrate_options()
S
67 4 7
ot_layout_view()
S
58 3 15
OT_Loader::change_image_button()
S
65 4 8
ot_maybe_migrate_layouts()
S
67 4 7
OT_Settings::get_the_settings()
S
66 4 9
OT_Settings::get_pages()
S
66 4 9
OT_Settings::get_the_settings()
S
67 4 8
OT_Settings::get_sections()
S
67 4 8
ot_type_text()
S
61 4 10
OT_Settings::get_sections()
S
66 4 9
OT_Post_Formats::meta_boxes()
S
60 3 14
OT_Meta_Box::__construct()
S
60 3 13
ot_register_theme_options_admin_bar_menu()
S
59 3 13
OT_Meta_Box::__construct()
S
61 3 12
ot_display_by_type()
S
61 3 12
ot_list_item_settings()
S
48 1 42
ot_loop_through_option_types()
S
61 3 11
ot_is_plugin_installed()
S
63 3 11
ot_radio_images()
S
49 1 38
ot_type_import_data()
S
57 2 17
ot_type_import_layouts()
S
57 2 17
OT_Loader::global_admin_css()
S
56 1 32
OT_Loader::add_the_contextual_help()
S
65 3 8
OT_Loader::add_list_item_setting()
S
64 3 8
ot_loop_through_choices()
S
64 3 9
ot_social_links_settings()
S
51 1 30
ot_loop_through_sub_settings()
S
64 3 9
ot_array_keys_exists()
S
67 3 8
nifty_cs_admin_custom_colors()
S
61 1 30
ot_strpos_array()
S
67 3 8
ot_update_google_fonts_after_save()
S
65 3 9
OT_Settings::__construct()
S
70 3 6
nifty_cs_get_preview()
S
66 3 8
OT_Settings::__construct()
S
68 3 7
OT_Loader::add_setting()
S
65 3 8
OT_Loader::add_choice()
S
65 3 8
ot_export()
S
72 3 5
ot_get_option()
S
68 3 7
nifty_cs_custom_menu()
S
60 2 13
ot_type_export_layouts()
S
59 2 13
ot_type_export_data()
S
59 2 13
ot_type_export_settings()
S
59 2 13
ot_recognized_letter_spacing()
S
61 2 12
ot_recognized_font_sizes()
S
61 2 12
ot_recognized_line_heights()
S
61 2 12
ot_type_get_option_tree()
S
52 1 23
ot_recognized_font_weights()
S
55 1 22
ot_recognized_background_position()
S
58 1 17
ot_type_export_settings_file()
S
57 1 16
ot_recognized_border_style_types()
S
59 1 16
ot_register_meta_box()
S
73 2 6
ot_reverse_wpautop()
S
64 2 9
ot_wpml_register_string()
S
73 2 5
ot_encode()
S
72 2 6
OT_Cleanup::__construct()
S
67 2 7
OT_Loader::add_layout()
S
67 2 7
ot_recognized_google_font_subsets()
S
66 2 8
ot_register_settings()
S
73 2 6
ot_wpml_unregister_string()
S
74 2 5
OT_Meta_Box::add_meta_boxes()
S
70 2 5
ot_recognized_google_font_variants()
S
66 2 8
ot_type_ot_get_option()
S
57 1 15
OT_Cleanup::increase_timeout()
S
73 2 5
ot_register_meta_box()
S
74 2 5
nifty_cs_skip_redirect_on_login()
S
68 2 8
ot_type_colorpicker_opacity()
S
74 2 4
OT_Cleanup::cleanup_notice()
S
68 2 6
OT_Loader::includes()
S
65 2 9
OT_Cleanup::__construct()
S
65 2 9
OT_Cleanup::cleanup_notice()
S
72 2 4
OT_Loader::add_section()
S
67 2 7
OT_Cleanup::increase_timeout()
S
73 2 5
ot_register_settings()
S
74 2 5
ot_recognized_text_decorations()
S
61 1 14
ot_type_import_settings()
S
60 1 14
ot_recognized_text_transformations()
S
62 1 13
ot_recognized_font_families()
S
60 1 13
ot_recognized_background_repeat()
S
62 1 13
ot_measurement_unit_types()
S
64 1 12
ot_recognized_spacing_unit_types()
S
64 1 12
ot_recognized_dimension_unit_types()
S
64 1 12
ot_recognized_font_styles()
S
63 1 12
ot_recognized_border_unit_types()
S
64 1 12
ot_recognized_font_variants()
S
64 1 11
ot_recognized_background_attachment()
S
64 1 11
ot_has_custom_theme_options()
S
78 1 3
OT_Settings::styles()
S
82 1 3
ot_sanitize_layout_id()
S
78 1 3
OT_Post_Formats::setup_actions()
S
74 1 4
OT_Post_Formats::setup_actions()
S
74 1 4
OT_Loader::load_option_tree()
S
73 1 6
compat_ot_recognized_background_repeat()
S
79 1 3
OT_Settings::styles()
S
82 1 3
ot_layouts_id()
S
80 1 3
compat_ot_measurement_unit_types()
S
79 1 3
nifty_get_plugin_version()
S
74 1 4
nifty_plugin_action_links()
S
72 1 5
OT_Post_Formats::__construct()
S
82 1 3
ot_sanitize_option_id()
S
78 1 3
compat_ot_option_types_array()
S
80 1 3
OT_Settings::scripts()
S
82 1 3
ot_type_tab()
S
83 1 3
ot_echo_option()
S
80 1 3
OT_Cleanup::styles()
S
83 1 3
compat_ot_recognized_font_families()
S
79 1 3
OT_Loader::load_file()
S
82 1 3
OT_Settings::scripts()
S
82 1 3
ot_settings_id()
S
80 1 3
compat_ot_recognized_font_styles()
S
79 1 3
ot_normalize_css()
S
70 1 6
ot_type_textblock_titled()
S
71 1 6
compat_ot_recognized_font_variants()
S
79 1 3
compat_ot_recognized_font_weights()
S
79 1 3
OT_Cleanup::styles()
S
82 1 3
OT_Post_Formats::__construct()
S
82 1 3
OT_Cleanup::admin_footer()
S
80 1 3
ot_options_id()
S
80 1 3
ot_conflict_notice()
S
78 1 3
OT_Settings::display_section()
S
91 1 2
nifty_deactivate()
S
82 1 3
OT_Loader::__construct()
S
78 1 3
OT_Settings::hooks()
S
66 1 8
OT_Settings::display_section()
S
91 1 2
OT_Settings::hooks()
S
66 1 8
ot_type_textblock()
S
71 1 6
compat_ot_recognized_background_position()
S
79 1 3