-
Home
-
WPC Price by Quantity for WooCommerce
-
5.2.3 (latest)
-
Code
-
Classes
- Wpcpq_Helper
Total Complexity |
119 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
439 |
Lines of code |
335 |
Logical lines of code |
201 |
Comment lines |
9 |
Methods |
20 |
Properties |
4 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_pricing() |
D |
27 |
51 |
121 |
get_price() |
A |
44 |
13 |
43 |
format_prices() |
A |
52 |
9 |
27 |
is_enable() |
S |
57 |
5 |
16 |
sort_tiers() |
S |
58 |
5 |
15 |
format_price() |
S |
58 |
5 |
14 |
get_discount() |
S |
61 |
5 |
11 |
localization() |
S |
64 |
4 |
9 |
generate_key() |
S |
60 |
3 |
12 |
get_setting() |
S |
65 |
3 |
8 |
sanitize_array() |
S |
63 |
3 |
10 |
format_quantity() |
S |
64 |
2 |
9 |
instance() |
S |
72 |
2 |
6 |
data_attributes() |
S |
67 |
2 |
7 |
get_current_roles() |
S |
67 |
2 |
8 |
format_data_price() |
S |
78 |
1 |
3 |
__construct() |
S |
72 |
1 |
5 |
get_settings() |
S |
79 |
1 |
3 |
display_price() |
S |
71 |
1 |
5 |
get_prices() |
S |
79 |
1 |
3 |