-
Home
-
WC Vendors – WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors
-
2.5.3
-
Code
-
Classes
- WCV_Admin_API
Total Complexity |
44 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
494 |
Lines of code |
371 |
Logical lines of code |
128 |
Comment lines |
80 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
do_vendor_action() |
A |
45 |
9 |
44 |
save_settings() |
A |
51 |
8 |
25 |
get_settings() |
S |
47 |
6 |
38 |
_query_vendor_ids() |
S |
44 |
4 |
46 |
get_vendors() |
S |
46 |
3 |
41 |
set_vendor_inactive() |
S |
50 |
3 |
33 |
set_vendor_active() |
S |
50 |
3 |
33 |
deny_vendor() |
S |
52 |
3 |
26 |
register_routes() |
S |
47 |
1 |
46 |
approve_vendor() |
S |
54 |
2 |
23 |
_get_vendor_count_for_all_status() |
S |
61 |
1 |
13 |
get_api_permissions_check() |
S |
80 |
1 |
3 |