OpenCoverage

qqmljslexer.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljslexer.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Contact: https://www.qt.io/licensing/-
5**-
6** This file is part of the QtQml module of the Qt Toolkit.-
7**-
8** $QT_BEGIN_LICENSE:LGPL$-
9** Commercial License Usage-
10** Licensees holding valid commercial Qt licenses may use this file in-
11** accordance with the commercial license agreement provided with the-
12** Software or, alternatively, in accordance with the terms contained in-
13** a written agreement between you and The Qt Company. For licensing terms-
14** and conditions see https://www.qt.io/terms-conditions. For further-
15** information use the contact form at https://www.qt.io/contact-us.-
16**-
17** GNU Lesser General Public License Usage-
18** Alternatively, this file may be used under the terms of the GNU Lesser-
19** General Public License version 3 as published by the Free Software-
20** Foundation and appearing in the file LICENSE.LGPL3 included in the-
21** packaging of this file. Please review the following information to-
22** ensure the GNU Lesser General Public License version 3 requirements-
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
24**-
25** GNU General Public License Usage-
26** Alternatively, this file may be used under the terms of the GNU-
27** General Public License version 2.0 or (at your option) the GNU General-
28** Public license version 3 or any later version approved by the KDE Free-
29** Qt Foundation. The licenses are as published by the Free Software-
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
31** included in the packaging of this file. Please review the following-
32** information to ensure the GNU General Public License requirements will-
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
34** https://www.gnu.org/licenses/gpl-3.0.html.-
35**-
36** $QT_END_LICENSE$-
37**-
38****************************************************************************/-
39-
40#include "qqmljslexer_p.h"-
41#include "qqmljsengine_p.h"-
42#include "qqmljsmemorypool_p.h"-
43#include "qqmljskeywords_p.h"-
44-
45#include <QtCore/qcoreapplication.h>-
46#include <QtCore/qvarlengtharray.h>-
47#include <QtCore/qdebug.h>-
48-
49QT_BEGIN_NAMESPACE-
50Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok);-
51QT_END_NAMESPACE-
52-
53using namespace QQmlJS;-
54-
55static inline int regExpFlagFromChar(const QChar &ch)-
56{-
57 switch (ch.unicode()) {-
58 case 'g': return Lexer::RegExp_Global;
executed 6177 times by 7 tests: return Lexer::RegExp_Global;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
executed 6177 times by 7 tests: case 'g':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
6177
59 case 'i': return Lexer::RegExp_IgnoreCase;
executed 2574 times by 6 tests: return Lexer::RegExp_IgnoreCase;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
executed 2574 times by 6 tests: case 'i':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
2574
60 case 'm': return Lexer::RegExp_Multiline;
executed 1648 times by 6 tests: return Lexer::RegExp_Multiline;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
executed 1648 times by 6 tests: case 'm':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
1648
61 }-
62 return 0;
executed 1200 times by 3 tests: return 0;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
1200
63}-
64-
65static inline unsigned char convertHex(ushort c)-
66{-
67 if (c >= '0' && c <= '9')
c >= '0'Description
TRUEevaluated 3216 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEnever evaluated
c <= '9'Description
TRUEevaluated 2420 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 796 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
0-3216
68 return (c - '0');
executed 2420 times by 4 tests: return (c - '0');
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
2420
69 else if (c >= 'a' && c <= 'f')
c >= 'a'Description
TRUEevaluated 236 times by 3 tests
Evaluated by:
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 560 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
c <= 'f'Description
TRUEevaluated 236 times by 3 tests
Evaluated by:
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEnever evaluated
0-560
70 return (c - 'a' + 10);
executed 236 times by 3 tests: return (c - 'a' + 10);
Executed by:
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
236
71 else-
72 return (c - 'A' + 10);
executed 560 times by 4 tests: return (c - 'A' + 10);
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
560
73}-
74-
75static inline QChar convertHex(QChar c1, QChar c2)-
76{-
77 return QChar((convertHex(c1.unicode()) << 4) + convertHex(c2.unicode()));
executed 1608 times by 4 tests: return QChar((convertHex(c1.unicode()) << 4) + convertHex(c2.unicode()));
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1608
78}-
79-
80Lexer::Lexer(Engine *engine)-
81 : _engine(engine)-
82 , _codePtr(nullptr)-
83 , _endPtr(nullptr)-
84 , _tokenStartPtr(nullptr)-
85 , _char(QLatin1Char('\n'))-
86 , _errorCode(NoError)-
87 , _currentLineNumber(0)-
88 , _currentColumnNumber(0)-
89 , _tokenValue(0)-
90 , _parenthesesState(IgnoreParentheses)-
91 , _parenthesesCount(0)-
92 , _stackToken(-1)-
93 , _patternFlags(0)-
94 , _tokenKind(0)-
95 , _tokenLength(0)-
96 , _tokenLine(0)-
97 , _tokenColumn(0)-
98 , _validTokenText(false)-
99 , _prohibitAutomaticSemicolon(false)-
100 , _restrictedKeyword(false)-
101 , _terminator(false)-
102 , _followsClosingBrace(false)-
103 , _delimited(true)-
104 , _qmlMode(true)-
105{-
106 if (engine)
engineDescription
TRUEevaluated 2978315 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 1178 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickworkerscript
1178-2978315
107 engine->setLexer(this);
executed 2978100 times by 148 tests: engine->setLexer(this);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2978100
108}
executed 2979319 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2979319
109-
110bool Lexer::qmlMode() const-
111{-
112 return _qmlMode;
executed 33297408 times by 148 tests: return _qmlMode;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
33297408
113}-
114-
115QString Lexer::code() const-
116{-
117 return _code;
never executed: return _code;
0
118}-
119-
120void Lexer::setCode(const QString &code, int lineno, bool qmlMode)-
121{-
122 if (_engine)
_engineDescription
TRUEevaluated 2979217 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 1178 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickworkerscript
1178-2979217
123 _engine->setCode(code);
executed 2978926 times by 148 tests: _engine->setCode(code);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2978926
124-
125 _qmlMode = qmlMode;-
126 _code = code;-
127 _tokenText.clear();-
128 _tokenText.reserve(1024);-
129 _errorMessage.clear();-
130 _tokenSpell = QStringRef();-
131-
132 _codePtr = code.unicode();-
133 _endPtr = _codePtr + code.length();-
134 _tokenStartPtr = _codePtr;-
135-
136 _char = QLatin1Char('\n');-
137 _errorCode = NoError;-
138-
139 _currentLineNumber = lineno;-
140 _currentColumnNumber = 0;-
141 _tokenValue = 0;-
142-
143 // parentheses state-
144 _parenthesesState = IgnoreParentheses;-
145 _parenthesesCount = 0;-
146-
147 _stackToken = -1;-
148-
149 _patternFlags = 0;-
150 _tokenLength = 0;-
151 _tokenLine = lineno;-
152 _tokenColumn = 0;-
153-
154 _validTokenText = false;-
155 _prohibitAutomaticSemicolon = false;-
156 _restrictedKeyword = false;-
157 _terminator = false;-
158 _followsClosingBrace = false;-
159 _delimited = true;-
160}
executed 2980382 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2980382
161-
162void Lexer::scanChar()-
163{-
164 unsigned sequenceLength = isLineTerminatorSequence();-
165 _char = *_codePtr++;-
166 if (sequenceLength == 2)
sequenceLength == 2Description
TRUEevaluated 4025 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 614370182 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
4025-614370182
167 _char = *_codePtr++;
executed 4025 times by 3 tests: _char = *_codePtr++;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
4025
168-
169 ++_currentColumnNumber;-
170 if (isLineTerminator()) {
isLineTerminator()Description
TRUEevaluated 21195481 times by 144 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
FALSEevaluated 594392651 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
21195481-594392651
171 ++_currentLineNumber;-
172 _currentColumnNumber = 0;-
173 }
executed 21186465 times by 144 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
21186465
174}
executed 614406191 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
614406191
175-
176namespace {-
177inline bool isBinop(int tok)-
178{-
179 switch (tok) {-
180 case Lexer::T_AND:
executed 3575 times by 8 tests: case Lexer::T_AND:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquickmousearea
3575
181 case Lexer::T_AND_AND:
executed 126376 times by 36 tests: case Lexer::T_AND_AND:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
126376
182 case Lexer::T_AND_EQ:
executed 631 times by 5 tests: case Lexer::T_AND_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
631
183 case Lexer::T_DIVIDE_:
executed 1289705 times by 37 tests: case Lexer::T_DIVIDE_:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
1289705
184 case Lexer::T_DIVIDE_EQ:
executed 969 times by 6 tests: case Lexer::T_DIVIDE_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
969
185 case Lexer::T_EQ:
executed 2142735 times by 94 tests: case Lexer::T_EQ:
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
2142735
186 case Lexer::T_EQ_EQ:
executed 36397 times by 50 tests: case Lexer::T_EQ_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
36397
187 case Lexer::T_EQ_EQ_EQ:
executed 755548 times by 31 tests: case Lexer::T_EQ_EQ_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickstates
  • ...
755548
188 case Lexer::T_GE:
executed 7538 times by 14 tests: case Lexer::T_GE:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
7538
189 case Lexer::T_GT:
executed 17661 times by 31 tests: case Lexer::T_GT:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
17661
190 case Lexer::T_GT_GT:
executed 27144 times by 5 tests: case Lexer::T_GT_GT:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
27144
191 case Lexer::T_GT_GT_EQ:
executed 681 times by 5 tests: case Lexer::T_GT_GT_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
681
192 case Lexer::T_GT_GT_GT:
executed 28206 times by 5 tests: case Lexer::T_GT_GT_GT:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
28206
193 case Lexer::T_GT_GT_GT_EQ:
executed 1238 times by 3 tests: case Lexer::T_GT_GT_GT_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
1238
194 case Lexer::T_LE:
executed 8525 times by 13 tests: case Lexer::T_LE:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_quicktestmainwithsetup
  • tst_testfiltering
8525
195 case Lexer::T_LT:
executed 30492 times by 42 tests: case Lexer::T_LT:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
30492
196 case Lexer::T_LT_LT:
executed 28214 times by 5 tests: case Lexer::T_LT_LT:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
28214
197 case Lexer::T_LT_LT_EQ:
executed 598 times by 3 tests: case Lexer::T_LT_LT_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
598
198 case Lexer::T_MINUS:
executed 176135 times by 51 tests: case Lexer::T_MINUS:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
176135
199 case Lexer::T_MINUS_EQ:
executed 2376 times by 10 tests: case Lexer::T_MINUS_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
2376
200 case Lexer::T_NOT_EQ:
executed 17219 times by 31 tests: case Lexer::T_NOT_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
17219
201 case Lexer::T_NOT_EQ_EQ:
executed 712630 times by 19 tests: case Lexer::T_NOT_EQ_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
712630
202 case Lexer::T_OR:
executed 1772 times by 11 tests: case Lexer::T_OR:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickdrag
  • tst_qquicklayouts
  • tst_qquickmultipointtoucharea
  • tst_qquickscreen
1772
203 case Lexer::T_OR_EQ:
executed 738 times by 6 tests: case Lexer::T_OR_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
738
204 case Lexer::T_OR_OR:
executed 315410 times by 21 tests: case Lexer::T_OR_OR:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
315410
205 case Lexer::T_PLUS:
executed 2328719 times by 57 tests: case Lexer::T_PLUS:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
2328719
206 case Lexer::T_PLUS_EQ:
executed 752200 times by 28 tests: case Lexer::T_PLUS_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • ...
752200
207 case Lexer::T_REMAINDER:
executed 6277 times by 12 tests: case Lexer::T_REMAINDER:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_scenegraph
6277
208 case Lexer::T_REMAINDER_EQ:
executed 599 times by 3 tests: case Lexer::T_REMAINDER_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
599
209 case Lexer::T_RETURN:
never executed: case Lexer::T_RETURN:
0
210 case Lexer::T_STAR:
executed 48691 times by 33 tests: case Lexer::T_STAR:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
48691
211 case Lexer::T_STAR_EQ:
executed 2901 times by 6 tests: case Lexer::T_STAR_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
2901
212 case Lexer::T_XOR:
executed 1400 times by 5 tests: case Lexer::T_XOR:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
1400
213 case Lexer::T_XOR_EQ:
executed 613 times by 3 tests: case Lexer::T_XOR_EQ:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
613
214 return true;
executed 8869884 times by 102 tests: return true;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
8869884
215-
216 default:
executed 57071053 times by 148 tests: default:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
57071053
217 return false;
executed 57055120 times by 148 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
57055120
218 }-
219}-
220-
221int hexDigit(QChar c)-
222{-
223 if (c >= QLatin1Char('0') && c <= QLatin1Char('9'))
c >= QLatin1Char('0')Description
TRUEevaluated 834087 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 58636 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
c <= QLatin1Char('9')Description
TRUEevaluated 630444 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 203695 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
58636-834087
224 return c.unicode() - '0';
executed 630439 times by 7 tests: return c.unicode() - '0';
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
630439
225 if (c >= QLatin1Char('a') && c <= QLatin1Char('f'))
c >= QLatin1Char('a')Description
TRUEevaluated 8536 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 253792 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
c <= QLatin1Char('f')Description
TRUEevaluated 7140 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1397 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
1397-253792
226 return c.unicode() - 'a' + 10;
executed 7138 times by 6 tests: return c.unicode() - 'a' + 10;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
7138
227 if (c >= QLatin1Char('A') && c <= QLatin1Char('F'))
c >= QLatin1Char('A')Description
TRUEevaluated 192035 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 63152 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
c <= QLatin1Char('F')Description
TRUEevaluated 167634 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 24407 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
24407-192035
228 return c.unicode() - 'A' + 10;
executed 167631 times by 5 tests: return c.unicode() - 'A' + 10;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
167631
229 return -1;
executed 87557 times by 7 tests: return -1;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
87557
230}-
231-
232int octalDigit(QChar c)-
233{-
234 if (c >= QLatin1Char('0') && c <= QLatin1Char('7'))
c >= QLatin1Char('0')Description
TRUEevaluated 472 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 196 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
c <= QLatin1Char('7')Description
TRUEevaluated 440 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 32 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
32-472
235 return c.unicode() - '0';
executed 440 times by 3 tests: return c.unicode() - '0';
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
440
236 return -1;
executed 228 times by 3 tests: return -1;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
228
237}-
238-
239} // anonymous namespace-
240-
241int Lexer::lex()-
242{-
243 const int previousTokenKind = _tokenKind;-
244-
245 again:
code before this statement executed 83736048 times by 148 tests: again:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
83736048
246 _tokenSpell = QStringRef();-
247 _tokenKind = scanToken();-
248 _tokenLength = _codePtr - _tokenStartPtr - 1;-
249-
250 _delimited = false;-
251 _restrictedKeyword = false;-
252 _followsClosingBrace = (previousTokenKind == T_RBRACE);-
253-
254 // update the flags-
255 switch (_tokenKind) {-
256 case T_LBRACE:
executed 3657312 times by 147 tests: case T_LBRACE:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
3657312
257 if (_bracesCount > 0)
_bracesCount > 0Description
TRUEevaluated 18 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 3658073 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
18-3658073
258 ++_bracesCount;
executed 18 times by 2 tests: ++_bracesCount;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
18
259 Q_FALLTHROUGH();-
260 case T_SEMICOLON:
code before this statement executed 3658650 times by 147 tests: case T_SEMICOLON:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
executed 6537307 times by 115 tests: case T_SEMICOLON:
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
3658650-6537307
261 case T_QUESTION:
executed 39186 times by 46 tests: case T_QUESTION:
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
39186
262 case T_COLON:
executed 1303535 times by 146 tests: case T_COLON:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1303535
263 case T_TILDE:
executed 948 times by 6 tests: case T_TILDE:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
948
264 _delimited = true;-
265 break;
executed 11535235 times by 147 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
11535235
266 default:
executed 65826802 times by 148 tests: default:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
65826802
267 if (isBinop(_tokenKind))
isBinop(_tokenKind)Description
TRUEevaluated 8871285 times by 102 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
FALSEevaluated 57049626 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
8871285-57049626
268 _delimited = true;
executed 8873028 times by 102 tests: _delimited = true;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
8873028
269 break;
executed 65847129 times by 148 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
65847129
270-
271 case T_IF:
executed 1374871 times by 60 tests: case T_IF:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
1374871
272 case T_FOR:
executed 46396 times by 31 tests: case T_FOR:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • ...
46396
273 case T_WHILE:
executed 3623 times by 16 tests: case T_WHILE:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_signalspy
  • tst_testfiltering
3623
274 case T_WITH:
executed 1906 times by 8 tests: case T_WITH:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qv4debugger
1906
275 _parenthesesState = CountParentheses;-
276 _parenthesesCount = 0;-
277 break;
executed 1427697 times by 62 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
1427697
278-
279 case T_ELSE:
executed 379170 times by 34 tests: case T_ELSE:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • ...
379170
280 case T_DO:
executed 1266 times by 12 tests: case T_DO:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
1266
281 _parenthesesState = BalancedParentheses;-
282 break;
executed 380671 times by 34 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • ...
380671
283-
284 case T_CONTINUE:
executed 1708 times by 11 tests: case T_CONTINUE:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1708
285 case T_BREAK:
executed 38640 times by 11 tests: case T_BREAK:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
38640
286 case T_RETURN:
executed 854323 times by 50 tests: case T_RETURN:
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • ...
854323
287 case T_YIELD:
executed 5192 times by 2 tests: case T_YIELD:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
5192
288 case T_THROW:
executed 119209 times by 15 tests: case T_THROW:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_signalspy
  • tst_testfiltering
119209
289 _restrictedKeyword = true;-
290 break;
executed 1020169 times by 50 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • ...
1020169
291 case T_RBRACE:
executed 3651866 times by 147 tests: case T_RBRACE:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
3651866
292 if (_bracesCount > 0)
_bracesCount > 0Description
TRUEevaluated 1218 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 3648429 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1218-3648429
293 --_bracesCount;
executed 1218 times by 2 tests: --_bracesCount;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1218
294 if (_bracesCount == 0)
_bracesCount == 0Description
TRUEevaluated 1200 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 3654093 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1200-3654093
295 goto again;
executed 1200 times by 2 tests: goto again;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1200
296 } // switch
executed 3654245 times by 147 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
3654245
297-
298 // update the parentheses state-
299 switch (_parenthesesState) {-
300 case IgnoreParentheses:
executed 69416150 times by 148 tests: case IgnoreParentheses:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
69416150
301 break;
executed 69446109 times by 148 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
69446109
302-
303 case CountParentheses:
executed 12332487 times by 62 tests: case CountParentheses:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
12332487
304 if (_tokenKind == T_RPAREN) {
_tokenKind == T_RPARENDescription
TRUEevaluated 1836289 times by 62 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
FALSEevaluated 10500563 times by 62 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
1836289-10500563
305 --_parenthesesCount;-
306 if (_parenthesesCount == 0)
_parenthesesCount == 0Description
TRUEevaluated 1430113 times by 62 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
FALSEevaluated 406180 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpositioners
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • ...
406180-1430113
307 _parenthesesState = BalancedParentheses;
executed 1430162 times by 62 tests: _parenthesesState = BalancedParentheses;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
1430162
308 } else if (_tokenKind == T_LPAREN) {
executed 1836590 times by 62 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
_tokenKind == T_LPARENDescription
TRUEevaluated 1836174 times by 62 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
FALSEevaluated 8668365 times by 62 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
1836174-8668365
309 ++_parenthesesCount;-
310 }
executed 1836499 times by 62 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
1836499
311 break;
executed 12334959 times by 62 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
12334959
312-
313 case BalancedParentheses:
executed 2082199 times by 58 tests: case BalancedParentheses:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
2082199
314 if (_tokenKind != T_DO && _tokenKind != T_ELSE)
_tokenKind != T_DODescription
TRUEevaluated 2076215 times by 58 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 1264 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
_tokenKind != T_ELSEDescription
TRUEevaluated 1699449 times by 54 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
FALSEevaluated 379311 times by 34 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • ...
1264-2076215
315 _parenthesesState = IgnoreParentheses;
executed 1699331 times by 54 tests: _parenthesesState = IgnoreParentheses;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
1699331
316 break;
executed 2080519 times by 58 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
2080519
317 } // switch-
318-
319 return _tokenKind;
executed 83719749 times by 148 tests: return _tokenKind;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
83719749
320}-
321-
322uint Lexer::decodeUnicodeEscapeCharacter(bool *ok)-
323{-
324 Q_ASSERT(_char == QLatin1Char('u'));-
325 scanChar(); // skip u-
326 if (_codePtr + 4 <= _endPtr && isHexDigit(_char)) {
_codePtr + 4 <= _endPtrDescription
TRUEevaluated 87501 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 30 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
isHexDigit(_char)Description
TRUEevaluated 86219 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1263 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
30-87501
327 uint codePoint = 0;-
328 for (int i = 0; i < 4; ++i) {
i < 4Description
TRUEevaluated 344905 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 86210 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
86210-344905
329 int digit = hexDigit(_char);-
330 if (digit < 0)
digit < 0Description
TRUEevaluated 42 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 344863 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
42-344863
331 goto error;
executed 42 times by 4 tests: goto error;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
42
332 codePoint *= 16;-
333 codePoint += digit;-
334 scanChar();-
335 }
executed 344892 times by 6 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
344892
336-
337 *ok = true;-
338 return codePoint;
executed 86211 times by 5 tests: return codePoint;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
86211
339 } else if (_codePtr < _endPtr && _char == QLatin1Char('{')) {
_codePtr < _endPtrDescription
TRUEevaluated 1291 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEnever evaluated
_char == QLatin1Char('{')Description
TRUEevaluated 1264 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 29 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
0-1291
340 scanChar(); // skip '{'-
341 uint codePoint = 0;-
342 if (!isHexDigit(_char))
!isHexDigit(_char)Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 1257 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
6-1257
343 // need at least one hex digit-
344 goto error;
executed 6 times by 2 tests: goto error;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
6
345-
346 while (_codePtr <= _endPtr) {
_codePtr <= _endPtrDescription
TRUEevaluated 4520 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEnever evaluated
0-4520
347 int digit = hexDigit(_char);-
348 if (digit < 0)
digit < 0Description
TRUEevaluated 1246 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 3279 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
1246-3279
349 break;
executed 1246 times by 2 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1246
350 codePoint *= 16;-
351 codePoint += digit;-
352 if (codePoint > 0x10ffff)
codePoint > 0x10ffffDescription
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 3267 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
12-3267
353 goto error;
executed 12 times by 2 tests: goto error;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
12
354 scanChar();-
355 }
executed 3264 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
3264
356-
357 if (_char != QLatin1Char('}'))
_char != QLatin1Char('}')Description
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 1233 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
14-1233
358 goto error;
executed 14 times by 2 tests: goto error;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
14
359-
360 scanChar(); // skip '}'-
361-
362-
363 *ok = true;-
364 return codePoint;
executed 1233 times by 2 tests: return codePoint;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1233
365 }-
366-
367 error:
code before this statement executed 30 times by 2 tests: error:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
30
368 _errorCode = IllegalUnicodeEscapeSequence;-
369 _errorMessage = QCoreApplication::translate("QQmlParser", "Illegal unicode escape sequence");-
370-
371 *ok = false;-
372 return 0;
executed 104 times by 4 tests: return 0;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
104
373}-
374-
375QChar Lexer::decodeHexEscapeCharacter(bool *ok)-
376{-
377 if (isHexDigit(_codePtr[0]) && isHexDigit(_codePtr[1])) {
isHexDigit(_codePtr[0])Description
TRUEevaluated 1626 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
isHexDigit(_codePtr[1])Description
TRUEevaluated 1608 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 18 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6-1626
378 scanChar();-
379-
380 const QChar c1 = _char;-
381 scanChar();-
382-
383 const QChar c2 = _char;-
384 scanChar();-
385-
386 if (ok)
okDescription
TRUEevaluated 1608 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEnever evaluated
0-1608
387 *ok = true;
executed 1608 times by 4 tests: *ok = true;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1608
388-
389 return convertHex(c1, c2);
executed 1608 times by 4 tests: return convertHex(c1, c2);
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1608
390 }-
391-
392 *ok = false;-
393 return QChar();
executed 24 times by 4 tests: return QChar();
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
24
394}-
395-
396static inline bool isIdentifierStart(uint ch)-
397{-
398 // fast path for ascii-
399 if ((ch >= 'a' && ch <= 'z') ||
ch >= 'a'Description
TRUEevaluated 25030402 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 4123939 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
ch <= 'z'Description
TRUEevaluated 25045518 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 2626 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
2626-25045518
400 (ch >= 'A' && ch <= 'Z') ||
ch >= 'A'Description
TRUEevaluated 3016517 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 1111442 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
ch <= 'Z'Description
TRUEevaluated 2673665 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 343111 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_testfiltering
343111-3016517
401 ch == '$' || ch == '_')
ch == '$'Description
TRUEevaluated 1109404 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 343071 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_testfiltering
ch == '_'Description
TRUEevaluated 340877 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 2928 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
2928-1109404
402 return true;
executed 29155907 times by 148 tests: return true;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
29155907
403-
404 switch (QChar::category(ch)) {-
405 case QChar::Number_Letter:
never executed: case QChar::Number_Letter:
0
406 case QChar::Letter_Uppercase:
executed 1205 times by 3 tests: case QChar::Letter_Uppercase:
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
1205
407 case QChar::Letter_Lowercase:
executed 1268 times by 3 tests: case QChar::Letter_Lowercase:
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
1268
408 case QChar::Letter_Titlecase:
never executed: case QChar::Letter_Titlecase:
0
409 case QChar::Letter_Modifier:
executed 12 times by 2 tests: case QChar::Letter_Modifier:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
12
410 case QChar::Letter_Other:
executed 2 times by 1 test: case QChar::Letter_Other:
Executed by:
  • tst_qqmlparser
2
411 return true;
executed 2487 times by 3 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
2487
412 default:
executed 440 times by 2 tests: default:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
440
413 break;
executed 440 times by 2 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
440
414 }-
415 return false;
executed 440 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
440
416}-
417-
418static bool isIdentifierPart(uint ch)-
419{-
420 // fast path for ascii-
421 if ((ch >= 'a' && ch <= 'z') ||
ch >= 'a'Description
TRUEevaluated 138848649 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 42819368 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
ch <= 'z'Description
TRUEevaluated 138797223 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 119429 times by 56 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlparser
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimations
  • tst_qquickcumulativedirection
  • ...
119429-138848649
422 (ch >= 'A' && ch <= 'Z') ||
ch >= 'A'Description
TRUEevaluated 13994901 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 28974340 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
ch <= 'Z'Description
TRUEevaluated 13330627 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 666682 times by 82 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • ...
666682-28974340
423 (ch >= '0' && ch <= '9') ||
ch >= '0'Description
TRUEevaluated 4564810 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 25094045 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
ch <= '9'Description
TRUEevaluated 1335510 times by 70 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 3229395 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1335510-25094045
424 ch == '$' || ch == '_' ||
ch == '$'Description
TRUEevaluated 73 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 28300371 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
ch == '_'Description
TRUEevaluated 229895 times by 36 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • ...
FALSEevaluated 28082602 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
73-28300371
425 ch == 0x200c /* ZWNJ */ || ch == 0x200d /* ZWJ */)
ch == 0x200cDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlparser
FALSEevaluated 28092323 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
ch == 0x200dDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlparser
FALSEevaluated 28090492 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2-28092323
426 return true;
executed 153475447 times by 148 tests: return true;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
153475447
427-
428 switch (QChar::category(ch)) {-
429 case QChar::Mark_NonSpacing:
executed 24 times by 2 tests: case QChar::Mark_NonSpacing:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
24
430 case QChar::Mark_SpacingCombining:
never executed: case QChar::Mark_SpacingCombining:
0
431-
432 case QChar::Number_DecimalDigit:
never executed: case QChar::Number_DecimalDigit:
0
433 case QChar::Number_Letter:
never executed: case QChar::Number_Letter:
0
434-
435 case QChar::Letter_Uppercase:
executed 10 times by 2 tests: case QChar::Letter_Uppercase:
Executed by:
  • tst_qmlmin
  • tst_qqmlparser
10
436 case QChar::Letter_Lowercase:
executed 414 times by 3 tests: case QChar::Letter_Lowercase:
Executed by:
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
414
437 case QChar::Letter_Titlecase:
never executed: case QChar::Letter_Titlecase:
0
438 case QChar::Letter_Modifier:
executed 82 times by 4 tests: case QChar::Letter_Modifier:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
82
439 case QChar::Letter_Other:
executed 30 times by 3 tests: case QChar::Letter_Other:
Executed by:
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
30
440-
441 case QChar::Punctuation_Connector:
never executed: case QChar::Punctuation_Connector:
0
442 return true;
executed 560 times by 4 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
560
443 default:
executed 28073605 times by 148 tests: default:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
28073605
444 break;
executed 28075666 times by 148 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
28075666
445 }-
446 return false;
executed 28082556 times by 148 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
28082556
447}-
448-
449int Lexer::scanToken()-
450{-
451 if (_stackToken != -1) {
_stackToken != -1Description
TRUEevaluated 169 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickpathview
  • tst_qquickrepeater
FALSEevaluated 83838546 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
169-83838546
452 int tk = _stackToken;-
453 _stackToken = -1;-
454 return tk;
executed 169 times by 7 tests: return tk;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickpathview
  • tst_qquickrepeater
169
455 }-
456-
457 if (_bracesCount == 0) {
_bracesCount == 0Description
TRUEevaluated 1314 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 83934937 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
1314-83934937
458 // we're inside a Template string-
459 return scanString(TemplateContinuation);
executed 1314 times by 2 tests: return scanString(TemplateContinuation);
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1314
460 }-
461-
462-
463 _terminator = false;-
464-
465again:
code before this statement executed 83922681 times by 148 tests: again:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
83922681
466 _validTokenText = false;-
467-
468 while (_char.isSpace()) {
_char.isSpace()Description
TRUEevaluated 82043130 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 85915743 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
82043130-85915743
469 if (isLineTerminator()) {
isLineTerminator()Description
TRUEevaluated 19780761 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 62339539 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
19780761-62339539
470 if (_restrictedKeyword) {
_restrictedKeywordDescription
TRUEevaluated 872 times by 14 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 19781043 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
872-19781043
471 // automatic semicolon insertion-
472 _tokenLine = _currentLineNumber;-
473 _tokenColumn = _currentColumnNumber;-
474 _tokenStartPtr = _codePtr - 1;-
475 return T_SEMICOLON;
executed 872 times by 14 tests: return T_SEMICOLON;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
872
476 } else {-
477 _terminator = true;-
478 syncProhibitAutomaticSemicolon();-
479 }
executed 19778183 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
19778183
480 }-
481-
482 scanChar();-
483 }
executed 81962441 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
81962441
484-
485 _tokenStartPtr = _codePtr - 1;-
486 _tokenLine = _currentLineNumber;-
487 _tokenColumn = _currentColumnNumber;-
488-
489 if (_codePtr > _endPtr)
_codePtr > _endPtrDescription
TRUEevaluated 2967496 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 82901388 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2967496-82901388
490 return EOF_SYMBOL;
executed 2967492 times by 148 tests: return EOF_SYMBOL;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2967492
491-
492 const QChar ch = _char;-
493 scanChar();-
494-
495 switch (ch.unicode()) {-
496 case '~': return T_TILDE;
executed 948 times by 6 tests: return T_TILDE;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
executed 948 times by 6 tests: case '~':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
948
497 case '}': return T_RBRACE;
executed 3654959 times by 147 tests: return T_RBRACE;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
executed 3653930 times by 147 tests: case '}':
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
3653930-3654959
498-
499 case '|':
executed 318599 times by 26 tests: case '|':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • ...
318599
500 if (_char == QLatin1Char('|')) {
_char == QLatin1Char('|')Description
TRUEevaluated 315273 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 2514 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickdrag
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickscreen
2514-315273
501 scanChar();-
502 return T_OR_OR;
executed 315642 times by 21 tests: return T_OR_OR;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
315642
503 } else if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 739 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
FALSEevaluated 1776 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickdrag
  • tst_qquicklayouts
  • tst_qquickmultipointtoucharea
  • tst_qquickscreen
739-1776
504 scanChar();-
505 return T_OR_EQ;
executed 739 times by 6 tests: return T_OR_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
739
506 }-
507 return T_OR;
executed 1776 times by 11 tests: return T_OR;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickdrag
  • tst_qquicklayouts
  • tst_qquickmultipointtoucharea
  • tst_qquickscreen
1776
508-
509 case '{': return T_LBRACE;
executed 3658437 times by 147 tests: return T_LBRACE;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
executed 3658179 times by 147 tests: case '{':
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
3658179-3658437
510-
511 case '^':
executed 2013 times by 5 tests: case '^':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
2013
512 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 613 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
FALSEevaluated 1400 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
613-1400
513 scanChar();-
514 return T_XOR_EQ;
executed 613 times by 3 tests: return T_XOR_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
613
515 }-
516 return T_XOR;
executed 1400 times by 5 tests: return T_XOR;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
1400
517-
518 case ']': return T_RBRACKET;
executed 327874 times by 62 tests: return T_RBRACKET;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
executed 327829 times by 62 tests: case ']':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
327829-327874
519 case '[': return T_LBRACKET;
executed 328206 times by 62 tests: return T_LBRACKET;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
executed 328279 times by 62 tests: case '[':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
328206-328279
520 case '?': return T_QUESTION;
executed 39186 times by 46 tests: return T_QUESTION;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
executed 39188 times by 46 tests: case '?':
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
39186-39188
521-
522 case '>':
executed 82507 times by 32 tests: case '>':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
82507
523 if (_char == QLatin1Char('>')) {
_char == QLatin1Char('>')Description
TRUEevaluated 57265 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 25240 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
25240-57265
524 scanChar();-
525 if (_char == QLatin1Char('>')) {
_char == QLatin1Char('>')Description
TRUEevaluated 29491 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 27890 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
27890-29491
526 scanChar();-
527 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 1241 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
FALSEevaluated 28258 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
1241-28258
528 scanChar();-
529 return T_GT_GT_GT_EQ;
executed 1239 times by 3 tests: return T_GT_GT_GT_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
1239
530 }-
531 return T_GT_GT_GT;
executed 28225 times by 5 tests: return T_GT_GT_GT;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
28225
532 } else if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 682 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 27189 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
682-27189
533 scanChar();-
534 return T_GT_GT_EQ;
executed 682 times by 5 tests: return T_GT_GT_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
682
535 }-
536 return T_GT_GT;
executed 27171 times by 5 tests: return T_GT_GT;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
27171
537 } else if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 7538 times by 14 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 17640 times by 31 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
7538-17640
538 scanChar();-
539 return T_GE;
executed 7538 times by 14 tests: return T_GE;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
7538
540 }-
541 return T_GT;
executed 17644 times by 31 tests: return T_GT;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
17644
542-
543 case '=':
executed 2942593 times by 96 tests: case '=':
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
2942593
544 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 790043 times by 56 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 2147866 times by 94 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
790043-2147866
545 scanChar();-
546 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 753454 times by 31 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickstates
  • ...
