Class | SimpleCov::SourceFile |
In: |
lib/simplecov/source_file.rb
|
Parent: | Object |
Representation of a source file including it‘s coverage data, source code, source lines and featuring helpers to interpret that data.
src | -> | source |
coverage | [R] | The array of coverage data received from the Coverage.result |
filename | [R] | The full path to this source file (e.g. /User/colszowka/projects/simplecov/lib/simplecov/source_file.rb) |
src | [R] | The source code for this file. Aliased as :source |
Returns all source lines for this file as instances of SimpleCov::SourceFile::Line, and thus including coverage data. Aliased as :source_lines
Returns all lines that should have been, but were not covered as instances of SimpleCov::SourceFile::Line
Returns all lines that are not relevant for coverage as SimpleCov::SourceFile::Line instances