LP_Course C

Total Complexity 125
Dependencies 24
Dependents 19
Total lines 1,064
Lines of code 587
Logical lines of code 397
Comment lines 332
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
get_courses()
A
39 14 64
handle_params_for_query_courses()
A
41 12 51
get_sections_and_items_course_from_db_and_sort()
A
38 9 77
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
delete_relate_data_when_delete_course()
S
49 4 29
get_first_item_id()
S
54 4 22
get_curriculum_raw()
S
54 4 21
get_sections_data_arr()
S
55 4 20
get_sections()
S
53 3 23
delete_user_item_and_result()
S
55 3 20
get_info_extra_for_fast_query()
S
60 3 13
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_categories()
S
69 2 7
get_tags()
S
69 2 7
get_all_categories()
S
69 2 7
get_class_name_from_course_type()
S
69 2 6
get_evaluation_type()
S
68 2 7
get_level()
S
75 1 4
__construct()
S
80 1 3
get_curriculum_items()
S
80 1 3
get_curriculum()
S
79 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_duration()
S
75 1 4