Code Analysis: Easy Accordion 2.1.8

Function Rating Maintainability Complexity Lines of code
SP_EAP_Fields::field_data()
D
19
66 203
SP_EAP_Options::add_options_html()
D
28
39 112
SP_EAP_Field_typography::render()
D
20
29 246
SP_EAP_Field_select::render()
D
33 38 79
Easy_Accordion_Free_Shortcode::sp_eap_html_show()
D
37 37 51
SP_EAP_Fields::field_wp_query_data_title()
D
36 36 65
SP_EAP_Options::set_options()
D
35 34 74
SP_EAP_Field_border::output()
D
44 35 31
SP_EAP_Metabox::add_meta_box_content()
C
35 26 69
SP_EAP::field()
C
36 26 67
SP_EAP_Field_group::render()
C
34 23 80
Easy_Accordion_Premium::premium_page_callback()
C
25
6 331
SP_EAP_Metabox::save_meta_box()
B
38 23 61
SP_EAP_Field_spacing::output()
B
47 24 27
SP_EAP_Field_spacing::render()
B
36 20 74
SP_EAP_Field_border::render()
B
33 18 93
SP_EAP_Field_theme_select::render()
B
43 19 41
SP_EAP_Field_typography::output()
B
43 17 45
SP_EAP_Field_button_set::render()
B
45 17 34
SP_EAP_Field_typography::enqueue_google_fonts()
A
45 16 36
SP_EAP_Field_checkbox::render()
A
42 15 45
SP_EAP_Field_radio::render()
A
44 14 41
SP_EAP::add_admin_enqueue_scripts()
A
40 12 55
SP_EAP_Metabox::add_metabox_classes()
A
46 13 36
SP_EAP_Field_typography::create_select()
A
51 13 21
SP_EAP_Field_image_select::render()
A
45 11 36
Easy_Accordion_Import_Export::import()
A
46 10 39
Easy_Accordion_Free_Review::display_admin_notice()
A
42 8 69
SP_EAP_Field_spinner::output()
A
52 11 21
SP_EAP::setup()
A
49 10 31
SP_EAP::include_plugin_file()
A
51 10 24
SP_EAP_Options::error_check()
A
54 10 22
SP_EAP_Options::add_admin_bar_menu()
A
47 9 36
Easy_Accordion_Free_Help::help_page_callback()
A
36 1 151
SP_EAP_Field_accordion::render()
A
49 9 28
SP_EAP_Fields::field_attributes()
A
53 9 22
eapro_chosen_ajax()
A
54 9 18
SP_EAP_Field_color::output()
A
54 9 18
SP_EAP_Options::add_admin_menu()
A
50 8 26
Easy_Accordion_Free_Review::dismiss_review_notice()
A
51 8 26
SP_EAP_Options::pre_tabs()
A
53 8 22
SP_EAP_Metabox::__construct()
A
53 8 18
SP_EAP_Metabox::get_meta_value()
A
56 8 16
eapro_import_ajax()
A
56 8 16
SP_EA_Front_Scripts::front_scripts()
S
49 7 28
Easy_Accordion_Import_Export::export_accordions()
S
53 7 21
Easy_Accordion_Import_Export::export()
S
48 6 34
SP_EAP::set_used_fields()
S
56 7 18
SP_EAP_Field_typography::enqueue()
S
38 3 77
SP_EAP_Field_upgrade::render()
S
42 3 76
Easy_Accordion_Import_Export::import_accordions()
S
51 6 28
SP_EAP_Field_color_group::render()
S
56 6 15
SP_EAP_Field_switcher::render()
S
56 6 15
SP_EAP_Options::save_defaults()
S
62 6 11
SP_EAP_Field_wp_editor::render()
S
46 4 38
Easy_Accordion_Free_Gutenberg_Block_Init::sp_easy_accordion_free_gutenberg_shortcode_block()
S
44 3 52
Easy_Accordion_Free_Updates::is_needs_update()
S
56 5 19
EAP_MCE_Shortcode_list::cpt_list()
S
52 4 34
SP_EAP_Fields::field_name()
S
62 6 10
SP_EAP_Options::get_options()
S
59 5 15
SP_EAP_Options::pre_sections()
S
61 5 14
SP_EAP::constants()
S
58 5 13
eapro_array_search()
S
61 5 12
SP_EAP_Field_code_editor::enqueue()
S
59 5 12
SP_EASY_ACCORDION_FREE::define_admin_hooks()
S
50 4 25
Easy_Accordion_Free_Preview::sp_eap_backend_preview()
S
51 4 25
wap_accordion_items_shortcode()
S
44 2 54
Easy_Accordion_Free_Post_Type::easy_accordion_post_type()
S
43 2 54
Easy_Accordion_Premium::happy_users()
S
54 4 22
Easy_Accordion_Free_Gutenberg_Block_Init::sp_easy_accordion_free_render_shortcode()
S
54 4 19
SP_EAP_Field_heading::render()
S
69 5 5
SP_EAP_Fields::field_after()
S
65 5 7
SP_EAP_Field_switcherf::render()
S
58 4 13
Easy_Accordion_Free_Updates::perform_updates()
S
60 4 13
SP_EAP_Options::save_options()
S
60 4 12
Easy_Accordion_Free_Admin::display_accordion_admin_fields()
S
61 4 11
SP_EAP_Options::add_page_on_load()
S
63 4 11
SP_EAP_Metabox::pre_fields()
S
63 4 11
SP_EAP_Options::pre_fields()
S
63 4 11
Easy_Accordion_Free_Loader::run()
S
62 4 11
Sp_Easy_Accordion_Shortcode_Widget::render()
S
53 3 22
eapro_reset_ajax()
S
63 4 9
Easy_Accordion_Free_Gutenberg_Block_Init::sp_easy_accordion_free_block_editor_assets()
S
57 3 15
EAP_MCE_Shortcode_list::mce_button()
S
64 4 9
Easy_Accordion_Free_Admin::sp_eap_review_text()
S
65 4 8
SP_EA_Front_Scripts::admin_scripts()
S
64 4 8
SP_EAP_Field_wp_editor::setup_wp_editor_settings()
S
60 3 14
EAP_MCE_Shortcode_list::posts()
S
52 2 27
Easy_Accordion_Free_Shortcode::sp_easy_accordion_shortcode()
S
61 3 11
Easy_Accordion_Free_Gutenberg_Block_Init::sp_easy_accordion_free_post_list()
S
55 2 21
SP_EAP::add_admin_head_css()
S
56 2 21
SP_EAP_Options::__construct()
S
55 2 18
Easy_Accordion_Free_Admin::eap_updated_messages()
S
55 2 17
SP_EAP_Field_icon::render()
S
56 2 17
easy_accordion_free_wrapper()
S
53 1 31
Sp_Easy_Accordion_Shortcode_Widget::sp_wcsp_post_list()
S
58 2 16
is_easy_accordion_pro()
S
70 3 6
SP_EAP_Field_group::enqueue()
S
68 3 8
SP_EAP_Field_notice::render()
S
72 3 4
SP_EASY_ACCORDION_FREE::init()
S
68 3 7
SP_EAP_Metabox::get_default()
S
71 3 5
Easy_Accordion_Free_Element_Shortcode_Addons::easy_accordion_free_addons_enqueue_scripts()
S
69 3 5
SP_EAP_Field_wp_editor::enqueue()
S
68 3 7
SP_EAP::maybe_include_field()
S
71 3 5
SP_EAP_Options::get_default()
S
71 3 5
SP_EAP_Field_code_editor::render()
S
58 2 14
SP_EAP_Options::ajax_save()
S
61 2 13
SP_EASY_ACCORDION_FREE::includes()
S
55 1 21
Sp_Easy_Accordion_Shortcode_Widget::register_controls()
S
56 1 20
easy_accordion_free_items()
S
59 1 17
eapro_customize_validate_url()
S
70 2 6
eapro_timeout()
S
78 2 3
Easy_Accordion_Free_Admin::after_easy_accodion_row_meta()
S
69 2 6
Easy_Accordion_Free_Help::add_plugin_action_links()
S
64 2 9
eapro_customize_validate_numeric()
S
70 2 6
Easy_Accordion_Free_Admin::sp_ea_redirect_after_activation()
S
72 2 5
SP_EAP_Field_color::render()
S
67 2 6
eapro_validate_email()
S
72 2 5
eapro_validate_required()
S
73 2 5
eapro_validate_url()
S
72 2 5
EAP_MCE_Shortcode_list::getInstance()
S
71 2 6
Easy_Accordion_Free_Admin::instance()
S
72 2 6
SP_EAP_Field_subheading::render()
S
77 2 3
SP_EAP_Fields::field_before()
S
77 2 3
eapro_validate_numeric()
S
73 2 5
eapro_customize_validate_email()
S
70 2 6
Easy_Accordion_Free_Help::instance()
S
72 2 6
SP_EASY_ACCORDION_FREE::define()
S
75 2 5
eapro_customize_validate_required()
S
70 2 6
Easy_Accordion_Free_Post_Type::instance()
S
72 2 6
Easy_Accordion_Premium::instance()
S
72 2 6
SP_EA_Front_Scripts::instance()
S
72 2 6
SP_EAP_Field_select::enqueue()
S
74 2 5
SP_EAP_Abstract::__construct()
S
71 2 5
SP_EAP_Abstract::add_output_css()
S
68 2 6
Easy_Accordion_Free_Admin::enqueue_admin_styles()
S
65 2 8
SP_EAP_Field_shortcode::render()
S
73 2 4
SP_EAP_Metabox::add_meta_box()
S
70 2 5
SP_EAP_Field_spinner::enqueue()
S
74 2 5
SP_EAP_Field_text::render()
S
67 2 6
Easy_Accordion_Free_Element_Shortcode_Addons::instance()
S
72 2 6
Easy_Accordion_Free_Shortcode::instance()
S
72 2 6
SP_EAP_Field_spinner::render()
S
58 1 14
Easy_Accordion_Premium::premium_admin_menu()
S
63 1 13
Easy_Accordion_Free_Help::help_admin_menu()
S
63 1 13
SP_EAP::includes()
S
64 1 11
SP_EAP_Field_switcher::__construct()
S
78 1 3
eapro_get_default_icons()
S
53 1 8
SP_EAP_Field_shortcode::__construct()
S
78 1 3
SP_EASY_ACCORDION_FREE::run()
S
82 1 3
SP_EAP_Field_group::__construct()
S
78 1 3
Easy_Accordion_Free_I18n::load_plugin_textdomain()
S
69 1 7
SP_EAP_Field_button_set::__construct()
S
78 1 3
Sp_Easy_Accordion_Shortcode_Widget::get_title()
S
79 1 3
sp_easy_accordion()
S
77 1 4
EAP_MCE_Shortcode_list::list_ajax()
S
73 1 5
lazy_p_wp_accordion_free_files()
S
71 1 5
SP_EAP_Field_checkbox::__construct()
S
78 1 3
eapro_sanitize_replace_a_to_b()
S
79 1 3
Sp_Easy_Accordion_Shortcode_Widget::get_categories()
S
81 1 3
SP_EAP_Field_code_editor::__construct()
S
78 1 3
SP_EAP_Field_typography::__construct()
S
78 1 3
SP_EAP_Field_spinner::__construct()
S
78 1 3
Easy_Accordion_Free_Preview::__construct()
S
82 1 3
SP_EAP_Field_image_select::__construct()
S
78 1 3
SP_EAP::createOptions()
S
78 1 3
SP_EAP::is_active_plugin()
S
77 1 3
SP_EAP::include_plugin_url()
S
77 1 3
SP_EAP_Fields::__construct()
S
69 1 7
Easy_Accordion_Free_Loader::add_action()
S
77 1 3
SP_EAP::init()
S
63 1 10
Easy_Accordion_Free_Updates::__construct()
S
79 1 3
SP_EAP_Field_text::__construct()
S
78 1 3
EAP_MCE_Shortcode_list::__construct()
S
72 1 5
SP_EAP_Field_accordion::__construct()
S
78 1 3
Easy_Accordion_Free_Gutenberg_Block::__construct()
S
76 1 4
SP_EAP_Field_theme_select::__construct()
S
78 1 3
SP_EAP_Field_upgrade::__construct()
S
78 1 3
SP_EAP_Metabox::instance()
S
79 1 3
Easy_Accordion_Free_Preview::easy_accordion_preview_action()
S
79 1 3
SP_EAP_Field_custom_import::__construct()
S
78 1 3
SP_EASY_ACCORDION_FREE::setup()
S
69 1 8
SP_EAP_Options::instance()
S
79 1 3
SP_EASY_ACCORDION_FREE::define_constants()
S
66 1 8
SP_EASY_ACCORDION_FREE::set_locale()
S
75 1 4
Sp_Easy_Accordion_Shortcode_Widget::get_icon()
S
82 1 3
SP_EAP_Field_heading::__construct()
S
78 1 3
SP_EAP::sanitize_dirname()
S
78 1 3
SP_EAP_Field_preview::render()
S
82 1 3
SP_EAP_Field_spacing::__construct()
S
78 1 3
SP_EAP_Field_preview::__construct()
S
78 1 3
SP_EAP_Field_wp_editor::__construct()
S
78 1 3
SP_EAP_Field_select::__construct()
S
78 1 3
Easy_Accordion_Free_Loader::add_shortcode()
S
77 1 3
Easy_Accordion_Free_Loader::__construct()
S
74 1 5
eapro_get_google_fonts()
S
68 1 6
SP_EAP_Field_notice::__construct()
S
78 1 3
Easy_Accordion_Free_Element_Shortcode_Addons::init_widgets()
S
75 1 4
Easy_Accordion_Free_Element_Shortcode_Addons::easy_accordion_free_addons_icon()
S
78 1 3
SP_EAP::createMetabox()
S
78 1 3
SP_EAP_Field_radio::__construct()
S
78 1 3
SP_EAP_Field_color_group::__construct()
S
78 1 3
Sp_Easy_Accordion_Shortcode_Widget::get_name()
S
82 1 3
eapro_sanitize_title()
S
81 1 3
Easy_Accordion_Free_Loader::add()
S
64 1 10
Easy_Accordion_Free_Gutenberg_Block_Init::__construct()
S
75 1 4
SP_EAP_Field_icon::__construct()
S
78 1 3
SP_EAP_Field_color::__construct()
S
78 1 3
SP_EA_Front_Scripts::__construct()
S
75 1 4
eapro_wp_editor_api()
S
76 1 4
Easy_Accordion_Free_Loader::add_filter()
S
77 1 3
EAP_MCE_Shortcode_list::register_mce_button()
S
76 1 4
EAP_MCE_Shortcode_list::add_mce_plugin()
S
75 1 4
SP_EAP_Field_border::__construct()
S
78 1 3
SP_EASY_ACCORDION_FREE::define_common_hooks()
S
67 1 7
Easy_Accordion_Free_Element_Shortcode_Addons::__construct()
S
72 1 5
Easy_Accordion_Free_Element_Shortcode_Addons::on_plugins_loaded()
S
79 1 3
SP_EAP_Field_subheading::__construct()
S
78 1 3
Easy_Accordion_Free_Admin::filter_accordion_admin_column()
S
67 1 7
Easy_Accordion_Free_Element_Shortcode_Addons::init()
S
79 1 3
SP_EASY_ACCORDION_FREE::load_dependencies()
S
80 1 3
eapro_get_default_icons()
S
50 1 8
SP_EAP_Field_switcherf::__construct()
S
78 1 3
Easy_Accordion_Free_Updates::do_updates()
S
82 1 3
SP_EAP_Field_custom_import::render()
S
67 1 8
Easy_Accordion_Free_Shortcode::__construct()
S
79 1 3
SP_EAP_Field_wp_editor::setup_wp_editor_media_buttons()
S
64 1 10
SP_EAP::createSection()
S
75 1 4