-
Home
-
Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices
-
1.16
-
Code
-
Classes
- WWP_REST_Wholesale_Roles_V1_Controller
| Total Complexity |
22 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
256 |
| Lines of code |
86 |
| Logical lines of code |
40 |
| Comment lines |
97 |
| Methods |
9 |
| Properties |
3 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_item() |
S |
52 |
7 |
23 |
| get_item() |
S |
62 |
4 |
9 |
| permissions_check() |
S |
69 |
3 |
6 |
| register_routes() |
S |
56 |
1 |
21 |
| hide_only_allow_wholesale_purchases() |
S |
69 |
2 |
7 |
| getAllRegisteredWholesaleRoles() |
S |
69 |
2 |
7 |
| __construct() |
S |
72 |
1 |
5 |
| get_items() |
S |
71 |
1 |
5 |
| delete_item() |
S |
77 |
1 |
3 |