WC_LI_Inventory D

Total Complexity 254
Dependencies 8
Dependents 3
Total lines 1,812
Lines of code 1,201
Logical lines of code 739
Comment lines 152
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
singleProdSync()
D
17
54 239
WpItemSync()
D
27
32 136
getImage()
B
36 16 76
singleCatSync()
A
37 13 75
savePicToLinet()
A
43 11 45
singleSync()
A
46 11 37
WpCatSync()
A
48 11 31
linetSaveRuler()
A
43 8 51
catSyncAjax()
A
43 7 48
smart_update_post_meta()
S
56 6 19
fullSync()
S
49 5 30
syncParams()
S
55 5 20
prodSync()
S
49 4 31
linet_posts_orderby()
S
59 5 15
syncRuler()
S
51 4 25
findParentBySku()
S
63 5 9
saveRuler()
S
51 3 28
updateStock()
S
60 4 12
WpItemsSyncAjax()
S
52 3 23
WpSmallItemsSyncAjax()
S
55 3 18
findTermByCatId()
S
57 3 17
category_columns()
S
63 4 10
getProdSku()
S
64 4 10
syncStockURL()
S
60 3 13
singleProdAjax()
S
51 2 28
WpCatSyncAjax()
S
51 2 25
singleSyncAjax()
S
57 2 19
product_columns()
S
64 3 9
syncCatParams()
S
64 3 10
findByProdSku()
S
59 2 13
getLinetId()
S
61 2 11
findByProdId()
S
61 2 11
findByCatId()
S
69 2 7
updateTaxonomy()
S
67 2 7
setup_hooks()
S
64 1 9
category_columns_head()
S
75 1 4
category_columns_sort()
S
77 1 4
product_columns_head()
S
72 1 5
product_columns_sort()
S
73 1 5
DeleteAjax()
S
71 1 6
CleanOrphAjax()
S
77 1 4
CatListAjax()
S
70 1 6