Code Analysis: Starter Templates by FancyWP 2.0.0

Function Rating Maintainability Complexity Lines of code
Starter_Templates_Export::export_wp()
D
18
36 268
TGMPA_List_Table::process_bulk_actions()
D
26
34 155
TGM_Plugin_Activation::notices()
D
32 34 94
Starter_Templates_WXR_Importer::process_post()
C
27
26 150
Starter_Templates_WXR_Importer::parse_post_node()
C
33 28 93
Starter_Templates_Ajax::ajax_download_files()
C
30 26 114
TGM_Plugin_Activation::do_plugin_install()
C
32 25 99
Starter_Templates_Ajax::_import_widgets()
C
37 26 67
Starter_Templates_WXR_Importer::import()
B
34 20 102
Starter_Templates_Ajax::_import_theme_mod()
B
41 21 49
Starter_Templates_WXR_Importer::get_preliminary_information()
B
37 18 77
Starter_Templates_WXR_Importer::parse_comment_node()
B
42 17 55
tgmpa_load_bulk_installer()
B
26
7 204
Starter_Templates_WXR_Importer::process_comments()
B
39 16 62
TGM_Plugin_Activation::maybe_adjust_source_dir()
A
45 15 36
Starter_Templates_Placeholder::progress_beaver_data()
A
48 14 34
Starter_Templates_WXR_Importer::post_process_posts()
A
38 11 76
TGM_Plugin_Activation::init()
A
36 10 85
Starter_Templates_Placeholder::progress_meta()
A
46 13 40
Starter_Templates_WXR_Importer::process_author()
A
40 11 64
TGMPA_Utils::emulate_filter_bool()
A
47 12 33
Starter_Templates_Placeholder::progress_post_meta()
A
49 12 30
Starter_Templates_WXR_Importer::process_attachment()
A
44 11 41
Starter_Templates_Export::post_item()
A
38 8 78
Starter_Templates_Ajax::_get_widgets_export_data()
A
48 11 32
Starter_Templates_WXR_Import_UI::get_author_mapping()
A
48 11 31
Starter_Templates_WXR_Importer::process_term()
A
41 9 57
Starter_Templates_Importer_Logger_ServerSentEvents::log()
A
52 11 24
TGMPA_List_Table::column_version()
A
47 10 37
Starter_Templates_WXR_Importer::process_post_meta()
A
48 10 34
Starter_Templates_WXR_Importer::fetch_remote_file()
A
44 9 45
Starter_Templates_Ajax::ajax_export()
A
41 8 55
TGM_Plugin_Activation::activate_single_plugin()
A
46 9 39
Starter_Templates_WXR_Importer::post_process_comments()
A
44 8 51
TGM_Plugin_Activation::register()
A
47 9 36
TGMPA_List_Table::get_views()
A
48 9 34
Starter_Templates_WXR_Importer::parse_term_node()
A
44 8 47
Starter_Templates_Export::get_export_file_name()
A
48 9 32
Starter_Templates_WXR_Importer::parse_author_node()
A
50 9 30
Starter_Templates_WXR_Importer::process_menu_item_meta()
A
46 8 40
TGM_Plugin_Activation::create_user_action_links_for_notice()
A
45 8 40
Starter_Templates_Placeholder::progress_config()
A
53 9 24
Starter_Templates_WXR_Importer::parse_authors()
A
47 8 38
TGMPA_List_Table::get_row_actions()
A
47 8 34
Starter_Templates::is_license_valid()
A
56 9 19
Starter_Templates_Ajax::get_export_file_name()
A
49 8 29
TGMPA_List_Table::get_plugin_status_text()
A
51 8 26
TGMPA_Bulk_Installer::bulk_install()
A
42 6 55
Starter_Templates_WXR_Importer::post_process_menu_item()
A
47 7 37
tgmpa()
A
53 8 21
Starter_Templates_Ajax::ajax_import_options()
S
51 7 27
TGMPA_List_Table::categorize_plugins_to_views()
S
52 7 26
TGM_Plugin_Activation::install_plugins_page()
S
52 7 26
Starter_Templates_Ajax::download_file()
S
52 7 24
Starter_Templates_WXR_Import_UI::import()
S
45 6 39
Starter_Templates_Ajax::media_handle_sideload()
S
47 6 36
Starter_Templates_WXR_Importer::parse_meta_node()
S
55 7 19
Starter_Templates_Ajax::_import_options()
S
57 7 18
TGMPA_List_Table::get_bulk_actions()
S
56 7 17
TGM_Plugin_Activation::is_core_update_page()
S
59 7 14
TGM_Plugin_Activation::inject_update_info()
S
54 6 20
Starter_Templates_Ajax::down_load_image()
S
50 5 29
Starter_Templates_Placeholder::wp_get_attachment_url()
S
59 6 14
Starter_Templates_Placeholder::progress_elementor_data()
S
59 6 14
TGM_Plugin_Activation::overload_textdomain_mofile()
S
61 6 12
Starter_Templates::admin_notice()
S
53 5 23
Starter_Templates_WXR_Importer::parse_category_node()
S
56 5 20
Starter_Templates_WXR_Importer::import_start()
S
56 5 18
TGMPA_List_Table::_gather_plugin_data()
S
49 4 30
Starter_Templates_WXR_Importer::term_exists()
S
58 5 15
Starter_Templates_WXR_Importer::set_user_mapping()
S
58 5 14
Starter_Templates_Plugin::ajax()
S
50 4 29
TGM_Plugin_Activation::add_plugin_action_link_filters()
S
59 5 13
TGM_Plugin_Activation::get_info_link()
S
51 4 28
Starter_Templates_Placeholder::init()
S
62 5 12
TGM_Plugin_Activation::force_deactivation()
S
60 5 12
TGM_Plugin_Activation::force_activation()
S
62 5 11
Starter_Templates_WXR_Import_UI::get_data_for_attachment()
S
52 4 25
TGM_Plugin_Activation::config()
S
54 4 24
wxr_authors_list()
S
51 4 24
Starter_Templates_Ajax::get_config_options()
S
56 4 19
TGMPA_Bulk_Installer::auto_activate()
S
57 4 17
TGM_Plugin_Activation::get_plugins_api()
S
57 4 16
TGMPA_List_Table::get_plugin_source_type_text()
S
59 4 15
TGM_Plugin_Activation::populate_file_path()
S
64 5 9
Starter_Templates::get_installed_plugins()
S
59 4 15
TGM_Plugin_Activation::admin_init()
S
59 4 14
wxr_nav_menu_terms()
S
60 4 13
Starter_Templates_WXR_Importer::get_reader()
S
60 4 13
TGM_Plugin_Activation::get_admin_notice_class()
S
60 4 13
TGM_Plugin_Activation::does_plugin_have_update()
S
60 4 13
Starter_Templates_Ajax::_get_available_widgets()
S
61 4 12
Starter_Templates_WXR_Importer::post_exists()
S
61 4 12
Starter_Templates_WXR_Importer::comment_exists()
S
61 4 12
TGM_Plugin_Activation::load_textdomain()
S
60 4 12
TGM_Plugin_Activation::get_download_url()
S
62 4 12
Starter_Templates_Placeholder::replace_placeholder()
S
63 4 11
TGMPA_Bulk_Installer::__construct()
S
61 4 11
Starter_Templates_Placeholder::image_reg_url_cb()
S
62 4 11
TGMPA_Bulk_Installer_Skin::add_strings()
S
54 3 20
TGMPA_Bulk_Installer_Skin::bulk_footer()
S
54 3 19
TGM_Plugin_Activation::get_tgmpa_url()
S
58 3 16
Starter_Templates_WXR_Importer::remap_featured_images()
S
63 4 10
TGM_Plugin_Activation::get_plugin_source_type()
S
65 4 9
TGM_Plugin_Activation::_get_plugin_data_from_name()
S
66 4 8
TGM_Plugin_Activation::is_tgmpa_complete()
S
63 4 10
TGM_Plugin_Activation::can_plugin_update()
S
63 4 10
TGMPA_List_Table::__construct()
S
58 3 14
Starter_Templates_Placeholder::maybe_insert_placeholder()
S
60 3 14
TGMPA_List_Table::get_columns()
S
59 3 13
starter_templates_plugin_activate()
S
62 3 12
Starter_Templates_Placeholder::upload_placeholder_attachment()
S
50 2 27
TGMPA_Bulk_Installer::run()
S
63 3 11
Starter_Templates_Placeholder::content_replace_placeholder()
S
59 2 17
TGM_Plugin_Activation::admin_menu()
S
57 2 17
TGM_Plugin_Activation::is_plugin_updatetable()
S
68 3 7
TGM_Plugin_Activation::get_upgrade_notice()
S
63 3 10
wxr_post_taxonomy()
S
62 3 10
starter_templates_admin_footer()
S
64 3 9
TGM_Plugin_Activation::dismiss()
S
71 3 5
TGMPA_Utils::validate_bool()
S
64 3 10
TGM_Plugin_Activation::_get_plugin_basename_from_slug()
S
65 3 9
wxr_term_meta()
S
63 3 9
TGM_Plugin_Activation::get_wp_repo_download_url()
S
67 3 8
Starter_Templates_WXR_Importer::sort_comments_by_id()
S
66 3 9
TGM_Plugin_Activation::get_instance()
S
70 3 6
Starter_Templates_WXR_Importer::post_process()
S
67 3 8
TGM_Plugin_Activation::add_admin_menu()
S
62 3 10
Starter_Templates_Plugin::get_instance()
S
70 3 6
TGM_Plugin_Activation::display_settings_errors()
S
64 3 10
TGM_Plugin_Activation::is_plugin_active()
S
76 3 3
TGMPA_List_Table::wp_plugin_update_row()
S
60 2 14
Starter_Templates_Export::__construct()
S
61 2 12
TGMPA_List_Table::prepare_items()
S
62 2 11
Starter_Templates_WXR_Importer::import_end()
S
63 2 11
Starter_Templates_WXR_Importer::__construct()
S
55 1 22
Starter_Templates_Plugin::do_register_plugin()
S
55 1 22
Starter_Templates::get_support_plugins()
S
56 1 18
Starter_Templates::get_localize_script()
S
57 1 16
Starter_Templates_Placeholder::get_instance()
S
70 2 7
wxr_term_description()
S
73 2 5
TGM_Plugin_Activation::actions()
S
72 2 6
wxr_term_name()
S
73 2 5
Starter_Templates_WXR_Import_UI::imported_post()
S
69 2 7
Starter_Templates_WXR_Import_UI::already_imported_post()
S
69 2 7
TGMPA_List_Table::get_primary_column_name()
S
69 2 7
Starter_Templates_WXR_Importer::log_error()
S
68 2 7
TGMPA_List_Table::get_plugin_advise_type_text()
S
70 2 6
TGMPA_List_Table::sort_table_items()
S
63 2 10
wxr_tag_name()
S
73 2 5
wxr_category_description()
S
73 2 5
TGM_Plugin_Activation::get_installed_version()
S
68 2 7
Starter_Templates_Ajax::_get_elementor_settings()
S
64 2 9
Starter_Templates_Placeholder::gallery_reg_cb()
S
65 2 8
TGM_Plugin_Activation::thickbox()
S
72 2 5
Starter_Templates_WXR_Importer::is_valid_meta_key()
S
71 2 6
TGMPA_Bulk_Installer_Skin::after()
S
69 2 7
TGM_Plugin_Activation::correct_plugin_mofile()
S
70 2 6
TGMPA_Bulk_Installer_Skin::before()
S
71 2 6
TGMPA_List_Table::set_view_totals()
S
72 2 5
Starter_Templates::get_instance()
S
65 2 9
wxr_cdata()
S
68 2 7
TGM_Plugin_Activation::get_plugins()
S
70 2 6
Starter_Templates::admin_scripts()
S
62 2 10
TGM_Plugin_Activation::can_plugin_activate()
S
78 2 3
Starter_Templates_WXR_Importer::prefill_existing_comments()
S
65 2 8
Starter_Templates_Ajax::the_title_rss()
S
72 2 6
Starter_Templates_WXR_Importer::prefill_existing_terms()
S
62 2 10
Starter_Templates_WXR_Importer::set_user_slug_overrides()
S
73 2 5
wxr_cat_name()
S
73 2 5
wxr_tag_description()
S
73 2 5
Starter_Templates_Export::the_title_rss()
S
72 2 6
TGMPA_List_Table::extra_tablenav()
S
74 2 5
starter_templates_export_wp()
S
72 2 5
TGM_Plugin_Activation::is_tgmpa_page()
S
78 2 3
wxr_filter_postmeta()
S
74 2 5
Starter_Templates::get_activated_plugins()
S
67 2 8
Starter_Templates_WXR_Importer::prefill_existing_posts()
S
67 2 7
Starter_Templates_Ajax::user_can()
S
74 2 5
Starter_Templates_WXR_Importer::replace_attachment_urls_in_content()
S
62 2 10
Starter_Templates_Plugin::activate_single_plugin()
S
70 2 6
wxr_site_url()
S
72 2 6
TGMPA_Bulk_Installer_Skin::__construct()
S
61 1 12
Starter_Templates_WXR_Importer::mark_term_exists()
S
74 1 4
Starter_Templates_WXR_Import_UI::allow_fetch_attachments()
S
79 1 3
Starter_Templates_Ajax::install_theme()
S
100 1 2
Starter_Templates_Importer_Logger::warning()
S
79 1 3
TGM_Plugin_Activation::flush_plugins_cache()
S
81 1 3
Starter_Templates_WXR_Importer::mark_comment_exists()
S
74 1 4
TGM_Plugin_Activation::__get()
S
81 1 3
TGMPA_List_Table::column_default()
S
80 1 3
TGMPA_List_Table::column_plugin()
S
69 1 7
Starter_Templates_WXR_Importer::cmpr_strlen()
S
79 1 3
Starter_Templates_WXR_Import_UI::imported_user()
S
80 1 3
Starter_Templates_Export::wp_export_filename()
S
76 1 4
Starter_Templates_WXR_Import_UI::re_mapping_thumbnails()
S
100 1 2
TGM_Plugin_Activation::is_plugin_installed()
S
74 1 4
Starter_Templates::add_menu()
S
78 1 3
TGMPA_Bulk_Installer::activate_strings()
S
74 1 4
TGM_Plugin_Activation::get_tgmpa_status_url()
S
68 1 8
TGM_Plugin_Activation::filter_plugin_action_links_update()
S
65 1 9
Starter_Templates_WXR_Importer::set_logger()
S
81 1 3
TGM_Plugin_Activation::__construct()
S
67 1 7
Starter_Templates_Export::export_remove_rss_title()
S
70 1 6
Starter_Templates_WXR_Import_UI::add_mime_type_xml()
S
75 1 4
Starter_Templates_WXR_Import_UI::imported_term()
S
80 1 3
Starter_Templates_Importer_Logger::log()
S
67 1 8
TGMPA_List_Table::column_cb()
S
67 1 8
TGMPA_List_Table::get_table_classes()
S
80 1 3
Starter_Templates_WXR_Import_UI::get_importer()
S
71 1 6
TGM_Plugin_Activation::show_tgmpa_version()
S
65 1 10
Starter_Templates_Ajax::__construct()
S
63 1 10
TGMPA_List_Table::no_items()
S
73 1 4
Starter_Templates_Importer_Logger::emergency()
S
79 1 3
TGMPA_Utils::wrap_in_strong()
S
78 1 3
TGMPA_Bulk_Installer_Skin::after_flush_output()
S
73 1 5
Starter_Templates_WXR_Import_UI::imported_comment()
S
80 1 3
Starter_Templates_Ajax::ajax_import_content()
S
72 1 6
TGMPA_List_Table::single_row()
S
74 1 4
TGMPA_List_Table::_get_plugin_data_from_name()
S
75 1 4
Starter_Templates_Placeholder::get_placeholder_img()
S
82 1 3
Starter_Templates_WXR_Importer::max_attachment_size()
S
79 1 3
Starter_Templates_Importer_Logger::alert()
S
79 1 3
load_tgm_plugin_activation()
S
80 1 3
Starter_Templates_Importer_Logger::info()
S
79 1 3
Starter_Templates_Importer_Logger::critical()
S
79 1 3
Starter_Templates_Importer_Logger::debug()
S
79 1 3
Starter_Templates_Export::wp_get_attachment_url()
S
80 1 3
Starter_Templates_Ajax::ajax_import__check()
S
82 1 3
Starter_Templates_WXR_Importer::mark_post_exists()
S
75 1 4
TGM_Plugin_Activation::sanitize_key()
S
72 1 5
TGM_Plugin_Activation::filter_plugin_action_links_activate()
S
76 1 4
Starter_Templates_Ajax::add_mime_type_xml_json()
S
69 1 7
TGM_Plugin_Activation::__set()
S
83 1 3
TGMPA_Utils::wrap_in_em()
S
78 1 3
Starter_Templates_Export::progress_elementor_data()
S
81 1 3
Starter_Templates::get_api_url()
S
79 1 3
Starter_Templates::page()
S
66 1 8
Starter_Templates_WXR_Importer::bump_request_timeout()
S
83 1 3
Starter_Templates_WXR_Import_UI::allow_create_users()
S
79 1 3
TGMPA_Bulk_Installer_Skin::before_flush_output()
S
76 1 4
Starter_Templates_Export::the_content_export()
S
81 1 3
Starter_Templates_Ajax::is_url()
S
75 1 4
TGM_Plugin_Activation::does_plugin_require_update()
S
72 1 5
Starter_Templates_Importer_Logger::error()
S
79 1 3
TGMPA_Bulk_Installer::bulk_upgrade()
S
69 1 6
TGMPA_List_Table::get_default_primary_column_name()
S
82 1 3
Starter_Templates_WXR_Import_UI::get_posts_by_title()
S
65 1 10
Starter_Templates_Export::get_image_url_inside_content()
S
73 1 5
Starter_Templates_WXR_Import_UI::get_import_options()
S
69 1 7
Starter_Templates_WXR_Import_UI::__construct()
S
64 1 10
TGM_Plugin_Activation::update_dismiss()
S
78 1 3
Starter_Templates_Importer_Logger::notice()
S
79 1 3
TGM_Plugin_Activation::filter_plugin_action_links_deactivate()
S
76 1 4
Starter_Templates_Export::progress_meta()
S
81 1 3