Code Analysis: Easy restaurant menu manager 1.9.1

Function Rating Maintainability Complexity Lines of code
nsc_easy_pdf_restaurant_menu::delete_unused_files()
A
44 13 47
admin_html_formfields_nsc_eprm::return_form_field_nsc_eprm()
A
51 11 28
admin_settings_nsc_eprm::register_settings_nsc_eprm()
A
50 9 25
downloadFile_nsc_eprm::handle_custom_file_request_nsc_eprm()
A
46 7 36
nsc_easy_pdf_restaurant_menu::return_menu_file_name_for_download()
S
56 7 18
nsc_easy_pdf_restaurant_menu::create_href_link()
S
49 6 28
nsc_easy_pdf_restaurant_menu::nsc_eprm_save_menu()
S
49 6 28
plugin_configs_nsc_eprm::add_html_description_templates()
S
58 6 15
nsc_easy_pdf_restaurant_menu::nsc_eprm_return_download_url()
S
60 6 11
plugin_configs_nsc_eprm::get_option_nsc_eprm()
S
56 5 18
nsc_easy_pdf_restaurant_menu::delete_unused_file_db_entries()
S
57 5 16
uninstaller_nsc_eprm::remove_directory_nsc_eprm()
S
59 5 14
nsc_easy_pdf_restaurant_menu::nsc_eprm_redirect_to_menu_upload_page()
S
61 5 12
plugin_configs_nsc_eprm::add_current_setting_values()
S
56 4 18
clean_input_validation_nsc_eprm::validate_upload_nsc_eprm()
S
58 4 15
nsc_easy_pdf_restaurant_menu::scan_dir()
S
59 4 13
admin_settings_nsc_eprm::return_default_menu_types_nsc_eprm()
S
60 4 12
plugin_configs_nsc_eprm::return_settings_field_nsc_eprm()
S
62 4 11
admin_settings_nsc_eprm::current_user_can_nsc_eprm()
S
63 4 11
admin_settings_nsc_eprm::create_admin_page_nsc_eprm()
S
55 3 18
admin_settings_nsc_eprm::nsc_eprm_migrate_user_role()
S
59 3 15
admin_html_formfields_nsc_eprm::create_select()
S
60 3 12
nsc_easy_pdf_restaurant_menu::return_menu_file_base_url()
S
61 3 11
admin_html_formfields_nsc_eprm::create_radio()
S
61 3 11
clean_input_validation_nsc_eprm::sanitize_user_input_nsc_eprm()
S
63 3 11
clean_input_validation_nsc_eprm::check_if_json_is_valid_nsc_eprm()
S
68 3 7
nsc_easy_pdf_restaurant_menu::return_menu_file_name_without_extension()
S
58 2 15
nsc_easy_pdf_restaurant_menu::show_admin_messages()
S
67 3 8
plugin_configs_nsc_eprm::return_plugin_configs_without_db_settings_nsc_eprm()
S
66 3 9
api_nsc_eprm::rest_api_init_nsc_eprm()
S
58 2 15
admin_html_formfields_nsc_eprm::create_display()
S
66 3 8
gutenberg_nsc_eprm::register_blocks_nsc_eprm()
S
59 2 15
nsc_easy_pdf_restaurant_menu::return_menu_file_name_without_extension_deprecated()
S
59 2 13
plugin_configs_nsc_eprm::read_config_file()
S
63 2 11
plugin_configs_nsc_eprm::return_plugin_configs_nsc_eprm()
S
68 2 8
plugin_configs_nsc_eprm::return_plugin_upload_base_dir_nsc_eprm()
S
65 2 9
plugin_configs_nsc_eprm::get_active_tab()
S
67 2 8
nsc_easy_pdf_restaurant_menu::nsc_eprm_admin_notice_update()
S
69 2 6
clean_input_validation_nsc_eprm::text_only_nsc_eprm()
S
67 2 8
nsc_easy_pdf_restaurant_menu::nsc_eprm_admin_notice_error()
S
69 2 6
admin_html_formfields_nsc_eprm::convert_to_string()
S
72 2 6
uninstaller_nsc_eprm::delete_options_nsc_eprm()
S
69 2 7
uninstaller_nsc_eprm::get_all_settings_nsc_eprm()
S
65 2 9
admin_html_formfields_nsc_eprm::create_text()
S
67 2 7
nsc_easy_pdf_restaurant_menu::return_menu_upload_dir()
S
67 2 8
nsc_easy_pdf_restaurant_menu::nsc_eprm_shortcode_processor()
S
59 1 14
gutenberg_nsc_eprm::add_block_category_nsc_eprm()
S
65 1 11
nsc_easy_pdf_restaurant_menu::nsc_eprm_shortcode_file_url()
S
63 1 11
downloadFile_nsc_eprm::custom_query_vars_nsc_eprm()
S
77 1 4
plugin_configs_nsc_eprm::plugin_prefix_nsc_eprm()
S
77 1 4
nsc_easy_pdf_restaurant_menu::add_admin_message()
S
80 1 3
plugin_configs_nsc_eprm::plugin_slug_nsc_eprm()
S
77 1 4
nsc_easy_pdf_restaurant_menu::nsc_eprm_deactivate()
S
81 1 3
downloadFile_nsc_eprm::custom_rewrite_rules_nsc_eprm()
S
71 1 7
admin_settings_nsc_eprm::set_plugin_config_settings_nsc_eprm()
S
76 1 4
nsc_easy_pdf_restaurant_menu::nsc_eprm_add_redirect_filter()
S
74 1 4
admin_settings_nsc_eprm::add_admin_menu_nsc_eprm()
S
78 1 3
nsc_easy_pdf_restaurant_menu::__construct()
S
73 1 5
nsc_easy_pdf_restaurant_menu::nsc_eprm_cleanup_unused_entries_and_files()
S
77 1 4
admin_html_formfields_nsc_eprm::create_hidden_field()
S
77 1 3
admin_settings_nsc_eprm::add_settings_link_nsc_eprm()
S
71 1 5
clean_input_validation_nsc_eprm::unixtimestamp_to_date_nsc_eprm()
S
76 1 3
plugin_configs_nsc_eprm::replace_variables_in_config_nsc_eprm()
S
67 1 7
admin_html_formfields_nsc_eprm::create_button()
S
77 1 3
admin_settings_nsc_eprm::execute_wordpress_actions_nsc_eprm()
S
72 1 5
admin_html_formfields_nsc_eprm::create_checkbox()
S
76 1 3
clean_input_validation_nsc_eprm::gmt_timestamp_to_date_nsc_eprm()
S
76 1 3
admin_html_formfields_nsc_eprm::create_textarea()
S
77 1 3
uninstaller_nsc_eprm::__construct()
S
76 1 4
admin_settings_nsc_eprm::__construct()
S
76 1 4
admin_html_formfields_nsc_eprm::create_file()
S
78 1 3
nsc_easy_pdf_restaurant_menu::nsc_eprm_user_role()
S
66 1 9