-
Home
-
Conditional cart fee / Extra charge rule for WooCommerce extra fees
-
1.1.12
-
Code
-
Classes
- Pi_cefw_Apply_fees
Total Complexity |
66 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
329 |
Lines of code |
229 |
Logical lines of code |
148 |
Comment lines |
20 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addfees() |
A |
44 |
11 |
42 |
feesSelectedInSession() |
A |
55 |
10 |
19 |
extraFeesSelector() |
A |
52 |
8 |
21 |
feesChecked() |
S |
54 |
6 |
21 |
evaluate_cost() |
S |
52 |
4 |
23 |
matchedShippingMethodsOld() |
S |
58 |
4 |
16 |
saveFeesInSession() |
S |
65 |
5 |
8 |
removeFeesInSession() |
S |
65 |
5 |
8 |
matchConditions() |
S |
61 |
4 |
13 |
offerStarted() |
S |
63 |
3 |
11 |
offerEnded() |
S |
63 |
3 |
11 |
qty() |
S |
59 |
1 |
16 |
selected_product_qty() |
S |
59 |
1 |
16 |
__construct() |
S |
75 |
1 |
4 |