OpenCoverage

qv4codegen.cpp #1

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qv4codegen.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5static const bool disable_lookups = false;-
6-
7-
8-
9-
10-
11-
12using namespace QV4;-
13using namespace QV4::Compiler;-
14using namespace QQmlJS::AST;-
15-
16static inline void setJumpOutLocation(QV4::Moth::BytecodeGenerator *bytecodeGenerator,-
17 const Statement *body, const SourceLocation &fallback)-
18{-
19 switch (body->kind) {-
20-
21-
22 case
never executed: case Statement::Kind_ConditionalExpression:
Statement::Kind_ConditionalExpression:
never executed: case Statement::Kind_ConditionalExpression:
0
23 case
never executed: case Statement::Kind_ForEachStatement:
Statement::Kind_ForEachStatement:
never executed: case Statement::Kind_ForEachStatement:
0
24 case
executed 1 time by 1 test: case Statement::Kind_ForStatement:
Executed by:
  • tst_examples
Statement::Kind_ForStatement:
executed 1 time by 1 test: case Statement::Kind_ForStatement:
Executed by:
  • tst_examples
1
25 case
executed 36 times by 6 tests: case Statement::Kind_IfStatement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_qv4debugger
Statement::Kind_IfStatement:
executed 36 times by 6 tests: case Statement::Kind_IfStatement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_qv4debugger
36
26 case
never executed: case Statement::Kind_WhileStatement:
Statement::Kind_WhileStatement:
never executed: case Statement::Kind_WhileStatement:
0
27 bytecodeGenerator->setLocation(fallback);-
28 break;
executed 37 times by 6 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_qv4debugger
37
29 default
executed 29394 times by 32 tests: default:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • 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
  • ...
:
executed 29394 times by 32 tests: default:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • 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
  • ...
29394
30 bytecodeGenerator->setLocation(body->lastSourceLocation());-
31 break;
executed 29519 times by 32 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • 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
  • ...
29519
32 }-
33}-
34-
35Codegen::Codegen(QV4::Compiler::JSUnitGenerator *jsUnitGenerator, bool strict)-
36 : _module(nullptr)-
37 , _returnAddress(-1)-
38 , _context(nullptr)-
39 , _labelledStatement(nullptr)-
40 , jsUnitGenerator(jsUnitGenerator)-
41 , _strictMode(strict)-
42 , _fileNameIsUrl(false)-
43 , hasError(false)-
44{-
45 jsUnitGenerator->codeGeneratorName = ([]() noexcept -> QString { enum { Size = sizeof(u"" "moth")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "moth" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }());-
46}
executed 2337644 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
2337644
47-
48void Codegen::generateFromProgram(const QString &fileName,-
49 const QString &finalUrl,-
50 const QString &sourceCode,-
51 Program *node,-
52 Module *module,-
53 ContextType contextType)-
54{-
55 ((node) ? static_cast<void>(0) : qt_assert("node", __FILE__, 111));-
56-
57 _module = module;-
58 _context = nullptr;-
59-
60-
61 _module->fileName = fileName;-
62 _module->finalUrl = finalUrl;-
63-
64 ScanFunctions scan(this, sourceCode, contextType);-
65 scan(node);-
66-
67 if (hasError
hasErrorDescription
TRUEevaluated 803 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 2287541 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • ...
)
803-2287541
68 return;
executed 804 times by 2 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
804
69-
70 defineFunction(([]() noexcept -> QString { enum { Size = sizeof(u"" "%entry")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "%entry" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 2287485 times by 40 tests: return qstring_literal_temp;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • ...
qstring_literal_temp;
executed 2287485 times by 40 tests: return qstring_literal_temp;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • ...
}()), node, nullptr, node->statements);
2287485
71}
executed 2288407 times by 40 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • ...
2288407
72-
73void Codegen::enterContext(Node *node)-
74{-
75 _context = _module->contextMap.value(node);-
76 ((_context) ? static_cast<void>(0) : qt_assert("_context", __FILE__, 132));-
77}
executed 5192762 times by 139 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
5192762
78-
79int Codegen::leaveContext()-
80{-
81 ((_context) ? static_cast<void>(0) : qt_assert("_context", __FILE__, 137));-
82 int functionIndex = _context->functionIndex;-
83 _context = _context->parent;-
84 return
executed 5176091 times by 139 tests: return functionIndex;
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
functionIndex;
executed 5176091 times by 139 tests: return functionIndex;
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
5176091
85}-
86-
87Context *Codegen::enterBlock(Node *node)-
88{-
89 enterContext(node);-
90 return
executed 1789340 times by 76 tests: return _context;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • 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
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • ...
_context;
executed 1789340 times by 76 tests: return _context;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • 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
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • ...
1789340
91}-
92-
93Codegen::Reference Codegen::unop(UnaryOperation op, const Reference &expr)-
94{-
95 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 272711 times by 59 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • ...
)
0-272711
96 return
never executed: return _expr.result();
_expr.result();
never executed: return _expr.result();
0
97-
98-
99 if (expr.isConstant()
expr.isConstant()Description
TRUEevaluated 53445 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 219914 times by 55 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
) {
53445-219914
100 auto v = Value::fromReturnedValue(expr.constant);-
101 if (v.isNumber()
v.isNumber()Description
TRUEevaluated 53205 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 254 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
) {
254-53205
102 switch (op) {-
103 case
executed 84 times by 2 tests: case Not:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
Not:
executed 84 times by 2 tests: case Not:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
84
104 return
executed 84 times by 2 tests: return Reference::fromConst(this, Encode(!v.toBoolean()));
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
Reference::fromConst(this, Encode(!v.toBoolean()));
executed 84 times by 2 tests: return Reference::fromConst(this, Encode(!v.toBoolean()));
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
84
105 case
executed 51680 times by 21 tests: case UMinus:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
UMinus:
executed 51680 times by 21 tests: case UMinus:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
51680
106 return
executed 51648 times by 21 tests: return Reference::fromConst(this, Runtime::method_uMinus(v));
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
Reference::fromConst(this, Runtime::method_uMinus(v));
executed 51648 times by 21 tests: return Reference::fromConst(this, Runtime::method_uMinus(v));
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
51648
107 case
executed 1116 times by 2 tests: case UPlus:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
UPlus:
executed 1116 times by 2 tests: case UPlus:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
1116
108 return
executed 1116 times by 2 tests: return expr;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
expr;
executed 1116 times by 2 tests: return expr;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
1116
109 case
executed 292 times by 1 test: case Compl:
Executed by:
  • tst_ecmascripttests
Compl:
executed 292 times by 1 test: case Compl:
Executed by:
  • tst_ecmascripttests
292
110 return
executed 292 times by 1 test: return Reference::fromConst(this, Encode((int)~v.toInt32()));
Executed by:
  • tst_ecmascripttests
Reference::fromConst(this, Encode((int)~v.toInt32()));
executed 292 times by 1 test: return Reference::fromConst(this, Encode((int)~v.toInt32()));
Executed by:
  • tst_ecmascripttests
292
111 default
never executed: default:
:
never executed: default:
0
112 break;
never executed: break;
0
113 }-
114 }-
115 }
executed 254 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
254
116-
117-
118 switch (op) {-
119 case
executed 3893 times by 10 tests: case UMinus:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_scenegraph
UMinus:
executed 3893 times by 10 tests: case UMinus:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_scenegraph
{
3893
120 expr.loadInAccumulator();-
121 Instruction::UMinus uminus;-
122 bytecodeGenerator->addInstruction(uminus);-
123 return
executed 3894 times by 10 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_scenegraph
Reference::fromAccumulator(this);
executed 3894 times by 10 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_scenegraph
3894
124 }-
125 case
executed 1793 times by 3 tests: case UPlus:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
UPlus:
executed 1793 times by 3 tests: case UPlus:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
{
1793
126 expr.loadInAccumulator();-
127 Instruction::UPlus uplus;-
128 bytecodeGenerator->addInstruction(uplus);-
129 return
executed 1793 times by 3 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
Reference::fromAccumulator(this);
executed 1793 times by 3 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
1793
130 }-
131 case
executed 192849 times by 33 tests: case Not:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • 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
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
Not:
executed 192849 times by 33 tests: case Not:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • 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
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
{
192849
132 expr.loadInAccumulator();-
133 Instruction::UNot unot;-
134 bytecodeGenerator->addInstruction(unot);-
135 return
executed 194851 times by 33 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • 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
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
Reference::fromAccumulator(this);
executed 194851 times by 33 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • 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
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
194851
136 }-
137 case
executed 314 times by 4 tests: case Compl:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
Compl:
executed 314 times by 4 tests: case Compl:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
{
314
138 expr.loadInAccumulator();-
139 Instruction::UCompl ucompl;-
140 bytecodeGenerator->addInstruction(ucompl);-
141 return
executed 314 times by 4 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
Reference::fromAccumulator(this);
executed 314 times by 4 tests: return Reference::fromAccumulator(this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
314
142 }-
143 case
executed 13004 times by 28 tests: case PostIncrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • ...
PostIncrement:
executed 13004 times by 28 tests: case PostIncrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • ...
13004
144 if (!_expr.accept(nx)
!_expr.accept(nx)Description
TRUEevaluated 958 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 12046 times by 27 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktableview
  • ...
|| requiresReturnValue
requiresReturnValueDescription
TRUEevaluated 1619 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 10429 times by 27 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktableview
  • ...
) {
958-12046
145 Reference e = expr.asLValue();-
146 e.loadInAccumulator();-
147 Instruction::UPlus uplus;-
148 bytecodeGenerator->addInstruction(uplus);-
149 Reference originalValue = Reference::fromStackSlot(this).storeRetainAccumulator();-
150 Instruction::Increment inc;-
151 bytecodeGenerator->addInstruction(inc);-
152 e.storeConsumeAccumulator();-
153 return
executed 2576 times by 9 tests: return originalValue;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
originalValue;
executed 2576 times by 9 tests: return originalValue;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
2576
154 } else {-
155-
156-
157 (void)0;-
158 }
executed 10428 times by 27 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktableview
  • ...
10428
159 case
executed 5126 times by 32 tests: case PreIncrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
PreIncrement:
executed 5126 times by 32 tests: case PreIncrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
code before this statement executed 10428 times by 27 tests: case PreIncrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktableview
  • ...
{
5126-10428
160 Reference e = expr.asLValue();-
161 e.loadInAccumulator();-
162 Instruction::Increment inc;-
163 bytecodeGenerator->addInstruction(inc);-
164 if (_expr.accept(nx)
_expr.accept(nx)Description
TRUEevaluated 14915 times by 42 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • ...
FALSEevaluated 676 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qquickbehaviors
  • tst_signalspy
)
676-14915
165 return
executed 14911 times by 42 tests: return e.storeConsumeAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • ...
e.storeConsumeAccumulator();
executed 14911 times by 42 tests: return e.storeConsumeAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnativeconnector
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • ...
14911
166 else-
167 return
executed 676 times by 7 tests: return e.storeRetainAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qquickbehaviors
  • tst_signalspy
e.storeRetainAccumulator();
executed 676 times by 7 tests: return e.storeRetainAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qquickbehaviors
  • tst_signalspy
676
168 }-
169 case
executed 445 times by 8 tests: case PostDecrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
PostDecrement:
executed 445 times by 8 tests: case PostDecrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
445
170 if (!_expr.accept(nx)
!_expr.accept(nx)Description
TRUEevaluated 128 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qquicklistview
FALSEevaluated 317 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
|| requiresReturnValue
requiresReturnValueDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 313 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
) {
4-317
171 Reference e = expr.asLValue();-
172 e.loadInAccumulator();-
173 Instruction::UPlus uplus;-
174 bytecodeGenerator->addInstruction(uplus);-
175 Reference originalValue = Reference::fromStackSlot(this).storeRetainAccumulator();-
176 Instruction::Decrement dec;-
177 bytecodeGenerator->addInstruction(dec);-
178 e.storeConsumeAccumulator();-
179 return
executed 132 times by 3 tests: return originalValue;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qquicklistview
originalValue;
executed 132 times by 3 tests: return originalValue;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qquicklistview
132
180 } else {-
181-
182-
183 (void)0;-
184 }
executed 313 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
313
185 case
executed 694 times by 10 tests: case PreDecrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
PreDecrement:
executed 694 times by 10 tests: case PreDecrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
code before this statement executed 313 times by 7 tests: case PreDecrement:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
{
313-694
186 Reference e = expr.asLValue();-
187 e.loadInAccumulator();-
188 Instruction::Decrement dec;-
189 bytecodeGenerator->addInstruction(dec);-
190 if (_expr.accept(nx)
_expr.accept(nx)Description
TRUEevaluated 459 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
FALSEevaluated 235 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
)
235-459
191 return
executed 459 times by 10 tests: return e.storeConsumeAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
e.storeConsumeAccumulator();
executed 459 times by 10 tests: return e.storeConsumeAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktableview
459
192 else-
193 return
executed 235 times by 4 tests: return e.storeRetainAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
e.storeRetainAccumulator();
executed 235 times by 4 tests: return e.storeRetainAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
235
194 }-
195 }-
196-
197 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 253)); __builtin_unreachable(); } while (false);-
198}
never executed: end of block
0
199-
200void Codegen::addCJump()-
201{-
202 bytecodeGenerator->addCJumpInstruction(_expr.trueBlockFollowsCondition(),-
203 _expr.iftrue(), _expr.iffalse());-
204}
executed 1021943 times by 52 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • ...
1021943
205-
206void Codegen::accept(Node *node)-
207{-
208 if (hasError
hasErrorDescription
TRUEevaluated 4847 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 40202378 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
)
4847-40202378
209 return;
executed 4847 times by 1 test: return;
Executed by:
  • tst_ecmascripttests
4847
210-
211 if (node
nodeDescription
TRUEevaluated 40283727 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEnever evaluated
)
0-40283727
212 node->accept(this);
executed 40258802 times by 139 tests: node->accept(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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
40258802
213}
executed 40125496 times by 139 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
40125496
214-
215void Codegen::statement(Statement *ast)-
216{-
217 RegisterScope scope(this);-
218-
219 bytecodeGenerator->setLocation(ast->firstSourceLocation());-
220-
221 VolatileMemoryLocations vLocs = scanVolatileMemoryLocations(ast);-
222 qSwap(_volatileMemoryLocations, vLocs);-
223 accept(ast);-
224 qSwap(_volatileMemoryLocations, vLocs);-
225}
executed 9968966 times by 139 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
9968966
226-
227void Codegen::statement(ExpressionNode *ast)-
228{-
229 RegisterScope scope(this);-
230-
231 if (! ast
! astDescription
TRUEevaluated 1302 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
FALSEevaluated 3579790 times by 96 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
) {
1302-3579790
232 return;
executed 1302 times by 3 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
1302
233 } else {-
234 Result r(nx);-
235 qSwap(_expr, r);-
236 VolatileMemoryLocations vLocs = scanVolatileMemoryLocations(ast);-
237 qSwap(_volatileMemoryLocations, vLocs);-
238-
239 accept(ast);-
240-
241 qSwap(_volatileMemoryLocations, vLocs);-
242 qSwap(_expr, r);-
243-
244 if (hasError
hasErrorDescription
TRUEevaluated 826 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 3573730 times by 96 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
)
826-3573730
245 return;
executed 826 times by 2 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
826
246 if (r.result().loadTriggersSideEffect()
r.result().loa...rsSideEffect()Description
TRUEevaluated 3867 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickdraghandler
  • tst_qquickrepeater
FALSEevaluated 3566835 times by 96 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
)
3867-3566835
247 r.result().loadInAccumulator();
executed 3870 times by 9 tests: r.result().loadInAccumulator();
Executed by:
  • tst_ecmascripttests
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickdraghandler
  • tst_qquickrepeater
3870
248 }
executed 3571032 times by 96 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
3571032
249}-
250-
251void Codegen::condition(ExpressionNode *ast, const BytecodeGenerator::Label *iftrue,-
252 const BytecodeGenerator::Label *iffalse, bool trueBlockFollowsCondition)-
253{-
254 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 1490192 times by 70 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_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
)
0-1490192
255 return;
never executed: return;
0
256-
257 if (!ast
!astDescription
TRUEevaluated 371 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
FALSEevaluated 1490770 times by 70 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_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
)
371-1490770
258 return;
executed 371 times by 3 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
371
259-
260 Result r(iftrue, iffalse, trueBlockFollowsCondition);-
261 qSwap(_expr, r);-
262 accept(ast);-
263 qSwap(_expr, r);-
264-
265 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 1494532 times by 70 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_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
)
0-1494532
266 return;
never executed: return;
0
267-
268 if (r.format() == ex
r.format() == exDescription
TRUEevaluated 355515 times by 55 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • ...
FALSEevaluated 1136088 times by 56 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
) {
355515-1136088
269 ((iftrue == r.iftrue()) ? static_cast<void>(0) : qt_assert("iftrue == r.iftrue()", __FILE__, 325));-
270 ((iffalse == r.iffalse()) ? static_cast<void>(0) : qt_assert("iffalse == r.iffalse()", __FILE__, 326));-
271 ((r.result().isValid()) ? static_cast<void>(0) : qt_assert("r.result().isValid()", __FILE__, 327));-
272 bytecodeGenerator->setLocation(ast->firstSourceLocation());-
273 r.result().loadInAccumulator();-
274 if (r.trueBlockFollowsCondition()
r.trueBlockFollowsCondition()Description
TRUEevaluated 353643 times by 55 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • ...
FALSEevaluated 899 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
)
899-353643
275 bytecodeGenerator->jumpFalse().link(*r.iffalse());
executed 353982 times by 55 tests: bytecodeGenerator->jumpFalse().link(*r.iffalse());
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • ...
353982
276 else-
277 bytecodeGenerator->jumpTrue().link(*r.iftrue());
executed 900 times by 10 tests: bytecodeGenerator->jumpTrue().link(*r.iftrue());
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
900
278 }-
279}
executed 1489266 times by 70 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
1489266
280-
281Codegen::Reference Codegen::expression(ExpressionNode *ast)-
282{-
283 Result r;-
284 if (ast
astDescription
TRUEevaluated 24957086 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEnever evaluated
) {
0-24957086
285 qSwap(_expr, r);-
286 accept(ast);-
287 qSwap(_expr, r);-
288 }
executed 24988535 times by 139 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
24988535
289 return
executed 25005839 times by 139 tests: return r.result();
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
r.result();
executed 25005839 times by 139 tests: return r.result();
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
25005839
290}-
291-
292void Codegen::program(Program *ast)-
293{-
294 if (ast
astDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
295 statementList(ast->statements);-
296 }
never executed: end of block
0
297}
never executed: end of block
0
298-
299enum class CompletionState {-
300 Empty,-
301 EmptyAbrupt,-
302 NonEmpty-
303};-
304-
305static CompletionState completionState(StatementList *list)-
306{-
307 for (StatementList *it = list; it
itDescription
TRUEevaluated 3261 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
FALSEevaluated 41 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlecmascript
; it = it->next) {
41-3261
308 if (it->statement->kind == Statement::Kind_BreakStatement
it->statement-...BreakStatementDescription
TRUEnever evaluated
FALSEevaluated 3261 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
||
0-3261
309 it->statement->kind == Statement::Kind_ContinueStatement
it->statement-...tinueStatementDescription
TRUEnever evaluated
FALSEevaluated 3261 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
)
0-3261
310 return
never executed: return CompletionState::EmptyAbrupt;
CompletionState::EmptyAbrupt;
never executed: return CompletionState::EmptyAbrupt;
0
311 if (it->statement->kind == Statement::Kind_EmptyStatement
it->statement-...EmptyStatementDescription
TRUEnever evaluated
FALSEevaluated 3261 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
||
0-3261
312 it->statement->kind == Statement::Kind_VariableDeclaration
it->statement-...bleDeclarationDescription
TRUEnever evaluated
FALSEevaluated 3261 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
||
0-3261
313 it->statement->kind == Statement::Kind_FunctionDeclaration
it->statement-...ionDeclarationDescription
TRUEevaluated 25 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlnotifier
FALSEevaluated 3236 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
)
25-3236
314 continue;
executed 25 times by 2 tests: continue;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlnotifier
25
315 if (it->statement->kind == Statement::Kind_Block
it->statement-...nt::Kind_BlockDescription
TRUEnever evaluated
FALSEevaluated 3236 times by 23 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
) {
0-3236
316 CompletionState subState = completionState(static_cast<Block *>(it->statement)->statements);-
317 if (subState != CompletionState::Empty
subState != Co...onState::EmptyDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
318 return
never executed: return subState;
subState;
never executed: return subState;
0
319 continue;
never executed: continue;
0
320 }-
321 return
executed 3236 times by 23 tests: return CompletionState::NonEmpty;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
CompletionState::NonEmpty;
executed 3236 times by 23 tests: return CompletionState::NonEmpty;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
3236
322 }-
323 return
executed 41 times by 4 tests: return CompletionState::Empty;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlecmascript
CompletionState::Empty;
executed 41 times by 4 tests: return CompletionState::Empty;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlecmascript
41
324}-
325-
326static Node *completionStatement(StatementList *list)-
327{-
328 Node *completionStatement = nullptr;-
329 for (StatementList *it = list; it
itDescription
TRUEevaluated 3791798 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 2364695 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
; it = it->next) {
2364695-3791798
330 if (it->statement->kind == Statement::Kind_BreakStatement
it->statement-...BreakStatementDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 3789583 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
32-3789583
331 it->statement->kind == Statement::Kind_ContinueStatement
it->statement-...tinueStatementDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 3793302 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
)
20-3793302
332 return
executed 52 times by 1 test: return completionStatement;
Executed by:
  • tst_ecmascripttests
completionStatement;
executed 52 times by 1 test: return completionStatement;
Executed by:
  • tst_ecmascripttests
52
333 if (it->statement->kind == Statement::Kind_ThrowStatement
it->statement-...ThrowStatementDescription
TRUEevaluated 1606 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qv4debugger
FALSEevaluated 3792251 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
1606-3792251
334 it->statement->kind == Statement::Kind_ReturnStatement
it->statement-...eturnStatementDescription
TRUEevaluated 2100 times by 6 tests
Evaluated by:
  • tst_parserstress
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmlnotifier
FALSEevaluated 3790635 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
)
2100-3790635
335 return
executed 3706 times by 9 tests: return it->statement;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qv4debugger
it->statement;
executed 3706 times by 9 tests: return it->statement;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qv4debugger
3706
336 if (it->statement->kind == Statement::Kind_EmptyStatement
it->statement-...EmptyStatementDescription
TRUEevaluated 1569 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 3788973 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
1569-3788973
337 it->statement->kind == Statement::Kind_VariableStatement
it->statement-...iableStatementDescription
TRUEevaluated 236053 times by 15 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlvaluetypes
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
  • tst_qv4debugger
FALSEevaluated 3552212 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
236053-3552212
338 it->statement->kind == Statement::Kind_FunctionDeclaration
it->statement-...ionDeclarationDescription
TRUEevaluated 289306 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4assembler
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 3264733 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
)
289306-3264733
339 continue;
executed 526182 times by 24 tests: continue;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4assembler
  • tst_qv4debugger
  • tst_testfiltering
526182
340 if (it->statement->kind == Statement::Kind_Block
it->statement-...nt::Kind_BlockDescription
TRUEevaluated 3277 times by 24 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
FALSEevaluated 3261561 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
) {
3277-3261561
341 CompletionState state = completionState(static_cast<Block *>(it->statement)->statements);-
342 switch (state) {-
343 case
executed 41 times by 4 tests: case CompletionState::Empty:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlecmascript
CompletionState::Empty:
executed 41 times by 4 tests: case CompletionState::Empty:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlecmascript
41
344 continue;
executed 41 times by 4 tests: continue;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconnections
  • tst_qqmlecmascript
41
345 case
never executed: case CompletionState::EmptyAbrupt:
CompletionState::EmptyAbrupt:
never executed: case CompletionState::EmptyAbrupt:
0
346 return
never executed: return it->statement;
it->statement;
never executed: return it->statement;
0
347 case
executed 3236 times by 23 tests: case CompletionState::NonEmpty:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
CompletionState::NonEmpty:
executed 3236 times by 23 tests: case CompletionState::NonEmpty:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
3236
348 break;
executed 3236 times by 23 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
3236
349 }-
350 }
executed 3236 times by 23 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
3236
351 completionStatement = it->statement;-
352 }
executed 3264811 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
3264811
353 return
executed 2364448 times by 136 tests: return completionStatement;
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
completionStatement;
executed 2364448 times by 136 tests: return completionStatement;
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
2364448
354}-
355-
356void Codegen::statementList(StatementList *ast)-
357{-
358 if (!ast
!astDescription
TRUEevaluated 90872 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 5105446 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
)
90872-5105446
359 return;
executed 90877 times by 25 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmlnotifier
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
90877
360-
361 bool _requiresReturnValue = requiresReturnValue;-
362-
363-
364 if (!controlFlow
!controlFlowDescription
TRUEevaluated 3372188 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 1729220 times by 76 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • 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
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • ...
|| !controlFlow->hasLoop()
!controlFlow->hasLoop()Description
TRUEevaluated 1676537 times by 76 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • 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
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 64166 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_signalspy
  • ...
)
64166-3372188
365 requiresReturnValue = false;
executed 5043812 times by 139 tests: requiresReturnValue = 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
5043812
366-
367 Node *needsCompletion = nullptr;-
368-
369 if (_requiresReturnValue
_requiresReturnValueDescription
TRUEevaluated 2373080 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 2732010 times by 97 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
&& !requiresReturnValue
!requiresReturnValueDescription
TRUEevaluated 2368095 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 6015 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickworkerscript
)
6015-2732010
370 needsCompletion = completionStatement(ast);
executed 2368443 times by 136 tests: needsCompletion = completionStatement(ast);
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
2368443
371-
372 if (requiresReturnValue
requiresReturnValueDescription
TRUEevaluated 6016 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickworkerscript
FALSEevaluated 5103169 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
&& !needsCompletion
!needsCompletionDescription
TRUEevaluated 6013 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickworkerscript
FALSEnever evaluated
&& !insideSwitch
!insideSwitchDescription
TRUEevaluated 5466 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickworkerscript
FALSEevaluated 539 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
) {
0-5103169
373-
374 Reference::fromConst(this, Encode::undefined()).storeOnStack(_returnAddress);-
375 }
executed 5467 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickworkerscript
5467
376-
377 bool _insideSwitch = insideSwitch;-
378 insideSwitch = false;-
379-
380 for (StatementList *it = ast; it
itDescription
TRUEevaluated 8571141 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 4257606 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
; it = it->next) {
4257606-8571141
381 if (it->statement == needsCompletion
it->statement ...eedsCompletionDescription
TRUEevaluated 2367178 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 6208315 times by 98 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
)
2367178-6208315
382 requiresReturnValue = true;
executed 2368871 times by 136 tests: requiresReturnValue = 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
2368871
383 if (Statement *s = it->statement->statementCast()
Statement *s =...tatementCast()Description
TRUEevaluated 8268870 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 295556 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4assembler
  • tst_qv4debugger
  • tst_testfiltering
)
295556-8268870
384 statement(s);
executed 8275932 times by 139 tests: statement(s);
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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
8275932
385 else-
386 statement(static_cast<ExpressionNode *>(it->statement));
executed 296245 times by 17 tests: statement(static_cast<ExpressionNode *>(it->statement));
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4assembler
  • tst_qv4debugger
  • tst_testfiltering
296245
387 if (it->statement == needsCompletion
it->statement ...eedsCompletionDescription
TRUEevaluated 2368354 times by 136 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
FALSEevaluated 6199777 times by 98 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
)
2368354-6199777
388 requiresReturnValue = false;
executed 2367325 times by 136 tests: requiresReturnValue = 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
2367325
389 if (it->statement->kind == Statement::Kind_ThrowStatement
it->statement-...ThrowStatementDescription
TRUEevaluated 95566 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 8474758 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
95566-8474758
390 it->statement->kind == Statement::Kind_BreakStatement
it->statement-...BreakStatementDescription
TRUEevaluated 17011 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 8474583 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
17011-8474583
391 it->statement->kind == Statement::Kind_ContinueStatement
it->statement-...tinueStatementDescription
TRUEevaluated 582 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 8466435 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
||
582-8466435
392 it->statement->kind == Statement::Kind_ReturnStatement
it->statement-...eturnStatementDescription
TRUEevaluated 750290 times by 47 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • 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
  • tst_qqmlproperty
  • ...
FALSEevaluated 7729644 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_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
)
750290-7729644
393-
394 break;
executed 862309 times by 48 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • 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
  • tst_qqmlproperty
  • ...
862309
395 }
executed 7724130 times by 139 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
7724130
396 requiresReturnValue = _requiresReturnValue;-
397 insideSwitch = _insideSwitch;-
398}
executed 5116787 times by 139 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • ...
5116787
399-
400void Codegen::variableDeclaration(PatternElement *ast)-
401{-
402 RegisterScope scope(this);-
403-
404 if (!ast->initializer
!ast->initializerDescription
TRUEevaluated 101653 times by 19 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquickrepeater
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 442360 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
)
101653-442360
405 return;
executed 101921 times by 19 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquickrepeater
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
101921
406 initializeAndDestructureBindingElement(ast, Reference(), true);-
407}
executed 443607 times by 50 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
443607
408-
409void Codegen::variableDeclarationList(VariableDeclarationList *ast)-
410{-
411 for (VariableDeclarationList *it = ast; it
itDescription
TRUEevaluated 544798 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
FALSEevaluated 543024 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
; it = it->next) {
543024-544798
412 variableDeclaration(it->declaration);-
413 }
executed 545849 times by 50 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
545849
414}
executed 543441 times by 50 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
543441
415-
416Codegen::Reference Codegen::targetForPatternElement(AST::PatternElement *p)-
417{-
418 if (!p->bindingIdentifier.isNull()
!p->bindingIdentifier.isNull()Description
TRUEevaluated 484679 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
FALSEevaluated 8716 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
8716-484679
419 return
executed 484371 times by 50 tests: return referenceForName(p->bindingIdentifier.toString(), true);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
referenceForName(p->bindingIdentifier.toString(), true);
executed 484371 times by 50 tests: return referenceForName(p->bindingIdentifier.toString(), true);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
484371
420 if (!p->bindingTarget
!p->bindingTargetDescription
TRUEnever evaluated
FALSEevaluated 8707 times by 1 test
Evaluated by:
  • tst_ecmascripttests
|| p->destructuringPattern()
p->destructuringPattern()Description
TRUEevaluated 8419 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 296 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-8707
421 return
executed 8417 times by 1 test: return Codegen::Reference::fromStackSlot(this);
Executed by:
  • tst_ecmascripttests
Codegen::Reference::fromStackSlot(this);
executed 8417 times by 1 test: return Codegen::Reference::fromStackSlot(this);
Executed by:
  • tst_ecmascripttests
8417
422 Reference lhs = expression(p->bindingTarget);-
423 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 296 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-296
424 return
never executed: return lhs;
lhs;
never executed: return lhs;
0
425 lhs = lhs.asLValue();-
426 return
executed 296 times by 1 test: return lhs;
Executed by:
  • tst_ecmascripttests
lhs;
executed 296 times by 1 test: return lhs;
Executed by:
  • tst_ecmascripttests
296
427}-
428-
429void Codegen::initializeAndDestructureBindingElement(AST::PatternElement *e, const Reference &base, bool isDefinition)-
430{-
431 ((e->type == AST::PatternElement::Binding || e->type == AST::PatternElement::RestElement) ? static_cast<void>(0) : qt_assert("e->type == AST::PatternElement::Binding || e->type == AST::PatternElement::RestElement", __FILE__, 487));-
432 RegisterScope scope(this);-
433 Reference baseRef = (
(base.isAccumulator())Description
TRUEevaluated 2807 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 491426 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
base.isAccumulator())
(base.isAccumulator())Description
TRUEevaluated 2807 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 491426 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
? base.storeOnStack() : base;
2807-491426
434 Reference varToStore = targetForPatternElement(e);-
435 if (isDefinition
isDefinitionDescription
TRUEevaluated 462526 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
FALSEevaluated 33452 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
33452-462526
436 varToStore.isReferenceToConst = false;
executed 461587 times by 50 tests: varToStore.isReferenceToConst = false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
461587
437 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 494810 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
)
0-494810
438 return;
never executed: return;
0
439-
440 if (e->initializer
e->initializerDescription
TRUEevaluated 460947 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
FALSEevaluated 33710 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
) {
33710-460947
441 if (!baseRef.isValid()
!baseRef.isValid()Description
TRUEevaluated 442963 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
FALSEevaluated 17388 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
17388-442963
442-
443 Reference expr = expression(e->initializer);-
444 if (hasError
hasErrorDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 444418 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
)
28-444418
445 return;
executed 28 times by 1 test: return;
Executed by:
  • tst_ecmascripttests
28
446 expr.loadInAccumulator();-
447 varToStore.storeConsumeAccumulator();-
448 }
executed 444357 times by 50 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
else if (baseRef == varToStore
baseRef == varToStoreDescription
TRUEevaluated 6460 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 10922 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
6460-444357
449 baseRef.loadInAccumulator();-
450 BytecodeGenerator::Jump jump = bytecodeGenerator->jumpNotUndefined();-
451 Reference expr = expression(e->initializer);-
452 if (hasError
hasErrorDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 6459 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
16-6459
453 jump.link();-
454 return;
executed 16 times by 1 test: return;
Executed by:
  • tst_ecmascripttests
16
455 }-
456 expr.loadInAccumulator();-
457 varToStore.storeConsumeAccumulator();-
458 jump.link();-
459 }
executed 6441 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else {
6441
460 baseRef.loadInAccumulator();-
461 BytecodeGenerator::Jump jump = bytecodeGenerator->jumpNotUndefined();-
462 Reference expr = expression(e->initializer);-
463 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 10946 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
0-10946
464 jump.link();-
465 return;
never executed: return;
0
466 }-
467 expr.loadInAccumulator();-
468 jump.link();-
469 varToStore.storeConsumeAccumulator();-
470 }
executed 10953 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
10953
471 } else if (baseRef != varToStore
baseRef != varToStoreDescription
TRUEevaluated 28669 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 4996 times by 1 test
Evaluated by:
  • tst_ecmascripttests
&& baseRef.isValid()
baseRef.isValid()Description
TRUEevaluated 28672 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
FALSEnever evaluated
) {
0-28672
472 baseRef.loadInAccumulator();-
473 varToStore.storeConsumeAccumulator();-
474 }
executed 28769 times by 12 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
28769
475 Pattern *p = e->destructuringPattern();-
476 if (!p
!pDescription
TRUEevaluated 476379 times by 50 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
FALSEevaluated 18266 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
18266-476379
477 return;
executed 476001 times by 50 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • ...
476001
478-
479 if (!varToStore.isStackSlot()
!varToStore.isStackSlot()Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 18275 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
10-18275
480 varToStore = varToStore.storeOnStack();
executed 10 times by 1 test: varToStore = varToStore.storeOnStack();
Executed by:
  • tst_ecmascripttests
10
481 if (PatternElementList *l = e->elementList()
PatternElement...>elementList()Description
TRUEevaluated 10574 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 7706 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
7706-10574
482 destructureElementList(varToStore, l, isDefinition);-
483 }
executed 10601 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else if (PatternPropertyList *p = e->propertyList()
PatternPropert...propertyList()Description
TRUEevaluated 6479 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1210 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
1210-10601
484 destructurePropertyList(varToStore, p, isDefinition);-
485 }
executed 6521 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else if (e->bindingTarget
e->bindingTargetDescription
TRUEevaluated 1212 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
) {
0-6521
486-
487 varToStore.loadInAccumulator();-
488 Instruction::ToObject toObject;-
489 bytecodeGenerator->addInstruction(toObject);-
490 return;
executed 1215 times by 1 test: return;
Executed by:
  • tst_ecmascripttests
1215
491 }-
492}
executed 17114 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
17114
493-
494Codegen::Reference Codegen::referenceForPropertyName(const Codegen::Reference &object, AST::PropertyName *name)-
495{-
496 AST::ComputedPropertyName *cname = AST::cast<AST::ComputedPropertyName *>(name);-
497 Reference property;-
498 if (cname
cnameDescription
TRUEevaluated 184 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 12341 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
184-12341
499 Reference computedName = expression(cname->expression);-
500 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 184 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-184
501 return
never executed: return Reference();
Reference();
never executed: return Reference();
0
502 computedName = computedName.storeOnStack();-
503 property = Reference::fromSubscript(object, computedName).asLValue();-
504 }
executed 184 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else {
184
505 QString propertyName = name->asString();-
506 property = Reference::fromMember(object, propertyName);-
507 }
executed 12361 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
12361
508 return
executed 12556 times by 1 test: return property;
Executed by:
  • tst_ecmascripttests
property;
executed 12556 times by 1 test: return property;
Executed by:
  • tst_ecmascripttests
12556
509}-
510-
511void Codegen::destructurePropertyList(const Codegen::Reference &object, PatternPropertyList *bindingList, bool isDefinition)-
512{-
513 RegisterScope scope(this);-
514-
515 for (PatternPropertyList *it = bindingList; it
itDescription
TRUEevaluated 12523 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 7094 times by 1 test
Evaluated by:
  • tst_ecmascripttests
; it = it->next) {
7094-12523
516 PatternProperty *p = it->property;-
517 RegisterScope scope(this);-
518 Reference property = referenceForPropertyName(object, p->name);-
519 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 12548 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-12548
520 return;
never executed: return;
0
521 initializeAndDestructureBindingElement(p, property, isDefinition);-
522 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 12562 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-12562
523 return;
never executed: return;
0
524 }
executed 12566 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
12566
525}
executed 7092 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
7092
526-
527void Codegen::destructureElementList(const Codegen::Reference &array, PatternElementList *bindingList, bool isDefinition)-
528{-
529 RegisterScope scope(this);-
530-
531 Reference iterator = Reference::fromStackSlot(this);-
532 Reference iteratorValue = Reference::fromStackSlot(this);-
533 Reference iteratorDone = Reference::fromStackSlot(this);-
534-
535 array.loadInAccumulator();-
536 Instruction::GetIterator iteratorObjInstr;-
537 iteratorObjInstr.iterator = 1;-
538 bytecodeGenerator->addInstruction(iteratorObjInstr);-
539 iterator.storeConsumeAccumulator();-
540-
541 bool hadNext = false;-
542 bool hasRest = false;-
543-
544 BytecodeGenerator::Label end = bytecodeGenerator->newLabel();-
545-
546 for (PatternElementList *p = bindingList; p
pDescription
TRUEevaluated 15842 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 11651 times by 1 test
Evaluated by:
  • tst_ecmascripttests
; p = p->next) {
11651-15842
547 PatternElement *e = p->element;-
548 for (Elision *elision = p->elision; elision
elisionDescription
TRUEevaluated 2049 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 15862 times by 1 test
Evaluated by:
  • tst_ecmascripttests
; elision = elision->next) {
2049-15862
549 iterator.loadInAccumulator();-
550 Instruction::IteratorNext next;-
551 next.value = iteratorValue.stackSlot();-
552 bytecodeGenerator->addInstruction(next);-
553 hadNext = true;-
554 bool last = !elision->next
!elision->nextDescription
TRUEevaluated 1680 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 371 times by 1 test
Evaluated by:
  • tst_ecmascripttests
&& !e
!eDescription
TRUEevaluated 1147 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 532 times by 1 test
Evaluated by:
  • tst_ecmascripttests
&& !p->next
!p->nextDescription
TRUEevaluated 1148 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
;
0-1680
555 if (last
lastDescription
TRUEevaluated 1143 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 903 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
903-1143
556 iteratorDone.storeConsumeAccumulator();
executed 1144 times by 1 test: iteratorDone.storeConsumeAccumulator();
Executed by:
  • tst_ecmascripttests
1144
557 }
executed 2051 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
2051
558-
559 if (!e
!eDescription
TRUEevaluated 1147 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 14674 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
1147-14674
560 continue;
executed 1146 times by 1 test: continue;
Executed by:
  • tst_ecmascripttests
1146
561-
562 hadNext = true;-
563 RegisterScope scope(this);-
564 iterator.loadInAccumulator();-
565-
566 if (e->type == PatternElement::RestElement
e->type == Pat...t::RestElementDescription
TRUEevaluated 2806 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 11900 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
2806-11900
567 bytecodeGenerator->addInstruction(Instruction::DestructureRestElement());-
568 initializeAndDestructureBindingElement(e, Reference::fromAccumulator(this), isDefinition);-
569 hasRest = true;-
570 }
executed 2810 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else {
2810
571 Instruction::IteratorNext next;-
572 next.value = iteratorValue.stackSlot();-
573 bytecodeGenerator->addInstruction(next);-
574 bool last = !p->next
!p->nextDescription
TRUEevaluated 7585 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4328 times by 1 test
Evaluated by:
  • tst_ecmascripttests
|| (!p->next->elision
!p->next->elisionDescription
TRUEevaluated 4265 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 59 times by 1 test
Evaluated by:
  • tst_ecmascripttests
&& !p->next->element
!p->next->elementDescription
TRUEnever evaluated
FALSEevaluated 4265 times by 1 test
Evaluated by:
  • tst_ecmascripttests
);
0-7585
575 if (last
lastDescription
TRUEevaluated 7588 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4329 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
4329-7588
576 iteratorDone.storeConsumeAccumulator();
executed 7572 times by 1 test: iteratorDone.storeConsumeAccumulator();
Executed by:
  • tst_ecmascripttests
7572
577 initializeAndDestructureBindingElement(e, iteratorValue, isDefinition);-
578 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 11939 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
0-11939
579 end.link();-
580 return;
never executed: return;
0
581 }-
582 }
executed 11934 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
11934
583 }-
584-
585 if (!hadNext
!hadNextDescription
TRUEevaluated 88 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 11565 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
88-11565
586 Reference::storeConstOnStack(this, Encode(false), iteratorDone.stackSlot());-
587 }
executed 88 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
88
588-
589 if (!hasRest
!hasRestDescription
TRUEevaluated 8843 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 2807 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
2807-8843
590 iterator.loadInAccumulator();-
591 Instruction::IteratorClose close;-
592 close.done = iteratorDone.stackSlot();-
593 bytecodeGenerator->addInstruction(close);-
594 }
executed 8847 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
8847
595-
596 end.link();-
597}
executed 11649 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
11649
598-
599void Codegen::destructurePattern(Pattern *p, const Reference &rhs)-
600{-
601 RegisterScope scope(this);-
602 if (auto *o = AST::cast<ObjectPattern *>(p)
auto *o = AST:...tPattern *>(p)Description
TRUEevaluated 577 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1047 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
577-1047
603 destructurePropertyList(rhs, o->properties);
executed 577 times by 1 test: destructurePropertyList(rhs, o->properties);
Executed by:
  • tst_ecmascripttests
577
604 else if (auto *a = AST::cast<ArrayPattern *>(p)
auto *a = AST:...yPattern *>(p)Description
TRUEevaluated 1050 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
)
0-1050
605 destructureElementList(rhs, a->elements);
executed 1047 times by 1 test: destructureElementList(rhs, a->elements);
Executed by:
  • tst_ecmascripttests
1047
606 else-
607 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 663)); __builtin_unreachable(); }
never executed: end of block
while (false);
0
608}-
609-
610-
611bool Codegen::visit(ArgumentList *)-
612{-
613 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 669)); __builtin_unreachable(); } while (false);-
614 return
never executed: return false;
false;
never executed: return false;
0
615}-
616-
617bool Codegen::visit(CaseBlock *)-
618{-
619 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 675)); __builtin_unreachable(); } while (false);-
620 return
never executed: return false;
false;
never executed: return false;
0
621}-
622-
623bool Codegen::visit(CaseClause *)-
624{-
625 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 681)); __builtin_unreachable(); } while (false);-
626 return
never executed: return false;
false;
never executed: return false;
0
627}-
628-
629bool Codegen::visit(CaseClauses *)-
630{-
631 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 687)); __builtin_unreachable(); } while (false);-
632 return
never executed: return false;
false;
never executed: return false;
0
633}-
634-
635bool Codegen::visit(Catch *)-
636{-
637 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 693)); __builtin_unreachable(); } while (false);-
638 return
never executed: return false;
false;
never executed: return false;
0
639}-
640-
641bool Codegen::visit(DefaultClause *)-
642{-
643 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 699)); __builtin_unreachable(); } while (false);-
644 return
never executed: return false;
false;
never executed: return false;
0
645}-
646-
647bool Codegen::visit(Elision *)-
648{-
649 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 705)); __builtin_unreachable(); } while (false);-
650 return
never executed: return false;
false;
never executed: return false;
0
651}-
652-
653bool Codegen::visit(Finally *)-
654{-
655 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 711)); __builtin_unreachable(); } while (false);-
656 return
never executed: return false;
false;
never executed: return false;
0
657}-
658-
659bool Codegen::visit(FormalParameterList *)-
660{-
661 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 717)); __builtin_unreachable(); } while (false);-
662 return
never executed: return false;
false;
never executed: return false;
0
663}-
664-
665bool Codegen::visit(Program *)-
666{-
667 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 723)); __builtin_unreachable(); } while (false);-
668 return
never executed: return false;
false;
never executed: return false;
0
669}-
670-
671bool Codegen::visit(PatternElement *)-
672{-
673 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 729)); __builtin_unreachable(); } while (false);-
674 return
never executed: return false;
false;
never executed: return false;
0
675}-
676-
677bool Codegen::visit(PatternElementList *)-
678{-
679 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 735)); __builtin_unreachable(); } while (false);-
680 return
never executed: return false;
false;
never executed: return false;
0
681}-
682-
683bool Codegen::visit(PatternProperty *)-
684{-
685 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 741)); __builtin_unreachable(); } while (false);-
686 return
never executed: return false;
false;
never executed: return false;
0
687}-
688-
689bool Codegen::visit(PatternPropertyList *)-
690{-
691 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 747)); __builtin_unreachable(); } while (false);-
692 return
never executed: return false;
false;
never executed: return false;
0
693}-
694-
695bool Codegen::visit(StatementList *)-
696{-
697 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 753)); __builtin_unreachable(); } while (false);-
698 return
never executed: return false;
false;
never executed: return false;
0
699}-
700-
701bool Codegen::visit(UiArrayMemberList *)-
702{-
703 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 759)); __builtin_unreachable(); } while (false);-
704 return
never executed: return false;
false;
never executed: return false;
0
705}-
706-
707bool Codegen::visit(UiImport *)-
708{-
709 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 765)); __builtin_unreachable(); } while (false);-
710 return
never executed: return false;
false;
never executed: return false;
0
711}-
712-
713bool Codegen::visit(UiHeaderItemList *)-
714{-
715 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 771)); __builtin_unreachable(); } while (false);-
716 return
never executed: return false;
false;
never executed: return false;
0
717}-
718-
719bool Codegen::visit(UiPragma *)-
720{-
721 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 777)); __builtin_unreachable(); } while (false);-
722 return
never executed: return false;
false;
never executed: return false;
0
723}-
724-
725bool Codegen::visit(UiObjectInitializer *)-
726{-
727 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 783)); __builtin_unreachable(); } while (false);-
728 return
never executed: return false;
false;
never executed: return false;
0
729}-
730-
731bool Codegen::visit(UiObjectMemberList *)-
732{-
733 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 789)); __builtin_unreachable(); } while (false);-
734 return
never executed: return false;
false;
never executed: return false;
0
735}-
736-
737bool Codegen::visit(UiParameterList *)-
738{-
739 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 795)); __builtin_unreachable(); } while (false);-
740 return
never executed: return false;
false;
never executed: return false;
0
741}-
742-
743bool Codegen::visit(UiProgram *)-
744{-
745 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 801)); __builtin_unreachable(); } while (false);-
746 return
never executed: return false;
false;
never executed: return false;
0
747}-
748-
749bool Codegen::visit(UiQualifiedId *)-
750{-
751 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 807)); __builtin_unreachable(); } while (false);-
752 return
never executed: return false;
false;
never executed: return false;
0
753}-
754-
755bool Codegen::visit(UiQualifiedPragmaId *)-
756{-
757 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 813)); __builtin_unreachable(); } while (false);-
758 return
never executed: return false;
false;
never executed: return false;
0
759}-
760-
761bool Codegen::visit(VariableDeclarationList *)-
762{-
763 do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 819)); __builtin_unreachable(); } while (false);-
764 return
never executed: return false;
false;
never executed: return false;
0
765}-
766-
767bool Codegen::visit(ClassExpression *ast)-
768{-
769 Compiler::Class jsClass;-
770 jsClass.nameIndex = registerString(ast->name.toString());-
771-
772 ClassElementList *constructor = nullptr;-
773 int nComputedNames = 0;-
774 int nStaticComputedNames = 0;-
775-
776 RegisterScope scope(this);-
777 ControlFlowBlock controlFlow(this, ast);-
778-
779 for (auto *member = ast->elements; member
memberDescription
TRUEevaluated 8664 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 9280 times by 1 test
Evaluated by:
  • tst_ecmascripttests
; member = member->next) {
8664-9280
780 PatternProperty *p = member->property;-
781 FunctionExpression *f = p->initializer->asFunctionDefinition();-
782 ((f) ? static_cast<void>(0) : qt_assert("f", __FILE__, 838));-
783 AST::ComputedPropertyName *cname = AST::cast<ComputedPropertyName *>(p->name);-
784 if (cname
cnameDescription
TRUEevaluated 544 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8111 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
544-8111
785 ++nComputedNames;-
786 if (member->isStatic
member->isStaticDescription
TRUEevaluated 244 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 300 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
244-300
787 ++
executed 244 times by 1 test: ++nStaticComputedNames;
Executed by:
  • tst_ecmascripttests
nStaticComputedNames;
executed 244 times by 1 test: ++nStaticComputedNames;
Executed by:
  • tst_ecmascripttests
244
788 }
executed 544 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
544
789 QString name = p->name->asString();-
790 uint nameIndex = cname
cnameDescription
TRUEevaluated 543 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8181 times by 1 test
Evaluated by:
  • tst_ecmascripttests
?
543-8181
791 (0x7fffffff * 2U + 1U) -
792 : registerString(name);-
793 Compiler::Class::Method::Type type = Compiler::Class::Method::Regular;-
794 if (p->type == PatternProperty::Getter
p->type == Pat...operty::GetterDescription
TRUEevaluated 542 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8149 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
542-8149
795 type = Compiler::Class::Method::Getter;
executed 537 times by 1 test: type = Compiler::Class::Method::Getter;
Executed by:
  • tst_ecmascripttests
537
796 else if (p->type == PatternProperty::Setter
p->type == Pat...operty::SetterDescription
TRUEevaluated 540 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 7617 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
540-7617
797 type = Compiler::Class::Method::Setter;
executed 540 times by 1 test: type = Compiler::Class::Method::Setter;
Executed by:
  • tst_ecmascripttests
540
798 Compiler::Class::Method m{ nameIndex, type, static_cast<uint>(defineFunction(name, f, f->formals, f->body)) };-
799-
800 if (member->isStatic
member->isStaticDescription
TRUEevaluated 3938 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4791 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
3938-4791
801 if (name == ([]() noexcept -> QString { enum { Size = sizeof(u"" "prototype")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "prototype" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) {-
802 throwSyntaxError(ast->firstSourceLocation(), QLatin1String("Cannot declare a static method named 'prototype'."));-
803 return
never executed: return false;
false;
never executed: return false;
0
804 }-
805 jsClass.staticMethods << m;
dead code: jsClass.staticMethods << m;
-
806 } else {-
807 if (name == ([]() noexcept -> QString { enum { Size = sizeof(u"" "constructor")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "constructor" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) {-
808 if (constructor
constructorDescription
TRUEnever evaluated
FALSEevaluated 807 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
0-807
809 throwSyntaxError(ast->firstSourceLocation(), QLatin1String("Cannot declare a multiple constructors in a class."));-
810 return
never executed: return false;
false;
never executed: return false;
0
811 }-
812 if (m.type != Compiler::Class::Method::Regular
m.type != Comp...ethod::RegularDescription
TRUEnever evaluated
FALSEevaluated 807 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
0-807
813 throwSyntaxError(ast->firstSourceLocation(), QLatin1String("Cannot declare a getter or setter named 'constructor'."));-
814 return
never executed: return false;
false;
never executed: return false;
0
815 }-
816 constructor = member;-
817 jsClass.constructorIndex = m.functionIndex;-
818 continue;
executed 807 times by 1 test: continue;
Executed by:
  • tst_ecmascripttests
807
819 }-
820-
821 jsClass.methods << m;
dead code: jsClass.methods << m;
-
822 }-
823 }-
824-
825 int classIndex = _module->classes.size();-
826 _module->classes.append(jsClass);-
827-
828 Reference heritage = Reference::fromStackSlot(this);-
829 if (ast->heritage
ast->heritageDescription
TRUEevaluated 972 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8304 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
972-8304
830 bytecodeGenerator->setLocation(ast->heritage->firstSourceLocation());-
831 Reference r = expression(ast->heritage);-
832 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 970 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-970
833 return
never executed: return false;
false;
never executed: return false;
0
834 r.storeOnStack(heritage.stackSlot());-
835 }
executed 971 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else {
971
836 Reference::fromConst(this, Primitive::emptyValue().asReturnedValue()).loadInAccumulator();-
837 heritage.storeConsumeAccumulator();-
838 }
executed 8296 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
8296
839-
840 int computedNames = nComputedNames
nComputedNamesDescription
TRUEevaluated 420 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8843 times by 1 test
Evaluated by:
  • tst_ecmascripttests
? bytecodeGenerator->newRegisterArray(nComputedNames) : 0;
420-8843
841 int currentStaticName = computedNames;-
842 int currentNonStaticName = computedNames + nStaticComputedNames;-
843-
844 for (auto *member = ast->elements; member
memberDescription
TRUEevaluated 8693 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 9254 times by 1 test
Evaluated by:
  • tst_ecmascripttests
; member = member->next) {
8693-9254
845 AST::ComputedPropertyName *cname = AST::cast<AST::ComputedPropertyName *>(member->property->name);-
846 if (!cname
!cnameDescription
TRUEevaluated 8146 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 544 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
544-8146
847 continue;
executed 8146 times by 1 test: continue;
Executed by:
  • tst_ecmascripttests
8146
848 RegisterScope scope(this);-
849 bytecodeGenerator->setLocation(cname->firstSourceLocation());-
850 Reference computedName = expression(cname->expression);-
851 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 544 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-544
852 return
never executed: return false;
false;
never executed: return false;
0
853 computedName.storeOnStack(member->isStatic ? currentStaticName++ : currentNonStaticName++);-
854 }
executed 544 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
544
855-
856 Instruction::CreateClass createClass;-
857 createClass.classIndex = classIndex;-
858 createClass.heritage = heritage.stackSlot();-
859 createClass.computedNames = computedNames;-
860-
861 bytecodeGenerator->addInstruction(createClass);-
862-
863 if (!ast->name.isEmpty()
!ast->name.isEmpty()Description
TRUEevaluated 9090 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 192 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
192-9090
864 Reference ctor = referenceForName(ast->name.toString(), true);-
865 ctor.isReferenceToConst = false;-
866 (void) ctor.storeRetainAccumulator();-
867 }
executed 9076 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
9076
868-
869 _expr.setResult(Reference::fromAccumulator(this));-
870 return
executed 9278 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
false;
executed 9278 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
9278
871}-
872-
873bool Codegen::visit(ClassDeclaration *ast)-
874{-
875 Reference outerVar = referenceForName(ast->name.toString(), true);-
876 visit(static_cast<ClassExpression *>(ast));-
877 (void) outerVar.storeRetainAccumulator();-
878 return
executed 4836 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
false;
executed 4836 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
4836
879}-
880-
881bool Codegen::visit(Expression *ast)-
882{-
883 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 1974 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qquickdrag
)
0-1974
884 return
never executed: return false;
false;
never executed: return false;
0
885-
886 statement(ast->left);-
887 accept(ast->right);-
888 return
executed 1976 times by 5 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qquickdrag
false;
executed 1976 times by 5 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qquickdrag
1976
889}-
890-
891bool Codegen::visit(ArrayPattern *ast)-
892{-
893 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 44693 times by 46 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • ...
)
0-44693
894 return
never executed: return false;
false;
never executed: return false;
0
895-
896 PatternElementList *it = ast->elements;-
897-
898 int argc = 0;-
899 {-
900 RegisterScope scope(this);-
901-
902 int args = -1;-
903 auto push = [this, &argc, &args](AST::ExpressionNode *arg) {-
904 int temp = bytecodeGenerator->newRegister();-
905 if (args == -1
args == -1Description
TRUEevaluated 27165 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
FALSEevaluated 105014 times by 37 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgridview
  • ...
)
27165-105014
906 args = temp;
executed 27120 times by 40 tests: args = temp;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
27120
907 if (!arg
!argDescription
TRUEevaluated 1248 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
FALSEevaluated 130856 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
) {
1248-130856
908 auto c = Reference::fromConst(this, Primitive::emptyValue().asReturnedValue());-
909 (void) c.storeOnStack(temp);-
910 }
executed 1248 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
else {
1248
911 RegisterScope scope(this);-
912 Reference r = expression(arg);-
913 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 131036 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
)
0-131036
914 return;
never executed: return;
0
915 (void) r.storeOnStack(temp);-
916 }
executed 130927 times by 40 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
130927
917 ++argc;-
918 }
executed 132183 times by 40 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
;
132183
919-
920 for (; it
itDescription
TRUEevaluated 131493 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
FALSEevaluated 44769 times by 46 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • ...
; it = it->next) {
44769-131493
921 PatternElement *e = it->element;-
922 if (e
eDescription
TRUEevaluated 130991 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
FALSEevaluated 420 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
&& e->type == PatternElement::SpreadElement
e->type == Pat...:SpreadElementDescription
TRUEevaluated 152 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 130856 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
)
152-130991
923 break;
executed 152 times by 1 test: break;
Executed by:
  • tst_ecmascripttests
152
924 for (Elision *elision = it->elision; elision
elisionDescription
TRUEevaluated 1248 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
FALSEevaluated 131325 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
; elision = elision->next)
1248-131325
925 push(nullptr);
executed 1248 times by 3 tests: push(nullptr);
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
1248
926-
927 if (!e
!eDescription
TRUEevaluated 420 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
FALSEevaluated 130858 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
)
420-130858
928 continue;
executed 420 times by 3 tests: continue;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
420
929-
930 push(e->initializer);-
931 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 130995 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
)
0-130995
932 return
never executed: return false;
false;
never executed: return false;
0
933 }
executed 131010 times by 40 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
131010
934-
935 if (args == -1
args == -1Description
TRUEevaluated 17604 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 27218 times by 40 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • tst_qquickfolderlistmodel
  • tst_qquickfriction
  • ...
) {
17604-27218
936 ((argc == 0) ? static_cast<void>(0) : qt_assert("argc == 0", __FILE__, 990));-
937 args = 0;-
938 }
executed 17569 times by 25 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_signalspy
  • tst_testfiltering
17569
939-
940 Instruction::DefineArray call;-
941 call.argc = argc;-
942 call.args = Moth::StackSlot::createRegister(args);-
943 bytecodeGenerator->addInstruction(call);-
944 }-
945-
946 if (!it
!itDescription
TRUEevaluated 44766 times by 46 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • ...
FALSEevaluated 152 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
152-44766
947 _expr.setResult(Reference::fromAccumulator(this));-
948 return
executed 44669 times by 46 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • ...
false;
executed 44669 times by 46 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickellipseextruder
  • ...
44669
949 }-
950 ((it->element && it->element->type == PatternElement::SpreadElement) ? static_cast<void>(0) : qt_assert("it->element && it->element->type == PatternElement::SpreadElement", __FILE__, 1004));-
951-
952 RegisterScope scope(this);-
953 Reference array = Reference::fromStackSlot(this);-
954 array.storeConsumeAccumulator();-
955 Reference index = Reference::storeConstOnStack(this, Encode(argc));-
956-
957 auto pushAccumulator = [&]() {-
958 Reference slot = Reference::fromSubscript(array, index);-
959 slot.storeConsumeAccumulator();-
960-
961 index.loadInAccumulator();-
962 Instruction::Increment inc;-
963 bytecodeGenerator->addInstruction(inc);-
964 index.storeConsumeAccumulator();-
965 }
executed 156 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
;
156
966-
967 while (it
itDescription
TRUEevaluated 156 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 152 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
152-156
968 for (Elision *elision = it->elision; elision
elisionDescription
TRUEnever evaluated
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tst_ecmascripttests
; elision = elision->next) {
0-156
969 Reference::fromConst(this, Primitive::emptyValue().asReturnedValue()).loadInAccumulator();-
970 pushAccumulator();-
971 }
never executed: end of block
0
972-
973 if (!it->element
!it->elementDescription
TRUEnever evaluated
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
0-156
974 it = it->next;-
975 continue;
never executed: continue;
0
976 }-
977-
978-
979 if (it->element->type == PatternElement::SpreadElement
it->element->t...:SpreadElementDescription
TRUEevaluated 152 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_ecmascripttests
) {
4-152
980 RegisterScope scope(this);-
981-
982 Reference iterator = Reference::fromStackSlot(this);-
983 Reference lhsValue = Reference::fromStackSlot(this);-
984-
985-
986-
987 {-
988 RegisterScope innerScope(this);-
989 Reference expr = expression(it->element->initializer);-
990 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 152 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-152
991 return
never executed: return false;
false;
never executed: return false;
0
992-
993 expr.loadInAccumulator();-
994 Instruction::GetIterator iteratorObjInstr;-
995 iteratorObjInstr.iterator = 1;-
996 bytecodeGenerator->addInstruction(iteratorObjInstr);-
997 iterator.storeConsumeAccumulator();-
998 }-
999-
1000 BytecodeGenerator::Label in = bytecodeGenerator->newLabel();-
1001 BytecodeGenerator::Label end = bytecodeGenerator->newLabel();-
1002 BytecodeGenerator::Label done = bytecodeGenerator->newLabel();-
1003-
1004 {-
1005 ControlFlowLoop flow(this, &end, &in, true);-
1006 bytecodeGenerator->jump().link(in);-
1007-
1008 BytecodeGenerator::Label body = bytecodeGenerator->label();-
1009-
1010 lhsValue.loadInAccumulator();-
1011 pushAccumulator();-
1012-
1013 in.link();-
1014 iterator.loadInAccumulator();-
1015 Instruction::IteratorNext next;-
1016 next.value = lhsValue.stackSlot();-
1017 bytecodeGenerator->addInstruction(next);-
1018 bytecodeGenerator->addJumpInstruction(Instruction::JumpFalse()).link(body);-
1019 bytecodeGenerator->jump().link(done);-
1020 }-
1021-
1022 end.link();-
1023-
1024 Reference iteratorDone = Reference::fromConst(this, Encode(false)).storeOnStack();-
1025 iterator.loadInAccumulator();-
1026 Instruction::IteratorClose close;-
1027 close.done = iteratorDone.stackSlot();-
1028 bytecodeGenerator->addInstruction(close);-
1029-
1030 done.link();-
1031 }
executed 150 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
else {
150
1032 RegisterScope innerScope(this);-
1033 Reference expr = expression(it->element->initializer);-
1034 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_ecmascripttests
)
0-4
1035 return
never executed: return false;
false;
never executed: return false;
0
1036-
1037 expr.loadInAccumulator();-
1038 pushAccumulator();-
1039 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
4
1040-
1041 it = it->next;-
1042 }
executed 156 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
156
1043-
1044 array.loadInAccumulator();-
1045 _expr.setResult(Reference::fromAccumulator(this));-
1046-
1047 return
executed 151 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
false;
executed 151 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
151
1048}-
1049-
1050bool Codegen::visit(ArrayMemberExpression *ast)-
1051{-
1052 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 124967 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
)
0-124967
1053 return
never executed: return false;
false;
never executed: return false;
0
1054-
1055 Reference base = expression(ast->base);-
1056 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 125298 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
)
0-125298
1057 return
never executed: return false;
false;
never executed: return false;
0
1058 if (base.isSuper()
base.isSuper()Description
TRUEevaluated 140 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 125228 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
140-125228
1059 Reference index = expression(ast->expression).storeOnStack();-
1060 _expr.setResult(Reference::fromSuperProperty(index));-
1061 return
executed 140 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
false;
executed 140 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
140
1062 }-
1063 base = base.storeOnStack();-
1064 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 124982 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
)
0-124982
1065 return
never executed: return false;
false;
never executed: return false;
0
1066 if (AST::StringLiteral *str = AST::cast<AST::StringLiteral *>(ast->expression)
AST::StringLit...t->expression)Description
TRUEevaluated 3037 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
FALSEevaluated 121829 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
3037-121829
1067 QString s = str->value.toString();-
1068 uint arrayIndex = QV4::String::toArrayIndex(s);-
1069 if (arrayIndex ==
arrayIndex == ...fff * 2U + 1U)Description
TRUEevaluated 2581 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
FALSEevaluated 456 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
456-2581
1070 (0x7fffffff * 2U + 1U)
arrayIndex == ...fff * 2U + 1U)Description
TRUEevaluated 2581 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
FALSEevaluated 456 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_parserstress
456-2581
1071 ) {-
1072 _expr.setResult(Reference::fromMember(base, str->value.toString()));-
1073 return
executed 2584 times by 5 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
false;
executed 2584 times by 5 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
2584
1074 }-
1075 Reference index = Reference::fromConst(this, QV4::Encode(arrayIndex));-
1076 _expr.setResult(Reference::fromSubscript(base, index));-
1077 return
executed 456 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
false;
executed 456 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
456
1078 }-
1079 Reference index = expression(ast->expression);-
1080 _expr.setResult(Reference::fromSubscript(base, index));-
1081 return
executed 121907 times by 32 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
false;
executed 121907 times by 32 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
121907
1082}-
1083-
1084static QSOperator::Op baseOp(int op)-
1085{-
1086 switch ((QSOperator::Op) op) {-
1087 case
executed 406 times by 3 tests: case QSOperator::InplaceAnd:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
QSOperator::InplaceAnd:
executed 406 times by 3 tests: case QSOperator::InplaceAnd:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
return
executed 406 times by 3 tests: return QSOperator::BitAnd;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
QSOperator::BitAnd;
executed 406 times by 3 tests: return QSOperator::BitAnd;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
406
1088 case
executed 675 times by 8 tests: case QSOperator::InplaceSub:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
QSOperator::InplaceSub:
executed 675 times by 8 tests: case QSOperator::InplaceSub:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
return
executed 675 times by 8 tests: return QSOperator::Sub;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
QSOperator::Sub;
executed 675 times by 8 tests: return QSOperator::Sub;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qv4debugger
675
1089 case
executed 403 times by 3 tests: case QSOperator::InplaceDiv:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
QSOperator::InplaceDiv:
executed 403 times by 3 tests: case QSOperator::InplaceDiv:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
return
executed 403 times by 3 tests: return QSOperator::Div;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
QSOperator::Div;
executed 403 times by 3 tests: return QSOperator::Div;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
403
1090 case
executed 674907 times by 26 tests: case QSOperator::InplaceAdd:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • 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
  • tst_scenegraph
  • tst_signalspy
  • ...
QSOperator::InplaceAdd:
executed 674907 times by 26 tests: case QSOperator::InplaceAdd:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • 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
  • tst_scenegraph
  • tst_signalspy
  • ...
return
executed 675598 times by 26 tests: return QSOperator::Add;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • 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
  • tst_scenegraph
  • tst_signalspy
  • ...
QSOperator::Add;
executed 675598 times by 26 tests: return QSOperator::Add;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • 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
  • tst_scenegraph
  • tst_signalspy
  • ...
674907-675598
1091 case
executed 402 times by 2 tests: case QSOperator::InplaceLeftShift:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::InplaceLeftShift:
executed 402 times by 2 tests: case QSOperator::InplaceLeftShift:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
return
executed 402 times by 2 tests: return QSOperator::LShift;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::LShift;
executed 402 times by 2 tests: return QSOperator::LShift;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
402
1092 case
executed 400 times by 2 tests: case QSOperator::InplaceMod:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::InplaceMod:
executed 400 times by 2 tests: case QSOperator::InplaceMod:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
return
executed 400 times by 2 tests: return QSOperator::Mod;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::Mod;
executed 400 times by 2 tests: return QSOperator::Mod;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
400
1093 case
executed 4 times by 1 test: case QSOperator::InplaceExp:
Executed by:
  • tst_ecmascripttests
QSOperator::InplaceExp:
executed 4 times by 1 test: case QSOperator::InplaceExp:
Executed by:
  • tst_ecmascripttests
return
executed 4 times by 1 test: return QSOperator::Exp;
Executed by:
  • tst_ecmascripttests
QSOperator::Exp;
executed 4 times by 1 test: return QSOperator::Exp;
Executed by:
  • tst_ecmascripttests
4
1094 case
executed 483 times by 4 tests: case QSOperator::InplaceMul:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
QSOperator::InplaceMul:
executed 483 times by 4 tests: case QSOperator::InplaceMul:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
return
executed 483 times by 4 tests: return QSOperator::Mul;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
QSOperator::Mul;
executed 483 times by 4 tests: return QSOperator::Mul;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
483
1095 case
executed 412 times by 4 tests: case QSOperator::InplaceOr:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qquicklistview
QSOperator::InplaceOr:
executed 412 times by 4 tests: case QSOperator::InplaceOr:
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qquicklistview
return
executed 412 times by 4 tests: return QSOperator::BitOr;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qquicklistview
QSOperator::BitOr;
executed 412 times by 4 tests: return QSOperator::BitOr;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qquicklistview
412
1096 case
executed 412 times by 3 tests: case QSOperator::InplaceRightShift:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
QSOperator::InplaceRightShift:
executed 412 times by 3 tests: case QSOperator::InplaceRightShift:
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
return
executed 412 times by 3 tests: return QSOperator::RShift;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
QSOperator::RShift;
executed 412 times by 3 tests: return QSOperator::RShift;
Executed by:
  • tst_ecmascripttests
  • tst_parserstress
  • tst_qjsvalue
412
1097 case
executed 1037 times by 2 tests: case QSOperator::InplaceURightShift:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::InplaceURightShift:
executed 1037 times by 2 tests: case QSOperator::InplaceURightShift:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
return
executed 1033 times by 2 tests: return QSOperator::URShift;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::URShift;
executed 1033 times by 2 tests: return QSOperator::URShift;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
1033-1037
1098 case
executed 401 times by 2 tests: case QSOperator::InplaceXor:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::InplaceXor:
executed 401 times by 2 tests: case QSOperator::InplaceXor:
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
return
executed 401 times by 2 tests: return QSOperator::BitXor;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
QSOperator::BitXor;
executed 401 times by 2 tests: return QSOperator::BitXor;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
401
1099 default
never executed: default:
:
never executed: default:
return
never executed: return QSOperator::Invalid;
QSOperator::Invalid;
never executed: return QSOperator::Invalid;
0
1100 }-
1101}-
1102-
1103bool Codegen::visit(BinaryExpression *ast)-
1104{-
1105 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 5923498 times by 98 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_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
  • ...
)
0-5923498
1106 return
never executed: return false;
false;
never executed: return false;
0
1107-
1108 if (ast->op == QSOperator::And
ast->op == QSOperator::AndDescription
TRUEevaluated 110637 times by 34 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • ...
FALSEevaluated 5812631 times by 98 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_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
  • ...
) {
110637-5812631
1109 if (_expr.accept(cx)
_expr.accept(cx)Description
TRUEevaluated 10408 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 100090 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_testfiltering
) {
10408-100090
1110 auto iftrue = bytecodeGenerator->newLabel();-
1111 condition(ast->left, &iftrue, _expr.iffalse(), true);-
1112 iftrue.link();-
1113 condition(ast->right, _expr.iftrue(), _expr.iffalse(), _expr.trueBlockFollowsCondition());-
1114 }
executed 10411 times by 21 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
else {
10411
1115 auto iftrue = bytecodeGenerator->newLabel();-
1116 auto endif = bytecodeGenerator->newLabel();-
1117-
1118 Reference left = expression(ast->left);-
1119 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 100365 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_testfiltering
)
0-100365
1120 return
never executed: return false;
false;
never executed: return false;
0
1121 left.loadInAccumulator();-
1122-
1123 bytecodeGenerator->setLocation(ast->operatorToken);-
1124 bytecodeGenerator->jumpFalse().link(endif);-
1125 iftrue.link();-
1126-
1127 Reference right = expression(ast->right);-
1128 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 100421 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_testfiltering
)
0-100421
1129 return
never executed: return false;
false;
never executed: return false;
0
1130 right.loadInAccumulator();-
1131-
1132 endif.link();-
1133-
1134 _expr.setResult(Reference::fromAccumulator(this));-
1135 }
executed 100478 times by 25 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_testfiltering
100478
1136 return
executed 110356 times by 34 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • ...
false;
executed 110356 times by 34 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • ...
110356
1137 } else if (ast->op == QSOperator::Or
ast->op == QSOperator::OrDescription
TRUEevaluated 290186 times by 19 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • 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 5520511 times by 98 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_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
  • ...
) {
290186-5520511
1138 if (_expr.accept(cx)
_expr.accept(cx)Description
TRUEevaluated 106996 times by 18 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qqmlecmascript
  • 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 183837 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklayouts
) {
106996-183837
1139 auto iffalse = bytecodeGenerator->newLabel();-
1140 condition(ast->left, _expr.iftrue(), &iffalse, false);-
1141 iffalse.link();-
1142 condition(ast->right, _expr.iftrue(), _expr.iffalse(), _expr.trueBlockFollowsCondition());-
1143 }
executed 107680 times by 18 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qqmlecmascript
  • 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
else {
107680
1144 auto iffalse = bytecodeGenerator->newLabel();-
1145 auto endif = bytecodeGenerator->newLabel();-
1146-
1147 Reference left = expression(ast->left);-
1148 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 185022 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklayouts
)
0-185022
1149 return
never executed: return false;
false;
never executed: return false;
0
1150 left.loadInAccumulator();-
1151-
1152 bytecodeGenerator->setLocation(ast->operatorToken);-
1153 bytecodeGenerator->jumpTrue().link(endif);-
1154 iffalse.link();-
1155-
1156 Reference right = expression(ast->right);-
1157 if (hasError
hasErrorDescription
TRUEnever evaluated
FALSEevaluated 185231 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklayouts
)
0-185231
1158 return
never executed: return false;
false;
never executed: return false;
0
1159 right.loadInAccumulator();-
1160-
1161 endif.link();-
1162-
1163 _expr.setResult(Reference::fromAccumulator(this));-
1164 }
executed 185173 times by 5 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_parserstress
  • tst_qjsvalue
  • tst_qquicklayouts
185173
1165 return
executed 291844 times by 19 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • 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
false;
executed 291844 times by 19 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsvalue
  • tst_qqmlecmascript
  • 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
291844
1166 } else if (ast->op == QSOperator::Assign
ast->op == QSOperator::AssignDescription
TRUEevaluated 1147593 times by 88 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 4367132 times by 82 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • ...
) {
1147593-4367132
1167 if (AST::Pattern *p = ast->left->patternCast()
AST::Pattern *...>patternCast()Description
TRUEevaluated 819 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1149037 times by 88 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_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference