Method: SimpleCov::SourceFile#lines_of_code
- Defined in:
- lib/simplecov/source_file.rb
#lines_of_code ⇒ Object
Returns the number of relevant lines (covered + missed)
70 71 72 |
# File 'lib/simplecov/source_file.rb', line 70 def lines_of_code coverage_statistics[:line]&.total end |