ReporterInfo

Source: Reporter.js:574

This object stores the global results of a Reporter


Constructor

new ReporterInfo( rep: module:report/Reporter.Reporter, ): ReporterInfo

ReporterInfo constructor

Parameters


Instance Methods

clear()

Clears all data associated with this ReporterInfo

recalc(): module:report/Reporter.ReporterInfo

Computes the value of all global variables based on the data stored in sessions

Returns

Instance Fields

rep: module:report/Reporter.Reporter

The Reporter linked to this Info object

valid: boolean

When false, data must be recalculated

numSessions: number

Number of sessions registered

numSequences: number

Number of sequences played

nActivities: number

Number of activities played

reportableActs: number

Number of activities in existing in the played projects suitable to be reported

nActSolved: number

Number of activities solved

nActPlayed: number

Number of different activities played

nActScore: number

Global score obtained in all sessions registered by this reporter

nActions: number

Number of actions done by the user while in this working session

ratioSolved: number

Percentage of solved activities

ratioPlayed: number

Percentage of reportable activities played

tScore: number

Sum of the scores of all the activities played

partialScore: number

Global score obtained

tTime: number

Sum of the playing time reported by each activity (not always equals to the sum of all session's time)

globalScore: number

Final score based on the percent of reportable activities played. If the user plays all the
activities, this result equals to partialScore.