dotty.tools.dotc.coverage

Members list

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

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.

Value parameters

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

methodName

name of the closest enclosing method

packageName

name of the enclosing package

sourcePath

absolute path of the source file

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Location

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Location.type
object Serializer

Serializes scoverage data.

Serializes scoverage data.

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Self type
Serializer.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

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all