WXR_Importer D

Total Complexity 306
Dependencies 4
Dependents 1
Total lines 2,297
Lines of code 1,373
Logical lines of code 891
Comment lines 544
Methods 45
Properties 16

Methods 45

Method Rating Maintainability Complexity Lines of code
process_post()
C
27
26 162
parse_post_node()
C
33 28 93
import()
B
34 20 101
get_preliminary_information()
B
37 18 77
parse_comment_node()
B
42 17 55
process_comments()
B
38 16 68
post_process_posts()
A
38 11 76
process_author()
A
40 11 64
process_attachment()
A
45 11 41
process_term()
A
41 9 57
fetch_remote_file()
A
44 9 45
post_process_comments()
A
44 8 51
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 38
post_process_menu_item()
A
48 7 37
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
get_reader()
S
60 4 13
post_exists()
S
61 4 12
comment_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
55 1 22
replace_attachment_urls_in_content()
S
62 2 10
is_valid_meta_key()
S
71 2 6
prefill_existing_posts()
S
67 2 7
prefill_existing_comments()
S
65 2 8
set_user_slug_overrides()
S
73 2 5
prefill_existing_terms()
S
62 2 10
log_error()
S
68 2 7
max_attachment_size()
S
79 1 3
bump_request_timeout()
S
83 1 3
cmpr_strlen()
S
79 1 3
set_logger()
S
81 1 3
mark_post_exists()
S
75 1 4
mark_comment_exists()
S
74 1 4
mark_term_exists()
S
74 1 4