Code Analysis: LearnDash LMS – Reports 1.2.0

Function Rating Maintainability Complexity Lines of code
WRLD_Course_Progress_Info::get_course_list_info()
D
0
130 573
WRLD_Course_Progress_Info::get_course_completion_rate()
D
18
52 256
WRLD_Course_Progress_Info::get_quiz_completion_rate()
D
18
48 270
WRLD_Course_Time_Tracking::get_quiz_completion_time()
D
24
39 170
WRLD_Course_Time_Tracking::get_course_time_spent()
D
24
37 171
WRLD_Course_Progress_Info::get_average_quiz_attempts()
D
24
30 183
WRLD_Course_Progress_Info::get_quiz_passing_rate()
D
24
29 195
wrld_get_guest_message_on_reports_page()
D
41 35 41
wrld_get_guest_message_on_reports_page()
D
37 33 63
WRLDAdmin\LicensePage::get_licensing_section()
C
29 22 138
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::localize_additional_data()
C
32 23 103
WRLD_Course_Progress_Info::get_modulewise_activity()
B
39 17 58
WRLD_Revenue_API::get_ld_transaction_details()
B
39 16 64
WRLD_Course_Time_Tracking::get_modulewise_quiztime()
A
37 13 80
WRLD_Quiz_Export_Db::get_all_statistic_ref_ids()
A
43 14 45
WRLD_Quiz_Export_Db::get_all_statistic_ref_ids_count()
A
44 14 42
wrld_get_common_script_localized_data()
A
42 14 42
WRLD_Course_Time_Tracking::add_time_tracking_entry()
A
38 11 78
wrld_welcome_modal()
A
49 14 26
WRLD_Revenue_API::get_course_revenues_from_woo()
A
46 13 37
WRLDAdmin\SettingsPage::get_accessibility_setting()
A
45 12 42
WRLD_Common_Functions::get_values_for_request_params()
A
53 13 19
WRLD_Quiz_Reporting_Tools::check_if_user_accessible()
A
49 11 30
WRLDAdmin\Dashboard::get_current_tab()
A
48 11 30
WRLD_Course_Progress_Info::learndash_get_user_course_attempts_time_spent()
A
52 11 26
WRLD_Course_Time_Tracking::learndash_get_user_course_attempts_time_spent()
A
52 11 26
WRLD_Revenue_API::get_coursewise_revenue()
A
45 10 40
WRLD_Quiz_Reporting_Tools::check_if_quiz_accessible()
A
47 10 36
WRLD_LearnDash_Endpoints::register_custom_endpoints()
A
33 1 170
wrld_free_onboarding_modal()
A
48 10 30
WRLD_Course_Progress_Info::get_modulewise_statistics()
A
42 8 56
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_script_localization_data()
A
50 10 24
WRLD_Revenue_API::get_woocommerce_transactions_total()
A
52 10 24
wrld_add_review_notice()
A
52 10 23
WRLD_Course_Time_Tracking::ldrp_seconds_to_time()
A
47 9 38
wrld_add_recomendation_notice()
A
42 8 51
WisdmReportsLearndash\Admin_Functions::wrld_license_activate()
A
42 8 51
WRLD_Quiz_Reporting_Tools::qre_search_users()
A
41 7 65
WRLD_Course_Progress_Info::get_studentwise_activity()
A
48 9 32
WRLD_Common_Functions::get_accessible_courses_for_the_user()
A
50 9 29
WRLD_Revenue_API::get_ld_coursewise_revenue()
A
46 8 38
WRLD_Common_Functions::get_accessible_users_for_the_user()
A
49 8 33
WRLD_Revenue_API::get_total_revenue()
A
48 8 31
wrld_free_upgrade_to_pro_modal()
A
50 8 25
WRLD_Common_Functions::get_current_user_role_access()
A
55 8 19
WisdmReportsLearndash\Admin_Functions::wrld_license_deactivate()
A
43 6 48
WRLD_Quiz_Reporting_Tools::qre_search_courses()
S
46 6 42
wrld_add_page_to_primary_menu()
S
59 8 12
WRLD_Quiz_Reporting_Tools::qre_search_quizzes()
S
46 6 41
WRLD_Quiz_Reporting_Tools::get_user_managed_group_courses()
S
53 7 23
WRLD_Course_Progress_Info::learndash_get_user_quiz_attempts_time_spent()
S
57 7 16
WRLD_Course_Time_Tracking::learndash_get_user_quiz_attempts_time_spent()
S
57 7 16
WRLD_Revenue_API::get_ld_transactions()
S
51 6 28
WisdmReportsLearndash\Admin_Functions::wrld_update_settings()
S
51 6 25
WRLD_Quiz_Export_Db::get_crossreferenced_statistics()
S
51 6 24
WRLD_Quiz_Export_Db::get_crossreferenced_statistics_count()
S
51 6 24
wrld_add_upgrade_notice()
S
51 6 24
WRLDAdmin\Dashboard::call_to_function_for()
S
56 6 22
WRLDAdmin\LicensePage::get_license_status_to_display()
S
55 6 21
WRLDAdmin\DashboardPage::content_when_not_configured()
S
48 5 35
WisdmReportsLearndash\Admin_Functions::wrld_notice_action()
S
55 6 18
wrld_register_patterns()
S
43 1 91
WRLDAdmin\Dashboard::show_admin_dashboard_tabs()
S
48 5 30
wrld_register_admin_ajax_callbacks()
S
58 6 12
WisdmReportsLearndash\Admin_Functions::wrld_license_page_visit()
S
52 5 23
WRLD_Quiz_Export_Db::get_all_statistic_ref_ids_by_quiz()
S
53 5 20
WRLD_Quiz_Export_Db::get_all_statistic_ref_ids_by_user()
S
53 5 20
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::get_ld_group_users()
S
57 5 17
WRLDAdmin\LicensePage::get_license_staus_class()
S
58 5 17
wisdm_reports_free_multi_installation_check()
S
58 5 14
WRLD_Common_Functions::get_ld_group_user_ids()
S
60 5 13
WisdmReportsLearndash\Admin_Functions::wrld_create_patterns_page()
S
59 5 13
WRLD_Quiz_Reporting_Tools::qre_live_search_results()
S
51 4 28
WRLD_Course_Time_Tracking::enqueue_tracking_script()
S
53 4 22
WRLDAdmin\HelpPage::get_question_answer_collaps()
S
46 2 52
WRLD_Course_Progress_Info::get_daily_enrollments()
S
46 3 36
WisdmReportsLearndash\Admin_Functions::wrld_welcome_modal_action()
S
55 4 20
WisdmReportsLearndash\Admin_Functions::wrld_set_configuration()
S
55 4 19
WRLD_Common_Functions::is_today()
S
57 4 17
WRLD_Common_Functions::get_duration_data()
S
55 4 17
WRLD_Common_Functions::get_request_params()
S
57 4 17
wrld_create_patterns_page()
S
57 4 17
WRLDAdmin\DashboardPage::render()
S
58 4 16
WisdmReportsLearndash\Admin_Functions::is_plugin_installed()
S
62 5 10
WRLDAdmin\PluginsPage::content_main()
S
47 2 43
wrld_db_install()
S
52 3 28
WRLDAdmin\SettingsPage::get_add_menu_link_setting()
S
62 4 11
WRLD_Common_Functions::get_list_of_users_enrolled_in_courses()
S
62 4 11
WisdmReportsLearndash\Admin_Functions::show_wisdm_reports_submenu()
S
55 3 20
WisdmReportsLearndash\Admin_Functions::wrld_skip_license_activation()
S
55 3 19
wrld_dashboad_link()
S
59 3 15
WRLDAdmin\Dashboard::licensing_page_content()
S
59 3 15
WRLDAdmin\Dashboard::page_init()
S
51 2 27
WRLD_Course_Time_Tracking::fetch_last_updated_activity()
S
61 3 12
WRLDAdmin\LicensePage::get_license_action_by()
S
62 3 12
WRLD_Course_Progress_Info::get_pending_assignments_info()
S
62 3 12
WRLD_Course_Time_Tracking::get_user_ip_address()
S
62 3 11
WRLDAdmin\DashboardPage::sidebar_block_upgrade()
S
55 2 26
WRLDAdmin\SettingsPage::sidebar_block_upgrade()
S
55 2 26
WRLDAdmin\HelpPage::sidebar_block_upgrade()
S
56 2 25
WRLD_Revenue_API::get_total_learners()
S
52 2 23
WRLDAdmin\PluginsPage::show_plugin_card()
S
55 2 22
WRLD_Revenue_API::get_total_courses()
S
53 2 21
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block_Types::__construct()
S
49 1 34
WRLDAdmin\SettingsPage::sidebar_block_help()
S
53 1 34
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::wrld_register_block_assets()
S
49 1 31
WisdmReportsLearndash\Admin_Functions::update_reporting_page_visit()
S
67 3 7
WRLD_Common_Functions::get_users_enrolled_in_groups()
S
65 3 9
WRLD_Common_Functions::get_list_of_courses_in_groups()
S
65 3 9
WRLDAdmin\SettingsPage::style_display()
S
68 3 7
WRLD_Revenue_API::get_woocommerce_orders()
S
61 2 13
wrld_add_custom_block_category()
S
61 2 13
WRLD_Quiz_Export_Db::get_quiz_attempt_data()
S
59 2 13
WRLDAdmin\Dashboard::dashboard_page_content()
S
62 2 12
WRLDAdmin\Dashboard::other_plugins_page_content()
S
62 2 12
WRLDAdmin\Dashboard::settings_page_content()
S
62 2 12
WRLDAdmin\Dashboard::help_page_content()
S
62 2 12
wrld_pro_get_popup_modal_content()
S
54 1 27
wrld_plugin_activation()
S
63 2 12
WRLD_Quiz_Export_Db::get_custom_field_form_answers()
S
61 2 11
WRLD_Quiz_Export_Db::get_quiz_total_points()
S
61 2 11
WRLD_Quiz_Export_Db::get_posts_within_ids()
S
61 2 11
WRLDAdmin\HelpPage::sidebar_block_connect()
S
56 1 26
wrld_nonlogged_in_user_block()
S
63 2 11
WRLD_LearnDash_Endpoints::__construct()
S
56 1 23
WRLDAdmin\DashboardPage::sidebar_block_help()
S
58 1 23
WRLDAdmin\LicensePage::sidebar_block_help()
S
59 1 21
WRLDAdmin\SettingsPage::content_main()
S
58 1 20
wrld_free_get_popup_modal_content()
S
58 1 20
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::wrld_register_block_type()
S
56 1 18
WRLDAdmin\HelpPage::content_main()
S
64 1 16
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Reports::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Pending_Assignments::__construct()
S
63 2 10
WRLD_Course_Progress_Info::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Total_Revenue_Earned::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Time_Spent_On_Course::__construct()
S
65 2 9
WRLDAdmin\LicensePage::content_main()
S
62 1 15
WRLDAdmin\LicensePage::get_license_action_class_by()
S
74 2 4
WRLD_Course_Time_Tracking::get_instance()
S
71 2 6
WRLD_LearnDash_Endpoints::get_instance()
S
71 2 6
WRLD_LearnDash_Endpoints::set_endpoint_version()
S
69 2 7
WisdmReportsLearndash\Admin_Functions::instance()
S
72 2 6
WRLD_Common_Functions::get_managed_group_ids()
S
69 2 7
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Rate_Per_Course::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Revenue_From_Courses::__construct()
S
65 2 9
WRLD_Revenue_API::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::__construct()
S
63 2 10
WRLD_Quiz_Export_Db::instance()
S
72 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Total_Learners::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Time_Per_Course::__construct()
S
65 2 9
WRLD_Quiz_Reporting_Tools::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Average_Quiz_Attempts::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Course_List::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Date_Filters::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Learners_Pass_Fail_Rate_Per_Course::__construct()
S
65 2 9
wrld_load_admin_functions()
S
74 2 5
wrld_learndash_dependency_check()
S
70 2 6
WRLDAdmin\DashboardPage::content_when_configured()
S
61 1 15
wrld_register_apis()
S
71 2 6
wrld_get_custom_ld_labels()
S
65 2 8
WRLD_Course_Time_Tracking::fetch_last_updated_entry()
S
64 2 9
wrld_register_blocks()
S
62 2 10
WisdmReportsLearndashBlockRegistry\WRLD_Total_Courses::__construct()
S
65 2 9
WRLD_Revenue_API::get_courses_created_between()
S
59 1 15
WisdmReportsLearndashBlockRegistry\WRLD_Course_Completion_Rate::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Daily_Enrollments::__construct()
S
65 2 9
WRLD_Course_Time_Tracking::fetch_user_course_time_spent()
S
63 2 10
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_roles_of_current_user()
S
67 2 8
WRLD_Revenue_API::get_learndash_transactions_total()
S
66 2 8
WRLDAdmin\HelpPage::get_help_changelog_section()
S
63 1 14
WisdmReportsLearndash\Admin_Functions::init_hooks()
S
60 1 12
WRLDAdmin\Dashboard::__construct()
S
61 1 11
wrld_load_textdomain()
S
78 1 3
WRLDAdmin\LicensePage::render()
S
68 1 10
WisdmReportsLearndashBlockRegistry\WRLD_Average_Quiz_Attempts::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Revenue_From_Courses::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Learners_Pass_Fail_Rate_Per_Course::server_side_render_function()
S
82 1 3
WRLD_Revenue_API::get_users_registered_between()
S
70 1 5
WRLD_Quiz_Export_Db::check_if_user_ids_actually_present()
S
67 1 7
WRLD_Course_Progress_Info::__construct()
S
91 1 2
wrld_activation_notices()
S
78 1 5
WisdmReportsLearndash\Admin_Functions::__construct()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Daily_Enrollments::server_side_render_function()
S
82 1 3
WRLD_Quiz_Export_Db::get_total_questions_count()
S
67 1 7
WRLD_LearnDash_Endpoints::coursewise_revenue_data_permission_callback()
S
79 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_script_dependancies()
S
72 1 5
WisdmReportsLearndash\Admin_Functions::report_page_creation_notice()
S
73 1 5
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_style_handle()
S
80 1 3
WRLD_Quiz_Export_Db::check_if_statistics_actually_present()
S
67 1 7
WRLD_LearnDash_Endpoints::register_hook()
S
76 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_style_sheet_url()
S
71 1 5
WisdmReportsLearndashBlockRegistry\WRLD_Total_Learners::server_side_render_function()
S
82 1 3
WRLD_Revenue_API::__construct()
S
91 1 2
WRLDAdmin\LicensePage::content_sidebar()
S
72 1 7
WRLDAdmin\DashboardPage::__construct()
S
78 1 3
WRLD_Quiz_Export_Db::get_statistic_summarized_data()
S
62 1 10
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_block_assets_path()
S
72 1 5
WRLDAdmin\HelpPage::content_sidebar()
S
71 1 8
WRLD_Quiz_Export_Db::get_quiz_time_taken()
S
67 1 7
WRLD_LearnDash_Endpoints::include_api_files()
S
67 1 8
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Time_Per_Course::server_side_render_function()
S
82 1 3
WRLDAdmin\SettingsPage::__construct()
S
78 1 3
WRLD_Course_Time_Tracking::__construct()
S
91 1 2
WRLDAdmin\LicensePage::__construct()
S
78 1 3
WRLD_Quiz_Export_Db::get_db_instance()
S
82 1 3
WRLD_Quiz_Export_Db::get_questions_asked()
S
67 1 7
WRLDAdmin\PluginsPage::__construct()
S
78 1 3
WRLD_Quiz_Export_Db::get_statistic_ref_id()
S
66 1 7
WRLDAdmin\Dashboard::show_admin_dashboard_header()
S
74 1 4
WRLDAdmin\DashboardPage::content_sidebar()
S
71 1 8
WRLD_Quiz_Export_Db::get_correct_questions_count()
S
67 1 7
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_script_dependancies()
S
72 1 5
WRLD_Quiz_Export_Db::get_custom_field_form_questions()
S
65 1 8
wrld_add_admin_menus()
S
76 1 4
WRLD_Quiz_Export_Db::get_db_name()
S
79 1 3
wrld_show_review_notice()
S
63 1 9
WRLD_Quiz_Export_Db::__construct()
S
82 1 3
wrld_enqueue_global_styles()
S
78 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_style_sheet_url()
S
71 1 5
WRLD_LearnDash_Endpoints::get_api_version()
S
80 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_script_url()
S
71 1 5
WRLDAdmin\DashboardPage::get_add_menu_link_setting()
S
69 1 8
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_block_assets_url()
S
72 1 5
WRLDAdmin\SettingsPage::content_sidebar()
S
71 1 8
WisdmReportsLearndashBlockRegistry\WRLD_Course_Completion_Rate::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_script_handle()
S
80 1 3
WRLDAdmin\SettingsPage::render()
S
68 1 10
WRLD_Quiz_Reporting_Tools::check_if_user_ids_actually_present()
S
69 1 6
WisdmReportsLearndashBlockRegistry\WRLD_Course_List::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Pending_Assignments::localize_additional_data()
S
75 1 4
WRLD_Course_Time_Tracking::init_hooks()
S
91 1 2
WRLDAdmin\LicensePage::get_add_menu_link_setting()
S
70 1 8
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_style_handle()
S
80 1 3
WRLD_Quiz_Export_Db::get_quiz_title()
S
67 1 7
WRLD_Quiz_Export_Db::get_points_earned()
S
67 1 7
WRLD_Quiz_Export_Db::check_if_quiz_ids_actually_present()
S
67 1 7
wrld_register_pattern_category()
S
72 1 6
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_script_handle()
S
80 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Pending_Assignments::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::server_side_render_function()
S
82 1 3
WRLDAdmin\HelpPage::render()
S
68 1 10
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_script_url()
S
71 1 5
WRLDAdmin\PluginsPage::render()
S
70 1 9
WisdmReportsLearndashBlockRegistry\WRLD_Time_Spent_On_Course::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_block_name_with_name_space()
S
80 1 3
WRLD_Quiz_Export_Db::get_users_total_points()
S
63 1 9
WRLD_Quiz_Export_Db::set_db_instance()
S
77 1 4
WRLDAdmin\HelpPage::__construct()
S
78 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Total_Revenue_Earned::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Date_Filters::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Total_Courses::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Reports::server_side_render_function()
S
82 1 3
WRLD_LearnDash_Endpoints::total_revenue_data_permission_callback()
S
79 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Rate_Per_Course::server_side_render_function()
S
82 1 3