FALSEevaluated 36396 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
36396-753454
547 scanChar();-
548 return T_EQ_EQ_EQ;
executed 757343 times by 31 tests: return T_EQ_EQ_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickstates
  • ...
757343
549 }-
550 return T_EQ_EQ;
executed 36396 times by 50 tests: return T_EQ_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
36396
551 } else if (_char == QLatin1Char('>')) {
_char == QLatin1Char('>')Description
TRUEevaluated 5329 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 2142199 times by 94 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
5329-2142199
552 scanChar();-
553 return T_ARROW;
executed 5331 times by 2 tests: return T_ARROW;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
5331
554 }-
555 return T_EQ;
executed 2142291 times by 94 tests: return T_EQ;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
2142291
556-
557 case '<':
executed 67876 times by 43 tests: case '<':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
67876
558 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 8527 times by 13 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 59331 times by 42 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
8527-59331
559 scanChar();-
560 return T_LE;
executed 8529 times by 13 tests: return T_LE;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_quicktestmainwithsetup
  • tst_testfiltering
8529
561 } else if (_char == QLatin1Char('<')) {
_char == QLatin1Char('<')Description
TRUEevaluated 28813 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 30519 times by 42 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
28813-30519
562 scanChar();-
563 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 598 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
FALSEevaluated 28225 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
598-28225
564 scanChar();-
565 return T_LT_LT_EQ;
executed 598 times by 3 tests: return T_LT_LT_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
598
566 }-
567 return T_LT_LT;
executed 28206 times by 5 tests: return T_LT_LT;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
28206
568 }-
569 return T_LT;
executed 30519 times by 42 tests: return T_LT;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
30519
570-
571 case ';': return T_SEMICOLON;
executed 6538045 times by 115 tests: return T_SEMICOLON;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
executed 6538071 times by 115 tests: case ';':
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
6538045-6538071
572 case ':': return T_COLON;
executed 1303559 times by 146 tests: return T_COLON;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
executed 1303553 times by 146 tests: case ':':
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1303553-1303559
573-
574 case '/':
executed 3374779 times by 99 tests: case '/':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • ...
3374779
575 if (_char == QLatin1Char('*')) {
_char == QLatin1Char('*')Description
TRUEevaluated 664252 times by 72 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
FALSEevaluated 2712129 times by 86 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • ...
664252-2712129
576 scanChar();-
577 while (_codePtr <= _endPtr) {
_codePtr <= _endPtrDescription
TRUEevaluated 160658702 times by 72 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
12-160658702
578 if (_char == QLatin1Char('*')) {
_char == QLatin1Char('*')Description
TRUEevaluated 2867862 times by 72 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
FALSEevaluated 157822790 times by 72 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
2867862-157822790
579 scanChar();-
580 if (_char == QLatin1Char('/')) {
_char == QLatin1Char('/')Description
TRUEevaluated 663934 times by 72 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
FALSEevaluated 2203785 times by 69 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • ...
663934-2203785
581 scanChar();-
582-
583 if (_engine) {
_engineDescription
TRUEevaluated 664574 times by 72 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_examples
6-664574
584 _engine->addComment(tokenOffset() + 2, _codePtr - _tokenStartPtr - 1 - 4,-
585 tokenStartLine(), tokenStartColumn() + 2);-
586 }
executed 664652 times by 72 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
664652
587-
588 goto again;
executed 664721 times by 72 tests: goto again;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
664721
589 }-
590 } else {
executed 2203781 times by 69 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • ...
2203781
591 scanChar();-
592 }
executed 157840389 times by 72 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlparser
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
157840389
593 }-
594 } else if (_char == QLatin1Char('/')) {
executed 12 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
_char == QLatin1Char('/')Description
TRUEevaluated 1420074 times by 76 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 1290786 times by 37 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
12-1420074
595 while (_codePtr <= _endPtr && !isLineTerminator()) {
_codePtr <= _endPtrDescription
TRUEevaluated 62168112 times by 76 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 262176 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
!isLineTerminator()Description
TRUEevaluated 60987216 times by 76 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 1160846 times by 75 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • ...
262176-62168112
596 scanChar();-
597 }
executed 61018691 times by 76 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
61018691
598 if (_engine) {
_engineDescription
TRUEevaluated 1423540 times by 76 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_examples
8-1423540
599 _engine->addComment(tokenOffset() + 2, _codePtr - _tokenStartPtr - 1 - 2,-
600 tokenStartLine(), tokenStartColumn() + 2);-
601 }
executed 1422765 times by 76 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
1422765
602 goto again;
executed 1423540 times by 76 tests: goto again;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
1423540
603 } if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 969 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 1289494 times by 37 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
969-1289494
604 scanChar();-
605 return T_DIVIDE_EQ;
executed 969 times by 6 tests: return T_DIVIDE_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
969
606 }-
607 return T_DIVIDE_;
executed 1289488 times by 37 tests: return T_DIVIDE_;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
1289488
608-
609 case '.':
executed 3642844 times by 139 tests: case '.':
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
3642844
610 if (isDecimalDigit(_char.unicode()))
isDecimalDigit...har.unicode())Description
TRUEevaluated 2281 times by 13 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextedit
FALSEevaluated 3633933 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
2281-3633933
611 return scanNumber(ch);
executed 2288 times by 13 tests: return scanNumber(ch);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextedit
2288
612 if (_char == QLatin1Char('.')) {
_char == QLatin1Char('.')Description
TRUEevaluated 8423 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 3629823 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
8423-3629823
613 scanChar();-
614 if (_char == QLatin1Char('.')) {
_char == QLatin1Char('.')Description
TRUEevaluated 8422 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEnever evaluated
0-8422
615 scanChar();-
616 return T_ELLIPSIS;
executed 8426 times by 2 tests: return T_ELLIPSIS;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
8426
617 } else {-
618 _errorCode = IllegalCharacter;-
619 _errorMessage = QCoreApplication::translate("QQmlParser", "Unexpected token '.'");-
620 return T_ERROR;
never executed: return T_ERROR;
0
621 }-
622 }-
623 return T_DOT;
executed 3632797 times by 139 tests: return T_DOT;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
3632797
624-
625 case '-':
executed 181442 times by 52 tests: case '-':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
181442
626 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 2376 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
FALSEevaluated 179067 times by 52 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
2376-179067
627 scanChar();-
628 return T_MINUS_EQ;
executed 2376 times by 10 tests: return T_MINUS_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
2376
629 } else if (_char == QLatin1Char('-')) {
_char == QLatin1Char('-')Description
TRUEevaluated 2920 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
FALSEevaluated 176144 times by 51 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
2920-176144
630 scanChar();-
631-
632 if (_terminator && !_delimited && !_prohibitAutomaticSemicolon && _tokenKind != T_LPAREN) {
_terminatorDescription
TRUEevaluated 290 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 2630 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
!_delimitedDescription
TRUEevaluated 88 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 202 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
!_prohibitAutomaticSemicolonDescription
TRUEevaluated 60 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 28 times by 4 tests
Evaluated by:
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
_tokenKind != T_LPARENDescription
TRUEevaluated 52 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 8 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
8-2630
633 _stackToken = T_MINUS_MINUS;-
634 return T_SEMICOLON;
executed 52 times by 5 tests: return T_SEMICOLON;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
52
635 }-
636-
637 return T_MINUS_MINUS;
executed 2868 times by 12 tests: return T_MINUS_MINUS;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
2868
638 }-
639 return T_MINUS;
executed 176138 times by 51 tests: return T_MINUS;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
176138
640-
641 case ',': return T_COMMA;
executed 3340785 times by 80 tests: return T_COMMA;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
executed 3340798 times by 80 tests: case ',':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
3340785-3340798
642-
643 case '+':
executed 3115980 times by 68 tests: case '+':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
3115980
644 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 751378 times by 28 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • ...
FALSEevaluated 2364359 times by 67 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
751378-2364359
645 scanChar();-
646 return T_PLUS_EQ;
executed 754231 times by 28 tests: return T_PLUS_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquicktext
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • ...
754231
647 } else if (_char == QLatin1Char('+')) {
_char == QLatin1Char('+')Description
TRUEevaluated 35330 times by 47 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • ...
FALSEevaluated 2328531 times by 57 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
35330-2328531
648 scanChar();-
649-
650 if (_terminator && !_delimited && !_prohibitAutomaticSemicolon && _tokenKind != T_LPAREN) {
_terminatorDescription
TRUEevaluated 615 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_signalspy
FALSEevaluated 34704 times by 47 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • ...
!_delimitedDescription
TRUEevaluated 153 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickpathview
  • tst_qquickrepeater
FALSEevaluated 462 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_signalspy
!_prohibitAutomaticSemicolonDescription
TRUEevaluated 127 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickpathview
  • tst_qquickrepeater
FALSEevaluated 26 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
_tokenKind != T_LPARENDescription
TRUEevaluated 119 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickpathview
  • tst_qquickrepeater
FALSEevaluated 8 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
8-34704
651 _stackToken = T_PLUS_PLUS;-
652 return T_SEMICOLON;
executed 119 times by 7 tests: return T_SEMICOLON;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickpathview
  • tst_qquickrepeater
119
653 }-
654-
655 return T_PLUS_PLUS;
executed 35194 times by 47 tests: return T_PLUS_PLUS;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • ...
35194
656 }-
657 return T_PLUS;
executed 2328576 times by 57 tests: return T_PLUS;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
2328576
658-
659 case '*':
executed 52495 times by 33 tests: case '*':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
52495
660 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 2900 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 49582 times by 33 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
2900-49582
661 scanChar();-
662 return T_STAR_EQ;
executed 2901 times by 6 tests: return T_STAR_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
2901
663 } else if (_char == QLatin1Char('*')) {
_char == QLatin1Char('*')Description
TRUEevaluated 902 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 48679 times by 33 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
902-48679
664 scanChar();-
665 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 895 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
6-895
666 scanChar();-
667 return T_STAR_STAR_EQ;
executed 6 times by 2 tests: return T_STAR_STAR_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
6
668 }-
669 return T_STAR_STAR;
executed 895 times by 2 tests: return T_STAR_STAR;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
895
670 }-
671 return T_STAR;
executed 48682 times by 33 tests: return T_STAR;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
48682
672-
673 case ')': return T_RPAREN;
executed 6685821 times by 98 tests: return T_RPAREN;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
executed 6685750 times by 98 tests: case ')':
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
6685750-6685821
674 case '(': return T_LPAREN;
executed 6686743 times by 98 tests: return T_LPAREN;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
executed 6687292 times by 98 tests: case '(':
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
6686743-6687292
675-
676 case '&':
executed 131446 times by 37 tests: case '&':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
131446
677 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 630 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 130080 times by 37 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
630-130080
678 scanChar();-
679 return T_AND_EQ;
executed 632 times by 5 tests: return T_AND_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
632
680 } else if (_char == QLatin1Char('&')) {
_char == QLatin1Char('&')Description
TRUEevaluated 126195 times by 36 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
FALSEevaluated 3574 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquickmousearea
3574-126195
681 scanChar();-
682 return T_AND_AND;
executed 127235 times by 36 tests: return T_AND_AND;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
127235
683 }-
684 return T_AND;
executed 3574 times by 8 tests: return T_AND;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquickmousearea
3574
685-
686 case '%':
executed 6876 times by 12 tests: case '%':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_scenegraph
6876
687 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 599 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
FALSEevaluated 6277 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_scenegraph
599-6277
688 scanChar();-
689 return T_REMAINDER_EQ;
executed 599 times by 3 tests: return T_REMAINDER_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlparser
599
690 }-
691 return T_REMAINDER;
executed 6277 times by 12 tests: return T_REMAINDER;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_scenegraph
6277
692-
693 case '!':
executed 944958 times by 43 tests: case '!':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • ...
944958
694 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 730412 times by 31 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
FALSEevaluated 214803 times by 35 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem
  • ...
