AWDP_Discount D

Total Complexity 408
Dependencies 17
Dependents 5
Total lines 1,761
Lines of code 1,118
Logical lines of code 701
Comment lines 217
Methods 34
Properties 26

Methods 34

Method Rating Maintainability Complexity Lines of code
eval_rule()
D
31 51 87
addVirtualCoupon()
D
32 34 81
get_con_unit()
C
36 30 77
load_rules()
C
29 22 125
set_product_list()
C
34 25 75
wdpCalculateDiscount()
C
35 25 73
validate_discount_rules()
B
41 25 45
cart_discount_items()
B
36 22 75
show_offer_message()
B
46 21 29
wdp_price_including_tax()
A
41 15 54
wdpCartLoop()
A
44 13 43
check_discount()
A
52 12 22
check_discount_shop()
A
53 11 22
get_product_price_html()
A
48 10 30
wdp_price_excluding_tax()
A
49 10 28
wdpGetVariations()
A
56 10 17
applyFakeCoupons()
A
54 9 20
get_items_to_apply_discount()
A
57 8 16
wdpWCPAVariationPrice()
S
51 6 27
show_pricing_table()
S
51 6 26
get_discounts_by_item()
S
59 6 15
wdpWCPAPrice()
S
53 5 23
apply_discount_remainder()
S
56 5 18
check_in_product_list()
S
60 5 13
get_individual_discounted_price_in_cents()
S
58 3 15
couponLabel()
S
64 4 10
array_needle_search()
S
63 4 10
get_discounted_price_in_cents()
S
59 3 14
instance()
S
71 2 6
get_discount()
S
74 2 4
__clone()
S
79 1 3
__wakeup()
S
79 1 3
isActive()
S
82 1 3
__construct()
S
65 1 9