WC_Facebookcommerce_Utils C

Total Complexity 123
Dependencies 8
Dependents 8
Total lines 825
Lines of code 441
Logical lines of code 225
Comment lines 282
Methods 38
Properties 4

Methods 38

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
normalize_product_data_for_items_batch()
S
54 6 19
fblog()
S
52 5 26
is_all_caps()
S
60 5 13
log()
S
62 5 11
tip_events_log()
S
60 4 13
get_all_product_ids_for_sync()
S
53 3 24
check_woo_ajax_permissions()
S
60 3 14
load_deferred_events()
S
63 3 12
get_product_array()
S
63 3 11
save_deferred_events()
S
63 3 11
get_product_categories()
S
54 2 22
get_wp_posts()
S
58 2 17
make_url()
S
64 3 10
wc_enqueue_js()
S
66 3 8
get_variant_option_name()
S
68 3 6
check_time_cap()
S
65 3 8
is_valid_id()
S
77 3 3
clean_string()
S
61 2 12
prepare_product_variation_data_items_batch()
S
61 2 11
is_variable_type()
S
78 2 3
is_variation_type()
S
78 2 3
getIntegrationName()
S
70 2 7
get_fb_retailer_id()
S
67 2 7
decode_json()
S
71 2 5
set_test_fail_reason()
S
67 2 8
get_deferred_events_transient_key()
S
70 2 6
print_deferred_events()
S
69 2 6
prepare_product_requests_items_batch()
S
62 1 12
isWoocommerceIntegration()
S
80 1 3
get_fb_content_ids()
S
79 1 3
get_fbid_post_meta()
S
78 1 3
get_cached_best_tip()
S
71 1 6
add_deferred_event()
S
80 1 3
prepare_product_data_items_batch()
S
69 1 6