TwentigWebsiteImporter B

Total Complexity 82
Dependencies 6
Dependents 1
Total lines 445
Lines of code 304
Logical lines of code 166
Comment lines 64
Methods 16
Properties 7

Methods 16

Method Rating Maintainability Complexity Lines of code
filter_posts()
A
53 11 22
delete_previous_content()
A
55 10 18
update_site_options()
A
50 9 27
update_nav_and_template_parts()
A
44 7 47
inject_nav_attribute_in_block_template_content()
A
51 8 26
import_and_update_site()
S
49 5 30
delete_custom_files()
S
50 5 30
flatten_blocks()
S
57 5 18
import_post_data_processed()
S
59 4 13
upload_starter_website_callback()
S
51 3 26
import_existing_post()
S
69 3 6
add_starter_term_meta()
S
63 3 10
get_website_templates()
S
68 3 7
register_routes()
S
61 2 13
has_imported_posts()
S
71 2 5
match_post_id()
S
70 2 6