-
Home
-
Conditional discount / bulk discounts for WooCommerce
-
1.9.37.23 (latest)
-
Code
-
Classes
- pi_products_matching_rule
Total Complexity |
52 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
182 |
Lines of code |
145 |
Logical lines of code |
96 |
Comment lines |
0 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isMatch() |
A |
51 |
12 |
27 |
getMatchedProductsQuantity() |
A |
53 |
9 |
21 |
getProductQty() |
A |
55 |
8 |
19 |
getMatchedProductsCost() |
S |
64 |
3 |
10 |
categoryQuantityMatched() |
S |
64 |
3 |
9 |
getProductBasedRules() |
S |
63 |
3 |
10 |
excludedProductList() |
S |
70 |
2 |
6 |
productMatched() |
S |
71 |
2 |
6 |
variableProductMatched() |
S |
71 |
2 |
6 |
categoryMatched() |
S |
67 |
2 |
8 |
shippingClassMatched() |
S |
70 |
2 |
6 |
getCategoriesOfProduct() |
S |
66 |
2 |
9 |
__construct() |
S |
77 |
1 |
4 |
getRules() |
S |
75 |
1 |
4 |