Total Complexity | 167 |
Dependencies | 10 |
Dependents | 19 |
Total lines | 1,300 |
Lines of code | 500 |
Logical lines of code | 305 |
Comment lines | 575 |
Methods | 37 |
Properties | 33 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
inventory() | 37 | 24 | 71 | |
capacity() | 46 | 12 | 38 | |
stock() | 49 | 11 | 31 | |
date_in_range() | 50 | 11 | 29 | |
is_in_stock() | 51 | 11 | 23 | |
available() | 51 | 8 | 26 | |
__get() | 53 | 8 | 26 | |
__set() | 53 | 8 | 25 | |
get_event_timezone() | 55 | 7 | 21 | |
get_date() | 55 | 6 | 21 | |
get_provider() | 59 | 5 | 16 | |
qty_getter_setter() | 61 | 5 | 13 | |
type() | 65 | 4 | 9 | |
start_date() | 63 | 3 | 11 | |
end_date() | 63 | 3 | 11 | |
get_event_id() | 66 | 3 | 9 | |
__construct() | 67 | 3 | 8 | |
global_stock_mode() | 65 | 3 | 9 | |
date_is_later() | 66 | 3 | 8 | |
date_is_earlier() | 66 | 3 | 8 | |
availability_slug() | 64 | 3 | 10 | |
qty_completed() | 69 | 2 | 7 | |
manage_stock() | 71 | 2 | 6 | |
qty_cancelled() | 69 | 2 | 7 | |
qty_refunded() | 69 | 2 | 7 | |
global_stock_cap() | 71 | 2 | 6 | |
get_event() | 69 | 2 | 7 | |
show_description() | 63 | 2 | 10 | |
to_array() | 80 | 1 | 3 | |
is_ticket_cache_enabled() | 78 | 1 | 3 | |
has_meta_enabled() | 78 | 1 | 3 | |
remaining() | 81 | 1 | 3 | |
original_stock() | 81 | 1 | 3 | |
managing_stock() | 80 | 1 | 3 | |
qty_pending() | 79 | 1 | 3 | |
qty_sold() | 79 | 1 | 3 | |
setType() | 81 | 1 | 3 |