Total Complexity | 47 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 203 |
Lines of code | 158 |
Logical lines of code | 104 |
Comment lines | 10 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
gutenberg_build_template_result_from_post() | 47 | 8 | 35 | |
gutenberg_build_template_result_from_file() | 51 | 6 | 23 | |
gutenberg_inject_theme_attribute_in_content() | 54 | 6 | 22 | |
gutenberg_flatten_blocks() | 56 | 5 | 20 | |
convert_slug_to_title() | 59 | 5 | 14 | |
supports_block_templates() | 69 | 5 | 6 | |
create_new_block_template_object() | 57 | 4 | 15 | |
gutenberg_get_template_paths() | 62 | 3 | 11 | |
theme_has_template() | 77 | 2 | 3 | |
instance() | 71 | 2 | 6 | |
generate_template_slug_from_path() | 76 | 1 | 3 |