LCOV - code coverage report
 
Current view: directory - /home/trostler/JUTE/backend/nodejute/examples/serverSide - mySum.js (source / functions) Found Hit Coverage
Test: lcov.info Lines: 8 8 100.0 %
Date: Fri Aug 19 08:02:57 GMT-07:00 2011 Functions: 1 1 100.0 %
Colors: not hit hit
 
 


             1        1 : module.exports = {
             2          :     mySum: function() {
             3        2 :         var result = 0, i = 0;
             4        2 :         if (typeof arguments[0] == 'object' && arguments[0].length) {
             5        1 :             for (;i < arguments[0].length; i++) {
             6        2 :                 result += arguments[0][i];
             7          :             }
             8          :         } else {
             9        1 :             for (;i < arguments.length; i++) {
            10        2 :                 result += arguments[i];
            11          :             }
            12          :         }
            13        2 :         return result;
            14          :     }
            15          : };


      

 
Generated by: YUI Test