class SimpleCov::SourceFile

def covered_percent

The coverage for this file in percent. 0 if the file has no relevant lines
def covered_percent
  return 100.0 if lines.length == 0 or lines.length == never_lines.count
  (covered_lines.count) * 100 / (lines.count-never_lines.count).to_f
end