WC_Facebookcommerce_Utils B

Total Complexity 96
Dependencies 2
Dependents 10
Total lines 528
Lines of code 322
Logical lines of code 152
Comment lines 135
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
validateGender()
A
50 15 25
get_user_info()
A
47 9 33
sanitize_variant_name()
S
56 7 19
get_store_name()
S
50 6 32
is_all_caps()
S
60 5 13
log()
S
62 5 11
fblog()
S
53 4 25
check_woo_ajax_permissions()
S
61 3 14
tip_events_log()
S
62 3 12
get_product_array()
S
63 3 11
get_product_categories()
S
54 2 22
get_wp_posts()
S
58 2 17
check_time_cap()
S
65 3 8
get_variant_option_name()
S
68 3 6
wc_enqueue_js()
S
66 3 8
is_valid_id()
S
77 3 3
make_url()
S
64 3 10
is_variable_type()
S
78 2 3
is_variation_type()
S
78 2 3
getIntegrationName()
S
70 2 7
decode_json()
S
71 2 5
set_test_fail_reason()
S
67 2 8
get_fb_retailer_id()
S
72 2 5
isWoocommerceIntegration()
S
80 1 3
clean_string()
S
67 1 7
get_fbid_post_meta()
S
78 1 3
get_fb_content_ids()
S
79 1 3
get_cached_best_tip()
S
71 1 6