Code Analysis: FameTheme Demo Importer 1.1.2

Function Rating Maintainability Complexity Lines of code
Demo_Contents_Progress::ajax_import()
D
23
52 157
Merlin_Importer::importPosts()
D
23
45 177
TGMPA_List_Table::process_bulk_actions()
D
26
34 155
Merlin_Importer::replace_array()
D
33 38 89
TGM_Plugin_Activation::notices()
D
32 34 94
Merlin_WXR_Parser::simplexml_parse()
C
25
22 174
Merlin_WXR_Parser::parsePost()
C
34 27 88
TGM_Plugin_Activation::do_plugin_install()
C
32 25 99
Demo_Content_Dashboard::setup_themes()
C
32 24 109
Demo_Contents_Progress::resetup_repeater_page_ids()
C
39 24 63
Merlin_Importer::importWidgets()
B
37 23 68
Merlin_Importer::importTerms()
B
36 20 76
Merlin_Importer::importPostComments()
B
40 17 60
Merlin_WXR_Parser::parseComment()
B
41 17 57
tgmpa_load_bulk_installer()
B
26
7 204
Merlin_Importer::import_users()
A
43 15 42
Merlin_Importer::importPostMeta()
A
45 15 39
TGM_Plugin_Activation::maybe_adjust_source_dir()
A
45 15 36
Merlin_Importer::importThemeOptions()
A
47 14 35
TGM_Plugin_Activation::init()
A
35 10 94
Merlin_WXR_Parser::xml_reader_parse()
A
42 12 56
Merlin_Importer::remapImportedTerms()
A
46 13 39
Merlin_Importer::remapImportedPosts()
A
45 12 43
Demo_Content_Dashboard::scripts()
A
38 10 67
TGMPA_Utils::emulate_filter_bool()
A
47 12 33
Demo_Contents_Progress::maybe_remote_download_data_files()
A
42 10 53
Demo_Contents::generate_widgets_export_data()
A
48 11 32
TGMPA_List_Table::column_version()
A
47 10 37
Merlin_Importer::remapImportedComments()
A
48 10 35
Merlin_WXR_Parser::parseTerm()
A
43 9 50
Demo_Contents::url_exists()
A
47 10 34
Demo_Contents::get_widgets_config_fields()
A
46 9 45
Demo_Content_Dashboard::get_sub_demos()
A
41 8 56
TGM_Plugin_Activation::activate_single_plugin()
A
46 9 39
Merlin_Importer::fetchRemoteFile()
A
46 9 37
Demo_Contents::get_update_keys()
A
43 8 51
TGM_Plugin_Activation::register()
A
47 9 36
Demo_Content_Dashboard::get_tgmpa_plugins()
A
44 8 49
TGMPA_List_Table::get_views()
A
48 9 34
Merlin_WXR_Parser::parseUser()
A
49 9 32
TGM_Plugin_Activation::create_user_action_links_for_notice()
A
45 8 40
TGMPA_List_Table::get_row_actions()
A
47 8 34
TGMPA_List_Table::get_plugin_status_text()
A
51 8 26
TGMPA_Bulk_Installer::bulk_install()
A
42 6 55
Demo_Content_Dashboard::dashboard()
A
47 7 39
Demo_Contents::get_widgets_config()
A
53 8 22
tgmpa()
A
53 8 21
Merlin_Importer::importMenuItemMeta()
A
49 7 34
TGMPA_List_Table::categorize_plugins_to_views()
S
52 7 26
TGM_Plugin_Activation::install_plugins_page()
S
52 7 26
Merlin_Importer::import()
S
53 7 25
Merlin_Importer::remapImportedMenuItem()
S
53 7 25
Demo_Contents::download_file()
S
52 7 24
Merlin_WXR_Parser::parseMeta()
S
53 7 24
Demo_Content_Dashboard::preview_template()
S
40 1 111
Demo_Contents::media_handle_sideload()
S
47 6 36
TGMPA_List_Table::get_bulk_actions()
S
57 7 17
TGM_Plugin_Activation::is_core_update_page()
S
59 7 14
Merlin_Importer::importPostAttachment()
S
52 6 25
TGM_Plugin_Activation::inject_update_info()
S
54 6 20
Demo_Content_Dashboard::listing_themes()
S
50 5 32
Merlin_Importer::fetchCustomizeImage()
S
50 5 29
demo_contents_importer_plugin_activate()
S
52 5 27
TGM_Plugin_Activation::overload_textdomain_mofile()
S
61 6 12
Merlin_WXR_Parser::parsePostTerm()
S
56 5 19
TGMPA_List_Table::_gather_plugin_data()
S
49 4 30
Merlin_Importer::importTermMeta()
S
60 5 14
TGM_Plugin_Activation::get_info_link()
S
51 4 28
Demo_Content_Dashboard::loop_theme()
S
52 4 28
TGM_Plugin_Activation::add_plugin_action_link_filters()
S
59 5 13
TGM_Plugin_Activation::force_deactivation()
S
60 5 12
TGM_Plugin_Activation::force_activation()
S
62 5 11
TGM_Plugin_Activation::config()
S
54 4 24
demo_contents_register_required_plugins()
S
48 3 38
Demo_Content_Dashboard::__construct()
S
54 4 21
TGMPA_Bulk_Installer::auto_activate()
S
57 4 17
TGM_Plugin_Activation::get_plugins_api()
S
57 4 16
Merlin_Importer::register_custom_taxonomy()
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
Merlin_Importer::commentExists()
S
58 4 14
Merlin_Importer::termExists()
S
58 4 14
Merlin_Importer::remapImportedData()
S
61 4 14
TGM_Plugin_Activation::admin_init()
S
59 4 14
TGM_Plugin_Activation::does_plugin_have_update()
S
60 4 13
Merlin_WXR_Parser::parse()
S
60 4 13
TGM_Plugin_Activation::get_admin_notice_class()
S
60 4 13
TGM_Plugin_Activation::get_download_url()
S
62 4 12
TGM_Plugin_Activation::load_textdomain()
S
60 4 12
Merlin_Importer::postExists()
S
60 4 12
Demo_Contents::get_available_widgets()
S
61 4 12
TGMPA_Bulk_Installer::__construct()
S
61 4 11
Merlin_Importer::importEnd()
S
53 3 23
Merlin_Helper::helper_wizard()
S
59 3 23
TGMPA_Bulk_Installer_Skin::add_strings()
S
54 3 20
TGMPA_Bulk_Installer_Skin::bulk_footer()
S
54 3 19
Demo_Contents::export()
S
57 3 17
TGM_Plugin_Activation::get_tgmpa_url()
S
58 3 16
Merlin_Importer::importRevSliders()
S
63 4 10
TGM_Plugin_Activation::_get_plugin_data_from_name()
S
66 4 8
TGM_Plugin_Activation::is_tgmpa_complete()
S
63 4 10
Demo_Content_Dashboard::get_tgmpa()
S
67 4 8
TGM_Plugin_Activation::can_plugin_update()
S
63 4 10
TGM_Plugin_Activation::get_plugin_source_type()
S
65 4 9
TGMPA_List_Table::__construct()
S
58 3 14
Demo_Contents_Progress::checking_plugins()
S
60 3 14
TGMPA_List_Table::get_columns()
S
59 3 13
TGMPA_Bulk_Installer::run()
S
63 3 11
Demo_Content_Dashboard::wellcome()
S
59 2 18
TGM_Plugin_Activation::admin_menu()
S
57 2 17
TGM_Plugin_Activation::dismiss()
S
71 3 5
TGM_Plugin_Activation::_get_plugin_basename_from_slug()
S
65 3 9
Merlin_Importer::_sortCommentsById()
S
66 3 9
TGMPA_Utils::validate_bool()
S
64 3 10
TGM_Plugin_Activation::is_plugin_updatetable()
S
68 3 7
TGM_Plugin_Activation::get_upgrade_notice()
S
63 3 10
Demo_Contents_Progress::importOptions()
S
67 3 8
TGM_Plugin_Activation::get_instance()
S
70 3 6
Demo_Content_Dashboard::is_allowed_theme()
S
65 3 9
TGM_Plugin_Activation::is_plugin_active()
S
76 3 3
TGM_Plugin_Activation::get_wp_repo_download_url()
S
67 3 8
TGM_Plugin_Activation::add_admin_menu()
S
62 3 10
TGM_Plugin_Activation::display_settings_errors()
S
64 3 10
TGMPA_List_Table::wp_plugin_update_row()
S
60 2 14
TGMPA_List_Table::prepare_items()
S
62 2 11
Demo_Contents::__construct()
S
62 2 11
Demo_Contents::generate_config()
S
55 1 21
Demo_Content_Dashboard::setup_screen()
S
70 2 6
TGM_Plugin_Activation::actions()
S
72 2 6
TGM_Plugin_Activation::get_plugins()
S
70 2 6
TGM_Plugin_Activation::thickbox()
S
72 2 5
TGMPA_List_Table::get_primary_column_name()
S
69 2 7
TGMPA_List_Table::set_view_totals()
S
72 2 5
Demo_Content_Dashboard::get_allowed_authors()
S
66 2 9
TGM_Plugin_Activation::get_installed_version()
S
68 2 7
TGM_Plugin_Activation::can_plugin_activate()
S
78 2 3
TGM_Plugin_Activation::is_tgmpa_page()
S
78 2 3
TGM_Plugin_Activation::correct_plugin_mofile()
S
70 2 6
demo_contents_custom_upload_xml()
S
66 2 9
TGMPA_Bulk_Installer_Skin::before()
S
71 2 6
TGMPA_List_Table::sort_table_items()
S
63 2 10
TGMPA_List_Table::extra_tablenav()
S
74 2 5
TGMPA_Bulk_Installer_Skin::after()
S
69 2 7
Demo_Contents_Progress::__construct()
S
70 2 6
Demo_Contents::get_instance()
S
72 2 6
TGMPA_List_Table::get_plugin_advise_type_text()
S
70 2 6
TGMPA_Bulk_Installer_Skin::__construct()
S
61 1 12
TGMPA_List_Table::column_default()
S
80 1 3
TGMPA_Bulk_Installer::bulk_upgrade()
S
69 1 6
TGM_Plugin_Activation::show_tgmpa_version()
S
66 1 10
Demo_Contents::php_support()
S
79 1 3
Merlin_Importer::importCategories()
S
81 1 3
TGM_Plugin_Activation::get_tgmpa_status_url()
S
68 1 8
Merlin_Importer::_bumpHttpRequestTimeout()
S
83 1 3
TGM_Plugin_Activation::update_dismiss()
S
78 1 3
TGM_Plugin_Activation::flush_plugins_cache()
S
81 1 3
TGM_Plugin_Activation::is_plugin_installed()
S
74 1 4
Demo_Content_Dashboard::get_default_author_name()
S
80 1 3
TGMPA_List_Table::get_table_classes()
S
80 1 3
TGM_Plugin_Activation::__get()
S
81 1 3
TGM_Plugin_Activation::__set()
S
83 1 3
Demo_Content_Dashboard::get_items()
S
81 1 3
TGMPA_List_Table::column_plugin()
S
69 1 7
TGM_Plugin_Activation::filter_plugin_action_links_deactivate()
S
76 1 4
TGMPA_List_Table::get_default_primary_column_name()
S
82 1 3
TGMPA_List_Table::single_row()
S
74 1 4
TGMPA_List_Table::column_cb()
S
67 1 8
demo_contents__init()
S
83 1 3
TGMPA_Bulk_Installer_Skin::before_flush_output()
S
76 1 4
Demo_Content_Dashboard::get_details_link()
S
74 1 4
TGM_Plugin_Activation::__construct()
S
67 1 7
TGM_Plugin_Activation::does_plugin_require_update()
S
72 1 5
TGMPA_Bulk_Installer_Skin::after_flush_output()
S
73 1 5
TGMPA_Utils::wrap_in_em()
S
78 1 3
TGMPA_List_Table::no_items()
S
73 1 4
Demo_Contents::get_github_repo()
S
79 1 3
Merlin_Importer::importTags()
S
81 1 3
Merlin_WXR_Parser::__construct()
S
100 1 1
load_tgm_plugin_activation()
S
80 1 3
Demo_Content_Dashboard::php_not_support_message()
S
71 1 7
TGMPA_List_Table::_get_plugin_data_from_name()
S
75 1 4
Merlin_Importer::importStart()
S
75 1 5
TGM_Plugin_Activation::filter_plugin_action_links_activate()
S
76 1 4
TGMPA_Bulk_Installer::activate_strings()
S
74 1 4
Demo_Content_Dashboard::add_menu()
S
77 1 3
Demo_Content_Dashboard::is_installed()
S
76 1 4
TGMPA_Utils::wrap_in_strong()
S
78 1 3
Merlin_Helper::__construct()
S
98 1 1
TGM_Plugin_Activation::sanitize_key()
S
72 1 5
TGM_Plugin_Activation::filter_plugin_action_links_update()
S
65 1 9