Code Analysis: LearnPress - Course Review 4.1.5

Function Rating Maintainability Complexity Lines of code
LP_REST_Courses_Reviews_Controller::get_item_review()
B
39 15 63
LP_Addon_Course_Review::get_rating_of_course()
A
36 13 87
leanr_press_get_ratings_result()
A
37 10 82
LP_Jwt_Course_Review_V1_Controller::submit_review()
A
42 12 49
LP_REST_Courses_Reviews_Controller::submit_review()
A
43 12 48
LP_Jwt_Course_Review_V1_Controller::get_item_review()
A
44 9 45
learn_press_get_course_review()
S
44 5 49
LP_Addon_Course_Review::shortcode_review()
S
44 5 46
LearnPress_Course_Review_Widget::widget()
S
48 5 32
LP_Addon_Course_Review\FilterCourseRatingTemplate::html_filter_course_review()
S
44 4 45
LP_Addon_Course_Review\LP_Addon_Review_List_Rating_Reviews_Template::single_course_offline_list_rating_reviews()
S
51 5 27
LP_Addon_Course_Review::hooks()
S
44 3 53
LP_Addon_Course_Review\FilterCourseRatingTemplate::add_course_filter_widget_fields()
S
54 5 22
LP_Addon_Course_Review\LP_Addon_Review_List_Rating_Reviews_Template::single_course_offline_info_bar()
S
56 5 18
LearnPress_Course_Review_Widget::form()
S
41 2 62
LP_Addon_Course_Review::check_user_can_review_course()
S
63 6 10
LearnPress_Course_Review_Widget::update()
S
63 6 9
learn_press_get_user_rate()
S
52 4 28
learn_press_add_course_review()
S
46 3 41
LP_Addon_Course_Review::review_assets()
S
52 4 26
LearnPress_Course_Review_Widget::learnpress_reviews_search_course()
S
54 4 21
LP_Jwt_Course_Review_V1_Controller::register_routes()
S
43 1 63
LP_Addon_Course_Review::check_load_file_style()
S
58 4 16
LP_REST_Courses_Reviews_Controller::register_routes()
S
43 1 60
LP_Addon_Coming_Soon\CourseRatingTemplate::html_rated_star()
S
50 3 28
LP_REST_Courses_Reviews_Controller::load_rating_comments()
S
50 3 27
LP_Addon_Course_Review_Preload::__construct()
S
53 3 23
LPCourseReviewBackGround::calculate_rating_average_courses()
S
58 3 16
LP_Addon_Course_Review::add_course_tab_reviews()
S
59 3 15
LP_Addon_Course_Review::add_comment_content_filter()
S
59 3 13
LPCourseReviewBackGround::handle()
S
61 3 13
LP_Addon_Course_Review::calculate_rating_average_courses()
S
61 3 12
LP_Addon_Course_Review\LP_Addon_Review_List_Rating_Reviews_Template::html_tiny_rating_info()
S
53 2 25
LP_Addon_Course_Review\FilterCourseRatingTemplate::init()
S
53 2 24
learn_press_course_meta_primary_review()
S
57 2 21
LP_Addon_Course_Review::add_comment_post_type_filter()
S
55 2 21
LP_Addon_Course_Review::add_course_tab_reviews_callback()
S
58 2 20
LP_Addon_Course_Review\FilterCourseRatingTemplate::courses_rating_item()
S
57 2 17
learn_press_init_courses_review()
S
65 3 10
LP_Addon_Course_Review\LP_Addon_Review_List_Rating_Reviews_Template::list_rating_reviews()
S
60 2 15
LP_Addon_Course_Review::edit_comment_row_actions()
S
68 3 7
LP_Addon_Course_Review::admin_enqueue_assets()
S
63 3 10
learn_press_get_user_review_title()
S
64 3 9
learn_press_get_course_rate()
S
71 3 5
LP_Course_Reviews_DB::count_rating_of_course()
S
56 1 22
LP_Addon_Course_Review\LP_Addon_Review_List_Rating_Reviews_Template::__construct()
S
58 1 19
LP_Addon_Course_Review::instance()
S
72 2 6
LP_Addon_Course_Review_Preload::instance()
S
70 2 7
LP_Addon_Course_Review::init_comment_table()
S
68 2 7
LP_Addon_Course_Review\LP_Addon_Review_List_Rating_Reviews_Template::instance()
S
69 2 7
LPCourseReviewBackGround::instance()
S
72 2 6
LP_Addon_Course_Review\FilterCourseRatingTemplate::handle_filter_params_c_review_star()
S
64 2 9
LP_Course_Reviews_DB::getInstance()
S
72 2 6
LP_Addon_Course_Review\FilterCourseRatingTemplate::filter_section_field()
S
72 2 5
LP_Course_Review_Rest_API::instance()
S
72 2 6
LP_Course_Review_Cache::get_rating()
S
64 2 10
LearnPress_Course_Review_Widget::__construct()
S
61 1 14
LP_Addon_Course_Review::_includes()
S
63 1 12
LP_Addon_Course_Review\FilterCourseRatingTemplate::add_sort_by_rating()
S
75 1 4
LP_Addon_Course_Review::rest_api_courses()
S
76 1 4
LP_Addon_Course_Review::exclude_rating()
S
80 1 3
LP_Course_Review_Cache::set_rating()
S
72 1 5
LP_Addon_Course_Review::is_enable()
S
75 1 4
LP_Addon_Course_Review::get_svg_star()
S
79 1 3
LP_Course_Review_Cache::clean_rating()
S
64 1 9
LP_Addon_Course_Review::_define_constants()
S
77 1 6
LP_Addon_Coming_Soon\CourseRatingTemplate::hooks()
S
91 1 2
LP_Course_Reviews_DB::__construct()
S
69 1 7
LP_Addon_Course_Review\FilterCourseRatingTemplate::query_order_by_rating()
S
66 1 8
LP_Course_Review_Rest_API::rest_api_init()
S
76 1 4
LP_Addon_Course_Review::add_comment_type_filter()
S
75 1 4
LP_REST_Courses_Reviews_Controller::__construct()
S
74 1 5
_learn_press_get_ratings()
S
72 1 6
LP_Course_Review_Rest_API::__construct()
S
79 1 3
LP_Addon_Course_Review::get_average_rated()
S
75 1 4
LP_Addon_Coming_Soon\CourseRatingTemplate::init()
S
77 1 4
LP_Addon_Course_Review::load_widget()
S
81 1 3
LP_Addon_Course_Review_Preload::show_note_errors_require_lp()
S
69 1 7
LP_Addon_Course_Review::set_course_rating_average()
S
79 1 3
learn_press_get_course_rate_total()
S
72 1 5
learn_press_course_review_template()
S
78 1 3
LP_Addon_Coming_Soon\CourseRatingTemplate::html_average_rating()
S
68 1 8
LP_Addon_Course_Review_Preload::load()
S
71 1 6
LP_Addon_Course_Review::__construct()
S
73 1 5
LP_Course_Review_Cache::__construct()
S
80 1 3