Code Analysis: Demo Import Kit 1.0.5

Function Rating Maintainability Complexity Lines of code
demo_import_kit_export_wp()
D
13
42 384
Demo_Import_Kit_Base_Class::dik_import_demo_data_ajax_callback()
D
29
30 127
DIKI_WXR_Importer::process_post()
C
28
26 148
DIKI_WXR_Importer::parse_post_node()
C
33 28 93
DIK_Widget_Importer::import_data()
C
31 25 111
DIKI_WXR_Importer::import()
B
34 20 101
DIKI_WXR_Importer::get_preliminary_information()
B
37 18 77
Demo_Import_Kit_Base_Class::demo_import_kit_content_render()
B
40 16 78
DIKI_WXR_Importer::parse_comment_node()
B
42 17 55
DIKI_WXR_Importer::process_comments()
B
40 16 61
DIKI_WXR_Importer::post_process_posts()
A
38 11 76
Demo_Import_Kit_Base_Class::demo_import_kit_grid_primary_tab_ajax_callback()
A
42 12 57
DIK_Customizer_Importer::import_customizer_options()
A
42 12 50
DIKI_WXR_Importer::process_author()
A
40 11 64
DIKI_WXR_Importer::process_attachment()
A
45 11 41
demo_import_kit_wie_generate_export_data()
A
48 11 33
DIKI_WXR_Importer::process_term()
A
42 9 56
DIKI_WXR_Importer::fetch_remote_file()
A
44 9 45
DIKI_WXR_Importer::post_process_comments()
A
44 8 51
DIKI_WXR_Importer::parse_term_node()
A
44 8 47
DIKI_WXR_Importer::process_post_meta()
A
49 9 31
DIKI_WXR_Importer::parse_author_node()
A
50 9 30
DIKI_WXR_Importer::process_menu_item_meta()
A
46 8 40
DIKI_WXR_Importer::parse_authors()
A
47 8 38
DIKI_WXR_Importer::post_process_menu_item()
A
48 7 37
DIKI_WXR_Importer::parse_meta_node()
S
55 7 19
Demo_Import_Kit_Base_Class::demo_import_kit_primary_tab_render()
S
49 5 42
DIK_Customizer_Importer::customizer_sideload_image()
S
50 5 29
DIKI_WXR_Importer::parse_category_node()
S
56 5 20
DIKI_WXR_Importer::import_start()
S
56 5 18
DIK_Customizer_Importer::import_customizer_images()
S
58 5 15
DIKI_WXR_Importer::term_exists()
S
58 5 15
DIKI_WXR_Importer::set_user_mapping()
S
58 5 14
demo_import_kit_customizer_data()
S
52 4 25
demo_import_kit_wxr_authors_list()
S
51 4 25
Demo_Import_Kit_Base_Class::demo_import_kit_export_zip()
S
52 4 23
demo_import_kit_wxr_nav_menu_terms()
S
59 4 14
DIKI_WXR_Importer::get_reader()
S
60 4 13
Importer::include_required_files()
S
61 4 13
demo_import_kit_wie_available_widgets()
S
61 4 12
DIK_Widget_Importer::available_widgets()
S
61 4 12
DIK_Widget_Importer::format_results_for_log()
S
60 4 12
DIKI_WXR_Importer::post_exists()
S
61 4 12
DIKI_WXR_Importer::comment_exists()
S
61 4 12
Demo_Import_Kit_Base_Class::demo_import_kit_secondary_tab_render()
S
56 3 22
DIKI_WXR_Importer::remap_featured_images()
S
64 4 10
DIK_Widget_Importer::process_import_file()
S
61 3 13
demo_import_kit_wxr_post_taxonomy()
S
61 3 11
Demo_Import_Kit_Base_Class::setup_plugin_with_filter_data()
S
56 2 18
DIKI_WP_Importer_Logger_CLI::level_to_numeric()
S
58 2 16
DIKI_WXR_Importer::post_process()
S
67 3 8
Demo_Import_Kit_Base_Class::data_from_file()
S
60 2 15
demo_import_kit_wxr_term_meta()
S
63 3 9
Demo_Import_Kit_Base_Class::demo_import_kit_create_file()
S
58 2 15
DIK_Customizer_Importer::customizer_is_image_url()
S
67 3 8
DIKI_WXR_Importer::sort_comments_by_id()
S
66 3 9
Demo_Import_Kit_Base_Class::import_content()
S
61 2 12
Demo_Import_Kit_Base_Class::__construct()
S
61 2 11
DIK_Logger::log()
S
63 2 11
DIKI_WXR_Importer::import_end()
S
63 2 11
DIKI_WXR_Importer::__construct()
S
55 1 22
Demo_Import_Kit_Class::admin_enqueue_scripts()
S
57 1 16
DIKI_WXR_Importer::prefill_existing_comments()
S
65 2 8
demo_import_kit_wxr_category_description()
S
71 2 6
Demo_Import_Kit_Base_Class::verify_ajax_call()
S
68 2 7
DIKI_WP_Importer_Logger_CLI::log()
S
65 2 10
DIKI_WXR_Importer::log_error()
S
68 2 7
Demo_Import_Kit_Base_Class::import_widgets()
S
64 2 10
DIKI_WXR_Importer::prefill_existing_terms()
S
62 2 10
Importer::__construct()
S
69 2 7
demo_import_kit_wxr_cdata()
S
68 2 7
demo_import_kit_wxr_tag_name()
S
71 2 6
DIKI_WXR_Importer::prefill_existing_posts()
S
67 2 7
DIK_Widget_Importer::import_widgets()
S
69 2 7
DIKI_WXR_Importer::is_valid_meta_key()
S
71 2 6
DIKI_WXR_Importer::set_user_slug_overrides()
S
73 2 5
DIKI_WXR_Importer::replace_attachment_urls_in_content()
S
62 2 10
demo_import_kit_wxr_site_url()
S
70 2 7
demo_import_kit_wxr_term_description()
S
71 2 6
Demo_Import_Kit_Base_Class::demo_import_kit_page()
S
70 2 6
DIK_Logger::error_output()
S
65 2 10
demo_import_kit_wxr_tag_description()
S
71 2 6
demo_import_kit_wxr_term_name()
S
71 2 6
demo_import_kit_wxr_filter_postmeta()
S
72 2 6
demo_import_kit_wxr_cat_name()
S
71 2 6
Demo_Import_Kit_Base_Class::demo_import_kit_page_create()
S
62 1 11
Demo_Import_Kit_Class::__construct()
S
66 1 8
DIKI_WP_Importer_Logger::notice()
S
79 1 3
DIKI_WXR_Importer::set_logger()
S
81 1 3
DIKI_WP_Importer_Logger::alert()
S
79 1 3
DIKI_WP_Importer_Logger::error()
S
79 1 3
DIKI_WXR_Importer::mark_comment_exists()
S
74 1 4
DIKI_WP_Importer_Logger::log()
S
67 1 8
DIK_Customizer_Option::import()
S
81 1 3
DIKI_WP_Importer_Logger::info()
S
79 1 3
DIKI_WP_Importer_Logger::emergency()
S
79 1 3
Demo_Import_Kit_Base_Class::import_customizer()
S
80 1 3
DIKI_WP_Importer_Logger::critical()
S
79 1 3
Importer::import()
S
81 1 3
DIKI_WP_Importer_Logger::debug()
S
79 1 3
DIKI_WXR_Importer::mark_post_exists()
S
75 1 4
DIKI_WXR_Importer::mark_term_exists()
S
74 1 4
Demo_Import_Kit_Class::load_textdomain()
S
77 1 3
DIK_WXR_Importer::__construct()
S
72 1 5
DIKI_WXR_Importer::bump_request_timeout()
S
83 1 3
DIKI_WP_Importer_Logger::warning()
S
79 1 3
DIKI_WXR_Importer::max_attachment_size()
S
79 1 3
Importer::set_logger()
S
81 1 3
DIKI_WXR_Importer::cmpr_strlen()
S
79 1 3