Code Analysis: Easy Accordion 2.3.11

Function Rating Maintainability Complexity Lines of code
SP_EAP_Fields::field_data()
D
17
72 216
SP_EAP_Field_typography::render()
D
20
30 260
SP_EAP_Field_select::render()
D
31 41 87
SP_EAP_Options::add_options_html()
D
28
39 112
Easy_Accordion_Free_Shortcode::sp_eap_html_show()
D
36 38 54
SP_EAP_Fields::field_wp_query_data_title()
D
36 36 65
Easy_Accordion_Free_Help::help_page_callback()
D
23
10 447
SP_EAP_Options::set_options()
D
35 34 74
SP_EAP_Field_border::output()
D
44 35 31
Easy_Accordion_Free_Help::spea_plugins_info_api_help_page()
C
27
22 165
SP_EAP_Metabox::save_meta_box()
C
37 27 65
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
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_accordions()
A
45 10 44
eapro_sanitize_accordion_title_content()
A
51 11 27
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_EA_Front_Scripts::load_dynamic_style()
A
49 10 30
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_Product_Tab::eap_woo_faq_tab()
A
51 9 26
SP_EAP_Fields::field_attributes()
A
53 9 22
SP_EAP_Field_color::output()
A
54 9 18
eapro_chosen_ajax()
A
54 9 18
Easy_Accordion_Free_Review::dismiss_review_notice()
A
51 8 26
SP_EAP_Options::add_admin_menu()
A
50 8 26
SP_EA_Front_Scripts::easy_accordion_update_options()
A
53 8 24
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
Easy_Accordion_Free_Help::disable_admin_notices()
S
59 8 14
Easy_Accordion_Import_Export::export_accordions()
S
51 7 26
Easy_Accordion_Free_Shortcode::sp_easy_accordion_shortcode()
S
52 7 22
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
eapro_sanitize_border_field()
S
58 6 15
eapro_sanitize_number_array_field()
S
58 6 15
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
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
Easy_Accordion_Free_Post_Type::easy_accordion_post_type()
S
44 3 46
SP_EAP_Field_wp_editor::render()
S
49 4 30
SP_EAP_Options::get_options()
S
59 5 15
Easy_Accordion_Free_Admin::sp_ea_redirect_after_activation()
S
70 6 5
SP_EAP_Fields::field_name()
S
62 6 10
SP_EAP_Options::pre_sections()
S
61 5 14
SP_EAP::constants()
S
58 5 13
SP_EA_Front_Scripts::register_all_scripts()
S
57 5 13
SP_EAP_Field_code_editor::enqueue()
S
59 5 12
eapro_array_search()
S
61 5 12
SP_EASY_ACCORDION_FREE::define_admin_hooks()
S
51 4 23
Easy_Accordion_Free_Preview::sp_eap_backend_preview()
S
53 4 22
SP_EAP_Field_heading::render()
S
69 5 5
SP_EAP_Fields::field_after()
S
65 5 7
SP_EASY_ACCORDION_FREE::eap_wc_tab()
S
62 5 9
Easy_Accordion_Free_Updates::perform_updates()
S
60 4 13
SP_EAP_Field_switcherf::render()
S
58 4 13
SP_EAP_Options::save_options()
S
60 4 12
Easy_Accordion_Free_Loader::run()
S
62 4 11
SP_EAP_Metabox::pre_fields()
S
63 4 11
SP_EAP_Options::add_page_on_load()
S
63 4 11
Easy_Accordion_Free_Admin::display_accordion_admin_fields()
S
61 4 11
SP_EAP_Options::pre_fields()
S
63 4 11
eapro_sanitize_color_group_field()
S
62 4 11
Sp_Easy_Accordion_Shortcode_Widget::render()
S
52 3 24
Sp_Easy_Accordion_Shortcode_Widget::sp_wcsp_post_list()
S
57 3 16
eapro_reset_ajax()
S
63 4 9
eapro_allowed_description_tags()
S
47 1 45
Easy_Accordion_Free_Shortcode::delete_page_accordion_option_on_save()
S
64 4 10
SP_EAP_Field_wp_editor::setup_wp_editor_settings()
S
60 3 14
Easy_Accordion_Free_Gutenberg_Block_Init::sp_easy_accordion_free_render_shortcode()
S
60 3 11
Easy_Accordion_Free_Help::__construct()
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
is_easy_accordion_pro()
S
70 3 6
SP_EAP_Field_color::render()
S
66 3 7
SP_EAP_Field_group::enqueue()
S
68 3 8
SP_EASY_ACCORDION_FREE::init()
S
68 3 7
SP_EAP_Field_notice::render()
S
72 3 4
SP_EAP_Field_wp_editor::enqueue()
S
68 3 7
Easy_Accordion_Free_Product_Tab::woo_new_product_tab_content()
S
66 3 8
SP_EAP_Metabox::get_default()
S
71 3 5
SP_EAP::maybe_include_field()
S
71 3 5
SP_EAP_Options::get_default()
S
71 3 5
SP_EA_Front_Scripts::get_page_data()
S
59 2 15
SP_EAP_Field_code_editor::render()
S
58 2 14
SP_EAP_Options::ajax_save()
S
61 2 13
Sp_Easy_Accordion_Shortcode_Widget::register_controls()
S
56 1 20
SP_EASY_ACCORDION_FREE::includes()
S
57 1 18
Easy_Accordion_Free_Admin::instance()
S
72 2 6
SP_EAP_Field_spinner::enqueue()
S
74 2 5
Easy_Accordion_Free_Element_Shortcode_Addons::instance()
S
72 2 6
SP_EAP_Field_subheading::render()
S
77 2 3
Easy_Accordion_Free_Shortcode::instance()
S
72 2 6
Easy_Accordion_Free_Product_Tab::instance()
S
72 2 6
eapro_customize_validate_email()
S
70 2 6
eapro_sanitize_number_field()
S
70 2 7
Easy_Accordion_Free_Help::instance()
S
72 2 6
SP_EA_Front_Scripts::instance()
S
72 2 6
eapro_validate_email()
S
72 2 5
eapro_customize_validate_numeric()
S
70 2 6
eapro_validate_required()
S
73 2 5
SP_EAP_Metabox::add_meta_box()
S
70 2 5
eapro_validate_url()
S
72 2 5
eapro_validate_numeric()
S
73 2 5
Easy_Accordion_Free_Post_Type::instance()
S
72 2 6
Easy_Accordion_Free_Admin::enqueue_admin_styles()
S
64 2 10
SP_EAP_Field_select::enqueue()
S
74 2 5
eapro_customize_validate_url()
S
70 2 6
Easy_Accordion_Free_Admin::after_easy_accodion_row_meta()
S
69 2 6
SP_EAP_Field_shortcode::render()
S
74 2 4
eapro_customize_validate_required()
S
70 2 6
Easy_Accordion_Free_Admin::sp_eap_review_text()
S
66 2 8
Easy_Accordion_Free_Admin::sp_eap_version_text()
S
68 2 7
SP_EAP_Field_text::render()
S
67 2 6
SP_EAP_Fields::field_before()
S
77 2 3
Easy_Accordion_Free_Admin::add_plugin_action_links()
S
64 2 9
SP_EAP_Abstract::__construct()
S
71 2 5
SP_EAP_Abstract::add_output_css()
S
68 2 6
SP_EAP_Field_license::render()
S
61 1 15
SP_EA_Front_Scripts::front_scripts()
S
64 2 10
eapro_timeout()
S
78 2 3
SP_EAP_Field_spinner::render()
S
58 1 14
Easy_Accordion_Free_Help::help_admin_menu()
S
63 1 13
SP_EAP::init()
S
62 1 11
Easy_Accordion_Free_Gutenberg_Block_Init::sp_easy_accordion_free_block_editor_assets()
S
64 1 11
SP_EAP_Field_theme_select::__construct()
S
78 1 3
Sp_Easy_Accordion_Shortcode_Widget::get_name()
S
82 1 3
eapro_get_google_fonts()
S
68 1 6
Sp_Easy_Accordion_Shortcode_Widget::get_title()
S
79 1 3
SP_EAP_Field_text::__construct()
S
78 1 3
SP_EASY_ACCORDION_FREE::run()
S
82 1 3
Easy_Accordion_Free_Updates::do_updates()
S
82 1 3
SP_EASY_ACCORDION_FREE::load_dependencies()
S
80 1 3
SP_EAP::sanitize_dirname()
S
78 1 3
SP_EAP::is_active_plugin()
S
77 1 3
Easy_Accordion_Free_Admin::filter_accordion_admin_column()
S
67 1 7
Easy_Accordion_Free_Loader::__construct()
S
74 1 5
SP_EAP_Field_color_group::__construct()
S
78 1 3
Easy_Accordion_Free_Help::help_page_enqueue_scripts()
S
71 1 5
SP_EAP_Field_notice::__construct()
S
78 1 3
eapro_sanitize_replace_a_to_b()
S
79 1 3
SP_EAP_Field_switcherf::__construct()
S
78 1 3
Easy_Accordion_Free_Element_Shortcode_Addons::__construct()
S
70 1 6
SP_EAP_Field_typography::__construct()
S
78 1 3
SP_EAP::include_plugin_url()
S
77 1 3
SP_EAP_Field_custom_import::__construct()
S
78 1 3
Easy_Accordion_Free_Loader::add_action()
S
77 1 3
Easy_Accordion_Free_Updates::__construct()
S
79 1 3
Easy_Accordion_Free_Help::recommended_admin_menu()
S
67 1 9
SP_EAP_Field_spinner::__construct()
S
78 1 3
SP_EAP_Field_spacing::__construct()
S
78 1 3
SP_EAP_Fields::__construct()
S
69 1 7
SP_EAP::createMetabox()
S
78 1 3
SP_EAP_Field_shortcode::__construct()
S
78 1 3
SP_EAP_Field_wp_editor::__construct()
S
78 1 3
SP_EAP_Field_wp_editor::setup_wp_editor_media_buttons()
S
64 1 10
SP_EAP_Field_color::__construct()
S
78 1 3
SP_EASY_ACCORDION_FREE::define_constants()
S
73 1 8
SP_EAP::createSection()
S
75 1 4
Easy_Accordion_Free_Element_Shortcode_Addons::init()
S
79 1 3
SP_EAP::set_locale()
S
73 1 5
Easy_Accordion_Free_Help::install_plugin_link()
S
78 1 3
Sp_Easy_Accordion_Shortcode_Widget::get_categories()
S
81 1 3
SP_EAP_Field_heading::__construct()
S
78 1 3
Easy_Accordion_Free_I18n::load_plugin_textdomain()
S
69 1 7
SP_EAP::includes()
S
65 1 10
SP_EASY_ACCORDION_FREE::sp_easy_accordion_body_class()
S
77 1 4
Easy_Accordion_Free_Element_Shortcode_Addons::easy_accordion_free_addons_icon()
S
78 1 3
Easy_Accordion_Free_Gutenberg_Block::__construct()
S
76 1 4
Easy_Accordion_Free_Help::activate_plugin_link()
S
77 1 3
SP_EAP_Field_group::__construct()
S
78 1 3
SP_EAP_Field_select::__construct()
S
78 1 3
SP_EAP_Field_switcher::__construct()
S
78 1 3
SP_EASY_ACCORDION_FREE::define_common_hooks()
S
67 1 7
sp_easy_accordion()
S
77 1 4
Easy_Accordion_Free_Preview::easy_accordion_preview_action()
S
79 1 3
SP_EAP_Options::instance()
S
79 1 3
Easy_Accordion_Free_Element_Shortcode_Addons::eaf_addons_enqueue_styles()
S
77 1 4
Easy_Accordion_Free_Gutenberg_Block_Init::__construct()
S
75 1 4
Easy_Accordion_Free_Element_Shortcode_Addons::init_widgets()
S
75 1 4
SP_EAP_Metabox::instance()
S
79 1 3
SP_EAP_Field_custom_import::render()
S
67 1 8
eapro_get_default_icons()
S
53 1 8
SP_EAP_Field_radio::__construct()
S
78 1 3
eapro_get_default_icons()
S
50 1 8
SP_EA_Front_Scripts::__construct()
S
75 1 4
SP_EAP_Field_license::__construct()
S
78 1 3
SP_EAP_Field_image_select::__construct()
S
78 1 3
Easy_Accordion_Free_Loader::add_shortcode()
S
77 1 3
SP_EASY_ACCORDION_FREE::setup()
S
69 1 8
eapro_wp_editor_api()
S
76 1 4
eapro_sanitize_title()
S
81 1 3
eapro_allowed_title_tags()
S
66 1 9
SP_EAP_Field_icon::__construct()
S
78 1 3
SP_EAP_Field_checkbox::__construct()
S
78 1 3
Easy_Accordion_Free_Help::is_plugin_active()
S
79 1 3
SP_EAP_Field_preview::__construct()
S
78 1 3
Easy_Accordion_Free_Loader::add()
S
64 1 10
Easy_Accordion_Free_Help::lite_to_pro_admin_menu()
S
67 1 9
Easy_Accordion_Free_Element_Shortcode_Addons::on_plugins_loaded()
S
79 1 3
Easy_Accordion_Free_Element_Shortcode_Addons::eaf_addons_enqueue_scripts()
S
77 1 4
Easy_Accordion_Free_Preview::__construct()
S
82 1 3
Easy_Accordion_Free_Shortcode::__construct()
S
75 1 4
Easy_Accordion_Free_Help::is_plugin_installed()
S
78 1 3
SP_EAP::createOptions()
S
78 1 3
SP_EAP_Field_button_set::__construct()
S
78 1 3
Sp_Easy_Accordion_Shortcode_Widget::get_icon()
S
82 1 3
SP_EAP_Field_border::__construct()
S
78 1 3
SP_EAP_Field_code_editor::__construct()
S
78 1 3
SP_EAP_Field_subheading::__construct()
S
78 1 3
Easy_Accordion_Free_Loader::add_filter()
S
77 1 3
SP_EAP_Field_preview::render()
S
82 1 3