-
Home
-
WPC Product Bundles for WooCommerce
-
8.2.1
-
Code
-
Classes
- WPCleverWoosb_Helper
| Total Complexity |
61 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
236 |
| Lines of code |
186 |
| Logical lines of code |
97 |
| Comment lines |
2 |
| Methods |
19 |
| Properties |
3 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| minify_items() |
A |
53 |
8 |
23 |
| get_product_id_from_sku() |
S |
61 |
7 |
11 |
| get_price() |
S |
53 |
6 |
24 |
| get_stock_quantity() |
S |
59 |
5 |
14 |
| has_enough_stock() |
S |
61 |
4 |
13 |
| localization() |
S |
64 |
4 |
9 |
| generate_key() |
S |
60 |
3 |
12 |
| is_in_stock() |
S |
69 |
3 |
7 |
| sanitize_array() |
S |
63 |
3 |
10 |
| clean() |
S |
68 |
3 |
7 |
| get_setting() |
S |
65 |
3 |
8 |
| get_price_to_display() |
S |
59 |
2 |
14 |
| instance() |
S |
72 |
2 |
6 |
| round_price() |
S |
69 |
2 |
6 |
| data_attributes() |
S |
66 |
2 |
7 |
| __construct() |
S |
75 |
1 |
4 |
| set_price() |
S |
74 |
1 |
5 |
| clean_ids() |
S |
79 |
1 |
3 |
| get_settings() |
S |
79 |
1 |
3 |