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 "qqmlpropertyvalidator_p.h" | - |
41 | | - |
42 | #include <private/qqmlcustomparser_p.h> | - |
43 | #include <private/qqmlstringconverters_p.h> | - |
44 | #include <QtCore/qdatetime.h> | - |
45 | | - |
46 | QT_BEGIN_NAMESPACE | - |
47 | | - |
48 | QQmlPropertyValidator::QQmlPropertyValidator(QQmlEnginePrivate *enginePrivate, const QQmlImports &imports, const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &compilationUnit) | - |
49 | : enginePrivate(enginePrivate) | - |
50 | , compilationUnit(compilationUnit) | - |
51 | , imports(imports) | - |
52 | , qmlUnit(compilationUnit->data) | - |
53 | , resolvedTypes(compilationUnit->resolvedTypes) | - |
54 | , propertyCaches(compilationUnit->propertyCaches) | - |
55 | , bindingPropertyDataPerObject(&compilationUnit->bindingPropertyDataPerObject) | - |
56 | { | - |
57 | bindingPropertyDataPerObject->resize(qmlUnit->nObjects); | - |
58 | }executed 54979 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
- ...
| 54979 |
59 | | - |
60 | QVector<QQmlCompileError> QQmlPropertyValidator::validate() | - |
61 | { | - |
62 | return validateObject(0, nullptr);executed 54979 times by 141 tests: return validateObject( 0, nullptr); 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
- ...
| 54979 |
63 | } | - |
64 | | - |
65 | typedef QVarLengthArray<const QV4::CompiledData::Binding *, 8> GroupPropertyVector; | - |
66 | | - |
67 | struct BindingFinder | - |
68 | { | - |
69 | bool operator()(quint32 name, const QV4::CompiledData::Binding *binding) const | - |
70 | { | - |
71 | return name < binding->propertyNameIndex; never executed: return name < binding->propertyNameIndex; | 0 |
72 | } | - |
73 | bool operator()(const QV4::CompiledData::Binding *binding, quint32 name) const | - |
74 | { | - |
75 | return binding->propertyNameIndex < name;executed 40888 times by 81 tests: return binding->propertyNameIndex < name; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| 40888 |
76 | } | - |
77 | bool operator()(const QV4::CompiledData::Binding *lhs, const QV4::CompiledData::Binding *rhs) const | - |
78 | { | - |
79 | return lhs->propertyNameIndex < rhs->propertyNameIndex; never executed: return lhs->propertyNameIndex < rhs->propertyNameIndex; | 0 |
80 | } | - |
81 | }; | - |
82 | | - |
83 | QVector<QQmlCompileError> QQmlPropertyValidator::validateObject(int objectIndex, const QV4::CompiledData::Binding *instantiatingBinding, bool populatingValueTypeGroupProperty) const | - |
84 | { | - |
85 | const QV4::CompiledData::Object *obj = qmlUnit->objectAt(objectIndex); | - |
86 | | - |
87 | if (obj->flags & QV4::CompiledData::Object::IsComponent) {TRUE | evaluated 3622 times by 41 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
| FALSE | evaluated 119609 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
- ...
|
| 3622-119609 |
88 | Q_ASSERT(obj->nBindings == 1); | - |
89 | const QV4::CompiledData::Binding *componentBinding = obj->bindingTable(); | - |
90 | Q_ASSERT(componentBinding->type == QV4::CompiledData::Binding::Type_Object); | - |
91 | return validateObject(componentBinding->value.objectIndex, componentBinding);executed 3622 times by 41 tests: return validateObject(componentBinding->value.objectIndex, componentBinding); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
| 3622 |
92 | } | - |
93 | | - |
94 | QQmlPropertyCache *propertyCache = propertyCaches.at(objectIndex); | - |
95 | if (!propertyCache)TRUE | never evaluated | FALSE | evaluated 119609 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-119609 |
96 | return QVector<QQmlCompileError>(); never executed: return QVector<QQmlCompileError>(); | 0 |
97 | | - |
98 | QQmlCustomParser *customParser = nullptr; | - |
99 | if (auto typeRef = resolvedTypes.value(obj->inheritedTypeNameIndex)) {TRUE | evaluated 108189 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 11420 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
- ...
|
| 11420-108189 |
100 | if (typeRef->type.isValid())TRUE | evaluated 106883 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-106883 |
101 | customParser = typeRef->type.customParser();executed 106883 times by 141 tests: customParser = typeRef->type.customParser(); 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
- ...
| 106883 |
102 | }executed 108189 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
- ...
| 108189 |
103 | | - |
104 | QList<const QV4::CompiledData::Binding*> customBindings; | - |
105 | | - |
106 | | - |
107 | | - |
108 | GroupPropertyVector groupProperties; | - |
109 | const QV4::CompiledData::Binding *binding = obj->bindingTable(); | - |
110 | for (quint32 i = 0; i < obj->nBindings; ++i, ++binding) {TRUE | evaluated 284909 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 119609 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
- ...
|
| 119609-284909 |
111 | if (!binding->isGroupProperty())TRUE | evaluated 276217 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 8692 times by 82 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- ...
|
| 8692-276217 |
112 | continue;executed 276217 times by 141 tests: continue; 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
- ...
| 276217 |
113 | | - |
114 | if (binding->flags & QV4::CompiledData::Binding::IsOnAssignment)TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlvaluetypes
- tst_qquickbehaviors
| FALSE | evaluated 8680 times by 82 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- ...
|
| 12-8680 |
115 | continue;executed 12 times by 2 tests: continue; Executed by:- tst_qqmlvaluetypes
- tst_qquickbehaviors
| 12 |
116 | | - |
117 | if (populatingValueTypeGroupProperty) {TRUE | never evaluated | FALSE | evaluated 8680 times by 82 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- ...
|
| 0-8680 |
118 | return recordError(binding->location, tr("Property assignment expected")); never executed: return recordError(binding->location, tr("Property assignment expected")); | 0 |
119 | } | - |
120 | | - |
121 | GroupPropertyVector::const_iterator pos = std::lower_bound(groupProperties.constBegin(), groupProperties.constEnd(), binding->propertyNameIndex, BindingFinder()); | - |
122 | groupProperties.insert(pos, binding); | - |
123 | }executed 8680 times by 82 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- ...
| 8680 |
124 | | - |
125 | QmlIR::PropertyResolver propertyResolver(propertyCache); | - |
126 | | - |
127 | QString defaultPropertyName; | - |
128 | QQmlPropertyData *defaultProperty = nullptr; | - |
129 | if (obj->indexOfDefaultPropertyOrAlias != -1) {TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlmetaobject
- tst_qquicklayouts
- tst_qquicklistview
| FALSE | evaluated 119591 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
- ...
|
| 18-119591 |
130 | QQmlPropertyCache *cache = propertyCache->parent(); | - |
131 | defaultPropertyName = cache->defaultPropertyName(); | - |
132 | defaultProperty = cache->defaultProperty(); | - |
133 | } else {executed 18 times by 4 tests: end of block Executed by:- tst_examples
- tst_qqmlmetaobject
- tst_qquicklayouts
- tst_qquicklistview
| 18 |
134 | defaultPropertyName = propertyCache->defaultPropertyName(); | - |
135 | defaultProperty = propertyCache->defaultProperty(); | - |
136 | }executed 119591 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
- ...
| 119591 |
137 | | - |
138 | QV4::CompiledData::BindingPropertyData collectedBindingPropertyData(obj->nBindings); | - |
139 | | - |
140 | binding = obj->bindingTable(); | - |
141 | for (quint32 i = 0; i < obj->nBindings; ++i, ++binding) {TRUE | evaluated 284871 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 119555 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
- ...
|
| 119555-284871 |
142 | QString name = stringAt(binding->propertyNameIndex); | - |
143 | | - |
144 | if (customParser) {TRUE | evaluated 3268 times by 31 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
| FALSE | evaluated 281603 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
- ...
|
| 3268-281603 |
145 | if (binding->type == QV4::CompiledData::Binding::Type_AttachedProperty) {TRUE | evaluated 18 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qquickstates
| FALSE | evaluated 3250 times by 31 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
| 18-3250 |
146 | if (customParser->flags() & QQmlCustomParser::AcceptsAttachedProperties) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickstates
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
|
| 6-12 |
147 | customBindings << binding; | - |
148 | continue;executed 6 times by 2 tests: continue; Executed by:- tst_examples
- tst_qquickstates
| 6 |
149 | } | - |
150 | } else if (QmlIR::IRBuilder::isSignalPropertyName(name)executed 12 times by 2 tests: end of block Executed by:- tst_examples
- tst_qqmllistmodel
TRUE | evaluated 158 times by 10 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 3092 times by 31 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
| 12-3092 |
151 | && !(customParser->flags() & QQmlCustomParser::AcceptsSignalHandlers)) {TRUE | evaluated 158 times by 10 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
| 0-158 |
152 | customBindings << binding; | - |
153 | continue;executed 158 times by 10 tests: continue; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 158 |
154 | } | - |
155 | }executed 3104 times by 31 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
| 3104 |
156 | | - |
157 | bool bindingToDefaultProperty = false; | - |
158 | bool isGroupProperty = instantiatingBinding && instantiatingBinding->type == QV4::CompiledData::Binding::Type_GroupProperty;TRUE | evaluated 187286 times by 125 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| FALSE | evaluated 97421 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
- ...
|
TRUE | evaluated 12488 times by 81 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| FALSE | evaluated 174798 times by 124 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
|
| 12488-187286 |
159 | | - |
160 | bool notInRevision = false; | - |
161 | QQmlPropertyData *pd = nullptr; | - |
162 | if (!name.isEmpty()) {TRUE | evaluated 234807 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 49900 times by 117 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 49900-234807 |
163 | if (binding->flags & QV4::CompiledData::Binding::IsSignalHandlerExpressionTRUE | evaluated 7980 times by 81 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| FALSE | evaluated 226827 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
- ...
|
| 7980-226827 |
164 | || binding->flags & QV4::CompiledData::Binding::IsSignalHandlerObject)TRUE | evaluated 110 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
| FALSE | evaluated 226717 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
- ...
|
| 110-226717 |
165 | pd = propertyResolver.signal(name, ¬InRevision);executed 8090 times by 81 tests: pd = propertyResolver.signal(name, ¬InRevision); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 8090 |
166 | else | - |
167 | pd = propertyResolver.property(name, ¬InRevision, isGroupProperty ? QmlIR::PropertyResolver::IgnoreRevision : QmlIR::PropertyResolver::CheckRevision);executed 226717 times by 141 tests: pd = propertyResolver.property(name, ¬InRevision, isGroupProperty ? QmlIR::PropertyResolver::IgnoreRevision : QmlIR::PropertyResolver::CheckRevision); 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
- ...
| 226717 |
168 | | - |
169 | if (notInRevision) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 234805 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
- ...
|
| 2-234805 |
170 | QString typeName = stringAt(obj->inheritedTypeNameIndex); | - |
171 | auto *objectType = resolvedTypes.value(obj->inheritedTypeNameIndex); | - |
172 | if (objectType && objectType->type.isValid()) {TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
173 | return recordError(binding->location, tr("\"%1.%2\" is not available in %3 %4.%5.").arg(typeName).arg(name).arg(objectType->type.module()).arg(objectType->majorVersion).arg(objectType->minorVersion));executed 2 times by 1 test: return recordError(binding->location, tr("\"%1.%2\" is not available in %3 %4.%5.").arg(typeName).arg(name).arg(objectType->type.module()).arg(objectType->majorVersion).arg(objectType->minorVersion)); | 2 |
174 | } else { | - |
175 | return recordError(binding->location, tr("\"%1.%2\" is not available due to component versioning.").arg(typeName).arg(name)); never executed: return recordError(binding->location, tr("\"%1.%2\" is not available due to component versioning.").arg(typeName).arg(name)); | 0 |
176 | } | - |
177 | } | - |
178 | } else {executed 234805 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
- ...
| 234805 |
179 | if (isGroupProperty)TRUE | never evaluated | FALSE | evaluated 49900 times by 117 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 0-49900 |
180 | return recordError(binding->location, tr("Cannot assign a value directly to a grouped property")); never executed: return recordError(binding->location, tr("Cannot assign a value directly to a grouped property")); | 0 |
181 | | - |
182 | pd = defaultProperty; | - |
183 | name = defaultPropertyName; | - |
184 | bindingToDefaultProperty = true; | - |
185 | }executed 49900 times by 117 tests: end of block 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 49900 |
186 | | - |
187 | if (pd)TRUE | evaluated 279631 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 5074 times by 75 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
| 5074-279631 |
188 | collectedBindingPropertyData[i] = pd;executed 279631 times by 141 tests: collectedBindingPropertyData[i] = pd; 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
- ...
| 279631 |
189 | | - |
190 | if (name.constData()->isUpper() && !binding->isAttachedProperty()) {TRUE | evaluated 2754 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 281951 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
- ...
|
TRUE | never evaluated | FALSE | evaluated 2754 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
|
| 0-281951 |
191 | QQmlType type; | - |
192 | QQmlImportNamespace *typeNamespace = nullptr; | - |
193 | imports.resolveType(stringAt(binding->propertyNameIndex), &type, nullptr, nullptr, &typeNamespace); | - |
194 | if (typeNamespace)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
195 | return recordError(binding->location, tr("Invalid use of namespace")); never executed: return recordError(binding->location, tr("Invalid use of namespace")); | 0 |
196 | return recordError(binding->location, tr("Invalid attached object assignment")); never executed: return recordError(binding->location, tr("Invalid attached object assignment")); | 0 |
197 | } | - |
198 | | - |
199 | if (binding->type >= QV4::CompiledData::Binding::Type_Object && (pd || binding->isAttachedProperty())) {TRUE | evaluated 66514 times by 129 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 218191 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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
- ...
|
TRUE | evaluated 61876 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 4638 times by 68 testsEvaluated by:- tst_bindingdependencyapi
- 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_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- ...
|
TRUE | evaluated 2754 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 1884 times by 19 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmllistmodel
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
|
| 1884-218191 |
200 | const bool populatingValueTypeGroupProperty | - |
201 | = pdTRUE | evaluated 61876 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 2754 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
|
| 2754-61876 |
202 | && QQmlValueTypeFactory::metaObjectForMetaType(pd->propType())TRUE | evaluated 1532 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- ...
| FALSE | evaluated 60344 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 1532-60344 |
203 | && !(binding->flags & QV4::CompiledData::Binding::IsOnAssignment);TRUE | evaluated 1484 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- ...
| FALSE | evaluated 48 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
|
| 48-1484 |
204 | const QVector<QQmlCompileError> subObjectValidatorErrors | - |
205 | = validateObject(binding->value.objectIndex, binding, | - |
206 | populatingValueTypeGroupProperty); | - |
207 | if (!subObjectValidatorErrors.isEmpty())TRUE | evaluated 22 times by 4 testsEvaluated by:- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickanimations
- tst_qquickstates
| FALSE | evaluated 64608 times by 129 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 22-64608 |
208 | return subObjectValidatorErrors;executed 22 times by 4 tests: return subObjectValidatorErrors; Executed by:- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickanimations
- tst_qquickstates
| 22 |
209 | }executed 64608 times by 129 tests: end of block 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 64608 |
210 | | - |
211 | | - |
212 | if (binding->flags & QV4::CompiledData::Binding::IsSignalHandlerExpressionTRUE | evaluated 7980 times by 81 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| FALSE | evaluated 276703 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
- ...
|
| 7980-276703 |
213 | || binding->flags & QV4::CompiledData::Binding::IsSignalHandlerObject)TRUE | evaluated 110 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
| FALSE | evaluated 276593 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
- ...
|
| 110-276593 |
214 | continue;executed 8090 times by 81 tests: continue; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 8090 |
215 | | - |
216 | if (binding->type == QV4::CompiledData::Binding::Type_AttachedProperty) {TRUE | evaluated 2754 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 273839 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
- ...
|
| 2754-273839 |
217 | if (instantiatingBinding && (instantiatingBinding->isAttachedProperty() || instantiatingBinding->isGroupProperty())) {TRUE | evaluated 1080 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickrepeater
- ...
| FALSE | evaluated 1674 times by 57 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
TRUE | never evaluated | FALSE | evaluated 1080 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
TRUE | never evaluated | FALSE | evaluated 1080 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 0-1674 |
218 | return recordError(binding->location, tr("Attached properties cannot be used here")); never executed: return recordError(binding->location, tr("Attached properties cannot be used here")); | 0 |
219 | } | - |
220 | continue;executed 2754 times by 64 tests: continue; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 2754 |
221 | } | - |
222 | | - |
223 | if (pd) {TRUE | evaluated 271519 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 2320 times by 30 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspringanimation
- ...
|
| 2320-271519 |
224 | GroupPropertyVector::const_iterator assignedGroupProperty = std::lower_bound(groupProperties.constBegin(), groupProperties.constEnd(), binding->propertyNameIndex, BindingFinder()); | - |
225 | const bool assigningToGroupProperty = assignedGroupProperty != groupProperties.constEnd() && !(binding->propertyNameIndex < (*assignedGroupProperty)->propertyNameIndex);TRUE | evaluated 29074 times by 81 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| FALSE | evaluated 242445 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
- ...
|
TRUE | evaluated 8658 times by 81 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| FALSE | evaluated 20416 times by 73 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
|
| 8658-242445 |
226 | | - |
227 | if (!pd->isWritable()TRUE | evaluated 55430 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| FALSE | evaluated 216089 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
- ...
|
| 55430-216089 |
228 | && !pd->isQList()TRUE | evaluated 7208 times by 79 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- ...
| FALSE | evaluated 48222 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
|
| 7208-48222 |
229 | && !binding->isGroupProperty()TRUE | evaluated 32 times by 8 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickgridview
- tst_qquicklistview
| FALSE | evaluated 7176 times by 78 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- ...
|
| 32-7176 |
230 | && !(binding->flags & QV4::CompiledData::Binding::InitializerForReadOnlyDeclaration)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlvaluetypes
- tst_qquickanimatedimage
| FALSE | evaluated 28 times by 7 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickgridview
- tst_qquicklistview
|
| 4-28 |
231 | ) { | - |
232 | | - |
233 | if (assigningToGroupProperty && binding->type < QV4::CompiledData::Binding::Type_Object)TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlvaluetypes
- tst_qquickanimatedimage
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-4 |
234 | return recordError(binding->valueLocation, tr("Cannot assign a value directly to a grouped property")); never executed: return recordError(binding->valueLocation, tr("Cannot assign a value directly to a grouped property")); | 0 |
235 | return recordError(binding->valueLocation, tr("Invalid property assignment: \"%1\" is a read-only property").arg(name));executed 4 times by 2 tests: return recordError(binding->valueLocation, tr("Invalid property assignment: \"%1\" is a read-only property").arg(name)); Executed by:- tst_qqmlvaluetypes
- tst_qquickanimatedimage
| 4 |
236 | } | - |
237 | | - |
238 | if (!pd->isQList() && (binding->flags & QV4::CompiledData::Binding::IsListItem)) {TRUE | evaluated 223293 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 48222 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
|
TRUE | never evaluated | FALSE | evaluated 223293 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-223293 |
239 | QString error; | - |
240 | if (pd->propType() == qMetaTypeId<QQmlScriptString>())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
241 | error = tr( "Cannot assign multiple values to a script property"); never executed: error = tr( "Cannot assign multiple values to a script property"); | 0 |
242 | else | - |
243 | error = tr( "Cannot assign multiple values to a singular property"); never executed: error = tr( "Cannot assign multiple values to a singular property"); | 0 |
244 | return recordError(binding->valueLocation, error); never executed: return recordError(binding->valueLocation, error); | 0 |
245 | } | - |
246 | | - |
247 | if (!bindingToDefaultPropertyTRUE | evaluated 223491 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 48024 times by 116 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 48024-223491 |
248 | && !binding->isGroupProperty()TRUE | evaluated 214825 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 8666 times by 81 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
|
| 8666-214825 |
249 | && !(binding->flags & QV4::CompiledData::Binding::IsOnAssignment)TRUE | evaluated 214275 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 550 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
| 550-214275 |
250 | && assigningToGroupProperty) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 214273 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
- ...
|
| 2-214273 |
251 | QV4::CompiledData::Location loc = binding->valueLocation; | - |
252 | if (loc < (*assignedGroupProperty)->valueLocation)TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
253 | loc = (*assignedGroupProperty)->valueLocation; never executed: loc = (*assignedGroupProperty)->valueLocation; | 0 |
254 | | - |
255 | if (pd && QQmlValueTypeFactory::isValueType(pd->propType()))TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
256 | return recordError(loc, tr("Property has already been assigned a value"));executed 2 times by 1 test: return recordError(loc, tr("Property has already been assigned a value")); | 2 |
257 | return recordError(loc, tr("Cannot assign a value directly to a grouped property")); never executed: return recordError(loc, tr("Cannot assign a value directly to a grouped property")); | 0 |
258 | } | - |
259 | | - |
260 | if (binding->type < QV4::CompiledData::Binding::Type_Script) {TRUE | evaluated 121211 times by 135 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_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 150302 times by 137 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
| 121211-150302 |
261 | QQmlCompileError bindingError = validateLiteralBinding(propertyCache, pd, binding); | - |
262 | if (bindingError.isSet())TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 121205 times by 135 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_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 6-121205 |
263 | return recordError(bindingError);executed 6 times by 2 tests: return recordError(bindingError); Executed by:- tst_qqmlecmascript
- tst_qquickanimations
| 6 |
264 | } else if (binding->type == QV4::CompiledData::Binding::Type_Object) {executed 121205 times by 135 tests: end of block 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_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
TRUE | evaluated 53078 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 97224 times by 123 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 53078-121205 |
265 | QQmlCompileError bindingError = validateObjectBinding(pd, name, binding); | - |
266 | if (bindingError.isSet())TRUE | never evaluated | FALSE | evaluated 53078 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 0-53078 |
267 | return recordError(bindingError); never executed: return recordError(bindingError); | 0 |
268 | } else if (binding->isGroupProperty()) {executed 53078 times by 126 tests: end of block 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
TRUE | evaluated 8666 times by 81 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| FALSE | evaluated 88558 times by 123 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 8666-88558 |
269 | if (QQmlValueTypeFactory::isValueType(pd->propType())) {TRUE | evaluated 1492 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- ...
| FALSE | evaluated 7174 times by 78 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- ...
|
| 1492-7174 |
270 | if (QQmlValueTypeFactory::metaObjectForMetaType(pd->propType())) {TRUE | evaluated 1492 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- ...
| FALSE | never evaluated |
| 0-1492 |
271 | if (!pd->isWritable()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 1488 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- ...
|
| 4-1488 |
272 | return recordError(binding->location, tr("Invalid property assignment: \"%1\" is a read-only property").arg(name));executed 4 times by 1 test: return recordError(binding->location, tr("Invalid property assignment: \"%1\" is a read-only property").arg(name)); | 4 |
273 | } | - |
274 | } else {executed 1488 times by 28 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- ...
| 1488 |
275 | return recordError(binding->location, tr("Invalid grouped property access")); never executed: return recordError(binding->location, tr("Invalid grouped property access")); | 0 |
276 | } | - |
277 | } else { | - |
278 | if (!enginePrivate->propertyCacheForType(pd->propType())) {TRUE | never evaluated | FALSE | evaluated 7174 times by 78 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- ...
|
| 0-7174 |
279 | return recordError(binding->location, tr("Invalid grouped property access")); never executed: return recordError(binding->location, tr("Invalid grouped property access")); | 0 |
280 | } | - |
281 | }executed 7174 times by 78 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- ...
| 7174 |
282 | } | - |
283 | } else {executed 271503 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
- ...
| 271503 |
284 | if (customParser) {TRUE | evaluated 2306 times by 28 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspringanimation
- ...
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickview
- tst_qquickwidget
|
| 14-2306 |
285 | customBindings << binding; | - |
286 | continue;executed 2306 times by 28 tests: continue; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspringanimation
- ...
| 2306 |
287 | } | - |
288 | if (bindingToDefaultProperty) {TRUE | never evaluated | FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickview
- tst_qquickwidget
|
| 0-14 |
289 | return recordError(binding->location, tr("Cannot assign to non-existent default property")); never executed: return recordError(binding->location, tr("Cannot assign to non-existent default property")); | 0 |
290 | } else { | - |
291 | return recordError(binding->location, tr("Cannot assign to non-existent property \"%1\"").arg(name));executed 14 times by 3 tests: return recordError(binding->location, tr("Cannot assign to non-existent property \"%1\"").arg(name)); Executed by:- tst_qqmlecmascript
- tst_qquickview
- tst_qquickwidget
| 14 |
292 | } | - |
293 | } | - |
294 | } | - |
295 | | - |
296 | if (obj->idNameIndex) {TRUE | evaluated 13837 times by 114 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_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| FALSE | evaluated 105718 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
- ...
|
| 13837-105718 |
297 | if (populatingValueTypeGroupProperty)TRUE | never evaluated | FALSE | evaluated 13837 times by 114 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_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
|
| 0-13837 |
298 | return recordError(obj->locationOfIdProperty, tr("Invalid use of id property with a value type")); never executed: return recordError(obj->locationOfIdProperty, tr("Invalid use of id property with a value type")); | 0 |
299 | | - |
300 | bool notInRevision = false; | - |
301 | collectedBindingPropertyData << propertyResolver.property(QStringLiteral("id"), ¬InRevision);executed 13837 times by 114 tests: return qstring_literal_temp; 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_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 13837 |
302 | }executed 13837 times by 114 tests: end of block 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_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 13837 |
303 | | - |
304 | if (customParser && !customBindings.isEmpty()) {TRUE | evaluated 1076 times by 32 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
| FALSE | evaluated 118479 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
- ...
|
TRUE | evaluated 926 times by 30 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 150 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qqmlstatemachine
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickrepeater
- tst_qtqmlmodules
|
| 150-118479 |
305 | customParser->clearErrors(); | - |
306 | customParser->validator = this; | - |
307 | customParser->engine = enginePrivate; | - |
308 | customParser->imports = &imports; | - |
309 | customParser->verifyBindings(qmlUnit, customBindings); | - |
310 | customParser->validator = nullptr; | - |
311 | customParser->engine = nullptr; | - |
312 | customParser->imports = (QQmlImports*)nullptr; | - |
313 | QVector<QQmlCompileError> parserErrors = customParser->errors(); | - |
314 | if (!parserErrors.isEmpty())TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickstates
| FALSE | evaluated 898 times by 30 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
| 28-898 |
315 | return parserErrors;executed 28 times by 3 tests: return parserErrors; Executed by:- tst_qqmlconnections
- tst_qqmllistmodel
- tst_qquickstates
| 28 |
316 | }executed 898 times by 30 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 898 |
317 | | - |
318 | (*bindingPropertyDataPerObject)[objectIndex] = collectedBindingPropertyData; | - |
319 | | - |
320 | QVector<QQmlCompileError> noError; | - |
321 | return noError;executed 119527 times by 141 tests: return noError; 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
- ...
| 119527 |
322 | } | - |
323 | | - |
324 | QQmlCompileError QQmlPropertyValidator::validateLiteralBinding(QQmlPropertyCache *propertyCache, QQmlPropertyData *property, const QV4::CompiledData::Binding *binding) const | - |
325 | { | - |
326 | if (property->isQList()) {TRUE | never evaluated | FALSE | evaluated 121211 times by 135 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_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 0-121211 |
327 | return QQmlCompileError(binding->valueLocation, tr("Cannot assign primitives to lists")); never executed: return QQmlCompileError(binding->valueLocation, tr("Cannot assign primitives to lists")); | 0 |
328 | } | - |
329 | | - |
330 | QQmlCompileError noError; | - |
331 | | - |
332 | if (property->isEnum()) {TRUE | evaluated 2548 times by 37 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointattractor
- ...
| FALSE | evaluated 118663 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_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 2548-118663 |
333 | if (binding->flags & QV4::CompiledData::Binding::IsResolvedEnum)TRUE | evaluated 2286 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointattractor
- ...
| FALSE | evaluated 262 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 262-2286 |
334 | return noError;executed 2286 times by 36 tests: return noError; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointattractor
- ...
| 2286 |
335 | | - |
336 | QString value = binding->valueAsString(qmlUnit); | - |
337 | QMetaProperty p = propertyCache->firstCppMetaObject()->property(property->coreIndex()); | - |
338 | bool ok; | - |
339 | if (p.isFlagType()) {TRUE | never evaluated | FALSE | evaluated 262 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 0-262 |
340 | p.enumerator().keysToValue(value.toUtf8().constData(), &ok); | - |
341 | } else never executed: end of block | 0 |
342 | p.enumerator().keyToValue(value.toUtf8().constData(), &ok);executed 262 times by 10 tests: p.enumerator().keyToValue(value.toUtf8().constData(), &ok); Executed by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| 262 |
343 | | - |
344 | if (!ok) {TRUE | never evaluated | FALSE | evaluated 262 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 0-262 |
345 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: unknown enumeration")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: unknown enumeration")); | 0 |
346 | } | - |
347 | return noError;executed 262 times by 10 tests: return noError; Executed by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| 262 |
348 | } | - |
349 | | - |
350 | switch (property->propType()) { | - |
351 | case QMetaType::QVariant:executed 1288 times by 33 tests: case QMetaType::QVariant: Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 1288 |
352 | break;executed 1288 times by 33 tests: break; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 1288 |
353 | case QVariant::String: {executed 20448 times by 108 tests: case QVariant::String: Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 20448 |
354 | if (!binding->evaluatesToString()) {TRUE | never evaluated | FALSE | evaluated 20448 times by 108 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
| 0-20448 |
355 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: string expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: string expected")); | 0 |
356 | } | - |
357 | } | - |
358 | break;executed 20448 times by 108 tests: break; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 20448 |
359 | case QVariant::StringList: {executed 4 times by 2 tests: case QVariant::StringList: Executed by:- tst_examples
- tst_qqmlecmascript
| 4 |
360 | if (!binding->evaluatesToString()) {TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
|
| 0-4 |
361 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: string or string list expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: string or string list expected")); | 0 |
362 | } | - |
363 | } | - |
364 | break;executed 4 times by 2 tests: break; Executed by:- tst_examples
- tst_qqmlecmascript
| 4 |
365 | case QVariant::ByteArray: {executed 96 times by 4 tests: case QVariant::ByteArray: Executed by:- tst_examples
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_scenegraph
| 96 |
366 | if (binding->type != QV4::CompiledData::Binding::Type_String) {TRUE | never evaluated | FALSE | evaluated 96 times by 4 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_scenegraph
|
| 0-96 |
367 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: byte array expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: byte array expected")); | 0 |
368 | } | - |
369 | } | - |
370 | break;executed 96 times by 4 tests: break; Executed by:- tst_examples
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_scenegraph
| 96 |
371 | case QVariant::Url: {executed 2260 times by 48 tests: case QVariant::Url: Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- ...
| 2260 |
372 | if (binding->type != QV4::CompiledData::Binding::Type_String) {TRUE | never evaluated | FALSE | evaluated 2260 times by 48 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- ...
|
| 0-2260 |
373 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: url expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: url expected")); | 0 |
374 | } | - |
375 | } | - |
376 | break;executed 2260 times by 48 tests: break; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- ...
| 2260 |
377 | case QVariant::UInt: { never executed: case QVariant::UInt: | 0 |
378 | if (binding->type == QV4::CompiledData::Binding::Type_Number) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
379 | double d = binding->valueAsNumber(); | - |
380 | if (double(uint(d)) == d)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
381 | return noError; never executed: return noError; | 0 |
382 | } never executed: end of block | 0 |
383 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: unsigned int expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: unsigned int expected")); | 0 |
384 | } | - |
385 | break; dead code: break; | - |
386 | case QVariant::Int: {executed 5985 times by 98 tests: case QVariant::Int: Executed by:- 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_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 5985 |
387 | if (binding->type == QV4::CompiledData::Binding::Type_Number) {TRUE | evaluated 5985 times by 98 testsEvaluated by:- 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_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | never evaluated |
| 0-5985 |
388 | double d = binding->valueAsNumber(); | - |
389 | if (double(int(d)) == d)TRUE | evaluated 5985 times by 98 testsEvaluated by:- 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_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | never evaluated |
| 0-5985 |
390 | return noError;executed 5985 times by 98 tests: return noError; Executed by:- 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_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 5985 |
391 | } never executed: end of block | 0 |
392 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: int expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: int expected")); | 0 |
393 | } | - |
394 | break; dead code: break; | - |
395 | case QMetaType::Float: { never executed: case QMetaType::Float: | 0 |
396 | if (binding->type != QV4::CompiledData::Binding::Type_Number) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
397 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: number expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: number expected")); | 0 |
398 | } | - |
399 | } | - |
400 | break; never executed: break; | 0 |
401 | case QVariant::Double: {executed 71930 times by 101 tests: case QVariant::Double: Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- ...
| 71930 |
402 | if (binding->type != QV4::CompiledData::Binding::Type_Number) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 71928 times by 101 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- ...
|
| 2-71928 |
403 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: number expected"));executed 2 times by 1 test: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: number expected")); | 2 |
404 | } | - |
405 | } | - |
406 | break;executed 71928 times by 101 tests: break; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- ...
| 71928 |
407 | case QVariant::Color: {executed 8890 times by 83 tests: case QVariant::Color: Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| 8890 |
408 | bool ok = false; | - |
409 | QQmlStringConverters::rgbaFromString(binding->valueAsString(qmlUnit), &ok); | - |
410 | if (!ok) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 8888 times by 83 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
|
| 2-8888 |
411 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: color expected"));executed 2 times by 1 test: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: color expected")); | 2 |
412 | } | - |
413 | } | - |
414 | break;executed 8888 times by 83 tests: break; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- ...
| 8888 |
415 | #if QT_CONFIG(datestring) | - |
416 | case QVariant::Date: { never executed: case QVariant::Date: | 0 |
417 | bool ok = false; | - |
418 | QQmlStringConverters::dateFromString(binding->valueAsString(qmlUnit), &ok); | - |
419 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
420 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: date expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: date expected")); | 0 |
421 | } | - |
422 | } | - |
423 | break; never executed: break; | 0 |
424 | case QVariant::Time: { never executed: case QVariant::Time: | 0 |
425 | bool ok = false; | - |
426 | QQmlStringConverters::timeFromString(binding->valueAsString(qmlUnit), &ok); | - |
427 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
428 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: time expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: time expected")); | 0 |
429 | } | - |
430 | } | - |
431 | break; never executed: break; | 0 |
432 | case QVariant::DateTime: {executed 46 times by 4 tests: case QVariant::DateTime: Executed by:- tst_examples
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
| 46 |
433 | bool ok = false; | - |
434 | QQmlStringConverters::dateTimeFromString(binding->valueAsString(qmlUnit), &ok); | - |
435 | if (!ok) {TRUE | never evaluated | FALSE | evaluated 46 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
|
| 0-46 |
436 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: datetime expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: datetime expected")); | 0 |
437 | } | - |
438 | } | - |
439 | break;executed 46 times by 4 tests: break; Executed by:- tst_examples
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
| 46 |
440 | #endif // datestring | - |
441 | case QVariant::Point: { never executed: case QVariant::Point: | 0 |
442 | bool ok = false; | - |
443 | QQmlStringConverters::pointFFromString(binding->valueAsString(qmlUnit), &ok); | - |
444 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
445 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: point expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: point expected")); | 0 |
446 | } | - |
447 | } | - |
448 | break; never executed: break; | 0 |
449 | case QVariant::PointF: { never executed: case QVariant::PointF: | 0 |
450 | bool ok = false; | - |
451 | QQmlStringConverters::pointFFromString(binding->valueAsString(qmlUnit), &ok); | - |
452 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
453 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: point expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: point expected")); | 0 |
454 | } | - |
455 | } | - |
456 | break; never executed: break; | 0 |
457 | case QVariant::Size: {executed 8 times by 1 test: case QVariant::Size: | 8 |
458 | bool ok = false; | - |
459 | QQmlStringConverters::sizeFFromString(binding->valueAsString(qmlUnit), &ok); | - |
460 | if (!ok) {TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
| 0-8 |
461 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: size expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: size expected")); | 0 |
462 | } | - |
463 | } | - |
464 | break;executed 8 times by 1 test: break; | 8 |
465 | case QVariant::SizeF: { never executed: case QVariant::SizeF: | 0 |
466 | bool ok = false; | - |
467 | QQmlStringConverters::sizeFFromString(binding->valueAsString(qmlUnit), &ok); | - |
468 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
469 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: size expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: size expected")); | 0 |
470 | } | - |
471 | } | - |
472 | break; never executed: break; | 0 |
473 | case QVariant::Rect: { never executed: case QVariant::Rect: | 0 |
474 | bool ok = false; | - |
475 | QQmlStringConverters::rectFFromString(binding->valueAsString(qmlUnit), &ok); | - |
476 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
477 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: rect expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: rect expected")); | 0 |
478 | } | - |
479 | } | - |
480 | break; never executed: break; | 0 |
481 | case QVariant::RectF: { never executed: case QVariant::RectF: | 0 |
482 | bool ok = false; | - |
483 | QQmlStringConverters::rectFFromString(binding->valueAsString(qmlUnit), &ok); | - |
484 | if (!ok) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
485 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: point expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: point expected")); | 0 |
486 | } | - |
487 | } | - |
488 | break; never executed: break; | 0 |
489 | case QVariant::Bool: {executed 7642 times by 97 tests: case QVariant::Bool: Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 7642 |
490 | if (binding->type != QV4::CompiledData::Binding::Type_Boolean) {TRUE | never evaluated | FALSE | evaluated 7642 times by 97 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 0-7642 |
491 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: boolean expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: boolean expected")); | 0 |
492 | } | - |
493 | } | - |
494 | break;executed 7642 times by 97 tests: break; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 7642 |
495 | case QVariant::Vector2D: { never executed: case QVariant::Vector2D: | 0 |
496 | struct { | - |
497 | float xp; | - |
498 | float yp; | - |
499 | } vec; | - |
500 | if (!QQmlStringConverters::createFromString(QMetaType::QVector2D, binding->valueAsString(qmlUnit), &vec, sizeof(vec))) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
501 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: 2D vector expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: 2D vector expected")); | 0 |
502 | } | - |
503 | } | - |
504 | break; never executed: break; | 0 |
505 | case QVariant::Vector3D: { never executed: case QVariant::Vector3D: | 0 |
506 | struct { | - |
507 | float xp; | - |
508 | float yp; | - |
509 | float zy; | - |
510 | } vec; | - |
511 | if (!QQmlStringConverters::createFromString(QMetaType::QVector3D, binding->valueAsString(qmlUnit), &vec, sizeof(vec))) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
512 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: 3D vector expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: 3D vector expected")); | 0 |
513 | } | - |
514 | } | - |
515 | break; never executed: break; | 0 |
516 | case QVariant::Vector4D: { never executed: case QVariant::Vector4D: | 0 |
517 | struct { | - |
518 | float xp; | - |
519 | float yp; | - |
520 | float zy; | - |
521 | float wp; | - |
522 | } vec; | - |
523 | if (!QQmlStringConverters::createFromString(QMetaType::QVector4D, binding->valueAsString(qmlUnit), &vec, sizeof(vec))) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
524 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: 4D vector expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: 4D vector expected")); | 0 |
525 | } | - |
526 | } | - |
527 | break; never executed: break; | 0 |
528 | case QVariant::Quaternion: { never executed: case QVariant::Quaternion: | 0 |
529 | struct { | - |
530 | float wp; | - |
531 | float xp; | - |
532 | float yp; | - |
533 | float zp; | - |
534 | } vec; | - |
535 | if (!QQmlStringConverters::createFromString(QMetaType::QQuaternion, binding->valueAsString(qmlUnit), &vec, sizeof(vec))) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
536 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: quaternion expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: quaternion expected")); | 0 |
537 | } | - |
538 | } | - |
539 | break; never executed: break; | 0 |
540 | case QVariant::RegExp:executed 2 times by 1 test: case QVariant::RegExp: | 2 |
541 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: regular expression expected; use /pattern/ syntax"));executed 2 times by 1 test: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: regular expression expected; use /pattern/ syntax")); | 2 |
542 | default: {executed 64 times by 5 tests: default: Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 64 |
543 | | - |
544 | if (property->propType() == qMetaTypeId<QList<qreal> >()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 60 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
|
| 4-60 |
545 | if (binding->type != QV4::CompiledData::Binding::Type_Number) {TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
546 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: number or array of numbers expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: number or array of numbers expected")); | 0 |
547 | } | - |
548 | break;executed 4 times by 1 test: break; | 4 |
549 | } else if (property->propType() == qMetaTypeId<QList<int> >()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 56 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
|
| 4-56 |
550 | bool ok = (binding->type == QV4::CompiledData::Binding::Type_Number); | - |
551 | if (ok) {TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
552 | double n = binding->valueAsNumber(); | - |
553 | if (double(int(n)) != n)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
554 | ok = false; never executed: ok = false; | 0 |
555 | }executed 4 times by 1 test: end of block | 4 |
556 | if (!ok)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
557 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: int or array of ints expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: int or array of ints expected")); | 0 |
558 | break;executed 4 times by 1 test: break; | 4 |
559 | } else if (property->propType() == qMetaTypeId<QList<bool> >()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 52 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
|
| 4-52 |
560 | if (binding->type != QV4::CompiledData::Binding::Type_Boolean) {TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
561 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: bool or array of bools expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: bool or array of bools expected")); | 0 |
562 | } | - |
563 | break;executed 4 times by 1 test: break; | 4 |
564 | } else if (property->propType() == qMetaTypeId<QList<QUrl> >()) {TRUE | evaluated 6 times by 1 test | FALSE | evaluated 46 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
|
| 6-46 |
565 | if (binding->type != QV4::CompiledData::Binding::Type_String) {TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
566 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: url or array of urls expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: url or array of urls expected")); | 0 |
567 | } | - |
568 | break;executed 6 times by 1 test: break; | 6 |
569 | } else if (property->propType() == qMetaTypeId<QList<QString> >()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
|
| 2-44 |
570 | if (!binding->evaluatesToString()) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
571 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: string or array of strings expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: string or array of strings expected")); | 0 |
572 | } | - |
573 | break;executed 2 times by 1 test: break; | 2 |
574 | } else if (property->propType() == qMetaTypeId<QJSValue>()) {TRUE | evaluated 6 times by 1 test | FALSE | evaluated 38 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
|
| 6-38 |
575 | break;executed 6 times by 1 test: break; | 6 |
576 | } else if (property->propType() == qMetaTypeId<QQmlScriptString>()) {TRUE | evaluated 38 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| FALSE | never evaluated |
| 0-38 |
577 | break;executed 38 times by 4 tests: break; Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 38 |
578 | } | - |
579 | | - |
580 | | - |
581 | QQmlMetaType::StringConverter converter = QQmlMetaType::customStringConverter(property->propType()); | - |
582 | if (!converter) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
583 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: unsupported type \"%1\"").arg(QString::fromLatin1(QMetaType::typeName(property->propType())))); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: unsupported type \"%1\"").arg(QString::fromLatin1(QMetaType::typeName(property->propType())))); | 0 |
584 | } | - |
585 | } | - |
586 | break; never executed: break; | 0 |
587 | } | - |
588 | return noError;executed 112672 times by 132 tests: return noError; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 112672 |
589 | } | - |
590 | | - |
591 | | - |
592 | | - |
593 | | - |
594 | | - |
595 | bool QQmlPropertyValidator::canCoerce(int to, QQmlPropertyCache *fromMo) const | - |
596 | { | - |
597 | QQmlPropertyCache *toMo = enginePrivate->rawPropertyCacheForType(to); | - |
598 | | - |
599 | while (fromMo) {TRUE | evaluated 150820 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| FALSE | never evaluated |
| 0-150820 |
600 | if (fromMo == toMo)TRUE | evaluated 48182 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| FALSE | evaluated 102638 times by 116 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 48182-102638 |
601 | return true;executed 48182 times by 118 tests: return true; 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 48182 |
602 | fromMo = fromMo->parent(); | - |
603 | }executed 102638 times by 116 tests: end of block 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 102638 |
604 | return false; never executed: return false; | 0 |
605 | } | - |
606 | | - |
607 | QVector<QQmlCompileError> QQmlPropertyValidator::recordError(const QV4::CompiledData::Location &location, const QString &description) const | - |
608 | { | - |
609 | QVector<QQmlCompileError> errors; | - |
610 | errors.append(QQmlCompileError(location, description)); | - |
611 | return errors;executed 26 times by 6 tests: return errors; Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
| 26 |
612 | } | - |
613 | | - |
614 | QVector<QQmlCompileError> QQmlPropertyValidator::recordError(const QQmlCompileError &error) const | - |
615 | { | - |
616 | QVector<QQmlCompileError> errors; | - |
617 | errors.append(error); | - |
618 | return errors;executed 6 times by 2 tests: return errors; Executed by:- tst_qqmlecmascript
- tst_qquickanimations
| 6 |
619 | } | - |
620 | | - |
621 | QQmlCompileError QQmlPropertyValidator::validateObjectBinding(QQmlPropertyData *property, const QString &propertyName, const QV4::CompiledData::Binding *binding) const | - |
622 | { | - |
623 | QQmlCompileError noError; | - |
624 | | - |
625 | if (binding->flags & QV4::CompiledData::Binding::IsOnAssignment) {TRUE | evaluated 550 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 52528 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 550-52528 |
626 | Q_ASSERT(binding->type == QV4::CompiledData::Binding::Type_Object); | - |
627 | | - |
628 | bool isValueSource = false; | - |
629 | bool isPropertyInterceptor = false; | - |
630 | | - |
631 | const QV4::CompiledData::Object *targetObject = qmlUnit->objectAt(binding->value.objectIndex); | - |
632 | if (auto *typeRef = resolvedTypes.value(targetObject->inheritedTypeNameIndex)) {TRUE | evaluated 550 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | never evaluated |
| 0-550 |
633 | QQmlRefPointer<QQmlPropertyCache> cache = typeRef->createPropertyCache(QQmlEnginePrivate::get(enginePrivate)); | - |
634 | const QMetaObject *mo = cache->firstCppMetaObject(); | - |
635 | QQmlType qmlType; | - |
636 | while (mo && !qmlType.isValid()) {TRUE | evaluated 1100 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | never evaluated |
TRUE | evaluated 550 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 550 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
| 0-1100 |
637 | qmlType = QQmlMetaType::qmlType(mo); | - |
638 | mo = mo->superClass(); | - |
639 | }executed 550 times by 14 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 550 |
640 | Q_ASSERT(qmlType.isValid()); | - |
641 | | - |
642 | isValueSource = qmlType.propertyValueSourceCast() != -1; | - |
643 | isPropertyInterceptor = qmlType.propertyValueInterceptorCast() != -1; | - |
644 | }executed 550 times by 14 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 550 |
645 | | - |
646 | if (!isValueSource && !isPropertyInterceptor) {TRUE | evaluated 194 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| FALSE | evaluated 356 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
TRUE | never evaluated | FALSE | evaluated 194 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
|
| 0-356 |
647 | return QQmlCompileError(binding->valueLocation, tr("\"%1\" cannot operate on \"%2\"").arg(stringAt(targetObject->inheritedTypeNameIndex)).arg(propertyName)); never executed: return QQmlCompileError(binding->valueLocation, tr("\"%1\" cannot operate on \"%2\"").arg(stringAt(targetObject->inheritedTypeNameIndex)).arg(propertyName)); | 0 |
648 | } | - |
649 | | - |
650 | return noError;executed 550 times by 14 tests: return noError; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 550 |
651 | } | - |
652 | | - |
653 | if (QQmlMetaType::isInterface(property->propType())) {TRUE | never evaluated | FALSE | evaluated 52528 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 0-52528 |
654 | | - |
655 | | - |
656 | return noError; never executed: return noError; | 0 |
657 | } else if (property->propType() == QMetaType::QVariant || property->propType() == qMetaTypeId<QJSValue>()) {TRUE | evaluated 360 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| FALSE | evaluated 52168 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
TRUE | never evaluated | FALSE | evaluated 52168 times by 126 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 0-52168 |
658 | | - |
659 | return noError;executed 360 times by 16 tests: return noError; Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 360 |
660 | } else if (property->isQList()) {TRUE | evaluated 48182 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| FALSE | evaluated 3986 times by 73 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- ...
|
| 3986-48182 |
661 | const int listType = enginePrivate->listType(property->propType()); | - |
662 | if (!QQmlMetaType::isInterface(listType)) {TRUE | evaluated 48182 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| FALSE | never evaluated |
| 0-48182 |
663 | QQmlPropertyCache *source = propertyCaches.at(binding->value.objectIndex); | - |
664 | if (!canCoerce(listType, source)) {TRUE | never evaluated | FALSE | evaluated 48182 times by 118 testsEvaluated 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
|
| 0-48182 |
665 | return QQmlCompileError(binding->valueLocation, tr("Cannot assign object to list property \"%1\"").arg(propertyName)); never executed: return QQmlCompileError(binding->valueLocation, tr("Cannot assign object to list property \"%1\"").arg(propertyName)); | 0 |
666 | } | - |
667 | }executed 48182 times by 118 tests: end of block 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 48182 |
668 | return noError;executed 48182 times by 118 tests: return noError; 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 48182 |
669 | } else if (qmlUnit->objectAt(binding->value.objectIndex)->flags & QV4::CompiledData::Object::IsComponent) {TRUE | evaluated 2364 times by 35 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- 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
- ...
| FALSE | evaluated 1622 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
| 1622-2364 |
670 | return noError;executed 2364 times by 35 tests: return noError; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- 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
- ...
| 2364 |
671 | } else if (binding->flags & QV4::CompiledData::Binding::IsSignalHandlerObject && property->isFunction()) {TRUE | never evaluated | FALSE | evaluated 1622 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-1622 |
672 | return noError; never executed: return noError; | 0 |
673 | } else if (QQmlValueTypeFactory::isValueType(property->propType())) {TRUE | never evaluated | FALSE | evaluated 1622 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
| 0-1622 |
674 | return QQmlCompileError(binding->location, tr("Unexpected object assignment for property \"%1\"").arg(propertyName)); never executed: return QQmlCompileError(binding->location, tr("Unexpected object assignment for property \"%1\"").arg(propertyName)); | 0 |
675 | } else if (property->propType() == qMetaTypeId<QQmlScriptString>()) {TRUE | never evaluated | FALSE | evaluated 1622 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
| 0-1622 |
676 | return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: script expected")); never executed: return QQmlCompileError(binding->valueLocation, tr("Invalid property assignment: script expected")); | 0 |
677 | } else { | - |
678 | | - |
679 | | - |
680 | | - |
681 | | - |
682 | QQmlPropertyCache *propertyMetaObject = enginePrivate->rawPropertyCacheForType(property->propType(), -1); | - |
683 | | - |
684 | | - |
685 | bool isAssignable = false; | - |
686 | | - |
687 | if (propertyMetaObject) {TRUE | evaluated 1622 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| FALSE | never evaluated |
| 0-1622 |
688 | QQmlPropertyCache *c = propertyCaches.at(binding->value.objectIndex); | - |
689 | while (c && !isAssignable) {TRUE | evaluated 4112 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| FALSE | evaluated 130 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickmousearea
- tst_qrcqml
|
TRUE | evaluated 2620 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| FALSE | evaluated 1492 times by 51 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickellipseextruder
- ...
|
| 130-4112 |
690 | isAssignable |= c == propertyMetaObject; | - |
691 | c = c->parent(); | - |
692 | }executed 2620 times by 59 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 2620 |
693 | }executed 1622 times by 59 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 1622 |
694 | | - |
695 | if (!isAssignable) {TRUE | never evaluated | FALSE | evaluated 1622 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
| 0-1622 |
696 | return QQmlCompileError(binding->valueLocation, tr("Cannot assign object of type \"%1\" to property of type \"%2\" as the former is neither the same as the latter nor a sub-class of it.") never executed: return QQmlCompileError(binding->valueLocation, tr("Cannot assign object of type \"%1\" to property of type \"%2\" as the former is neither the same as the latter nor a sub-class of it.") .arg(stringAt(qmlUnit->objectAt(binding->value.objectIndex)->inheritedTypeNameIndex)).arg(QLatin1String(QMetaType::typeName(property->propType())))); | 0 |
697 | .arg(stringAt(qmlUnit->objectAt(binding->value.objectIndex)->inheritedTypeNameIndex)).arg(QLatin1String(QMetaType::typeName(property->propType())))); never executed: return QQmlCompileError(binding->valueLocation, tr("Cannot assign object of type \"%1\" to property of type \"%2\" as the former is neither the same as the latter nor a sub-class of it.") .arg(stringAt(qmlUnit->objectAt(binding->value.objectIndex)->inheritedTypeNameIndex)).arg(QLatin1String(QMetaType::typeName(property->propType())))); | 0 |
698 | } | - |
699 | }executed 1622 times by 59 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 1622 |
700 | return noError;executed 1622 times by 59 tests: return noError; Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 1622 |
701 | } | - |
702 | | - |
703 | QT_END_NAMESPACE | - |
| | |