lib/simplecov/result_merger.rb
#
# Gets all SimpleCov::Results stored in resultset, merges them and produces a new
# SimpleCov::Result with merged coverage data and the command_name
# for the result consisting of a join on all source result's names
Gets all SimpleCov::Results stored in resultset, merges them and produces a new
SimpleCov::Result with merged coverage data and the command_name
for the result consisting of a join on all source result's names
Gets all SimpleCov :: Results stored in resultset merges them and produces a new SimpleCov :: Result with merged coverage data and the command_name for the result consisting of a join on all source result ' s names
def merged_result
        resultset_hash = read_resultset
        command_names, coverage = merge_valid_results(resultset_hash)
        create_result(command_names, coverage)
      end
def merged_result resultset_hash = read_resultset command_names , coverage = merge_valid_results ( resultset_hash ) create_result ( command_names , coverage ) end
Gets all SimpleCov::Results stored in resultset, merges them and produces a new
SimpleCov::Result with merged coverage data and the command_name
for the result consisting of a join on all source result's names
Gets all SimpleCov :: Results stored in resultset merges them and produces a new SimpleCov :: Result with merged coverage data and the command_name for the result consisting of a join on all source result ' s names
# conceptually this is just doing `merge_results(resultset_path)` # it's more involved to make syre `synchronize_resultset` is only used around reading