LazyBlocks_Blocks D

Total Complexity 261
Dependencies 4
Dependents 1
Total lines 1,668
Lines of code 972
Logical lines of code 494
Comment lines 398
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
prepare_handlebars()
D
25
44 157
render_callback()
D
30 39 101
save_meta_boxes()
B
41 22 51
marshal_block_data_with_controls()
B
34 19 84
prepare_block_attributes()
A
41 12 61
prepare_block_meta_attributes()
A
49 14 28
manage_posts_custom_column()
A
46 12 36
get_blocks()
A
46 10 39
sanitize_block_configs()
A
47 9 41
register_block_render()
A
45 9 40
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
remove_block()
S
65 5 9
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
add_block()
S
70 2 6
disable_months_dropdown()
S
79 2 3
handle_bulk_actions_edit()
S
69 2 7
get_meta_boxes()
S
66 2 8
get_meta_value_by_id()
S
66 2 8
get_block_defaults()
S
79 1 3
manage_posts_columns()
S
64 1 10
is_allowed_unfiltered_html()
S
75 1 4
bulk_actions_edit()
S
72 1 5
get_meta_value_by_block()
S
75 1 4
php_eval()
S
73 1 5
marshal_block_data()
S
75 1 4
sanitize_slug()
S
78 1 3
remove_custom_fields_support()
S
80 1 3