LSTFile

LST File struct

This defines an LST File model with all associated covered lines.

Constructors

this
this(string text)

LSTFile file content constructor

this
this(string filename, Line[] lines, Nullable!ubyte totalCoverage)

LSTFile constructor

this
this(DirEntry file)

LSTFile direntry constructor

Members

Functions

filename
string filename()
generateLST
string generateLST()

Generate the corresponding lst text file to this object

lines
const(Line[]) lines()
linesCovered
const(uint[size_t]) linesCovered()
merge
LSTFile merge(LSTFile lstfile)

Merge this LSTFile object with a given one

opIndex
Line opIndex(size_t i)
totalCoverage
ubyte totalCoverage()

Static functions

fromFilePath
LSTFile fromFilePath(string filepath)

Constructs an LSTFile object from a given file path

merge
LSTFile merge(LSTFile lfile1, LSTFile lfile2)

Merge two given LSTFile objects

Structs

Line
struct Line

Coverable Line

Meta