Ecwid_Integration_Gutenberg B

Total Complexity 77
Dependencies 10
Dependents 0
Total lines 522
Lines of code 413
Logical lines of code 176
Comment lines 10
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
render_callback()
B
34 21 89
_get_attributes_for_editor()
A
39 13 69
enqueue_block_editor_assets()
A
39 5 66
get_blocks_on_page()
S
54 6 22
product_render_callback()
S
48 4 37
_get_products_data()
S
55 5 21
get_store_block_data_from_current_page()
S
60 4 14
__construct()
S
51 3 28
_is_new_details_page()
S
74 3 4
_is_new_product_list()
S
74 3 4
_get_version_for_assets()
S
69 3 6
_get_store_icon_path()
S
66 1 17
on_save_post()
S
72 2 5
block_categories()
S
62 1 12
admin_enqueue_scripts()
S
77 1 4
get_block_names()
S
72 1 6
_get_product_icon_path()
S
72 1 9