Code Analysis: Phoenix Media Rename 3.10.0

Function Rating Maintainability Complexity Lines of code
Phoenix_Media_Rename::clear_filename()
B
40 22 56
Phoenix_Media_Rename::do_rename()
B
33 19 94
Phoenix_Media_Rename::validate()
A
54 12 17
pmr_plugins::add_redirection()
A
41 9 58
Phoenix_Media_Rename::ajax_pnx_rename()
A
42 9 53
pmr_plugins::update_elementor_data()
A
46 9 41
Phoenix_Media_Rename::file_parts()
A
43 8 50
Phoenix_Media_Rename::update_posts()
A
50 8 25
pmr_settings_page::page_init()
A
35 1 126
Phoenix_Media_Rename::update_metadata()
S
51 7 26
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
57 6 16
Phoenix_Media_Rename::get_attachment_urls()
S
56 5 17
Phoenix_Media_Rename::retitle_required()
S
61 5 12
pmr_settings_page::sanitize()
S
52 4 27
Phoenix_Media_Rename::handle_bulk_pnx_rename_form_submit()
S
61 5 12
pmr_plugins::update_shortpixel_filenames()
S
53 4 23
Phoenix_Media_Rename::rename_file_debug()
S
53 4 23
Phoenix_Media_Rename::increment_filename()
S
55 4 21
Phoenix_Media_Rename::__construct()
S
66 5 7
pmr_plugins::rename()
S
57 4 15
pmr_plugins::update_wpml()
S
60 4 13
Phoenix_Media_Rename::write_db_value()
S
52 3 28
Phoenix_Media_Rename::get_filename_field()
S
58 3 17
pmr_activate()
S
59 3 15
pmr_plugin_update_message()
S
66 4 9
pmr_options::get_option_boolean()
S
62 3 13
Phoenix_Media_Rename::ends_with()
S
61 3 13
Phoenix_Media_Rename::check_post_parent()
S
60 3 13
pmr_options::clear_options()
S
63 3 12
pmr_db::pmr_drop_tables()
S
64 3 11
Phoenix_Media_Rename::add_filename_field()
S
61 3 11
Phoenix_Media_Rename::serialize_if_file_exists()
S
62 3 11
Phoenix_Media_Rename::rename_file()
S
62 3 11
pmr_options::get_option_text()
S
64 3 11
Phoenix_Media_Rename::print_js()
S
56 2 20
pmr_options::__construct()
S
56 2 17
Phoenix_Media_Rename::title_from_post()
S
64 3 10
Phoenix_Media_Rename::name_from_post()
S
64 3 10
pmr_settings_page::sanitize_boolean()
S
68 3 7
Phoenix_Media_Rename::rename_required()
S
64 3 10
pmr_plugins::update_single_shortpixel_table()
S
59 2 15
pmr_options::update_options()
S
65 3 8
phoenix_media_rename_init()
S
58 2 15
pmr_plugins::update_shortpixel_metadata()
S
62 2 11
pmr_settings_page::__construct()
S
57 1 16
pmr_lib::unserialize_deep()
S
71 2 6
Phoenix_Media_Rename::get_category_from_post_parent()
S
66 2 8
Phoenix_Media_Rename::starts_with()
S
66 2 8
Phoenix_Media_Rename::generate_full_filename()
S
66 2 7
pmr_plugins::is_plugin_active()
S
68 2 7
Phoenix_Media_Rename::get_filename_from_post_parent()
S
66 2 9
Phoenix_Media_Rename::print_css()
S
73 2 5
pmr_settings_page::get_value_textbox()
S
74 2 4
pmr_update_db()
S
71 2 6
pmr_settings_page::sanitize_text()
S
69 2 7
pmr_lib::print_options_js()
S
71 2 5
Phoenix_Media_Rename::frontend_support()
S
73 2 5
pmr_lib::table_exist()
S
67 2 8
is_countable()
S
79 2 3
pmr_settings_page::get_value_checkbox()
S
65 2 9
Phoenix_Media_Rename::show_bulk_pnx_rename_success_notice()
S
71 2 5
Phoenix_Media_Rename::add_filename_column_content()
S
68 2 7
pmr_settings_page::create_admin_page()
S
61 1 15
pmr_db::pmr_create_db_table()
S
61 1 14
pmr_db::pmr_update_db_table()
S
61 1 14
Phoenix_Media_Rename::add_special_chars()
S
79 1 3
pmr_settings_page::pmr_filename_header_callback()
S
75 1 4
pmr_settings_page::pmr_add_action_links()
S
67 1 7
Phoenix_Media_Rename::do_retitle()
S
76 1 4
Phoenix_Media_Rename::reset_bulk_rename()
S
71 1 6
pmr_deactivate()
S
83 1 3
pmr_settings_page::pmr_filename_lowercase_callback()
S
74 1 4
Phoenix_Media_Rename::get_file_parts()
S
75 1 4
pmr_settings_page::pmr_category_filename_header_callback()
S
74 1 4
pmr_settings_page::print_serialize_if_present_section_info()
S
79 1 3
phoenix_media_rename_load_plugin_textdomain()
S
77 1 3
pmr_settings_page::print_filename_lowercase_section_info()
S
79 1 3
pmr_settings_page::print_create_redirection_section_info()
S
79 1 3
pmr_settings_page::print_sanitize_filename_section_info()
S
74 1 5
pmr_settings_page::print_create_filename_section_info()
S
79 1 3
Phoenix_Media_Rename::get_filename()
S
76 1 4
pmr_settings_page::pmr_sanitize_filenames_callback()
S
74 1 4
Phoenix_Media_Rename::build_filename()
S
81 1 3
pmr_settings_page::print_remove_accent_section_info()
S
79 1 3
pmr_settings_page::pmr_create_redirection_callback()
S
74 1 4
pmr_settings_page::add_pmr_settings_page()
S
67 1 9
pmr_settings_page::pmr_remove_accents_callback()
S
74 1 4
pmr_settings_page::print_debug_mode_section_info()
S
79 1 3
Phoenix_Media_Rename::read_db_value()
S
72 1 5
pmr_settings_page::pmr_filename_trailer_callback()
S
75 1 4
pmr_settings_page::pmr_update_revisions_callback()
S
74 1 4
pmr_settings_page::pmr_category_filename_trailer_callback()
S
74 1 4
pmr_settings_page::print_section_revisions_info()
S
79 1 3
Phoenix_Media_Rename::add_filename_column()
S
77 1 4
pmr_options::get_all_options()
S
77 1 3
Phoenix_Media_Rename::filename_to_title()
S
82 1 3
pmr_settings_page::pmr_serialize_if_filename_present_callback()
S
74 1 4
pmr_settings_page::pmr_debug_mode_callback()
S
74 1 4
pmr_db::pmr_drop_table()
S
69 1 7