-
Home
-
WPC Product Bundles for WooCommerce
-
8.2.1
-
Code
-
Classes
- WC_Product_Woosb
| Total Complexity |
172 |
| Dependencies |
0 |
| Dependents |
0 |
| Total lines |
542 |
| Lines of code |
400 |
| Logical lines of code |
243 |
| Comment lines |
12 |
| Methods |
26 |
| Properties |
1 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_stock_status() |
B |
42 |
23 |
47 |
| build_items() |
B |
37 |
21 |
70 |
| get_backorders() |
B |
44 |
19 |
39 |
| get_stock_quantity() |
A |
47 |
16 |
30 |
| get_manage_stock() |
A |
49 |
14 |
28 |
| get_sale_price() |
A |
48 |
11 |
31 |
| get_sold_individually() |
A |
55 |
11 |
17 |
| get_discount_percentage() |
S |
64 |
7 |
8 |
| add_to_cart_text() |
S |
59 |
5 |
13 |
| has_variables() |
S |
60 |
5 |
13 |
| add_to_cart_url() |
S |
62 |
5 |
10 |
| get_price() |
S |
65 |
5 |
9 |
| get_ids_str() |
S |
58 |
4 |
15 |
| has_optional() |
S |
61 |
4 |
12 |
| is_on_sale() |
S |
70 |
4 |
6 |
| exclude_unpurchasable() |
S |
65 |
4 |
8 |
| get_discount_amount() |
S |
65 |
3 |
8 |
| is_fixed_price() |
S |
70 |
2 |
5 |
| get_discount() |
S |
74 |
2 |
4 |
| __construct() |
S |
73 |
1 |
5 |
| get_type() |
S |
82 |
1 |
3 |
| single_add_to_cart_text() |
S |
71 |
1 |
5 |
| is_optional() |
S |
80 |
1 |
3 |
| is_manage_stock() |
S |
74 |
1 |
4 |
| get_ids() |
S |
74 |
1 |
4 |
| get_items() |
S |
79 |
1 |
3 |