Abstract_YITH_WCAS_Gb_Block A

Total Complexity 57
Dependencies 3
Dependents 0
Total lines 517
Lines of code 219
Logical lines of code 96
Comment lines 234
Methods 26
Properties 3

Methods 26

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
get_chunks_paths()
S
61 3 12
register_script()
S
64 3 8
render_callback()
S
67 3 7
register_chunk_translations()
S
61 2 12
__construct()
S
76 2 4
get_block_type_script()
S
65 2 8
enqueue_scripts()
S
73 2 5
enqueue_assets()
S
70 2 7
register_style()
S
66 2 8
get_block_type_editor_script()
S
65 2 8
parse_render_callback_attributes()
S
78 2 3
get_block_metadata_path()
S
68 2 7
initialize()
S
66 2 8
get_block_asset_build_path()
S
79 1 3
get_block_type_style()
S
73 1 4
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_supports()
S
82 1 3
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
hasInnerBlock()
S
74 1 4