-
Home
-
Event Tickets and Registration
-
5.1.8
-
Code
-
Classes
- Tribe__Tickets__Ticket_Object
Total Complexity |
139 |
Dependencies |
9 |
Dependents |
19 |
Total lines |
1,168 |
Lines of code |
435 |
Logical lines of code |
260 |
Comment lines |
529 |
Methods |
33 |
Properties |
32 |
Methods 33
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
inventory() |
B |
39 |
19 |
61 |
stock() |
A |
49 |
11 |
31 |
date_in_range() |
A |
50 |
11 |
29 |
capacity() |
A |
51 |
8 |
28 |
__get() |
S |
55 |
7 |
23 |
get_event_timezone() |
S |
55 |
7 |
21 |
is_in_stock() |
S |
57 |
7 |
15 |
get_date() |
S |
55 |
6 |
21 |
__set() |
S |
56 |
6 |
20 |
available() |
S |
54 |
5 |
20 |
get_provider() |
S |
59 |
5 |
16 |
qty_getter_setter() |
S |
61 |
5 |
13 |
end_date() |
S |
63 |
3 |
11 |
start_date() |
S |
63 |
3 |
11 |
date_is_later() |
S |
66 |
3 |
8 |
date_is_earlier() |
S |
66 |
3 |
8 |
global_stock_mode() |
S |
65 |
3 |
9 |
get_event_id() |
S |
66 |
3 |
9 |
availability_slug() |
S |
64 |
3 |
10 |
manage_stock() |
S |
71 |
2 |
6 |
global_stock_cap() |
S |
71 |
2 |
6 |
show_description() |
S |
63 |
2 |
10 |
get_event() |
S |
69 |
2 |
7 |
qty_cancelled() |
S |
69 |
2 |
7 |
qty_refunded() |
S |
69 |
2 |
7 |
qty_completed() |
S |
69 |
2 |
7 |
has_meta_enabled() |
S |
78 |
1 |
3 |
remaining() |
S |
81 |
1 |
3 |
managing_stock() |
S |
80 |
1 |
3 |
original_stock() |
S |
81 |
1 |
3 |
qty_pending() |
S |
79 |
1 |
3 |
qty_sold() |
S |
79 |
1 |
3 |
is_ticket_cache_enabled() |
S |
78 |
1 |
3 |