LP_User_Item_Course D

Total Complexity 196
Dependencies 13
Dependents 7
Total lines 1,347
Lines of code 764
Logical lines of code 391
Comment lines 340
Methods 55
Properties 9

Methods 55

Method Rating Maintainability Complexity Lines of code
get_completed_items()
A
42 14 55
get_passed_items()
A
43 13 50
_evaluate_course_by_mark()
A
44 13 41
read_items()
A
41 11 61
calculate_course_results()
A
39 10 71
_evaluate_course_by_question()
A
47 12 33
_evaluate_results_by_passed_per_all_quizzes()
A
48 11 31
get_results()
A
53 9 23
_evaluate_course_by_lesson()
S
52 7 24
count_items()
S
43 5 54
save()
S
55 7 19
_evaluate_course_by_final_quiz()
S
53 6 22
count_history_items()
S
50 5 31
update_item_retaken_count()
S
61 5 10
get_level()
S
60 4 15
get_js_args()
S
58 3 15
get_items_for_js()
S
61 3 12
get_finishing_type()
S
64 3 9
get_course()
S
68 3 7
get_item_retaken_count()
S
66 3 8
offsetGet()
S
73 3 4
finish()
S
61 2 14
cache_set_item()
S
63 2 11
set_item()
S
72 2 6
get_item_by_user_item_id()
S
67 2 8
get_percent_completed_items()
S
67 2 7
get_item_result()
S
71 2 6
__construct()
S
65 2 9
load()
S
72 2 6
_is_passed()
S
74 2 4
get_viewing_item()
S
69 2 7
get_grade()
S
74 2 4
get_order()
S
70 2 7
get_percent_result()
S
64 1 11
can_graduated()
S
79 1 3
is_finished()
S
80 1 3
get_order_id()
S
79 1 3
get_course_id()
S
80 1 3
offsetSet()
S
91 1 2
offsetUnset()
S
91 1 2
increase_retake_count()
S
73 1 5
get_retaken_count()
S
79 1 3
offsetExists()
S
75 1 4
get_items()
S
69 1 7
get_item_quiz()
S
80 1 3
__destruct()
S
100 1 2
get_result()
S
80 1 3
is_passed()
S
80 1 3
get_passing_condition()
S
81 1 3
is_enrolled()
S
80 1 3
is_purchased()
S
80 1 3
getItem()
S
91 1 2
get_item()
S
80 1 3
is_graduated()
S
81 1 3
cache_get_items()
S
71 1 6