28.14. MemberActiveTime

[Note]Active Time is deprecated: please use DevTime instead

As of October 2006, we recommend the use of the DevTime family of reduction functions (DevTime, EventTypeDevTime, WorkspaceDevTime, MemberDevTime) instead of Active Time. DevTime provides a more comprehensive approach to measuring developer activities and the time spent on them.

28.14.1. Description

MemberActiveTime reduction function computes telemetry stream(s) representing project member active time in hours.

28.14.2. Parameters

Table 28.13. 

ParameterDescriptionDefault
filePatternAnt-like file pattern specifying the files to be included in computation.**
isCumulativeIf true, an cumulative version of telemetry stream is returned.false
memberEmailIf '*' is supplied, then a collection of telemetry streams is return, with one telemetry stream for each member in the project. If a member email is supplied, then only one telemetry stream is returned representing this member's active time in the project. *

28.14.3. Example 1

Example 28.19. MemberActiveTime

streams MemberActiveTimeStream(filePattern, cumulative, memberEmail) = {
   "Active Time", MemberActiveTime(filePattern, cumulative, memberEmail)
};

y-axis yAxis(label) = {label};

chart MemberActiveTimeChart(memberEmail) = {
  "Member Active Time", 
  (MemberActiveTimeStream("**", "false", memberEmail), yAxis("Active Time Hours"))
};

draw MemberActiveTimeChart("*");

This is a telemetry chart with multiple telemtry streams (non-cumulative active time), one for each member in the project. Note the parameter value passed to 'memberEmail'.

28.14.4. Example 2

Example 28.20. MemberActiveTime

streams MemberActiveTimeStream(filePattern, cumulative, memberEmail) = {
   "Active Time", MemberActiveTime(filePattern, cumulative, memberEmail)
};

y-axis yAxis(label) = {label};

chart MemberActiveTimeChart(memberEmail) = {
  "Member Active Time", 
  (MemberActiveTimeStream("**", "false", memberEmail), yAxis("Active Time Hours"))
};

draw MemberActiveTimeChart("undisclosed@hawaii.edu");

This is a telemetry chart containing one single telemetry stream (non-cumulative active time) for one of the members in the project. Note the parameter value passed to 'memberEmail'.