LazyBlocks_Blocks D

Total Complexity 249
Dependencies 1
Dependents 1
Total lines 1,647
Lines of code 924
Logical lines of code 431
Comment lines 429
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
render_callback()
D
29 41 101
save_meta_boxes()
B
41 22 51
marshal_block_data_with_controls()
B
36 15 75
manage_posts_custom_column()
A
42 15 50
prepare_block_attributes()
A
42 13 57
prepare_block_meta_attributes()
A
49 14 28
get_blocks()
A
46 10 39
post_row_actions()
A
42 8 57
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
normalize_lazyblocks_post_status()
S
56 5 18
prepare_block_icon()
S
60 5 12
prepare_block_controls()
S
61 5 12
remove_block()
S
65 5 9
include_template()
S
59 4 13
handle_bulk_actions_edit()
S
62 4 12
change_activation_views_labels()
S
58 3 17
post_class()
S
65 4 9
register_post_type()
S
46 1 43
template_exists()
S
61 3 11
__construct()
S
53 2 22
add_role_caps()
S
57 2 19
display_post_states()
S
65 3 9
allowed_block_types_all()
S
70 3 6
get_block()
S
65 3 9
get_admin_url()
S
69 3 6
sanitize_slug()
S
60 2 13
register_block()
S
58 1 16
add_block()
S
70 2 6
get_meta_value_by_id()
S
66 2 8
disable_months_dropdown()
S
79 2 3
get_meta_boxes()
S
66 2 8
manage_posts_columns()
S
62 1 11
bulk_actions_edit()
S
67 1 7
get_block_defaults()
S
79 1 3
php_eval()
S
73 1 5
get_meta_value_by_block()
S
74 1 4
marshal_block_data()
S
75 1 4
remove_custom_fields_support()
S
80 1 3
is_allowed_unfiltered_html()
S
75 1 4