-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
7.3.1 (latest)
-
Code
-
Classes
- WCCS_Shipping_Method
Total Complexity |
36 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
216 |
Lines of code |
119 |
Logical lines of code |
66 |
Comment lines |
60 |
Methods |
9 |
Properties |
4 |
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 |
68 |
1 |
7 |
init() |
S |
70 |
1 |
6 |
get_option() |
S |
67 |
1 |
8 |