214803-730412
695 scanChar();-
696 if (_char == QLatin1Char('=')) {
_char == QLatin1Char('=')Description
TRUEevaluated 713942 times by 19 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 17219 times by 31 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
17219-713942
697 scanChar();-
698 return T_NOT_EQ_EQ;
executed 713490 times by 19 tests: return T_NOT_EQ_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
713490
699 }-
700 return T_NOT_EQ;
executed 17219 times by 31 tests: return T_NOT_EQ;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
17219
701 }-
702 return T_NOT;
executed 214716 times by 35 tests: return T_NOT;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem
  • ...
214716
703-
704 case '`':
executed 1196 times by 3 tests: case '`':
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
1196
705 _outerTemplateBraceCount.push(_bracesCount);-
706 Q_FALLTHROUGH();-
707 case '\'':
code before this statement executed 1196 times by 3 tests: case '\'':
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
executed 2733385 times by 42 tests: case '\'':
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • ...
1196-2733385
708 case '"':
executed 1431917 times by 134 tests: case '"':
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
1431917
709 return scanString(ScanStringMode(ch.unicode()));
executed 4164933 times by 138 tests: return scanString(ScanStringMode(ch.unicode()));
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
4164933
710 case '0':
executed 549086 times by 88 tests: case '0':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
549086
711 case '1':
executed 805262 times by 131 tests: case '1':
Executed by:
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • ...
805262
712 case '2':
executed 401810 times by 146 tests: case '2':
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
401810
713 case '3':
executed 166648 times by 98 tests: case '3':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • ...
166648
714 case '4':
executed 141174 times by 82 tests: case '4':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • ...
141174
715 case '5':
executed 126339 times by 97 tests: case '5':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlparser
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • ...
126339
716 case '6':
executed 84859 times by 55 tests: case '6':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • ...
84859
717 case '7':
executed 60599 times by 32 tests: case '7':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
60599
718 case '8':
executed 70953 times by 40 tests: case '8':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmoduleplugin
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • ...
70953
719 case '9':
executed 38361 times by 46 tests: case '9':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • ...
38361
720 return scanNumber(ch);
executed 2443985 times by 147 tests: return scanNumber(ch);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
2443985
721-
722 default: {
executed 29148619 times by 148 tests: default:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
29148619
723 uint c = ch.unicode();-
724 bool identifierWithEscapeChars = false;-
725 if (QChar::isHighSurrogate(c) && QChar::isLowSurrogate(_char.unicode())) {
QChar::isHighSurrogate(c)Description
TRUEnever evaluated
FALSEevaluated 29148644 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
QChar::isLowSu...har.unicode())Description
TRUEnever evaluated
FALSEnever evaluated
0-29148644
726 c = QChar::surrogateToUcs4(ushort(c), _char.unicode());-
727 scanChar();-
728 } else if (c == '\\' && _char == QLatin1Char('u')) {
never executed: end of block
c == '\\'Description
TRUEevaluated 2059 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 29148101 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
_char == QLatin1Char('u')Description
TRUEevaluated 2052 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
0-29148101
729 identifierWithEscapeChars = true;-
730 bool ok = false;-
731 c = decodeUnicodeEscapeCharacter(&ok);-
732 if (!ok)
!okDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlparser
FALSEevaluated 2052 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
2-2052
733 return T_ERROR;
executed 2 times by 1 test: return T_ERROR;
Executed by:
  • tst_qqmlparser
2
734 }
executed 2050 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
2050
735 if (isIdentifierStart(c)) {
isIdentifierStart(c)Description
TRUEevaluated 29153480 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 440 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
440-29153480
736 if (identifierWithEscapeChars) {
identifierWithEscapeCharsDescription
TRUEevaluated 1969 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 29154396 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
1969-29154396
737 _tokenText.resize(0);-
738 if (QChar::requiresSurrogates(c)) {
QChar::requiresSurrogates(c)Description
TRUEnever evaluated
FALSEevaluated 1964 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
0-1964
739 _tokenText += QChar(QChar::highSurrogate(c));-
740 _tokenText += QChar(QChar::lowSurrogate(c));-
741 } else {
never executed: end of block
0
742 _tokenText += QChar(c);-
743 }
executed 1963 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1963
744 _validTokenText = true;-
745 }
executed 1967 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1967
746 while (_codePtr <= _endPtr) {
_codePtr <= _endPtrDescription
TRUEevaluated 181144206 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 1111236 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_qv4debugger
1111236-181144206
747 c = _char.unicode();-
748 if (QChar::isHighSurrogate(c) && QChar::isLowSurrogate(_codePtr->unicode())) {
QChar::isHighSurrogate(c)Description
TRUEnever evaluated
FALSEevaluated 181108925 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
QChar::isLowSu...tr->unicode())Description
TRUEnever evaluated
FALSEnever evaluated
0-181108925
749 scanChar();-
750 c = QChar::surrogateToUcs4(ushort(c), _char.unicode());-
751 } else if (_char == QLatin1Char('\\') && _codePtr[0] == QLatin1Char('u')) {
never executed: end of block
_char == QLatin1Char('\\')Description
TRUEevaluated 1360 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 181133881 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
_codePtr[0] ==...atin1Char('u')Description
TRUEevaluated 1354 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
0-181133881
752 if (!identifierWithEscapeChars) {
!identifierWithEscapeCharsDescription
TRUEevaluated 853 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 500 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
500-853
753 identifierWithEscapeChars = true;-
754 _tokenText.resize(0);-
755 _tokenText.insert(0, _tokenStartPtr, _codePtr - _tokenStartPtr - 1);-
756 _validTokenText = true;-
757 }
executed 852 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
852
758-
759 scanChar(); // skip '\\'-
760 bool ok = false;-
761 c = decodeUnicodeEscapeCharacter(&ok);-
762 if (!ok)
!okDescription
TRUEnever evaluated
FALSEevaluated 1354 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
0-1354
763 return T_ERROR;
never executed: return T_ERROR;
0
764-
765 if (!isIdentifierPart(c))
!isIdentifierPart(c)Description
TRUEevaluated 156 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 1198 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
156-1198
766 break;
executed 156 times by 2 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
156
767-
768 if (identifierWithEscapeChars) {
identifierWithEscapeCharsDescription
TRUEevaluated 1198 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEnever evaluated
0-1198
769 if (QChar::requiresSurrogates(c)) {
QChar::requiresSurrogates(c)Description
TRUEnever evaluated
FALSEevaluated 1198 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
0-1198
770 _tokenText += QChar(QChar::highSurrogate(c));-
771 _tokenText += QChar(QChar::lowSurrogate(c));-
772 } else {
never executed: end of block
0
773 _tokenText += QChar(c);-
774 }
executed 1197 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1197
775 }-
776 continue;
executed 1197 times by 4 tests: continue;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1197
777 }-
778-
779 if (!isIdentifierPart(c))
!isIdentifierPart(c)Description
TRUEevaluated 28081743 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 153464023 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
28081743-153464023
780 break;
executed 28081351 times by 148 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
28081351
781-
782 if (identifierWithEscapeChars) {
identifierWithEscapeCharsDescription
TRUEevaluated 1826 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 153510562 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
1826-153510562
783 if (QChar::requiresSurrogates(c)) {
QChar::requiresSurrogates(c)Description
TRUEnever evaluated
FALSEevaluated 1826 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
0-1826
784 _tokenText += QChar(QChar::highSurrogate(c));-
785 _tokenText += QChar(QChar::lowSurrogate(c));-
786 } else {
never executed: end of block
0
787 _tokenText += QChar(c);-
788 }
executed 1826 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1826
789 }-
790 scanChar();-
791 }
executed 153602980 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
153602980
792-
793 _tokenLength = _codePtr - _tokenStartPtr - 1;-
794-
795 int kind = T_IDENTIFIER;-
796-
797 if (!identifierWithEscapeChars)
!identifierWithEscapeCharsDescription
TRUEevaluated 29202066 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 2822 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
2822-29202066
798 kind = classify(_tokenStartPtr, _tokenLength, parseModeFlags());
executed 29207483 times by 148 tests: kind = classify(_tokenStartPtr, _tokenLength, parseModeFlags());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
29207483
799-
800 if (_engine) {
_engineDescription
TRUEevaluated 29133984 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 1184 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickworkerscript
1184-29133984
801 if (kind == T_IDENTIFIER && identifierWithEscapeChars)
kind == T_IDENTIFIERDescription
TRUEevaluated 22188016 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
FALSEevaluated 6962891 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
identifierWithEscapeCharsDescription
TRUEevaluated 2821 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 22201671 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2821-22201671
802 _tokenSpell = _engine->newStringRef(_tokenText);
executed 2820 times by 4 tests: _tokenSpell = _engine->newStringRef(_tokenText);
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
2820
803 else-
804 _tokenSpell = _engine->midRef(_tokenStartPtr - _code.unicode(), _tokenLength);
executed 29158400 times by 148 tests: _tokenSpell = _engine->midRef(_tokenStartPtr - _code.unicode(), _tokenLength);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
29158400
805 }-
806-
807 return kind;
executed 29150350 times by 148 tests: return kind;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
29150350
808 }-
809 }-
810-
811 break;
executed 440 times by 2 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
440
812 }-
813-
814 return T_ERROR;
executed 440 times by 2 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
440
815}-
816-
817int Lexer::scanString(ScanStringMode mode)-
818{-
819 QChar quote = (mode == TemplateContinuation) ? QChar(TemplateHead) : QChar(mode);
(mode == TemplateContinuation)Description
TRUEevaluated 1314 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 4164049 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1314-4164049
820 bool multilineStringLiteral = false;-
821-
822 const QChar *startCode = _codePtr;-
823-
824 if (_engine) {
_engineDescription
TRUEevaluated 4166524 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEnever evaluated
0-4166524
825 while (_codePtr <= _endPtr) {
_codePtr <= _endPtrDescription
TRUEevaluated 67959325 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 247 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlparser
247-67959325
826 if (isLineTerminator() && quote != QLatin1Char('`')) {
isLineTerminator()Description
TRUEevaluated 1242 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 67938145 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
quote != QLatin1Char('`')Description
TRUEevaluated 821 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 421 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
421-67938145
827 if (qmlMode())
qmlMode()Description
TRUEevaluated 660 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 160 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
160-660
828 break;
executed 660 times by 8 tests: break;
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
660
829 _errorCode = IllegalCharacter;-
830 _errorMessage = QCoreApplication::translate("QQmlParser", "Stray newline in string literal");-
831 return T_ERROR;
executed 160 times by 3 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
160
832 } else if (_char == QLatin1Char('\\')) {
_char == QLatin1Char('\\')Description
TRUEevaluated 77611 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 67884657 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
77611-67884657
833 break;
executed 77615 times by 17 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
77615
834 } else if (_char == '$' && quote == QLatin1Char('`')) {
_char == '$'Description
TRUEevaluated 5695 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
  • tst_scenegraph
FALSEevaluated 67895072 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
quote == QLatin1Char('`')Description
TRUEevaluated 1276 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 4419 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklistview
  • tst_scenegraph
1276-67895072
835 break;
executed 1276 times by 2 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1276
836 } else if (_char == quote) {
_char == quoteDescription
TRUEevaluated 4095161 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 63846342 times by 137 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
4095161-63846342
837 _tokenSpell = _engine->midRef(startCode - _code.unicode() - 1, _codePtr - startCode);-
838 scanChar();-
839-
840 if (quote == QLatin1Char('`'))
quote == QLatin1Char('`')Description
TRUEevaluated 828 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 4092664 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
828-4092664
841 _bracesCount = _outerTemplateBraceCount.pop();
executed 828 times by 3 tests: _bracesCount = _outerTemplateBraceCount.pop();
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
828
842-
843 if (mode == TemplateHead)
mode == TemplateHeadDescription
TRUEevaluated 200 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 4094302 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
200-4094302
844 return T_NO_SUBSTITUTION_TEMPLATE;
executed 200 times by 3 tests: return T_NO_SUBSTITUTION_TEMPLATE;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
200
845 else if (mode == TemplateContinuation)
mode == TemplateContinuationDescription
TRUEevaluated 628 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 4093539 times by 138 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
628-4093539
846 return T_TEMPLATE_TAIL;
executed 628 times by 2 tests: return T_TEMPLATE_TAIL;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
628
847 else-
848 return T_STRING_LITERAL;
executed 4093114 times by 138 tests: return T_STRING_LITERAL;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
4093114
849 }-
850 scanChar();-
851 }
executed 63824140 times by 137 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
63824140
852 }
executed 79798 times by 19 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
79798
853-
854 _validTokenText = true;-
855 _tokenText.resize(0);-
856 startCode--;-
857 while (startCode != _codePtr - 1)
startCode != _codePtr - 1Description
TRUEevaluated 790014 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 79804 times by 19 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
79804-790014
858 _tokenText += *startCode++;
executed 790017 times by 18 tests: _tokenText += *startCode++;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
790017
859-
860 while (_codePtr <= _endPtr) {
_codePtr <= _endPtrDescription
TRUEevaluated 2258196 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 328 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlparser
328-2258196
861 if (unsigned sequenceLength = isLineTerminatorSequence()) {
unsigned seque...atorSequence()Description
TRUEevaluated 7571 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 2250551 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
7571-2250551
862 multilineStringLiteral = true;-
863 _tokenText += _char;-
864 if (sequenceLength == 2)
sequenceLength == 2Description
TRUEnever evaluated
FALSEevaluated 7571 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
0-7571
865 _tokenText += *_codePtr;
never executed: _tokenText += *_codePtr;
0
866 scanChar();-
867 } else if (_char == mode) {
executed 7571 times by 9 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
_char == modeDescription
TRUEevaluated 78038 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2172591 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
7571-2172591
868 scanChar();-
869-
870 if (_engine)
_engineDescription
TRUEevaluated 78031 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
0-78031
871 _tokenSpell = _engine->newStringRef(_tokenText);
executed 78026 times by 18 tests: _tokenSpell = _engine->newStringRef(_tokenText);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
78026
872-
873 if (quote == QLatin1Char('`'))
quote == QLatin1Char('`')Description
TRUEevaluated 186 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 77825 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
186-77825
874 _bracesCount = _outerTemplateBraceCount.pop();
executed 186 times by 2 tests: _bracesCount = _outerTemplateBraceCount.pop();
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
186
875-
876 if (mode == TemplateContinuation)
mode == TemplateContinuationDescription
TRUEnever evaluated
FALSEevaluated 78016 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
0-78016
877 return T_TEMPLATE_TAIL;
never executed: return T_TEMPLATE_TAIL;
0
878 else if (mode == TemplateHead)
mode == TemplateHeadDescription
TRUEevaluated 186 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 77830 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
186-77830
879 return T_NO_SUBSTITUTION_TEMPLATE;
executed 186 times by 2 tests: return T_NO_SUBSTITUTION_TEMPLATE;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
186
880-
881 return multilineStringLiteral ? T_MULTILINE_STRING_LITERAL : T_STRING_LITERAL;
executed 77830 times by 18 tests: return multilineStringLiteral ? T_MULTILINE_STRING_LITERAL : T_STRING_LITERAL;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
77830
882 } else if (quote == QLatin1Char('`') && _char == QLatin1Char('$') && *_codePtr == '{') {
quote == QLatin1Char('`')Description
TRUEevaluated 59812 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 2112799 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
_char == QLatin1Char('$')Description
TRUEevaluated 1713 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 58100 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
*_codePtr == '{'Description
TRUEevaluated 1203 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 510 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
510-2112799
883 scanChar();-
884 scanChar();-
885 _bracesCount = 1;-
886 if (_engine)
_engineDescription
TRUEevaluated 1203 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEnever evaluated
0-1203
887 _tokenSpell = _engine->newStringRef(_tokenText);
executed 1203 times by 2 tests: _tokenSpell = _engine->newStringRef(_tokenText);
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1203
888-
889 return (mode == TemplateHead ? T_TEMPLATE_HEAD : T_TEMPLATE_MIDDLE);
executed 1204 times by 2 tests: return (mode == TemplateHead ? T_TEMPLATE_HEAD : T_TEMPLATE_MIDDLE);
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1204
890 } else if (_char == QLatin1Char('\\')) {
_char == QLatin1Char('\\')Description
TRUEevaluated 210347 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1961153 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
210347-1961153
891 scanChar();-
892 if (_codePtr > _endPtr) {
_codePtr > _endPtrDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlparser
FALSEevaluated 210344 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
2-210344
893 _errorCode = IllegalEscapeSequence;-
894 _errorMessage = QCoreApplication::translate("QQmlParser", "End of file reached at escape sequence");-
895 return T_ERROR;
executed 2 times by 1 test: return T_ERROR;
Executed by:
  • tst_qqmlparser
2
896 }-
897-
898 QChar u;-
899-
900 switch (_char.unicode()) {-
901 // unicode escape sequence-
902 case 'u': {
executed 84104 times by 6 tests: case 'u':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
84104
903 bool ok = false;-
904 uint codePoint = decodeUnicodeEscapeCharacter(&ok);-
905 if (!ok)
!okDescription
TRUEevaluated 102 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 84032 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
102-84032
906 return T_ERROR;
executed 102 times by 4 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
102
907 if (QChar::requiresSurrogates(codePoint)) {
QChar::require...tes(codePoint)Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 84024 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
8-84024
908 // need to use a surrogate pair-
909 _tokenText += QChar(QChar::highSurrogate(codePoint));-
910 u = QChar::lowSurrogate(codePoint);-
911 } else {
executed 8 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
8
912 u = codePoint;-
913 }
executed 84022 times by 5 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
84022
914 } break;
executed 84031 times by 5 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
84031
915-
916 // hex escape sequence-
917 case 'x': {
executed 1632 times by 5 tests: case 'x':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
1632
918 bool ok = false;-
919 u = decodeHexEscapeCharacter(&ok);-
920 if (!ok) {
!okDescription
TRUEevaluated 24 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1608 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
24-1608
921 _errorCode = IllegalHexadecimalEscapeSequence;-
922 _errorMessage = QCoreApplication::translate("QQmlParser", "Illegal hexadecimal escape sequence");-
923 return T_ERROR;
executed 23 times by 4 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
23
924 }-
925 } break;
executed 1608 times by 4 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
1608
926-
927 // single character escape sequence-
928 case '\\': u = QLatin1Char('\\'); scanChar(); break;
executed 40088 times by 5 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicktextinput
executed 40090 times by 5 tests: case '\\':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicktextinput
40088-40090
929 case '\'': u = QLatin1Char('\''); scanChar(); break;
executed 7442 times by 5 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
executed 7442 times by 5 tests: case '\'':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
7442
930 case '\"': u = QLatin1Char('\"'); scanChar(); break;
executed 32796 times by 11 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquicktext
  • tst_qquicktextedit
executed 32788 times by 11 tests: case '\"':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquicktext
  • tst_qquicktextedit
32788-32796
931 case 'b': u = QLatin1Char('\b'); scanChar(); break;
executed 264 times by 4 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
executed 264 times by 4 tests: case 'b':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
264
932 case 'f': u = QLatin1Char('\f'); scanChar(); break;
executed 944 times by 4 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
executed 944 times by 4 tests: case 'f':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
944
933 case 'n': u = QLatin1Char('\n'); scanChar(); break;
executed 19619 times by 14 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
executed 19618 times by 14 tests: case 'n':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
19618-19619
934 case 'r': u = QLatin1Char('\r'); scanChar(); break;
executed 1790 times by 5 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
executed 1790 times by 5 tests: case 'r':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
1790
935 case 't': u = QLatin1Char('\t'); scanChar(); break;
executed 7227 times by 4 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
executed 7227 times by 4 tests: case 't':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
7227
936 case 'v': u = QLatin1Char('\v'); scanChar(); break;
executed 596 times by 4 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
executed 596 times by 4 tests: case 'v':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
596
937-
938 case '0':
executed 346 times by 5 tests: case '0':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
346
939 if (! _codePtr->isDigit()) {
! _codePtr->isDigit()Description
TRUEevaluated 288 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 58 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
58-288
940 scanChar();-
941 u = QLatin1Char('\0');-
942 break;
executed 288 times by 4 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
288
943 }-
944 Q_FALLTHROUGH();-
945 case '1':
code before this statement executed 58 times by 4 tests: case '1':
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
executed 32 times by 4 tests: case '1':
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
32-58
946 case '2':
executed 2 times by 1 test: case '2':
Executed by:
  • tst_ecmascripttests
2
947 case '3':
executed 12 times by 1 test: case '3':
Executed by:
  • tst_ecmascripttests
12
948 case '4':
executed 12 times by 1 test: case '4':
Executed by:
  • tst_ecmascripttests
12
949 case '5':
never executed: case '5':
0
950 case '6':
never executed: case '6':
0
951 case '7':
executed 10 times by 2 tests: case '7':
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
10
952 case '8':
never executed: case '8':
0
953 case '9':
never executed: case '9':
0
954 _errorCode = IllegalEscapeSequence;-
955 _errorMessage = QCoreApplication::translate("QQmlParser", "Octal escape sequences are not allowed");-
956 return T_ERROR;
executed 126 times by 4 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
126
957-
958 case '\r':
executed 44 times by 4 tests: case '\r':
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
44
959 case '\n':
executed 6512 times by 5 tests: case '\n':
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquicklayouts
  • tst_qquickshadereffect
6512
960 case 0x2028u:
executed 6 times by 2 tests: case 0x2028u:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
6
961 case 0x2029u:
executed 6 times by 2 tests: case 0x2029u:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
6
962 scanChar();-
963 continue;
executed 6568 times by 6 tests: continue;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicklayouts
  • tst_qquickshadereffect
6568
964-
965 default:
executed 6832 times by 4 tests: default:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
6832
966 // non escape character-
967 u = _char;-
968 scanChar();-
969 }
executed 6832 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
6832
970-
971 _tokenText += u;-
972 } else {
executed 203528 times by 15 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
203528
973 _tokenText += _char;-
974 scanChar();-
975 }
executed 1961194 times by 17 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickfocusscope
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1961194
976 }-
977-
978 _errorCode = UnclosedStringLiteral;-
979 _errorMessage = QCoreApplication::translate("QQmlParser", "Unclosed string at end of line");-
980 return T_ERROR;
executed 329 times by 4 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlparser
329
981}-
982-
983int Lexer::scanNumber(QChar ch)-
984{-
985 if (ch == QLatin1Char('0')) {
ch == QLatin1Char('0')Description
TRUEevaluated 547865 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
FALSEevaluated 1896920 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
547865-1896920
986 if (_char == QLatin1Char('x') || _char == QLatin1Char('X')) {
_char == QLatin1Char('x')Description
TRUEevaluated 85279 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 462499 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
_char == QLatin1Char('X')Description
TRUEevaluated 1033 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 461378 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
1033-462499
987 ch = _char; // remember the x or X to use it in the error message below.-
988-
989 // parse hex integer literal-
990 scanChar(); // consume 'x'-
991-
992 if (!isHexDigit(_char)) {
!isHexDigit(_char)Description
TRUEevaluated 40 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 86271 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
40-86271
993 _errorCode = IllegalNumber;-
994 _errorMessage = QCoreApplication::translate("QQmlParser", "At least one hexadecimal digit is required after '0%1'").arg(ch);-
995 return T_ERROR;
executed 40 times by 4 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
40
996 }-
997-
998 double d = 0.;-
999 while (1) {-
1000 int digit = ::hexDigit(_char);-
1001 if (digit < 0)
digit < 0Description
TRUEevaluated 86269 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 457045 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
86269-457045
1002 break;
executed 86268 times by 7 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
86268
1003 d *= 16;-
1004 d += digit;-
1005 scanChar();-
1006 }
executed 457052 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
457052
1007-
1008 _tokenValue = d;-
1009 return T_NUMERIC_LITERAL;
executed 86269 times by 7 tests: return T_NUMERIC_LITERAL;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
86269
1010 } else if (_char == QLatin1Char('o') || _char == QLatin1Char('O')) {
_char == QLatin1Char('o')Description
TRUEevaluated 172 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 461558 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
_char == QLatin1Char('O')Description
TRUEevaluated 74 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 461867 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
74-461867
1011 ch = _char; // remember the o or O to use it in the error message below.-
1012-
1013 // parse octal integer literal-
1014 scanChar(); // consume 'o'-
1015-
1016 if (!isOctalDigit(_char.unicode())) {
!isOctalDigit(_char.unicode())Description
TRUEevaluated 18 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 228 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
18-228
1017 _errorCode = IllegalNumber;-
1018 _errorMessage = QCoreApplication::translate("QQmlParser", "At least one octal digit is required after '0%1'").arg(ch);-
1019 return T_ERROR;
executed 18 times by 3 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
18
1020 }-
1021-
1022 double d = 0.;-
1023 while (1) {-
1024 int digit = ::octalDigit(_char);-
1025 if (digit < 0)
digit < 0Description
TRUEevaluated 228 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 440 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
228-440
1026 break;
executed 228 times by 3 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
228
1027 d *= 8;-
1028 d += digit;-
1029 scanChar();-
1030 }
executed 440 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
440
1031-
1032 _tokenValue = d;-
1033 return T_NUMERIC_LITERAL;
executed 228 times by 3 tests: return T_NUMERIC_LITERAL;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
228
1034 } else if (_char == QLatin1Char('b') || _char == QLatin1Char('B')) {
_char == QLatin1Char('b')Description
TRUEevaluated 186 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 461939 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
_char == QLatin1Char('B')Description
TRUEevaluated 50 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 461426 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
50-461939
1035 ch = _char; // remember the b or B to use it in the error message below.-
1036-
1037 // parse binary integer literal-
1038 scanChar(); // consume 'b'-
1039-
1040 if (_char.unicode() != '0' && _char.unicode() != '1') {
_char.unicode() != '0'Description
TRUEevaluated 146 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 90 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
_char.unicode() != '1'Description
TRUEevaluated 18 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 128 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
18-146
1041 _errorCode = IllegalNumber;-
1042 _errorMessage = QCoreApplication::translate("QQmlParser", "At least one binary digit is required after '0%1'").arg(ch);-
1043 return T_ERROR;
executed 18 times by 3 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
18
1044 }-
1045-
1046 double d = 0.;-
1047 while (1) {-
1048 int digit = 0;-
1049 if (_char.unicode() == '1')
_char.unicode() == '1'Description
TRUEevaluated 236 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 446 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
236-446
1050 digit = 1;
executed 236 times by 3 tests: digit = 1;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
236
1051 else if (_char.unicode() != '0')
_char.unicode() != '0'Description
TRUEevaluated 218 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 228 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
218-228
1052 break;
executed 218 times by 3 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
218
1053 d *= 2;-
1054 d += digit;-
1055 scanChar();-
1056 }
executed 464 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
464
1057-
1058 _tokenValue = d;-
1059 return T_NUMERIC_LITERAL;
executed 218 times by 3 tests: return T_NUMERIC_LITERAL;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
218
1060 } else if (_char.isDigit() && !qmlMode()) {
_char.isDigit()Description
TRUEevaluated 195 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 461594 times by 88 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
!qmlMode()Description
TRUEevaluated 92 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 103 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicklayouts
  • tst_qquickpathview
92-461594
1061 _errorCode = IllegalCharacter;-
1062 _errorMessage = QCoreApplication::translate("QQmlParser", "Decimal numbers can't start with '0'");-
1063 return T_ERROR;
executed 92 times by 2 tests: return T_ERROR;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
92
1064 }-
1065 }
executed 460514 times by 88 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
460514
1066-
1067 // decimal integer literal-
1068 QVarLengthArray<char,32> chars;-
1069 chars.append(ch.unicode());-
1070-
1071 if (ch != QLatin1Char('.')) {
ch != QLatin1Char('.')Description
TRUEevaluated 2354795 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 2283 times by 13 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextedit
2283-2354795
1072 while (_char.isDigit()) {
_char.isDigit()Description
TRUEevaluated 2286425 times by 125 tests
Evaluated by:
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • ...
FALSEevaluated 2355923 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
2286425-2355923
1073 chars.append(_char.unicode());-
1074 scanChar(); // consume the digit-
1075 }
executed 2286419 times by 125 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • ...
2286419
1076-
1077 if (_char == QLatin1Char('.')) {
_char == QLatin1Char('.')Description
TRUEevaluated 305696 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 2051224 times by 134 tests
Evaluated by:
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
305696-2051224
1078 chars.append(_char.unicode());-
1079 scanChar(); // consume `.'-
1080 }
executed 305714 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
305714
1081 }
executed 2357010 times by 147 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
2357010
1082-
1083 while (_char.isDigit()) {
_char.isDigit()Description
TRUEevaluated 683067 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
FALSEevaluated 2357361 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
683067-2357361
1084 chars.append(_char.unicode());-
1085 scanChar();-
1086 }
executed 683066 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
683066
1087-
1088 if (_char == QLatin1Char('e') || _char == QLatin1Char('E')) {
_char == QLatin1Char('e')Description
TRUEevaluated 36428 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
FALSEevaluated 2320761 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
_char == QLatin1Char('E')Description
TRUEevaluated 1921 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 2319826 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
1921-2320761
1089 if (_codePtr[0].isDigit() || ((_codePtr[0] == QLatin1Char('+') || _codePtr[0] == QLatin1Char('-')) &&
_codePtr[0].isDigit()Description
TRUEevaluated 2960 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickflickable
FALSEevaluated 35379 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
_codePtr[0] ==...atin1Char('+')Description
TRUEevaluated 33687 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 1701 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
_codePtr[0] ==...atin1Char('-')Description
TRUEevaluated 1701 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
FALSEnever evaluated
0-35379
1090 _codePtr[1].isDigit())) {
_codePtr[1].isDigit()Description
TRUEevaluated 35381 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
FALSEnever evaluated
0-35381
1091-
1092 chars.append(_char.unicode());-
1093 scanChar(); // consume `e'-
1094-
1095 if (_char == QLatin1Char('+') || _char == QLatin1Char('-')) {
_char == QLatin1Char('+')Description
TRUEevaluated 33687 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 4660 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
_char == QLatin1Char('-')Description
TRUEevaluated 1701 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
FALSEevaluated 2959 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qquickflickable
1701-33687
1096 chars.append(_char.unicode());-
1097 scanChar(); // consume the sign-
1098 }
executed 35383 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
35383
1099-
1100 while (_char.isDigit()) {
_char.isDigit()Description
TRUEevaluated 74261 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
FALSEevaluated 38341 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
38341-74261
1101 chars.append(_char.unicode());-
1102 scanChar();-
1103 }
executed 74261 times by 8 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
74261
1104 }
executed 38344 times by 8 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
38344
1105 }
executed 38347 times by 8 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquickanimationcontroller
  • tst_qquickflickable
38347
1106-
1107 chars.append('\0');-
1108-
1109 const char *begin = chars.constData();-
1110 const char *end = nullptr;-
1111 bool ok = false;-
1112-
1113 _tokenValue = qstrtod(begin, &end, &ok);-
1114-
1115 if (end - begin != chars.size() - 1) {
end - begin !=...ars.size() - 1Description
TRUEnever evaluated
FALSEevaluated 2359543 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
0-2359543
1116 _errorCode = IllegalExponentIndicator;-
1117 _errorMessage = QCoreApplication::translate("QQmlParser", "Illegal syntax for exponential number");-
1118 return T_ERROR;
never executed: return T_ERROR;
0
1119 }-
1120-
1121 return T_NUMERIC_LITERAL;
executed 2357415 times by 147 tests: return T_NUMERIC_LITERAL;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
2357415
1122}-
1123-
1124bool Lexer::scanRegExp(RegExpBodyPrefix prefix)-
1125{-
1126 _tokenText.resize(0);-
1127 _validTokenText = true;-
1128 _patternFlags = 0;-
1129-
1130 if (prefix == EqualPrefix)
prefix == EqualPrefixDescription
TRUEevaluated 14 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 1071207 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
14-1071207
1131 _tokenText += QLatin1Char('=');
executed 14 times by 3 tests: _tokenText += QLatin1Char('=');
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
14
1132-
1133 while (true) {-
1134 switch (_char.unicode()) {-
1135 case '/':
executed 1071410 times by 10 tests: case '/':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
1071410
1136 scanChar();-
1137-
1138 // scan the flags-
1139 _patternFlags = 0;-
1140 while (isIdentLetter(_char)) {
isIdentLetter(_char)Description
TRUEevaluated 11599 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
FALSEevaluated 1069711 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
11599-1069711
1141 int flag = regExpFlagFromChar(_char);-
1142 if (flag == 0 || _patternFlags & flag) {
flag == 0Description
TRUEevaluated 1200 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 10399 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
_patternFlags & flagDescription
TRUEevaluated 8 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 10391 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
8-10399
1143 _errorMessage = QCoreApplication::translate("QQmlParser", "Invalid regular expression flag '%0'")-
1144 .arg(QChar(_char));-
1145 return false;
executed 1208 times by 3 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
1208
1146 }-
1147 _patternFlags |= flag;-
1148 scanChar();-
1149 }
executed 10392 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
10392
1150-
1151 _tokenLength = _codePtr - _tokenStartPtr - 1;-
1152 return true;
executed 1069746 times by 10 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
1069746
1153-
1154 case '\\':
executed 540513 times by 7 tests: case '\\':
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
540513
1155 // regular expression backslash sequence-
1156 _tokenText += _char;-
1157 scanChar();-
1158-
1159 if (_codePtr > _endPtr || isLineTerminator()) {
_codePtr > _endPtrDescription
TRUEnever evaluated
FALSEevaluated 540511 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
isLineTerminator()Description
TRUEevaluated 60 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 540441 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
0-540511
1160 _errorMessage = QCoreApplication::translate("QQmlParser", "Unterminated regular expression backslash sequence");-
1161 return false;
executed 60 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
60
1162 }-
1163-
1164 _tokenText += _char;-
1165 scanChar();-
1166 break;
executed 540430 times by 7 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
540430
1167-
1168 case '[':
executed 7262 times by 7 tests: case '[':
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
7262
1169 // regular expression class-
1170 _tokenText += _char;-
1171 scanChar();-
1172-
1173 while (_codePtr <= _endPtr && ! isLineTerminator()) {
_codePtr <= _endPtrDescription
TRUEevaluated 27155 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
FALSEnever evaluated
! isLineTerminator()Description
TRUEevaluated 27142 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
0-27155
1174 if (_char == QLatin1Char(']'))
_char == QLatin1Char(']')Description
TRUEevaluated 7256 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
FALSEevaluated 19891 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
7256-19891
1175 break;
executed 7256 times by 7 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
7256
1176 else if (_char == QLatin1Char('\\')) {
_char == QLatin1Char('\\')Description
TRUEevaluated 5761 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
FALSEevaluated 14131 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
5761-14131
1177 // regular expression backslash sequence-
1178 _tokenText += _char;-
1179 scanChar();-
1180-
1181 if (_codePtr > _endPtr || isLineTerminator()) {
_codePtr > _endPtrDescription
TRUEnever evaluated
FALSEevaluated 5765 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
isLineTerminator()Description
TRUEnever evaluated
FALSEevaluated 5765 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
0-5765
1182 _errorMessage = QCoreApplication::translate("QQmlParser", "Unterminated regular expression backslash sequence");-
1183 return false;
never executed: return false;
0
1184 }-
1185-
1186 _tokenText += _char;-
1187 scanChar();-
1188 } else {
executed 5767 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlparser
5767
1189 _tokenText += _char;-
1190 scanChar();-
1191 }
executed 14131 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
14131
1192 }-
1193-
1194 if (_char != QLatin1Char(']')) {
_char != QLatin1Char(']')Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 7256 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
8-7256
1195 _errorMessage = QCoreApplication::translate("QQmlParser", "Unterminated regular expression class");-
1196 return false;
executed 8 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
8
1197 }-
1198-
1199 _tokenText += _char;-
1200 scanChar(); // skip ]-
1201 break;
executed 7254 times by 7 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qquicktextinput
7254
1202-
1203 default:
executed 1976235 times by 9 tests: default:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
1976235
1204 if (_codePtr > _endPtr || isLineTerminator()) {
_codePtr > _endPtrDescription
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 1976107 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
isLineTerminator()Description
TRUEevaluated 124 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 1976001 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
12-1976107
1205 _errorMessage = QCoreApplication::translate("QQmlParser", "Unterminated regular expression literal");-
1206 return false;
executed 136 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
136
1207 } else {-
1208 _tokenText += _char;-
1209 scanChar();-
1210 }
executed 1976108 times by 9 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
1976108
1211 } // switch-
1212 } // while-
1213-
1214 return false;
never executed: return false;
0
1215}-
1216-
1217bool Lexer::isLineTerminator() const-
1218{-
1219 const ushort unicode = _char.unicode();-
1220 return unicode == 0x000Au
executed 822481045 times by 148 tests: return unicode == 0x000Au || unicode == 0x000Du || unicode == 0x2028u || unicode == 0x2029u;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
822481045
1221 || unicode == 0x000Du
executed 822481045 times by 148 tests: return unicode == 0x000Au || unicode == 0x000Du || unicode == 0x2028u || unicode == 0x2029u;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
822481045
1222 || unicode == 0x2028u
executed 822481045 times by 148 tests: return unicode == 0x000Au || unicode == 0x000Du || unicode == 0x2028u || unicode == 0x2029u;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
822481045
1223 || unicode == 0x2029u;
executed 822481045 times by 148 tests: return unicode == 0x000Au || unicode == 0x000Du || unicode == 0x2028u || unicode == 0x2029u;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
822481045
1224}-
1225-
1226unsigned Lexer::isLineTerminatorSequence() const-
1227{-
1228 switch (_char.unicode()) {-
1229 case 0x000Au:
executed 24155738 times by 148 tests: case 0x000Au:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
24155738
1230 case 0x2028u:
executed 1132 times by 2 tests: case 0x2028u:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1132
1231 case 0x2029u:
executed 1144 times by 2 tests: case 0x2029u:
Executed by:
  • tst_ecmascripttests
  • tst_qqmlparser
1144
1232 return 1;
executed 24164639 times by 148 tests: return 1;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
24164639
1233 case 0x000Du:
executed 5235 times by 4 tests: case 0x000Du:
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
5235
1234 if (_codePtr->unicode() == 0x000Au)
_codePtr->unicode() == 0x000AuDescription
TRUEevaluated 4025 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1210 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
1210-4025
1235 return 2;
executed 4025 times by 3 tests: return 2;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
4025
1236 else-
1237 return 1;
executed 1210 times by 4 tests: return 1;
Executed by:
  • tst_ecmascripttests
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
1210
1238 default:
executed 592854880 times by 148 tests: default:
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
592854880
1239 return 0;
executed 592833280 times by 148 tests: return 0;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
592833280
1240 }-
1241}-
1242-
1243bool Lexer::isIdentLetter(QChar ch)-
1244{-
1245 // ASCII-biased, since all reserved words are ASCII, aand hence the-
1246 // bulk of content to be parsed.-
1247 if ((ch >= QLatin1Char('a') && ch <= QLatin1Char('z'))
ch >= QLatin1Char('a')Description
TRUEevaluated 11595 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
FALSEevaluated 1070028 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
ch <= QLatin1Char('z')Description
TRUEevaluated 11593 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlparser
2-1070028
1248 || (ch >= QLatin1Char('A') && ch <= QLatin1Char('Z'))
ch >= QLatin1Char('A')Description
TRUEevaluated 390 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
FALSEevaluated 1069460 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
ch <= QLatin1Char('Z')Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlparser
FALSEevaluated 384 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
6-1069460
1249 || ch == QLatin1Char('$')
ch == QLatin1Char('$')Description
TRUEnever evaluated
FALSEevaluated 1069985 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
0-1069985
1250 || ch == QLatin1Char('_'))
ch == QLatin1Char('_')Description
TRUEnever evaluated
FALSEevaluated 1069835 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
0-1069835
1251 return true;
executed 11599 times by 7 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
11599
1252 if (ch.unicode() < 128)
ch.unicode() < 128Description
TRUEevaluated 1069796 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
FALSEnever evaluated
0-1069796
1253 return false;
executed 1069828 times by 10 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlxmlhttprequest
  • tst_qquicktextinput
1069828
1254 return ch.isLetterOrNumber();
never executed: return ch.isLetterOrNumber();
0
1255}-
1256-
1257bool Lexer::isDecimalDigit(ushort c)-
1258{-
1259 return (c >= '0' && c <= '9');
executed 3641633 times by 139 tests: return (c >= '0' && c <= '9');
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
3641633
1260}-
1261-
1262bool Lexer::isHexDigit(QChar c)-
1263{-
1264 return ((c >= QLatin1Char('0') && c <= QLatin1Char('9'))
executed 178323 times by 7 tests: return ((c >= QLatin1Char('0') && c <= QLatin1Char('9')) || (c >= QLatin1Char('a') && c <= QLatin1Char('f')) || (c >= QLatin1Char('A') && c <= QLatin1Char('F')));
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
178323
1265 || (c >= QLatin1Char('a') && c <= QLatin1Char('f'))
executed 178323 times by 7 tests: return ((c >= QLatin1Char('0') && c <= QLatin1Char('9')) || (c >= QLatin1Char('a') && c <= QLatin1Char('f')) || (c >= QLatin1Char('A') && c <= QLatin1Char('F')));
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
178323
1266 || (c >= QLatin1Char('A') && c <= QLatin1Char('F')));
executed 178323 times by 7 tests: return ((c >= QLatin1Char('0') && c <= QLatin1Char('9')) || (c >= QLatin1Char('a') && c <= QLatin1Char('f')) || (c >= QLatin1Char('A') && c <= QLatin1Char('F')));
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
178323
1267}-
1268-
1269bool Lexer::isOctalDigit(ushort c)-
1270{-
1271 return (c >= '0' && c <= '7');
executed 246 times by 3 tests: return (c >= '0' && c <= '7');
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
246
1272}-
1273-
1274QString Lexer::tokenText() const-
1275{-
1276 if (_validTokenText)
_validTokenTextDescription
TRUEevaluated 16864 times by 1 test
Evaluated by:
  • tst_qmlmin
FALSEevaluated 8896309 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
16864-8896309
1277 return _tokenText;
executed 16864 times by 1 test: return _tokenText;
Executed by:
  • tst_qmlmin
16864
1278-
1279 if (_tokenKind == T_STRING_LITERAL)
_tokenKind == T_STRING_LITERALDescription
TRUEevaluated 393184 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 8503125 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
393184-8503125
1280 return QString(_tokenStartPtr + 1, _tokenLength - 2);
executed 393184 times by 3 tests: return QString(_tokenStartPtr + 1, _tokenLength - 2);
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
393184
1281-
1282 return QString(_tokenStartPtr, _tokenLength);
executed 8503125 times by 10 tests: return QString(_tokenStartPtr, _tokenLength);
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
8503125
1283}-
1284-
1285Lexer::Error Lexer::errorCode() const-
1286{-
1287 return _errorCode;
never executed: return _errorCode;
0
1288}-
1289-
1290QString Lexer::errorMessage() const-
1291{-
1292 return _errorMessage;
executed 1411 times by 3 tests: return _errorMessage;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlparser
1411
1293}-
1294-
1295void Lexer::syncProhibitAutomaticSemicolon()-
1296{-
1297 if (_parenthesesState == BalancedParentheses) {
_parenthesesSt...cedParenthesesDescription
TRUEevaluated 18961 times by 38 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
FALSEevaluated 19761732 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
18961-19761732
1298 // we have seen something like "if (foo)", which means we should-
1299 // never insert an automatic semicolon at this point, since it would-
1300 // then be expanded into an empty statement (ECMA-262 7.9.1)-
1301 _prohibitAutomaticSemicolon = true;-
1302 _parenthesesState = IgnoreParentheses;-
1303 } else {
executed 18961 times by 38 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlparser
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
18961
1304 _prohibitAutomaticSemicolon = false;-
1305 }
executed 19759225 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
19759225
1306}-
1307-
1308bool Lexer::prevTerminator() const-
1309{-
1310 return _terminator;
never executed: return _terminator;
0
1311}-
1312-
1313bool Lexer::followsClosingBrace() const-
1314{-
1315 return _followsClosingBrace;
never executed: return _followsClosingBrace;
0
1316}-
1317-
1318bool Lexer::canInsertAutomaticSemicolon(int token) const-
1319{-
1320 return token == T_RBRACE
executed 2964231 times by 148 tests: return token == T_RBRACE || token == EOF_SYMBOL || _terminator || _followsClosingBrace;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2964231
1321 || token == EOF_SYMBOL
executed 2964231 times by 148 tests: return token == T_RBRACE || token == EOF_SYMBOL || _terminator || _followsClosingBrace;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2964231
1322 || _terminator
executed 2964231 times by 148 tests: return token == T_RBRACE || token == EOF_SYMBOL || _terminator || _followsClosingBrace;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2964231
1323 || _followsClosingBrace;
executed 2964231 times by 148 tests: return token == T_RBRACE || token == EOF_SYMBOL || _terminator || _followsClosingBrace;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • ...
2964231
1324}-
1325-
1326static const int uriTokens[] = {-
1327 QQmlJSGrammar::T_IDENTIFIER,-
1328 QQmlJSGrammar::T_PROPERTY,-
1329 QQmlJSGrammar::T_SIGNAL,-
1330 QQmlJSGrammar::T_READONLY,-
1331 QQmlJSGrammar::T_ON,-
1332 QQmlJSGrammar::T_BREAK,-
1333 QQmlJSGrammar::T_CASE,-
1334 QQmlJSGrammar::T_CATCH,-
1335 QQmlJSGrammar::T_CONTINUE,-
1336 QQmlJSGrammar::T_DEFAULT,-
1337 QQmlJSGrammar::T_DELETE,-
1338 QQmlJSGrammar::T_DO,-
1339 QQmlJSGrammar::T_ELSE,-
1340 QQmlJSGrammar::T_FALSE,-
1341 QQmlJSGrammar::T_FINALLY,-
1342 QQmlJSGrammar::T_FOR,-
1343 QQmlJSGrammar::T_FUNCTION,-
1344 QQmlJSGrammar::T_IF,-
1345 QQmlJSGrammar::T_IN,-
1346 QQmlJSGrammar::T_OF,-
1347 QQmlJSGrammar::T_INSTANCEOF,-
1348 QQmlJSGrammar::T_NEW,-
1349 QQmlJSGrammar::T_NULL,-
1350 QQmlJSGrammar::T_RETURN,-
1351 QQmlJSGrammar::T_SWITCH,-
1352 QQmlJSGrammar::T_THIS,-
1353 QQmlJSGrammar::T_THROW,-
1354 QQmlJSGrammar::T_TRUE,-
1355 QQmlJSGrammar::T_TRY,-
1356 QQmlJSGrammar::T_TYPEOF,-
1357 QQmlJSGrammar::T_VAR,-
1358 QQmlJSGrammar::T_VOID,-
1359 QQmlJSGrammar::T_WHILE,-
1360 QQmlJSGrammar::T_CONST,-
1361 QQmlJSGrammar::T_DEBUGGER,-
1362 QQmlJSGrammar::T_RESERVED_WORD,-
1363 QQmlJSGrammar::T_WITH,-
1364-
1365 QQmlJSGrammar::EOF_SYMBOL-
1366};-
1367static inline bool isUriToken(int token)-
1368{-
1369 const int *current = uriTokens;-
1370 while (*current != QQmlJSGrammar::EOF_SYMBOL) {
*current != QQ...ar::EOF_SYMBOLDescription
TRUEevaluated 1107 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEevaluated 6 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6-1107
1371 if (*current == token)
*current == tokenDescription
TRUEevaluated 885 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEevaluated 222 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
222-885
1372 return true;
executed 885 times by 5 tests: return true;
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
885
1373 ++current;-
1374 }
executed 222 times by 3 tests: end of block
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
222
1375 return false;
executed 6 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6
1376}-
1377-
1378bool Lexer::scanDirectives(Directives *directives, DiagnosticMessage *error)-
1379{-
1380 Q_ASSERT(!_qmlMode);-
1381-
1382 lex(); // fetch the first token-
1383-
1384 if (_tokenKind != T_DOT)
_tokenKind != T_DOTDescription
TRUEevaluated 1777758 times by 22 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickworkerscript
  • tst_qv4assembler
  • tst_qv4debugger
FALSEevaluated 1138 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1138-1777758
1385 return true;
executed 1777209 times by 22 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmlmin
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickworkerscript
  • tst_qv4assembler
  • tst_qv4debugger
1777209
1386-
1387 do {-
1388 const int lineNumber = tokenStartLine();-
1389 const int column = tokenStartColumn();-
1390-
1391 lex(); // skip T_DOT-
1392-
1393 if (! (_tokenKind == T_IDENTIFIER || _tokenKind == T_RESERVED_WORD))
_tokenKind == T_IDENTIFIERDescription
TRUEevaluated 251 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 1585 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
_tokenKind == T_RESERVED_WORDDescription
TRUEevaluated 1585 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEnever evaluated
0-1585
1394 return true; // expected a valid QML/JS directive
never executed: return true;
0
1395-
1396 const QString directiveName = tokenText();-
1397-
1398 if (! (directiveName == QLatin1String("pragma") ||
directiveName ...ring("pragma")Description
TRUEevaluated 245 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 1591 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
245-1591
1399 directiveName == QLatin1String("import"))) {
directiveName ...ring("import")Description
TRUEevaluated 1585 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEevaluated 6 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6-1585
1400 error->message = QCoreApplication::translate("QQmlParser", "Syntax error");-
1401 error->loc.startLine = tokenStartLine();-
1402 error->loc.startColumn = tokenStartColumn();-
1403 return false; // not a valid directive name
executed 6 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6
1404 }-
1405-
1406 // it must be a pragma or an import directive.-
1407 if (directiveName == QLatin1String("pragma")) {
directiveName ...ring("pragma")Description
TRUEevaluated 245 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 1585 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
245-1585
1408 // .pragma library-
1409 if (! (lex() == T_IDENTIFIER && tokenText() == QLatin1String("library"))) {
lex() == T_IDENTIFIERDescription
TRUEevaluated 245 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEnever evaluated
tokenText() ==...ing("library")Description
TRUEevaluated 245 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEnever evaluated
0-245
1410 error->message = QCoreApplication::translate("QQmlParser", "Syntax error");-
1411 error->loc.startLine = tokenStartLine();-
1412 error->loc.startColumn = tokenStartColumn();-
1413 return false; // expected `library
never executed: return false;
0
1414 }-
1415-
1416 // we found a .pragma library directive-
1417 directives->pragmaLibrary();-
1418-
1419 } else {
executed 245 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
245
1420 Q_ASSERT(directiveName == QLatin1String("import"));-
1421 lex(); // skip .import-
1422-
1423 QString pathOrUri;-
1424 QString version;-
1425 bool fileImport = false; // file or uri import-
1426-
1427 if (_tokenKind == T_STRING_LITERAL) {
_tokenKind == T_STRING_LITERALDescription
TRUEevaluated 1124 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 461 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
461-1124
1428 // .import T_STRING_LITERAL as T_IDENTIFIER-
1429-
1430 fileImport = true;-
1431 pathOrUri = tokenText();-
1432-
1433 if (!pathOrUri.endsWith(QLatin1String("js"))) {
!pathOrUri.end...1String("js"))Description
TRUEevaluated 6 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1118 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6-1118
1434 error->message = QCoreApplication::translate("QQmlParser","Imported file must be a script");-
1435 error->loc.startLine = tokenStartLine();-
1436 error->loc.startColumn = tokenStartColumn();-
1437 return false;
executed 6 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6
1438 }-
1439-
1440 } else if (_tokenKind == T_IDENTIFIER) {
executed 1118 times by 3 tests: end of block
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
_tokenKind == T_IDENTIFIERDescription
TRUEevaluated 461 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEnever evaluated
0-1118
1441 // .import T_IDENTIFIER (. T_IDENTIFIER)* T_NUMERIC_LITERAL as T_IDENTIFIER-
1442-
1443 while (true) {-
1444 if (!isUriToken(_tokenKind)) {
!isUriToken(_tokenKind)Description
TRUEevaluated 6 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 885 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
6-885
1445 error->message = QCoreApplication::translate("QQmlParser","Invalid module URI");-
1446 error->loc.startLine = tokenStartLine();-
1447 error->loc.startColumn = tokenStartColumn();-
1448 return false;
executed 6 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
6
1449 }-
1450-
1451 pathOrUri.append(tokenText());-
1452-
1453 lex();-
1454 if (tokenStartLine() != lineNumber) {
tokenStartLine() != lineNumberDescription
TRUEnever evaluated
FALSEevaluated 885 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
0-885
1455 error->message = QCoreApplication::translate("QQmlParser","Invalid module URI");-
1456 error->loc.startLine = tokenStartLine();-
1457 error->loc.startColumn = tokenStartColumn();-
1458 return false;
never executed: return false;
0
1459 }-
1460 if (_tokenKind != QQmlJSGrammar::T_DOT)
_tokenKind != ...Grammar::T_DOTDescription
TRUEevaluated 455 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEevaluated 430 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
430-455
1461 break;
executed 455 times by 5 tests: break;
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
455
1462-
1463 pathOrUri.append(QLatin1Char('.'));-
1464-
1465 lex();-
1466 if (tokenStartLine() != lineNumber) {
tokenStartLine() != lineNumberDescription
TRUEnever evaluated
FALSEevaluated 430 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
0-430
1467 error->message = QCoreApplication::translate("QQmlParser","Invalid module URI");-
1468 error->loc.startLine = tokenStartLine();-
1469 error->loc.startColumn = tokenStartColumn();-
1470 return false;
never executed: return false;
0
1471 }-
1472 }
executed 430 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
430
1473-
1474 if (_tokenKind != T_NUMERIC_LITERAL) {
_tokenKind != ...UMERIC_LITERALDescription
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 443 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
12-443
1475 error->message = QCoreApplication::translate("QQmlParser","Module import requires a version");-
1476 error->loc.startLine = tokenStartLine();-
1477 error->loc.startColumn = tokenStartColumn();-
1478 return false; // expected the module version number
executed 12 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1479 }-
1480-
1481 version = tokenText();-
1482 }
executed 443 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
443
1483-
1484 //-
1485 // recognize the mandatory `as' followed by the module name-
1486 //-
1487 if (! (lex() == T_IDENTIFIER && tokenText() == QLatin1String("as") && tokenStartLine() == lineNumber)) {
lex() == T_IDENTIFIERDescription
TRUEevaluated 1549 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
tokenText() ==...n1String("as")Description
TRUEevaluated 1537 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
tokenStartLine() == lineNumberDescription
TRUEevaluated 1537 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
FALSEnever evaluated
0-1549
1488 if (fileImport)
fileImportDescription
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1489 error->message = QCoreApplication::translate("QQmlParser", "File import requires a qualifier");
executed 12 times by 3 tests: error->message = QCoreApplication::translate("QQmlParser", "File import requires a qualifier");
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1490 else-
1491 error->message = QCoreApplication::translate("QQmlParser", "Module import requires a qualifier");
executed 12 times by 3 tests: error->message = QCoreApplication::translate("QQmlParser", "Module import requires a qualifier");
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1492 if (tokenStartLine() != lineNumber) {
tokenStartLine() != lineNumberDescription
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1493 error->loc.startLine = lineNumber;-
1494 error->loc.startColumn = column;-
1495 } else {
executed 12 times by 3 tests: end of block
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1496 error->loc.startLine = tokenStartLine();-
1497 error->loc.startColumn = tokenStartColumn();-
1498 }
executed 12 times by 3 tests: end of block
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1499 return false; // expected `as'
executed 24 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
24
1500 }-
1501-
1502 if (lex() != T_IDENTIFIER || tokenStartLine() != lineNumber) {
lex() != T_IDENTIFIERDescription
TRUEnever evaluated
FALSEevaluated 1537 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
tokenStartLine() != lineNumberDescription
TRUEnever evaluated
FALSEevaluated 1537 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
0-1537
1503 if (fileImport)
fileImportDescription
TRUEnever evaluated
FALSEnever evaluated
0
1504 error->message = QCoreApplication::translate("QQmlParser", "File import requires a qualifier");
never executed: error->message = QCoreApplication::translate("QQmlParser", "File import requires a qualifier");
0
1505 else-
1506 error->message = QCoreApplication::translate("QQmlParser", "Module import requires a qualifier");
never executed: error->message = QCoreApplication::translate("QQmlParser", "Module import requires a qualifier");
0
1507 error->loc.startLine = tokenStartLine();-
1508 error->loc.startColumn = tokenStartColumn();-
1509 return false; // expected module name
never executed: return false;
0
1510 }-
1511-
1512 const QString module = tokenText();-
1513 if (!module.at(0).isUpper()) {
!module.at(0).isUpper()Description
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1525 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
12-1525
1514 error->message = QCoreApplication::translate("QQmlParser","Invalid import qualifier");-
1515 error->loc.startLine = tokenStartLine();-
1516 error->loc.startColumn = tokenStartColumn();-
1517 return false;
executed 12 times by 3 tests: return false;
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
12
1518 }-
1519-
1520 if (fileImport)
fileImportDescription
TRUEevaluated 1100 times by 3 tests
Evaluated by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 425 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
425-1100
1521 directives->importFile(pathOrUri, module, lineNumber, column);
executed 1100 times by 3 tests: directives->importFile(pathOrUri, module, lineNumber, column);
Executed by:
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
1100
1522 else-
1523 directives->importModule(pathOrUri, version, module, lineNumber, column);
executed 425 times by 5 tests: directives->importModule(pathOrUri, version, module, lineNumber, column);
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlsqldatabase
425
1524 }-
1525-
1526 if (tokenStartLine() != lineNumber) {
tokenStartLine() != lineNumberDescription
TRUEnever evaluated
FALSEevaluated 1770 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-1770
1527 error->message = QCoreApplication::translate("QQmlParser", "Syntax error");-
1528 error->loc.startLine = tokenStartLine();-
1529 error->loc.startColumn = tokenStartColumn();-
1530 return false; // the directives cannot span over multiple lines
never executed: return false;
0
1531 }-
1532-
1533 // fetch the first token after the .pragma/.import directive-
1534 lex();-
1535 } while (_tokenKind == T_DOT);
executed 1770 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
_tokenKind == T_DOTDescription
TRUEevaluated 698 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
FALSEevaluated 1072 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
698-1770
1536-
1537 return true;
executed 1072 times by 10 tests: return true;
Executed by:
  • tst_examples
  • tst_qmlmin
  • tst_qqmlecmascript
  • tst_qqmlparser
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1072
1538}-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0