Total Complexity | 38 |
Dependencies | 0 |
Dependents | 2 |
Total lines | 175 |
Lines of code | 118 |
Logical lines of code | 68 |
Comment lines | 20 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getGlobalMaxQuantity() | 55 | 7 | 20 | |
setMaxQuantityPerProduct() | 54 | 6 | 23 | |
getProductQuantityInCart() | 61 | 4 | 12 | |
removeAddToCart() | 62 | 3 | 12 | |
getGlobalMinQuantity() | 66 | 3 | 8 | |
globalMinMaxDisabled() | 73 | 3 | 4 | |
globalMinQuantityEnabled() | 77 | 2 | 3 | |
globalMaxQuantityEnabled() | 77 | 2 | 3 | |
maxQuantityPerProduct() | 70 | 2 | 7 | |
minQuantityPerProduct() | 70 | 2 | 7 | |
__construct() | 63 | 1 | 10 | |
maxQuantityPerProductForFilter() | 80 | 1 | 3 | |
minQuantityPerProductForFilter() | 80 | 1 | 3 | |
isProductValidForCheckout() | 80 | 1 | 3 |