SEMA_Product_Import D

Total Complexity 496
Dependencies 4
Dependents 1
Total lines 3,360
Lines of code 2,421
Logical lines of code 1,455
Comment lines 552
Methods 30
Properties 8

Methods 30

Method Rating Maintainability Complexity Lines of code
importProduct()
D
0
153 396
dispatch()
D
0
91 1,104
process_product()
D
6
104 341
parseTerms()
C
31 28 105
fetch_remote_file()
C
34 25 83
process_attachment()
A
39 14 64
wh_deleteProduct()
A
42 12 54
get_all_product_attributes()
A
48 9 34
parseMedia()
S
48 7 30
product_exists()
S
49 7 30
backfill_parents()
S
59 8 13
regenerate_thumbnail()
S
58 5 13
sema_insertCategory()
S
53 4 22
typeCheck()
S
66 5 8
import_start()
S
54 2 19
wt_get_image_id_by_url()
S
70 3 5
header()
S
62 2 11
wf_get_product_id_by_sku()
S
59 1 16
__construct()
S
64 2 10
hf_log_data_change()
S
64 2 10
import_end()
S
65 2 9
link_product_skus()
S
64 2 9
_sql()
S
72 1 5
array_iunique()
S
72 1 6
add_import_result()
S
65 1 9
max_attachment_size()
S
79 1 3
footer()
S
82 1 3
chooseCategory()
S
81 1 3
syncCategory()
S
81 1 3
bump_request_timeout()
S
82 1 3