Code Analysis: Dozent LMS 1.2.1

Function Rating Maintainability Complexity Lines of code
DozentLMS\Core\Settings\Settings::render_element()
C
32 25 105
DozentLMS_Addon::__construct()
B
43 17 45
dozentlms_course_get_reviews()
A
38 14 67
DozentLMS_Addon_Frontend_Course_Builder::save_course()
A
41 14 53
DozentLMS_Addon_EDD::save_edd_download()
A
48 15 29
DozentLMS_Addon_WooCommerce::save_product()
A
48 15 29
dozentlms_human_readable_duration()
A
44 14 41
DozentLMS\Core\User\Activities::change_password()
A
44 13 43
dozentlms_duration_to_time()
A
45 13 43
DozentLMS\Core\User\Panel::render_sidebar_menu()
A
45 13 36
DozentLMS\Admin\Installations::add_required_pages()
A
45 11 43
DozentLMS\Core\Course\Builder::save_lecture()
A
39 9 64
dozentlms_pagination()
A
44 10 46
DozentLMS_Addon_Ratings_Reviews::_sync_reviews_with_course()
A
37 7 88
DozentLMS\Core\Settings\Settings::form_fields()
A
31 2 147
dozentlms_upload_field()
A
44 8 51
dozentlms_locate_template()
A
51 9 26
dozentlms_arr_get()
A
53 9 24
dozentlms_expandable_container()
A
52 9 24
dozentlms_course_whats_included_items()
A
44 7 49
DozentLMS_Addon_Social_Login::google_login()
A
40 6 63
DozentLMS\Core\Form_Request::complete_lecture()
A
50 8 27
DozentLMS_Addon_Social_Login::create_or_register_user()
A
46 7 37
dozentlms_sync_course()
A
46 7 35
dozentlms_get_client_ip()
A
55 8 19
DozentLMS_Addon_Social_Login::facebook_login()
A
44 6 46
dozentlms_course_archive_query()
S
50 7 30
dozentlms_render_rating()
S
49 7 30
DozentLMS\Core\Course\Course_Data::save_coursedata()
S
51 7 24
dozentlms_dashboard_link()
S
52 7 24
dozentlms_enroll_course()
S
46 6 38
DozentLMS_Addon_Social_Login::social_login_fields()
S
40 4 67
DozentLMS\Resources\Resources::enqueue_scripts()
S
52 7 22
dozentlms_arr_sanitize()
S
55 7 20
dozentlms_get_course_product()
S
54 7 20
DozentLMS_Addon_Social_Login::generate_username()
S
56 7 17
DozentLMS\Resources\Resources::load_frontend_resources()
S
57 7 15
dozentlms_get_the_post_ID()
S
60 7 14
dozentlms_get_instructors()
S
45 5 43
DozentLMS\Core\Admin_Bar::edit_course_link()
S
60 7 13
dozentlms_get_login_url()
S
53 6 22
dozentlms_get_avatar()
S
53 6 21
dozentlms_next_previous_id()
S
53 6 21
DozentLMS\Autoloader::loader()
S
54 6 19
DozentLMS\Core\Form_Request::finish_course()
S
56 6 18
dozentlms_get_course_video()
S
56 6 18
DozentLMS\Core\User\Activities::instructor_activity()
S
56 6 17
DozentLMS\Core\Auth::auth_register()
S
48 5 32
DozentLMS\Admin\Post_Types_Register::register_course_post_type()
S
38 2 72
DozentLMS_Addon_WooCommerce::order_status_track()
S
52 5 24
DozentLMS_Addon_EDD::update_enrollment_status()
S
52 5 24
DozentLMS\Core\User\Panel::menu_items()
S
43 3 52
dozentlms_enrolled()
S
54 5 20
dozentlms_course_price()
S
55 5 20
DozentLMS\Core\User\Panel::raw_menu_items()
S
56 5 19
DozentLMS\Core\Course\Builder::sort_contents()
S
55 5 19
dozentlms_pill()
S
55 5 19
dozentlms_get_lecture_video_time()
S
55 5 18
dozentlms_load_dashboard_template()
S
56 5 18
dozentlms_has_course_access()
S
60 5 14
dozentlms_get_flash()
S
59 5 14
dozentlms_check_course_progress_and_mark_complete()
S
59 5 14
DozentLMS\Core\Auth::auth_login()
S
50 4 28
DozentLMS\Core\Course\Access::enroll_from_url_var()
S
61 5 12
dozentlms_get_course_rating_by_user()
S
52 4 25
DozentLMS\Admin\Post_Types_Register::register_lecture_post_type()
S
42 2 55
dozentlms_enrollment_statuses()
S
48 3 39
dozentlms_get_course_rating_overview()
S
49 3 37
DozentLMS\Core\Query::rewrite_rule()
S
53 4 22
DozentLMS\Admin\Register_Menu::admin_bar_item()
S
55 4 19
DozentLMS_Addon_Ratings_Reviews::filter_reviews()
S
55 4 18
dozentlms_excerpt()
S
57 4 17
dozentlms_switch_field()
S
57 4 17
DozentLMS_Addon_Ratings_Reviews::show_more_reviews()
S
56 4 17
dozentlms_login_tmpl()
S
59 4 15
dozentlms_is_course()
S
65 5 9
DozentLMS_Addon_EDD::insert_enrollment_data()
S
58 4 15
DozentLMS_Addon_WooCommerce::enroll_after_purchase()
S
58 4 15
DozentLMS\Core\Course\Course_Data::course_info_column()
S
59 4 15
dozentlms_course_content_icon()
S
60 4 14
DozentLMS\Core\Settings\Instructors_List::column_role()
S
59 4 14
DozentLMS\Core\Dashboard_Controller::mark_course_incomplete()
S
59 4 13
DozentLMS\Core\Settings\Instructors_List::column_actions()
S
59 4 12
DozentLMS\Core\Course\Access::enroll_request()
S
61 4 12
DozentLMS\addons\Load::load_addons_base()
S
61 4 12
DozentLMS_Addon_WooCommerce::redirect_to_product()
S
62 4 11
DozentLMS_Addon_EDD::redirect_to_product()
S
62 4 11
dozentlms_get_syllabus_next_previous_link_obj()
S
53 3 22
DozentLMS\Admin\Post_Types_Register::register_categories()
S
47 2 36
DozentLMS_Addon_EDD::cancel_enrollment_by_payment()
S
56 3 19
dozentlms_course_contents()
S
57 3 18
dozentlms_lecture_complete_form()
S
59 3 17
dozentlms_wishlisted_courses()
S
58 3 16
dozentlms_completed_courses()
S
58 3 16
dozentlms_get_page_id()
S
65 4 9
dozentlms_featured_image()
S
58 3 15
DozentLMS\Core\User\Activities::edit_profile()
S
58 3 15
DozentLMS_Addon_EDD::course_price()
S
64 4 9
DozentLMS_Addon_WooCommerce::course_price()
S
65 4 9
DozentLMS_Addon_Ratings_Reviews::inject_review_modal()
S
65 4 10
DozentLMS\addons\Load::addon_toggle()
S
58 3 15
dozentlms_course_progress()
S
59 3 14
dozentlms_get_course_syllabus_data()
S
59 3 14
DozentLMS\Admin\Installations::instance()
S
60 3 14
DozentLMS\Admin\Installations::add_roles()
S
60 3 13
dozentlms_dashboard_tmpl()
S
61 3 12
dozentlms_syllabus_item_content()
S
62 3 12
DozentLMS\Core\Query::panel_title()
S
60 3 12
DozentLMS_Addon_Ratings_Reviews::save_review_ajax()
S
51 2 27
dozentlms_get_current_dashboard_page_slug()
S
63 3 11
DozentLMS\Core\Course\Access::free_course_enroll()
S
63 3 11
dozentlms_wishlisted()
S
63 3 11
dozentlms_loop_review()
S
63 3 11
DozentLMS\Core\User\Panel::build_sorter()
S
62 3 11
DozentLMS_Addon_Frontend_Course_Builder::load_fcb_tmpl()
S
62 3 11
dozentlms_get_courses_has_no_product()
S
53 2 24
DozentLMS\Core\Course\Builder::add_module()
S
53 2 23
DozentLMS_Addon_Frontend_Course_Builder::frontend_course_builder()
S
55 2 20
DozentLMS\Core\Settings\Instructors_List::prepare_items()
S
54 2 20
DozentLMS\Core\Course\Builder::update_module()
S
55 2 19
DozentLMS_Addon_Frontend_Course_Builder::add_settings_fields()
S
50 1 33
dozentlms_my_courses()
S
57 2 17
dozentlms_is_frontend_dashboard()
S
69 3 7
dozentlms_course_page_header_rating()
S
65 3 10
dozentlms_course_whats_includes()
S
65 3 10
dozentlms_arr_count()
S
71 3 6
dozentlms_time_to_duration()
S
63 3 10
dozentlms_is_course_instructor()
S
66 3 8
dozentlms_course_edit_link()
S
63 3 10
dozentlms_is_ajax()
S
77 3 3
DozentLMS\Core\Course\Access::check_and_redirect_to_login()
S
65 3 10
dozentlms_course_per_page()
S
64 3 10
DozentLMS\Core\User\Activities::toggle_wishlist()
S
58 2 15
DozentLMS\Core\User\Activities::instructor_personalization()
S
71 3 5
DozentLMS_Addon_Social_Login::social_login_attempt()
S
64 3 10
dozentlms_is_course_completed()
S
65 3 9
DozentLMS\Admin\Register_Menu::go_external_url()
S
66 3 9
DozentLMS\Core\Course\Course_Data::render_course_info_column()
S
64 3 9
dozentlms_course_learning_goal()
S
65 3 8
dozentlms_course_learning_requirements()
S
65 3 8
dozentlms_course_target_student()
S
65 3 8
dozentlms_get_course_content_stats()
S
58 2 15
dozentlms_current_user_can_publish_course()
S
69 3 7
dozentlms_course_access_type()
S
64 3 10
DozentLMS_Addon_Ratings_Reviews::rating_at_the_card()
S
59 2 14
DozentLMS\Resources\Resources::localize_strings()
S
49 1 29
DozentLMS\Core\Class_Mapper::__construct()
S
59 2 14
dozentlms_enrolled_courses()
S
60 2 13
dozentlms_course_filter_items()
S
60 2 13
dozentlms_course_data_field_attrs()
S
52 1 28
DozentLMS_Addon_Ratings_Reviews::add_settings_fields()
S
51 1 28
dozentlms_course_id_by_item()
S
62 2 12
DozentLMS_Addon_Frontend_Course_Builder::init()
S
60 2 12
DozentLMS_Addon_EDD::init()
S
60 2 12
dozentlms_course_pricing_types()
S
56 1 20
DozentLMS\Admin\Register_Menu::register_admin_menu()
S
56 1 17
DozentLMS\Admin\Operations::plugin_action_links()
S
67 2 7
dozentlms_course_meta()
S
71 2 6
DozentLMS_Addon_Frontend_Course_Builder::frontend_course_builder_field_attrs()
S
65 2 9
dozentlms_course_archive_tmpl()
S
72 2 6
dozentlms_is_administrator()
S
72 2 6
dozentlms_course_start_url()
S
69 2 7
dozentlms_course_completion_form()
S
72 2 6
dozentlms_course_single_tmpl()
S
72 2 6
dozentlms_lecture_single_tmpl()
S
72 2 6
dozentlms_request_arr()
S
71 2 6
dozentlms_save_settings()
S
62 2 10
dozentlms_get_setting()
S
65 2 8
dozentlms_become_instructor()
S
69 2 7
dozentlms_settings_changed()
S
72 2 6
dozentlms_flash_notice()
S
67 2 8
dozentlms_is_instructor()
S
72 2 6
dozentlms_set_redirect_to()
S
68 2 7
dozentlms_get_course_ids_by_product()
S
68 2 7
dozentlms_text_output()
S
71 2 6
dozentlms_is_lecture_completed()
S
69 2 6
dozentlms_request_text()
S
68 2 7
dozentlms_set_flash()
S
66 2 8
dozentlms_course_reviews()
S
72 2 6
dozentlms_get_current_page_number()
S
68 2 8
dozentlms_is_syllabus_item_completed()
S
65 2 9
dozentlms_course_promo()
S
63 2 10
DozentLMS_Addon_EDD::courses_list_edd_metabox()
S
69 2 6
DozentLMS_Addon_Ratings_Reviews::leave_rating_btn()
S
72 2 6
dozentlms_archive_is_filtered()
S
65 2 9
DozentLMS\Admin\Post_Types_Register::register_post_status()
S
73 2 5
dozetnlms_get_redirect_to()
S
77 2 3
dozentlms_notice()
S
68 2 7
dozentlms_rating_input()
S
66 2 8
dozentlms_course_data()
S
66 2 8
dozentlms_course_progress_bar()
S
68 2 7
dozentlms_course_completed_label()
S
72 2 5
dozentlms_new_course_link()
S
71 2 6
DozentLMS\Includes\App::instance()
S
65 2 10
DozentLMS\Core\Course\Course_Data::instance()
S
69 2 7
dozentlms_get_course_id()
S
69 2 7
DozentLMS\Core\Course\Access::instance()
S
69 2 7
DozentLMS\Core\User\Activities::instructors_posts_clauses()
S
65 2 8
DozentLMS\Core\User\Activities::__construct()
S
63 2 10
DozentLMS\Core\Form_Request::destroy_flash()
S
70 2 6
DozentLMS\Resources\Resources::instance()
S
68 2 8
DozentLMS_Addon::disable()
S
68 2 7
DozentLMS\Core\User\Activities::instance()
S
69 2 7
DozentLMS\Core\Admin_Bar::instance()
S
69 2 7
DozentLMS\Core\Auth::auth_lostpassword()
S
64 2 9
DozentLMS\Core\Dashboard_Controller::instance()
S
69 2 7
DozentLMS\Core\Course\Builder::instance()
S
69 2 7
dozentlms_next_content_order_id()
S
61 1 14
dozentlms_course_contents_by_module()
S
59 1 14
DozentLMS_Addon_Ratings_Reviews::init()
S
60 1 13
dozentlms_header()
S
65 1 13
DozentLMS\Includes\App::includes()
S
63 1 12
DozentLMS_Addon_EDD::__construct()
S
63 1 11
DozentLMS\Core\Settings\Instructors_List::get_columns()
S
62 1 11
DozentLMS_Addon_WooCommerce::__construct()
S
65 1 9
dozentlms_course_tagged_instructors()
S
75 1 4
DozentLMS_Addon_WooCommerce::init()
S
64 1 9
DozentLMS\Admin\Operations::activate_plugin()
S
81 1 3
dozentlms_results_per_page()
S
75 1 4
dozentlms_syllabus_nav_link()
S
82 1 3
DozentLMS_Addon_WooCommerce::data_panel_courses()
S
80 1 3
dozentlms_is_course_closed()
S
75 1 4
dozentlms_get_full_course_content()
S
81 1 3
DozentLMS\Resources\Resources::__construct()
S
100 1 2
DozentLMS_Addon_EDD::dlms_add_courses_to_edd()
S
80 1 3
DozentLMS\Admin\Register_Menu::__construct()
S
72 1 5
dozentlms_course_stats()
S
66 1 8
dozentlms_is_login()
S
76 1 4
DozentLMS\Includes\App::init()
S
77 1 4
DozentLMS\Admin\PostBox::register_course_metabox()
S
71 1 5
dozentlms_addon_register()
S
69 1 7
dozentlms_is_archive_sorted()
S
64 1 10
dozentlms_footer()
S
75 1 7
DozentLMS\Core\Settings\Instructors_List::column_courses()
S
71 1 5
dozentlms_load_template()
S
79 1 3
dozentlms_is_course_free()
S
75 1 4
dozentlms_course_instructor_ids()
S
76 1 4
DozentLMS_Addon_Frontend_Course_Builder::render_course_info()
S
80 1 3
DozentLMS\Core\Settings\Settings::__construct()
S
81 1 3
DozentLMS\Admin\Register_Menu::instructors()
S
80 1 3
DozentLMS\Core\Course\Course_Data::coursedata_box()
S
80 1 3
DozentLMS\Core\Course\Builder::get_wp_editor()
S
72 1 5
DozentLMS\Admin\Register_Menu::addons()
S
80 1 3
dozentlms_switch_field_e()
S
79 1 3
DozentLMS\Core\User\Panel::menu_slugs()
S
74 1 4
DozentLMS\Core\Settings\Settings::only_field_items()
S
64 1 9
DozentLMS\Core\Course\Course_Data::course_data()
S
74 1 4
DozentLMS\Core\Settings\Settings::panel()
S
80 1 3
dozentlms_get_archive_link()
S
81 1 3
DozentLMS\Core\Course\Course_Data::intended_learners()
S
80 1 3
dozentlms_get_var()
S
79 1 3
dozentlms_is_course_archive()
S
81 1 3
dozentlms_placeholder_src()
S
79 1 3
DozentLMS\Admin\PostBox::__construct()
S
79 1 3
dozentlms_the_course()
S
80 1 3
DozentLMS_Addon_Ratings_Reviews::__construct()
S
67 1 8
DozentLMS\Includes\App::__construct()
S
91 1 2
dozentlms_course_description()
S
82 1 3
DozentLMS\Core\Form_Request::detach_product_from_course()
S
67 1 8
DozentLMS_Addon::init()
S
100 1 0
DozentLMS\Core\Query::__construct()
S
72 1 5
DozentLMS\Core\Settings\Instructors_List::column_name()
S
75 1 4
DozentLMS\Core\Course\Builder::__construct()
S
63 1 10
DozentLMS\Core\Dashboard_Controller::__construct()
S
79 1 3
DozentLMS\Core\Course\Builder::delete_item()
S
73 1 5
DozentLMS_Addon::is_enabled()
S
74 1 4
dozentlms_get_enabled_video_sources()
S
76 1 4
dozentlms_syllabus_item_sidebar()
S
82 1 3
dozentlms_dashboard_breadcrumb()
S
82 1 3
dozentlms_is_lecture()
S
81 1 3
dozentlms_lecture_content()
S
82 1 3
dozentlms_enroll_box()
S
82 1 3
dozentlms_addon_activated()
S
72 1 5
DozentLMS\Core\Course\Builder::delete_module()
S
72 1 5
dozentlms_single_course_header()
S
82 1 3
dozentlms()
S
79 1 3
dozentlms_is_syllabus_singular()
S
82 1 3
dozentlms_auth_form()
S
82 1 3
dozentlms_course_syllabus()
S
82 1 3
DozentLMS\Admin\PostBox::coursebuilder_admin()
S
80 1 3
DozentLMS\Core\Course\Course_Data::coursedata_promo_video()
S
80 1 3
DozentLMS_Addon_Social_Login::init()
S
74 1 4
DozentLMS\Core\Settings\Instructors_List::column_username()
S
71 1 5
DozentLMS\Admin\Register_Menu::settings()
S
77 1 4
DozentLMS\addons\Load::__construct()
S
75 1 4
DozentLMS\Admin\Post_Types_Register::__construct()
S
69 1 7
DozentLMS\Core\Auth::__construct()
S
72 1 5
DozentLMS_Addon_Frontend_Course_Builder::__construct()
S
67 1 8
DozentLMS\Core\User\Activities::login_modal()
S
81 1 3
DozentLMS_Addon_Social_Login::__construct()
S
67 1 8
DozentLMS\Core\Course\Course_Data::coursedata_pricing()
S
80 1 3
DozentLMS\Admin\Operations::__construct()
S
78 1 3
DozentLMS\Core\Settings\Instructors_List::__construct()
S
69 1 7
dozentlms_the_video()
S
82 1 3
dozentlms_get_video_sources()
S
65 1 9
dozentlms_request_textarea()
S
79 1 3
dozentlms_no_access_content()
S
82 1 3
dozentlms_frontend_course_builder()
S
70 1 7
dozentlms_addons()
S
76 1 4
dozentlms_social_login_providers()
S
70 1 6
dozentlms_get_course_price_raw()
S
75 1 4
DozentLMS\Core\Settings\Instructors_List::column_email()
S
76 1 4
DozentLMS\Core\Admin_Bar::__construct()
S
78 1 3
DozentLMS_Addon_Ratings_Reviews::my_ratings_to_dashboard()
S
73 1 4
DozentLMS\Core\Course\Builder::item_form()
S
64 1 9
DozentLMS\Core\Settings\Instructors_List::column_cb()
S
78 1 3
DozentLMS\Core\Form_Request::__construct()
S
70 1 6
DozentLMS\Resources\Resources::load_resources()
S
75 1 4
dozentlms_is_course_public()
S
75 1 4
dozentlms_course_total_lectures()
S
75 1 4
dozentlms_approve_instructor()
S
70 1 6
dozentlms_get_modules()
S
68 1 7
DozentLMS\Core\Class_Mapper::load_singleton_instance()
S
68 1 9
DozentLMS_Addon_Social_Login::sanitize_username()
S
78 1 3
DozentLMS_Addon_WooCommerce::data_tabs_courses()
S
66 1 8
DozentLMS\Core\Course\Course_Data::__construct()
S
64 1 9
DozentLMS\Core\Settings\Settings::get_settings_value()
S
78 1 3
DozentLMS\Core\Query::add_query_vars()
S
71 1 6
dozentlms_next_module_order()
S
71 1 5
DozentLMS\Core\Course\Access::__construct()
S
75 1 4