Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileCoverage

Hierarchy

  • FileCoverage

Implements

Index

Constructors

constructor

Properties

b

b: {}

Type declaration

  • [key: string]: number[]

branchMap

branchMap: {}

Type declaration

data

f

f: {}

Type declaration

  • [key: string]: number

fnMap

fnMap: {}

Type declaration

path

path: string

s

s: {}

Type declaration

  • [key: string]: number

statementMap

statementMap: {}

Type declaration

Methods

computeBranchTotals

  • computeBranchTotals(): Totals
  • Returns Totals

computeSimpleTotals

  • computeSimpleTotals(): Totals
  • Returns Totals

getBranchCoverageByLine

  • getBranchCoverageByLine(): {}
  • Returns {}

getLineCoverage

  • getLineCoverage(): {}
  • Returns {}

    • [line: number]: number

getUncoveredLines

  • getUncoveredLines(): number[]
  • Returns number[]

merge

  • Parameters

    Returns void

resetHits

  • resetHits(): void
  • Returns void

toJSON

  • toJSON(): object
  • Returns object

toSummary

  • Returns CoverageSummary