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 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_item() | 52 | 7 | 23 | |
filter_product_object() | 62 | 4 | 11 | |
get_item() | 62 | 4 | 9 | |
register_routes() | 53 | 1 | 29 | |
permissions_check() | 69 | 2 | 6 | |
hide_only_allow_wholesale_purchases() | 69 | 2 | 7 | |
getAllRegisteredWholesaleRoles() | 69 | 2 | 7 | |
__construct() | 69 | 1 | 6 | |
get_items() | 71 | 1 | 5 | |
delete_item() | 77 | 1 | 3 |