Endpoint_Product C

Total Complexity 123
Dependencies 5
Dependents 0
Total lines 936
Lines of code 470
Logical lines of code 267
Comment lines 318
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
custom_product_endpoint()
A
42 10 48
get_custom_attributes()
A
48 11 29
merge_custom_attributes()
A
48 10 34
cascade_variants()
A
53 8 22
get_variations()
S
54 6 21
format_prices()
S
57 6 15
get_meta_attributes()
S
58 5 15
get_raw_price()
S
62 6 10
get_df_variants_information()
S
55 4 18
get_category_hierarchy()
S
58 4 16
get_slug_from_map_attributes()
S
57 4 16
get_image_link()
S
61 4 12
get_data()
S
58 3 16
check_availability()
S
65 4 8
request_variations()
S
56 2 18
clean_fields()
S
58 2 17
get_raw_real_price()
S
59 2 16
get_category_path()
S
64 3 10
get_all_attributes()
S
62 3 10
get_products()
S
56 1 17
initialize()
S
60 1 16
process_variations()
S
65 2 8
get_categories()
S
70 2 6
get_tag_names()
S
68 2 7
add_base_url_if_needed()
S
70 2 6
get_field_attributes()
S
68 2 7
get_real_product_attribute_name()
S
66 2 8
get_price()
S
79 1 3
get_fields()
S
80 1 3
set_indexable()
S
76 1 4
get_sale_price()
S
78 1 3
get_regular_price()
S
78 1 3
get_image_field()
S
79 1 3
process_content()
S
72 1 5
clear_images_fields()
S
72 1 5
get_description()
S
75 1 4
get_short_description()
S
75 1 4
get_tags()
S
75 1 4
check_stock_status()
S
79 1 3