Module | SimpleCov::ResultMerger |
In: |
lib/simplecov/result_merger.rb
|
Merge two or more SimpleCov::Results into a new one 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 from cache, 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 the resultset hash and re-creates all included instances of SimpleCov::Result from that. All results that are above the SimpleCov.merge_timeout will be dropped. Returns an array of SimpleCov::Result items.
Loads the cached resultset from JSON and returns it as a Hash, caching it for subsequent accesses.
Returns the contents of the resultset cache as a string or if the file is missing or empty nil
Ensure only one process is reading or writing the resultset at any given time