class RegexCoverageFilter extends CoverageFilter
- Alphabetic
- By Inheritance
- RegexCoverageFilter
- CoverageFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RegexCoverageFilter(excludedPackages: Seq[String], excludedFiles: Seq[String], excludedSymbols: Seq[String])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val excludedClassNamePatterns: Seq[Pattern]
- val excludedFilePatterns: Seq[Pattern]
- val excludedSymbolPatterns: Seq[Pattern]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getExcludedLineNumbers(sourceFile: SourceFile): List[Range]
Checks the given sourceFile for any magic comments which exclude lines from coverage.
Checks the given sourceFile for any magic comments which exclude lines from coverage. Returns a list of Ranges of lines that should be excluded.
The line numbers returned are conventional 1-based line numbers (i.e. the first line is line number 1)
- Definition Classes
- RegexCoverageFilter → CoverageFilter
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
isClassIncluded(className: String): Boolean
True if the given className has not been excluded by the
excludedPackages
option.True if the given className has not been excluded by the
excludedPackages
option.- Definition Classes
- RegexCoverageFilter → CoverageFilter
-
def
isFileIncluded(file: SourceFile): Boolean
- Definition Classes
- RegexCoverageFilter → CoverageFilter
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLineIncluded(position: Position): Boolean
True if the line containing
position
has not been excluded by a magic comment.True if the line containing
position
has not been excluded by a magic comment.- Definition Classes
- RegexCoverageFilter → CoverageFilter
-
def
isSymbolIncluded(symbolName: String): Boolean
- Definition Classes
- RegexCoverageFilter → CoverageFilter
-
val
linesExcludedByScoverageCommentsCache: Map[SourceFile, List[Range]]
We cache the excluded ranges to avoid scanning the source code files repeatedly.
We cache the excluded ranges to avoid scanning the source code files repeatedly. For a large project there might be a lot of source code data, so we only hold a weak reference.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final val scoverageExclusionCommentsRegex: Regex
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.