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_glob result = result.dup Dir[@track_files_glob].each do |file| absolute = File.expand_path(file) result[absolute] ||= [0] * File.foreach(absolute).count end end result end