Total Complexity | 92 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 533 |
Lines of code | 414 |
Logical lines of code | 246 |
Comment lines | 23 |
Methods | 21 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
updateProduct() | 31 | 18 | 112 | |
product() | 40 | 12 | 60 | |
updateStock() | 49 | 8 | 27 | |
getConfig() | 57 | 7 | 17 | |
getImagesProduct() | 52 | 6 | 28 | |
updatePrice() | 57 | 6 | 16 | |
addProductVariant() | 57 | 5 | 16 | |
updateOrder() | 50 | 4 | 28 | |
insertCategory() | 52 | 4 | 24 | |
updateCategory() | 59 | 4 | 13 | |
deleteProduct() | 58 | 3 | 14 | |
updateImage() | 66 | 3 | 8 | |
getOrderIdFromKvOrderId() | 66 | 2 | 8 | |
updateName() | 72 | 2 | 5 | |
updateDescription() | 72 | 2 | 5 | |
updateStockProduct() | 79 | 1 | 3 | |
__construct() | 65 | 1 | 9 | |
isJson() | 76 | 1 | 4 | |
register_api_route() | 66 | 1 | 8 | |
addProductVariable() | 69 | 1 | 6 | |
updateLowStockProduct() | 79 | 1 | 3 |