Code Analysis: Ansar Import 1.0.7

Function Rating Maintainability Complexity Lines of code
ANS_WP_Import::process_posts()
D
21
50 182
ANS_WXR_Parser_SimpleXML::parse()
D
24
27 181
ANS_WP_Import::fetch_remote_file()
C
31 29 102
Ansar_Import::wie_import_data()
C
30 26 117
ANS_WXR_Parser_XML::tag_close()
C
38 24 71
ANS_WP_Import::process_menu_item()
B
38 19 63
ANS_WXR_Parser_Regex::parse()
B
38 15 65
ANS_WXR_Parser_XML::tag_open()
A
49 15 27
Ansar_Import::install_demo()
A
39 12 61
ANS_WP_Import::process_terms()
A
44 13 42
ANS_WP_Import::process_categories()
A
46 13 36
ANS_WXR_Parser::parse()
A
48 13 28
Ansar_Import::ans_import_customizer_settings()
A
45 12 41
ANS_WP_Import::backfill_parents()
A
51 12 26
ANS_WP_Import::process_tags()
A
47 11 33
ANS_WXR_Parser_Regex::process_post()
A
37 8 70
ANS_WP_Import::author_select()
A
45 8 40
ANS_WP_Import::get_filename_from_disposition()
A
51 8 27
ANS_WP_Import::process_attachment()
S
51 6 24
ANS_WP_Import::process_termmeta()
S
54 6 21
ANS_WP_Import::import_options()
S
50 5 31
ANS_WXR_Parser_Regex::get_tag()
S
54 5 20
ANS_WP_Import::get_authors_from_import()
S
55 5 19
ANS_WP_Import::get_file_extension_by_mime_type()
S
60 5 12
ANS_WXR_Parser_XML::parse()
S
48 3 30
Ansar_Import::wie_available_widgets()
S
61 4 12
ANS_WP_Import::import_start()
S
52 3 25
ANS_WP_Import::handle_upload()
S
55 3 19
ANS_WXR_Parser_XML::cdata()
S
65 4 9
ANS_WP_Import::remap_featured_images()
S
65 4 9
ANS_WXR_Parser_Regex::process_meta()
S
59 3 14
Ansar_Import_Loader::run()
S
66 3 8
ANS_WXR_Parser_Regex::process_term()
S
58 2 15
Ansar_Import_Activator::activate()
S
65 3 8
ANS_WXR_Parser_Regex::process_category()
S
59 2 14
Ansar_Import_Admin::enqueue_scripts()
S
57 2 14
ANS_WXR_Parser_Regex::process_tag()
S
60 2 13
ANS_WP_Import::import_end()
S
59 2 13
Ansar_Import::__construct()
S
62 2 12
ANS_WP_Import::header()
S
61 2 12
ANS_WP_Import::is_valid_meta_key()
S
73 2 5
ANS_WXR_Parser_Regex::feof()
S
74 2 5
ANS_WP_Import::import()
S
59 1 15
ANS_WP_Import::backfill_attachment_urls()
S
65 2 8
ANS_WXR_Parser_Regex::fopen()
S
73 2 5
ANS_WXR_Parser_Regex::fgets()
S
73 2 5
ANS_WXR_Parser_Regex::fclose()
S
74 2 5
Ansar_Import_Admin::enqueue_styles()
S
67 2 7
ANS_WP_Import::dispatch()
S
62 1 12
ANS_WP_Import::footer()
S
83 1 3
ANS_WXR_Parser_Regex::__construct()
S
80 1 3
Ansar_Import_Loader::add()
S
64 1 10
Ansar_Import::set_locale()
S
75 1 4
Ansar_Import::get_version()
S
82 1 3
ANS_WP_Import::greet()
S
68 1 7
Ansar_Import::run()
S
82 1 3
ANS_WP_Import::allow_fetch_attachments()
S
80 1 3
Ansar_Import_Loader::add_filter()
S
77 1 3
Ansar_Import::define_admin_hooks()
S
67 1 7
Ansar_Import_Admin::register_theme_page()
S
78 1 3
activate_ansar_import()
S
76 1 4
Ansar_Import::get_loader()
S
82 1 3
run_ansar_import()
S
77 1 4
Ansar_Import_Public::__construct()
S
77 1 4
Ansar_Import::define_public_hooks()
S
72 1 5
ANS_WXR_Parser_Regex::process_author()
S
64 1 10
Ansar_Import_Public::enqueue_styles()
S
77 1 3
Ansar_Import_Admin::theme_option_page()
S
79 1 3
deactivate_ansar_import()
S
76 1 4
Ansar_Import_Admin::import_data_ajax()
S
75 1 4
Ansar_Import::get_plugin_name()
S
82 1 3
Ansar_Import_Loader::__construct()
S
77 1 4
ANS_WP_Import::allow_create_users()
S
80 1 3
Ansar_Import_Public::enqueue_scripts()
S
77 1 3
ANS_WP_Import::parse()
S
76 1 4
Ansar_Import::load_dependencies()
S
68 1 7
Ansar_Import_Admin::__construct()
S
77 1 4
Ansar_Import_Deactivator::deactivate()
S
89 1 2
Ansar_Import_Loader::add_action()
S
77 1 3
Ansar_Import_i18n::load_plugin_textdomain()
S
69 1 7
ANS_WP_Import::cmpr_strlen()
S
79 1 3
ANS_WP_Import::max_attachment_size()
S
80 1 3
ANS_WP_Import::bump_request_timeout()
S
83 1 3
ANS_WXR_Parser_Regex::_normalize_tag()
S
79 1 3