| 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 <private/qqmlglobal_p.h> | - |
| 41 | | - |
| 42 | #include <QtQml/qqmlengine.h> | - |
| 43 | #include <QtCore/qvariant.h> | - |
| 44 | #include <QtCore/qstringlist.h> | - |
| 45 | #include <QtCore/qdebug.h> | - |
| 46 | #include <QtCore/QCoreApplication> | - |
| 47 | | - |
| 48 | QT_BEGIN_NAMESPACE | - |
| 49 | | - |
| 50 | QQmlValueTypeProvider::QQmlValueTypeProvider() | - |
| 51 | : next(nullptr) | - |
| 52 | { | - |
| 53 | }executed 594 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| 594 |
| 54 | | - |
| 55 | QQmlValueTypeProvider::~QQmlValueTypeProvider() | - |
| 56 | { | - |
| 57 | QQml_removeValueTypeProvider(this); | - |
| 58 | }executed 594 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| 594 |
| 59 | | - |
| 60 | const QMetaObject *QQmlValueTypeProvider::metaObjectForMetaType(int type) | - |
| 61 | { | - |
| 62 | QQmlValueTypeProvider *p = this; | - |
| 63 | do { | - |
| 64 | if (const QMetaObject *mo = p->getMetaObjectForMetaType(type))| TRUE | evaluated 12919 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem2
- ...
| | FALSE | evaluated 669352 times by 130 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 12919-669352 |
| 65 | return mo;executed 12919 times by 36 tests: return mo;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem2
- ...
| 12919 |
| 66 | } while ((p = p->next));executed 669352 times by 130 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| TRUE | evaluated 334605 times by 123 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| | FALSE | evaluated 334747 times by 130 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 334605-669352 |
| 67 | | - |
| 68 | return nullptr;executed 334747 times by 130 tests: return nullptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 334747 |
| 69 | } | - |
| 70 | | - |
| 71 | bool QQmlValueTypeProvider::initValueType(int type, QVariant& dst) | - |
| 72 | { | - |
| 73 | QQmlValueTypeProvider *p = this; | - |
| 74 | do { | - |
| 75 | if (p->init(type, dst))| TRUE | evaluated 282 times by 12 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| | FALSE | never evaluated |
| 0-282 |
| 76 | return true;executed 282 times by 12 tests: return true;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| 282 |
| 77 | } while ((p = p->next)); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 78 | | - |
| 79 | return false; never executed: return false; | 0 |
| 80 | } | - |
| 81 | | - |
| 82 | QVariant QQmlValueTypeProvider::createValueType(int type, int argc, const void *argv[]) | - |
| 83 | { | - |
| 84 | QVariant v; | - |
| 85 | | - |
| 86 | QQmlValueTypeProvider *p = this; | - |
| 87 | do { | - |
| 88 | if (p->create(type, argc, argv, &v))| TRUE | evaluated 288 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquickworkerscript
| | FALSE | evaluated 8 times by 1 test |
| 8-288 |
| 89 | return v;executed 288 times by 6 tests: return v;Executed by:- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquickworkerscript
| 288 |
| 90 | } while ((p = p->next));executed 8 times by 1 test: end of block | TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 91 | | - |
| 92 | return QVariant();executed 8 times by 1 test: return QVariant(); | 8 |
| 93 | } | - |
| 94 | | - |
| 95 | bool QQmlValueTypeProvider::createValueFromString(int type, const QString &s, void *data, size_t n) | - |
| 96 | { | - |
| 97 | Q_ASSERT(data); | - |
| 98 | | - |
| 99 | QQmlValueTypeProvider *p = this; | - |
| 100 | do { | - |
| 101 | if (p->createFromString(type, s, data, n))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 102 | return true; never executed: return true; | 0 |
| 103 | } while ((p = p->next)); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 104 | | - |
| 105 | return false; never executed: return false; | 0 |
| 106 | } | - |
| 107 | | - |
| 108 | bool QQmlValueTypeProvider::createStringFromValue(int type, const void *data, QString *s) | - |
| 109 | { | - |
| 110 | Q_ASSERT(data); | - |
| 111 | Q_ASSERT(s); | - |
| 112 | | - |
| 113 | QQmlValueTypeProvider *p = this; | - |
| 114 | do { | - |
| 115 | if (p->createStringFrom(type, data, s))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 116 | return true; never executed: return true; | 0 |
| 117 | } while ((p = p->next)); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 118 | | - |
| 119 | return false; never executed: return false; | 0 |
| 120 | } | - |
| 121 | | - |
| 122 | QVariant QQmlValueTypeProvider::createVariantFromString(const QString &s) | - |
| 123 | { | - |
| 124 | QVariant v; | - |
| 125 | | - |
| 126 | QQmlValueTypeProvider *p = this; | - |
| 127 | do { | - |
| 128 | if (p->variantFromString(s, &v))| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickanimations
| | FALSE | evaluated 40 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickimage
- tst_qquickitem
|
| 6-40 |
| 129 | return v;executed 6 times by 2 tests: return v;Executed by:- tst_examples
- tst_qquickanimations
| 6 |
| 130 | } while ((p = p->next));executed 40 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickimage
- tst_qquickitem
| TRUE | evaluated 20 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickimage
- tst_qquickitem
| | FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickimage
- tst_qquickitem
|
| 20-40 |
| 131 | | - |
| 132 | | - |
| 133 | return QVariant(s);executed 20 times by 5 tests: return QVariant(s);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickimage
- tst_qquickitem
| 20 |
| 134 | } | - |
| 135 | | - |
| 136 | QVariant QQmlValueTypeProvider::createVariantFromString(int type, const QString &s, bool *ok) | - |
| 137 | { | - |
| 138 | QVariant v; | - |
| 139 | | - |
| 140 | QQmlValueTypeProvider *p = this; | - |
| 141 | do { | - |
| 142 | if (p->variantFromString(type, s, &v)) {| TRUE | evaluated 80762 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
- ...
| | FALSE | evaluated 84 times by 7 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
|
| 84-80762 |
| 143 | if (ok) *ok = true;executed 80762 times by 27 tests: *ok = true;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
- ...
| TRUE | evaluated 80762 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
- ...
| | FALSE | never evaluated |
| 0-80762 |
| 144 | return v;executed 80762 times by 27 tests: return v;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
- ...
| 80762 |
| 145 | } | - |
| 146 | } while ((p = p->next));executed 84 times by 7 tests: end of blockExecuted by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| TRUE | evaluated 40 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| | FALSE | evaluated 44 times by 7 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
|
| 40-84 |
| 147 | | - |
| 148 | if (ok) *ok = false;executed 44 times by 7 tests: *ok = false;Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| TRUE | evaluated 44 times by 7 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| | FALSE | never evaluated |
| 0-44 |
| 149 | return QVariant();executed 44 times by 7 tests: return QVariant();Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| 44 |
| 150 | } | - |
| 151 | | - |
| 152 | QVariant QQmlValueTypeProvider::createVariantFromJsObject(int type, QQmlV4Handle obj, QV4::ExecutionEngine *e, bool *ok) | - |
| 153 | { | - |
| 154 | QVariant v; | - |
| 155 | | - |
| 156 | QQmlValueTypeProvider *p = this; | - |
| 157 | do { | - |
| 158 | if (p->variantFromJsObject(type, obj, e, &v)) {| TRUE | evaluated 72 times by 3 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
| | FALSE | evaluated 12 times by 1 test |
| 12-72 |
| 159 | if (ok) *ok = true;executed 72 times by 3 tests: *ok = true;Executed by:- tst_qqmlbinding
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
| TRUE | evaluated 72 times by 3 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
| | FALSE | never evaluated |
| 0-72 |
| 160 | return v;executed 72 times by 3 tests: return v;Executed by:- tst_qqmlbinding
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
| 72 |
| 161 | } | - |
| 162 | } while ((p = p->next));executed 12 times by 1 test: end of block | TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 6 times by 1 test |
| 6-12 |
| 163 | | - |
| 164 | if (ok) *ok = false;executed 6 times by 1 test: *ok = false; | TRUE | evaluated 6 times by 1 test | | FALSE | never evaluated |
| 0-6 |
| 165 | return QVariant();executed 6 times by 1 test: return QVariant(); | 6 |
| 166 | } | - |
| 167 | | - |
| 168 | bool QQmlValueTypeProvider::equalValueType(int type, const void *lhs, const QVariant& rhs) | - |
| 169 | { | - |
| 170 | Q_ASSERT(lhs); | - |
| 171 | | - |
| 172 | QQmlValueTypeProvider *p = this; | - |
| 173 | do { | - |
| 174 | if (p->equal(type, lhs, rhs))| TRUE | evaluated 16 times by 4 testsEvaluated by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
| | FALSE | evaluated 1112 times by 11 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
|
| 16-1112 |
| 175 | return true;executed 16 times by 4 tests: return true;Executed by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
| 16 |
| 176 | } while ((p = p->next));executed 1112 times by 11 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| TRUE | evaluated 654 times by 11 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| | FALSE | evaluated 458 times by 11 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
|
| 458-1112 |
| 177 | | - |
| 178 | return false;executed 458 times by 11 tests: return false;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| 458 |
| 179 | } | - |
| 180 | | - |
| 181 | bool QQmlValueTypeProvider::storeValueType(int type, const void *src, void *dst, size_t dstSize) | - |
| 182 | { | - |
| 183 | Q_ASSERT(src); | - |
| 184 | Q_ASSERT(dst); | - |
| 185 | | - |
| 186 | QQmlValueTypeProvider *p = this; | - |
| 187 | do { | - |
| 188 | if (p->store(type, src, dst, dstSize))| TRUE | evaluated 27769 times by 82 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
- ...
| | FALSE | never evaluated |
| 0-27769 |
| 189 | return true;executed 27769 times by 82 tests: return true;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
- ...
| 27769 |
| 190 | } while ((p = p->next)); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 191 | | - |
| 192 | return false; never executed: return false; | 0 |
| 193 | } | - |
| 194 | | - |
| 195 | bool QQmlValueTypeProvider::readValueType(const QVariant& src, void *dst, int dstType) | - |
| 196 | { | - |
| 197 | Q_ASSERT(dst); | - |
| 198 | | - |
| 199 | QQmlValueTypeProvider *p = this; | - |
| 200 | do { | - |
| 201 | if (p->read(src, dst, dstType))| TRUE | evaluated 1116 times by 12 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| | FALSE | never evaluated |
| 0-1116 |
| 202 | return true;executed 1116 times by 12 tests: return true;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| 1116 |
| 203 | } while ((p = p->next)); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 204 | | - |
| 205 | return false; never executed: return false; | 0 |
| 206 | } | - |
| 207 | | - |
| 208 | bool QQmlValueTypeProvider::writeValueType(int type, const void *src, QVariant& dst) | - |
| 209 | { | - |
| 210 | Q_ASSERT(src); | - |
| 211 | | - |
| 212 | QQmlValueTypeProvider *p = this; | - |
| 213 | do { | - |
| 214 | if (p->write(type, src, dst))| TRUE | evaluated 458 times by 11 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| | FALSE | evaluated 40 times by 4 testsEvaluated by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
|
| 40-458 |
| 215 | return true;executed 458 times by 11 tests: return true;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| 458 |
| 216 | } while ((p = p->next));executed 40 times by 4 tests: end of blockExecuted by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
| TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
| | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
|
| 16-40 |
| 217 | | - |
| 218 | return false;executed 16 times by 4 tests: return false;Executed by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
| 16 |
| 219 | } | - |
| 220 | | - |
| 221 | constexecuted 334747 times by 130 tests: return nullptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
QMetaObject *QQmlValueTypeProvider::getMetaObjectForMetaType(int) { return nullptr; }executed 334747 times by 130 tests: return nullptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 334747 |
| 222 | bool QQmlValueTypeProvider::init(int, QVariant&) { return false; } never executed: return false; | 0 |
| 223 | bool QQmlValueTypeProvider::create(int, int, const void *[], QVariant *) { return false; }executed 8 times by 1 test: return false; | 8 |
| 224 | bool QQmlValueTypeProvider::createFromString(int, const QString &, void *, size_t) { return false; } never executed: return false; | 0 |
| 225 | bool QQmlValueTypeProvider::createStringFrom(int, const void *, QString *) { return false; } never executed: return false; | 0 |
| 226 | bool QQmlValueTypeProvider::variantFromString(const QString &, QVariant *) { return false; }executed 20 times by 5 tests: return false;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickimage
- tst_qquickitem
| 20 |
| 227 | bool QQmlValueTypeProvider::variantFromString(int, const QString &, QVariant *) { return false; }executed 44 times by 7 tests: return false;Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| 44 |
| 228 | bool QQmlValueTypeProvider::variantFromJsObject(int, QQmlV4Handle, QV4::ExecutionEngine *, QVariant *) { return false; }executed 6 times by 1 test: return false; | 6 |
| 229 | bool QQmlValueTypeProvider::equal(int, const void *, const QVariant&) { return false; }executed 654 times by 11 tests: return false;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickloader
- tst_qquickstates
| 654 |
| 230 | bool QQmlValueTypeProvider::store(int, const void *, void *, size_t) { return false; } never executed: return false; | 0 |
| 231 | bool QQmlValueTypeProvider::read(const QVariant&, void *, int) { return false; } never executed: return false; | 0 |
| 232 | bool QQmlValueTypeProvider::write(int, const void *, QVariant&) { return false; }executed 24 times by 4 tests: return false;Executed by:- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickapplication
- tst_qquickdynamicpropertyanimation
| 24 |
| 233 | | - |
| 234 | Q_GLOBAL_STATIC(QQmlValueTypeProvider, nullValueTypeProvider)executed 304 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
executed 304 times by 139 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
executed 708 times by 139 tests: return &holder.value;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| TRUE | evaluated 304 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| | FALSE | never evaluated |
| 0-708 |
| 235 | static QQmlValueTypeProvider *valueTypeProvider = nullptr; | - |
| 236 | | - |
| 237 | static QQmlValueTypeProvider **getValueTypeProvider(void) | - |
| 238 | { | - |
| 239 | if (valueTypeProvider == nullptr) {| TRUE | evaluated 304 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| | FALSE | evaluated 272 times by 124 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 272-304 |
| 240 | valueTypeProvider = nullValueTypeProvider; | - |
| 241 | }executed 304 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| 304 |
| 242 | | - |
| 243 | return &valueTypeProvider;executed 576 times by 139 tests: return &valueTypeProvider;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| 576 |
| 244 | } | - |
| 245 | | - |
| 246 | Q_QML_PRIVATE_EXPORT void QQml_addValueTypeProvider(QQmlValueTypeProvider *newProvider) | - |
| 247 | { | - |
| 248 | static QQmlValueTypeProvider **providerPtr = getValueTypeProvider(); | - |
| 249 | newProvider->next = *providerPtr; | - |
| 250 | *providerPtr = newProvider; | - |
| 251 | }executed 376 times by 132 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 376 |
| 252 | | - |
| 253 | Q_QML_PRIVATE_EXPORT void QQml_removeValueTypeProvider(QQmlValueTypeProvider *oldProvider) | - |
| 254 | { | - |
| 255 | if (oldProvider == nullValueTypeProvider) {| TRUE | evaluated 304 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| | FALSE | evaluated 378 times by 132 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 304-378 |
| 256 | | - |
| 257 | | - |
| 258 | return;executed 304 times by 139 tests: return;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- 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
- ...
| 304 |
| 259 | } | - |
| 260 | | - |
| 261 | | - |
| 262 | Q_ASSERT(oldProvider->next); | - |
| 263 | | - |
| 264 | QQmlValueTypeProvider *prev = valueTypeProvider; | - |
| 265 | if (prev == oldProvider) {| TRUE | evaluated 376 times by 132 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| | FALSE | evaluated 2 times by 1 test |
| 2-376 |
| 266 | valueTypeProvider = oldProvider->next; | - |
| 267 | return;executed 376 times by 132 tests: return;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 376 |
| 268 | } | - |
| 269 | | - |
| 270 | | - |
| 271 | for ( ; prev; prev = prev->next) {| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2 |
| 272 | if (prev->next != oldProvider)| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 273 | continue; executed 2 times by 1 test: continue; | 2 |
| 274 | prev->next = oldProvider->next; | - |
| 275 | return; never executed: return; | 0 |
| 276 | } | - |
| 277 | | - |
| 278 | qWarning("QQml_removeValueTypeProvider: was asked to remove provider %p but it was not found", oldProvider); | - |
| 279 | }executed 2 times by 1 test: end of block | 2 |
| 280 | | - |
| 281 | Q_AUTOTEST_EXPORT QQmlValueTypeProvider *QQml_valueTypeProvider(void) | - |
| 282 | { | - |
| 283 | static QQmlValueTypeProvider **providerPtr = getValueTypeProvider(); | - |
| 284 | return *providerPtr;executed 458987 times by 131 tests: return *providerPtr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 458987 |
| 285 | } | - |
| 286 | | - |
| 287 | QQmlColorProvider::~QQmlColorProvider() {} | - |
| 288 | QVariant QQmlColorProvider::colorFromString(const QString &, bool *ok) { if (ok) *ok = false; return QVariant(); } never executed: *ok = false; never executed: return QVariant(); | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 289 | unsigned QQmlColorProvider::rgbaFromString(const QString &, bool *ok) { if (ok) *ok = false; return 0; } never executed: *ok = false; never executed: return 0; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 290 | QVariant QQmlColorProvider::fromRgbF(double, double, double, double) { return QVariant(); }executed 8 times by 1 test: return QVariant(); | 8 |
| 291 | QVariant QQmlColorProvider::fromHslF(double, double, double, double) { return QVariant(); } never executed: return QVariant(); | 0 |
| 292 | QVariant QQmlColorProvider::fromHsvF(double, double, double, double) { return QVariant(); } never executed: return QVariant(); | 0 |
| 293 | QVariant QQmlColorProvider::lighter(const QVariant &, qreal) { return QVariant(); } never executed: return QVariant(); | 0 |
| 294 | QVariant QQmlColorProvider::darker(const QVariant &, qreal) { return QVariant(); } never executed: return QVariant(); | 0 |
| 295 | QVariant QQmlColorProvider::tint(const QVariant &, const QVariant &) { return QVariant(); } never executed: return QVariant(); | 0 |
| 296 | | - |
| 297 | static QQmlColorProvider *colorProvider = nullptr; | - |
| 298 | | - |
| 299 | Q_QML_PRIVATE_EXPORT QQmlColorProvider *QQml_setColorProvider(QQmlColorProvider *newProvider) | - |
| 300 | { | - |
| 301 | QQmlColorProvider *old = colorProvider; | - |
| 302 | colorProvider = newProvider; | - |
| 303 | return old;executed 462 times by 132 tests: return old;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 462 |
| 304 | } | - |
| 305 | | - |
| 306 | static QQmlColorProvider **getColorProvider(void) | - |
| 307 | { | - |
| 308 | if (colorProvider == nullptr) {| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlglobal
- tst_qqmlvaluetypes
| | FALSE | evaluated 166 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_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- ...
|
| 4-166 |
| 309 | qWarning() << "Warning: QQml_colorProvider: no color provider has been set!"; | - |
| 310 | static QQmlColorProvider nullColorProvider; | - |
| 311 | colorProvider = &nullColorProvider; | - |
| 312 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qqmlglobal
- tst_qqmlvaluetypes
| 4 |
| 313 | | - |
| 314 | return &colorProvider;executed 170 times by 85 tests: return &colorProvider;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlglobal
- 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
- ...
| 170 |
| 315 | } | - |
| 316 | | - |
| 317 | Q_AUTOTEST_EXPORT QQmlColorProvider *QQml_colorProvider(void) | - |
| 318 | { | - |
| 319 | static QQmlColorProvider **providerPtr = getColorProvider(); | - |
| 320 | return *providerPtr;executed 38965 times by 85 tests: return *providerPtr;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlglobal
- 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
- ...
| 38965 |
| 321 | } | - |
| 322 | | - |
| 323 | | - |
| 324 | QQmlGuiProvider::~QQmlGuiProvider() {} | - |
| 325 | QObject *QQmlGuiProvider::application(QObject *) { return new QQmlApplication(); }executed 4 times by 1 test: return new QQmlApplication();Executed by:- tst_qqmlapplicationengine
| 4 |
| 326 | QStringList QQmlGuiProvider::fontFamilies() { return QStringList(); } never executed: return QStringList(); | 0 |
| 327 | bool QQmlGuiProvider::openUrlExternally(QUrl &) { return false; } never executed: return false; | 0 |
| 328 | | - |
| 329 | QObject *QQmlGuiProvider::inputMethod() | - |
| 330 | { | - |
| 331 | | - |
| 332 | QObject *o = new QObject(); | - |
| 333 | o->setObjectName(QStringLiteral("No inputMethod available")); never executed: return qstring_literal_temp; | 0 |
| 334 | QQmlEngine::setObjectOwnership(o, QQmlEngine::JavaScriptOwnership); | - |
| 335 | return o; never executed: return o; | 0 |
| 336 | } | - |
| 337 | | - |
| 338 | QObject *QQmlGuiProvider::styleHints() | - |
| 339 | { | - |
| 340 | QObject *o = new QObject(); | - |
| 341 | o->setObjectName(QStringLiteral("No styleHints available")); never executed: return qstring_literal_temp; | 0 |
| 342 | QQmlEngine::setObjectOwnership(o, QQmlEngine::JavaScriptOwnership); | - |
| 343 | return o; never executed: return o; | 0 |
| 344 | } | - |
| 345 | | - |
| 346 | QString QQmlGuiProvider::pluginName() const { return QString(); } never executed: return QString(); | 0 |
| 347 | | - |
| 348 | static QQmlGuiProvider *guiProvider = nullptr; | - |
| 349 | | - |
| 350 | Q_QML_PRIVATE_EXPORT QQmlGuiProvider *QQml_setGuiProvider(QQmlGuiProvider *newProvider) | - |
| 351 | { | - |
| 352 | QQmlGuiProvider *old = guiProvider; | - |
| 353 | guiProvider = newProvider; | - |
| 354 | return old;executed 462 times by 132 tests: return old;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 462 |
| 355 | } | - |
| 356 | | - |
| 357 | static QQmlGuiProvider **getGuiProvider(void) | - |
| 358 | { | - |
| 359 | if (guiProvider == nullptr) {| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmlglobal
| | FALSE | evaluated 12 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickscreen
|
| 6-12 |
| 360 | static QQmlGuiProvider nullGuiProvider; | - |
| 361 | guiProvider = &nullGuiProvider; | - |
| 362 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qqmlapplicationengine
- tst_qqmlglobal
| 6 |
| 363 | | - |
| 364 | return &guiProvider;executed 18 times by 8 tests: return &guiProvider;Executed by:- tst_examples
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlglobal
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickscreen
| 18 |
| 365 | } | - |
| 366 | | - |
| 367 | Q_AUTOTEST_EXPORT QQmlGuiProvider *QQml_guiProvider(void) | - |
| 368 | { | - |
| 369 | static QQmlGuiProvider **providerPtr = getGuiProvider(); | - |
| 370 | return *providerPtr;executed 74 times by 8 tests: return *providerPtr;Executed by:- tst_examples
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlglobal
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickscreen
| 74 |
| 371 | } | - |
| 372 | | - |
| 373 | | - |
| 374 | QQmlApplication::QQmlApplication(QObject *parent) | - |
| 375 | : QObject(*(new QQmlApplicationPrivate),parent) | - |
| 376 | { | - |
| 377 | connect(QCoreApplication::instance(), SIGNAL(aboutToQuit()), | - |
| 378 | this, SIGNAL(aboutToQuit())); | - |
| 379 | connect(QCoreApplication::instance(), SIGNAL(applicationNameChanged()), | - |
| 380 | this, SIGNAL(nameChanged())); | - |
| 381 | connect(QCoreApplication::instance(), SIGNAL(applicationVersionChanged()), | - |
| 382 | this, SIGNAL(versionChanged())); | - |
| 383 | connect(QCoreApplication::instance(), SIGNAL(organizationNameChanged()), | - |
| 384 | this, SIGNAL(organizationChanged())); | - |
| 385 | connect(QCoreApplication::instance(), SIGNAL(organizationDomainChanged()), | - |
| 386 | this, SIGNAL(domainChanged())); | - |
| 387 | }executed 16 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qquickapplication
- tst_qquickscreen
| 16 |
| 388 | | - |
| 389 | QQmlApplication::QQmlApplication(QQmlApplicationPrivate &dd, QObject *parent) | - |
| 390 | : QObject(dd, parent) | - |
| 391 | { | - |
| 392 | connect(QCoreApplication::instance(), SIGNAL(aboutToQuit()), | - |
| 393 | this, SIGNAL(aboutToQuit())); | - |
| 394 | connect(QCoreApplication::instance(), SIGNAL(applicationNameChanged()), | - |
| 395 | this, SIGNAL(nameChanged())); | - |
| 396 | connect(QCoreApplication::instance(), SIGNAL(applicationVersionChanged()), | - |
| 397 | this, SIGNAL(versionChanged())); | - |
| 398 | connect(QCoreApplication::instance(), SIGNAL(organizationNameChanged()), | - |
| 399 | this, SIGNAL(organizationChanged())); | - |
| 400 | connect(QCoreApplication::instance(), SIGNAL(organizationDomainChanged()), | - |
| 401 | this, SIGNAL(domainChanged())); | - |
| 402 | } never executed: end of block | 0 |
| 403 | | - |
| 404 | QStringList QQmlApplication::args() | - |
| 405 | { | - |
| 406 | Q_D(QQmlApplication); | - |
| 407 | if (!d->argsInit) {| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
|
| 4-6 |
| 408 | d->argsInit = true; | - |
| 409 | d->args = QCoreApplication::arguments(); | - |
| 410 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
| 4 |
| 411 | return d->args;executed 10 times by 2 tests: return d->args;Executed by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
| 10 |
| 412 | } | - |
| 413 | | - |
| 414 | QString QQmlApplication::name() const | - |
| 415 | { | - |
| 416 | return QCoreApplication::instance()->applicationName();executed 8 times by 1 test: return QCoreApplication::instance()->applicationName();Executed by:- tst_qqmlapplicationengine
| 8 |
| 417 | } | - |
| 418 | | - |
| 419 | QString QQmlApplication::version() const | - |
| 420 | { | - |
| 421 | return QCoreApplication::instance()->applicationVersion();executed 8 times by 1 test: return QCoreApplication::instance()->applicationVersion();Executed by:- tst_qqmlapplicationengine
| 8 |
| 422 | } | - |
| 423 | | - |
| 424 | QString QQmlApplication::organization() const | - |
| 425 | { | - |
| 426 | return QCoreApplication::instance()->organizationName();executed 8 times by 1 test: return QCoreApplication::instance()->organizationName();Executed by:- tst_qqmlapplicationengine
| 8 |
| 427 | } | - |
| 428 | | - |
| 429 | QString QQmlApplication::domain() const | - |
| 430 | { | - |
| 431 | return QCoreApplication::instance()->organizationDomain();executed 8 times by 1 test: return QCoreApplication::instance()->organizationDomain();Executed by:- tst_qqmlapplicationengine
| 8 |
| 432 | } | - |
| 433 | | - |
| 434 | void QQmlApplication::setName(const QString &arg) | - |
| 435 | { | - |
| 436 | QCoreApplication::instance()->setApplicationName(arg); | - |
| 437 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qqmlapplicationengine
| 2 |
| 438 | | - |
| 439 | void QQmlApplication::setVersion(const QString &arg) | - |
| 440 | { | - |
| 441 | QCoreApplication::instance()->setApplicationVersion(arg); | - |
| 442 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qqmlapplicationengine
| 2 |
| 443 | | - |
| 444 | void QQmlApplication::setOrganization(const QString &arg) | - |
| 445 | { | - |
| 446 | QCoreApplication::instance()->setOrganizationName(arg); | - |
| 447 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qqmlapplicationengine
| 2 |
| 448 | | - |
| 449 | void QQmlApplication::setDomain(const QString &arg) | - |
| 450 | { | - |
| 451 | QCoreApplication::instance()->setOrganizationDomain(arg); | - |
| 452 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qqmlapplicationengine
| 2 |
| 453 | | - |
| 454 | QT_END_NAMESPACE | - |
| 455 | | - |
| 456 | #include "moc_qqmlglobal_p.cpp" | - |
| | |