TG_WXR_Importer D

Total Complexity 247
Dependencies 2
Dependents 1
Total lines 1,485
Lines of code 964
Logical lines of code 612
Comment lines 298
Methods 34
Properties 20

Methods 34

Method Rating Maintainability Complexity Lines of code
process_posts()
D
20
50 212
fetch_remote_file()
C
30 29 112
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
49 12 32
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
49 6 31
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 20
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
backfill_attachment_urls()
S
65 2 8
is_valid_meta_key()
S
71 2 6
bump_request_timeout()
S
83 1 3
get_term_new_id()
S
80 1 3
cmpr_strlen()
S
79 1 3
footer()
S
83 1 3
max_attachment_size()
S
80 1 3
allow_fetch_attachments()
S
80 1 3
allow_create_users()
S
80 1 3
greet()
S
68 1 7
parse()
S
76 1 4
get_processed_terms()
S
82 1 3