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
- type string
- Line.line
-
The content of the line
- line 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:
- 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