-
Home
-
WPC Product Bundles for WooCommerce
-
8.3.5
-
Code
-
Classes
- WC_Product_Woosb
| Total Complexity |
185 |
| Dependencies |
0 |
| Dependents |
0 |
| Total lines |
719 |
| Lines of code |
476 |
| Logical lines of code |
271 |
| Comment lines |
87 |
| Methods |
27 |
| Properties |
1 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| build_items() |
C |
34 |
26 |
87 |
| get_stock_status() |
B |
42 |
23 |
45 |
| get_stock_quantity() |
B |
41 |
21 |
50 |
| get_backorders() |
B |
45 |
19 |
38 |
| get_manage_stock() |
A |
48 |
16 |
31 |
| get_sale_price() |
A |
49 |
11 |
28 |
| get_sold_individually() |
A |
52 |
11 |
24 |
| get_ids_str() |
S |
53 |
7 |
22 |
| add_to_cart_text() |
S |
54 |
6 |
21 |
| get_discount_percentage() |
S |
60 |
6 |
13 |
| add_to_cart_url() |
S |
58 |
5 |
15 |
| has_variables() |
S |
58 |
5 |
15 |
| get_price() |
S |
63 |
4 |
11 |
| is_on_sale() |
S |
65 |
4 |
9 |
| has_optional() |
S |
64 |
3 |
9 |
| exclude_unpurchasable() |
S |
66 |
3 |
7 |
| needs_shipping() |
S |
76 |
2 |
3 |
| is_fixed_price() |
S |
73 |
2 |
4 |
| get_discount_amount() |
S |
67 |
2 |
7 |
| get_discount() |
S |
74 |
2 |
4 |
| single_add_to_cart_text() |
S |
62 |
1 |
13 |
| __construct() |
S |
73 |
1 |
5 |
| get_type() |
S |
82 |
1 |
3 |
| is_optional() |
S |
80 |
1 |
3 |
| is_manage_stock() |
S |
77 |
1 |
3 |
| get_ids() |
S |
77 |
1 |
3 |
| get_items() |
S |
79 |
1 |
3 |