module SimpleCov
def add_not_loaded_files(result)
their coverage to zero.
Finds files that were to be tracked but were not loaded and initializes
def add_not_loaded_files(result) if track_files result = result.dup Dir[track_files].each do |file| absolute = File.expand_path(file) result[absolute] ||= [0] * File.foreach(absolute).count end end result end