GeoDir_Block_Theme D

Total Complexity 193
Dependencies 6
Dependents 2
Total lines 1,271
Lines of code 813
Logical lines of code 380
Comment lines 311
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
set_template_hierarchy()
C
37 24 70
render_block_template()
B
53 20 18
process_new_template_request()
A
43 16 41
set_block_templates()
A
44 16 39
convert_page_to_slug()
A
52 15 25
cpt_pages_settings()
A
34 7 111
gutenberg_build_template_result_from_file()
A
46 10 35
pages_settings()
A
33 1 137
get_block_templates_from_gd()
A
49 8 31
gutenberg_build_template_result_from_post()
A
47 7 35
convert_slug_to_title()
S
57 6 16
get_block_description()
S
58 6 16
set_screen_id()
S
66 7 7
get_single_block_template()
S
57 6 15
maybe_return_blocks_template()
S
52 5 24
get_default_wp_template_html()
S
55 5 19
has_block_template()
S
56 4 19
create_new_block_template_object()
S
58 4 15
get_block_templates_from_db()
S
52 3 26
handle_new_template_request()
S
53 3 24
remove_theme_templates_with_custom_alternative()
S
55 2 23
block_template_is_available()
S
67 3 7
get_templates_directory()
S
63 3 10
supports_block_templates()
S
71 3 6
on_init()
S
61 2 13
theme_has_template()
S
77 2 3
theme_has_template_part()
S
77 2 3
init()
S
59 1 13
generate_template_slug_from_path()
S
68 1 7
get_block_templates()
S
71 1 5