LazyBlocks_Blocks D

Total Complexity 224
Dependencies 3
Dependents 1
Total lines 1,509
Lines of code 893
Logical lines of code 453
Comment lines 348
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
prepare_handlebars()
D
25
44 158
render_callback()
D
33 33 83
save_meta_boxes()
B
42 22 50
marshal_block_data_with_controls()
A
35 13 80
prepare_block_attributes()
A
41 14 62
manage_posts_custom_column()
A
46 12 36
sanitize_block_configs()
A
47 9 41
get_blocks()
A
48 9 33
register_block_render()
A
48 8 33
block_categories_all()
S
53 7 24
get_blocks_categories()
S
54 6 23
get_meta_value()
S
59 6 15
post_row_actions()
S
47 4 42
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
allowed_block_types_all()
S
70 3 6
get_block()
S
65 3 9
register_block()
S
52 1 25
get_meta_value_by_id()
S
66 2 8
get_meta_boxes()
S
68 2 7
add_block()
S
70 2 6
handle_bulk_actions_edit()
S
69 2 7
disable_months_dropdown()
S
79 2 3
remove_custom_fields_support()
S
80 1 3
php_eval()
S
73 1 5
get_meta_value_by_block()
S
75 1 4
sanitize_slug()
S
78 1 3
manage_posts_columns()
S
64 1 10
marshal_block_data()
S
75 1 4
is_allowed_unfiltered_html()
S
75 1 4
bulk_actions_edit()
S
72 1 5