-
Home
-
Conditional cart fee / Extra charge rule for WooCommerce extra fees
-
1.1.47
-
Code
-
Classes
- Pi_cefw_Apply_fees
Total Complexity |
63 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
349 |
Lines of code |
234 |
Logical lines of code |
145 |
Comment lines |
20 |
Methods |
18 |
Properties |
4 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
feesSelectedInSession() |
A |
55 |
10 |
19 |
getFees() |
A |
45 |
8 |
43 |
extraFeesSelector() |
S |
53 |
7 |
20 |
feesChecked() |
S |
54 |
6 |
21 |
evaluate_cost() |
S |
51 |
4 |
25 |
saveFeesInSession() |
S |
65 |
5 |
8 |
removeFeesInSession() |
S |
65 |
5 |
8 |
applyFees() |
S |
67 |
4 |
7 |
round_off() |
S |
67 |
3 |
8 |
qty() |
S |
59 |
1 |
16 |
selected_product_qty() |
S |
59 |
1 |
16 |
get_fees_amount() |
S |
68 |
2 |
8 |
selected_product_count() |
S |
59 |
1 |
15 |
get_instance() |
S |
72 |
2 |
6 |
addfees() |
S |
76 |
1 |
4 |
__construct() |
S |
75 |
1 |
4 |
add_to_fees_amount_list() |
S |
80 |
1 |
3 |
get_fees_list() |
S |
83 |
1 |
3 |