Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

opengeospatial/teamengine-statistics

Repository files navigation

TEAM Engine Statistics

This repository provides code to get statistics reports about the tests being exercised in a TEAM Engine installation.

Preparation

  1. Go the folder in local folder. For example cd github/teamengine-statistics
  2. Update to the latest git pull
  3. Compile the code: mvn clean install

Running

  1. locate where the users folder is. For example ~/users_prod
  2. Run: java -cp target/stats-1.0-SNAPSHOT-with-deps.jar org.opengis.te.stats.TEReport ~/users_prod

The following processes (classes) can be invoked

  1. AdminLogCreator.java ==> This creates the statistic report and if some session has problem with the log.xml and session.xml file then reported in the "/result-output/AdmiLog.log" file.
  2. StatisticsCreator.java ==> It will update the session file if the date attribute is not present in the users session with the file creation time. It will resolve the null date attribute issue.
  3. TEReport.java ==> This will provide the report with the comma separated value: userName|session|date|year|month|testName|overallResult

We expect to genereate reports like the following:

Distribution of test in specific time

Distribution of a test per time

Running the reporter

  • First compile the AdminLogCreator.java file as: javac AdminLogCreator.java
  • Then run javac AdminLogCreator.class file as: java AdminLogCreator ${path-of-user-folder}

Releases

No releases published

Packages

No packages published