WCCT_discount C

Total Complexity 101
Dependencies 4
Dependents 1
Total lines 482
Lines of code 336
Logical lines of code 227
Comment lines 40
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
wcct_trigger_create_price()
D
30 33 115
wcct_maybe_mark_product_having_sale()
A
45 13 39
wcct_date_on_sale_from()
A
52 9 24
wcct_date_on_sale_to()
A
52 9 24
wcct_change_price_ranges()
A
49 8 29
maybe_modify_variation_price_hash()
A
53 8 23
wcct_trigger_get_price()
S
56 5 18
wcct_set_variation_price()
S
59 5 13
wcct_trigger_get_sale_price()
S
58 4 15
__construct()
S
53 2 21
get_instance()
S
72 2 6
wcct_trigger_create_sale_variation()
S
79 1 3
maybe_flag_running_calculations()
S
81 1 3
maybe_unflag_running_calculations()
S
81 1 3