dotty.tools.dotc.coverage

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.

final case class Location(packageName: String, className: String, fullClassName: String, classType: String, method: 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

method

name of the closest enclosing method

packageName

name of the enclosing package

sourcePath

absolute path of the source file

Companion:
object
object Location
Companion:
class
case class Statement(source: String, 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.