LazyBlocks_Blocks D

Total Complexity 243
Dependencies 4
Dependents 1
Total lines 1,614
Lines of code 945
Logical lines of code 477
Comment lines 381
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
prepare_handlebars()
D
25
44 157
render_callback()
D
32 36 89
save_meta_boxes()
B
41 22 51
prepare_block_attributes()
A
41 12 61
prepare_block_meta_attributes()
A
49 14 28
manage_posts_custom_column()
A
46 12 36
marshal_block_data_with_controls()
A
36 9 80
get_blocks()
A
46 10 38
sanitize_block_configs()
A
47 9 41
register_block_render()
A
46 9 39
block_categories_all()
S
53 7 24
get_blocks_categories()
S
54 6 23
get_meta_value()
S
58 6 16
post_row_actions()
S
47 4 42
prepare_block_controls()
S
61 5 12
include_template()
S
59 4 13
register_post_type()
S
46 1 42
template_exists()
S
61 3 11
__construct()
S
55 2 19
add_role_caps()
S
57 2 19
get_block()
S
65 3 9
allowed_block_types_all()
S
70 3 6
register_block()
S
58 1 16
disable_months_dropdown()
S
79 2 3
handle_bulk_actions_edit()
S
69 2 7
add_block()
S
70 2 6
get_meta_value_by_id()
S
66 2 8
get_meta_boxes()
S
66 2 8
manage_posts_columns()
S
64 1 10
is_allowed_unfiltered_html()
S
75 1 4
bulk_actions_edit()
S
72 1 5
get_block_defaults()
S
79 1 3
marshal_block_data()
S
75 1 4
php_eval()
S
73 1 5
remove_custom_fields_support()
S
80 1 3
get_meta_value_by_block()
S
75 1 4
sanitize_slug()
S
78 1 3