| Total Complexity | 53 |
| Dependencies | 4 |
| Dependents | 1 |
| Total lines | 254 |
| Lines of code | 158 |
| Logical lines of code | 102 |
| Comment lines | 22 |
| Methods | 14 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| determine_open_for_ordering() | 45 | 20 | 34 | |
| delete_order() | 53 | 7 | 23 | |
| update_order_status() | 53 | 6 | 24 | |
| 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 | |
| is_open_for_ordering() | 75 | 2 | 4 | |
| return_random_string() | 64 | 2 | 9 | |
| __construct() | 71 | 1 | 5 | |
| send_admin_order_notification() | 68 | 1 | 7 | |
| send_customer_order_notification() | 68 | 1 | 7 | |
| set_recent_order_cookie() | 77 | 1 | 3 |