WC_Facebook_Product_Feed C

Total Complexity 103
Dependencies 12
Dependents 1
Total lines 901
Lines of code 457
Logical lines of code 227
Comment lines 228
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
write_product_feed_file()
B
40 20 54
prepare_product_for_feed()
B
33 17 99
sync_all_products_using_feed()
A
42 9 58
create_files_to_protect_product_feed_directory()
S
53 5 23
is_upload_complete()
S
56 5 17
create_feed()
S
56 4 19
create_upload()
S
61 4 12
estimate_generation_time()
S
54 3 22
get_product_ids()
S
56 3 19
schedule_feed_generation()
S
62 3 11
generate_feed()
S
62 2 12
format_additional_image_url()
S
62 2 12
format_variant_for_feed()
S
63 2 11
format_string_for_feed()
S
68 2 7
get_value_from_product_data()
S
78 2 3
log_feed_progress()
S
72 2 5
set_feed_generation_time_with_decay()
S
68 2 7
generate_productfeed_file()
S
67 2 7
format_price_for_feed()
S
77 1 3
__construct()
S
74 1 5
get_product_feed_header_row()
S
72 1 6
get_temp_file_name()
S
74 1 4
get_file_name()
S
74 1 4
get_file_directory()
S
74 1 4
get_temp_file_path()
S
78 1 3
get_file_path()
S
78 1 3
get_feed_generation_buffer_time()
S
74 1 4
get_feed_generation_estimate_sample_size()
S
74 1 4
get_average_feed_generation_time()
S
80 1 3
get_estimated_feed_generation_time()
S
72 1 5
set_average_feed_generation_time()
S
80 1 3
get_product_wpid()
S
68 1 8