Tribe__Tickets__Ticket_Object D

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

Methods 37

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