LP_Block_Template_Utils S

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

Methods 11

Method Rating Maintainability Complexity Lines of code
gutenberg_build_template_result_from_post()
A
47 8 35
gutenberg_build_template_result_from_file()
S
51 6 23
gutenberg_inject_theme_attribute_in_content()
S
54 6 22
gutenberg_flatten_blocks()
S
56 5 20
convert_slug_to_title()
S
59 5 14
supports_block_templates()
S
69 5 6
create_new_block_template_object()
S
57 4 15
gutenberg_get_template_paths()
S
62 3 11
theme_has_template()
S
77 2 3
instance()
S
71 2 6
generate_template_slug_from_path()
S
76 1 3