Dfrpswc_Product_Update_Handler A

Total Complexity 68
Dependencies 3
Dependents 2
Total lines 597
Lines of code 347
Logical lines of code 145
Comment lines 149
Methods 24
Properties 5

Methods 24

Method Rating Maintainability Complexity Lines of code
get_wc_product_attribute()
A
47 12 35
get_custom_attributes()
S
47 6 36
update_meta()
S
49 6 30
handle_callbacks()
S
58 6 17
update_unhandled_meta_fields()
S
58 5 15
get_global_attributes()
S
49 4 29
update_taxonomies()
S
55 3 20
get_wp_post_wc_product_field_method_map()
S
46 1 48
update_product_props()
S
63 4 9
update_post()
S
53 2 23
update_unhandled_taxonomies()
S
69 2 6
update_attributes()
S
65 2 10
update()
S
60 1 15
add_product_sku()
S
71 2 6
update_unhandled_post_fields()
S
68 2 7
post_is_valid()
S
77 2 3
add_product_set_id_meta_data()
S
78 1 3
filter_attribute_value()
S
70 1 6
filter_attribute_visibility()
S
70 1 6
filter_attribute_variation()
S
70 1 6
explode_on_wc_delimiter()
S
79 1 3
update_post_fields()
S
76 1 4
save_product()
S
81 1 3
__construct()
S
68 1 7