EE_Ticket D

Total Complexity 207
Dependencies 20
Dependents 29
Total lines 2,155
Lines of code 745
Logical lines of code 299
Comment lines 1,048
Methods 111
Properties 3

Methods 111

Method Rating Maintainability Complexity Lines of code
ticket_status()
A
55 12 19
real_quantity_on_ticket()
A
49 11 29
tickets_sold()
S
52 7 27
increaseReservedForDatetimes()
S
54 7 22
date_range()
S
62 6 10
get_ticket_total_with_taxes()
S
59 5 14
set_visibility()
S
54 4 23
increaseReserved()
S
52 3 30
decreaseSoldForDatetimes()
S
64 5 10
available()
S
64 5 9
get_related_event()
S
54 3 25
price_modifiers()
S
58 3 18
_add_relation_to()
S
59 3 15
is_remaining()
S
64 4 10
base_price()
S
63 4 10
decreaseReservedForDatetimes()
S
66 4 8
_remove_relation_to()
S
60 3 14
_remove_relations()
S
62 3 11
_all_tickets_sold()
S
62 3 11
decreaseReserved()
S
57 2 19
qty()
S
65 3 10
increaseSoldForDatetimes()
S
70 3 6
set_qty()
S
65 3 9
name_and_info()
S
62 2 12
increaseSold()
S
58 1 18
decreaseSold()
S
59 1 17
get_event_name()
S
75 2 4
get_event_ID()
S
75 2 4
new_instance()
S
73 2 4
isPublicOnly()
S
79 2 3
prices()
S
69 2 6
is_on_sale()
S
77 2 3
datetimes()
S
69 2 6
isMembersOnly()
S
76 2 4
tax_price_modifiers()
S
68 2 7
isAdminUiOnly()
S
76 2 4
isAdminsOnly()
S
76 2 4
get_ticket_taxes_for_admin()
S
79 2 3
update_tickets_sold()
S
62 1 13
parent_ID()
S
80 1 3
set_row()
S
80 1 3
deleted()
S
80 1 3
row()
S
80 1 3
set_order()
S
80 1 3
order()
S
80 1 3
set_deleted()
S
80 1 3
visibility()
S
80 1 3
set_parent_ID()
S
80 1 3
isNotHidden()
S
80 1 3
decrease_reserved()
S
67 1 9
_increase_reserved_for_datetimes()
S
66 1 9
increase_reserved()
S
66 1 9
_decrease_sold_for_datetimes()
S
67 1 9
decrease_sold()
S
67 1 9
_increase_sold_for_datetimes()
S
67 1 9
increase_sold()
S
67 1 9
isHidden()
S
80 1 3
reverse_calculate()
S
80 1 3
is_default()
S
80 1 3
is_permanently_deleteable()
S
80 1 3
get_icon()
S
82 1 3
count_registrations()
S
79 1 3
registrations()
S
79 1 3
price()
S
80 1 3
name()
S
80 1 3
set_reverse_calculate()
S
80 1 3
set_is_default()
S
80 1 3
set_reserved()
S
75 1 4
set_taxable()
S
80 1 3
datetimes_ordered()
S
70 1 7
ensure_TKT_Price_correct()
S
76 1 4
is_free()
S
79 1 3
pretty_price()
S
80 1 3
ticket_price()
S
80 1 3
usesGlobalTaxes()
S
81 1 3
template()
S
80 1 3
wp_user()
S
80 1 3
ID()
S
80 1 3
datetime_tickets()
S
79 1 3
get_ticket_taxes_total_for_admin()
S
80 1 3
last_datetime()
S
74 1 4
first_datetime()
S
75 1 4
is_pending()
S
79 1 3
is_expired()
S
79 1 3
min()
S
80 1 3
remaining()
S
79 1 3
parent()
S
80 1 3
__construct()
S
74 1 4
get_ticket_subtotal()
S
80 1 3
set_name()
S
80 1 3
taxable()
S
80 1 3
set_price()
S
80 1 3
set_required()
S
80 1 3
required()
S
80 1 3
set_uses()
S
80 1 3
uses()
S
80 1 3
new_instance_from_db()
S
78 1 3
reserved()
S
80 1 3
set_sold()
S
75 1 4
sold()
S
80 1 3
set_max()
S
80 1 3
description()
S
80 1 3
max()
S
80 1 3
set_min()
S
80 1 3
set_end_time()
S
80 1 3
set_end_date()
S
79 1 3
end_date()
S
79 1 3
set_start_date()
S
79 1 3
start_date()
S
79 1 3
set_description()
S
80 1 3
_decrease_reserved_for_datetimes()
S
67 1 9