Module html.CoverageData.Line

Info:

  • Copyright: 2020 wesen
  • Release: 0.1
  • License: MIT
  • Author: wesen

Class Line

Line.type The Line coverage type
Line.line The content of the line
Line.lineNumber The line number of the line
Line.numberOfHits The number of times the line was executed
Line:new (_type, _line, _lineNumber, _numberOfHits) Line constructor.
Line:getType () Returns the Line coverage type.
Line:getLine () Returns the content of the line.
Line:getLineNumber () Returns the line number of the line.
Line:getNumberOfHits () Returns the number of times the line was executed.


Class Line

Contains the coverage information about a single line.
Line.type
The Line coverage type
Line.line
The content of the line
Line.lineNumber
The line number of the line
  • lineNumber int
Line.numberOfHits
The number of times the line was executed
  • numberOfHits int
Line:new (_type, _line, _lineNumber, _numberOfHits)
Line constructor.

Parameters:

  • _type string The Line coverage type (one of the TYPE_* constants)
  • _line string The content of the line
  • _lineNumber int The line number of the line
  • _numberOfHits int The number of times the line was executed
Line:getType ()
Returns the Line coverage type.

Returns:

    string The Line coverage type
Line:getLine ()
Returns the content of the line.

Returns:

    string The content of the line
Line:getLineNumber ()
Returns the line number of the line.

Returns:

    int The line number
Line:getNumberOfHits ()
Returns the number of times the line was executed.

Returns:

    int The number of times the line was executed
generated by LDoc 1.4.6 Last updated 2020-06-01 14:04:23