-
Home
-
Store credit / Gift cards for woocommerce
-
1.0.49.21 (latest)
-
Code
-
Classes
- Pi_store_credit_product_type_handler
Total Complexity |
98 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
460 |
Lines of code |
326 |
Logical lines of code |
210 |
Comment lines |
9 |
Methods |
23 |
Properties |
1 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validateRange() |
B |
42 |
18 |
50 |
add_order_item_meta() |
A |
53 |
10 |
19 |
addToCartHandlerForRange() |
A |
54 |
10 |
17 |
showExtraDate() |
A |
52 |
9 |
24 |
addStoreCreditToOrder() |
A |
49 |
8 |
29 |
saveFields() |
S |
57 |
5 |
17 |
createCoupon() |
S |
50 |
4 |
30 |
showGeneratedCoupons() |
S |
58 |
5 |
14 |
setPriceInCart() |
S |
60 |
5 |
12 |
disableQuantity() |
S |
68 |
4 |
6 |
loopAddToCart() |
S |
68 |
3 |
7 |
template() |
S |
63 |
3 |
10 |
__construct() |
S |
50 |
1 |
26 |
dataTab() |
S |
56 |
1 |
21 |
woocommerce_attribute_label() |
S |
72 |
2 |
6 |
scheduleEmail() |
S |
72 |
2 |
5 |
get_instance() |
S |
72 |
2 |
6 |
hidden_order_item_meta() |
S |
77 |
1 |
4 |
woocommerce_order_status_completed() |
S |
80 |
1 |
3 |
dataPanel() |
S |
83 |
1 |
3 |
randomCouponCode() |
S |
68 |
1 |
7 |
expiryDate() |
S |
71 |
1 |
5 |
addProductType() |
S |
72 |
1 |
5 |