report/Reporter. ReporterInfo

This object stores the global results of a Reporter

Constructor

new ReporterInfo(rep)

ReporterInfo constructor

Parameters:
NameTypeDescription
repmodule:report/Reporter.Reporter

The Reporter associated tho this Info object.

Members

globalScore :number

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

Type:
  • number

nActPlayed :number

Number of different activities played

Type:
  • number

nActScore :number

Global score obtained in all sessions registered by this reporter

Type:
  • number

nActSolved :number

Number of activities solved

Type:
  • number

nActions :number

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

Type:
  • number

nActivities :number

Number of activities played

Type:
  • number

numSequences :number

Number of sequences played

Type:
  • number

numSessions :number

Number of sessions registered

Type:
  • number

partialScore :number

Global score obtained

Type:
  • number

ratioPlayed :number

Percentage of reportable activities played

Type:
  • number

ratioSolved :number

Percentage of solved activities

Type:
  • number

rep :module:report/Reporter.Reporter

The Reporter linked to this Info object

reportableActs :number

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

Type:
  • number

tScore :number

Sum of the scores of all the activities played

Type:
  • number

tTime :number

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

Type:
  • number

valid :boolean

When false, data must be recalculated

Type:
  • boolean

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:
  • This "info" object
Type: 
module:report/Reporter.ReporterInfo