Code Analysis: Simple Multiple Featured Images 1.1.1

Function Rating Maintainability Complexity Lines of code
Simple_Multiple_Featured_Images::get_img_wrapper_html_by_ajax_as_json()
A
48 13 29
Simple_Multiple_Featured_Images::save_selected_images()
A
48 11 32
SMFI_Js_Importer::import_js()
A
56 8 16
SMFI_Public_API::get_all_featured_images_tags()
S
53 7 22
SMFI_DND_Validator::are_valid_img_positions()
S
55 7 21
Simple_Multiple_Featured_Images::add_meta_box()
S
52 6 26
SMFI_DND::sort_image_ids_by_its_position()
S
53 6 23
Simple_Multiple_Featured_Images::get_all_existing_images_html()
S
53 6 22
SMFI_Validator::are_valid_img_ids()
S
55 6 21
Simple_Multiple_Featured_Images::get_img_html_by_ajax_as_json()
S
54 6 19
SMFI_Shortcodes::get_frontend_html_for_shortcode()
S
49 5 29
Simple_Multiple_Featured_Images::save_image_ids_into_db()
S
53 5 24
SMFI_Public_API::get_all_featured_image_ids()
S
58 5 16
Simple_Multiple_Featured_Images::add_admin_notices()
S
55 4 20
SMFI_Shortcodes::get_additional_html_after_image_tags()
S
58 4 16
SMFI_Public_API::get_image_title_by_id()
S
59 4 15
SMFI_Public_API::get_image_caption_by_id()
S
59 4 15
SMFI_Public_API::get_image_description_by_id()
S
59 4 15
SMFI_Public_API::get_featured_image_tag()
S
59 4 15
SMFI_Public_API::get_image_url_by_id()
S
59 4 15
SMFI_CSS_Importer::import_css()
S
60 4 13
SMFI_Validator::is_valid_img_data()
S
63 4 11
SMFI_DND::add_admin_notices()
S
56 3 18
SMFI_Shortcodes::enqueue_admin_scripts()
S
57 3 18
SMFI_Shortcodes::enqueue_frontend_scripts()
S
59 3 16
Simple_Multiple_Featured_Images::init_shortcodes()
S
66 4 8
Simple_Multiple_Featured_Images::init_drag_and_drop()
S
66 4 8
Simple_Multiple_Featured_Images::enqueue_admin_scripts()
S
51 2 28
SMFI_Shortcodes::adjust_image_tag_by_shortcode()
S
63 3 12
SMFI_DND::enqueue_admin_scripts()
S
62 3 12
Simple_Multiple_Featured_Images::send_ajax_error_as_json()
S
63 3 11
Simple_Multiple_Featured_Images::get_image_html()
S
58 2 17
SMFI_Shortcodes::get_default_image_size_by_shortcode()
S
67 3 9
SMFI_Shortcodes::get_image_tag_css_classes()
S
66 3 9
SMFI_Shortcodes::get_image_container_css_class()
S
66 3 9
SMFI_Public_API::get_image_alt_by_id()
S
64 3 10
Simple_Multiple_Featured_Images::is_supported_post()
S
70 3 6
SMFI_Shortcodes::get_dot_color()
S
66 3 8
SMFI_Shortcodes::get_active_dot_color()
S
66 3 8
SMFI_Shortcodes::get_arrow_color()
S
66 3 8
SMFI_DND_Validator::is_valid_img_position()
S
71 3 6
Simple_Multiple_Featured_Images::get_image_limit()
S
71 3 5
SMFI_Shortcodes::get_active_arrow_color()
S
66 3 8
SMFI_Shortcodes::register_shortcode_buttons()
S
66 3 9
SMFI_Validator::is_valid_img_id()
S
71 3 6
SMFI_Shortcodes::register_shortcode_buttons_js()
S
66 3 8
Simple_Multiple_Featured_Images::get_image_wrapper_html()
S
62 2 12
SMFI_Shortcodes::get_default_active_dot_color()
S
72 2 6
SMFI_Shortcodes::get_default_slideshow_speed()
S
71 2 6
SMFI_Shortcodes::get_active_dot_color_attr()
S
68 2 7
SMFI_Shortcodes::get_default_arrow_color()
S
72 2 6
SMFI_Shortcodes::get_default_active_arrow_color()
S
72 2 6
Simple_Multiple_Featured_Images::is_excluded_post()
S
68 2 7
SMFI_Shortcodes::get_slideshow_speed()
S
67 2 8
SMFI_Shortcodes::get_dot_color_attribute()
S
68 2 7
SMFI_Shortcodes::get_image_size_by_shortcode()
S
65 2 9
Simple_Multiple_Featured_Images::uninstall()
S
71 2 6
SMFI_Shortcodes::get_default_dot_color()
S
72 2 6
Simple_Multiple_Featured_Images::is_included_post()
S
68 2 7
SMFI_Shortcodes::is_slideshow_shortcode()
S
72 2 6
SMFI_Shortcodes::get_slideshow_speed_attribute()
S
68 2 7
Simple_Multiple_Featured_Images::is_supported_post_type()
S
68 2 7
SMFI_Shortcodes::get_arrow_color_attr()
S
68 2 7
SMFI_Shortcodes::get_active_arrow_color_attr()
S
68 2 7
Simple_Multiple_Featured_Images::init()
S
61 1 12
SMFI_Shortcodes::sanitize_shortcode_attributes()
S
62 1 11
Simple_Multiple_Featured_Images::get_error_container_html()
S
74 1 5
Simple_Multiple_Featured_Images::get_add_new_images_btn_html()
S
65 1 8
Simple_Multiple_Featured_Images::get_change_image_failed_error_message()
S
70 1 6
SMFI_DND::attach_save_error_to_url()
S
69 1 6
Simple_Multiple_Featured_Images::attach_user_save_error_to_url()
S
69 1 6
Simple_Multiple_Featured_Images::get_invalid_image_id_error_message_on_adding_image()
S
70 1 6
Simple_Multiple_Featured_Images::get_default_error_message()
S
72 1 6
SMFI_Public_API::__construct()
S
81 1 3
Simple_Multiple_Featured_Images::get_remove_btn_html()
S
74 1 4
SMFI_Shortcodes::init()
S
70 1 6
Simple_Multiple_Featured_Images::get_hidden_input_for_img_id_html()
S
78 1 3
SMFI_Shortcodes::init_shortcode_buttons()
S
75 1 4
Simple_Multiple_Featured_Images::get_public_api()
S
80 1 3
Simple_Multiple_Featured_Images::get_add_image_failed_error_message()
S
70 1 6
Simple_Multiple_Featured_Images::get_image_limit_exceeded_error_message_on_adding_image()
S
70 1 6
Simple_Multiple_Featured_Images::collect_removeable_parameter_from_url()
S
73 1 5
SMFI_DND::__construct()
S
76 1 4
SMFI_DND::init()
S
72 1 5
Simple_Multiple_Featured_Images::echo_meta_box_html()
S
64 1 10
Simple_Multiple_Featured_Images::__construct()
S
77 1 4
Simple_Multiple_Featured_Images::activate()
S
89 1 2
SMFI_Shortcodes::__construct()
S
81 1 3
Simple_Multiple_Featured_Images::get_db_meta_key()
S
82 1 3
Simple_Multiple_Featured_Images::init_ajax()
S
66 1 9
Simple_Multiple_Featured_Images::deactivate()
S
89 1 2
SMFI_Public_API::is_smfi_showed()
S
81 1 3
SMFI_Shortcodes::register_shortcodes()
S
75 1 4
Simple_Multiple_Featured_Images::get_invalid_nonce_error_message_on_adding_image()
S
70 1 6
Simple_Multiple_Featured_Images::get_default_error_instruction()
S
74 1 5
Simple_Multiple_Featured_Images::get_invalid_post_id_error_message_on_adding_image()
S
70 1 6
Simple_Multiple_Featured_Images::activate_plugin_textdomain()
S
77 1 3