src/sap.ui.core/src/sap/ui/thirdparty/blanket.js
function(numSt, numCov, numBranch, numCovBr, moduleName) {

        var totalPercent = percentage(numCov, numSt);
        var statusClass = totalPercent < successRate ? "bl-error" : "bl-success";
        var rowTitle = ( moduleName ? "Total for module: " + moduleName : "Global total" );
        var totalsOutput = grandTotalTemplate.replace("{{rowTitle}}", rowTitle)
            .replace("{{percentage}}", totalPercent)
            .replace("{{numberCovered}}", numCov)
            .replace("{{totalSmts}}", numSt)
            .replace("{{passedBranches}}", numCovBr)
            .replace("{{totalBranches}}", numBranch)
            .replace("{{statusclass}}", statusClass);

        bodyContent += totalsOutput;
    }
function(numSt, numCov, numBranch, numCovBr, moduleName) {

        var totalPercent = percentage(numCov, numSt);
        var statusClass = totalPercent < successRate ? "bl-error" : "bl-success";
        var rowTitle = ( moduleName ? "Total for module: " + moduleName : "Global total" );
        var totalsOutput = grandTotalTemplate.replace("{{rowTitle}}", rowTitle)
            .replace("{{percentage}}", totalPercent)
            .replace("{{numberCovered}}", numCov)
            .replace("{{totalSmts}}", numSt)
            .replace("{{passedBranches}}", numCovBr)
            .replace("{{totalBranches}}", numBranch)
            .replace("{{statusclass}}", statusClass);

        bodyContent += totalsOutput;
    }
function ( numSt , numCov , numBranch , numCovBr , moduleName ) { var totalPercent = percentage ( numCov , numSt ) ; var statusClass = totalPercent < successRate ? "bl-error" : "bl-success" ; var rowTitle = ( moduleName ? "Total for module: " + moduleName : "Global total" ) ; var totalsOutput = grandTotalTemplate . replace ( "{{rowTitle}}" , rowTitle ) . replace ( "{{percentage}}" , totalPercent ) . replace ( "{{numberCovered}}" , numCov ) . replace ( "{{totalSmts}}" , numSt ) . replace ( "{{passedBranches}}" , numCovBr ) . replace ( "{{totalBranches}}" , numBranch ) . replace ( "{{statusclass}}" , statusClass ) ; bodyContent += totalsOutput ; }
create temporary function for use by the global totals reporter, as well as the per-module totals reporter
create temporary function for use by the global totals reporter as well as the per - module totals reporter