Abstract_YITH_WCAS_Gb_Block A

Total Complexity 52
Dependencies 1
Dependents 0
Total lines 473
Lines of code 195
Logical lines of code 83
Comment lines 218
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
register_block_type()
A
43 10 49
get_script_data()
S
55 5 19
register_block_type_assets()
S
55 3 22
register_script()
S
64 3 8
render_callback()
S
67 3 7
__construct()
S
76 2 4
parse_render_callback_attributes()
S
78 2 3
initialize()
S
66 2 8
get_block_metadata_path()
S
68 2 7
get_block_type_editor_script()
S
65 2 8
register_style()
S
66 2 8
get_block_type_script()
S
65 2 8
enqueue_scripts()
S
73 2 5
enqueue_assets()
S
70 2 7
get_block_asset_build_path()
S
79 1 3
get_block_type_supports()
S
82 1 3
render()
S
82 1 3
get_block_type_uses_context()
S
82 1 3
get_block_type_attributes()
S
82 1 3
get_block_type_style()
S
74 1 4
get_block_type_editor_style()
S
82 1 3
get_block_type_render_callback()
S
80 1 3
get_block_type()
S
80 1 3
has_inner_block()
S
74 1 4