class SimpleCov::Formatter::LcovFormatter

def format_branches(file)

def format_branches(file)
  branch_idx = 0
  filtered_branches(file)
    .map do |branch|
      branch_idx += 1
      format_branch(branch, branch_idx)
    end
    .join("\n")
end