-
Home
-
Germanized for WooCommerce
-
3.5.0
-
Code
-
Classes
- WC_GZD_Coupon_Helper
Total Complexity |
64 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
391 |
Lines of code |
230 |
Logical lines of code |
138 |
Comment lines |
80 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
recalculate_tax_totals() |
B |
36 |
21 |
82 |
disallow_coupon_type_merging() |
A |
55 |
8 |
18 |
order_voucher_total() |
S |
58 |
6 |
15 |
cart_has_voucher() |
S |
58 |
5 |
17 |
order_has_voucher() |
S |
61 |
5 |
12 |
before_recalculate_totals() |
S |
50 |
3 |
27 |
coupon_save() |
S |
62 |
3 |
12 |
coupon_item_save() |
S |
68 |
3 |
7 |
instance() |
S |
72 |
2 |
6 |
adjust_item_total() |
S |
71 |
2 |
6 |
__clone() |
S |
78 |
1 |
3 |
__wakeup() |
S |
78 |
1 |
3 |
__construct() |
S |
65 |
1 |
8 |
coupon_is_voucher() |
S |
77 |
1 |
3 |
convert_coupon_to_voucher() |
S |
76 |
1 |
4 |
coupon_options() |
S |
68 |
1 |
7 |