WP_Import D

Total Complexity 245
Dependencies 2
Dependents 2
Total lines 1,396
Lines of code 877
Logical lines of code 610
Comment lines 298
Methods 32
Properties 20

Methods 32

Method Rating Maintainability Complexity Lines of code
process_posts()
D
21
50 184
fetch_remote_file()
C
30 29 108
process_menu_item()
B
38 19 63
get_author_mapping()
B
42 19 46
process_terms()
A
44 13 41
process_categories()
A
46 13 35
backfill_parents()
A
51 12 26
process_tags()
A
47 11 32
author_select()
A
45 8 39
get_filename_from_disposition()
A
51 8 27
dispatch()
S
53 7 23
process_attachment()
S
51 6 25
process_termmeta()
S
54 6 21
import_options()
S
50 5 31
handle_upload()
S
50 5 28
get_authors_from_import()
S
55 5 19
get_file_extension_by_mime_type()
S
60 5 12
import_start()
S
52 3 25
remap_featured_images()
S
65 4 9
import_end()
S
59 2 13
header()
S
61 2 12
import()
S
58 1 16
backfill_attachment_urls()
S
65 2 8
is_valid_meta_key()
S
73 2 5
parse()
S
76 1 4
footer()
S
83 1 3
greet()
S
68 1 7
allow_create_users()
S
80 1 3
allow_fetch_attachments()
S
80 1 3
max_attachment_size()
S
80 1 3
bump_request_timeout()
S
83 1 3
cmpr_strlen()
S
79 1 3