-
Home
-
Buy one Get one Free – Other similar BOGO WooCommerce discount rule maker
-
1.10.47 (latest)
-
Code
-
Classes
- Pi_Bogo_Parent
Total Complexity |
25 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
123 |
Lines of code |
90 |
Logical lines of code |
57 |
Comment lines |
4 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getFreeProductId() |
S |
61 |
3 |
13 |
addFreeProduct() |
S |
64 |
3 |
9 |
removeFreeProduct() |
S |
72 |
2 |
6 |
addFreeProductKey() |
S |
73 |
2 |
5 |
isParent() |
S |
70 |
2 |
7 |
differentFreeProduct() |
S |
72 |
2 |
5 |
getProductID() |
S |
69 |
2 |
7 |
getVariationID() |
S |
69 |
2 |
7 |
getQuantity() |
S |
69 |
2 |
7 |
getChildKey() |
S |
69 |
2 |
7 |
__construct() |
S |
73 |
1 |
5 |
updateQuantity() |
S |
73 |
1 |
5 |
getFreeProductQuantity() |
S |
68 |
1 |
7 |