dotty.tools.dotc.coverage

Members list

Concise view

Type members

Classlikes

class Coverage

Holds a list of statements to include in the coverage reports.

Holds a list of statements to include in the coverage reports.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final case class Location(packageName: String, className: String, fullClassName: String, classType: String, methodName: String, sourcePath: Path)

Information about the location of a coverable piece of code.

Information about the location of a coverable piece of code.

Attributes

className

name of the closest enclosing class

classType

"type" of the closest enclosing class: Class, Trait or Object

fullClassName

fully qualified name of the closest enclosing class

method

name of the closest enclosing method

packageName

name of the enclosing package

sourcePath

absolute path of the source file

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Location

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Serializer

Serializes scoverage data.

Serializes scoverage data.

Attributes

See also:
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class Statement(location: Location, id: Int, start: Int, end: Int, line: Int, desc: String, symbolName: String, treeName: String, branch: Boolean, ignored: Boolean)

A statement that can be invoked, and thus counted as "covered" by code coverage tools.

A statement that can be invoked, and thus counted as "covered" by code coverage tools.

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any