-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
5.18.0
-
Code
-
Classes
- WCCS_Public_Product_Pricing
Total Complexity |
110 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
543 |
Lines of code |
410 |
Logical lines of code |
241 |
Comment lines |
33 |
Methods |
11 |
Properties |
9 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_discounted_price() |
B |
35 |
19 |
99 |
apply_simple_discounts() |
B |
42 |
21 |
51 |
get_price_html() |
B |
40 |
15 |
64 |
bulk_pricing_table() |
A |
38 |
12 |
72 |
get_simple_discounts() |
A |
49 |
11 |
29 |
get_bulk_pricings() |
A |
51 |
10 |
26 |
get_price() |
S |
58 |
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 |