-
Home
-
WPC Price by Quantity for WooCommerce
-
5.0.0
-
Code
-
Classes
- Wpcpq_Helper
Total Complexity |
89 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
347 |
Lines of code |
268 |
Logical lines of code |
158 |
Comment lines |
2 |
Methods |
18 |
Properties |
4 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_pricing() |
C |
37 |
26 |
68 |
get_price() |
A |
45 |
11 |
40 |
format_prices() |
A |
52 |
9 |
27 |
is_enable() |
S |
56 |
5 |
17 |
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 |
64 |
3 |
10 |
format_quantity() |
S |
64 |
2 |
9 |
instance() |
S |
72 |
2 |
6 |
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 |
get_prices() |
S |
79 |
1 |
3 |