-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
6.4.0
-
Code
-
Classes
- WCCS_Public_Product_Pricing
Total Complexity |
155 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
688 |
Lines of code |
532 |
Logical lines of code |
321 |
Comment lines |
33 |
Methods |
13 |
Properties |
9 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_bulk_price_html() |
D |
31 |
37 |
96 |
apply_simple_discounts() |
B |
42 |
21 |
52 |
calculate_discounted_price() |
B |
36 |
18 |
91 |
get_price_html() |
B |
37 |
18 |
74 |
bulk_pricing_table() |
A |
37 |
12 |
73 |
get_simple_discounts() |
A |
49 |
11 |
29 |
get_bulk_pricings() |
A |
51 |
10 |
26 |
get_discounted_price() |
S |
53 |
6 |
22 |
get_price() |
S |
59 |
5 |
16 |
get_discount_value_html() |
S |
60 |
5 |
12 |
get_base_price() |
S |
57 |
4 |
17 |
__construct() |
S |
59 |
4 |
13 |
is_in_exclude_rules() |
S |
63 |
4 |
11 |