Code Analysis: WP Craft Blogger 0.0.2

Function Rating Maintainability Complexity Lines of code
ot_insert_css_with_markers()
D
14
92 213
ot_validate_setting()
D
19
84 165
ot_export_php_settings_array()
D
17
60 238
custom_theme_options()
D
11
4 782
ot_split_shared_term()
D
28
45 129
ot_save_settings()
D
31 44 91
OT_Settings::sanitize_callback()
D
31 43 94
ot_register_settings_page()
D
21
29 262
ot_list_item_view()
D
29 39 99
OT_Meta_Box::save_meta_box()
D
33 38 83
ot_type_typography()
D
30 33 109
ot_social_links_view()
D
34 35 69
compat_ot_import_from_files()
D
35 34 76
ot_type_background()
D
32 32 88
ot_import()
C
34 30 81
OT_Meta_Box::build_meta_box()
C
36 31 58
ot_settings_view()
C
28
21 153
ot_alert_message()
C
40 26 53
ot_default_settings()
B
33 21 96
ot_validate_settings_array()
B
44 24 41
ot_modify_layouts()
B
40 23 51
OT_Cleanup::options_page()
B
33 20 88
OT_Settings::display_setting()
B
45 23 33
OT_Settings::display_page()
B
36 20 73
ot_type_google_fonts()
B
36 18 76
ot_import_xml()
B
39 16 64
ot_wpml_filter()
B
46 17 36
ot_type_box_shadow()
B
42 16 46
_ot_settings_potential_shared_terms()
A
43 15 50
WPCB_Public::add_patterns_to_loop()
A
47 16 33
ot_type_spacing()
A
43 15 42
ot_load_google_fonts_css()
A
45 15 39
ot_type_social_links()
A
34 10 112
ot_type_border()
A
42 14 46
ot_type_option_types()
A
25
1 238
ot_load_dynamic_css()
A
47 14 33
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 63
get_option_tree()
A
52 13 22
ot_type_list_item()
A
46 12 32
ot_type_theme_mode()
A
32 1 191
ot_type_gallery()
A
45 11 38
WPCB_Admin::add_pattern_meta_box()
A
31 3 154
ot_type_dimension()
A
47 11 32
ot_fetch_google_fonts()
A
45 10 37
ot_remove_old_css()
A
48 10 31
ot_theme_options_layouts_form()
A
48 10 29
ot_type_upload()
A
48 10 28
ot_type_custom_post_type_checkbox()
A
50 10 22
ot_slider_settings()
A
47 8 39
ot_type_custom_post_type_select()
A
50 9 22
ot_type_page_checkbox()
A
51 9 21
ot_type_post_checkbox()
A
51 9 21
OT_Loader::admin_includes()
A
50 8 28
ot_type_link_color()
A
48 8 27
OT_Settings::help()
A
52 8 24
ot_type_slider()
A
51 8 23
ot_type_page_select()
A
51 8 21
ot_type_post_select()
A
51 8 21
ot_type_taxonomy_checkbox()
A
51 8 21
OT_Settings::do_settings_sections()
A
55 8 18
OT_Cleanup::maybe_cleanup()
A
54 8 17
ot_google_font_stack()
A
55 8 17
ot_type_checkbox()
A
54 8 17
OT_Loader::shortcode()
A
55 8 17
ot_type_modify_layouts()
S
49 7 29
ot_filter_std_value()
S
60 8 13
ot_type_sidebar_select()
S
50 7 26
ot_type_radio_image()
S
51 7 21
ot_type_taxonomy_select()
S
52 7 21
OT_Settings::add_page()
S
48 6 35
ot_type_tag_checkbox()
S
52 7 20
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
54 7 18
ot_register_theme_options_page()
S
47 6 33
ot_type_select()
S
54 7 17
OT_Settings::initialize_settings()
S
56 7 17
ot_choices_view()
S
46 5 45
ot_save_css()
S
58 7 14
WPCB_Admin::register_pattern_settings_page()
S
39 3 74
ot_type_on_off()
S
49 6 28
OT_Settings::reset_options()
S
60 7 12
ot_contextual_help_view()
S
47 5 40
OT_Loader::hooks()
S
45 5 39
OT_Loader::global_admin_css()
S
46 4 52
ot_type_tag_select()
S
53 6 20
ot_type_category_select()
S
52 6 20
OT_Loader::constants()
S
50 5 34
WPCB_Public::pattern_content_filter()
S
55 6 18
OT_Post_Formats::pre_ping_post_links()
S
65 7 8
ot_meta_box_post_format_quote()
S
46 4 44
ot_get_option_type_by_id()
S
59 6 14
ot_admin_scripts()
S
45 4 38
OT_Settings::add_settings()
S
54 5 21
ot_convert_string_to_array()
S
55 5 19
OT_Loader::load_languages()
S
54 5 19
ot_sections_view()
S
50 4 32
ot_maybe_migrate_settings()
S
63 6 9
ot_after_theme_options_save()
S
64 6 8
ot_meta_box_post_format_link()
S
50 4 30
ot_type_examples()
S
43 1 75
ot_type_colorpicker()
S
57 5 14
ot_type_date_time_picker()
S
58 5 13
custom_meta_boxes()
S
42 2 58
ot_type_textarea_simple()
S
58 5 13
ot_type_date_picker()
S
58 5 13
ot_type_radio()
S
58 5 12
ot_meta_box_post_format_gallery()
S
52 4 24
ot_meta_box_post_format_video()
S
52 4 23
ot_meta_box_post_format_audio()
S
52 4 23
ot_type_textarea()
S
53 4 22
ot_admin_styles()
S
55 4 19
ot_map_old_option_types()
S
49 3 33
OT_Settings::add_sections()
S
59 4 15
ot_stripslashes()
S
61 4 14
option_tree_stripslashes()
S
61 4 14
ot_recognized_google_font_families()
S
60 4 13
ot_type_creating_options()
S
45 2 43
WPCB_Public::pattern_shortcode()
S
60 4 13
WPCB_Admin::filter_list_item_title_label()
S
62 4 12
ot_type_layouts_overview()
S
43 1 56
ot_type_css()
S
60 4 11
ot_convert_array_to_string()
S
62 4 11
ot_type_javascript()
S
60 4 11
ot_get_media_post_ID()
S
62 4 11
ot_range()
S
62 4 11
ot_type_meta_boxes()
S
45 1 54
ot_option_types_array()
S
42 1 49
OT_Settings::get_sections()
S
67 4 8
OT_Loader::change_image_button()
S
65 4 8
ot_maybe_migrate_layouts()
S
67 4 7
ot_layout_view()
S
58 3 15
ot_type_text()
S
62 4 10
OT_Settings::get_pages()
S
67 4 8
ot_maybe_migrate_options()
S
67 4 7
ot_I18n_string()
S
66 4 7
ot_set_google_fonts()
S
64 4 9
OT_Settings::get_the_settings()
S
67 4 8
OT_Post_Formats::meta_boxes()
S
60 3 14
OT_Meta_Box::__construct()
S
61 3 12
OT_Loader::ajax_gallery_update()
S
62 3 11
ot_create_media_post()
S
51 2 26
ot_list_item_settings()
S
49 1 38
ot_type_import_xml()
S
55 2 19
WPCB_Admin::add_pattern_cpt()
S
47 1 34
ot_radio_images()
S
50 1 34
ot_strpos_array()
S
65 3 9
WPCB_Loader::run()
S
66 3 8
ot_xml_mime_type_icon()
S
72 3 5
ot_get_option()
S
68 3 7
ot_export()
S
72 3 5
ot_loop_through_option_types()
S
63 3 9
ot_array_keys_exists()
S
67 3 8
ot_type_import_layouts()
S
59 2 15
ot_register_theme_options_admin_bar_menu()
S
62 3 10
ot_type_import_data()
S
59 2 15
OT_Settings::__construct()
S
70 3 6
ot_update_google_fonts_after_save()
S
65 3 9
ot_recognized_letter_spacing()
S
61 2 12
ot_type_export_settings()
S
61 2 12
ot_recognized_font_sizes()
S
61 2 12
ot_recognized_line_heights()
S
61 2 12
ot_type_export_layouts()
S
61 2 12
ot_type_export_data()
S
61 2 12
ot_social_links_settings()
S
53 1 25
ot_type_get_option_tree()
S
52 1 23
ot_recognized_font_weights()
S
57 1 18
WPCB_Admin::filter_header_logo_link()
S
68 2 8
ot_loop_through_choices()
S
69 2 6
ot_recognized_google_font_subsets()
S
66 2 8
ot_type_export_settings_file()
S
58 1 15
OT_Meta_Box::add_meta_boxes()
S
70 2 5
ot_register_settings()
S
74 2 5
ot_recognized_google_font_variants()
S
66 2 8
ot_wpml_unregister_string()
S
74 2 5
WPCB_Public::output_header_css()
S
68 2 7
ot_loop_through_sub_settings()
S
69 2 6
ot_wpml_register_string()
S
73 2 5
OT_Loader::retrieve_google_font()
S
64 2 10
ot_register_meta_box()
S
74 2 5
WPCB_Admin::filter_header_version_text()
S
66 2 8
OT_Loader::includes()
S
65 2 9
OT_Cleanup::increase_timeout()
S
73 2 5
OT_Cleanup::__construct()
S
67 2 7
OT_Loader::load_textdomain()
S
69 2 7
OT_Cleanup::cleanup_notice()
S
72 2 4
ot_reverse_wpautop()
S
65 2 8
ot_type_ot_get_option()
S
57 1 15
ot_display_by_type()
S
64 2 9
ot_type_colorpicker_opacity()
S
74 2 4
WP_Craft_Blogger::load_dependencies()
S
63 2 10
ot_type_import_settings()
S
60 1 14
ot_recognized_font_families()
S
60 1 13
ot_recognized_background_position()
S
60 1 13
ot_recognized_border_style_types()
S
61 1 12
OT_Post_Formats::setup_actions()
S
74 1 4
compat_ot_recognized_font_styles()
S
79 1 3
WP_Craft_Blogger::get_plugin_name()
S
82 1 3
ot_recognized_background_attachment()
S
69 1 7
OT_Post_Formats::__construct()
S
82 1 3
ot_conflict_notice()
S
78 1 3
activate_wpcb()
S
76 1 4
OT_Loader::add_list_item_setting()
S
74 1 4
ot_type_textblock()
S
71 1 6
ot_type_textblock_titled()
S
71 1 6
compat_ot_recognized_font_families()
S
79 1 3
OT_Settings::display_section()
S
91 1 2
OT_Loader::add_the_contextual_help()
S
75 1 4
OT_Settings::styles()
S
82 1 3
ot_recognized_font_variants()
S
69 1 7
ot_sanitize_layout_id()
S
78 1 3
OT_Settings::scripts()
S
82 1 3
OT_Loader::add_list_item()
S
73 1 4
run_wpcb()
S
77 1 4
OT_Loader::__construct()
S
75 1 4
WPCB_Loader::add_action()
S
77 1 3
OT_Loader::load_option_tree()
S
73 1 6
ot_recognized_dimension_unit_types()
S
68 1 8
ot_normalize_css()
S
70 1 6
ot_add_xml_to_upload_filetypes()
S
75 1 4
ot_recognized_background_repeat()
S
65 1 9
WP_Craft_Blogger::define_admin_hooks()
S
64 1 9
ot_recognized_border_unit_types()
S
68 1 8
ot_has_custom_theme_options()
S
78 1 3
ot_recognized_text_decorations()
S
64 1 10
ot_echo_option()
S
80 1 3
WPCB_Loader::add_filter()
S
77 1 3
deactivate_wpcb()
S
76 1 4
compat_ot_option_types_array()
S
80 1 3
WP_Craft_Blogger::get_version()
S
82 1 3
WP_Craft_Blogger::__construct()
S
68 1 8
ot_decode()
S
76 1 4
compat_ot_recognized_background_repeat()
S
79 1 3
OT_Loader::add_setting()
S
75 1 4
WPCB_Public::__construct()
S
77 1 4
OT_Loader::load_file()
S
81 1 3
OT_Loader::add_layout()
S
76 1 4
ot_layouts_id()
S
80 1 3
ot_file_write()
S
75 1 4
compat_ot_recognized_font_variants()
S
79 1 3
WPCB_Public::output_pattern()
S
69 1 7
ot_file_open()
S
75 1 4
ot_recognized_text_transformations()
S
65 1 9
compat_ot_recognized_font_weights()
S
79 1 3
WPCB_Loader::add()
S
64 1 10
ot_type_tab()
S
72 1 6
ot_recognized_font_styles()
S
67 1 8
ot_settings_id()
S
80 1 3
OT_Loader::add_section()
S
74 1 4
ot_sanitize_option_id()
S
78 1 3
ot_recognized_spacing_unit_types()
S
68 1 8
compat_ot_recognized_background_position()
S
79 1 3
WP_Craft_Blogger::get_loader()
S
82 1 3
WPCB_Activator::activate()
S
89 1 2
compat_ot_measurement_unit_types()
S
79 1 3
ot_file_close()
S
76 1 4
WP_Craft_Blogger::run()
S
82 1 3
WP_Craft_Blogger::set_locale()
S
72 1 5
WPCB_Public::add_shortcodes()
S
79 1 3
WPCB_i18n::load_plugin_textdomain()
S
69 1 7
OT_Settings::hooks()
S
66 1 8
ot_measurement_unit_types()
S
68 1 8
ot_options_id()
S
80 1 3
OT_Loader::add_social_links()
S
73 1 4
OT_Loader::add_choice()
S
75 1 4
ot_encode()
S
76 1 4
WPCB_Admin::__construct()
S
70 1 6
WP_Craft_Blogger::define_public_hooks()
S
65 1 8
WPCB_i18n::set_domain()
S
81 1 3
WPCB_Deactivator::deactivate()
S
89 1 2
WPCB_Loader::__construct()
S
77 1 4
ot_upload_mimes()
S
77 1 4
OT_Cleanup::styles()
S
83 1 3
WPCB_Public::enqueue_styles()
S
77 1 3