Calculations and facts
This topic documents facts that can be displayed in dashboards and the calculations that can render them.
Fact bases
Polarion fact bases store data for various audit and metrics calculations.
processaudit/project-level/source-check-aggregate
This fact base is calculated by processaudit calculation.
Values available in the project scope:
overall-test-coverage: unit test coverage
overall-test-results: unit test success ratio
repo-analysis:
This fact base is calculated by the repoanalysis calculation.
Values available in project and project group scope:
NOU: Number of Users - the number of users having a role in the project or in some project in the project group.
NOF: Number of Files - the number of files in the repository for the scope being reported.
Values available only in the project scope:
NOD: Number of Developers - where "developer" means the author of some commit to the repository.
NODD: Number of Developers for the past day
NODW: Number of Developers for past week
NODM: Number of Developers for past month
NOC: Number of Changes - where "change" means a commit in the repository.
NOCD: Number of Changes during the past day
NOCW: Number of Changes during the past week
NOCM: Number of Changes during the past month
NOC-BY-DEVELOPERS: Number of Commits by Developers - where Developer means the author of some commit to the repository.
MAD: Most Active Developer - meaning the Developer making the most commits to the repository.
LAT: Last Activity Time - meaning the time of the latest commit to the repository.
workitems-data:
This fact base is calculated by the trackeranalysis and trackeranalysis-projectgroup calculations. The available values are those for Work Item Metrics
Trend fact bases
These parallel fact bases with trend data exist for each regular fact base listed in the previous section.
workitems-trend-data
Calculated by the trackeranalysis and trackeranalysis-projectgroup calculations.
Available values: Trends of all values from workitems-data fact base.
repo-trend
Calculated by the repoanalysis calculation.
Available values: Trends of particular values from the repo-analysis fact base.
Values available in the project scope:
NOC: Number of Changes ("change" means any commit in the repository)
NOCD: Number of Changes for Last Day
NOF: Number of Files (i.e. number of files in the repository)
NOD: Number of Developers ("developer" means author of some commit in the repository)
processaudit/project-level/source-check-aggregate-trend
Calculated by the processaudit calculation.
Available values: Trends of all values (and their properties) from the processaudit/project-level/source-check-aggregate fact base.
Values available in both project and project group scope:
test-coverage.ratio: test coverage (i.e. ratio of total lines of code to line of code covered by unit tests)
Values available in the project scope only:
test-sucess-ratio.ratio: test success ratio
test-sucess-ratio.testsCount: number of tests
test-sucess-ratio.errorsCount: number of errors in tests
test-sucess-ratio.failuresCount: number of failures in tests