StoreLinkrRestApi C

Total Complexity 117
Dependencies 11
Dependents 0
Total lines 1,075
Lines of code 911
Logical lines of code 327
Comment lines 5
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
renderLinkVariants()
B
40 19 62
renderListProducts()
A
32 9 108
createStandaloneImage()
A
41 10 54
init()
A
33 3 140
renderUpsertBulkProducts()
A
45 9 44
renderUpdateProduct()
A
43 8 50
renderArchiveValidation()
S
48 6 34
updateStockLocationMetaFields()
S
57 6 17
authenticateRequest()
S
62 5 12
renderCreateStockLocation()
S
52 4 25
renderCreateProductVariant()
S
47 3 38
renderUpdateProductVariant()
S
47 3 38
renderCreateProduct()
S
48 3 35
renderImageProduct()
S
48 3 34
renderCategoryUpdate()
S
54 3 23
renderCategoriesCreate()
S
52 2 28
renderUpdateStockLocation()
S
53 2 24
renderOrderCreate()
S
55 2 21
renderCreateImage()
S
57 2 18
renderArchiveProduct()
S
58 2 16
renderError()
S
59 2 16
validateRequiredFields()
S
68 3 7
renderTestConnection()
S
59 2 14
convertRequestToArray()
S
52 1 28
renderCategories()
S
63 2 11
renderOrders()
S
63 2 11
__construct()
S
81 1 3