Code Analysis: Phoenix Media Rename 3.11.6

Function Rating Maintainability Complexity Lines of code
Phoenix_Media_Rename::do_rename()
B
34 19 85
pmr_lib::clear_filename()
B
42 19 53
pmr_lib::file_parts()
A
41 10 57
pmr_lib::validate_filename()
A
54 12 17
pmr_plugins::add_redirection()
A
41 9 58
Phoenix_Media_Rename::ajax_pnx_rename()
A
42 9 52
Phoenix_Media_Rename::update_posts()
A
48 10 30
pmr_plugins::update_elementor_data()
A
46 9 41
pmr_settings_page::page_init()
A
33 1 139
Phoenix_Media_Rename::update_metadata()
S
52 7 26
pmr_plugins::update_picture_src()
S
52 7 24
Phoenix_Media_Rename::delete_files()
S
53 7 23
pmr_plugins::update_single_shortpixel_metadata()
S
55 7 20
pmr_plugins::update_smartslider()
S
49 6 33
pmr_lib::replace_media_urls()
S
59 7 12
Phoenix_Media_Rename::rename_files()
S
58 6 15
Phoenix_Media_Rename::get_attachment_urls()
S
56 5 17
pmr_settings_page::sanitize()
S
51 4 29
Phoenix_Media_Rename::handle_bulk_pnx_rename_form_submit()
S
61 5 12
Phoenix_Media_Rename::retitle_required()
S
61 5 12
Phoenix_Media_Rename::rename_file_debug()
S
53 4 23
pmr_plugins::update_shortpixel_filenames()
S
53 4 23
pmr_lib::increment_filename()
S
55 4 21
phoenix_media_rename_init()
S
55 4 18
pmr_plugins::rename()
S
57 4 15
Phoenix_Media_Rename::__construct()
S
66 5 7
Phoenix_Media_Rename::write_db_value()
S
52 3 28
pmr_plugins::update_wpml()
S
60 4 13
Phoenix_Media_Rename::get_filename_field()
S
58 3 17
pmr_plugin_update_message()
S
66 4 9
pmr_activate()
S
59 3 15
Phoenix_Media_Rename::check_post_parent()
S
60 3 13
pmr_options::get_option_boolean()
S
62 3 13
pmr_lib::ends_with()
S
61 3 13
pmr_options::clear_options()
S
63 3 12
pmr_options::get_option_text()
S
64 3 11
Phoenix_Media_Rename::add_filename_field()
S
61 3 11
Phoenix_Media_Rename::rename_file()
S
62 3 11
pmr_lib::serialize_if_file_exists()
S
62 3 11
pmr_db::pmr_drop_tables()
S
64 3 11
Phoenix_Media_Rename::print_js()
S
55 2 20
pmr_options::__construct()
S
55 2 18
pmr_options::update_options()
S
65 3 8
pmr_settings_page::sanitize_boolean()
S
68 3 7
Phoenix_Media_Rename::title_from_post()
S
64 3 10
pmr_plugins::update_single_shortpixel_table()
S
59 2 15
Phoenix_Media_Rename::name_from_post()
S
64 3 10
Phoenix_Media_Rename::rename_required()
S
64 3 10
pmr_plugins::update_beaver_builder_data()
S
65 3 8
pmr_plugins::update_shortpixel_metadata()
S
62 2 11
pmr_file_info::__construct()
S
54 1 20
pmr_settings_page::__construct()
S
56 1 17
pmr_lib::print_options_js()
S
71 2 5
pmr_update_db()
S
71 2 6
Phoenix_Media_Rename::show_bulk_pnx_rename_success_notice()
S
71 2 5
pmr_lib::table_exist()
S
67 2 8
pmr_lib::starts_with()
S
66 2 8
pmr_settings_page::sanitize_text()
S
69 2 7
pmr_plugins::update_beaver_builder_meta()
S
69 2 6
pmr_settings_page::create_admin_page()
S
61 1 15
Phoenix_Media_Rename::frontend_support()
S
73 2 5
is_countable()
S
79 2 3
Phoenix_Media_Rename::get_filename_from_post_parent()
S
66 2 9
Phoenix_Media_Rename::get_category_from_post_parent()
S
66 2 8
Phoenix_Media_Rename::add_filename_column_content()
S
68 2 7
pmr_lib::unserialize_deep()
S
71 2 6
str_contains()
S
78 2 3
pmr_settings_page::get_value_textbox()
S
74 2 4
Phoenix_Media_Rename::print_css()
S
73 2 5
pmr_settings_page::get_value_checkbox()
S
65 2 9
pmr_plugins::is_plugin_active()
S
68 2 7
pmr_db::pmr_update_db_table()
S
61 1 14
pmr_db::pmr_create_db_table()
S
61 1 14
Phoenix_Media_Rename::generate_full_filename()
S
75 1 4
Phoenix_Media_Rename::add_filename_column()
S
77 1 4
pmr_lib::get_file_parts()
S
75 1 4
pmr_settings_page::print_serialize_if_present_section_info()
S
79 1 3
pmr_deactivate()
S
83 1 3
pmr_settings_page::pmr_add_action_links()
S
67 1 7
Phoenix_Media_Rename::do_retitle()
S
76 1 4
pmr_settings_page::pmr_enable_alttext_integration_callback()
S
74 1 4
pmr_settings_page::pmr_remove_accents_callback()
S
74 1 4
Phoenix_Media_Rename::filename_to_title()
S
82 1 3
pmr_lib::get_filename()
S
76 1 4
Phoenix_Media_Rename::reset_bulk_rename()
S
71 1 6
pmr_settings_page::print_create_filename_section_info()
S
79 1 3
pmr_settings_page::print_create_redirection_section_info()
S
79 1 3
pmr_settings_page::print_create_integrations_section_info()
S
79 1 3
pmr_settings_page::pmr_category_filename_header_callback()
S
74 1 4
pmr_settings_page::print_debug_mode_section_info()
S
79 1 3
pmr_settings_page::pmr_sanitize_filenames_callback()
S
74 1 4
pmr_options::get_all_options()
S
77 1 3
pmr_settings_page::print_sanitize_filename_section_info()
S
74 1 5
pmr_settings_page::pmr_create_redirection_callback()
S
74 1 4
pmr_settings_page::pmr_filename_lowercase_callback()
S
74 1 4
Phoenix_Media_Rename::build_filename()
S
81 1 3
pmr_settings_page::pmr_filename_trailer_callback()
S
75 1 4
pmr_on_alttext_generated()
S
80 1 3
Phoenix_Media_Rename::add_special_chars()
S
78 1 3
pmr_settings_page::pmr_category_filename_trailer_callback()
S
74 1 4
pmr_settings_page::pmr_debug_mode_callback()
S
74 1 4
pmr_settings_page::print_filename_lowercase_section_info()
S
79 1 3
pmr_settings_page::pmr_filename_header_callback()
S
75 1 4
pmr_db::pmr_drop_table()
S
69 1 7
phoenix_media_rename_load_plugin_textdomain()
S
77 1 3
pmr_settings_page::print_remove_accent_section_info()
S
79 1 3
pmr_settings_page::add_pmr_settings_page()
S
67 1 9
pmr_settings_page::pmr_update_revisions_callback()
S
74 1 4
pmr_lib::esl_basename()
S
79 1 3
pmr_settings_page::print_section_revisions_info()
S
79 1 3
pmr_settings_page::pmr_serialize_if_filename_present_callback()
S
74 1 4
Phoenix_Media_Rename::read_db_value()
S
72 1 5