Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qv4compileddata_p.h" | - |
41 | #include <private/qv4value_p.h> | - |
42 | #ifndef V4_BOOTSTRAP | - |
43 | #include <private/qv4engine_p.h> | - |
44 | #include <private/qv4function_p.h> | - |
45 | #include <private/qv4objectproto_p.h> | - |
46 | #include <private/qv4lookup_p.h> | - |
47 | #include <private/qv4regexpobject_p.h> | - |
48 | #include <private/qv4regexp_p.h> | - |
49 | #include <private/qqmlpropertycache_p.h> | - |
50 | #include <private/qqmltypeloader_p.h> | - |
51 | #include <private/qqmlengine_p.h> | - |
52 | #include <private/qv4vme_moth_p.h> | - |
53 | #include "qv4compilationunitmapper_p.h" | - |
54 | #include <QQmlPropertyMap> | - |
55 | #include <QDateTime> | - |
56 | #include <QFile> | - |
57 | #include <QFileInfo> | - |
58 | #include <QScopedValueRollback> | - |
59 | #include <QStandardPaths> | - |
60 | #include <QDir> | - |
61 | #include <private/qv4identifiertable_p.h> | - |
62 | #endif | - |
63 | #include <private/qqmlirbuilder_p.h> | - |
64 | #include <QCoreApplication> | - |
65 | #include <QCryptographicHash> | - |
66 | #include <QSaveFile> | - |
67 | | - |
68 | | - |
69 | #include "qml_compile_hash_p.h" | - |
70 | | - |
71 | #include <algorithm> | - |
72 | | - |
73 | QT_BEGIN_NAMESPACE | - |
74 | | - |
75 | namespace QV4 { | - |
76 | | - |
77 | namespace CompiledData { | - |
78 | | - |
79 | static_assert(sizeof(Unit::libraryVersionHash) >= QML_COMPILE_HASH_LENGTH + 1, "Compile hash length exceeds reserved size in data structure. Please adjust and bump the format version"); | - |
80 | | - |
81 | CompilationUnit::CompilationUnit(const Unit *unitData) | - |
82 | { | - |
83 | data = unitData; | - |
84 | }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 |
85 | | - |
86 | #ifndef V4_BOOTSTRAP | - |
87 | CompilationUnit::~CompilationUnit() | - |
88 | { | - |
89 | unlink(); | - |
90 | if (data && !(data->flags & QV4::CompiledData::Unit::StaticData))TRUE | 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
- ...
|
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 |
91 | 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 |
92 | data = nullptr; | - |
93 | }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 |
94 | | - |
95 | QString CompilationUnit::localCacheFilePath(const QUrl &url) | - |
96 | { | - |
97 | const QString localSourcePath = QQmlFile::urlToLocalFileOrQrc(url); | - |
98 | const QString cacheFileSuffix = QFileInfo(localSourcePath + QLatin1Char('c')).completeSuffix(); | - |
99 | QCryptographicHash fileNameHash(QCryptographicHash::Sha1); | - |
100 | fileNameHash.addData(localSourcePath.toUtf8()); | - |
101 | QString directory = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QLatin1String("/qmlcache/"); | - |
102 | QDir::root().mkpath(directory); | - |
103 | return 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 |
104 | } | - |
105 | | - |
106 | QV4::Function *CompilationUnit::linkToEngine(ExecutionEngine *engine) | - |
107 | { | - |
108 | this->engine = engine; | - |
109 | engine->compilationUnits.insert(this); | - |
110 | | - |
111 | Q_ASSERT(!runtimeStrings); | - |
112 | Q_ASSERT(data); | - |
113 | runtimeStrings = (QV4::Heap::String **)malloc(data->stringTableSize * sizeof(QV4::Heap::String*)); | - |
114 | | - |
115 | memset(runtimeStrings, 0, data->stringTableSize * sizeof(QV4::Heap::String*)); | - |
116 | for (uint i = 0; i < data->stringTableSize; ++i)TRUE | 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
- ...
|
| 2342429-13711726 |
117 | 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 |
118 | | - |
119 | runtimeRegularExpressions = new QV4::Value[data->regexpTableSize]; | - |
120 | | - |
121 | memset(runtimeRegularExpressions, 0, data->regexpTableSize * sizeof(QV4::Value)); | - |
122 | for (uint i = 0; i < data->regexpTableSize; ++i) {TRUE | 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
- ...
|
| 1052701-2342020 |
123 | const CompiledData::RegExp *re = data->regexpAt(i); | - |
124 | bool global = false; | - |
125 | bool multiline = false; | - |
126 | bool ignoreCase = false; | - |
127 | if (re->flags & CompiledData::RegExp::RegExp_Global)TRUE | 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 |
128 | global = true;executed 2773 times by 4 tests: global = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlxmlhttprequest
| 2773 |
129 | if (re->flags & CompiledData::RegExp::RegExp_IgnoreCase)TRUE | 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 |
130 | ignoreCase = true;executed 104 times by 3 tests: ignoreCase = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 104 |
131 | if (re->flags & CompiledData::RegExp::RegExp_Multiline)TRUE | 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 |
132 | multiline = true;executed 70 times by 3 tests: multiline = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 70 |
133 | runtimeRegularExpressions[i] = QV4::RegExp::create(engine, data->stringAt(re->stringIndex), ignoreCase, multiline, global); | - |
134 | }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 |
135 | | - |
136 | if (data->lookupTableSize) {TRUE | 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 |
137 | runtimeLookups = new QV4::Lookup[data->lookupTableSize]; | - |
138 | memset(runtimeLookups, 0, data->lookupTableSize * sizeof(QV4::Lookup)); | - |
139 | const CompiledData::Lookup *compiledLookups = data->lookupTable(); | - |
140 | for (uint i = 0; i < data->lookupTableSize; ++i) {TRUE | 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
|
| 84864-5916712 |
141 | QV4::Lookup *l = runtimeLookups + i; | - |
142 | | - |
143 | Lookup::Type type = Lookup::Type(uint(compiledLookups[i].type_and_flags)); | - |
144 | if (type == CompiledData::Lookup::Type_Getter)TRUE | 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 |
145 | 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 |
146 | else if (type == CompiledData::Lookup::Type_Setter)TRUE | 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 |
147 | l->setter = QV4::Lookup::setterGeneric;executed 596957 times by 1 test: l->setter = QV4::Lookup::setterGeneric; | 596957 |
148 | else if (type == CompiledData::Lookup::Type_GlobalGetter)TRUE | 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 |
149 | 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 |
150 | l->nameIndex = compiledLookups[i].nameIndex; | - |
151 | }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 |
152 | }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 |
153 | | - |
154 | if (data->jsClassTableSize) {TRUE | 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 |
155 | runtimeClasses = (QV4::Heap::InternalClass **)malloc(data->jsClassTableSize * sizeof(QV4::Heap::InternalClass *)); | - |
156 | | - |
157 | memset(runtimeClasses, 0, data->jsClassTableSize * sizeof(QV4::Heap::InternalClass *)); | - |
158 | for (uint i = 0; i < data->jsClassTableSize; ++i) {TRUE | 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
- ...
|
| 37811-72755 |
159 | int memberCount = 0; | - |
160 | const CompiledData::JSClassMember *member = data->jsClassAt(i, &memberCount); | - |
161 | runtimeClasses[i] = engine->internalClasses(QV4::ExecutionEngine::Class_Object); | - |
162 | for (int j = 0; j < memberCount; ++j, ++member)TRUE | 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
- ...
|
| 72720-76439 |
163 | 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 |
164 | }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 |
165 | }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 |
166 | | - |
167 | #if Q_BYTE_ORDER == Q_BIG_ENDIAN | - |
168 | Value *bigEndianConstants = new Value[data->constantTableSize]; | - |
169 | const quint64_le *littleEndianConstants = data->constants(); | - |
170 | for (uint i = 0; i < data->constantTableSize; ++i) | - |
171 | bigEndianConstants[i] = Value::fromReturnedValue(littleEndianConstants[i]); | - |
172 | constants = bigEndianConstants; | - |
173 | #else | - |
174 | constants = reinterpret_cast<const Value*>(data->constants()); | - |
175 | #endif | - |
176 | | - |
177 | linkBackendToEngine(engine); | - |
178 | | - |
179 | static const bool showCode = qEnvironmentVariableIsSet("QV4_SHOW_BYTECODE"); | - |
180 | if (showCode) {TRUE | 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 |
181 | qDebug() << "=== Constant table"; | - |
182 | Moth::dumpConstantTable(constants, data->constantTableSize); | - |
183 | qDebug() << "=== String table"; | - |
184 | for (uint i = 0; i < data->stringTableSize; ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
185 | qDebug() << " " << i << ":" << runtimeStrings[i]->toQString(); never executed: QMessageLogger(__FILE__, 185, __PRETTY_FUNCTION__).debug() << " " << i << ":" << runtimeStrings[i]->toQString(); | 0 |
186 | qDebug() << "=== Closure table"; | - |
187 | for (uint i = 0; i < data->functionTableSize; ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
188 | qDebug() << " " << i << ":" << runtimeFunctions[i]->name()->toQString(); never executed: QMessageLogger(__FILE__, 188, __PRETTY_FUNCTION__).debug() << " " << i << ":" << runtimeFunctions[i]->name()->toQString(); | 0 |
189 | qDebug() << "root function at index " << (data->indexOfRootFunction != -1 ? data->indexOfRootFunction : 0); | - |
190 | } never executed: end of block | 0 |
191 | | - |
192 | if (data->indexOfRootFunction != -1)TRUE | 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 |
193 | return 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 |
194 | else | - |
195 | return 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 |
196 | } | - |
197 | | - |
198 | void CompilationUnit::unlink() | - |
199 | { | - |
200 | if (engine)TRUE | 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 |
201 | 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 |
202 | | - |
203 | if (isRegisteredWithEngine) {TRUE | 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 |
204 | Q_ASSERT(data && propertyCaches.count() > 0 && propertyCaches.at(0)); | - |
205 | if (qmlEngine)TRUE | 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 |
206 | 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 |
207 | QQmlMetaType::unregisterInternalCompositeType(this); | - |
208 | isRegisteredWithEngine = false; | - |
209 | }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 |
210 | | - |
211 | propertyCaches.clear(); | - |
212 | | - |
213 | dependentScripts.clear(); | - |
214 | | - |
215 | typeNameCache = nullptr; | - |
216 | | - |
217 | qDeleteAll(resolvedTypes); | - |
218 | resolvedTypes.clear(); | - |
219 | | - |
220 | engine = nullptr; | - |
221 | qmlEngine = nullptr; | - |
222 | free(runtimeStrings); | - |
223 | runtimeStrings = nullptr; | - |
224 | delete [] runtimeLookups; | - |
225 | runtimeLookups = nullptr; | - |
226 | delete [] runtimeRegularExpressions; | - |
227 | runtimeRegularExpressions = nullptr; | - |
228 | free(runtimeClasses); | - |
229 | runtimeClasses = nullptr; | - |
230 | qDeleteAll(runtimeFunctions); | - |
231 | runtimeFunctions.clear(); | - |
232 | #if Q_BYTE_ORDER == Q_BIG_ENDIAN | - |
233 | delete [] constants; | - |
234 | constants = nullptr; | - |
235 | #endif | - |
236 | }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 |
237 | | - |
238 | void CompilationUnit::markObjects(QV4::MarkStack *markStack) | - |
239 | { | - |
240 | if (runtimeStrings) {TRUE | 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 |
241 | for (uint i = 0; i < data->stringTableSize; ++i)TRUE | 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
|
| 580330-3267818 |
242 | 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 |
243 | 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 |
244 | }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 |
245 | if (runtimeRegularExpressions) {TRUE | 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 |
246 | for (uint i = 0; i < data->regexpTableSize; ++i)TRUE | 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
|
| 531973-579964 |
247 | runtimeRegularExpressions[i].mark(markStack);executed 531976 times by 2 tests: runtimeRegularExpressions[i].mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
| 531976 |
248 | }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 |
249 | if (runtimeClasses) {TRUE | 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 |
250 | for (uint i = 0; i < data->jsClassTableSize; ++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 | 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
|
| 1176-12104 |
251 | 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 |
252 | 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 |
253 | }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 |
254 | for (QV4::Function *f : qAsConst(runtimeFunctions)) | - |
255 | if (f && f->internalClass)TRUE | 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 |
TRUE | 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 |
256 | 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 |
257 | for (QV4::Heap::InternalClass *c : qAsConst(runtimeBlocks)) | - |
258 | if (c)TRUE | 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 |
259 | 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 |
260 | | - |
261 | if (runtimeLookups) {TRUE | 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 |
262 | for (uint i = 0; i < data->lookupTableSize; ++i)TRUE | evaluated 735283 times by 1 test | FALSE | evaluated 6850 times by 1 test |
| 6850-735283 |
263 | runtimeLookups[i].markObjects(markStack);executed 735284 times by 1 test: runtimeLookups[i].markObjects(markStack); | 735284 |
264 | }executed 6850 times by 1 test: end of block | 6850 |
265 | }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 |
266 | | - |
267 | IdentifierHash CompilationUnit::createNamedObjectsPerComponent(int componentObjectIndex) | - |
268 | { | - |
269 | IdentifierHash namedObjectCache(engine); | - |
270 | const CompiledData::Object *component = data->objectAt(componentObjectIndex); | - |
271 | const quint32_le *namedObjectIndexPtr = component->namedObjectsInComponentTable(); | - |
272 | for (quint32 i = 0; i < component->nNamedObjectsInComponent; ++i, ++namedObjectIndexPtr) {TRUE | 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
- ...
|
| 7544-45150 |
273 | const CompiledData::Object *namedObject = data->objectAt(*namedObjectIndexPtr); | - |
274 | namedObjectCache.add(runtimeStrings[namedObject->idNameIndex], namedObject->id); | - |
275 | }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 |
276 | return *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 |
277 | } | - |
278 | | - |
279 | void CompilationUnit::finalizeCompositeType(QQmlEnginePrivate *qmlEngine) | - |
280 | { | - |
281 | this->qmlEngine = qmlEngine; | - |
282 | | - |
283 | | - |
284 | 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 |
285 | QQmlMetaType::registerInternalCompositeType(this); | - |
286 | qmlEngine->registerInternalCompositeType(this); | - |
287 | } else {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
- ...
| 7603 |
288 | const QV4::CompiledData::Object *obj = objectAt(0); | - |
289 | auto *typeRef = resolvedTypes.value(obj->inheritedTypeNameIndex); | - |
290 | Q_ASSERT(typeRef); | - |
291 | if (typeRef->compilationUnit) {TRUE | 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 |
292 | metaTypeId = typeRef->compilationUnit->metaTypeId; | - |
293 | listMetaTypeId = typeRef->compilationUnit->listMetaTypeId; | - |
294 | } else {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
| 120 |
295 | metaTypeId = typeRef->type.typeId(); | - |
296 | listMetaTypeId = typeRef->type.qListTypeId(); | - |
297 | }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 |
298 | } | - |
299 | | - |
300 | | - |
301 | int bindingCount = 0; | - |
302 | int parserStatusCount = 0; | - |
303 | int objectCount = 0; | - |
304 | for (quint32 i = 0; i < data->nObjects; ++i) {TRUE | 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
- ...
|
| 54919-125085 |
305 | const QV4::CompiledData::Object *obj = data->objectAt(i); | - |
306 | bindingCount += obj->nBindings; | - |
307 | 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 |
308 | 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 |
309 | if (typeRef->type.parserStatusCast() != -1)TRUE | 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 |
310 | ++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 |
311 | }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 |
312 | ++objectCount; | - |
313 | if (typeRef->compilationUnit) {TRUE | 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 |
314 | bindingCount += typeRef->compilationUnit->totalBindingsCount; | - |
315 | parserStatusCount += typeRef->compilationUnit->totalParserStatusCount; | - |
316 | objectCount += typeRef->compilationUnit->totalObjectCount; | - |
317 | }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 |
318 | }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 |
319 | }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 |
320 | | - |
321 | totalBindingsCount = bindingCount; | - |
322 | totalParserStatusCount = parserStatusCount; | - |
323 | totalObjectCount = objectCount; | - |
324 | }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 |
325 | | - |
326 | bool CompilationUnit::verifyChecksum(const DependentTypesHasher &dependencyHasher) const | - |
327 | { | - |
328 | if (!dependencyHasher) {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 |
329 | for (size_t i = 0; i < sizeof(data->dependencyMD5Checksum); ++i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
330 | if (data->dependencyMD5Checksum[i] != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
331 | return false; never executed: return false; | 0 |
332 | } never executed: end of block | 0 |
333 | return true; never executed: return true; | 0 |
334 | } | - |
335 | QCryptographicHash hash(QCryptographicHash::Md5); | - |
336 | 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 |
337 | return false; never executed: return false; | 0 |
338 | QByteArray checksum = hash.result(); | - |
339 | Q_ASSERT(checksum.size() == sizeof(data->dependencyMD5Checksum)); | - |
340 | return 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 |
341 | 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 |
342 | } | - |
343 | | - |
344 | bool CompilationUnit::loadFromDisk(const QUrl &url, const QDateTime &sourceTimeStamp, QString *errorString) | - |
345 | { | - |
346 | 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 |
347 | *errorString = QStringLiteral("File has to be a local file."); | - |
348 | return 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 |
349 | } | - |
350 | | - |
351 | const QString sourcePath = QQmlFile::urlToLocalFileOrQrc(url); | - |
352 | QScopedPointer<CompilationUnitMapper> cacheFile(new CompilationUnitMapper()); | - |
353 | | - |
354 | QString cachePath = sourcePath + QLatin1Char('c'); | - |
355 | 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 |
356 | 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 |
357 | | - |
358 | CompiledData::Unit *mappedUnit = cacheFile->open(cachePath, sourceTimeStamp, errorString); | - |
359 | if (!mappedUnit)TRUE | 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 |
360 | return 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 |
361 | | - |
362 | const Unit * const oldDataPtr = (data && !(data->flags & QV4::CompiledData::Unit::StaticData)) ? data : nullptr;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 | 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
- ...
|
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 |
| 0-7002 |
363 | QScopedValueRollback<const Unit *> dataPtrChange(data, mappedUnit); | - |
364 | | - |
365 | if (data->sourceFileIndex != 0 && sourcePath != QQmlFile::urlToLocalFileOrQrc(stringAt(data->sourceFileIndex))) {TRUE | 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 |
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 |
366 | *errorString = QStringLiteral("QML source file has moved to a different location."); | - |
367 | return false; never executed: return false; | 0 |
368 | } | - |
369 | | - |
370 | dataPtrChange.commit(); | - |
371 | free(const_cast<Unit*>(oldDataPtr)); | - |
372 | backingFile.reset(cacheFile.take()); | - |
373 | return 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 |
374 | } | - |
375 | | - |
376 | void CompilationUnit::linkBackendToEngine(ExecutionEngine *engine) | - |
377 | { | - |
378 | runtimeFunctions.resize(data->functionTableSize); | - |
379 | for (int i = 0 ;i < runtimeFunctions.size(); ++i) {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
- ...
|
| 2342307-3439983 |
380 | const QV4::CompiledData::Function *compiledFunction = data->functionAt(i); | - |
381 | runtimeFunctions[i] = new QV4::Function(engine, this, compiledFunction); | - |
382 | }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 |
383 | | - |
384 | Scope scope(engine); | - |
385 | Scoped<InternalClass> ic(scope); | - |
386 | | - |
387 | runtimeBlocks.resize(data->blockTableSize); | - |
388 | for (int i = 0 ;i < runtimeBlocks.size(); ++i) {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
- ...
|
| 339488-2342155 |
389 | const QV4::CompiledData::Block *compiledBlock = data->blockAt(i); | - |
390 | ic = engine->internalClasses(EngineBase::Class_CallContext); | - |
391 | | - |
392 | | - |
393 | const quint32_le *localsIndices = compiledBlock->localsTable(); | - |
394 | for (quint32 i = 0; i < compiledBlock->nLocals; ++i)TRUE | 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
- ...
|
| 227931-340378 |
395 | 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 |
396 | runtimeBlocks[i] = ic->d(); | - |
397 | }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 |
398 | }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 |
399 | | - |
400 | #endif // V4_BOOTSTRAP | - |
401 | | - |
402 | #if defined(V4_BOOTSTRAP) | - |
403 | bool CompilationUnit::saveToDisk(const QString &outputFileName, QString *errorString) | - |
404 | #else | - |
405 | bool CompilationUnit::saveToDisk(const QUrl &unitUrl, QString *errorString) | - |
406 | #endif | - |
407 | { | - |
408 | errorString->clear(); | - |
409 | | - |
410 | #if !defined(V4_BOOTSTRAP) | - |
411 | if (data->sourceTimeStamp == 0) {TRUE | 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 |
412 | *errorString = QStringLiteral("Missing time stamp for source file"); | - |
413 | return 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 |
414 | } | - |
415 | | - |
416 | 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 |
417 | *errorString = QStringLiteral("File has to be a local file."); | - |
418 | return false; never executed: return false; | 0 |
419 | } | - |
420 | const QString outputFileName = localCacheFilePath(unitUrl); | - |
421 | #endif | - |
422 | | - |
423 | #if QT_CONFIG(temporaryfile) | - |
424 | | - |
425 | QSaveFile cacheFile(outputFileName); | - |
426 | 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 |
427 | *errorString = cacheFile.errorString(); | - |
428 | return false; never executed: return false; | 0 |
429 | } | - |
430 | | - |
431 | QByteArray modifiedUnit; | - |
432 | modifiedUnit.resize(data->unitSize); | - |
433 | memcpy(modifiedUnit.data(), data, data->unitSize); | - |
434 | const char *dataPtr = modifiedUnit.data(); | - |
435 | Unit *unitPtr; | - |
436 | memcpy(&unitPtr, &dataPtr, sizeof(unitPtr)); | - |
437 | unitPtr->flags |= Unit::StaticData; | - |
438 | | - |
439 | qint64 headerWritten = cacheFile.write(modifiedUnit); | - |
440 | 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 |
441 | *errorString = cacheFile.errorString(); | - |
442 | return false; never executed: return false; | 0 |
443 | } | - |
444 | | - |
445 | 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 |
446 | *errorString = cacheFile.errorString(); | - |
447 | return false; never executed: return false; | 0 |
448 | } | - |
449 | | - |
450 | return 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 |
451 | #else | - |
452 | Q_UNUSED(outputFileName) | - |
453 | *errorString = QStringLiteral("features.temporaryfile is disabled."); | - |
454 | return false; | - |
455 | #endif // QT_CONFIG(temporaryfile) | - |
456 | } | - |
457 | | - |
458 | Unit *CompilationUnit::createUnitData(QmlIR::Document *irDocument) | - |
459 | { | - |
460 | if (!irDocument->javaScriptCompilationUnit->data)TRUE | 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 |
461 | return 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 |
462 | | - |
463 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit = irDocument->javaScriptCompilationUnit; | - |
464 | QV4::CompiledData::Unit *jsUnit = const_cast<QV4::CompiledData::Unit*>(compilationUnit->data); | - |
465 | auto ensureWritableUnit = [&jsUnit, &compilationUnit]() { | - |
466 | if (jsUnit == compilationUnit->data) {TRUE | evaluated 24 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-24 |
467 | char *unitCopy = (char*)malloc(jsUnit->unitSize); | - |
468 | memcpy(unitCopy, jsUnit, jsUnit->unitSize); | - |
469 | jsUnit = reinterpret_cast<QV4::CompiledData::Unit*>(unitCopy); | - |
470 | }executed 24 times by 1 test: end of block | 24 |
471 | };executed 28 times by 1 test: end of block | 28 |
472 | | - |
473 | QV4::Compiler::StringTableGenerator &stringTable = irDocument->jsGenerator.stringTable; | - |
474 | | - |
475 | if (jsUnit->sourceFileIndex == quint32(0) || jsUnit->stringAt(jsUnit->sourceFileIndex) != irDocument->jsModule.fileName) {TRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-24 |
476 | ensureWritableUnit(); | - |
477 | jsUnit->sourceFileIndex = stringTable.registerString(irDocument->jsModule.fileName); | - |
478 | jsUnit->finalUrlIndex = stringTable.registerString(irDocument->jsModule.finalUrl); | - |
479 | }executed 24 times by 1 test: end of block | 24 |
480 | | - |
481 | | - |
482 | | - |
483 | | - |
484 | QVector<quint32> changedSignals; | - |
485 | QVector<QQmlJS::AST::FormalParameterList*> changedSignalParameters; | - |
486 | for (QmlIR::Object *o: qAsConst(irDocument->objects)) { | - |
487 | for (QmlIR::Binding *binding = o->firstBinding(); binding; binding = binding->next) {TRUE | evaluated 62 times by 1 test | FALSE | evaluated 38 times by 1 test |
| 38-62 |
488 | if (!(binding->flags & QV4::CompiledData::Binding::IsSignalHandlerExpression))TRUE | evaluated 52 times by 1 test | FALSE | evaluated 10 times by 1 test |
| 10-52 |
489 | continue;executed 52 times by 1 test: continue; | 52 |
490 | | - |
491 | quint32 functionIndex = binding->value.compiledScriptIndex; | - |
492 | QmlIR::CompiledFunctionOrExpression *foe = o->functionsAndExpressions->slowAt(functionIndex); | - |
493 | if (!foe)TRUE | never evaluated | FALSE | evaluated 10 times by 1 test |
| 0-10 |
494 | continue; never executed: continue; | 0 |
495 | | - |
496 | | - |
497 | changedSignals << o->runtimeFunctionIndices.at(functionIndex); | - |
498 | | - |
499 | Q_ASSERT(foe->node); | - |
500 | Q_ASSERT(QQmlJS::AST::cast<QQmlJS::AST::FunctionDeclaration*>(foe->node)); | - |
501 | | - |
502 | QQmlJS::AST::FormalParameterList *parameters = QQmlJS::AST::cast<QQmlJS::AST::FunctionDeclaration*>(foe->node)->formals; | - |
503 | changedSignalParameters << parameters; | - |
504 | | - |
505 | if (parameters) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 4-6 |
506 | const QStringList formals = parameters->formals(); | - |
507 | for (const QString &arg : formals) | - |
508 | stringTable.registerString(arg);executed 4 times by 1 test: stringTable.registerString(arg); | 4 |
509 | }executed 4 times by 1 test: end of block | 4 |
510 | }executed 10 times by 1 test: end of block | 10 |
511 | }executed 38 times by 1 test: end of block | 38 |
512 | | - |
513 | QVector<quint32> signalParameterNameTable; | - |
514 | quint32 signalParameterNameTableOffset = jsUnit->unitSize; | - |
515 | | - |
516 | | - |
517 | if (!changedSignals.isEmpty()) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 8-16 |
518 | if (jsUnit == compilationUnit->data) {TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
| 0-8 |
519 | char *unitCopy = (char*)malloc(jsUnit->unitSize); | - |
520 | memcpy(unitCopy, jsUnit, jsUnit->unitSize); | - |
521 | jsUnit = reinterpret_cast<QV4::CompiledData::Unit*>(unitCopy); | - |
522 | } never executed: end of block | 0 |
523 | | - |
524 | for (int i = 0; i < changedSignals.count(); ++i) {TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
525 | const uint functionIndex = changedSignals.at(i); | - |
526 | | - |
527 | QV4::CompiledData::Function *function = const_cast<QV4::CompiledData::Function *>(jsUnit->functionAt(functionIndex)); | - |
528 | Q_ASSERT(function->nFormals == quint32(0)); | - |
529 | | - |
530 | function->formalsOffset = signalParameterNameTableOffset - jsUnit->functionOffsetTable()[functionIndex]; | - |
531 | | - |
532 | if (QQmlJS::AST::FormalParameterList *parameters = changedSignalParameters.at(i)) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 4-6 |
533 | const QStringList formals = parameters->formals(); | - |
534 | for (const QString &arg : formals) | - |
535 | signalParameterNameTable.append(stringTable.getStringId(arg));executed 4 times by 1 test: signalParameterNameTable.append(stringTable.getStringId(arg)); | 4 |
536 | | - |
537 | function->nFormals = formals.size(); | - |
538 | }executed 4 times by 1 test: end of block | 4 |
539 | function->length = function->nFormals; | - |
540 | | - |
541 | signalParameterNameTableOffset += function->nFormals * sizeof(quint32); | - |
542 | }executed 10 times by 1 test: end of block | 10 |
543 | }executed 8 times by 1 test: end of block | 8 |
544 | | - |
545 | if (!signalParameterNameTable.isEmpty()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 20 times by 1 test |
| 4-20 |
546 | ensureWritableUnit(); | - |
547 | Q_ASSERT(jsUnit != compilationUnit->data); | - |
548 | const uint signalParameterTableSize = signalParameterNameTable.count() * sizeof(quint32); | - |
549 | uint newSize = jsUnit->unitSize + signalParameterTableSize; | - |
550 | const uint oldSize = jsUnit->unitSize; | - |
551 | char *unitWithSignalParameters = (char*)realloc(jsUnit, newSize); | - |
552 | memcpy(unitWithSignalParameters + oldSize, signalParameterNameTable.constData(), signalParameterTableSize); | - |
553 | jsUnit = reinterpret_cast<QV4::CompiledData::Unit*>(unitWithSignalParameters); | - |
554 | jsUnit->unitSize = newSize; | - |
555 | }executed 4 times by 1 test: end of block | 4 |
556 | | - |
557 | if (jsUnit != compilationUnit->data)TRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
| 0-24 |
558 | jsUnit->flags &= ~QV4::CompiledData::Unit::StaticData;executed 24 times by 1 test: jsUnit->flags &= ~QV4::CompiledData::Unit::StaticData; | 24 |
559 | | - |
560 | return jsUnit;executed 24 times by 1 test: return jsUnit; | 24 |
561 | } | - |
562 | | - |
563 | QString Binding::valueAsString(const Unit *unit) const | - |
564 | { | - |
565 | switch (type) { | - |
566 | case 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 |
567 | case 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 |
568 | return 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 |
569 | case Type_Boolean: never executed: case Type_Boolean: | 0 |
570 | return value.b ? QStringLiteral("true") : QStringLiteral("false"); 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; }()); never executed: return qstring_literal_temp; never executed: return qstring_literal_temp; | 0 |
571 | case Type_Number:executed 184 times by 4 tests: case Type_Number: Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 184 |
572 | return QString::number(valueAsNumber());executed 184 times by 4 tests: return QString::number(valueAsNumber()); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 184 |
573 | case Type_Invalid: never executed: case Type_Invalid: | 0 |
574 | return QString(); never executed: return QString(); | 0 |
575 | #if !QT_CONFIG(translation) | - |
576 | case Type_TranslationById: | - |
577 | case Type_Translation: | - |
578 | return unit->stringAt(stringIndex); | - |
579 | #else | - |
580 | case Type_TranslationById: {executed 8 times by 3 tests: case Type_TranslationById: Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltranslation
| 8 |
581 | QByteArray id = unit->stringAt(stringIndex).toUtf8(); | - |
582 | return 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 |
583 | } | - |
584 | case 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 |
585 | | - |
586 | const QString &path = unit->stringAt(unit->sourceFileIndex); | - |
587 | int lastSlash = path.lastIndexOf(QLatin1Char('/')); | - |
588 | QStringRef context = (lastSlash > -1) ? path.midRef(lastSlash + 1, path.length() - lastSlash - 5)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 |
| 2-40 |
589 | : QStringRef(); | - |
590 | QByteArray contextUtf8 = context.toUtf8(); | - |
591 | QByteArray comment = unit->stringAt(value.translationData.commentIndex).toUtf8(); | - |
592 | QByteArray text = unit->stringAt(stringIndex).toUtf8(); | - |
593 | return 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 |
594 | 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 |
595 | } | - |
596 | #endif | - |
597 | default: never executed: default: | 0 |
598 | break; never executed: break; | 0 |
599 | } | - |
600 | return QString(); never executed: return QString(); | 0 |
601 | } | - |
602 | | - |
603 | | - |
604 | QString Binding::escapedString(const QString &string) | - |
605 | { | - |
606 | QString tmp = QLatin1String("\""); | - |
607 | for (int i = 0; i < string.length(); ++i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
608 | const QChar &c = string.at(i); | - |
609 | switch (c.unicode()) { | - |
610 | case 0x08: never executed: case 0x08: | 0 |
611 | tmp += QLatin1String("\\b"); | - |
612 | break; never executed: break; | 0 |
613 | case 0x09: never executed: case 0x09: | 0 |
614 | tmp += QLatin1String("\\t"); | - |
615 | break; never executed: break; | 0 |
616 | case 0x0A: never executed: case 0x0A: | 0 |
617 | tmp += QLatin1String("\\n"); | - |
618 | break; never executed: break; | 0 |
619 | case 0x0B: never executed: case 0x0B: | 0 |
620 | tmp += QLatin1String("\\v"); | - |
621 | break; never executed: break; | 0 |
622 | case 0x0C: never executed: case 0x0C: | 0 |
623 | tmp += QLatin1String("\\f"); | - |
624 | break; never executed: break; | 0 |
625 | case 0x0D: never executed: case 0x0D: | 0 |
626 | tmp += QLatin1String("\\r"); | - |
627 | break; never executed: break; | 0 |
628 | case 0x22: never executed: case 0x22: | 0 |
629 | tmp += QLatin1String("\\\""); | - |
630 | break; never executed: break; | 0 |
631 | case 0x27: never executed: case 0x27: | 0 |
632 | tmp += QLatin1String("\\\'"); | - |
633 | break; never executed: break; | 0 |
634 | case 0x5C: never executed: case 0x5C: | 0 |
635 | tmp += QLatin1String("\\\\"); | - |
636 | break; never executed: break; | 0 |
637 | default: never executed: default: | 0 |
638 | tmp += c; | - |
639 | break; never executed: break; | 0 |
640 | } | - |
641 | } | - |
642 | tmp += QLatin1Char('\"'); | - |
643 | return tmp; never executed: return tmp; | 0 |
644 | } | - |
645 | | - |
646 | QString Binding::valueAsScriptString(const Unit *unit) const | - |
647 | { | - |
648 | if (type == Type_String)TRUE | 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 |
649 | return escapedString(unit->stringAt(stringIndex)); never executed: return escapedString(unit->stringAt(stringIndex)); | 0 |
650 | else | - |
651 | return 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 |
652 | } | - |
653 | | - |
654 | #ifndef V4_BOOTSTRAP | - |
655 | | - |
656 | | - |
657 | | - |
658 | QQmlRefPointer<QQmlPropertyCache> ResolvedTypeReference::propertyCache() const | - |
659 | { | - |
660 | if (type.isValid())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
661 | return typePropertyCache; never executed: return typePropertyCache; | 0 |
662 | else | - |
663 | return compilationUnit->rootPropertyCache(); never executed: return compilationUnit->rootPropertyCache(); | 0 |
664 | } | - |
665 | | - |
666 | | - |
667 | | - |
668 | | - |
669 | QQmlRefPointer<QQmlPropertyCache> ResolvedTypeReference::createPropertyCache(QQmlEngine *engine) | - |
670 | { | - |
671 | if (typePropertyCache) {TRUE | 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 |
672 | return 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 |
673 | } 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 |
674 | typePropertyCache = QQmlEnginePrivate::get(engine)->cache(type.metaObject()); | - |
675 | return 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 |
676 | } else { | - |
677 | return 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 |
678 | } | - |
679 | } | - |
680 | | - |
681 | bool ResolvedTypeReference::addToHash(QCryptographicHash *hash, QQmlEngine *engine) | - |
682 | { | - |
683 | 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 |
684 | bool ok = false; | - |
685 | hash->addData(createPropertyCache(engine)->checksum(&ok)); | - |
686 | return 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 |
687 | } | - |
688 | hash->addData(compilationUnit->data->md5Checksum, sizeof(compilationUnit->data->md5Checksum)); | - |
689 | return 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 |
690 | } | - |
691 | | - |
692 | template <typename T> | - |
693 | bool qtTypeInherits(const QMetaObject *mo) { | - |
694 | while (mo) {TRUE | 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 |
695 | if (mo == &T::staticMetaObject)TRUE | 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 |
696 | return true;executed 14 times by 2 tests: return true; Executed by:- tst_qqmlpropertymap
- tst_signalspy
| 14 |
697 | mo = mo->superClass(); | - |
698 | }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 |
699 | return 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 |
700 | } | - |
701 | | - |
702 | void ResolvedTypeReference::doDynamicTypeCheck() | - |
703 | { | - |
704 | const QMetaObject *mo = nullptr; | - |
705 | if (typePropertyCache)TRUE | 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 |
706 | 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 |
707 | 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 |
708 | 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 |
709 | else if (compilationUnit)TRUE | 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 |
710 | 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 |
711 | isFullyDynamicType = qtTypeInherits<QQmlPropertyMap>(mo); | - |
712 | }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 |
713 | | - |
714 | bool ResolvedTypeReferenceMap::addToHash(QCryptographicHash *hash, QQmlEngine *engine) const | - |
715 | { | - |
716 | for (auto it = constBegin(), end = constEnd(); it != end; ++it) {TRUE | 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
- ...
|
| 55267-79215 |
717 | 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 |
718 | return false; never executed: return false; | 0 |
719 | }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 |
720 | | - |
721 | return 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 |
722 | } | - |
723 | | - |
724 | #endif | - |
725 | | - |
726 | void CompilationUnit::destroy() | - |
727 | { | - |
728 | #if !defined(V4_BOOTSTRAP) | - |
729 | if (qmlEngine)TRUE | 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 |
730 | 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 |
731 | else | - |
732 | #endif | - |
733 | 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 |
734 | } | - |
735 | | - |
736 | | - |
737 | void Unit::generateChecksum() | - |
738 | { | - |
739 | #ifndef V4_BOOTSTRAP | - |
740 | QCryptographicHash hash(QCryptographicHash::Md5); | - |
741 | | - |
742 | const int checksummableDataOffset = offsetof(QV4::CompiledData::Unit, md5Checksum) + sizeof(md5Checksum); | - |
743 | | - |
744 | const char *dataPtr = reinterpret_cast<const char *>(this) + checksummableDataOffset; | - |
745 | hash.addData(dataPtr, unitSize - checksummableDataOffset); | - |
746 | | - |
747 | QByteArray checksum = hash.result(); | - |
748 | Q_ASSERT(checksum.size() == sizeof(md5Checksum)); | - |
749 | memcpy(md5Checksum, checksum.constData(), sizeof(md5Checksum)); | - |
750 | #else | - |
751 | memset(md5Checksum, 0, sizeof(md5Checksum)); | - |
752 | #endif | - |
753 | }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 |
754 | | - |
755 | bool Unit::verifyHeader(QDateTime expectedSourceTimeStamp, QString *errorString) const | - |
756 | { | - |
757 | #ifndef V4_BOOTSTRAP | - |
758 | 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 |
759 | *errorString = QStringLiteral("Magic bytes in the header do not match"); | - |
760 | return false; never executed: return false; | 0 |
761 | } | - |
762 | | - |
763 | if (version != quint32(QV4_DATA_STRUCTURE_VERSION)) {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 |
764 | *errorString = QString::fromUtf8("V4 data structure version mismatch. Found %1 expected %2").arg(version, 0, 16).arg(QV4_DATA_STRUCTURE_VERSION, 0, 16); | - |
765 | return false;executed 6 times by 2 tests: return false; Executed by:- tst_qmlcachegen
- tst_qmldiskcache
| 6 |
766 | } | - |
767 | | - |
768 | if (qtVersion != quint32(QT_VERSION)) {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 |
769 | *errorString = QString::fromUtf8("Qt version mismatch. Found %1 expected %2").arg(qtVersion, 0, 16).arg(QT_VERSION, 0, 16); | - |
770 | return false;executed 2 times by 1 test: return false; | 2 |
771 | } | - |
772 | | - |
773 | if (sourceTimeStamp) {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 | evaluated 32 times by 1 test |
| 32-9628 |
774 | | - |
775 | | - |
776 | 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 |
777 | expectedSourceTimeStamp = QFileInfo(QCoreApplication::applicationFilePath()).lastModified(); never executed: expectedSourceTimeStamp = QFileInfo(QCoreApplication::applicationFilePath()).lastModified(); | 0 |
778 | | - |
779 | if (expectedSourceTimeStamp.isValid() && expectedSourceTimeStamp.toMSecsSinceEpoch() != sourceTimeStamp) {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 |
TRUE | 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 |
780 | *errorString = QStringLiteral("QML source file has a different time stamp than cached file."); | - |
781 | return 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 |
782 | } | - |
783 | }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 |
784 | | - |
785 | #if defined(QML_COMPILE_HASH) | - |
786 | if (qstrcmp(QML_COMPILE_HASH, libraryVersionHash) != 0) {TRUE | 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 |
787 | *errorString = QStringLiteral("QML library version mismatch. Expected compile hash does not match"); | - |
788 | return false; never executed: return false; | 0 |
789 | } | - |
790 | #else | - |
791 | #error "QML_COMPILE_HASH must be defined for the build of QtDeclarative to ensure version checking for cache files" | - |
792 | #endif | - |
793 | | - |
794 | return 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 |
795 | #else | - |
796 | Q_UNUSED(expectedSourceTimeStamp) | - |
797 | Q_UNUSED(errorString) | - |
798 | return false; | - |
799 | #endif | - |
800 | } | - |
801 | | - |
802 | } | - |
803 | | - |
804 | } | - |
805 | | - |
806 | QT_END_NAMESPACE | - |
| | |