Code Analysis: WordPress Carousel 2.1.20

Function Rating Maintainability Complexity Lines of code
WP_Carousel_Free_Shortcode::sp_wp_carousel_shortcode()
D
24
63 116
SP_WPCF_Fields::field_data()
D
24
61 143
SP_WPCF_Field_typography::render()
D
21
30 239
SP_WPCF_Options::add_options_html()
D
29 33 103
SP_WPCF_Field_border::output()
D
44 35 31
SP_WPCF_Field_image_sizes::render()
C
36 25 68
SP_WPCF_Options::set_options()
C
38 25 61
SP_WPCF_Field_column::output()
C
45 27 29
SP_WPCF_Metabox::add_meta_box_content()
C
37 24 64
WP_Carousel_Free_Upgrade::premium_page_callback()
B
24
2 384
SP_WPCF_Metabox::save_meta_box()
B
39 22 63
SP_WPCF_Field_spacing::output()
B
47 24 27
SP_WPCF_Field_border::render()
B
33 19 93
wp_carousel_free_shortcode()
B
30 17 120
SP_WPCF_Field_select::render()
B
41 21 47
SP_WPCF_Field_column::render()
B
36 19 75
SP_WPCF_Field_spacing::render()
B
36 19 71
SP_WPCF_Field_selectf::render()
B
43 19 40
SP_WPCF::field()
B
42 17 45
SP_WPCF_Field_typography::enqueue_google_fonts()
A
45 16 36
SP_WPCF::setup()
A
46 15 39
WP_Carousel_Free_Promotion::show_promotions()
A
37 8 100
SP_WPCF_Field_typography::create_select()
A
51 13 21
SP_WPCF_Metabox::add_metabox_classes()
A
48 12 32
SP_WPCF_Field_button_set::render()
A
47 12 32
SP_WPCF::add_admin_enqueue_scripts()
A
43 11 45
SP_WPCF_Field_media::render()
A
41 10 53
WP_Customize_Control_SP_WPCF::render_content()
A
45 10 38
WP_Carousel_Free_Review::display_admin_notice()
A
42 8 68
SP_WPCF_Field_spinner::output()
A
52 11 21
SP_WPCF_Field_checkbox::render()
A
48 10 29
SP_WPCF_Field_carousel_type::render()
A
48 10 29
WP_Carousel_Free_Help::help_page_callback()
A
36 1 159
SP_WPCF::include_plugin_file()
A
51 10 24
SP_WPCF_Options::error_check()
A
54 10 22
SP_WPCF_Options::add_admin_bar_menu()
A
47 9 36
SP_WPCF_Field_image_select::render()
A
48 9 30
SP_WPCF_Field_radio::render()
A
49 9 28
SP_WPCF_Field_color::output()
A
54 9 18
SP_WPCP_Field_image_select::render()
A
48 8 29
SP_WPCF_Options::pre_tabs()
A
53 8 22
SP_WPCF_Fields::field_attributes()
A
53 8 22
SP_WPCF_Options::add_admin_menu()
S
51 7 23
SP_WPCF_Metabox::__construct()
S
54 7 17
SP_WPCF_Metabox::get_meta_value()
S
56 7 16
SP_WPCF_Field_typography::enqueue()
S
39 3 73
spf_import_ajax()
S
57 6 16
SP_WPCF_Field_switcher::render()
S
55 6 16
SP_WPCF_Field_color_group::render()
S
56 6 16
SP_WPCF_Field_carousel_type::output()
S
60 6 11
SP_WPCP_Field_image_select::output()
S
60 6 11
SP_WPCF_Field_image_select::output()
S
60 6 11
WP_Carousel_Free_Review::dismiss_review_notice()
S
55 5 21
SP_WPCF_Widget::form()
S
55 5 18
WP_Carousel_Free_Promotion::dismiss_limited_time_promo()
S
58 5 15
SP_WPCF_Options::get_options()
S
59 5 15
SP_WPCF_Fields::field_name()
S
62 6 10
SP_WPCF_Options::pre_sections()
S
61 5 14
SP_WPCF::set_used_fields()
S
62 5 12
WP_Carousel_Free_Post_Type::wp_carousel_post_type()
S
45 3 42
spf_array_search()
S
61 5 12
SP_WPCF_Options::save_defaults()
S
62 5 11
SP_WPCF_Field_gallery::render()
S
50 4 26
SP_WPCF_Options::ajax_save()
S
53 4 24
WP_Carousel_Free_Public::enqueue_styles()
S
53 4 22
SP_WPCF_Widget::__construct()
S
56 4 18
SP_WPCP_MCE_Carousel_List::wpcp_cpt_list()
S
54 3 31
SP_WPCF_Field_heading::render()
S
69 5 5
SP_WPCF_Fields::field_after()
S
66 5 7
spf_reset_ajax()
S
60 4 13
SP_WPCF_Field_switcherf::render()
S
58 4 13
WP_Carousel_Free_Updates::perform_updates()
S
60 4 13
WP_Carousel_Free_Admin::display_carousel_admin_fields()
S
60 4 12
SP_WPCF_Options::save_options()
S
60 4 12
spf_export()
S
61 4 11
SP_WPCF_Metabox::pre_fields()
S
63 4 11
SP_WPCF_Options::pre_fields()
S
63 4 11
WP_Carousel_Free_Loader::run()
S
62 4 11
SP_WPCF_Options::add_page_on_load()
S
63 4 11
SP_WPCF::constants()
S
61 4 11
WP_Carousel_Free_Upgrade::happy_users()
S
54 3 22
SP_WPCP_MCE_Carousel_List::wpcp_mce_button()
S
64 4 9
SP_WPCF_Widget::get_default()
S
68 4 6
WP_Carousel_Free_Admin::sp_wpcp_review_text()
S
65 4 8
SP_WPCF_Field_code_editor::enqueue()
S
62 4 10
SP_WPCF_Options::get_default()
S
68 4 6
spf_set_icons()
S
56 2 27
SP_WPCP_MCE_Carousel_List::posts()
S
52 2 27
WP_Carousel_Free_Updates::is_needs_update()
S
63 3 11
SP_WPCF_Options::__construct()
S
55 2 18
SP_WPCF_Field_spinner::render()
S
55 2 18
WP_Carousel_Free_Admin::wpcp_carousel_updated_messages()
S
55 2 17
sp_wpcf_delete_plugin_data()
S
57 2 17
spf_get_var()
S
67 3 9
spf_get_vars()
S
66 3 9
SP_WP_Carousel_Free::init()
S
68 3 7
SP_WPCF::maybe_include_field()
S
71 3 5
WP_Carousel_Free_Admin::__construct()
S
71 3 5
SP_WPCF_Metabox::get_default()
S
71 3 5
WP_Customize_Control_SP_WPCF::render()
S
57 2 15
WP_Carousel_Free_Public::__construct()
S
71 3 5
SP_WPCF_Field_code_editor::render()
S
57 2 15
SP_WPCF_Field_notice::render()
S
72 3 4
wpcf_get_posts()
S
60 2 13
SP_WPCF::includes()
S
62 2 13
SP_WP_Carousel_Free::includes()
S
57 1 18
SP_WPCF_Field_backup::render()
S
56 1 16
spf_customize_validate_numeric()
S
70 2 6
spf_customize_validate_required()
S
70 2 6
WP_Carousel_Free_Post_Type::instance()
S
72 2 6
WP_Carousel_Free_Admin::plugin_row_meta()
S
62 2 10
wpcf_get_terms()
S
66 2 8
SP_WPCF_Abstract::add_output_css()
S
69 2 6
WP_Carousel_Free_Help::instance()
S
72 2 6
spf_validate_required()
S
73 2 5
SP_WPCF_Fields::field_before()
S
78 2 3
WP_Carousel_Free_Admin::sp_wpcf_redirect_after_activation()
S
72 2 5
spf_validate_email()
S
72 2 5
wpcf_get_taxonomies()
S
65 2 8
spf_validate_url()
S
72 2 5
WP_Carousel_Free_Admin::add_plugin_action_links()
S
65 2 8
SP_WPCF_Metabox::add_meta_box()
S
70 2 5
spf_customize_validate_email()
S
70 2 6
SP_WPCF_Field_subheading::render()
S
78 2 3
WP_Carousel_Free_Shortcode::instance()
S
72 2 6
WP_Carousel_Free_Admin::instance()
S
72 2 6
SP_WP_Carousel_Free::define_admin_hooks()
S
57 1 15
SP_WP_Carousel_Free::define()
S
75 2 5
spf_customize_validate_url()
S
70 2 6
SP_WPCF_Abstract::__construct()
S
71 2 5
SP_WPCF_Field_text::render()
S
68 2 6
SP_WPCF_Field_color::render()
S
68 2 6
SP_WPCF_Field_shortcode::render()
S
73 2 4
WP_Carousel_Free_Upgrade::instance()
S
72 2 6
wpcf_get_option()
S
74 2 4
SP_WPCF_Field_spinner::enqueue()
S
74 2 5
spf_timeout()
S
78 2 3
spf_validate_numeric()
S
73 2 5
WP_Carousel_Free_Upgrade::upgrade_admin_menu()
S
63 1 13
WP_Carousel_Free_Help::help_admin_menu()
S
63 1 13
SP_WP_Carousel_Free::setup()
S
64 1 11
SP_WPCF_Field_border::__construct()
S
78 1 3
SP_WPCP_Field_image_select::__construct()
S
78 1 3
WP_Carousel_Free_Loader::add_filter()
S
77 1 3
SP_WPCF_Field_column::__construct()
S
78 1 3
WP_Carousel_Free_Updates::__construct()
S
79 1 3
SP_WPCP_MCE_Carousel_List::__construct()
S
72 1 5
SP_WPCF_Field_switcher::__construct()
S
78 1 3
SP_WPCF::createMetabox()
S
78 1 3
SP_WPCF::createOptions()
S
78 1 3
SP_WPCF_Metabox::instance()
S
79 1 3
SP_WPCP_MCE_Carousel_List::register_mce_button()
S
76 1 4
SP_WPCF_Options::instance()
S
79 1 3
SP_WPCF_Field_backup::__construct()
S
78 1 3
SP_WP_Carousel_Free::define_constants()
S
67 1 7
WP_Carousel_Free_Loader::add_shortcode()
S
77 1 3
SP_WPCF_Field_text::__construct()
S
78 1 3
spf_sanitize_title()
S
81 1 3
SP_WPCF_Field_gallery::__construct()
S
78 1 3
SP_WPCF_Field_color_group::__construct()
S
78 1 3
SP_WPCF_Widget::update()
S
71 1 5
SP_WPCF_Field_switcherf::__construct()
S
78 1 3
SP_WPCF_Field_selectf::__construct()
S
78 1 3
SP_WPCF_Field_typography::__construct()
S
78 1 3
SP_WPCF_Field_spinner::__construct()
S
78 1 3
SP_WP_Carousel_Free::load_dependencies()
S
80 1 3
SP_WPCF_Field_select::__construct()
S
78 1 3
SP_WPCF_Field_spacing::__construct()
S
78 1 3
WP_Carousel_Free_Admin::enqueue_admin_styles()
S
70 1 5
SP_WPCF_Field_image_select::__construct()
S
78 1 3
WP_Carousel_Free_Updates::do_updates()
S
82 1 3
SP_WPCF_Field_image_sizes::__construct()
S
78 1 3
WP_Carousel_Free_Public::enqueue_scripts()
S
70 1 5
get_match()
S
75 1 4
SP_WPCF_Widget::instance()
S
79 1 3
SP_WPCF_Field_media::__construct()
S
78 1 3
SP_WPCP_MCE_Carousel_List::add_mce_plugin()
S
75 1 4
SP_WPCF_Fields::__construct()
S
69 1 7
SP_WPCF_Field_shortcode::__construct()
S
78 1 3
spf_sanitize_replace_a_to_b()
S
79 1 3
WP_Carousel_Free_I18n::load_plugin_textdomain()
S
69 1 7
SP_WPCF::sanitize_dirname()
S
78 1 3
SP_WPCF::include_plugin_url()
S
78 1 3
WP_Carousel_Free_Admin::filter_carousel_admin_column()
S
66 1 8
WP_Carousel_Free_Promotion::get_current_time_est()
S
71 1 5
SP_WP_Carousel_Free::define_public_hooks()
S
67 1 7
SP_WPCF_Field_color::__construct()
S
78 1 3
SP_WP_Carousel_Free::define_common_hooks()
S
67 1 7
WP_Carousel_Free_Loader::add_action()
S
77 1 3
WP_Carousel_Free_Loader::add()
S
64 1 10
SP_WPCF_Field_checkbox::__construct()
S
78 1 3
SP_WPCF_Field_code_editor::__construct()
S
78 1 3
SP_WPCF_Field_subheading::__construct()
S
78 1 3
SP_WPCF_Field_button_set::__construct()
S
78 1 3
SP_WPCF_Field_radio::__construct()
S
78 1 3
SP_WPCF_Field_carousel_type::__construct()
S
78 1 3
SP_WPCF::createSection()
S
75 1 4
SP_WPCF_Widget::widget()
S
79 1 3
SP_WPCP_MCE_Carousel_List::init()
S
80 1 3
SP_WP_Carousel_Free::get_plugin_name()
S
82 1 3
SP_WPCP_MCE_Carousel_List::wpcp_carousel_list_ajax()
S
73 1 5
SP_WPCF::is_active_plugin()
S
78 1 3
SP_WP_Carousel_Free::get_loader()
S
82 1 3
SP_WPCF::init()
S
65 1 9
SP_WPCF_Field_notice::__construct()
S
78 1 3
SP_WP_Carousel_Free::run()
S
82 1 3
sp_wpcf()
S
77 1 4
SP_WP_Carousel_Free::get_version()
S
82 1 3
WP_Carousel_Free_Promotion::__construct()
S
75 1 4
WP_Carousel_Free_Loader::__construct()
S
74 1 5
spf_wp_editor_api()
S
76 1 4
SP_WP_Carousel_Free::set_locale()
S
75 1 4
SP_WPCF_Field_heading::__construct()
S
78 1 3