"use strict";
var HandlebarsModel = (function () {
function HandlebarsModel(title, urlPrefix, relativeUrl, totalKilled, totalSurvived, totalUntested) {
this.title = title;
this.urlPrefix = urlPrefix;
this.relativeUrl = relativeUrl;
this.totalKilled = totalKilled;
this.totalSurvived = totalSurvived;
this.totalUntested = totalUntested;
this.totalMutations = totalKilled + totalSurvived + totalUntested;
this.totalCoveredMutations = totalKilled + totalSurvived;
this.percentageBasedOnAllCode = Math.floor(totalKilled / this.totalMutations * 100) || 0,
this.percentageBasedOnCoveredCode = Math.floor(totalKilled / this.totalCoveredMutations * 100) || 0;
}
;
return HandlebarsModel;
}());
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = HandlebarsModel;
//# sourceMappingURL=HandlebarsModel.js.map |