in src/main/resources/static/coverage.js [438:455]
changeNum: parseInt(change._number),
patchNum: parseInt(revision._number),
};
this.updateCoverageDataIfNecessary(changeInfo);
}
/**
* Provides code coverage percentage for a file of a patchset.
* @param {string} changeNum The change number of the patchset.
* @param {string} path The relative path to the file.
* @param {string} patchNum The patchset number of the patchset.
* @param {string} type Type of percentage: "absolute" or "incremental".
* @return {object} Returns an object representing the absolute and
* incremental coverages. On error, it logs the error and returns
* null/undefined.
*/
async provideCoveragePercentages(changeNum, path, patchNum) {
const changeInfo = {