Blockons_WC_Rest_Routes S

Total Complexity 24
Dependencies 4
Dependents 0
Total lines 266
Lines of code 191
Logical lines of code 75
Comment lines 34
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
blockons_create_rest_routes()
S
41 3 65
blockons_get_product_data_by_id()
S
52 3 23
blockons_get_all_post_types()
S
60 3 13
blockons_get_post_by_id()
S
55 2 19
blockons_get_wc_products()
S
59 2 15
get_add_to_cart_form()
S
60 2 14
blockons_get_wc_product_by_id()
S
57 1 17
blockons_get_settings()
S
71 2 6
blockons_save_settings_permission()
S
79 2 3
__construct()
S
79 1 3
blockons_get_settings_permission()
S
82 1 3
blockons_save_settings()
S
69 1 6
blockons_delete_settings()
S
76 1 4