Coverage

100% line coverage
92% statement coverage
100% block coverage
11 SLOC

/Users/dylan/gulp-coverage/test.js

100% line coverage
92% statement coverage
100% block coverage
11 SLOC
LineHitsStatementsSource
11100%module.exports = function () {
21100% var i, matcher,
31100% retVal = 0;
4
5 // throw new Error('bugger');
611100% for (i = 0; i < 10; i++) {
710100% matcher = Math.floor(Math.random()*10+0.5);
810100% if (matcher === i) {
91100% retVal += 1;
101100% retVal += 1;
11 } else {
12971% retVal = (retVal > 100 ? retVal + 1 : retVal + 2);
13 }
14 }
151100% return retVal;
161100%};