Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Use Stats Block.

Use Stats Block

From MoodleDocs

This block allows displaying use stats for the current user.

Use stats are given as an answer to the "how many time I spent on this Moodle". This may be usefull in situation where work time should be known to estimate average personnal productivity and enhancing its own process.

In other situations could it be used as an objetive proof of real work in some extreme and conflictual situations we hope they never occur.

Short overview

This block samples the user's log records and thresholds the activity backtrace. The main hypothesis is that any activity type unless offline activity or in-classroom activity may underlie a constant loggin track generation.

The block compiles all log events and summarizes all intervals larger than an adjustable threshold. Compilation are also made on a course basis.

The more Moodle is used as a daily content editing tool, the more accurate should be this report.

Other information

Global settings

  • block_use_stats_fromwhen : the default setting for the compilation range. Used at first time the block is displayed.
  • block_use_stats_threshold : the threshold applied on log gap to determine if the time gap is within continuous session or not. All time ranges over the threshold will be ignored. The gap corresponds to two

immediately consequent writes from the same user in the Moodle log.

  • block_use_stats_capturemodules : stats can be compiled ignoring some activities or some functional sections of Moodle. You may declare the list of log tags that will be measured in Moodle. For a more accurate calculation, you may add the "course" section to the list, that is not handled in the default setting.

Local settings

  • Students can use : If disabled, only teachers and power users will be able to view the block content. If enabled, students can get their own report exclusively.

Capabilities

  • block/use_stats:view : General capability to allow viewing some information from this block.
  • block/use_stats:seeuserdetails : Allows power users to see detailed results from other users then themselves.
  • block/use_stats:seeowndetails : usually applyed to students when they are allowed to consult their time report. Gives access to the activity/resource detailed time sheet.

Reference, information, development and support

valery.fremaux-AT-club-internet.fr