WC_Facebook_Product D

Total Complexity 143
Dependencies 10
Dependents 2
Total lines 907
Lines of code 588
Logical lines of code 308
Comment lines 147
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
prepare_product()
B
34 20 88
prepare_variants_for_group()
B
39 15 63
prepare_variants_for_item()
A
41 14 54
get_fb_description()
A
47 11 42
apply_enhanced_catalog_fields_from_attributes()
A
50 9 27
get_all_image_urls()
S
50 7 30
add_sale_price()
S
49 6 32
build_checkout_url()
S
50 6 31
find_matching_product_variation()
S
52 6 26
get_gallery_urls()
S
55 5 21
get_price_plus_tax()
S
58 4 16
get_grouped_product_option_names()
S
60 4 14
__construct()
S
55 3 19
update_visibility()
S
64 4 9
is_bookable_product()
S
77 4 3
set_product_image()
S
63 3 11
get_use_parent_image()
S
66 3 8
set_price()
S
62 2 14
__call()
S
60 2 14
exists()
S
78 2 3
is_hidden()
S
73 2 4
get_parent_image_id()
S
69 2 7
get_fb_price()
S
75 2 4
get_post_data()
S
69 2 7
get_matched_attributes_for_product()
S
60 1 15
set_description()
S
65 1 11
set_use_parent_image()
S
68 1 8
get_additional_image_urls()
S
79 1 3
format_price_for_fb_items_batch()
S
74 1 4