WC_Brands C

Total Complexity 122
Dependencies 5
Dependents 0
Total lines 1,056
Lines of code 625
Logical lines of code 288
Comment lines 289
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
output_product_brand_list()
A
41 11 59
output_product_brand()
A
45 11 42
init_taxonomy()
A
41 6 54
output_product_brand_thumbnails()
A
44 6 49
rest_api_add_brands_to_product()
S
55 7 18
output_product_brand_thumbnails_description()
S
45 5 47
rest_api_prepare_brands_to_product()
S
57 5 15
recount_after_stock_change()
S
60 5 13
post_type_link()
S
53 4 24
template_loader()
S
56 4 19
register_hooks()
S
47 3 34
add_structured_data()
S
59 4 14
wc_brands_on_block_template_register()
S
55 3 20
brand_description()
S
56 3 19
woocommerce_brands_update_layered_nav_link()
S
55 3 18
update_product_query_tax_query()
S
59 3 14
duplicate_add_product_brand_terms()
S
61 3 13
get_brand_products_query_args()
S
60 3 12
duplicate_store_temporary_brands()
S
62 3 11
rest_api_maybe_set_brands()
S
69 3 6
reset_layered_nav_counts_on_status_change()
S
73 3 5
show_brand()
S
61 3 10
output_brand_products()
S
61 2 11
rest_api_register_routes()
S
63 2 11
rest_api_filter_products_by_brand()
S
64 2 10
body_class()
S
73 2 5
add_brand_products_shortcode_atts()
S
74 2 4
remove_terms_with_empty_products()
S
69 1 8
invalidate_wc_layered_nav_counts_cache()
S
75 1 4
__construct()
S
72 1 5
rest_api_product_collection_params()
S
65 1 9
register_shortcodes()
S
68 1 7
init_widgets()
S
67 1 8
styles()
S
74 1 4
add_body_class()
S
74 1 5
recount_all_brands()
S
64 1 10
add_brands_to_terms()
S
77 1 4
get_brand_name_first_character()
S
74 1 4