LP_Block_Template_Controller B

Total Complexity 82
Dependencies 3
Dependents 0
Total lines 447
Lines of code 284
Logical lines of code 152
Comment lines 90
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_block_templates_from_learnpress()
B
41 19 51
add_block_templates()
A
43 14 46
render_block_template()
A
59 12 12
maybe_return_blocks_template()
A
50 8 28
get_single_block_template()
S
56 6 17
get_block_templates_from_db()
S
52 3 26
render_content_block_template()
S
58 3 15
get_block_templates()
S
60 3 13
remove_theme_templates_with_custom_alternative()
S
56 2 23
block_template_is_available()
S
67 3 7
page_template_hierarchy()
S
71 2 6
get_templates_directory()
S
71 2 6
instance()
S
71 2 6
block_editor()
S
62 1 12
__construct()
S
65 1 8
register_block_template_post_type()
S
69 1 8