EM_Bookings D

Total Complexity 259
Dependencies 7
Dependents 9
Total lines 1,164
Lines of code 788
Logical lines of code 473
Comment lines 326
Methods 51
Properties 11

Methods 51

Method Rating Maintainability Complexity Lines of code
get()
D
30 37 103
build_sql_conditions()
B
40 24 47
get_sql_accepted_fields()
A
36 13 79
get_default_search()
A
44 15 44
get_tickets()
A
46 14 37
get_intent_default()
A
47 11 34
add()
A
47 10 34
get_event()
A
55 9 20
set_status()
A
50 8 27
delete()
S
50 6 26
get_spaces()
S
60 6 13
__construct()
S
61 6 12
get_available_tickets()
S
61 6 12
has_booking()
S
58 5 15
get_bookings()
S
63 6 10
load()
S
58 5 14
__set()
S
60 5 13
get_pending_spaces()
S
60 5 12
find_previous_booking()
S
62 5 12
get_booked_spaces()
S
61 5 10
get_pending_bookings()
S
61 4 13
add_from_post()
S
59 3 14
get_available_spaces()
S
60 3 13
ticket_exists()
S
62 3 11
is_open()
S
66 3 8
__isset()
S
66 3 8
has_open_time()
S
65 3 10
__get()
S
67 3 8
get_rejected_bookings()
S
64 3 10
get_cancelled_bookings()
S
64 3 10
export_csv()
S
59 2 14
em_booking_js_footer()
S
59 1 19
offsetGet()
S
78 2 3
enqueue_js()
S
69 2 7
is_registration_forced()
S
79 2 3
offsetSet()
S
69 2 7
valid()
S
70 2 6
current()
S
74 1 5
offsetUnset()
S
80 1 3
offsetExists()
S
79 1 3
next()
S
74 1 5
key()
S
74 1 5
get_user_list()
S
83 1 3
rewind()
S
77 1 4
count()
S
78 1 3
reject()
S
80 1 3
build_sql_orderby()
S
76 1 3
build_sql_groupby_orderby()
S
78 1 3
unapprove()
S
80 1 3
has_space()
S
80 1 3
approve()
S
76 1 4