Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | namespace { | - |
6 | | - |
7 | struct QQmlValueTypeFactoryImpl | - |
8 | { | - |
9 | QQmlValueTypeFactoryImpl(); | - |
10 | ~QQmlValueTypeFactoryImpl(); | - |
11 | | - |
12 | bool isValueType(int idx); | - |
13 | | - |
14 | const QMetaObject *metaObjectForMetaType(int); | - |
15 | QQmlValueType *valueType(int); | - |
16 | | - |
17 | QQmlValueType *valueTypes[QVariant::UserType]; | - |
18 | QHash<int, QQmlValueType *> userTypes; | - |
19 | QMutex mutex; | - |
20 | }; | - |
21 | | - |
22 | QQmlValueTypeFactoryImpl::QQmlValueTypeFactoryImpl() | - |
23 | { | - |
24 | for (unsigned int ii = 0; ii < QVariant::UserTypeTRUE | evaluated 296960 times by 132 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
- ...
| FALSE | evaluated 290 times by 132 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
- ...
|
; ++ii) | 290-296960 |
25 | valueTypes[ii] = nullptr;executed 296960 times by 132 tests: valueTypes[ii] = 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
- ...
| 296960 |
26 | | - |
27 | | - |
28 | qRegisterMetaType<QItemSelectionRange>(); | - |
29 | }executed 290 times by 132 tests: end of block 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
- ...
| 290 |
30 | | - |
31 | QQmlValueTypeFactoryImpl::~QQmlValueTypeFactoryImpl() | - |
32 | { | - |
33 | qDeleteAll(valueTypes, valueTypes + QVariant::UserType); | - |
34 | qDeleteAll(userTypes); | - |
35 | }executed 290 times by 132 tests: end of block 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
- ...
| 290 |
36 | | - |
37 | bool QQmlValueTypeFactoryImpl::isValueType(int idx) | - |
38 | { | - |
39 | if (idx >= (int)QVariant::UserTypeTRUE | evaluated 99947 times by 100 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | evaluated 316994 times by 67 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 99947-316994 |
40 | returnexecuted 99947 times by 100 tests: return (valueType(idx) != nullptr); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
(valueType(idx) != nullptr);executed 99947 times by 100 tests: return (valueType(idx) != nullptr); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 99947 |
41 | } else if (idx >= 0TRUE | evaluated 316994 times by 67 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| FALSE | never evaluated |
| 0-316994 |
42 | && idx != QVariant::StringListTRUE | evaluated 315432 times by 66 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| FALSE | evaluated 1562 times by 9 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 1562-315432 |
43 | && idx != QMetaType::QObjectStarTRUE | evaluated 313094 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| FALSE | evaluated 2338 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 2338-313094 |
44 | && idx != QMetaType::VoidStarTRUE | evaluated 313094 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| FALSE | never evaluated |
| 0-313094 |
45 | && idx != QMetaType::NullptrTRUE | evaluated 313084 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
|
| 10-313084 |
46 | && idx != QMetaType::QVariantTRUE | evaluated 312768 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| FALSE | evaluated 316 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
|
| 316-312768 |
47 | && idx != QMetaType::QLocaleTRUE | evaluated 312734 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| FALSE | evaluated 34 times by 1 test |
) { | 34-312734 |
48 | returnexecuted 312734 times by 59 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
true;executed 312734 times by 59 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| 312734 |
49 | } | - |
50 | | - |
51 | returnexecuted 4260 times by 31 tests: return false; Executed by:- tst_examples
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
false;executed 4260 times by 31 tests: return false; Executed by:- tst_examples
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
| 4260 |
52 | } | - |
53 | | - |
54 | const QMetaObject *QQmlValueTypeFactoryImpl::metaObjectForMetaType(int t) | - |
55 | { | - |
56 | switch (t) { | - |
57 | caseexecuted 146 times by 5 tests: case QVariant::Point: Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickmousearea
QVariant::Point:executed 146 times by 5 tests: case QVariant::Point: Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickmousearea
| 146 |
58 | returnexecuted 146 times by 5 tests: return &QQmlPointValueType::staticMetaObject; Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickmousearea
&QQmlPointValueType::staticMetaObject;executed 146 times by 5 tests: return &QQmlPointValueType::staticMetaObject; Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickmousearea
| 146 |
59 | caseexecuted 361188 times by 24 tests: case QVariant::PointF: Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_quicktestmainwithsetup
- tst_testfiltering
QVariant::PointF:executed 361188 times by 24 tests: case QVariant::PointF: Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_quicktestmainwithsetup
- tst_testfiltering
| 361188 |
60 | returnexecuted 361188 times by 24 tests: return &QQmlPointFValueType::staticMetaObject; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_quicktestmainwithsetup
- tst_testfiltering
&QQmlPointFValueType::staticMetaObject;executed 361188 times by 24 tests: return &QQmlPointFValueType::staticMetaObject; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_quicktestmainwithsetup
- tst_testfiltering
| 361188 |
61 | caseexecuted 240 times by 8 tests: case QVariant::Size: Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickimage
- tst_qquickshadereffect
QVariant::Size:executed 240 times by 8 tests: case QVariant::Size: Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickimage
- tst_qquickshadereffect
| 240 |
62 | returnexecuted 240 times by 8 tests: return &QQmlSizeValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickimage
- tst_qquickshadereffect
&QQmlSizeValueType::staticMetaObject;executed 240 times by 8 tests: return &QQmlSizeValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickimage
- tst_qquickshadereffect
| 240 |
63 | caseexecuted 220 times by 7 tests: case QVariant::SizeF: Executed by:- tst_examples
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_sharedimage
QVariant::SizeF:executed 220 times by 7 tests: case QVariant::SizeF: Executed by:- tst_examples
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_sharedimage
| 220 |
64 | returnexecuted 220 times by 7 tests: return &QQmlSizeFValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_sharedimage
&QQmlSizeFValueType::staticMetaObject;executed 220 times by 7 tests: return &QQmlSizeFValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_sharedimage
| 220 |
65 | caseexecuted 200 times by 3 tests: case QVariant::Rect: Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
QVariant::Rect:executed 200 times by 3 tests: case QVariant::Rect: Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 200 |
66 | returnexecuted 200 times by 3 tests: return &QQmlRectValueType::staticMetaObject; Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
&QQmlRectValueType::staticMetaObject;executed 200 times by 3 tests: return &QQmlRectValueType::staticMetaObject; Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 200 |
67 | caseexecuted 848 times by 15 tests: case QVariant::RectF: Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
QVariant::RectF:executed 848 times by 15 tests: case QVariant::RectF: Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 848 |
68 | returnexecuted 848 times by 15 tests: return &QQmlRectFValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
&QQmlRectFValueType::staticMetaObject;executed 848 times by 15 tests: return &QQmlRectFValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 848 |
69 | caseexecuted 698 times by 7 tests: case QVariant::EasingCurve: Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
QVariant::EasingCurve:executed 698 times by 7 tests: case QVariant::EasingCurve: Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| 698 |
70 | returnexecuted 698 times by 7 tests: return &QQmlEasingValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
&QQmlEasingValueType::staticMetaObject;executed 698 times by 7 tests: return &QQmlEasingValueType::staticMetaObject; Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| 698 |
71 | caseexecuted 148 times by 4 tests: case QVariant::ModelIndex: Executed by:- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qquickpathview
- tst_qquickvisualdatamodel
QVariant::ModelIndex:executed 148 times by 4 tests: case QVariant::ModelIndex: Executed by:- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 148 |
72 | returnexecuted 148 times by 4 tests: return &QQmlModelIndexValueType::staticMetaObject; Executed by:- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qquickpathview
- tst_qquickvisualdatamodel
&QQmlModelIndexValueType::staticMetaObject;executed 148 times by 4 tests: return &QQmlModelIndexValueType::staticMetaObject; Executed by:- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 148 |
73 | caseexecuted 56 times by 1 test: case QVariant::PersistentModelIndex: QVariant::PersistentModelIndex:executed 56 times by 1 test: case QVariant::PersistentModelIndex: | 56 |
74 | returnexecuted 56 times by 1 test: return &QQmlPersistentModelIndexValueType::staticMetaObject; &QQmlPersistentModelIndexValueType::staticMetaObject;executed 56 times by 1 test: return &QQmlPersistentModelIndexValueType::staticMetaObject; | 56 |
75 | defaultexecuted 347708 times by 131 tests: default: 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
- ...
:executed 347708 times by 131 tests: default: 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
- ...
| 347708 |
76 | if (t == qMetaTypeId<QItemSelectionRange>()TRUE | evaluated 42 times by 1 test | FALSE | evaluated 347666 times by 131 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
- ...
|
) | 42-347666 |
77 | returnexecuted 42 times by 1 test: return &QQmlItemSelectionRangeValueType::staticMetaObject; &QQmlItemSelectionRangeValueType::staticMetaObject;executed 42 times by 1 test: return &QQmlItemSelectionRangeValueType::staticMetaObject; | 42 |
78 | | - |
79 | if (constTRUE | 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 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
- ...
|
QMetaObject *mo = QQml_valueTypeProvider()->metaObjectForMetaType(t)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 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
- ...
|
) | 12919-334747 |
80 | returnexecuted 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
- ...
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 |
81 | break;executed 334747 times by 130 tests: break; 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 |
82 | } | - |
83 | | - |
84 | QMetaType metaType(t); | - |
85 | if (metaType.flags() & QMetaType::IsGadgetTRUE | evaluated 2084 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | evaluated 332663 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
- ...
|
) | 2084-332663 |
86 | returnexecuted 2084 times by 4 tests: return metaType.metaObject(); Executed by:- tst_flickableinterop
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquicktaphandler
metaType.metaObject();executed 2084 times by 4 tests: return metaType.metaObject(); Executed by:- tst_flickableinterop
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquicktaphandler
| 2084 |
87 | returnexecuted 332663 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
- ...
nullptr;executed 332663 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
- ...
| 332663 |
88 | } | - |
89 | | - |
90 | QQmlValueType *QQmlValueTypeFactoryImpl::valueType(int idx) | - |
91 | { | - |
92 | if (idx >= (int)QVariant::UserTypeTRUE | evaluated 102201 times by 100 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | evaluated 411498 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
|
) { | 102201-411498 |
93 | | - |
94 | mutex.lock(); | - |
95 | | - |
96 | QHash<int, QQmlValueType *>::iterator it = userTypes.find(idx); | - |
97 | if (it == userTypes.end()TRUE | evaluated 634 times by 100 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | evaluated 101567 times by 93 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- ...
|
) { | 634-101567 |
98 | QQmlValueType *vt = nullptr; | - |
99 | if (constTRUE | evaluated 22 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | evaluated 612 times by 99 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
QMetaObject *mo = metaObjectForMetaType(idx)TRUE | evaluated 22 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | evaluated 612 times by 99 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) | 22-612 |
100 | vt = new QQmlValueType(idx, mo);executed 22 times by 6 tests: vt = new QQmlValueType(idx, mo); Executed by:- tst_flickableinterop
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquicktaphandler
| 22 |
101 | it = userTypes.insert(idx, vt); | - |
102 | }executed 634 times by 100 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 634 |
103 | | - |
104 | mutex.unlock(); | - |
105 | returnexecuted 102201 times by 100 tests: return *it; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
*it;executed 102201 times by 100 tests: return *it; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 102201 |
106 | } | - |
107 | | - |
108 | QQmlValueType *rv = valueTypes[idx]; | - |
109 | if (!rvTRUE | evaluated 506 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 410992 times by 48 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickflipable
- ...
|
) { | 506-410992 |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | if (constTRUE | evaluated 288 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 218 times by 2 testsEvaluated by:- tst_qqmlvaluetypes
- tst_qquickdesignersupport
|
QMetaObject *mo = metaObjectForMetaType(idx)TRUE | evaluated 288 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 218 times by 2 testsEvaluated by:- tst_qqmlvaluetypes
- tst_qquickdesignersupport
|
) { | 218-288 |
115 | rv = new QQmlValueType(idx, mo); | - |
116 | valueTypes[idx] = rv; | - |
117 | }executed 288 times by 55 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 288 |
118 | }executed 506 times by 55 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 506 |
119 | | - |
120 | returnexecuted 411498 times by 55 tests: return rv; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
rv;executed 411498 times by 55 tests: return rv; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 411498 |
121 | } | - |
122 | | - |
123 | } | - |
124 | | - |
125 | namespace { namespace Q_QGS_factoryImpl { typedef QQmlValueTypeFactoryImpl Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 290 times by 132 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
- ...
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 290 times by 132 tests: guard.store(QtGlobalStatic::Destroyed); 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
- ...
}executed 290 times by 132 tests: end of block 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 1541005 times by 132 tests: return &holder.value; 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
- ...
&holder.value;executed 1541005 times by 132 tests: return &holder.value; 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
- ...
} } } static QGlobalStatic<QQmlValueTypeFactoryImpl, Q_QGS_factoryImpl::innerFunction, Q_QGS_factoryImpl::guard> factoryImpl;; | 0-1541005 |
126 | | - |
127 | bool QQmlValueTypeFactory::isValueType(int idx) | - |
128 | { | - |
129 | returnexecuted 416941 times by 115 tests: return factoryImpl()->isValueType(idx); Executed by:- 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_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
factoryImpl()->isValueType(idx);executed 416941 times by 115 tests: return factoryImpl()->isValueType(idx); Executed by:- 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_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 416941 |
130 | } | - |
131 | | - |
132 | QQmlValueType *QQmlValueTypeFactory::valueType(int idx) | - |
133 | { | - |
134 | returnexecuted 413752 times by 55 tests: return factoryImpl()->valueType(idx); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
factoryImpl()->valueType(idx);executed 413752 times by 55 tests: return factoryImpl()->valueType(idx); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 413752 |
135 | } | - |
136 | | - |
137 | const QMetaObject *QQmlValueTypeFactory::metaObjectForMetaType(int type) | - |
138 | { | - |
139 | returnexecuted 710312 times by 131 tests: return factoryImpl()->metaObjectForMetaType(type); 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
- ...
factoryImpl()->metaObjectForMetaType(type);executed 710312 times by 131 tests: return factoryImpl()->metaObjectForMetaType(type); 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
- ...
| 710312 |
140 | } | - |
141 | | - |
142 | void QQmlValueTypeFactory::registerValueTypes(const char *uri, int versionMajor, int versionMinor) | - |
143 | { | - |
144 | qmlRegisterValueTypeEnums<QQmlEasingValueType>(uri, versionMajor, versionMinor, "Easing"); | - |
145 | }executed 374 times by 132 tests: end of block 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
- ...
| 374 |
146 | | - |
147 | QQmlValueType::QQmlValueType(int typeId, const QMetaObject *gadgetMetaObject) | - |
148 | : gadgetPtr(QMetaType::create(typeId)) | - |
149 | , typeId(typeId) | - |
150 | , metaType(typeId) | - |
151 | { | - |
152 | QObjectPrivate *op = QObjectPrivate::get(this); | - |
153 | ((!op->metaObject) ? static_cast<void>(0) : qt_assert("!op->metaObject", __FILE__, 199)); | - |
154 | op->metaObject = this; | - |
155 | | - |
156 | QMetaObjectBuilder builder(gadgetMetaObject); | - |
157 | _metaObject = builder.toMetaObject(); | - |
158 | | - |
159 | *static_cast<QMetaObject*>(this) = *_metaObject; | - |
160 | }executed 310 times by 55 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 310 |
161 | | - |
162 | QQmlValueType::~QQmlValueType() | - |
163 | { | - |
164 | QObjectPrivate *op = QObjectPrivate::get(this); | - |
165 | ((op->metaObject == this) ? static_cast<void>(0) : qt_assert("op->metaObject == this", __FILE__, 211)); | - |
166 | op->metaObject = nullptr; | - |
167 | ::free(const_cast<QMetaObject *>(_metaObject)); | - |
168 | metaType.destroy(gadgetPtr); | - |
169 | }executed 310 times by 55 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 310 |
170 | | - |
171 | void QQmlValueType::read(QObject *obj, int idx) | - |
172 | { | - |
173 | void *a[] = { gadgetPtr, nullptr }; | - |
174 | QMetaObject::metacall(obj, QMetaObject::ReadProperty, idx, a); | - |
175 | }executed 44398 times by 26 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_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 44398 |
176 | | - |
177 | void QQmlValueType::write(QObject *obj, int idx, QQmlPropertyData::WriteFlags flags) | - |
178 | { | - |
179 | ((gadgetPtr) ? static_cast<void>(0) : qt_assert("gadgetPtr", __FILE__, 225)); | - |
180 | int status = -1; | - |
181 | void *a[] = { gadgetPtr, nullptr, &status, &flags }; | - |
182 | QMetaObject::metacall(obj, QMetaObject::WriteProperty, idx, a); | - |
183 | }executed 44362 times by 26 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_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 44362 |
184 | | - |
185 | QVariant QQmlValueType::value() | - |
186 | { | - |
187 | ((gadgetPtr) ? static_cast<void>(0) : qt_assert("gadgetPtr", __FILE__, 233)); | - |
188 | return never executed: return QVariant(typeId, gadgetPtr); QVariant(typeId, gadgetPtr);never executed: return QVariant(typeId, gadgetPtr); | 0 |
189 | } | - |
190 | | - |
191 | void QQmlValueType::setValue(const QVariant &value) | - |
192 | { | - |
193 | ((typeId == value.userType()) ? static_cast<void>(0) : qt_assert("typeId == value.userType()", __FILE__, 239)); | - |
194 | metaType.destruct(gadgetPtr); | - |
195 | metaType.construct(gadgetPtr, value.constData()); | - |
196 | }executed 28 times by 3 tests: end of block Executed by:- tst_qqmlvaluetypes
- tst_qquickbehaviors
- tst_qquickdesignersupport
| 28 |
197 | | - |
198 | QAbstractDynamicMetaObject *QQmlValueType::toDynamicMetaObject(QObject *) | - |
199 | { | - |
200 | returnexecuted 136 times by 7 tests: return this; Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquicktext
this;executed 136 times by 7 tests: return this; Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquicktext
| 136 |
201 | } | - |
202 | | - |
203 | void QQmlValueType::objectDestroyed(QObject *) | - |
204 | { | - |
205 | } | - |
206 | | - |
207 | int QQmlValueType::metaCall(QObject *, QMetaObject::Call type, int _id, void **argv) | - |
208 | { | - |
209 | const QMetaObject *mo = _metaObject; | - |
210 | QQmlMetaObject::resolveGadgetMethodOrPropertyIndex(type, &mo, &_id); | - |
211 | mo->d.static_metacall(reinterpret_cast<QObject*>(gadgetPtr), type, _id, argv); | - |
212 | returnexecuted 44374 times by 26 tests: return _id; 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_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
_id;executed 44374 times by 26 tests: return _id; 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_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 44374 |
213 | } | - |
214 | | - |
215 | QString QQmlPointFValueType::toString() const | - |
216 | { | - |
217 | returnexecuted 4 times by 1 test: return QString::asprintf("QPointF(%g, %g)", v.x(), v.y()); QString::asprintf("QPointF(%g, %g)", v.x(), v.y());executed 4 times by 1 test: return QString::asprintf("QPointF(%g, %g)", v.x(), v.y()); | 4 |
218 | } | - |
219 | | - |
220 | qreal QQmlPointFValueType::x() const | - |
221 | { | - |
222 | returnexecuted 2130 times by 10 tests: return v.x(); Executed by:- tst_flickableinterop
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
v.x();executed 2130 times by 10 tests: return v.x(); Executed by:- tst_flickableinterop
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
| 2130 |
223 | } | - |
224 | | - |
225 | qreal QQmlPointFValueType::y() const | - |
226 | { | - |
227 | returnexecuted 2138 times by 11 tests: return v.y(); Executed by:- tst_flickableinterop
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
v.y();executed 2138 times by 11 tests: return v.y(); Executed by:- tst_flickableinterop
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
| 2138 |
228 | } | - |
229 | | - |
230 | void QQmlPointFValueType::setX(qreal x) | - |
231 | { | - |
232 | v.setX(x); | - |
233 | }executed 266 times by 4 tests: end of block Executed by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickdrag
- tst_qquicklistview
| 266 |
234 | | - |
235 | void QQmlPointFValueType::setY(qreal y) | - |
236 | { | - |
237 | v.setY(y); | - |
238 | }executed 266 times by 4 tests: end of block Executed by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickdrag
- tst_qquicklistview
| 266 |
239 | | - |
240 | | - |
241 | int QQmlPointValueType::x() const | - |
242 | { | - |
243 | returnexecuted 36 times by 3 tests: return v.x(); Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypes
v.x();executed 36 times by 3 tests: return v.x(); Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypes
| 36 |
244 | } | - |
245 | | - |
246 | int QQmlPointValueType::y() const | - |
247 | { | - |
248 | returnexecuted 24 times by 2 tests: return v.y(); Executed by:- tst_qqmlvaluetypes
- tst_qquickmousearea
v.y();executed 24 times by 2 tests: return v.y(); Executed by:- tst_qqmlvaluetypes
- tst_qquickmousearea
| 24 |
249 | } | - |
250 | | - |
251 | void QQmlPointValueType::setX(int x) | - |
252 | { | - |
253 | v.setX(x); | - |
254 | }executed 16 times by 3 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypes
| 16 |
255 | | - |
256 | void QQmlPointValueType::setY(int y) | - |
257 | { | - |
258 | v.setY(y); | - |
259 | }executed 2 times by 1 test: end of block | 2 |
260 | | - |
261 | | - |
262 | QString QQmlSizeFValueType::toString() const | - |
263 | { | - |
264 | returnexecuted 4 times by 1 test: return QString::asprintf("QSizeF(%g, %g)", v.width(), v.height()); QString::asprintf("QSizeF(%g, %g)", v.width(), v.height());executed 4 times by 1 test: return QString::asprintf("QSizeF(%g, %g)", v.width(), v.height()); | 4 |
265 | } | - |
266 | | - |
267 | qreal QQmlSizeFValueType::width() const | - |
268 | { | - |
269 | returnexecuted 10 times by 2 tests: return v.width(); Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
v.width();executed 10 times by 2 tests: return v.width(); Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 10 |
270 | } | - |
271 | | - |
272 | qreal QQmlSizeFValueType::height() const | - |
273 | { | - |
274 | returnexecuted 10 times by 2 tests: return v.height(); Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
v.height();executed 10 times by 2 tests: return v.height(); Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 10 |
275 | } | - |
276 | | - |
277 | void QQmlSizeFValueType::setWidth(qreal w) | - |
278 | { | - |
279 | v.setWidth(w); | - |
280 | }executed 2 times by 1 test: end of block | 2 |
281 | | - |
282 | void QQmlSizeFValueType::setHeight(qreal h) | - |
283 | { | - |
284 | v.setHeight(h); | - |
285 | }executed 2 times by 1 test: end of block | 2 |
286 | | - |
287 | | - |
288 | int QQmlSizeValueType::width() const | - |
289 | { | - |
290 | returnexecuted 50 times by 3 tests: return v.width(); Executed by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
v.width();executed 50 times by 3 tests: return v.width(); Executed by:- tst_examples
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
| 50 |
291 | } | - |
292 | | - |
293 | int QQmlSizeValueType::height() const | - |
294 | { | - |
295 | returnexecuted 60 times by 2 tests: return v.height(); Executed by:- tst_examples
- tst_qqmlvaluetypes
v.height();executed 60 times by 2 tests: return v.height(); Executed by:- tst_examples
- tst_qqmlvaluetypes
| 60 |
296 | } | - |
297 | | - |
298 | void QQmlSizeValueType::setWidth(int w) | - |
299 | { | - |
300 | v.setWidth(w); | - |
301 | }executed 10 times by 2 tests: end of block Executed by:- tst_qqmlvaluetypes
- tst_qquickimage
| 10 |
302 | | - |
303 | void QQmlSizeValueType::setHeight(int h) | - |
304 | { | - |
305 | v.setHeight(h); | - |
306 | }executed 20 times by 3 tests: end of block Executed by:- tst_qqmlvaluetypes
- tst_qquickimage
- tst_qquickshadereffect
| 20 |
307 | | - |
308 | QString QQmlRectFValueType::toString() const | - |
309 | { | - |
310 | returnexecuted 4 times by 1 test: return QString::asprintf("QRectF(%g, %g, %g, %g)", v.x(), v.y(), v.width(), v.height()); QString::asprintf("QRectF(%g, %g, %g, %g)", v.x(), v.y(), v.width(), v.height());executed 4 times by 1 test: return QString::asprintf("QRectF(%g, %g, %g, %g)", v.x(), v.y(), v.width(), v.height()); | 4 |
311 | } | - |
312 | | - |
313 | qreal QQmlRectFValueType::x() const | - |
314 | { | - |
315 | returnexecuted 126 times by 4 tests: return v.x(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
v.x();executed 126 times by 4 tests: return v.x(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
| 126 |
316 | } | - |
317 | | - |
318 | qreal QQmlRectFValueType::y() const | - |
319 | { | - |
320 | returnexecuted 126 times by 4 tests: return v.y(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
v.y();executed 126 times by 4 tests: return v.y(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
| 126 |
321 | } | - |
322 | | - |
323 | void QQmlRectFValueType::setX(qreal x) | - |
324 | { | - |
325 | v.moveLeft(x); | - |
326 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
| 4 |
327 | | - |
328 | void QQmlRectFValueType::setY(qreal y) | - |
329 | { | - |
330 | v.moveTop(y); | - |
331 | }executed 2 times by 1 test: end of block | 2 |
332 | | - |
333 | qreal QQmlRectFValueType::width() const | - |
334 | { | - |
335 | returnexecuted 234 times by 4 tests: return v.width(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
v.width();executed 234 times by 4 tests: return v.width(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
| 234 |
336 | } | - |
337 | | - |
338 | qreal QQmlRectFValueType::height() const | - |
339 | { | - |
340 | returnexecuted 262 times by 4 tests: return v.height(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
v.height();executed 262 times by 4 tests: return v.height(); Executed by:- tst_examples
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
| 262 |
341 | } | - |
342 | | - |
343 | void QQmlRectFValueType::setWidth(qreal w) | - |
344 | { | - |
345 | v.setWidth(w); | - |
346 | }executed 2 times by 1 test: end of block | 2 |
347 | | - |
348 | void QQmlRectFValueType::setHeight(qreal h) | - |
349 | { | - |
350 | v.setHeight(h); | - |
351 | }executed 2 times by 1 test: end of block | 2 |
352 | | - |
353 | qreal QQmlRectFValueType::left() const | - |
354 | { | - |
355 | returnexecuted 2 times by 1 test: return v.left(); v.left();executed 2 times by 1 test: return v.left(); | 2 |
356 | } | - |
357 | | - |
358 | qreal QQmlRectFValueType::right() const | - |
359 | { | - |
360 | returnexecuted 2 times by 1 test: return v.right(); v.right();executed 2 times by 1 test: return v.right(); | 2 |
361 | } | - |
362 | | - |
363 | qreal QQmlRectFValueType::top() const | - |
364 | { | - |
365 | returnexecuted 2 times by 1 test: return v.top(); v.top();executed 2 times by 1 test: return v.top(); | 2 |
366 | } | - |
367 | | - |
368 | qreal QQmlRectFValueType::bottom() const | - |
369 | { | - |
370 | returnexecuted 2 times by 1 test: return v.bottom(); v.bottom();executed 2 times by 1 test: return v.bottom(); | 2 |
371 | } | - |
372 | | - |
373 | int QQmlRectValueType::x() const | - |
374 | { | - |
375 | returnexecuted 34 times by 2 tests: return v.x(); Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypes
v.x();executed 34 times by 2 tests: return v.x(); Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypes
| 34 |
376 | } | - |
377 | | - |
378 | int QQmlRectValueType::y() const | - |
379 | { | - |
380 | returnexecuted 6 times by 1 test: return v.y(); v.y();executed 6 times by 1 test: return v.y(); | 6 |
381 | } | - |
382 | | - |
383 | void QQmlRectValueType::setX(int x) | - |
384 | { | - |
385 | v.moveLeft(x); | - |
386 | }executed 44 times by 2 tests: end of block Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypes
| 44 |
387 | | - |
388 | void QQmlRectValueType::setY(int y) | - |
389 | { | - |
390 | v.moveTop(y); | - |
391 | }executed 10 times by 1 test: end of block | 10 |
392 | | - |
393 | int QQmlRectValueType::width() const | - |
394 | { | - |
395 | returnexecuted 6 times by 1 test: return v.width(); v.width();executed 6 times by 1 test: return v.width(); | 6 |
396 | } | - |
397 | | - |
398 | int QQmlRectValueType::height() const | - |
399 | { | - |
400 | returnexecuted 6 times by 1 test: return v.height(); v.height();executed 6 times by 1 test: return v.height(); | 6 |
401 | } | - |
402 | | - |
403 | void QQmlRectValueType::setWidth(int w) | - |
404 | { | - |
405 | v.setWidth(w); | - |
406 | }executed 6 times by 1 test: end of block | 6 |
407 | | - |
408 | void QQmlRectValueType::setHeight(int h) | - |
409 | { | - |
410 | v.setHeight(h); | - |
411 | }executed 6 times by 1 test: end of block | 6 |
412 | | - |
413 | int QQmlRectValueType::left() const | - |
414 | { | - |
415 | returnexecuted 2 times by 1 test: return v.left(); v.left();executed 2 times by 1 test: return v.left(); | 2 |
416 | } | - |
417 | | - |
418 | int QQmlRectValueType::right() const | - |
419 | { | - |
420 | returnexecuted 2 times by 1 test: return v.right(); v.right();executed 2 times by 1 test: return v.right(); | 2 |
421 | } | - |
422 | | - |
423 | int QQmlRectValueType::top() const | - |
424 | { | - |
425 | returnexecuted 2 times by 1 test: return v.top(); v.top();executed 2 times by 1 test: return v.top(); | 2 |
426 | } | - |
427 | | - |
428 | int QQmlRectValueType::bottom() const | - |
429 | { | - |
430 | returnexecuted 2 times by 1 test: return v.bottom(); v.bottom();executed 2 times by 1 test: return v.bottom(); | 2 |
431 | } | - |
432 | | - |
433 | QQmlEasingValueType::Type QQmlEasingValueType::type() const | - |
434 | { | - |
435 | return never executed: return (QQmlEasingValueType::Type)v.type(); (QQmlEasingValueType::Type)v.type();never executed: return (QQmlEasingValueType::Type)v.type(); | 0 |
436 | } | - |
437 | | - |
438 | qreal QQmlEasingValueType::amplitude() const | - |
439 | { | - |
440 | return never executed: return v.amplitude(); v.amplitude();never executed: return v.amplitude(); | 0 |
441 | } | - |
442 | | - |
443 | qreal QQmlEasingValueType::overshoot() const | - |
444 | { | - |
445 | return never executed: return v.overshoot(); v.overshoot();never executed: return v.overshoot(); | 0 |
446 | } | - |
447 | | - |
448 | qreal QQmlEasingValueType::period() const | - |
449 | { | - |
450 | return never executed: return v.period(); v.period();never executed: return v.period(); | 0 |
451 | } | - |
452 | | - |
453 | void QQmlEasingValueType::setType(QQmlEasingValueType::Type type) | - |
454 | { | - |
455 | v.setType((QEasingCurve::Type)type); | - |
456 | }executed 486 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
| 486 |
457 | | - |
458 | void QQmlEasingValueType::setAmplitude(qreal amplitude) | - |
459 | { | - |
460 | v.setAmplitude(amplitude); | - |
461 | }executed 10 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
| 10 |
462 | | - |
463 | void QQmlEasingValueType::setOvershoot(qreal overshoot) | - |
464 | { | - |
465 | v.setOvershoot(overshoot); | - |
466 | }executed 4 times by 2 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
| 4 |
467 | | - |
468 | void QQmlEasingValueType::setPeriod(qreal period) | - |
469 | { | - |
470 | v.setPeriod(period); | - |
471 | }executed 4 times by 2 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
| 4 |
472 | | - |
473 | void QQmlEasingValueType::setBezierCurve(const QVariantList &customCurveVariant) | - |
474 | { | - |
475 | if (customCurveVariant.isEmpty()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
476 | return; never executed: return; | 0 |
477 | | - |
478 | QVariantList variantList = customCurveVariant; | - |
479 | if ((TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
variantList.count() % 6) == 0TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
480 | bool allRealsOk = true; | - |
481 | QVector<qreal> reals; | - |
482 | const int variantListCount = variantList.count(); | - |
483 | reals.reserve(variantListCount); | - |
484 | for (int i = 0; i < variantListCountTRUE | evaluated 12 times by 1 test | FALSE | evaluated 2 times by 1 test |
; i++) { | 2-12 |
485 | bool ok; | - |
486 | const qreal real = variantList.at(i).toReal(&ok); | - |
487 | reals.append(real); | - |
488 | if (!okTRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) | 0-12 |
489 | allRealsOk = false; never executed: allRealsOk = false; | 0 |
490 | }executed 12 times by 1 test: end of block | 12 |
491 | if (allRealsOkTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
492 | QEasingCurve newEasingCurve(QEasingCurve::BezierSpline); | - |
493 | for (int i = 0; i < reals.count() / 6TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
; i++) { | 2 |
494 | const qreal c1x = reals.at(i * 6); | - |
495 | const qreal c1y = reals.at(i * 6 + 1); | - |
496 | const qreal c2x = reals.at(i * 6 + 2); | - |
497 | const qreal c2y = reals.at(i * 6 + 3); | - |
498 | const qreal c3x = reals.at(i * 6 + 4); | - |
499 | const qreal c3y = reals.at(i * 6 + 5); | - |
500 | | - |
501 | const QPointF c1(c1x, c1y); | - |
502 | const QPointF c2(c2x, c2y); | - |
503 | const QPointF c3(c3x, c3y); | - |
504 | | - |
505 | newEasingCurve.addCubicBezierSegment(c1, c2, c3); | - |
506 | v = newEasingCurve; | - |
507 | }executed 2 times by 1 test: end of block | 2 |
508 | }executed 2 times by 1 test: end of block | 2 |
509 | }executed 2 times by 1 test: end of block | 2 |
510 | }executed 2 times by 1 test: end of block | 2 |
511 | | - |
512 | QVariantList QQmlEasingValueType::bezierCurve() const | - |
513 | { | - |
514 | QVariantList rv; | - |
515 | const QVector<QPointF> points = v.toCubicSpline(); | - |
516 | rv.reserve(points.size() * 2); | - |
517 | for (const auto &point : points) | - |
518 | rv << QVariant(point.x()) << QVariant(point.y()); never executed: rv << QVariant(point.x()) << QVariant(point.y()); | 0 |
519 | return never executed: return rv; rv;never executed: return rv; | 0 |
520 | } | - |
521 | | - |
522 | | - |
523 | | - |
| | |