Project

General

Profile

Feature #35259 » Adds_report_of_LOC_coverage.patch

Dmitry Makurin , 2021-05-19 13:20

View differences:

test/coverage/html_formatter.rb (revision 535ca38e6582445af0b924fbafaf734452636f41) → test/coverage/html_formatter.rb (date 1621419323899)
file.puts template('source').result(binding).force_encoding('utf-8')
end
end
puts output_message(result)
end
def output_message(result)
"Coverage report generated for #{result.command_name} to #{output_path}. #{result.covered_lines} / #{result.total_lines} LOC (#{result.covered_percent.round(2)}%) covered."
end
private
    (1-1/1)