-
Home
-
Buy one Get one Free – Other similar BOGO WooCommerce discount rule maker
-
1.10.47 (latest)
-
Code
-
Classes
- Pi_Bogo_Free_Product
Total Complexity |
18 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
77 |
Lines of code |
58 |
Logical lines of code |
26 |
Comment lines |
6 |
Methods |
8 |
Properties |
0 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isFreeProduct() |
S |
62 |
4 |
12 |
addFreeProduct() |
S |
59 |
2 |
15 |
updateQuantity() |
S |
66 |
3 |
9 |
getVariationAttributes() |
S |
74 |
3 |
4 |
removeFreeProduct() |
S |
73 |
2 |
5 |
getParent() |
S |
73 |
2 |
5 |
__construct() |
S |
100 |
1 |
2 |
setPriceZero() |
S |
71 |
1 |
6 |