WC_Facebook_Product D

Total Complexity 374
Dependencies 11
Dependents 2
Total lines 2,130
Lines of code 1,272
Logical lines of code 749
Comment lines 394
Methods 62
Properties 10

Methods 62

Method Rating Maintainability Complexity Lines of code
prepare_product()
C
31 26 102
get_attribute_by_type()
C
39 27 59
get_taxonomy_attribute_values()
C
37 24 71
get_parent_taxonomy_attribute_values()
B
41 21 54
prepare_variants_for_group()
B
39 15 63
prepare_variants_for_item()
A
40 15 58
get_fb_short_description()
A
47 15 37
get_fb_description()
A
48 12 35
add_sale_price()
A
47 12 35
get_rich_text_description()
A
49 12 33
get_all_video_urls()
A
51 11 26
apply_enhanced_catalog_fields_from_attributes()
A
50 10 28
get_fb_brand()
A
47 9 38
get_fb_mpn()
A
49 8 31
get_fb_gender()
A
50 8 29
get_fb_age_group()
A
50 8 29
get_all_image_urls()
A
49 7 31
get_fb_condition()
S
55 7 20
build_checkout_url()
S
50 6 31
get_disabled_capabilities()
S
58 7 15
find_matching_product_variation()
S
52 6 26
get_fb_color()
S
53 6 23
get_first_value_from_complex_type()
S
62 6 11
get_gallery_urls()
S
55 5 21
get_fb_material()
S
55 5 20
get_fb_size()
S
55 5 20
get_fb_pattern()
S
55 5 20
process_attribute_values()
S
58 5 15
__construct()
S
53 4 25
get_unmapped_attributes()
S
57 4 17
get_price_plus_tax()
S
58 4 16
get_grouped_product_option_names()
S
60 4 14
check_attribute_mapping()
S
62 4 11
get_matched_attributes_for_product()
S
56 3 19
is_bookable_product()
S
77 4 3
convert_pipe_separated_values()
S
65 4 9
update_visibility()
S
64 4 9
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
__get()
S
67 2 7
exists()
S
78 2 3
get_post_data()
S
69 2 7
get_fb_price()
S
75 2 4
get_parent_image_id()
S
69 2 7
set_product_video_urls()
S
60 1 15
set_rich_text_description()
S
66 1 10
set_fb_brand()
S
66 1 10
set_description()
S
67 1 9
set_fb_attribute()
S
66 1 10
get_additional_image_urls()
S
79 1 3
set_fb_material()
S
80 1 3
set_fb_pattern()
S
80 1 3
format_price_for_fb_items_batch()
S
74 1 4
set_fb_mpn()
S
80 1 3
set_fb_condition()
S
80 1 3
set_fb_age_group()
S
80 1 3
set_fb_gender()
S
80 1 3
set_fb_color()
S
80 1 3
set_fb_size()
S
80 1 3
set_use_parent_image()
S
68 1 8