index.js
function parseDA (currentCoverageFile, prefixSplit) {
  var numberSplit = splitNumbers(prefixSplit)
  var lineNumber = parseInt(numberSplit[0], 10)
  var hits = parseInt(numberSplit[1], 10)

  var existingDA = findDA(currentCoverageFile.DARecords, lineNumber)
  if (existingDA) {
    existingDA.hits += hits
    return
  }

  currentCoverageFile.DARecords.push(new DA(lineNumber, hits))
}
function parseDA (currentCoverageFile, prefixSplit) {
  var numberSplit = splitNumbers(prefixSplit)
  var lineNumber = parseInt(numberSplit[0], 10)
  var hits = parseInt(numberSplit[1], 10)

  var existingDA = findDA(currentCoverageFile.DARecords, lineNumber)
  if (existingDA) {
    existingDA.hits += hits
    return
  }

  currentCoverageFile.DARecords.push(new DA(lineNumber, hits))
}
function parseDA ( currentCoverageFile , prefixSplit ) { var numberSplit = splitNumbers ( prefixSplit ) var lineNumber = parseInt ( numberSplit [ 0 ] , 10 ) var hits = parseInt ( numberSplit [ 1 ] , 10 ) var existingDA = findDA ( currentCoverageFile . DARecords , lineNumber ) if ( existingDA ) { existingDA . hits += hits return } currentCoverageFile . DARecords . push ( new DA ( lineNumber , hits ) ) }
Parses a DA section

@param {CoverageFile} currentCoverageFile
@param {string[]}     prefixSplit
Parses a DA section