docs: function(fileData) {
    var branches = fileData.branchData;
    var totalBranches, passedBranches;
    totalBranches = passedBranches = 0;
  
    if (_.isArray(branches)) {
      for (var j = 0; j < branches.length; j++) {
        if (_.isArray(branches[j])) {
          for (var k = 0; k < branches[j].length; k++) {
            if (_.isObject(branches[j][k])) {
              totalBranches++;
              if (_.isArray(branches[j][k][0]) &&
                branches[j][k][0].length > 0 &&
                _.isArray(branches[j][k][1]) &&
                branches[j][k][1].length > 0) {
                passedBranches++;
              }
            }
          }
        }
      }
      return {
        branchesTotal: totalBranches,
        branchesCovered: passedBranches
      };
    }
  }