-
Home
-
AffiliateWP – Store Credit
-
2.5 (latest)
-
Code
-
Classes
- AffiliateWP_Store_Credit_WooCommerce
Total Complexity |
63 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
582 |
Lines of code |
264 |
Logical lines of code |
162 |
Comment lines |
189 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
generate_coupon() |
A |
43 |
7 |
48 |
cart_updated_actions() |
S |
52 |
6 |
26 |
subscription_actions() |
S |
54 |
5 |
21 |
subscription_validate_coupon_usage() |
S |
54 |
5 |
21 |
checkout_actions() |
S |
57 |
5 |
16 |
delete_coupon_on_removal() |
S |
61 |
5 |
12 |
validate_coupon_usage() |
S |
56 |
4 |
17 |
edit_payment() |
S |
57 |
4 |
16 |
process_used_coupon() |
S |
60 |
4 |
13 |
calculate_coupon_amount() |
S |
64 |
4 |
11 |
action_add_checkout_notice() |
S |
55 |
3 |
19 |
check_for_coupon() |
S |
64 |
4 |
10 |
add_payment() |
S |
63 |
2 |
10 |
remove_payment() |
S |
63 |
2 |
10 |
calculate_cart_subtotal() |
S |
74 |
2 |
4 |
init() |
S |
63 |
1 |
10 |