-
Home
-
WPC Price by Quantity for WooCommerce
-
1.2.0
-
Code
-
Classes
- Wpcpq_Frontend
Total Complexity |
43 |
Dependencies |
0 |
Dependents |
2 |
Total lines |
249 |
Lines of code |
200 |
Logical lines of code |
112 |
Comment lines |
4 |
Methods |
11 |
Properties |
1 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_tiers() |
A |
46 |
13 |
37 |
display_table() |
A |
39 |
7 |
72 |
get_discount() |
S |
61 |
5 |
11 |
sort_tiers() |
S |
58 |
4 |
15 |
__construct() |
S |
65 |
3 |
9 |
format_price() |
S |
63 |
3 |
10 |
enqueue_scripts() |
S |
55 |
1 |
18 |
instance() |
S |
72 |
2 |
6 |
get_current_roles() |
S |
67 |
2 |
8 |
format_quantity() |
S |
64 |
2 |
9 |
format_data_price() |
S |
71 |
1 |
5 |