SiteOrigin_Widgets_Bundle_Widget_Block B

Total Complexity 97
Dependencies 3
Dependents 1
Total lines 609
Lines of code 421
Logical lines of code 188
Comment lines 95
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
render_widget_block()
B
34 21 88
get_widget_preview()
B
38 18 70
get_all_widgets()
B
39 16 62
enqueue_widget_block_editor_assets()
S
42 5 55
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
register_widget_block()
S
58 3 15
setup_rest_validation()
S
64 3 9
wpml_render_check()
S
62 2 13
get_widget_icon()
S
61 2 13
__construct()
S
65 2 9
single()
S
75 2 4
keywords_to_array()
S
70 1 6
add_widget_id()
S
82 1 3
setup_block_category()
S
68 1 7