-
Home
-
Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices
-
2.2.5 (latest)
-
Code
-
Classes
- WWP_REST_Wholesale_Roles_V1_Controller
| Total Complexity |
25 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
261 |
| Lines of code |
106 |
| Logical lines of code |
48 |
| Comment lines |
109 |
| Methods |
10 |
| Properties |
3 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_item() |
S |
52 |
7 |
23 |
| filter_product_object() |
S |
62 |
4 |
11 |
| get_item() |
S |
62 |
4 |
9 |
| register_routes() |
S |
53 |
1 |
29 |
| permissions_check() |
S |
69 |
2 |
6 |
| hide_only_allow_wholesale_purchases() |
S |
69 |
2 |
7 |
| getAllRegisteredWholesaleRoles() |
S |
69 |
2 |
7 |
| __construct() |
S |
69 |
1 |
6 |
| get_items() |
S |
71 |
1 |
5 |
| delete_item() |
S |
77 |
1 |
3 |