LP_User_Item_Course D

Total Complexity 157
Dependencies 14
Dependents 7
Total lines 1,183
Lines of code 621
Logical lines of code 374
Comment lines 363
Methods 42
Properties 8

Methods 42

Method Rating Maintainability Complexity Lines of code
calculate_course_results()
A
37 13 78
get_completed_items()
A
42 14 55
get_passed_items()
A
42 13 51
evaluate_course_by_question()
A
43 10 49
read_items()
A
45 9 47
evaluate_course_by_final_quiz()
A
44 9 45
save()
S
54 7 20
get_results()
S
56 6 19
evaluate_course_by_mark()
S
56 6 17
evaluate_course_by_questions()
S
56 6 17
get_result()
S
62 6 11
count_items_completed()
S
53 4 23
evaluate_course_by_quizzes_passed()
S
58 4 15
get_level()
S
60 4 15
evaluate_course_by_lesson()
S
58 4 15
get_item()
S
57 3 17
__construct()
S
58 3 16
get_course()
S
68 3 7
get_item_result()
S
65 3 9
offsetGet()
S
74 3 4
get_last_user_course()
S
60 2 13
get_percent_completed_items()
S
67 2 7
get_order()
S
70 2 7
get_user_courses()
S
65 2 9
get_grade()
S
73 2 4
is_enrolled()
S
80 1 3
get_retaken_count()
S
79 1 3
get_course_id()
S
80 1 3
get_finishing_type()
S
80 1 3
get_order_id()
S
79 1 3
offsetSet()
S
91 1 2
offsetUnset()
S
91 1 2
increase_retake_count()
S
73 1 5
get_item_quiz()
S
80 1 3
get_percent_result()
S
79 1 3
offsetExists()
S
75 1 4
__destruct()
S
100 1 2
is_graduated()
S
81 1 3
is_finished()
S
80 1 3
get_items()
S
81 1 3
get_passing_condition()
S
81 1 3
is_purchased()
S
80 1 3