Code Analysis: Dozent LMS 1.0.0

Function Rating Maintainability Complexity Lines of code
DozentLMS\Core\Settings\Settings::render_element()
B
34 21 95
DozentLMS\Core\Settings\Settings::form_fields()
A
27
5 200
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_arr_get()
A
53 9 24
DozentLMS\Core\Auth::google_login()
A
40 6 63
DozentLMS\Core\Auth::create_or_register_user()
A
46 7 37
DozentLMS\Core\Auth::facebook_login()
A
44 6 46
dozentlms_dashboard_link()
S
52 7 24
dozentlms_locate_template()
S
52 7 24
DozentLMS\Resources\Resources::enqueue_scripts()
S
52 7 22
dozentlms_arr_sanitize()
S
55 7 20
DozentLMS\Core\Course\Course_Data::save_coursedata()
S
55 7 18
DozentLMS\Core\Auth::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\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_course_price()
S
55 5 20
dozentlms_enrolled()
S
54 5 20
DozentLMS\Core\User\Panel::raw_menu_items()
S
56 5 19
DozentLMS\Core\Course\Builder::sort_contents()
S
55 5 19
dozentlms_load_dashboard_template()
S
56 5 18
DozentLMS\Core\User\Panel::menu_items()
S
45 3 46
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\Core\Query::rewrite_rule()
S
53 4 22
DozentLMS\Admin\Register_Menu::admin_bar_item()
S
55 4 19
dozentlms_excerpt()
S
57 4 17
dozentlms_login_tmpl()
S
59 4 15
DozentLMS\Core\Course\Course_Data::course_info_column()
S
59 4 15
DozentLMS\Core\Settings\Instructors_List::column_role()
S
59 4 14
DozentLMS\Core\Settings\Instructors_List::column_actions()
S
59 4 12
DozentLMS\Admin\Post_Types_Register::register_categories()
S
47 2 35
DozentLMS\Admin\Post_Types_Register::register_post_status()
S
50 2 35
dozentlms_course_contents()
S
57 3 18
dozentlms_enroll_course()
S
55 3 18
dozentlms_wishlisted_courses()
S
58 3 16
DozentLMS\Core\Form_Request::complete_lecture()
S
57 3 15
DozentLMS\Core\User\Activities::edit_profile()
S
58 3 15
dozentlms_featured_image()
S
58 3 15
dozentlms_get_page_id()
S
65 4 9
dozentlms_sync_course()
S
59 3 14
DozentLMS\Admin\Installations::instance()
S
61 3 13
DozentLMS\Admin\Installations::add_roles()
S
60 3 13
DozentLMS\Core\Query::panel_title()
S
60 3 12
dozentlms_course_progress()
S
61 3 12
dozentlms_syllabus_item_content()
S
62 3 12
dozentlms_wishlisted()
S
63 3 11
dozentlms_dashboard_tmpl()
S
63 3 11
DozentLMS\Core\Course\Access::free_course_enroll()
S
63 3 11
DozentLMS\Core\Course\Access::enroll_request()
S
63 3 11
DozentLMS\Core\User\Panel::build_sorter()
S
62 3 11
dozentlms_switch_field()
S
62 3 11
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\Admin\Register_Menu::go_external_url()
S
66 3 9
DozentLMS\Core\User\Activities::toggle_wishlist()
S
58 2 15
DozentLMS\Core\User\Activities::instructor_personalization()
S
71 3 5
DozentLMS\Core\Course\Access::check_and_redirect_to_login()
S
65 3 10
DozentLMS\Core\Auth::social_login_attempt()
S
64 3 10
DozentLMS\Core\Course\Course_Data::render_course_info_column()
S
64 3 9
dozentlms_is_frontend_dashboard()
S
69 3 7
dozentlms_course_access_type()
S
64 3 10
dozentlms_is_course_instructor()
S
66 3 8
dozentlms_lecture_complete_form()
S
64 2 13
dozentlms_enrolled_courses()
S
60 2 13
dozentlms_my_courses()
S
61 2 13
dozentlms_course_id_by_item()
S
62 2 12
dozentlms_course_data_field_attrs()
S
54 1 24
DozentLMS\Resources\Resources::localize_strings()
S
52 1 23
dozentlms_course_pricing_types()
S
56 1 20
DozentLMS\Admin\Register_Menu::register_admin_menu()
S
57 1 16
DozentLMS\Core\User\Activities::__construct()
S
65 2 9
DozentLMS\Core\Auth::auth_lostpassword()
S
64 2 9
DozentLMS\Core\User\Activities::instructors_posts_clauses()
S
65 2 8
dozentlms_is_syllabus_item_completed()
S
65 2 9
DozentLMS\Core\Course\Access::instance()
S
69 2 7
DozentLMS\Core\User\Activities::instance()
S
69 2 7
DozentLMS\Core\Course\Builder::instance()
S
69 2 7
dozentlms_course_per_page()
S
68 2 7
dozentlms_get_setting()
S
65 2 8
DozentLMS\Resources\Resources::instance()
S
68 2 8
DozentLMS\Includes\App::instance()
S
65 2 10
DozentLMS\Core\Course\Course_Data::instance()
S
69 2 7
dozentlms_is_instructor()
S
72 2 6
dozentlms_course_promo()
S
63 2 10
dozentlms_course_edit_link()
S
71 2 6
dozentlms_course_archive_query()
S
71 2 6
dozentlms_course_data()
S
66 2 8
dozetnlms_get_redirect_to()
S
77 2 3
dozentlms_course_meta()
S
71 2 6
dozentlms_course_single_tmpl()
S
72 2 6
dozentlms_course_archive_tmpl()
S
72 2 6
dozentlms_course_start_url()
S
69 2 7
dozentlms_arr_count()
S
72 2 6
dozentlms_get_current_page_number()
S
68 2 8
dozentlms_save_settings()
S
62 2 10
dozentlms_request_arr()
S
71 2 6
dozentlms_become_instructor()
S
69 2 7
dozentlms_settings_changed()
S
72 2 6
dozentlms_course_content_icon()
S
67 2 8
dozentlms_lecture_single_tmpl()
S
72 2 6
dozentlms_set_redirect_to()
S
68 2 7
dozentlms_get_course_syllabus_data()
S
66 2 8
dozentlms_next_content_order_id()
S
61 1 14
dozentlms_course_contents_by_module()
S
60 1 13
dozentlms_header()
S
65 1 13
DozentLMS\Core\Settings\Instructors_List::get_columns()
S
62 1 11
dozentlms_get_enabled_video_sources()
S
76 1 4
DozentLMS\Admin\Register_Menu::instructors()
S
80 1 3
DozentLMS\Admin\Register_Menu::__construct()
S
72 1 5
DozentLMS\Core\Settings\Settings::get_settings_value()
S
78 1 3
DozentLMS\Core\Course\Course_Data::__construct()
S
65 1 8
DozentLMS\Core\Settings\Settings::only_field_items()
S
64 1 9
dozentlms_load_template()
S
79 1 3
DozentLMS\Admin\PostBox::__construct()
S
79 1 3
dozentlms_enroll_box()
S
82 1 3
DozentLMS\Core\Course\Course_Data::coursedata_pricing()
S
80 1 3
DozentLMS\Core\Course\Builder::delete_item()
S
73 1 5
DozentLMS\Core\Settings\Instructors_List::column_username()
S
71 1 5
DozentLMS\Core\Class_Mapper::__construct()
S
64 1 10
DozentLMS\Core\Settings\Instructors_List::column_name()
S
75 1 4
dozentlms_is_archive_sorted()
S
64 1 10
DozentLMS\Core\Course\Builder::__construct()
S
63 1 10
DozentLMS\Core\User\Activities::login_modal()
S
81 1 3
DozentLMS\Admin\Post_Types_Register::__construct()
S
69 1 7
DozentLMS\Core\User\Panel::menu_slugs()
S
74 1 4
dozentlms_request_textarea()
S
79 1 3
dozentlms_next_module_order()
S
68 1 7
DozentLMS\Core\Auth::__construct()
S
70 1 6
dozentlms_is_course_closed()
S
75 1 4
dozentlms_is_course_archive()
S
81 1 3
dozentlms_social_login_providers()
S
70 1 6
DozentLMS\Admin\Register_Menu::settings()
S
77 1 4
DozentLMS\Core\Settings\Instructors_List::__construct()
S
69 1 7
DozentLMS\Admin\PostBox::coursebuilder_admin()
S
80 1 3
dozentlms_the_video()
S
82 1 3
dozentlms_auth_form()
S
82 1 3
DozentLMS\Includes\App::includes()
S
65 1 10
dozentlms_course_syllabus()
S
82 1 3
dozentlms_dashboard_breadcrumb()
S
82 1 3
dozentlms_lecture_content()
S
82 1 3
DozentLMS\Resources\Resources::load_resources()
S
75 1 4
DozentLMS\Core\Query::add_query_vars()
S
71 1 6
dozentlms_course_description()
S
82 1 3
dozentlms_is_login()
S
76 1 4
DozentLMS\Resources\Resources::__construct()
S
82 1 3
DozentLMS\Core\Class_Mapper::load_singleton_instance()
S
71 1 7
dozentlms_request_text()
S
79 1 3
dozentlms_footer()
S
75 1 7
DozentLMS\Core\Course\Access::__construct()
S
75 1 4
dozentlms_get_course_price_raw()
S
75 1 4
DozentLMS\Includes\App::__construct()
S
91 1 2
dozentlms_course_instructor_ids()
S
76 1 4
dozentlms_get_var()
S
79 1 3
DozentLMS\Core\Course\Course_Data::course_data()
S
74 1 4
dozentlms_get_video_sources()
S
65 1 9
dozentlms_single_course_header()
S
82 1 3
DozentLMS\Core\Course\Builder::get_wp_editor()
S
72 1 5
DozentLMS\Core\Course\Builder::item_form()
S
64 1 9
dozentlms_approve_instructor()
S
70 1 6
DozentLMS\Core\Course\Builder::delete_module()
S
72 1 5
DozentLMS\Core\Settings\Instructors_List::column_email()
S
76 1 4
DozentLMS\Core\Settings\Instructors_List::column_cb()
S
78 1 3
dozentlms_no_access_content()
S
82 1 3
dozentlms_is_course()
S
81 1 3
DozentLMS\Core\Auth::sanitize_username()
S
78 1 3
dozentlms()
S
79 1 3
dozentlms_syllabus_item_sidebar()
S
82 1 3
dozentlms_is_lecture()
S
81 1 3
DozentLMS\Core\Course\Course_Data::coursedata_promo_video()
S
80 1 3
dozentlms_get_modules()
S
68 1 7
DozentLMS\Admin\Operations::__construct()
S
100 1 2
dozentlms_placeholder_src()
S
79 1 3
dozentlms_is_course_free()
S
75 1 4
DozentLMS\Core\Settings\Instructors_List::column_courses()
S
71 1 5
dozentlms_is_course_public()
S
75 1 4
DozentLMS\Core\Settings\Settings::__construct()
S
81 1 3
dozentlms_course_tagged_instructors()
S
75 1 4
dozentlms_course_stats()
S
66 1 8
dozentlms_get_archive_link()
S
81 1 3
dozentlms_is_syllabus_singular()
S
82 1 3
DozentLMS\Core\Settings\Settings::panel()
S
80 1 3
dozentlms_the_course()
S
80 1 3
DozentLMS\Core\Query::__construct()
S
72 1 5
DozentLMS\Core\Form_Request::__construct()
S
79 1 3
DozentLMS\Admin\Operations::activate_plugin()
S
81 1 3
DozentLMS\Includes\App::init()
S
77 1 4
DozentLMS\Core\Course\Course_Data::coursedata_box()
S
80 1 3
DozentLMS\Admin\PostBox::register_course_metabox()
S
71 1 5