TwentigWebsiteImporter B

Total Complexity 95
Dependencies 7
Dependents 1
Total lines 499
Lines of code 353
Logical lines of code 196
Comment lines 64
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
import_post_data_processed()
A
43 11 45
filter_posts()
A
53 11 22
delete_previous_content()
A
55 10 18
update_site_options()
A
50 9 27
import_and_update_site()
A
46 8 38
delete_custom_files()
A
46 8 38
update_nav_and_template_parts()
A
44 7 47
inject_nav_attribute_in_block_template_content()
A
51 8 26
flatten_blocks()
S
57 5 18
upload_starter_website_callback()
S
51 3 27
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