OpenCoverage

qqmlvaluetype.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlvaluetype.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5namespace {-
6-
7struct 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-
22QQmlValueTypeFactoryImpl::QQmlValueTypeFactoryImpl()-
23{-
24 for (unsigned int ii = 0; ii < QVariant::UserType
ii < QVariant::UserTypeDescription
TRUEevaluated 296960 times by 132 tests
Evaluated 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
  • ...
FALSEevaluated 290 times by 132 tests
Evaluated 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-
31QQmlValueTypeFactoryImpl::~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-
37bool QQmlValueTypeFactoryImpl::isValueType(int idx)-
38{-
39 if (idx >= (int)QVariant::UserType
idx >= (int)QVariant::UserTypeDescription
TRUEevaluated 99947 times by 100 tests
Evaluated 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
  • ...
FALSEevaluated 316994 times by 67 tests
Evaluated 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 return
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
  • ...
(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 >= 0
idx >= 0Description
TRUEevaluated 316994 times by 67 tests
Evaluated 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
  • ...
FALSEnever evaluated
0-316994
42 && idx != QVariant::StringList
idx != QVariant::StringListDescription
TRUEevaluated 315432 times by 66 tests
Evaluated 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
  • ...
FALSEevaluated 1562 times by 9 tests
Evaluated by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1562-315432
43 && idx != QMetaType::QObjectStar
idx != QMetaType::QObjectStarDescription
TRUEevaluated 313094 times by 59 tests
Evaluated 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
  • ...
FALSEevaluated 2338 times by 29 tests
Evaluated 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::VoidStar
idx != QMetaType::VoidStarDescription
TRUEevaluated 313094 times by 59 tests
Evaluated 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
  • ...
FALSEnever evaluated
0-313094
45 && idx != QMetaType::Nullptr
idx != QMetaType::NullptrDescription
TRUEevaluated 313084 times by 59 tests
Evaluated 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
  • ...
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
10-313084
46 && idx != QMetaType::QVariant
idx != QMetaType::QVariantDescription
TRUEevaluated 312768 times by 59 tests
Evaluated 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
  • ...
FALSEevaluated 316 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlenginedebugservice
316-312768
47 && idx != QMetaType::QLocale
idx != QMetaType::QLocaleDescription
TRUEevaluated 312734 times by 59 tests
Evaluated 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
  • ...
FALSEevaluated 34 times by 1 test
Evaluated by:
  • tst_qqmlvaluetypes
) {
34-312734
48 return
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
  • ...
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 return
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
  • ...
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-
54const QMetaObject *QQmlValueTypeFactoryImpl::metaObjectForMetaType(int t)-
55{-
56 switch (t) {-
57 case
executed 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 return
executed 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 case
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
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 return
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
&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 case
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
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 return
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
&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 case
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
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 return
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
&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 case
executed 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 return
executed 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 case
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
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 return
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
&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 case
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
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 return
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
&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 case
executed 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 return
executed 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 case
executed 56 times by 1 test: case QVariant::PersistentModelIndex:
Executed by:
  • tst_qqmlitemmodels
QVariant::PersistentModelIndex:
executed 56 times by 1 test: case QVariant::PersistentModelIndex:
Executed by:
  • tst_qqmlitemmodels
56
74 return
executed 56 times by 1 test: return &QQmlPersistentModelIndexValueType::staticMetaObject;
Executed by:
  • tst_qqmlitemmodels
&QQmlPersistentModelIndexValueType::staticMetaObject;
executed 56 times by 1 test: return &QQmlPersistentModelIndexValueType::staticMetaObject;
Executed by:
  • tst_qqmlitemmodels
56
75 default
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
  • ...
:
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>()
t == qMetaType...ectionRange>()Description
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_qqmlitemmodels
FALSEevaluated 347666 times by 131 tests
Evaluated 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 return
executed 42 times by 1 test: return &QQmlItemSelectionRangeValueType::staticMetaObject;
Executed by:
  • tst_qqmlitemmodels
&QQmlItemSelectionRangeValueType::staticMetaObject;
executed 42 times by 1 test: return &QQmlItemSelectionRangeValueType::staticMetaObject;
Executed by:
  • tst_qqmlitemmodels
42
78-
79 if (const
const QMetaObj...ForMetaType(t)Description
TRUEevaluated 12919 times by 36 tests
Evaluated 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
  • ...
FALSEevaluated 334747 times by 130 tests
Evaluated 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)
const QMetaObj...ForMetaType(t)Description
TRUEevaluated 12919 times by 36 tests
Evaluated 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
  • ...
FALSEevaluated 334747 times by 130 tests
Evaluated 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 return
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
  • ...
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::IsGadget
metaType.flags...Type::IsGadgetDescription
TRUEevaluated 2084 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qqmlvaluetypes
  • tst_qquickdraghandler
  • tst_qquicktaphandler
FALSEevaluated 332663 times by 130 tests
Evaluated 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 return
executed 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 return
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
  • ...
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-
90QQmlValueType *QQmlValueTypeFactoryImpl::valueType(int idx)-
91{-
92 if (idx >= (int)QVariant::UserType
idx >= (int)QVariant::UserTypeDescription
TRUEevaluated 102201 times by 100 tests
Evaluated 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
  • ...
FALSEevaluated 411498 times by 55 tests
Evaluated 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()
it == userTypes.end()Description
TRUEevaluated 634 times by 100 tests
Evaluated 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
  • ...
FALSEevaluated 101567 times by 93 tests
Evaluated 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 (const
const QMetaObj...rMetaType(idx)Description
TRUEevaluated 22 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdraghandler
  • tst_qquicktaphandler
FALSEevaluated 612 times by 99 tests
Evaluated 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)
const QMetaObj...rMetaType(idx)Description
TRUEevaluated 22 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdraghandler
  • tst_qquicktaphandler
FALSEevaluated 612 times by 99 tests
Evaluated 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 return
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
  • ...
*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 (!rv
!rvDescription
TRUEevaluated 506 times by 55 tests
Evaluated 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
  • ...
FALSEevaluated 410992 times by 48 tests
Evaluated 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 (const
const QMetaObj...rMetaType(idx)Description
TRUEevaluated 288 times by 55 tests
Evaluated 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
  • ...
FALSEevaluated 218 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickdesignersupport
QMetaObject *mo = metaObjectForMetaType(idx)
const QMetaObj...rMetaType(idx)Description
TRUEevaluated 288 times by 55 tests
Evaluated 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
  • ...
FALSEevaluated 218 times by 2 tests
Evaluated 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 return
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
  • ...
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-
125namespace { 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::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 290 times by 132 tests
Evaluated 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
  • ...
FALSEnever 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; return
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
  • ...
&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-
127bool QQmlValueTypeFactory::isValueType(int idx)-
128{-
129 return
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
  • ...
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-
132QQmlValueType *QQmlValueTypeFactory::valueType(int idx)-
133{-
134 return
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
  • ...
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-
137const QMetaObject *QQmlValueTypeFactory::metaObjectForMetaType(int type)-
138{-
139 return
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
  • ...
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-
142void 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-
147QQmlValueType::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-
162QQmlValueType::~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-
171void 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-
177void 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-
185QVariant 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-
191void 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-
198QAbstractDynamicMetaObject *QQmlValueType::toDynamicMetaObject(QObject *)-
199{-
200 return
executed 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-
203void QQmlValueType::objectDestroyed(QObject *)-
204{-
205}-
206-
207int 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 return
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
  • ...
_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-
215QString QQmlPointFValueType::toString() const-
216{-
217 return
executed 4 times by 1 test: return QString::asprintf("QPointF(%g, %g)", v.x(), v.y());
Executed by:
  • tst_qqmlvaluetypes
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());
Executed by:
  • tst_qqmlvaluetypes
4
218}-
219-
220qreal QQmlPointFValueType::x() const-
221{-
222 return
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
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-
225qreal QQmlPointFValueType::y() const-
226{-
227 return
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
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-
230void 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-
235void 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-
241int QQmlPointValueType::x() const-
242{-
243 return
executed 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-
246int QQmlPointValueType::y() const-
247{-
248 return
executed 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-
251void 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-
256void QQmlPointValueType::setY(int y)-
257{-
258 v.setY(y);-
259}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
2
260-
261-
262QString QQmlSizeFValueType::toString() const-
263{-
264 return
executed 4 times by 1 test: return QString::asprintf("QSizeF(%g, %g)", v.width(), v.height());
Executed by:
  • tst_qqmlvaluetypes
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());
Executed by:
  • tst_qqmlvaluetypes
4
265}-
266-
267qreal QQmlSizeFValueType::width() const-
268{-
269 return
executed 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-
272qreal QQmlSizeFValueType::height() const-
273{-
274 return
executed 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-
277void QQmlSizeFValueType::setWidth(qreal w)-
278{-
279 v.setWidth(w);-
280}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
2
281-
282void QQmlSizeFValueType::setHeight(qreal h)-
283{-
284 v.setHeight(h);-
285}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
2
286-
287-
288int QQmlSizeValueType::width() const-
289{-
290 return
executed 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-
293int QQmlSizeValueType::height() const-
294{-
295 return
executed 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-
298void 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-
303void 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-
308QString QQmlRectFValueType::toString() const-
309{-
310 return
executed 4 times by 1 test: return QString::asprintf("QRectF(%g, %g, %g, %g)", v.x(), v.y(), v.width(), v.height());
Executed by:
  • tst_qqmlvaluetypes
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());
Executed by:
  • tst_qqmlvaluetypes
4
311}-
312-
313qreal QQmlRectFValueType::x() const-
314{-
315 return
executed 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-
318qreal QQmlRectFValueType::y() const-
319{-
320 return
executed 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-
323void 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-
328void QQmlRectFValueType::setY(qreal y)-
329{-
330 v.moveTop(y);-
331}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
2
332-
333qreal QQmlRectFValueType::width() const-
334{-
335 return
executed 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-
338qreal QQmlRectFValueType::height() const-
339{-
340 return
executed 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-
343void QQmlRectFValueType::setWidth(qreal w)-
344{-
345 v.setWidth(w);-
346}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
2
347-
348void QQmlRectFValueType::setHeight(qreal h)-
349{-
350 v.setHeight(h);-
351}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
2
352-
353qreal QQmlRectFValueType::left() const-
354{-
355 return
executed 2 times by 1 test: return v.left();
Executed by:
  • tst_qqmlvaluetypes
v.left();
executed 2 times by 1 test: return v.left();
Executed by:
  • tst_qqmlvaluetypes
2
356}-
357-
358qreal QQmlRectFValueType::right() const-
359{-
360 return
executed 2 times by 1 test: return v.right();
Executed by:
  • tst_qqmlvaluetypes
v.right();
executed 2 times by 1 test: return v.right();
Executed by:
  • tst_qqmlvaluetypes
2
361}-
362-
363qreal QQmlRectFValueType::top() const-
364{-
365 return
executed 2 times by 1 test: return v.top();
Executed by:
  • tst_qqmlvaluetypes
v.top();
executed 2 times by 1 test: return v.top();
Executed by:
  • tst_qqmlvaluetypes
2
366}-
367-
368qreal QQmlRectFValueType::bottom() const-
369{-
370 return
executed 2 times by 1 test: return v.bottom();
Executed by:
  • tst_qqmlvaluetypes
v.bottom();
executed 2 times by 1 test: return v.bottom();
Executed by:
  • tst_qqmlvaluetypes
2
371}-
372-
373int QQmlRectValueType::x() const-
374{-
375 return
executed 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-
378int QQmlRectValueType::y() const-
379{-
380 return
executed 6 times by 1 test: return v.y();
Executed by:
  • tst_qqmlvaluetypes
v.y();
executed 6 times by 1 test: return v.y();
Executed by:
  • tst_qqmlvaluetypes
6
381}-
382-
383void 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-
388void QQmlRectValueType::setY(int y)-
389{-
390 v.moveTop(y);-
391}
executed 10 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
10
392-
393int QQmlRectValueType::width() const-
394{-
395 return
executed 6 times by 1 test: return v.width();
Executed by:
  • tst_qqmlvaluetypes
v.width();
executed 6 times by 1 test: return v.width();
Executed by:
  • tst_qqmlvaluetypes
6
396}-
397-
398int QQmlRectValueType::height() const-
399{-
400 return
executed 6 times by 1 test: return v.height();
Executed by:
  • tst_qqmlvaluetypes
v.height();
executed 6 times by 1 test: return v.height();
Executed by:
  • tst_qqmlvaluetypes
6
401}-
402-
403void QQmlRectValueType::setWidth(int w)-
404{-
405 v.setWidth(w);-
406}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
6
407-
408void QQmlRectValueType::setHeight(int h)-
409{-
410 v.setHeight(h);-
411}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
6
412-
413int QQmlRectValueType::left() const-
414{-
415 return
executed 2 times by 1 test: return v.left();
Executed by:
  • tst_qqmlvaluetypes
v.left();
executed 2 times by 1 test: return v.left();
Executed by:
  • tst_qqmlvaluetypes
2
416}-
417-
418int QQmlRectValueType::right() const-
419{-
420 return
executed 2 times by 1 test: return v.right();
Executed by:
  • tst_qqmlvaluetypes
v.right();
executed 2 times by 1 test: return v.right();
Executed by:
  • tst_qqmlvaluetypes
2
421}-
422-
423int QQmlRectValueType::top() const-
424{-
425 return
executed 2 times by 1 test: return v.top();
Executed by:
  • tst_qqmlvaluetypes
v.top();
executed 2 times by 1 test: return v.top();
Executed by:
  • tst_qqmlvaluetypes
2
426}-
427-
428int QQmlRectValueType::bottom() const-
429{-
430 return
executed 2 times by 1 test: return v.bottom();
Executed by:
  • tst_qqmlvaluetypes
v.bottom();
executed 2 times by 1 test: return v.bottom();
Executed by:
  • tst_qqmlvaluetypes
2
431}-
432-
433QQmlEasingValueType::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-
438qreal QQmlEasingValueType::amplitude() const-
439{-
440 return
never executed: return v.amplitude();
v.amplitude();
never executed: return v.amplitude();
0
441}-
442-
443qreal QQmlEasingValueType::overshoot() const-
444{-
445 return
never executed: return v.overshoot();
v.overshoot();
never executed: return v.overshoot();
0
446}-
447-
448qreal QQmlEasingValueType::period() const-
449{-
450 return
never executed: return v.period();
v.period();
never executed: return v.period();
0
451}-
452-
453void 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-
458void 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-
463void 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-
468void 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-
473void QQmlEasingValueType::setBezierCurve(const QVariantList &customCurveVariant)-
474{-
475 if (customCurveVariant.isEmpty()
customCurveVariant.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
)
0-2
476 return;
never executed: return;
0
477-
478 QVariantList variantList = customCurveVariant;-
479 if ((
(variantList.count() % 6) == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEnever evaluated
variantList.count() % 6) == 0
(variantList.count() % 6) == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEnever 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 < variantListCount
i < variantListCountDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
; i++) {
2-12
485 bool ok;-
486 const qreal real = variantList.at(i).toReal(&ok);-
487 reals.append(real);-
488 if (!ok
!okDescription
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qquickanimations
)
0-12
489 allRealsOk = false;
never executed: allRealsOk = false;
0
490 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
12
491 if (allRealsOk
allRealsOkDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEnever evaluated
) {
0-2
492 QEasingCurve newEasingCurve(QEasingCurve::BezierSpline);-
493 for (int i = 0; i < reals.count() / 6
i < reals.count() / 6Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
; 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
Executed by:
  • tst_qquickanimations
2
508 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
509 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
510}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
511-
512QVariantList 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-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0