SiteOrigin_Widgets_Bundle_Widget_Block C

Total Complexity 110
Dependencies 4
Dependents 1
Total lines 763
Lines of code 482
Logical lines of code 214
Comment lines 167
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
get_widget_preview()
B
38 18 70
prepare_widget_data()
B
38 17 65
render_widget_block()
B
37 16 72
enqueue_widget_block_editor_assets()
A
41 6 59
get_block_widget()
S
51 7 29
sanitize_blocks()
S
55 7 20
sanitize_block()
S
57 5 17
block_migration_consent()
S
59 4 16
server_side_validation()
S
60 4 14
find_widget_class_by_block_name()
S
61 4 12
legacy_render_widget_block()
S
59 3 15
register_widget_block()
S
58 3 15
setup_rest_validation()
S
64 3 9
return_invalid_widget_class_notice()
S
60 2 14
wpml_render_check()
S
62 2 13
get_widget_icon()
S
61 2 13
__construct()
S
65 2 9
single()
S
75 2 4
add_widget_id()
S
82 1 3
keywords_to_array()
S
70 1 6
setup_block_category()
S
68 1 7