The block_course_statistics
plugin for Moodle provides comprehensive statistics about course activities.
It helps educators and administrators track course performance and student engagement through detailed reports and metrics.
- Displays course completion rates and participation metrics
- Generates detailed reports on course activities
- Provides statistics on forums, quizzes, and general course usage
- Offers export options for statistics (CSV, Excel)
- Customizable filters and date ranges
- Moodle 3.x or higher
- PHP 7.2 or higher
- MySQL 5.7 or higher, or equivalent database
- Download the plugin.
- Navigate to
Site Administration
>Install Plugin
. - Choose the zip file and upload it.
- Navigate to
Site Administration
>Notifications
to complete the installation.
- Navigate to
Site Administration
>Manage Courses and Categories
>Select a Course
. - The plugin will be displayed in the right panel as a block.
- The block is accessible to users with roles such as administrator, course administrator, trainer, and editing trainer.
- The block displays statistics for courses that have statistics calculation enabled in the block configuration settings.
- After installation, administrators and teachers can view statistics for each course.
- Navigate to
Site Administration
>Plugins
>Blocks
>Course Statistics
. - Adjust the settings as needed for your site.
- Enable courses for statistics calculation.
- The block uses a scheduled task called 'Pre-calculate Statistics from Logstore Table' to extract information from Moodle logs and store it in its own tables.
- The task runs once a day to collect data from the logs.
The plugin is organized into three main sections:
- Main Menu: Contains navigation options.
- Period Filters: Allows filtering data based on selected periods.
- Data Table: Displays statistics based on the selected filters.
- Displays overall statistics of user activity in the course.
- Provides metrics like total time spent, number of sessions, and number of actions.
- Displays statistics for each activity module or tool within the course.
- Provides detailed metrics for activities, such as total time dedicated and number of sessions.
- Provides detailed statistics for forum activities within the course.
- Includes metrics like number of posts, post answers, and topics initialized.
- Displays detailed statistics for quizzes within the course.
- Provides metrics like total time spent on quizzes, number of attempts, and average scores.