WP_Import D

Total Complexity 247
Dependencies 2
Dependents 1
Total lines 1,505
Lines of code 972
Logical lines of code 621
Comment lines 310
Methods 33
Properties 20

Methods 33

Method Rating Maintainability Complexity Lines of code
process_posts()
D
20
50 215
fetch_remote_file()
D
29 30 116
process_menu_item()
B
37 19 67
get_author_mapping()
B
41 19 51
process_terms()
A
43 13 47
process_categories()
A
44 13 41
backfill_parents()
A
48 12 34
process_tags()
A
46 11 38
author_select()
A
44 8 45
get_filename_from_disposition()
A
51 8 27
dispatch()
S
52 7 24
process_attachment()
S
48 6 32
import_options()
S
50 5 31
handle_upload()
S
50 5 28
get_authors_from_import()
S
55 5 20
process_termmeta()
S
56 5 18
get_file_extension_by_mime_type()
S
60 5 12
import_start()
S
52 3 25
remap_featured_images()
S
64 4 10
import_end()
S
59 2 13
header()
S
61 2 12
import()
S
58 1 16
is_valid_meta_key()
S
70 2 6
maybe_unserialize()
S
69 2 7
backfill_attachment_urls()
S
65 2 8
greet()
S
68 1 7
allow_create_users()
S
79 1 3
allow_fetch_attachments()
S
79 1 3
max_attachment_size()
S
79 1 3
bump_request_timeout()
S
82 1 3
cmpr_strlen()
S
79 1 3
parse()
S
76 1 4
footer()
S
82 1 3