LP_User_Item D

Total Complexity 164
Dependencies 6
Dependents 6
Total lines 1,054
Lines of code 607
Logical lines of code 293
Comment lines 279
Methods 67
Properties 2

Methods 67

Method Rating Maintainability Complexity Lines of code
set_default_data()
A
41 14 59
update_meta_bk()
A
50 9 33
get_item_object()
A
52 9 23
update()
A
52 8 25
get_time()
S
58 5 14
get_mysql_data()
S
60 5 13
get_time_interval()
S
61 5 12
get_status()
S
55 4 21
get_result()
S
67 5 7
get_time_remaining()
S
59 4 14
is_exceeded()
S
60 4 14
__call()
S
61 4 12
delete_meta_data()
S
52 3 25
read_meta()
S
58 3 17
get_status_label()
S
57 3 16
format_time()
S
65 4 9
is_available()
S
66 4 8
update_meta()
S
61 3 13
update_meta_multiple_keys()
S
62 3 11
get_course()
S
68 3 7
get_user()
S
68 3 7
set_end_time()
S
67 3 8
_set_data_date()
S
64 3 9
get_expiration_time()
S
64 3 9
complete()
S
54 1 24
get_empty_item()
S
59 1 16
count_history()
S
71 2 6
offsetGet()
S
70 2 6
set_duration()
S
67 2 8
get_exceeded()
S
69 2 6
get_meta()
S
70 2 6
__construct()
S
66 2 9
get_parent()
S
66 2 8
get_percent_result()
S
64 1 11
get_history()
S
65 1 11
is_completed()
S
80 1 3
get_access_level()
S
80 1 3
set_parent_id()
S
80 1 3
get_post_type()
S
80 1 3
is_passed()
S
80 1 3
get_parent_id()
S
80 1 3
set_start_time()
S
76 1 4
is_change()
S
72 1 5
set_ref_id()
S
76 1 4
get_user_id()
S
80 1 3
offsetSet()
S
91 1 2
set_user_id()
S
80 1 3
offsetUnset()
S
91 1 2
get_type()
S
80 1 3
remove_user_items_history()
S
69 1 8
get_start_time()
S
75 1 4
set_end_time_gmt()
S
78 1 3
set_user_item_id()
S
79 1 3
get_user_item_id()
S
80 1 3
is_exists()
S
80 1 3
has_finished()
S
80 1 3
set_status()
S
76 1 4
get_end_time_gmt()
S
78 1 3
set_graduation()
S
76 1 4
get_item_id()
S
80 1 3
get_graduation()
S
68 1 8
get_start_time_local()
S
91 1 2
is_course_item()
S
80 1 3
get_end_time()
S
75 1 4
get_start_time_gmt()
S
78 1 3
set_start_time_gmt()
S
78 1 3
offsetExists()
S
91 1 2