Ecwid_Integration_Gutenberg B

Total Complexity 77
Dependencies 10
Dependents 0
Total lines 500
Lines of code 387
Logical lines of code 175
Comment lines 6
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
render_callback()
B
34 21 91
_get_attributes_for_editor()
A
39 13 65
enqueue_block_editor_assets()
A
40 5 61
get_blocks_on_page()
S
55 6 20
_get_products_data()
S
55 5 21
product_render_callback()
S
50 4 30
get_store_block_data_from_current_page()
S
61 4 12
__construct()
S
54 3 20
_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
73 1 6
_get_product_icon_path()
S
72 1 9