28.21. ReviewFile

28.21.1. Description

ReviewFile reduction function computes single or multiple stream(s) representing the number of files reviewed.

28.21.2. Parameter

Table 28.20. 

ParameterDescriptionDefault
modeOne of 'Project' or 'Individual'. Project
filePatternAnt-like file pattern specifying the files to be included in computation.**
isCumulativeIf true, an cumulative version of telemetry stream is returned.false

28.21.3. Example

Example 28.31. Review Active Time Telemetry

streams ReviewFileStream(mode, filePattern, isCumulative) = {
   "Review Files", 
   ReviewFile(mode, filePattern, isCumulative)
};

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

chart ReviewFileChart() = {
  "Review Files", 
  (ReviewFileStream("Project", "**", "false"), yAxis("Reviewed Files"))
};

draw ReviewFileChart();

This chart shows the number of files reviewed for the entire project.