Code Analysis: LearnDash LMS – Reports 1.1.0

Function Rating Maintainability Complexity Lines of code
WRLD_Course_Progress_Info::get_course_list_info()
D
0
129 568
WRLD_Course_Progress_Info::get_course_completion_rate()
D
18
51 256
WRLD_Course_Progress_Info::get_quiz_completion_rate()
D
18
47 270
WRLD_Course_Time_Tracking::get_quiz_completion_time()
D
25
37 160
WRLD_Course_Time_Tracking::get_course_time_spent()
D
26
34 154
WRLD_Course_Progress_Info::get_average_quiz_attempts()
D
25
28 178
WRLD_Course_Progress_Info::get_quiz_passing_rate()
C
25
25 178
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::localize_additional_data()
C
32 23 103
wrld_get_guest_message_on_reports_page()
C
44 27 34
WRLD_Revenue_API::get_ld_transaction_details()
B
39 16 64
WRLD_Course_Progress_Info::get_modulewise_activity()
B
40 16 55
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_Course_Time_Tracking::add_time_tracking_entry()
A
38 11 78
WRLD_Revenue_API::get_course_revenues_from_woo()
A
47 12 35
WRLD_Quiz_Reporting_Tools::check_if_user_accessible()
A
49 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_Common_Functions::get_values_for_request_params()
A
55 11 16
wrld_get_common_script_localized_data()
A
48 10 27
WRLD_Course_Progress_Info::get_modulewise_statistics()
A
42 8 56
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_script_localization_data()
A
50 10 24
WRLD_Course_Time_Tracking::ldrp_seconds_to_time()
A
47 9 38
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_Revenue_API::get_woocommerce_transactions_total()
A
53 9 22
WRLD_Common_Functions::get_accessible_users_for_the_user()
A
49 8 33
WRLD_Revenue_API::get_total_revenue()
A
48 8 31
wrld_add_review_notice()
A
54 8 20
WRLD_Common_Functions::get_current_user_role_access()
A
55 8 19
WRLD_Quiz_Reporting_Tools::qre_search_courses()
S
46 6 42
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_notify_first_report_page_creation()
S
51 7 22
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
WRLD_Quiz_Export_Db::get_crossreferenced_statistics_count()
S
51 6 24
wrld_add_upgrade_notice()
S
51 6 24
WRLD_Quiz_Export_Db::get_crossreferenced_statistics()
S
51 6 24
WisdmReportsLearndash\Admin_Functions::wrld_notice_action()
S
55 6 18
wrld_register_patterns()
S
43 1 91
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
WRLD_Common_Functions::get_ld_group_user_ids()
S
60 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
WRLD_Course_Progress_Info::get_daily_enrollments()
S
46 3 36
wrld_create_patterns_page()
S
56 4 18
WRLD_Common_Functions::get_duration_data()
S
55 4 17
WRLD_Common_Functions::is_today()
S
57 4 17
WRLD_Common_Functions::get_request_params()
S
57 4 17
WisdmReportsLearndash\Admin_Functions::is_plugin_installed()
S
62 5 10
wrld_db_install()
S
52 3 28
WisdmReportsLearndash\Admin_Functions::show_wisdm_reports_submenu()
S
55 3 20
WisdmReportsLearndash\Admin_Functions::wrld_create_patterns_page()
S
62 4 10
WRLD_Course_Time_Tracking::fetch_last_updated_activity()
S
61 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
WRLD_Revenue_API::get_total_learners()
S
52 2 23
WRLD_Revenue_API::get_total_courses()
S
53 2 21
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block_Types::__construct()
S
49 1 34
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::wrld_register_block_assets()
S
49 1 31
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
WRLD_Common_Functions::get_list_of_users_enrolled_in_courses()
S
65 3 9
WisdmReportsLearndash\Admin_Functions::update_reporting_page_visit()
S
65 3 8
wrld_add_custom_block_category()
S
61 2 13
WRLD_Quiz_Export_Db::get_quiz_attempt_data()
S
59 2 13
WRLD_Revenue_API::get_woocommerce_orders()
S
61 2 13
wrld_nonlogged_in_user_block()
S
63 2 11
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
WRLD_LearnDash_Endpoints::__construct()
S
56 1 23
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::wrld_register_block_type()
S
56 1 18
WisdmReportsLearndashBlockRegistry\WRLD_Daily_Enrollments::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Pending_Assignments::__construct()
S
63 2 10
WRLD_Revenue_API::get_learndash_transactions_total()
S
66 2 8
WRLD_LearnDash_Endpoints::set_endpoint_version()
S
69 2 7
wrld_plugin_activation()
S
71 2 6
WRLD_LearnDash_Endpoints::get_instance()
S
71 2 6
wrld_register_blocks()
S
62 2 10
WRLD_Course_Progress_Info::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Course_Completion_Rate::__construct()
S
65 2 9
WRLD_Quiz_Export_Db::instance()
S
72 2 6
WRLD_Course_Time_Tracking::fetch_user_course_time_spent()
S
63 2 10
WisdmReportsLearndashBlockRegistry\WRLD_Date_Filters::__construct()
S
65 2 9
wrld_learndash_dependency_check()
S
70 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Course_List::__construct()
S
65 2 9
WisdmReportsLearndash\Admin_Functions::instance()
S
72 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Total_Revenue_Earned::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Rate_Per_Course::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Time_Per_Course::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Reports::__construct()
S
65 2 9
wrld_get_custom_ld_labels()
S
65 2 8
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::__construct()
S
63 2 10
WRLD_Common_Functions::get_managed_group_ids()
S
69 2 7
WRLD_Quiz_Reporting_Tools::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_roles_of_current_user()
S
67 2 8
WRLD_Course_Time_Tracking::fetch_last_updated_entry()
S
64 2 9
wrld_register_apis()
S
71 2 6
WRLD_Revenue_API::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Revenue_From_Courses::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Total_Courses::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Average_Quiz_Attempts::__construct()
S
65 2 9
wrld_load_admin_functions()
S
74 2 5
WisdmReportsLearndashBlockRegistry\WRLD_Total_Learners::__construct()
S
65 2 9
WisdmReportsLearndashBlockRegistry\WRLD_Time_Spent_On_Course::__construct()
S
65 2 9
WRLD_Course_Time_Tracking::get_instance()
S
71 2 6
WisdmReportsLearndashBlockRegistry\WRLD_Learners_Pass_Fail_Rate_Per_Course::__construct()
S
65 2 9
WRLD_Revenue_API::get_courses_created_between()
S
59 1 15
WRLD_Quiz_Export_Db::get_users_total_points()
S
63 1 9
WRLD_Quiz_Export_Db::get_quiz_time_taken()
S
67 1 7
WisdmReportsLearndashBlockRegistry\WRLD_Course_List::server_side_render_function()
S
82 1 3
WRLD_Quiz_Export_Db::get_statistic_ref_id()
S
66 1 7
WRLD_Quiz_Reporting_Tools::check_if_user_ids_actually_present()
S
69 1 6
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_script_url()
S
71 1 5
WRLD_LearnDash_Endpoints::total_revenue_data_permission_callback()
S
79 1 3
WRLD_Quiz_Export_Db::set_db_instance()
S
77 1 4
wrld_show_review_notice()
S
63 1 9
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_style_sheet_url()
S
71 1 5
WRLD_Quiz_Export_Db::get_total_questions_count()
S
67 1 7
WRLD_Quiz_Export_Db::__construct()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_script_url()
S
71 1 5
WRLD_Quiz_Export_Db::get_correct_questions_count()
S
67 1 7
WisdmReportsLearndashBlockRegistry\WRLD_Pending_Assignments::localize_additional_data()
S
75 1 4
WisdmReportsLearndashBlockRegistry\WRLD_Daily_Enrollments::server_side_render_function()
S
82 1 3
WRLD_Quiz_Export_Db::get_quiz_title()
S
67 1 7
WisdmReportsLearndashBlockRegistry\WRLD_Total_Revenue_Earned::server_side_render_function()
S
82 1 3
wrld_register_pattern_category()
S
72 1 6
WisdmReportsLearndashBlockRegistry\WRLD_Date_Filters::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_style_sheet_url()
S
71 1 5
WisdmReportsLearndashBlockRegistry\WRLD_Total_Courses::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_script_dependancies()
S
72 1 5
WisdmReportsLearndashBlockRegistry\WRLD_Total_Learners::server_side_render_function()
S
82 1 3
WRLD_Course_Time_Tracking::__construct()
S
91 1 2
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_script_handle()
S
80 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_block_name_with_name_space()
S
80 1 3
wrld_activation_notices()
S
78 1 5
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_block_assets_path()
S
72 1 5
WRLD_LearnDash_Endpoints::register_hook()
S
76 1 3
WRLD_Quiz_Export_Db::get_db_instance()
S
82 1 3
wrld_enqueue_global_styles()
S
78 1 3
WRLD_Quiz_Export_Db::get_points_earned()
S
67 1 7
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Reports::server_side_render_function()
S
82 1 3
WRLD_LearnDash_Endpoints::coursewise_revenue_data_permission_callback()
S
79 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_style_handle()
S
80 1 3
WisdmReportsLearndash\Admin_Functions::add_wisdm_reports_submenu()
S
65 1 10
WRLD_LearnDash_Endpoints::include_api_files()
S
67 1 8
WisdmReportsLearndashBlockRegistry\WRLD_Course_Completion_Rate::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Pending_Assignments::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Rate_Per_Course::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Revenue_From_Courses::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Quiz_Completion_Time_Per_Course::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_block_assets_url()
S
72 1 5
WisdmReportsLearndash\Admin_Functions::report_page_creation_notice()
S
73 1 5
WRLD_Quiz_Export_Db::get_questions_asked()
S
67 1 7
WRLD_Quiz_Export_Db::get_db_name()
S
79 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Report_Filters::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_front_end_style_handle()
S
80 1 3
WRLD_Quiz_Export_Db::get_custom_field_form_questions()
S
65 1 8
WRLD_Revenue_API::get_users_registered_between()
S
70 1 5
wrld_load_textdomain()
S
78 1 3
WRLD_Quiz_Export_Db::get_statistic_summarized_data()
S
62 1 10
wrld_register_admin_ajax_callbacks()
S
69 1 6
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_script_dependancies()
S
72 1 5
WRLD_Revenue_API::__construct()
S
91 1 2
WisdmReportsLearndashBlockRegistry\WRLD_Learners_Pass_Fail_Rate_Per_Course::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Average_Quiz_Attempts::server_side_render_function()
S
82 1 3
WisdmReportsLearndashBlockRegistry\WRLD_Register_Block::get_editor_script_handle()
S
80 1 3
WRLD_Quiz_Export_Db::check_if_user_ids_actually_present()
S
67 1 7
WisdmReportsLearndashBlockRegistry\WRLD_Time_Spent_On_Course::server_side_render_function()
S
82 1 3
WisdmReportsLearndash\Admin_Functions::__construct()
S
82 1 3
WRLD_Course_Time_Tracking::init_hooks()
S
91 1 2
WisdmReportsLearndash\Admin_Functions::init_hooks()
S
69 1 6
wrld_load_wisdm_license()
S
70 1 6
WRLD_Quiz_Export_Db::check_if_quiz_ids_actually_present()
S
67 1 7
WRLD_LearnDash_Endpoints::get_api_version()
S
80 1 3
WRLD_Quiz_Export_Db::check_if_statistics_actually_present()
S
67 1 7
WRLD_Course_Progress_Info::__construct()
S
91 1 2