Moodle plugins directory: Course dedication

Course dedication
NOTE: This plugin has a new maintainer.
Thanks to the University of Canterbury for sponsoring the upgrade work to support Moodle 4.0 and the new report builder API.
Introduction
This block allows to see the estimated dedication time to a Moodle course by the participants of the course.
How dedication time is estimated?
Time is estimated based in the concepts of Session and Session duration applied to Moodle's log entries:
- Click: every time that a user access to a page in Moodle a log entry is stored.
- Session: set of two or more consecutive clicks in which the elapsed time between every pair of consecutive clicks does not overcome an established maximum time.
- Session duration: elapsed time between the first and the last click of the session.
Features
This block is intended to be used only by teachers, however the block can be configured to show dedication time to students too.
Teachers can use a tool to analyse dedication time within a course. The tool provides three reporting methods:
- Dedication time of the course: calculates total dedication time, mean dedication time and connections per day for each student, which you can filter by course group if required.
- Dedication of a student: detailed sessions for a student with start date & time, duration and ip.
- Report builder source: The plugin includes a custom report builder source to allow for site-level reporting to be generated.
Credits
Original developed by Aday Talavera, CICEI at Las Palmas de Gran Canaria University
Updated to support Moodle 1.9 - Moodle 3.X by Borja Rubio Reyes.
Support for Moodle 4.0 was sponsored by the University of Canterbury.
I downloaded the plugin from Github and installed it on my Moodle 4.1 website and now I can't access the course which have this block. I get an "Error reading from database".
I have included the complete Error log here:
https://github.com/catalyst/moodle-block_dedication/issues/67
(I'm aware you / Catalyst are essentially doing this work for free, and as I've mentioned on numerous threads, it would be great if Moodle would allow users to contribute or reward maintainers like you in some way - so if there's anything we can do to help please let me know).
@Joseph - yes all feedback is useful - grab the latest from github and report any issues you find there. We use the new Moodle report builder api which allows the admin to set up various custom reports, although I can't remember if Core has added support for reporting on cohorts yet.