Module: Uncov::Report::Filters::Simplecov
- Defined in:
- lib/plugins/uncov/report/filters/simplecov.rb
Overview
report only files lines from the simplecov
Class Method Summary collapse
Class Method Details
.description ⇒ Object
6 |
# File 'lib/plugins/uncov/report/filters/simplecov.rb', line 6 def description = 'Report missing coverage on files tracked with simplecov' |
.files(finder) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/plugins/uncov/report/filters/simplecov.rb', line 9 def files(finder) finder.simplecov_files.file_names.map do |file_name| Uncov::Report::File.new( file_name:, git: finder.git_files.file?(file_name), lines: lines(finder, file_name) ) end end |
.simplecov_trigger ⇒ Object
7 |
# File 'lib/plugins/uncov/report/filters/simplecov.rb', line 7 def simplecov_trigger = :file_system |