code: function( data ) {
          var ret = {
              coverage: 0,
              hits: 0,
              misses: 0,
              sloc: 0
          };
          for (var i = 0; i < data.source.length; i++) {
              var line = data.source[i];
              var num = i + 1;
              if (data[num] === 0) {
                  ret.misses++;
                  ret.sloc++;
              } else if (data[num] !== undefined) {
                  ret.hits++;
                  ret.sloc++;
              }
          }
          ret.coverage = ret.hits / ret.sloc * 100;
  
          return [ret.hits,ret.sloc];
  
      }
docs: helper function for computing coverage info for a particular file