Wt_Import_Export_For_Woo_Basic_Product_Import D

Total Complexity 488
Dependencies 9
Dependents 1
Total lines 2,179
Lines of code 1,531
Logical lines of code 928
Comment lines 274
Methods 53
Properties 24

Methods 53

Method Rating Maintainability Complexity Lines of code
parse_data()
D
2
146 311
wt_product_existance_check()
D
33 36 79
process_item()
C
34 27 79
set_product_data()
C
37 24 73
prepare_data_to_import()
B
40 16 52
get_attachment_id_from_url()
A
35 13 89
fetch_remote_file()
A
41 15 50
wt_parse_id_field()
A
48 13 28
wt_parse_catalog_visibility_field()
A
49 11 34
set_other_taxonomy_data()
A
51 11 25
wt_wpml_element_connect_on_insert()
A
51 10 25
wt_parse_type_field()
A
52 9 23
wt_parse_other_taxomomy_field()
A
47 8 34
wt_parse_parent_field()
A
48 8 34
wt_parse_categories_field()
A
48 8 32
get_product_object()
S
50 7 28
get_variation_parent_attributes()
S
52 7 25
generate_product_description_using_openai()
S
44 5 46
wt_set_attachment_data()
S
58 7 14
get_attribute_taxonomy_id()
S
45 5 44
set_image_data()
S
52 6 25
wt_parse_tags_spaces_field()
S
57 6 17
wt_parse_tags_field()
S
57 6 17
arrange_product_images()
S
55 5 19
set_meta_data()
S
58 5 15
wt_parse_attribute_data_field()
S
59 5 13
wt_parse_shipping_class_field()
S
61 5 13
wt_parse_attribute_field()
S
52 4 23
delete_existing()
S
50 3 32
wt_parse_images_field()
S
59 4 15
wt_parse_string_to_bool_field()
S
60 4 14
wt_parse_meta_field()
S
59 4 13
wt_parse_published_field()
S
60 4 12
wt_parse_seperation_field()
S
62 4 11
get_default_data()
S
43 1 55
wt_parse_tax_status_field()
S
66 4 8
wt_parse_product_ids_field()
S
63 3 11
wt_remove_empty_attributes()
S
68 3 8
wt_parse_downloads_field()
S
63 3 10
wt_parse_attribute_default_field()
S
67 3 7
wt_parse_bool_field()
S
66 3 9
wt_parse_stock_quantity_field()
S
72 2 6
wt_parse_description_field()
S
67 2 7
wt_parse_backorders_field()
S
70 2 7
wt_parse_download_file_field()
S
70 2 6
clean_after_import()
S
68 2 7
wt_parse_stock_status_field()
S
82 1 3
wt_parse_int_field()
S
80 1 3
wt_explode_values_formatter()
S
78 1 3
wt_explode_values()
S
69 1 6
wt_parse_taxonomy_field()
S
82 1 3
wt_get_wpml_original_post_language_info()
S
71 1 5
__construct()
S
81 1 3