Total Complexity | 60 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 280 |
Lines of code | 172 |
Logical lines of code | 115 |
Comment lines | 25 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
determine_open_for_ordering() | 46 | 19 | 33 | |
delete_order() | 53 | 7 | 23 | |
handle_order_post_status_notifications() | 53 | 7 | 21 | |
update_order_status() | 53 | 6 | 24 | |
is_open_for_ordering() | 59 | 5 | 13 | |
maybe_delete_old_orders() | 53 | 3 | 21 | |
is_valid_order_post_object() | 77 | 3 | 3 | |
submit_order() | 62 | 2 | 11 | |
get_recent_order_id() | 78 | 2 | 3 | |
is_valid_order_status() | 74 | 2 | 4 | |
return_random_string() | 64 | 2 | 9 | |
__construct() | 74 | 1 | 4 | |
set_recent_order_cookie() | 77 | 1 | 3 |