OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlJS::QmlminLexer
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
pushToken
Name: QQmlJS::QmlminLexer::pushToken
Prototype: void pushToken(int token)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 84-90
100.000% (1/1)
41
pragmaLibrary
Name: QQmlJS::QmlminLexer::pragmaLibrary
Prototype: void pragmaLibrary() override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 119-122
100.000% (1/1)
11
operator()
Name: QQmlJS::QmlminLexer::operator()
Prototype: bool operator()(const QString &fileName, const QString &code)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 99-109
100.000% (4/4)
82
lookaheadToken
Name: QQmlJS::QmlminLexer::lookaheadToken
Prototype: int lookaheadToken()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 77-82
100.000% (4/4)
32
lex
Name: QQmlJS::QmlminLexer::lex
Prototype: void lex()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 67-75
100.000% (4/4)
52
isRegExpRule
Name: QQmlJS::QmlminLexer::isRegExpRule
Prototype: bool isRegExpRule(int ruleno) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 184-188
100.000% (1/1)
21
importModule
Name: QQmlJS::QmlminLexer::importModule
Prototype: void importModule(const QString &uri, const QString &version, const QString &module, int line, int column) override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 137-148
100.000% (1/1)
91
importFile
Name: QQmlJS::QmlminLexer::importFile
Prototype: void importFile(const QString &jsfile, const QString &module, int line, int column) override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 124-135
100.000% (1/1)
91
fileName
Name: QQmlJS::QmlminLexer::fileName
Prototype: QString fileName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 97-97
100.000% (1/1)
11
directives
Name: QQmlJS::QmlminLexer::directives
Prototype: QString directives()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 111-114
100.000% (1/1)
11
QmlminLexer
Name: QQmlJS::QmlminLexer::QmlminLexer
Prototype: QmlminLexer()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 93-94
100.000% (1/1)
11
quote
Name: QQmlJS::QmlminLexer::quote
Prototype: static QString quote(const QString &string)
Coverage:  93.750% (30/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 153-173
 93.750% (30/32)
1512
isIdentChar
Name: QQmlJS::QmlminLexer::isIdentChar
Prototype: bool isIdentChar(const QChar &ch) const
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 175-182
 88.889% (8/9)
53
scanRestOfRegExp
Name: QQmlJS::QmlminLexer::scanRestOfRegExp
Prototype: bool scanRestOfRegExp(int ruleno, QString *restOfRegExp)
Coverage:  78.947% (15/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 208-235
 78.947% (15/19)
187
handleLookaheads
Name: QQmlJS::QmlminLexer::handleLookaheads
Prototype: void handleLookaheads(int ruleno)
Coverage:  50.000% (15/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 190-206
 50.000% (15/30)
148

Generated by Squish Coco 4.2.0