WXR_Importer D

Total Complexity 303
Dependencies 4
Dependents 1
Total lines 2,532
Lines of code 1,430
Logical lines of code 889
Comment lines 779
Methods 45
Properties 16

Methods 45

Method Rating Maintainability Complexity Lines of code
process_post()
D
26
26 173
parse_post_node()
C
33 28 93
import()
B
34 20 103
get_preliminary_information()
B
37 18 79
parse_comment_node()
B
42 17 55
process_comments()
B
38 16 68
post_process_posts()
A
37 11 90
process_author()
A
39 11 70
process_term()
A
40 9 63
process_attachment()
A
45 10 39
fetch_remote_file()
A
44 9 48
post_process_comments()
A
42 8 61
parse_term_node()
A
44 8 47
process_post_meta()
A
49 9 31
parse_author_node()
A
50 9 30
process_menu_item_meta()
A
46 8 40
parse_authors()
A
47 8 40
post_process_menu_item()
A
47 7 41
parse_meta_node()
S
55 7 19
parse_category_node()
S
56 5 20
import_start()
S
56 5 18
term_exists()
S
58 5 15
set_user_mapping()
S
58 5 14
comment_exists()
S
61 4 12
post_exists()
S
61 4 12
remap_featured_images()
S
64 4 10
sort_comments_by_id()
S
66 3 9
post_process()
S
67 3 8
import_end()
S
63 2 11
__construct()
S
53 1 25
replace_attachment_urls_in_content()
S
62 2 10
is_valid_meta_key()
S
71 2 6
prefill_existing_posts()
S
67 2 7
set_user_slug_overrides()
S
73 2 5
prefill_existing_comments()
S
65 2 8
log_error()
S
68 2 7
prefill_existing_terms()
S
62 2 10
get_reader()
S
65 2 9
set_logger()
S
81 1 3
max_attachment_size()
S
79 1 3
bump_request_timeout()
S
82 1 3
cmpr_strlen()
S
79 1 3
mark_post_exists()
S
75 1 4
mark_comment_exists()
S
74 1 4
mark_term_exists()
S
74 1 4