YITH_WCAS_Gutenberg_Blocks_Controller S

Total Complexity 48
Dependencies 5
Dependents 1
Total lines 414
Lines of code 239
Logical lines of code 89
Comment lines 119
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
add_data_attributes()
A
48 11 31
get_registered_blocks_with_yith_search_parent()
S
52 6 28
script_translations()
S
49 4 35
register_assets()
S
54 5 20
get_common_localize()
S
48 3 30
get_wc_data()
S
53 3 24
init()
S
58 2 15
register_blocks()
S
66 3 9
block_should_have_data_attributes()
S
62 3 10
enqueue_asset_data()
S
62 2 12
get_assets_data()
S
68 2 7
block_category()
S
63 2 10
__construct()
S
82 1 3
get_blocks()
S
75 1 5