YITH_WCAS_Gutenberg_Blocks_Controller S

Total Complexity 36
Dependencies 3
Dependents 1
Total lines 335
Lines of code 197
Logical lines of code 64
Comment lines 96
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
add_data_attributes()
A
49 8 27
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
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