class SimpleCov::FileList
def covered_strength
-
(Float)
-
def covered_strength return 0.0 if empty? or lines_of_code == 0 Float(map {|f| f.covered_strength * f.lines_of_code }.inject(&:+) / lines_of_code) end
(Float)
-
def covered_strength return 0.0 if empty? or lines_of_code == 0 Float(map {|f| f.covered_strength * f.lines_of_code }.inject(&:+) / lines_of_code) end