-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
5.6.0
-
Code
-
Classes
- WCCS_Shipping_Method
Total Complexity |
36 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
209 |
Lines of code |
118 |
Logical lines of code |
65 |
Comment lines |
60 |
Methods |
9 |
Properties |
1 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_valid_rules() |
A |
54 |
8 |
20 |
get_fee() |
A |
55 |
8 |
18 |
calculate_shipping() |
S |
53 |
5 |
23 |
get_total_quantities_cost() |
S |
57 |
5 |
15 |
get_total_weights_cost() |
S |
57 |
5 |
15 |
get_rule_cost() |
S |
67 |
2 |
7 |
__construct() |
S |
70 |
1 |
6 |
init() |
S |
70 |
1 |
6 |
get_option() |
S |
67 |
1 |
8 |