LP_User_Item_Course D

Total Complexity 232
Dependencies 15
Dependents 7
Total lines 1,676
Lines of code 873
Logical lines of code 496
Comment lines 523
Methods 60
Properties 8

Methods 60

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