| Class | SimpleCov::LinesClassifier |
| In: |
lib/simplecov/lines_classifier.rb
|
| Parent: | Object |
Classifies whether lines are relevant for code coverage analysis. Comments & whitespace lines, and :nocov: token blocks, are considered not relevant.
| RELEVANT | = | 0 |
| NOT_RELEVANT | = | nil |
| WHITESPACE_LINE | = | /^\s*$/ |
| COMMENT_LINE | = | /^\s*#/ |
| WHITESPACE_OR_COMMENT_LINE | = | Regexp.union(WHITESPACE_LINE, COMMENT_LINE) |