Code Analysis: Dozent LMS 1.1.5

Function Rating Maintainability Complexity Lines of code
DozentLMS\Core\Settings\Settings::render_element()
B
34 21 95
DozentLMS_Addon::__construct()
B
43 17 45
DozentLMS_Addon_WooCommerce::save_product()
A
48 15 29
DozentLMS_Addon_EDD::save_edd_download()
A
48 15 29
dozentlms_duration_to_time()
A
45 13 43
DozentLMS\Core\User\Panel::render_sidebar_menu()
A
47 12 31
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_upload_field()
A
44 8 50
DozentLMS\Core\Settings\Settings::form_fields()
A
32 2 136
dozentlms_arr_get()
A
53 9 24
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_Addon_Social_Login::facebook_login()
A
44 6 46
dozentlms_course_archive_query()
S
50 7 30
dozentlms_locate_template()
S
52 7 24
dozentlms_dashboard_link()
S
52 7 24
dozentlms_enroll_course()
S
46 6 38
DozentLMS\Resources\Resources::enqueue_scripts()
S
52 7 22
DozentLMS_Addon_Social_Login::social_login_fields()
S
40 4 67
dozentlms_get_course_product()
S
54 7 20
dozentlms_arr_sanitize()
S
55 7 20
DozentLMS\Core\Course\Course_Data::save_coursedata()
S
55 7 18
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_get_login_url()
S
53 6 22
dozentlms_next_previous_id()
S
53 6 21
DozentLMS\Autoloader::loader()
S
54 6 19
dozentlms_get_course_video()
S
56 6 18
DozentLMS\Core\Auth::auth_register()
S
48 5 32
DozentLMS\Core\User\Activities::instructor_activity()
S
56 6 17
DozentLMS\Core\Form_Request::finish_course()
S
57 6 16
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_enrolled()
S
54 5 20
dozentlms_course_price()
S
55 5 20
DozentLMS\Core\Course\Builder::sort_contents()
S
55 5 19
DozentLMS\Core\User\Panel::raw_menu_items()
S
56 5 19
dozentlms_load_dashboard_template()
S
56 5 18
dozentlms_get_lecture_video_time()
S
55 5 18
DozentLMS\Core\User\Panel::menu_items()
S
45 3 47
dozentlms_check_course_progress_and_mark_complete()
S
59 5 14
dozentlms_has_course_access()
S
60 5 14
DozentLMS\Core\Auth::auth_login()
S
50 4 28
DozentLMS\Core\Course\Access::enroll_from_url_var()
S
61 5 12
DozentLMS\Admin\Post_Types_Register::register_lecture_post_type()
S
42 2 55
dozentlms_enrollment_statuses()
S
48 3 39
DozentLMS\Core\Query::rewrite_rule()
S
53 4 22
DozentLMS\Admin\Register_Menu::admin_bar_item()
S
55 4 19
dozentlms_switch_field()
S
57 4 17
dozentlms_excerpt()
S
57 4 17
DozentLMS_Addon_EDD::insert_enrollment_data()
S
58 4 15
DozentLMS\Core\Course\Course_Data::course_info_column()
S
59 4 15
DozentLMS_Addon_WooCommerce::enroll_after_purchase()
S
58 4 15
dozentlms_login_tmpl()
S
59 4 15
DozentLMS\Core\Settings\Instructors_List::column_role()
S
59 4 14
dozentlms_course_content_icon()
S
60 4 14
DozentLMS\Core\Dashboard_Controller::mark_course_incomplete()
S
59 4 13
DozentLMS\addons\Load::load_addons_base()
S
61 4 12
DozentLMS\Core\Course\Access::enroll_request()
S
61 4 12
DozentLMS\Core\Settings\Instructors_List::column_actions()
S
59 4 12
DozentLMS_Addon_EDD::redirect_to_product()
S
62 4 11
DozentLMS_Addon_WooCommerce::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_featured_image()
S
58 3 15
dozentlms_get_page_id()
S
65 4 9
DozentLMS\addons\Load::addon_toggle()
S
58 3 15
DozentLMS_Addon_EDD::course_price()
S
64 4 9
DozentLMS_Addon_WooCommerce::course_price()
S
65 4 9
DozentLMS\Core\User\Activities::edit_profile()
S
58 3 15
dozentlms_get_course_syllabus_data()
S
59 3 14
dozentlms_course_progress()
S
59 3 14
DozentLMS\Admin\Installations::instance()
S
60 3 14
DozentLMS\Admin\Installations::add_roles()
S
60 3 13
dozentlms_syllabus_item_content()
S
62 3 12
DozentLMS\Core\Query::panel_title()
S
60 3 12
dozentlms_wishlisted()
S
63 3 11
dozentlms_dashboard_tmpl()
S
63 3 11
DozentLMS\Core\User\Panel::build_sorter()
S
62 3 11
DozentLMS\Core\Course\Access::free_course_enroll()
S
63 3 11
dozentlms_get_courses_has_no_product()
S
53 2 24
DozentLMS\Core\Course\Builder::add_module()
S
53 2 23
DozentLMS\Core\Settings\Instructors_List::prepare_items()
S
54 2 20
DozentLMS\Core\Course\Builder::update_module()
S
55 2 19
dozentlms_get_course_content_stats()
S
57 2 16
DozentLMS\Core\User\Activities::toggle_wishlist()
S
58 2 15
dozentlms_is_course_instructor()
S
66 3 8
DozentLMS\Admin\Register_Menu::go_external_url()
S
66 3 9
dozentlms_course_per_page()
S
64 3 10
dozentlms_course_access_type()
S
64 3 10
dozentlms_is_course_completed()
S
65 3 9
dozentlms_is_frontend_dashboard()
S
69 3 7
DozentLMS_Addon_Social_Login::social_login_attempt()
S
64 3 10
DozentLMS\Core\Course\Access::check_and_redirect_to_login()
S
65 3 10
DozentLMS\Core\Course\Course_Data::render_course_info_column()
S
64 3 9
dozentlms_arr_count()
S
71 3 6
DozentLMS\Core\User\Activities::instructor_personalization()
S
71 3 5
dozentlms_time_to_duration()
S
63 3 10
DozentLMS\Core\Class_Mapper::__construct()
S
59 2 14
dozentlms_enrolled_courses()
S
60 2 13
dozentlms_my_courses()
S
61 2 13
dozentlms_course_filter_items()
S
60 2 13
DozentLMS_Addon_EDD::init()
S
60 2 12
dozentlms_course_id_by_item()
S
62 2 12
DozentLMS\Resources\Resources::localize_strings()
S
51 1 25
dozentlms_course_data_field_attrs()
S
54 1 24
dozentlms_course_pricing_types()
S
56 1 20
DozentLMS\Admin\Register_Menu::register_admin_menu()
S
56 1 17
dozentlms_course_progress_bar()
S
68 2 7
dozentlms_course_edit_link()
S
71 2 6
dozentlms_lecture_single_tmpl()
S
72 2 6
dozentlms_settings_changed()
S
72 2 6
dozentlms_get_setting()
S
65 2 8
dozentlms_set_redirect_to()
S
68 2 7
dozentlms_become_instructor()
S
69 2 7
dozentlms_course_archive_tmpl()
S
72 2 6
dozentlms_request_arr()
S
71 2 6
dozentlms_course_single_tmpl()
S
72 2 6
dozentlms_course_start_url()
S
69 2 7
dozentlms_get_current_page_number()
S
68 2 8
dozentlms_is_instructor()
S
72 2 6
dozetnlms_get_redirect_to()
S
77 2 3
dozentlms_is_syllabus_item_completed()
S
65 2 9
dozentlms_save_settings()
S
62 2 10
DozentLMS\Core\Course\Access::instance()
S
69 2 7
DozentLMS\Includes\App::instance()
S
65 2 10
DozentLMS\Core\User\Activities::instructors_posts_clauses()
S
65 2 8
DozentLMS\Core\User\Activities::__construct()
S
65 2 9
DozentLMS\Core\Dashboard_Controller::instance()
S
69 2 7
DozentLMS\Core\Auth::auth_lostpassword()
S
64 2 9
DozentLMS_Addon::disable()
S
68 2 7
DozentLMS\Resources\Resources::instance()
S
68 2 8
DozentLMS\Admin\Operations::plugin_action_links()
S
67 2 7
DozentLMS\Core\Course\Builder::instance()
S
69 2 7
DozentLMS\Core\Course\Course_Data::instance()
S
69 2 7
DozentLMS_Addon_EDD::courses_list_edd_metabox()
S
69 2 6
DozentLMS\Core\User\Activities::instance()
S
69 2 7
dozentlms_course_promo()
S
63 2 10
DozentLMS\Admin\Post_Types_Register::register_post_status()
S
73 2 5
dozentlms_get_course_ids_by_product()
S
68 2 7
dozentlms_course_meta()
S
71 2 6
dozentlms_is_lecture_completed()
S
69 2 6
dozentlms_get_course_id()
S
69 2 7
dozentlms_course_data()
S
66 2 8
dozentlms_archive_is_filtered()
S
65 2 9
dozentlms_course_completion_form()
S
72 2 6
dozentlms_course_completed_label()
S
72 2 5
dozentlms_course_contents_by_module()
S
59 1 14
dozentlms_next_content_order_id()
S
61 1 14
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\Core\Course\Course_Data::coursedata_pricing()
S
80 1 3
DozentLMS\Core\Settings\Settings::__construct()
S
81 1 3
DozentLMS_Addon_WooCommerce::data_tabs_courses()
S
66 1 8
DozentLMS\Admin\Operations::activate_plugin()
S
81 1 3
DozentLMS\Core\Course\Builder::delete_item()
S
73 1 5
DozentLMS\Core\Form_Request::detach_product_from_course()
S
67 1 8
DozentLMS\Core\Settings\Instructors_List::__construct()
S
69 1 7
dozentlms_request_textarea()
S
79 1 3
DozentLMS\Core\Form_Request::__construct()
S
72 1 5
dozentlms_course_description()
S
82 1 3
DozentLMS\Includes\App::init()
S
77 1 4
dozentlms_is_login()
S
76 1 4
DozentLMS_Addon::init()
S
100 1 0
dozentlms_is_course_archive()
S
81 1 3
dozentlms_get_enabled_video_sources()
S
76 1 4
dozentlms()
S
79 1 3
dozentlms_syllabus_nav_link()
S
82 1 3
dozentlms_request_text()
S
79 1 3
DozentLMS\Core\Settings\Instructors_List::column_email()
S
76 1 4
dozentlms_footer()
S
75 1 7
DozentLMS\Resources\Resources::load_resources()
S
75 1 4
DozentLMS\Admin\Register_Menu::instructors()
S
80 1 3
dozentlms_course_instructor_ids()
S
76 1 4
dozentlms_is_course_public()
S
75 1 4
DozentLMS\Core\Course\Access::__construct()
S
75 1 4
DozentLMS\Admin\Register_Menu::addons()
S
80 1 3
DozentLMS\Core\Course\Course_Data::coursedata_promo_video()
S
80 1 3
dozentlms_is_archive_sorted()
S
64 1 10
DozentLMS\Core\Settings\Settings::only_field_items()
S
64 1 9
DozentLMS\Resources\Resources::__construct()
S
82 1 3
dozentlms_course_stats()
S
66 1 8
DozentLMS\Core\Course\Builder::delete_module()
S
72 1 5
DozentLMS\Admin\Operations::__construct()
S
78 1 3
DozentLMS\Core\Settings\Settings::get_settings_value()
S
78 1 3
DozentLMS\Core\User\Activities::login_modal()
S
81 1 3
DozentLMS\Core\Course\Course_Data::__construct()
S
65 1 8
DozentLMS_Addon::is_enabled()
S
74 1 4
dozentlms_is_lecture()
S
81 1 3
dozentlms_syllabus_item_sidebar()
S
82 1 3
DozentLMS\Admin\Register_Menu::settings()
S
77 1 4
DozentLMS_Addon_EDD::dlms_add_courses_to_edd()
S
80 1 3
dozentlms_course_syllabus()
S
82 1 3
DozentLMS\addons\Load::__construct()
S
75 1 4
dozentlms_get_video_sources()
S
65 1 9
DozentLMS\Core\Query::__construct()
S
72 1 5
DozentLMS\Core\User\Panel::menu_slugs()
S
74 1 4
DozentLMS\Core\Auth::__construct()
S
72 1 5
DozentLMS_Addon_WooCommerce::init()
S
64 1 9
dozentlms_is_syllabus_singular()
S
82 1 3
dozentlms_is_course()
S
81 1 3
dozentlms_get_course_price_raw()
S
75 1 4
dozentlms_enroll_box()
S
82 1 3
DozentLMS\Core\Settings\Settings::panel()
S
80 1 3
dozentlms_is_course_closed()
S
75 1 4
DozentLMS\Includes\App::__construct()
S
91 1 2
dozentlms_addons()
S
76 1 4
dozentlms_is_course_free()
S
75 1 4
dozentlms_load_template()
S
79 1 3
dozentlms_the_video()
S
82 1 3
DozentLMS\Admin\Post_Types_Register::__construct()
S
69 1 7
DozentLMS_Addon_Social_Login::init()
S
74 1 4
DozentLMS_Addon_WooCommerce::data_panel_courses()
S
80 1 3
DozentLMS_Addon_WooCommerce::__construct()
S
65 1 9
DozentLMS\Core\Settings\Instructors_List::column_username()
S
71 1 5
DozentLMS\Admin\PostBox::register_course_metabox()
S
71 1 5
DozentLMS\Admin\PostBox::__construct()
S
79 1 3
DozentLMS\Core\Course\Builder::__construct()
S
63 1 10
DozentLMS\Admin\PostBox::coursebuilder_admin()
S
80 1 3
DozentLMS\Core\Course\Course_Data::coursedata_box()
S
80 1 3
dozentlms_approve_instructor()
S
70 1 6
dozentlms_lecture_content()
S
82 1 3
dozentlms_get_archive_link()
S
81 1 3
dozentlms_get_full_course_content()
S
81 1 3
DozentLMS\Core\Course\Builder::item_form()
S
64 1 9
dozentlms_single_course_header()
S
82 1 3
dozentlms_social_login_providers()
S
70 1 6
dozentlms_get_var()
S
79 1 3
DozentLMS_Addon_Social_Login::__construct()
S
67 1 8
dozentlms_placeholder_src()
S
79 1 3
DozentLMS\Admin\Register_Menu::__construct()
S
72 1 5
dozentlms_get_modules()
S
68 1 7
DozentLMS\Core\Settings\Instructors_List::column_courses()
S
71 1 5
DozentLMS\Core\Settings\Instructors_List::column_name()
S
75 1 4
DozentLMS\Core\Query::add_query_vars()
S
71 1 6
DozentLMS\Core\Dashboard_Controller::__construct()
S
79 1 3
dozentlms_addon_activated()
S
72 1 5
dozentlms_course_tagged_instructors()
S
75 1 4
dozentlms_auth_form()
S
82 1 3
dozentlms_addon_register()
S
69 1 7
DozentLMS\Core\Settings\Instructors_List::column_cb()
S
78 1 3
dozentlms_dashboard_breadcrumb()
S
82 1 3
DozentLMS\Core\Class_Mapper::load_singleton_instance()
S
69 1 8
DozentLMS_Addon_Social_Login::sanitize_username()
S
78 1 3
dozentlms_next_module_order()
S
71 1 5
dozentlms_switch_field_e()
S
79 1 3
DozentLMS\Core\Course\Course_Data::course_data()
S
74 1 4
DozentLMS\Core\Course\Builder::get_wp_editor()
S
72 1 5
dozentlms_no_access_content()
S
82 1 3
dozentlms_the_course()
S
80 1 3