Packages

o

scoverage

Invoker

object Invoker

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Invoker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def copyCoverageFile(targetId: String, dest: String): Unit

    Copy instruments file from classpath.

    Copy instruments file from classpath.

    targetId

    targetId helps in grabbing the "correct" instrument file from cp that corresponds to the measurement file written during this invocation.

    dest

    directory path for destination of coverage file

  7. lazy val dataDir: String
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def findMeasurementFiles(dataDir: File): Array[File]
  12. def findMeasurementFiles(dataDir: String): Array[File]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def invoked(files: Seq[File]): Set[Int]
  16. def invoked(id: Int, dataDir: String): Unit

    We record that the given id has been invoked by appending its id to the coverage data file.

    We record that the given id has been invoked by appending its id to the coverage data file.

    This will happen concurrently on as many threads as the application is using, so we use one file per thread, named for the thread id.

    This method is not thread-safe if the threads are in different JVMs, because the thread IDs may collide. You may not use scoverage on multiple processes in parallel without risking corruption of the measurement file.

    id

    the id of the statement that was invoked

    dataDir

    the directory where the measurement data is held

  17. def invokedWriteToClasspath(id: Int, targetId: String): Unit

    Invokes above method after adding additional features to make it work with https://github.com/scoverage/scalac-scoverage-plugin/issues/265.

    Invokes above method after adding additional features to make it work with https://github.com/scoverage/scalac-scoverage-plugin/issues/265. Typically, we add coverage instrument files [scoverage.coverage] along with the measurement files at runtime rather than compile time. This is needed as the runtime process may be running on a different host than the compile time one. However, since the instrument files are on the classpath, we can retrieve the instruments from different hosts.

    id

    the id of the statement that was invoked

    targetId

    targetId helps in grabbing the "correct" instrument file from cp that corresponds to the measurement file written during this invocation.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def measurementFile(dataDir: String): File
  20. def measurementFile(dataDir: File): File
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped