WC_Facebookcommerce_Utils B

Total Complexity 92
Dependencies 2
Dependents 10
Total lines 509
Lines of code 314
Logical lines of code 147
Comment lines 127
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
validateGender()
A
50 15 25
get_user_info()
A
47 9 33
get_store_name()
S
50 6 32
sanitize_variant_name()
S
57 6 17
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
make_url()
S
64 3 10
is_valid_id()
S
77 3 3
wc_enqueue_js()
S
66 3 8
decode_json()
S
71 2 5
set_test_fail_reason()
S
67 2 8
is_variable_type()
S
78 2 3
is_variation_type()
S
78 2 3
getIntegrationName()
S
70 2 7
get_fb_retailer_id()
S
72 2 5
get_fbid_post_meta()
S
78 1 3
isWoocommerceIntegration()
S
80 1 3
clean_string()
S
67 1 7
get_fb_content_ids()
S
79 1 3
get_cached_best_tip()
S
71 1 6