-
Home
-
Quantity Discounts, Breaks & Product Bundles for Woocommerce By Bundler
-
2.1.3
-
Code
-
Classes
- OfferController
| Total Complexity |
59 |
| Dependencies |
2 |
| Dependents |
4 |
| Total lines |
249 |
| Lines of code |
167 |
| Logical lines of code |
105 |
| Comment lines |
38 |
| Methods |
9 |
| Properties |
0 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_offer() |
C |
37 |
25 |
69 |
| new_offer() |
C |
37 |
25 |
68 |
| get_the_bundles() |
S |
69 |
2 |
7 |
| get_the_bundles_desc() |
S |
69 |
2 |
7 |
| get_all_offers() |
S |
81 |
1 |
3 |
| get_offer_by_id() |
S |
80 |
1 |
3 |
| get_bundles_by_offer_id() |
S |
80 |
1 |
3 |
| remove_offer() |
S |
77 |
1 |
4 |
| update_offer_status() |
S |
79 |
1 |
3 |