Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | namespace QV4 { | - |
11 | | - |
12 | namespace CompiledData { | - |
13 | | - |
14 | static_assert(sizeof(Unit::libraryVersionHash) >= 40 + 1, "Compile hash length exceeds reserved size in data structure. Please adjust and bump the format version"); | - |
15 | | - |
16 | CompilationUnit::CompilationUnit(const Unit *unitData) | - |
17 | { | - |
18 | data = unitData; | - |
19 | }executed 2391957 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
- ...
| 2391957 |
20 | | - |
21 | | - |
22 | CompilationUnit::~CompilationUnit() | - |
23 | { | - |
24 | unlink(); | - |
25 | if (dataTRUE | evaluated 2303502 times by 142 testsEvaluated 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
- ...
| FALSE | evaluated 48375 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
&& !(data->flags & QV4::CompiledData::Unit::StaticData)TRUE | evaluated 2294815 times by 81 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 8848 times by 121 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) | 8848-2303502 |
26 | free(const_cast<Unit *>(data));executed 2294805 times by 81 tests: free(const_cast<Unit *>(data)); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 2294805 |
27 | data = nullptr; | - |
28 | }executed 2352064 times by 145 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
- ...
| 2352064 |
29 | | - |
30 | QString CompilationUnit::localCacheFilePath(const QUrl &url) | - |
31 | { | - |
32 | const QString localSourcePath = QQmlFile::urlToLocalFileOrQrc(url); | - |
33 | const QString cacheFileSuffix = QFileInfo(localSourcePath + QLatin1Char('c')).completeSuffix(); | - |
34 | QCryptographicHash fileNameHash(QCryptographicHash::Sha1); | - |
35 | fileNameHash.addData(localSourcePath.toUtf8()); | - |
36 | QString directory = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QLatin1String("/qmlcache/"); | - |
37 | QDir::root().mkpath(directory); | - |
38 | returnexecuted 15213 times by 126 tests: return directory + QString::fromUtf8(fileNameHash.result().toHex()) + QLatin1Char('.') + cacheFileSuffix; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
directory + QString::fromUtf8(fileNameHash.result().toHex()) + QLatin1Char('.') + cacheFileSuffix;executed 15213 times by 126 tests: return directory + QString::fromUtf8(fileNameHash.result().toHex()) + QLatin1Char('.') + cacheFileSuffix; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 15213 |
39 | } | - |
40 | | - |
41 | QV4::Function *CompilationUnit::linkToEngine(ExecutionEngine *engine) | - |
42 | { | - |
43 | this->engine = engine; | - |
44 | engine->compilationUnits.insert(this); | - |
45 | | - |
46 | ((!runtimeStrings) ? static_cast<void>(0) : qt_assert("!runtimeStrings", __FILE__, 111)); | - |
47 | ((data) ? static_cast<void>(0) : qt_assert("data", __FILE__, 112)); | - |
48 | runtimeStrings = (QV4::Heap::String **)malloc(data->stringTableSize * sizeof(QV4::Heap::String*)); | - |
49 | | - |
50 | memset(runtimeStrings, 0, data->stringTableSize * sizeof(QV4::Heap::String*)); | - |
51 | for (uint i = 0; i < data->stringTableSizeTRUE | evaluated 13711726 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| FALSE | evaluated 2342429 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
; ++i) | 2342429-13711726 |
52 | runtimeStrings[i] = engine->newString(data->stringAt(i));executed 13711961 times by 144 tests: runtimeStrings[i] = engine->newString(data->stringAt(i)); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 13711961 |
53 | | - |
54 | runtimeRegularExpressions = new QV4::Value[data->regexpTableSize]; | - |
55 | | - |
56 | memset(runtimeRegularExpressions, 0, data->regexpTableSize * sizeof(QV4::Value)); | - |
57 | for (uint i = 0; i < data->regexpTableSizeTRUE | evaluated 1052701 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquicktextinput
| FALSE | evaluated 2342020 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
; ++i) { | 1052701-2342020 |
58 | const CompiledData::RegExp *re = data->regexpAt(i); | - |
59 | bool global = false; | - |
60 | bool multiline = false; | - |
61 | bool ignoreCase = false; | - |
62 | if (re->flags & CompiledData::RegExp::RegExp_GlobalTRUE | evaluated 2773 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlxmlhttprequest
| FALSE | evaluated 1049464 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquicktextinput
|
) | 2773-1049464 |
63 | global = true;executed 2773 times by 4 tests: global = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlxmlhttprequest
| 2773 |
64 | if (re->flags & CompiledData::RegExp::RegExp_IgnoreCaseTRUE | evaluated 104 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 1052918 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquicktextinput
|
) | 104-1052918 |
65 | ignoreCase = true;executed 104 times by 3 tests: ignoreCase = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 104 |
66 | if (re->flags & CompiledData::RegExp::RegExp_MultilineTRUE | evaluated 70 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 1052543 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquicktextinput
|
) | 70-1052543 |
67 | multiline = true;executed 70 times by 3 tests: multiline = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 70 |
68 | runtimeRegularExpressions[i] = QV4::RegExp::create(engine, data->stringAt(re->stringIndex), ignoreCase, multiline, global); | - |
69 | }executed 1053468 times by 7 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquicktextinput
| 1053468 |
70 | | - |
71 | if (data->lookupTableSizeTRUE | evaluated 84575 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
| FALSE | evaluated 2257473 times by 143 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
) { | 84575-2257473 |
72 | runtimeLookups = new QV4::Lookup[data->lookupTableSize]; | - |
73 | memset(runtimeLookups, 0, data->lookupTableSize * sizeof(QV4::Lookup)); | - |
74 | const CompiledData::Lookup *compiledLookups = data->lookupTable(); | - |
75 | for (uint i = 0; i < data->lookupTableSizeTRUE | evaluated 5916712 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
| FALSE | evaluated 84864 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
|
; ++i) { | 84864-5916712 |
76 | QV4::Lookup *l = runtimeLookups + i; | - |
77 | | - |
78 | Lookup::Type type = Lookup::Type(uint(compiledLookups[i].type_and_flags)); | - |
79 | if (type == CompiledData::Lookup::Type_GetterTRUE | evaluated 1915351 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| FALSE | evaluated 4003872 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
|
) | 1915351-4003872 |
80 | l->getter = QV4::Lookup::getterGeneric;executed 1915146 times by 7 tests: l->getter = QV4::Lookup::getterGeneric; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 1915146 |
81 | else if (type == CompiledData::Lookup::Type_SetterTRUE | evaluated 596991 times by 1 test | FALSE | evaluated 3409387 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
|
) | 596991-3409387 |
82 | l->setter = QV4::Lookup::setterGeneric;executed 596957 times by 1 test: l->setter = QV4::Lookup::setterGeneric; | 596957 |
83 | else if (type == CompiledData::Lookup::Type_GlobalGetterTRUE | evaluated 3410318 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
| FALSE | never evaluated |
) | 0-3410318 |
84 | l->globalGetter = QV4::Lookup::globalGetterGeneric;executed 3408948 times by 7 tests: l->globalGetter = QV4::Lookup::globalGetterGeneric; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
| 3408948 |
85 | l->nameIndex = compiledLookups[i].nameIndex; | - |
86 | }executed 5916174 times by 8 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
| 5916174 |
87 | }executed 84868 times by 8 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
- tst_qv4assembler
| 84868 |
88 | | - |
89 | if (data->jsClassTableSizeTRUE | evaluated 37837 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 2304527 times by 143 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
) { | 37837-2304527 |
90 | runtimeClasses = (QV4::Heap::InternalClass **)malloc(data->jsClassTableSize * sizeof(QV4::Heap::InternalClass *)); | - |
91 | | - |
92 | memset(runtimeClasses, 0, data->jsClassTableSize * sizeof(QV4::Heap::InternalClass *)); | - |
93 | for (uint i = 0; i < data->jsClassTableSizeTRUE | evaluated 72755 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 37811 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
; ++i) { | 37811-72755 |
94 | int memberCount = 0; | - |
95 | const CompiledData::JSClassMember *member = data->jsClassAt(i, &memberCount); | - |
96 | runtimeClasses[i] = engine->internalClasses(QV4::ExecutionEngine::Class_Object); | - |
97 | for (int j = 0; j < memberCountTRUE | evaluated 76439 times by 33 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
| FALSE | evaluated 72720 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
; ++j, ++member) | 72720-76439 |
98 | runtimeClasses[i] = runtimeClasses[i]->addMember(engine->identifierTable->asPropertyKey(runtimeStrings[member->nameOffset]), member->isAccessor ? QV4::Attr_Accessor : QV4::Attr_Data);executed 76441 times by 33 tests: runtimeClasses[i] = runtimeClasses[i]->addMember(engine->identifierTable->asPropertyKey(runtimeStrings[member->nameOffset]), member->isAccessor ? QV4::Attr_Accessor : QV4::Attr_Data); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
| 76441 |
99 | }executed 72723 times by 36 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 72723 |
100 | }executed 37813 times by 36 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 37813 |
101 | constants = reinterpret_cast<const Value*>(data->constants()); | - |
102 | | - |
103 | | - |
104 | linkBackendToEngine(engine); | - |
105 | | - |
106 | static const bool showCode = qEnvironmentVariableIsSet("QV4_SHOW_BYTECODE"); | - |
107 | if (showCodeTRUE | never evaluated | FALSE | evaluated 2341711 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
) { | 0-2341711 |
108 | QMessageLogger(__FILE__, 181, __PRETTY_FUNCTION__).debug() << "=== Constant table"; | - |
109 | Moth::dumpConstantTable(constants, data->constantTableSize); | - |
110 | QMessageLogger(__FILE__, 183, __PRETTY_FUNCTION__).debug() << "=== String table"; | - |
111 | for (uint i = 0; i < data->stringTableSizeTRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
112 | QMessageLogger(__FILE__, 185, __PRETTY_FUNCTION__).debug() << " " << i << ":" << runtimeStrings[i]->toQString(); never executed: QMessageLogger(__FILE__, 185, __PRETTY_FUNCTION__).debug() << " " << i << ":" << runtimeStrings[i]->toQString(); | 0 |
113 | QMessageLogger(__FILE__, 186, __PRETTY_FUNCTION__).debug() << "=== Closure table"; | - |
114 | for (uint i = 0; i < data->functionTableSizeTRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
115 | QMessageLogger(__FILE__, 188, __PRETTY_FUNCTION__).debug() << " " << i << ":" << runtimeFunctions[i]->name()->toQString(); never executed: QMessageLogger(__FILE__, 188, __PRETTY_FUNCTION__).debug() << " " << i << ":" << runtimeFunctions[i]->name()->toQString(); | 0 |
116 | QMessageLogger(__FILE__, 189, __PRETTY_FUNCTION__).debug() << "root function at index " << (data->indexOfRootFunction != -1 ? data->indexOfRootFunction : 0); | - |
117 | } never executed: end of block | 0 |
118 | | - |
119 | if (data->indexOfRootFunction != -1TRUE | evaluated 2289668 times by 40 testsEvaluated 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
- ...
| FALSE | evaluated 52151 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) | 52151-2289668 |
120 | returnexecuted 2289661 times by 40 tests: return runtimeFunctions[data->indexOfRootFunction]; 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
- ...
runtimeFunctions[data->indexOfRootFunction];executed 2289661 times by 40 tests: return runtimeFunctions[data->indexOfRootFunction]; 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
- ...
| 2289661 |
121 | else | - |
122 | returnexecuted 52151 times by 139 tests: return nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
nullptr;executed 52151 times by 139 tests: return nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 52151 |
123 | } | - |
124 | | - |
125 | void CompilationUnit::unlink() | - |
126 | { | - |
127 | if (engineTRUE | evaluated 2342254 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| FALSE | evaluated 59344 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 59344-2342254 |
128 | nextCompilationUnit.remove();executed 2342264 times by 144 tests: nextCompilationUnit.remove(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 2342264 |
129 | | - |
130 | if (isRegisteredWithEngineTRUE | evaluated 7497 times by 94 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 2394161 times by 146 testsEvaluated 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
- ...
|
) { | 7497-2394161 |
131 | ((data && propertyCaches.count() > 0 && propertyCaches.at( 0)) ? static_cast<void>(0) : qt_assert("data && propertyCaches.count() > 0 && propertyCaches.at( 0)", __FILE__, 204)); | - |
132 | if (qmlEngineTRUE | evaluated 7497 times by 94 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) | 0-7497 |
133 | qmlEngine->unregisterInternalCompositeType(this);executed 7497 times by 94 tests: qmlEngine->unregisterInternalCompositeType(this); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7497 |
134 | QQmlMetaType::unregisterInternalCompositeType(this); | - |
135 | isRegisteredWithEngine = false; | - |
136 | }executed 7497 times by 94 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7497 |
137 | | - |
138 | propertyCaches.clear(); | - |
139 | | - |
140 | dependentScripts.clear(); | - |
141 | | - |
142 | typeNameCache = nullptr; | - |
143 | | - |
144 | qDeleteAll(resolvedTypes); | - |
145 | resolvedTypes.clear(); | - |
146 | | - |
147 | engine = nullptr; | - |
148 | qmlEngine = nullptr; | - |
149 | free(runtimeStrings); | - |
150 | runtimeStrings = nullptr; | - |
151 | delete [] runtimeLookups; | - |
152 | runtimeLookups = nullptr; | - |
153 | delete [] runtimeRegularExpressions; | - |
154 | runtimeRegularExpressions = nullptr; | - |
155 | free(runtimeClasses); | - |
156 | runtimeClasses = nullptr; | - |
157 | qDeleteAll(runtimeFunctions); | - |
158 | runtimeFunctions.clear(); | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | }executed 2401643 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
- ...
| 2401643 |
164 | | - |
165 | void CompilationUnit::markObjects(QV4::MarkStack *markStack) | - |
166 | { | - |
167 | if (runtimeStringsTRUE | evaluated 580348 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-580348 |
168 | for (uint i = 0; i < data->stringTableSizeTRUE | evaluated 3267818 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 580330 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
; ++i) | 580330-3267818 |
169 | if (runtimeStrings[i]TRUE | evaluated 3266304 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 1541 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlnotifier
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 1541-3266304 |
170 | runtimeStrings[i]->mark(markStack);executed 3266305 times by 25 tests: runtimeStrings[i]->mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 3266305 |
171 | }executed 580331 times by 25 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 580331 |
172 | if (runtimeRegularExpressionsTRUE | evaluated 579944 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 387 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlnotifier
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 387-579944 |
173 | for (uint i = 0; i < data->regexpTableSizeTRUE | evaluated 531973 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_examples
| FALSE | evaluated 579964 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
; ++i) | 531973-579964 |
174 | runtimeRegularExpressions[i].mark(markStack);executed 531976 times by 2 tests: runtimeRegularExpressions[i].mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
| 531976 |
175 | }executed 579966 times by 25 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 579966 |
176 | if (runtimeClassesTRUE | evaluated 1176 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 579178 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) { | 1176-579178 |
177 | for (uint i = 0; i < data->jsClassTableSizeTRUE | evaluated 12104 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 1176 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; ++i) | 1176-12104 |
178 | if (runtimeClasses[i]TRUE | evaluated 12104 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
) | 0-12104 |
179 | runtimeClasses[i]->mark(markStack);executed 12104 times by 9 tests: runtimeClasses[i]->mark(markStack); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 12104 |
180 | }executed 1176 times by 9 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1176 |
181 | for (QV4::Function *f : qAsConst(runtimeFunctions)) | - |
182 | if (fTRUE | evaluated 720912 times by 24 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | never evaluated |
&& f->internalClassTRUE | evaluated 720904 times by 24 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | never evaluated |
) | 0-720912 |
183 | f->internalClass->mark(markStack);executed 720907 times by 24 tests: f->internalClass->mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 720907 |
184 | for (QV4::Heap::InternalClass *c : qAsConst(runtimeBlocks)) | - |
185 | if (cTRUE | evaluated 26838 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
) | 0-26838 |
186 | c->mark(markStack);executed 26838 times by 12 tests: c->mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 26838 |
187 | | - |
188 | if (runtimeLookupsTRUE | evaluated 6850 times by 1 test | FALSE | evaluated 573503 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) { | 6850-573503 |
189 | for (uint i = 0; i < data->lookupTableSizeTRUE | evaluated 735283 times by 1 test | FALSE | evaluated 6850 times by 1 test |
; ++i) | 6850-735283 |
190 | runtimeLookups[i].markObjects(markStack);executed 735284 times by 1 test: runtimeLookups[i].markObjects(markStack); | 735284 |
191 | }executed 6850 times by 1 test: end of block | 6850 |
192 | }executed 580353 times by 25 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 580353 |
193 | | - |
194 | IdentifierHash CompilationUnit::createNamedObjectsPerComponent(int componentObjectIndex) | - |
195 | { | - |
196 | IdentifierHash namedObjectCache(engine); | - |
197 | const CompiledData::Object *component = data->objectAt(componentObjectIndex); | - |
198 | const quint32_le *namedObjectIndexPtr = component->namedObjectsInComponentTable(); | - |
199 | for (quint32 i = 0; i < component->nNamedObjectsInComponentTRUE | evaluated 7544 times by 67 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 45150 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
|
; ++i, ++namedObjectIndexPtr) { | 7544-45150 |
200 | const CompiledData::Object *namedObject = data->objectAt(*namedObjectIndexPtr); | - |
201 | namedObjectCache.add(runtimeStrings[namedObject->idNameIndex], namedObject->id); | - |
202 | }executed 7544 times by 67 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 7544 |
203 | returnexecuted 45150 times by 84 tests: return *namedObjectsPerComponentCache.insert(componentObjectIndex, namedObjectCache); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
*namedObjectsPerComponentCache.insert(componentObjectIndex, namedObjectCache);executed 45150 times by 84 tests: return *namedObjectsPerComponentCache.insert(componentObjectIndex, namedObjectCache); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| 45150 |
204 | } | - |
205 | | - |
206 | void CompilationUnit::finalizeCompositeType(QQmlEnginePrivate *qmlEngine) | - |
207 | { | - |
208 | this->qmlEngine = qmlEngine; | - |
209 | | - |
210 | | - |
211 | if (propertyCaches.needsVMEMetaObject( 0)TRUE | evaluated 7603 times by 95 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 47316 times by 115 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) { | 7603-47316 |
212 | QQmlMetaType::registerInternalCompositeType(this); | - |
213 | qmlEngine->registerInternalCompositeType(this); | - |
214 | }executed 7603 times by 95 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
else { | 7603 |
215 | const QV4::CompiledData::Object *obj = objectAt( 0); | - |
216 | auto *typeRef = resolvedTypes.value(obj->inheritedTypeNameIndex); | - |
217 | ((typeRef) ? static_cast<void>(0) : qt_assert("typeRef", __FILE__, 290)); | - |
218 | if (typeRef->compilationUnitTRUE | evaluated 120 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickworkerscript
- tst_qrcqml
- tst_scenegraph
| FALSE | evaluated 47196 times by 115 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) { | 120-47196 |
219 | metaTypeId = typeRef->compilationUnit->metaTypeId; | - |
220 | listMetaTypeId = typeRef->compilationUnit->listMetaTypeId; | - |
221 | }executed 120 times by 13 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickworkerscript
- tst_qrcqml
- tst_scenegraph
else { | 120 |
222 | metaTypeId = typeRef->type.typeId(); | - |
223 | listMetaTypeId = typeRef->type.qListTypeId(); | - |
224 | }executed 47196 times by 115 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
| 47196 |
225 | } | - |
226 | | - |
227 | | - |
228 | int bindingCount = 0; | - |
229 | int parserStatusCount = 0; | - |
230 | int objectCount = 0; | - |
231 | for (quint32 i = 0; i < data->nObjectsTRUE | evaluated 125085 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 54919 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++i) { | 54919-125085 |
232 | const QV4::CompiledData::Object *obj = data->objectAt(i); | - |
233 | bindingCount += obj->nBindings; | - |
234 | if (auto *typeRef = resolvedTypes.value(obj->inheritedTypeNameIndex)TRUE | evaluated 113641 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 11444 times by 107 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
) { | 11444-113641 |
235 | if (typeRef->type.isValid()TRUE | evaluated 112335 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1306 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
|
) { | 1306-112335 |
236 | if (typeRef->type.parserStatusCast() != -1TRUE | evaluated 91851 times by 134 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 20484 times by 104 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) | 20484-91851 |
237 | ++executed 91851 times by 134 tests: ++parserStatusCount; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
parserStatusCount;executed 91851 times by 134 tests: ++parserStatusCount; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 91851 |
238 | }executed 112335 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 112335 |
239 | ++objectCount; | - |
240 | if (typeRef->compilationUnitTRUE | evaluated 1306 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| FALSE | evaluated 112335 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 1306-112335 |
241 | bindingCount += typeRef->compilationUnit->totalBindingsCount; | - |
242 | parserStatusCount += typeRef->compilationUnit->totalParserStatusCount; | - |
243 | objectCount += typeRef->compilationUnit->totalObjectCount; | - |
244 | }executed 1306 times by 39 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| 1306 |
245 | }executed 113641 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 113641 |
246 | }executed 125085 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 125085 |
247 | | - |
248 | totalBindingsCount = bindingCount; | - |
249 | totalParserStatusCount = parserStatusCount; | - |
250 | totalObjectCount = objectCount; | - |
251 | }executed 54919 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 54919 |
252 | | - |
253 | bool CompilationUnit::verifyChecksum(const DependentTypesHasher &dependencyHasher) const | - |
254 | { | - |
255 | if (!dependencyHasherTRUE | never evaluated | FALSE | evaluated 6814 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 0-6814 |
256 | for (size_t i = 0; i < sizeof(data->dependencyMD5Checksum)TRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
257 | if (data->dependencyMD5Checksum[i] != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
258 | return never executed: return false; false;never executed: return false; | 0 |
259 | } never executed: end of block | 0 |
260 | return never executed: return true; true;never executed: return true; | 0 |
261 | } | - |
262 | QCryptographicHash hash(QCryptographicHash::Md5); | - |
263 | if (!dependencyHasher(&hash)TRUE | never evaluated | FALSE | evaluated 6814 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) | 0-6814 |
264 | return never executed: return false; false;never executed: return false; | 0 |
265 | QByteArray checksum = hash.result(); | - |
266 | ((checksum.size() == sizeof(data->dependencyMD5Checksum)) ? static_cast<void>(0) : qt_assert("checksum.size() == sizeof(data->dependencyMD5Checksum)", __FILE__, 339)); | - |
267 | returnexecuted 6814 times by 123 tests: return memcmp(data->dependencyMD5Checksum, checksum.constData(), sizeof(data->dependencyMD5Checksum)) == 0; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
memcmp(data->dependencyMD5Checksum, checksum.constData(),executed 6814 times by 123 tests: return memcmp(data->dependencyMD5Checksum, checksum.constData(), sizeof(data->dependencyMD5Checksum)) == 0; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6814 |
268 | sizeof(data->dependencyMD5Checksum)) == 0;executed 6814 times by 123 tests: return memcmp(data->dependencyMD5Checksum, checksum.constData(), sizeof(data->dependencyMD5Checksum)) == 0; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6814 |
269 | } | - |
270 | | - |
271 | bool CompilationUnit::loadFromDisk(const QUrl &url, const QDateTime &sourceTimeStamp, QString *errorString) | - |
272 | { | - |
273 | if (!QQmlFile::isLocalFile(url)TRUE | evaluated 45524 times by 47 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
| FALSE | evaluated 12481 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 12481-45524 |
274 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "File has to be a local file.")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "File has to be a local file." }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
275 | returnexecuted 45524 times by 47 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
false;executed 45524 times by 47 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
| 45524 |
276 | } | - |
277 | | - |
278 | const QString sourcePath = QQmlFile::urlToLocalFileOrQrc(url); | - |
279 | QScopedPointer<CompilationUnitMapper> cacheFile(new CompilationUnitMapper()); | - |
280 | | - |
281 | QString cachePath = sourcePath + QLatin1Char('c'); | - |
282 | if (!QFile::exists(cachePath)TRUE | evaluated 12471 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 10 times by 1 test |
) | 10-12471 |
283 | cachePath = localCacheFilePath(url);executed 12471 times by 126 tests: cachePath = localCacheFilePath(url); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 12471 |
284 | | - |
285 | CompiledData::Unit *mappedUnit = cacheFile->open(cachePath, sourceTimeStamp, errorString); | - |
286 | if (!mappedUnitTRUE | evaluated 3139 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 9342 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) | 3139-9342 |
287 | returnexecuted 3139 times by 126 tests: return false; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
false;executed 3139 times by 126 tests: return false; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 3139 |
288 | | - |
289 | const Unit * const oldDataPtr = (dataTRUE | evaluated 2340 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 7002 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
&& !(data->flags & QV4::CompiledData::Unit::StaticData)TRUE | evaluated 2340 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | never evaluated |
) ? data : nullptr; | 0-7002 |
290 | QScopedValueRollback<const Unit *> dataPtrChange(data, mappedUnit); | - |
291 | | - |
292 | if (data->sourceFileIndex != 0TRUE | evaluated 9332 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 10 times by 1 test |
&& sourcePath != QQmlFile::urlToLocalFileOrQrc(stringAt(data->sourceFileIndex))TRUE | never evaluated | FALSE | evaluated 9332 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 0-9332 |
293 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "QML source file has moved to a different location.")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QML source file has moved to a different location." }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
294 | return never executed: return false; false;never executed: return false; | 0 |
295 | } | - |
296 | | - |
297 | dataPtrChange.commit(); | - |
298 | free(const_cast<Unit*>(oldDataPtr)); | - |
299 | backingFile.reset(cacheFile.take()); | - |
300 | returnexecuted 9342 times by 125 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
true;executed 9342 times by 125 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 9342 |
301 | } | - |
302 | | - |
303 | void CompilationUnit::linkBackendToEngine(ExecutionEngine *engine) | - |
304 | { | - |
305 | runtimeFunctions.resize(data->functionTableSize); | - |
306 | for (int i = 0 ;i < runtimeFunctions.size()TRUE | evaluated 3439983 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 2342307 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
; ++i) { | 2342307-3439983 |
307 | const QV4::CompiledData::Function *compiledFunction = data->functionAt(i); | - |
308 | runtimeFunctions[i] = new QV4::Function(engine, this, compiledFunction); | - |
309 | }executed 3440324 times by 137 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 3440324 |
310 | | - |
311 | Scope scope(engine); | - |
312 | Scoped<InternalClass> ic(scope); | - |
313 | | - |
314 | runtimeBlocks.resize(data->blockTableSize); | - |
315 | for (int i = 0 ;i < runtimeBlocks.size()TRUE | evaluated 339488 times by 39 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| FALSE | evaluated 2342155 times by 144 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
; ++i) { | 339488-2342155 |
316 | const QV4::CompiledData::Block *compiledBlock = data->blockAt(i); | - |
317 | ic = engine->internalClasses(EngineBase::Class_CallContext); | - |
318 | | - |
319 | | - |
320 | const quint32_le *localsIndices = compiledBlock->localsTable(); | - |
321 | for (quint32 i = 0; i < compiledBlock->nLocalsTRUE | evaluated 227931 times by 23 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 340378 times by 39 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
|
; ++i) | 227931-340378 |
322 | ic = ic->addMember(engine->identifierTable->asPropertyKey(runtimeStrings[localsIndices[i]]), Attr_NotConfigurable);executed 228005 times by 23 tests: ic = ic->addMember(engine->identifierTable->asPropertyKey(runtimeStrings[localsIndices[i]]), Attr_NotConfigurable); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 228005 |
323 | runtimeBlocks[i] = ic->d(); | - |
324 | }executed 339806 times by 39 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| 339806 |
325 | }executed 2341906 times by 144 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 2341906 |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | bool CompilationUnit::saveToDisk(const QUrl &unitUrl, QString *errorString) | - |
333 | | - |
334 | { | - |
335 | errorString->clear(); | - |
336 | | - |
337 | | - |
338 | if (data->sourceTimeStamp == 0TRUE | evaluated 45775 times by 57 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| FALSE | evaluated 2716 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 2716-45775 |
339 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "Missing time stamp for source file")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Missing time stamp for source file" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
340 | returnexecuted 45775 times by 57 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
false;executed 45775 times by 57 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45775 |
341 | } | - |
342 | | - |
343 | if (!QQmlFile::isLocalFile(unitUrl)TRUE | never evaluated | FALSE | evaluated 2716 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 0-2716 |
344 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "File has to be a local file.")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "File has to be a local file." }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
345 | return never executed: return false; false;never executed: return false; | 0 |
346 | } | - |
347 | const QString outputFileName = localCacheFilePath(unitUrl); | - |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | QSaveFile cacheFile(outputFileName); | - |
353 | if (!cacheFile.open(QIODevice::WriteOnly | QIODevice::Truncate)TRUE | never evaluated | FALSE | evaluated 2726 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-2726 |
354 | *errorString = cacheFile.errorString(); | - |
355 | return never executed: return false; false;never executed: return false; | 0 |
356 | } | - |
357 | | - |
358 | QByteArray modifiedUnit; | - |
359 | modifiedUnit.resize(data->unitSize); | - |
360 | memcpy(modifiedUnit.data(), data, data->unitSize); | - |
361 | const char *dataPtr = modifiedUnit.data(); | - |
362 | Unit *unitPtr; | - |
363 | memcpy(&unitPtr, &dataPtr, sizeof(unitPtr)); | - |
364 | unitPtr->flags |= Unit::StaticData; | - |
365 | | - |
366 | qint64 headerWritten = cacheFile.write(modifiedUnit); | - |
367 | if (headerWritten != modifiedUnit.size()TRUE | never evaluated | FALSE | evaluated 2726 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-2726 |
368 | *errorString = cacheFile.errorString(); | - |
369 | return never executed: return false; false;never executed: return false; | 0 |
370 | } | - |
371 | | - |
372 | if (!cacheFile.commit()TRUE | never evaluated | FALSE | evaluated 2726 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-2726 |
373 | *errorString = cacheFile.errorString(); | - |
374 | return never executed: return false; false;never executed: return false; | 0 |
375 | } | - |
376 | | - |
377 | returnexecuted 2726 times by 125 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
true;executed 2726 times by 125 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2726 |
378 | | - |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | } | - |
384 | | - |
385 | Unit *CompilationUnit::createUnitData(QmlIR::Document *irDocument) | - |
386 | { | - |
387 | if (!irDocument->javaScriptCompilationUnit->dataTRUE | evaluated 48529 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 24 times by 1 test |
) | 24-48529 |
388 | returnexecuted 48529 times by 141 tests: return irDocument->jsGenerator.generateUnit(QV4::Compiler::JSUnitGenerator::GenerateWithoutStringTable); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
irDocument->jsGenerator.generateUnit(QV4::Compiler::JSUnitGenerator::GenerateWithoutStringTable);executed 48529 times by 141 tests: return irDocument->jsGenerator.generateUnit(QV4::Compiler::JSUnitGenerator::GenerateWithoutStringTable); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 48529 |
389 | | - |
390 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit = irDocument->javaScriptCompilationUnit; | - |
391 | QV4::CompiledData::Unit *jsUnit = const_cast<QV4::CompiledData::Unit*>(compilationUnit->data); | - |
392 | auto ensureWritableUnit = [&jsUnit, &compilationUnit]() { | - |
393 | if (jsUnit == compilationUnit->dataTRUE | evaluated 24 times by 1 test | FALSE | evaluated 4 times by 1 test |
) { | 4-24 |
394 | char *unitCopy = (char*)malloc(jsUnit->unitSize); | - |
395 | memcpy(unitCopy, jsUnit, jsUnit->unitSize); | - |
396 | jsUnit = reinterpret_cast<QV4::CompiledData::Unit*>(unitCopy); | - |
397 | }executed 24 times by 1 test: end of block | 24 |
398 | }executed 28 times by 1 test: end of block ; | 28 |
399 | | - |
400 | QV4::Compiler::StringTableGenerator &stringTable = irDocument->jsGenerator.stringTable; | - |
401 | | - |
402 | if (jsUnit->sourceFileIndex == quint32(0)TRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
|| jsUnit->stringAt(jsUnit->sourceFileIndex) != irDocument->jsModule.fileNameTRUE | never evaluated | FALSE | never evaluated |
) { | 0-24 |
403 | ensureWritableUnit(); | - |
404 | jsUnit->sourceFileIndex = stringTable.registerString(irDocument->jsModule.fileName); | - |
405 | jsUnit->finalUrlIndex = stringTable.registerString(irDocument->jsModule.finalUrl); | - |
406 | }executed 24 times by 1 test: end of block | 24 |
407 | | - |
408 | | - |
409 | | - |
410 | | - |
411 | QVector<quint32> changedSignals; | - |
412 | QVector<QQmlJS::AST::FormalParameterList*> changedSignalParameters; | - |
413 | for (QmlIR::Object *o: qAsConst(irDocument->objects)) { | - |
414 | for (QmlIR::Binding *binding = o->firstBinding(); bindingTRUE | evaluated 62 times by 1 test | FALSE | evaluated 38 times by 1 test |
; binding = binding->next) { | 38-62 |
415 | if (!(binding->flags & QV4::CompiledData::Binding::IsSignalHandlerExpression)TRUE | evaluated 52 times by 1 test | FALSE | evaluated 10 times by 1 test |
) | 10-52 |
416 | continue;executed 52 times by 1 test: continue; | 52 |
417 | | - |
418 | quint32 functionIndex = binding->value.compiledScriptIndex; | - |
419 | QmlIR::CompiledFunctionOrExpression *foe = o->functionsAndExpressions->slowAt(functionIndex); | - |
420 | if (!foeTRUE | never evaluated | FALSE | evaluated 10 times by 1 test |
) | 0-10 |
421 | continue; never executed: continue; | 0 |
422 | | - |
423 | | - |
424 | changedSignals << o->runtimeFunctionIndices.at(functionIndex); | - |
425 | | - |
426 | ((foe->node) ? static_cast<void>(0) : qt_assert("foe->node", __FILE__, 499)); | - |
427 | ((QQmlJS::AST::cast<QQmlJS::AST::FunctionDeclaration*>(foe->node)) ? static_cast<void>(0) : qt_assert("QQmlJS::AST::cast<QQmlJS::AST::FunctionDeclaration*>(foe->node)", __FILE__, 500)); | - |
428 | | - |
429 | QQmlJS::AST::FormalParameterList *parameters = QQmlJS::AST::cast<QQmlJS::AST::FunctionDeclaration*>(foe->node)->formals; | - |
430 | changedSignalParameters << parameters; | - |
431 | | - |
432 | if (parametersTRUE | evaluated 4 times by 1 test | FALSE | evaluated 6 times by 1 test |
) { | 4-6 |
433 | const QStringList formals = parameters->formals(); | - |
434 | for (const QString &arg : formals) | - |
435 | stringTable.registerString(arg);executed 4 times by 1 test: stringTable.registerString(arg); | 4 |
436 | }executed 4 times by 1 test: end of block | 4 |
437 | }executed 10 times by 1 test: end of block | 10 |
438 | }executed 38 times by 1 test: end of block | 38 |
439 | | - |
440 | QVector<quint32> signalParameterNameTable; | - |
441 | quint32 signalParameterNameTableOffset = jsUnit->unitSize; | - |
442 | | - |
443 | | - |
444 | if (!changedSignals.isEmpty()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 16 times by 1 test |
) { | 8-16 |
445 | if (jsUnit == compilationUnit->dataTRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) { | 0-8 |
446 | char *unitCopy = (char*)malloc(jsUnit->unitSize); | - |
447 | memcpy(unitCopy, jsUnit, jsUnit->unitSize); | - |
448 | jsUnit = reinterpret_cast<QV4::CompiledData::Unit*>(unitCopy); | - |
449 | } never executed: end of block | 0 |
450 | | - |
451 | for (int i = 0; i < changedSignals.count()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
; ++i) { | 8-10 |
452 | const uint functionIndex = changedSignals.at(i); | - |
453 | | - |
454 | QV4::CompiledData::Function *function = const_cast<QV4::CompiledData::Function *>(jsUnit->functionAt(functionIndex)); | - |
455 | ((function->nFormals == quint32(0)) ? static_cast<void>(0) : qt_assert("function->nFormals == quint32(0)", __FILE__, 528)); | - |
456 | | - |
457 | function->formalsOffset = signalParameterNameTableOffset - jsUnit->functionOffsetTable()[functionIndex]; | - |
458 | | - |
459 | if (QQmlJS::AST::FormalParameterList *parameters = changedSignalParameters.at(i)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 6 times by 1 test |
) { | 4-6 |
460 | const QStringList formals = parameters->formals(); | - |
461 | for (const QString &arg : formals) | - |
462 | signalParameterNameTable.append(stringTable.getStringId(arg));executed 4 times by 1 test: signalParameterNameTable.append(stringTable.getStringId(arg)); | 4 |
463 | | - |
464 | function->nFormals = formals.size(); | - |
465 | }executed 4 times by 1 test: end of block | 4 |
466 | function->length = function->nFormals; | - |
467 | | - |
468 | signalParameterNameTableOffset += function->nFormals * sizeof(quint32); | - |
469 | }executed 10 times by 1 test: end of block | 10 |
470 | }executed 8 times by 1 test: end of block | 8 |
471 | | - |
472 | if (!signalParameterNameTable.isEmpty()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 20 times by 1 test |
) { | 4-20 |
473 | ensureWritableUnit(); | - |
474 | ((jsUnit != compilationUnit->data) ? static_cast<void>(0) : qt_assert("jsUnit != compilationUnit->data", __FILE__, 547)); | - |
475 | const uint signalParameterTableSize = signalParameterNameTable.count() * sizeof(quint32); | - |
476 | uint newSize = jsUnit->unitSize + signalParameterTableSize; | - |
477 | const uint oldSize = jsUnit->unitSize; | - |
478 | char *unitWithSignalParameters = (char*)realloc(jsUnit, newSize); | - |
479 | memcpy(unitWithSignalParameters + oldSize, signalParameterNameTable.constData(), signalParameterTableSize); | - |
480 | jsUnit = reinterpret_cast<QV4::CompiledData::Unit*>(unitWithSignalParameters); | - |
481 | jsUnit->unitSize = newSize; | - |
482 | }executed 4 times by 1 test: end of block | 4 |
483 | | - |
484 | if (jsUnit != compilationUnit->dataTRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
) | 0-24 |
485 | jsUnit->flags &= ~QV4::CompiledData::Unit::StaticData;executed 24 times by 1 test: jsUnit->flags &= ~QV4::CompiledData::Unit::StaticData; | 24 |
486 | | - |
487 | returnexecuted 24 times by 1 test: return jsUnit; jsUnit;executed 24 times by 1 test: return jsUnit; | 24 |
488 | } | - |
489 | | - |
490 | QString Binding::valueAsString(const Unit *unit) const | - |
491 | { | - |
492 | switch (type) { | - |
493 | caseexecuted 4414 times by 19 tests: case Type_Script: Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_scenegraph
Type_Script:executed 4414 times by 19 tests: case Type_Script: Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_scenegraph
| 4414 |
494 | caseexecuted 272438 times by 118 tests: case Type_String: Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
Type_String:executed 272438 times by 118 tests: case Type_String: Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
| 272438 |
495 | returnexecuted 276852 times by 120 tests: return unit->stringAt(stringIndex); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- ...
unit->stringAt(stringIndex);executed 276852 times by 120 tests: return unit->stringAt(stringIndex); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- ...
| 276852 |
496 | case never executed: case Type_Boolean: Type_Boolean:never executed: case Type_Boolean: | 0 |
497 | return never executed: return value.b ? ([]() noexcept -> QString { enum { Size = sizeof(u"" "true")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "true" }; QStringDataPtr holder = { qstring_literal.data_p...static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "false" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); value.b ? ([]() noexcept -> QString { enum { Size = sizeof(u"" "true")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "true" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnnever executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()) : ([]() noexcept -> QString { enum { Size = sizeof(u"" "false")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "false" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnnever executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }());never executed: return value.b ? ([]() noexcept -> QString { enum { Size = sizeof(u"" "true")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "true" }; QStringDataPtr holder = { qstring_literal.data_p...static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "false" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 0 |
498 | caseexecuted 184 times by 4 tests: case Type_Number: Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
Type_Number:executed 184 times by 4 tests: case Type_Number: Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 184 |
499 | returnexecuted 184 times by 4 tests: return QString::number(valueAsNumber()); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
QString::number(valueAsNumber());executed 184 times by 4 tests: return QString::number(valueAsNumber()); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 184 |
500 | case never executed: case Type_Invalid: Type_Invalid:never executed: case Type_Invalid: | 0 |
501 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
502 | | - |
503 | | - |
504 | | - |
505 | | - |
506 | | - |
507 | caseexecuted 8 times by 3 tests: case Type_TranslationById: Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltranslation
Type_TranslationById:executed 8 times by 3 tests: case Type_TranslationById: Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltranslation
{ | 8 |
508 | QByteArray id = unit->stringAt(stringIndex).toUtf8(); | - |
509 | returnexecuted 8 times by 3 tests: return qtTrId(id.constData(), value.translationData.number); Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltranslation
qtTrId(id.constData(), value.translationData.number);executed 8 times by 3 tests: return qtTrId(id.constData(), value.translationData.number); Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltranslation
| 8 |
510 | } | - |
511 | caseexecuted 42 times by 7 tests: case Type_Translation: Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
Type_Translation:executed 42 times by 7 tests: case Type_Translation: Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
{ | 42 |
512 | | - |
513 | const QString &path = unit->stringAt(unit->sourceFileIndex); | - |
514 | int lastSlash = path.lastIndexOf(QLatin1Char('/')); | - |
515 | QStringRef context = (TRUE | evaluated 40 times by 6 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
| FALSE | evaluated 2 times by 1 test |
lastSlash > -1)TRUE | evaluated 40 times by 6 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
| FALSE | evaluated 2 times by 1 test |
? path.midRef(lastSlash + 1, path.length() - lastSlash - 5) | 2-40 |
516 | : QStringRef(); | - |
517 | QByteArray contextUtf8 = context.toUtf8(); | - |
518 | QByteArray comment = unit->stringAt(value.translationData.commentIndex).toUtf8(); | - |
519 | QByteArray text = unit->stringAt(stringIndex).toUtf8(); | - |
520 | returnexecuted 42 times by 7 tests: return QCoreApplication::translate(contextUtf8.constData(), text.constData(), comment.constData(), value.translationData.number); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
QCoreApplication::translate(contextUtf8.constData(), text.constData(),executed 42 times by 7 tests: return QCoreApplication::translate(contextUtf8.constData(), text.constData(), comment.constData(), value.translationData.number); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
| 42 |
521 | comment.constData(), value.translationData.number);executed 42 times by 7 tests: return QCoreApplication::translate(contextUtf8.constData(), text.constData(), comment.constData(), value.translationData.number); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmlprofilerservice
- tst_qqmltranslation
- tst_qquicklayouts
- tst_qquickstates
| 42 |
522 | } | - |
523 | | - |
524 | default never executed: default: :never executed: default: | 0 |
525 | break; never executed: break; | 0 |
526 | } | - |
527 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
528 | } | - |
529 | | - |
530 | | - |
531 | QString Binding::escapedString(const QString &string) | - |
532 | { | - |
533 | QString tmp = QLatin1String("\""); | - |
534 | for (int i = 0; i < string.length()TRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
535 | const QChar &c = string.at(i); | - |
536 | switch (c.unicode()) { | - |
537 | case never executed: case 0x08: 0x08:never executed: case 0x08: | 0 |
538 | tmp += QLatin1String("\\b"); | - |
539 | break; never executed: break; | 0 |
540 | case never executed: case 0x09: 0x09:never executed: case 0x09: | 0 |
541 | tmp += QLatin1String("\\t"); | - |
542 | break; never executed: break; | 0 |
543 | case never executed: case 0x0A: 0x0A:never executed: case 0x0A: | 0 |
544 | tmp += QLatin1String("\\n"); | - |
545 | break; never executed: break; | 0 |
546 | case never executed: case 0x0B: 0x0B:never executed: case 0x0B: | 0 |
547 | tmp += QLatin1String("\\v"); | - |
548 | break; never executed: break; | 0 |
549 | case never executed: case 0x0C: 0x0C:never executed: case 0x0C: | 0 |
550 | tmp += QLatin1String("\\f"); | - |
551 | break; never executed: break; | 0 |
552 | case never executed: case 0x0D: 0x0D:never executed: case 0x0D: | 0 |
553 | tmp += QLatin1String("\\r"); | - |
554 | break; never executed: break; | 0 |
555 | case never executed: case 0x22: 0x22:never executed: case 0x22: | 0 |
556 | tmp += QLatin1String("\\\""); | - |
557 | break; never executed: break; | 0 |
558 | case never executed: case 0x27: 0x27:never executed: case 0x27: | 0 |
559 | tmp += QLatin1String("\\\'"); | - |
560 | break; never executed: break; | 0 |
561 | case never executed: case 0x5C: 0x5C:never executed: case 0x5C: | 0 |
562 | tmp += QLatin1String("\\\\"); | - |
563 | break; never executed: break; | 0 |
564 | default never executed: default: :never executed: default: | 0 |
565 | tmp += c; | - |
566 | break; never executed: break; | 0 |
567 | } | - |
568 | } | - |
569 | tmp += QLatin1Char('\"'); | - |
570 | return never executed: return tmp; tmp;never executed: return tmp; | 0 |
571 | } | - |
572 | | - |
573 | QString Binding::valueAsScriptString(const Unit *unit) const | - |
574 | { | - |
575 | if (type == Type_StringTRUE | never evaluated | FALSE | evaluated 4532 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmlstatemachine
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_scenegraph
|
) | 0-4532 |
576 | return never executed: return escapedString(unit->stringAt(stringIndex)); escapedString(unit->stringAt(stringIndex));never executed: return escapedString(unit->stringAt(stringIndex)); | 0 |
577 | else | - |
578 | returnexecuted 4532 times by 14 tests: return valueAsString(unit); Executed by:- tst_examples
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmlstatemachine
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_scenegraph
valueAsString(unit);executed 4532 times by 14 tests: return valueAsString(unit); Executed by:- tst_examples
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmlstatemachine
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_scenegraph
| 4532 |
579 | } | - |
580 | | - |
581 | | - |
582 | | - |
583 | | - |
584 | | - |
585 | QQmlRefPointer<QQmlPropertyCache> ResolvedTypeReference::propertyCache() const | - |
586 | { | - |
587 | if (type.isValid()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
588 | return never executed: return typePropertyCache; typePropertyCache;never executed: return typePropertyCache; | 0 |
589 | else | - |
590 | return never executed: return compilationUnit->rootPropertyCache(); compilationUnit->rootPropertyCache();never executed: return compilationUnit->rootPropertyCache(); | 0 |
591 | } | - |
592 | | - |
593 | | - |
594 | | - |
595 | | - |
596 | QQmlRefPointer<QQmlPropertyCache> ResolvedTypeReference::createPropertyCache(QQmlEngine *engine) | - |
597 | { | - |
598 | if (typePropertyCacheTRUE | evaluated 176785 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 15052 times by 117 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) { | 15052-176785 |
599 | returnexecuted 176785 times by 141 tests: return typePropertyCache; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
typePropertyCache;executed 176785 times by 141 tests: return typePropertyCache; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 176785 |
600 | } else if (type.isValid()TRUE | evaluated 13598 times by 116 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| FALSE | evaluated 1454 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
|
) { | 1454-13598 |
601 | typePropertyCache = QQmlEnginePrivate::get(engine)->cache(type.metaObject()); | - |
602 | returnexecuted 13598 times by 116 tests: return typePropertyCache; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
typePropertyCache;executed 13598 times by 116 tests: return typePropertyCache; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 13598 |
603 | } else { | - |
604 | returnexecuted 1454 times by 39 tests: return compilationUnit->rootPropertyCache(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
compilationUnit->rootPropertyCache();executed 1454 times by 39 tests: return compilationUnit->rootPropertyCache(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| 1454 |
605 | } | - |
606 | } | - |
607 | | - |
608 | bool ResolvedTypeReference::addToHash(QCryptographicHash *hash, QQmlEngine *engine) | - |
609 | { | - |
610 | if (type.isValid()TRUE | evaluated 78272 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 943 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
|
) { | 943-78272 |
611 | bool ok = false; | - |
612 | hash->addData(createPropertyCache(engine)->checksum(&ok)); | - |
613 | returnexecuted 78272 times by 141 tests: return ok; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
ok;executed 78272 times by 141 tests: return ok; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 78272 |
614 | } | - |
615 | hash->addData(compilationUnit->data->md5Checksum, sizeof(compilationUnit->data->md5Checksum)); | - |
616 | returnexecuted 943 times by 40 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
true;executed 943 times by 40 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| 943 |
617 | } | - |
618 | | - |
619 | template <typename T> | - |
620 | bool qtTypeInherits(const QMetaObject *mo) { | - |
621 | while (moTRUE | evaluated 188816 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 77465 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 77465-188816 |
622 | if (mo == &T::staticMetaObjectTRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlpropertymap
- tst_signalspy
| FALSE | evaluated 188802 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 14-188802 |
623 | returnexecuted 14 times by 2 tests: return true; Executed by:- tst_qqmlpropertymap
- tst_signalspy
true;executed 14 times by 2 tests: return true; Executed by:- tst_qqmlpropertymap
- tst_signalspy
| 14 |
624 | mo = mo->superClass(); | - |
625 | }executed 188802 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 188802 |
626 | returnexecuted 77465 times by 141 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
false;executed 77465 times by 141 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 77465 |
627 | } | - |
628 | | - |
629 | void ResolvedTypeReference::doDynamicTypeCheck() | - |
630 | { | - |
631 | const QMetaObject *mo = nullptr; | - |
632 | if (typePropertyCacheTRUE | evaluated 62981 times by 133 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 14498 times by 117 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) | 14498-62981 |
633 | mo = typePropertyCache->firstCppMetaObject();executed 62981 times by 133 tests: mo = typePropertyCache->firstCppMetaObject(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 62981 |
634 | else if (type.isValid()TRUE | evaluated 13604 times by 116 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| FALSE | evaluated 894 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
|
) | 894-13604 |
635 | mo = type.metaObject();executed 13604 times by 116 tests: mo = type.metaObject(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 13604 |
636 | else if (compilationUnitTRUE | evaluated 894 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| FALSE | never evaluated |
) | 0-894 |
637 | mo = compilationUnit->rootPropertyCache()->firstCppMetaObject();executed 894 times by 40 tests: mo = compilationUnit->rootPropertyCache()->firstCppMetaObject(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| 894 |
638 | isFullyDynamicType = qtTypeInherits<QQmlPropertyMap>(mo); | - |
639 | }executed 77479 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 77479 |
640 | | - |
641 | bool ResolvedTypeReferenceMap::addToHash(QCryptographicHash *hash, QQmlEngine *engine) const | - |
642 | { | - |
643 | for (auto it = constBegin(), end = constEnd(); it != endTRUE | evaluated 79215 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 55267 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++it) { | 55267-79215 |
644 | if (!it.value()->addToHash(hash, engine)TRUE | never evaluated | FALSE | evaluated 79215 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 0-79215 |
645 | return never executed: return false; false;never executed: return false; | 0 |
646 | }executed 79215 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 79215 |
647 | | - |
648 | returnexecuted 55267 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
true;executed 55267 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55267 |
649 | } | - |
650 | | - |
651 | | - |
652 | | - |
653 | void CompilationUnit::destroy() | - |
654 | { | - |
655 | | - |
656 | if (qmlEngineTRUE | evaluated 5347 times by 53 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- ...
| FALSE | evaluated 2346582 times by 145 testsEvaluated 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
- ...
|
) | 5347-2346582 |
657 | QQmlEnginePrivate::deleteInEngineThread(qmlEngine, this);executed 5347 times by 53 tests: QQmlEnginePrivate::deleteInEngineThread(qmlEngine, this); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- ...
| 5347 |
658 | else | - |
659 | | - |
660 | delete this;executed 2346567 times by 145 tests: delete 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_qqmlfileselector
- ...
| 2346567 |
661 | } | - |
662 | | - |
663 | | - |
664 | void Unit::generateChecksum() | - |
665 | { | - |
666 | | - |
667 | QCryptographicHash hash(QCryptographicHash::Md5); | - |
668 | | - |
669 | const int checksummableDataOffset = | - |
670 | __builtin_offsetof ( | - |
671 | QV4::CompiledData::Unit | - |
672 | , | - |
673 | md5Checksum | - |
674 | ) | - |
675 | + sizeof(md5Checksum); | - |
676 | | - |
677 | const char *dataPtr = reinterpret_cast<const char *>(this) + checksummableDataOffset; | - |
678 | hash.addData(dataPtr, unitSize - checksummableDataOffset); | - |
679 | | - |
680 | QByteArray checksum = hash.result(); | - |
681 | ((checksum.size() == sizeof(md5Checksum)) ? static_cast<void>(0) : qt_assert("checksum.size() == sizeof(md5Checksum)", __FILE__, 748)); | - |
682 | memcpy(md5Checksum, checksum.constData(), sizeof(md5Checksum)); | - |
683 | | - |
684 | | - |
685 | | - |
686 | }executed 2383537 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
- ...
| 2383537 |
687 | | - |
688 | bool Unit::verifyHeader(QDateTime expectedSourceTimeStamp, QString *errorString) const | - |
689 | { | - |
690 | | - |
691 | if (strncmp(magic, CompiledData::magic_str, sizeof(magic))TRUE | never evaluated | FALSE | evaluated 9668 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-9668 |
692 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "Magic bytes in the header do not match")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Magic bytes in the header do not match" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
693 | return never executed: return false; false;never executed: return false; | 0 |
694 | } | - |
695 | | - |
696 | if (version != quint32(0x19)TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qmlcachegen
- tst_qmldiskcache
| FALSE | evaluated 9662 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 6-9662 |
697 | *errorString = QString::fromUtf8("V4 data structure version mismatch. Found %1 expected %2").arg(version, 0, 16).arg(0x19, 0, 16); | - |
698 | returnexecuted 6 times by 2 tests: return false; Executed by:- tst_qmlcachegen
- tst_qmldiskcache
false;executed 6 times by 2 tests: return false; Executed by:- tst_qmlcachegen
- tst_qmldiskcache
| 6 |
699 | } | - |
700 | | - |
701 | if (qtVersion != quint32(((5<<16)|(12<<8)|(0)))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9660 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 2-9660 |
702 | *errorString = QString::fromUtf8("Qt version mismatch. Found %1 expected %2").arg(qtVersion, 0, 16).arg(((5<<16)|(12<<8)|(0)), 0, 16); | - |
703 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
704 | } | - |
705 | | - |
706 | if (sourceTimeStampTRUE | evaluated 9628 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 32 times by 1 test |
) { | 32-9628 |
707 | | - |
708 | | - |
709 | if (!expectedSourceTimeStamp.isValid()TRUE | never evaluated | FALSE | evaluated 9628 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) | 0-9628 |
710 | expectedSourceTimeStamp = QFileInfo(QCoreApplication::applicationFilePath()).lastModified(); never executed: expectedSourceTimeStamp = QFileInfo(QCoreApplication::applicationFilePath()).lastModified(); | 0 |
711 | | - |
712 | if (expectedSourceTimeStamp.isValid()TRUE | evaluated 9628 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | never evaluated |
&& expectedSourceTimeStamp.toMSecsSinceEpoch() != sourceTimeStampTRUE | evaluated 296 times by 33 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 9332 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 0-9628 |
713 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "QML source file has a different time stamp than cached file.")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QML source file has a different time stamp than cached file." }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
714 | returnexecuted 296 times by 33 tests: return false; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
false;executed 296 times by 33 tests: return false; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 296 |
715 | } | - |
716 | }executed 9332 times by 124 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 9332 |
717 | | - |
718 | | - |
719 | if (qstrcmp("a7f17c437e1c5b33ee6ac39e05f33ab3648a2fdc", libraryVersionHash) != 0TRUE | never evaluated | FALSE | evaluated 9364 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-9364 |
720 | *errorString = ([]() noexcept -> QString { enum { Size = sizeof(u"" "QML library version mismatch. Expected compile hash does not match")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QML library version mismatch. Expected compile hash does not match" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
721 | return never executed: return false; false;never executed: return false; | 0 |
722 | } | - |
723 | | - |
724 | | - |
725 | | - |
726 | | - |
727 | returnexecuted 9364 times by 125 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
true;executed 9364 times by 125 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 9364 |
728 | | - |
729 | | - |
730 | | - |
731 | | - |
732 | | - |
733 | } | - |
734 | | - |
735 | } | - |
736 | | - |
737 | } | - |
738 | | - |
739 | | - |
| | |