LP_Course B

Total Complexity 100
Dependencies 21
Dependents 20
Total lines 859
Lines of code 485
Logical lines of code 320
Comment lines 241
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
get_sections_and_items_course_from_db_and_sort()
A
38 9 73
get_courses()
A
41 10 58
timestamp_remaining_duration()
A
49 9 30
get_course()
A
50 7 31
get_course_object()
A
57 8 16
count_items()
S
51 6 28
get_full_sections_and_items_course()
S
52 5 25
get_items()
S
58 5 16
get_first_item_id()
S
54 4 22
delete_relate_data_when_delete_course()
S
53 4 21
get_curriculum_raw()
S
54 4 21
get_sections_data_arr()
S
55 4 20
get_info_extra_for_fast_query()
S
57 4 16
get_sections()
S
53 3 23
delete_user_item_and_result()
S
55 3 20
set_info_extra_for_fast_query()
S
62 3 11
get_default_meta()
S
56 1 19
get_redirect_url_after_enroll()
S
71 2 5
get_class_name_from_course_type()
S
69 2 6
get_curriculum()
S
79 1 3
__construct()
S
80 1 3
allow_repurchase_course_option()
S
79 1 3
allow_repurchase()
S
79 1 3
enable_block_item_when_finish()
S
79 1 3
get_course_class()
S
69 1 6
get_curriculum_items()
S
80 1 3