OpenCoverage

qv4qobjectwrapper.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12const QLoggingCategory &lcBindingRemoval() { static const QLoggingCategory category("qt.qml.binding.removal", QtWarningMsg); return
executed 45783 times by 77 tests: return category;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
category;
executed 45783 times by 77 tests: return category;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
}
45783
13-
14-
15-
16-
17#pragma GCC diagnostic ignored "-Wstrict-aliasing"-
18-
19-
20using namespace QV4;-
21-
22QPair<QObject *, int> QObjectMethod::extractQtMethod(const QV4::FunctionObject *function)-
23{-
24 QV4::ExecutionEngine *v4 = function->engine();-
25 if (v4
v4Description
TRUEevaluated 956 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEnever evaluated
) {
0-956
26 QV4::Scope scope(v4);-
27 QV4::Scoped<QObjectMethod> method(scope, function->as<QObjectMethod>());-
28 if (method
methodDescription
TRUEevaluated 586 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEevaluated 370 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
)
370-586
29 return
executed 586 times by 5 tests: return qMakePair(method->object(), method->methodIndex());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
qMakePair(method->object(), method->methodIndex());
executed 586 times by 5 tests: return qMakePair(method->object(), method->methodIndex());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
586
30 }
executed 370 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
370
31-
32 return
executed 370 times by 3 tests: return qMakePair((QObject *)nullptr, -1);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
qMakePair((QObject *)nullptr, -1);
executed 370 times by 3 tests: return qMakePair((QObject *)nullptr, -1);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
370
33}-
34-
35static QPair<QObject *, int> extractQtSignal(const QV4::Value &value)-
36{-
37 if (value.isObject()
value.isObject()Description
TRUEevaluated 90 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEnever evaluated
) {
0-90
38 QV4::ExecutionEngine *v4 = value.as<QV4::Object>()->engine();-
39 QV4::Scope scope(v4);-
40 QV4::ScopedFunctionObject function(scope, value);-
41 if (function
functionDescription
TRUEevaluated 80 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
10-80
42 return
executed 80 times by 5 tests: return QObjectMethod::extractQtMethod(function);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
QObjectMethod::extractQtMethod(function);
executed 80 times by 5 tests: return QObjectMethod::extractQtMethod(function);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
80
43-
44 QV4::Scoped<QV4::QmlSignalHandler> handler(scope, value);-
45 if (handler
handlerDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
)
0-10
46 return
executed 10 times by 1 test: return qMakePair(handler->object(), handler->signalIndex());
Executed by:
  • tst_qqmlecmascript
qMakePair(handler->object(), handler->signalIndex());
executed 10 times by 1 test: return qMakePair(handler->object(), handler->signalIndex());
Executed by:
  • tst_qqmlecmascript
10
47 }
never executed: end of block
0
48-
49 return
never executed: return qMakePair((QObject *)nullptr, -1);
qMakePair((QObject *)nullptr, -1);
never executed: return qMakePair((QObject *)nullptr, -1);
0
50}-
51-
52static QV4::ReturnedValue loadProperty(QV4::ExecutionEngine *v4, QObject *object,-
53 const QQmlPropertyData &property)-
54{-
55 ((!property.isFunction()) ? static_cast<void>(0) : qt_assert("!property.isFunction()", __FILE__, 129));-
56 QV4::Scope scope(v4);-
57-
58 if (property.isQObject()
property.isQObject()Description
TRUEevaluated 192354 times by 92 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • ...
FALSEevaluated 2579062 times by 89 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
) {
192354-2579062
59 QObject *rv = nullptr;-
60 property.readProperty(object, &rv);-
61 return
executed 192354 times by 92 tests: return QV4::QObjectWrapper::wrap(v4, rv);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • ...
QV4::QObjectWrapper::wrap(v4, rv);
executed 192354 times by 92 tests: return QV4::QObjectWrapper::wrap(v4, rv);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • ...
192354
62 } else if (property.isQList()
property.isQList()Description
TRUEevaluated 15802 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 2563260 times by 89 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
) {
15802-2563260
63 return
executed 15802 times by 22 tests: return QmlListWrapper::create(v4, object, property.coreIndex(), property.propType());
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
QmlListWrapper::create(v4, object, property.coreIndex(), property.propType());
executed 15802 times by 22 tests: return QmlListWrapper::create(v4, object, property.coreIndex(), property.propType());
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
15802
64 } else if (property.propType() == QMetaType::QReal
property.propT...etaType::QRealDescription
TRUEevaluated 764324 times by 49 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • ...
FALSEevaluated 1798936 times by 88 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
) {
764324-1798936
65 qreal v = 0;-
66 property.readProperty(object, &v);-
67 return
executed 764324 times by 49 tests: return QV4::Encode(v);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • ...
QV4::Encode(v);
executed 764324 times by 49 tests: return QV4::Encode(v);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • ...
764324
68 } else if (property.propType() == QMetaType::Int
property.propT...QMetaType::IntDescription
TRUEevaluated 1339103 times by 59 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • ...
FALSEevaluated 459833 times by 79 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
|| property.isEnum()
property.isEnum()Description
TRUEevaluated 50 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquicklayouts
FALSEevaluated 459783 times by 78 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
) {
50-1339103
69 int v = 0;-
70 property.readProperty(object, &v);-
71 return
executed 1339153 times by 59 tests: return QV4::Encode(v);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • ...
QV4::Encode(v);
executed 1339153 times by 59 tests: return QV4::Encode(v);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • ...
1339153
72 } else if (property.propType() == QMetaType::Bool
property.propT...MetaType::BoolDescription
TRUEevaluated 106249 times by 50 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEevaluated 353534 times by 71 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • ...
) {
106249-353534
73 bool v = false;-
74 property.readProperty(object, &v);-
75 return
executed 106249 times by 50 tests: return QV4::Encode(v);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
QV4::Encode(v);
executed 106249 times by 50 tests: return QV4::Encode(v);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
106249
76 } else if (property.propType() == QMetaType::QString
property.propT...aType::QStringDescription
TRUEevaluated 68757 times by 44 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickfontloader
  • ...
FALSEevaluated 284777 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
) {
68757-284777
77 QString v;-
78 property.readProperty(object, &v);-
79 return
executed 68757 times by 44 tests: return v4->newString(v)->asReturnedValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickfontloader
  • ...
v4->newString(v)->asReturnedValue();
executed 68757 times by 44 tests: return v4->newString(v)->asReturnedValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickfontloader
  • ...
68757
80 } else if (property.propType() == QMetaType::UInt
property.propT...MetaType::UIntDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
FALSEevaluated 284773 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
) {
4-284773
81 uint v = 0;-
82 property.readProperty(object, &v);-
83 return
executed 4 times by 2 tests: return QV4::Encode(v);
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
QV4::Encode(v);
executed 4 times by 2 tests: return QV4::Encode(v);
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
4
84 } else if (property.propType() == QMetaType::Float
property.propT...etaType::FloatDescription
TRUEnever evaluated
FALSEevaluated 284773 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
) {
0-284773
85 float v = 0;-
86 property.readProperty(object, &v);-
87 return
never executed: return QV4::Encode(v);
QV4::Encode(v);
never executed: return QV4::Encode(v);
0
88 } else if (property.propType() == QMetaType::Double
property.propT...taType::DoubleDescription
TRUEnever evaluated
FALSEevaluated 284773 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
) {
0-284773
89 double v = 0;-
90 property.readProperty(object, &v);-
91 return
never executed: return QV4::Encode(v);
QV4::Encode(v);
never executed: return QV4::Encode(v);
0
92 } else if (property.isV4Handle()
property.isV4Handle()Description
TRUEnever evaluated
FALSEevaluated 284773 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
) {
0-284773
93 QQmlV4Handle handle;-
94 property.readProperty(object, &handle);-
95 return
never executed: return handle;
handle;
never executed: return handle;
0
96 } else if (property.propType() == qMetaTypeId<QJSValue>()
property.propT...Id<QJSValue>()Description
TRUEevaluated 84 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquicktext
FALSEevaluated 284689 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
) {
84-284689
97 QJSValue v;-
98 property.readProperty(object, &v);-
99 return
executed 84 times by 2 tests: return QJSValuePrivate::convertedToValue(v4, v);
Executed by:
  • tst_qqmlecmascript
  • tst_qquicktext
QJSValuePrivate::convertedToValue(v4, v);
executed 84 times by 2 tests: return QJSValuePrivate::convertedToValue(v4, v);
Executed by:
  • tst_qqmlecmascript
  • tst_qquicktext
84
100 } else if (property.isQVariant()
property.isQVariant()Description
TRUEevaluated 263165 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickshortcut
  • ...
FALSEevaluated 21524 times by 54 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • ...
) {
21524-263165
101 QVariant v;-
102 property.readProperty(object, &v);-
103-
104 if (QQmlValueTypeFactory::isValueType(v.userType())
QQmlValueTypeF...(v.userType())Description
TRUEevaluated 258717 times by 26 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • ...
FALSEevaluated 4448 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
) {
4448-258717
105 if (const
const QMetaObj...(v.userType())Description
TRUEevaluated 246 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
FALSEevaluated 258471 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(v.userType())
const QMetaObj...(v.userType())Description
TRUEevaluated 246 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
FALSEevaluated 258471 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
)
246-258471
106 return
executed 246 times by 4 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, v.userType());
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, v.userType());
executed 246 times by 4 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, v.userType());
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
246
107 }
executed 258471 times by 25 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
258471
108-
109 return
executed 262919 times by 30 tests: return scope.engine->fromVariant(v);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickshortcut
  • tst_qquicktext
  • ...
scope.engine->fromVariant(v);
executed 262919 times by 30 tests: return scope.engine->fromVariant(v);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickshortcut
  • tst_qquicktext
  • ...
262919
110 } else if (QQmlValueTypeFactory::isValueType(property.propType())
QQmlValueTypeF...ty.propType())Description
TRUEevaluated 5560 times by 37 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickdraghandler
  • ...
FALSEevaluated 15964 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
) {
5560-15964
111 if (const
const QMetaObj...ty.propType())Description
TRUEevaluated 4902 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
FALSEevaluated 658 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qjsonbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(property.propType())
const QMetaObj...ty.propType())Description
TRUEevaluated 4902 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
FALSEevaluated 658 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qjsonbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
)
658-4902
112 return
executed 4902 times by 32 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, property.propType());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, property.propType());
executed 4902 times by 32 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, property.propType());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
4902
113 }
executed 658 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsonbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
else {
658
114-
115-
116 bool succeeded = false;-
117 QV4::ScopedValue retn(scope, QV4::SequencePrototype::newSequence(v4, property.propType(), object, property.coreIndex(), !property.isWritable(), &succeeded));-
118 if (succeeded
succeededDescription
TRUEevaluated 9930 times by 13 tests
Evaluated by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 6034 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmllistmodel
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
)
6034-9930
119 return
executed 9930 times by 13 tests: return retn->asReturnedValue();
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
retn->asReturnedValue();
executed 9930 times by 13 tests: return retn->asReturnedValue();
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
9930
120-
121 }
executed 6034 times by 29 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmllistmodel
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
6034
122-
123 if (property.propType() == QMetaType::UnknownType
property.propT...e::UnknownTypeDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 6688 times by 38 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • ...
) {
4-6688
124 QMetaProperty p = object->metaObject()->property(property.coreIndex());-
125 QMessageLogger(__FILE__, 199, __PRETTY_FUNCTION__).warning("QMetaProperty::read: Unable to handle unregistered datatype '%s' for property "-
126 "'%s::%s'", p.typeName(), object->metaObject()->className(), p.name());-
127 return
executed 4 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
QV4::Encode::undefined();
executed 4 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
4
128 } else {-
129 QVariant v(property.propType(), (void *)nullptr);-
130 property.readProperty(object, v.data());-
131 return
executed 6688 times by 38 tests: return scope.engine->fromVariant(v);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • ...
scope.engine->fromVariant(v);
executed 6688 times by 38 tests: return scope.engine->fromVariant(v);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • ...
6688
132 }-
133}-
134-
135void QObjectWrapper::initializeBindings(ExecutionEngine *engine)-
136{-
137 engine->functionPrototype()->defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "connect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "connect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 11448 times by 151 tests: return qstring_literal_temp;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • ...
qstring_literal_temp;
executed 11448 times by 151 tests: return qstring_literal_temp;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • ...
}()), method_connect);
11448
138 engine->functionPrototype()->defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "disconnect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "disconnect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 11448 times by 151 tests: return qstring_literal_temp;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • ...
qstring_literal_temp;
executed 11448 times by 151 tests: return qstring_literal_temp;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • ...
}()), method_disconnect);
11448
139}
executed 11448 times by 151 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • ...
11448
140-
141QQmlPropertyData *QObjectWrapper::findProperty(ExecutionEngine *engine, QQmlContextData *qmlContext, String *name, RevisionMode revisionMode, QQmlPropertyData *local) const-
142{-
143 QObject *o = d()->object();-
144 return
executed 5340877 times by 98 tests: return findProperty(engine, o, qmlContext, name, revisionMode, local);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
findProperty(engine, o, qmlContext, name, revisionMode, local);
executed 5340877 times by 98 tests: return findProperty(engine, o, qmlContext, name, revisionMode, local);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
5340877
145}-
146-
147QQmlPropertyData *QObjectWrapper::findProperty(ExecutionEngine *engine, QObject *o, QQmlContextData *qmlContext, String *name, RevisionMode revisionMode, QQmlPropertyData *local)-
148{-
149 (void)revisionMode;;-
150-
151 QQmlData *ddata = QQmlData::get(o, false);-
152 QQmlPropertyData *result = nullptr;-
153 if (ddata
ddataDescription
TRUEevaluated 11523717 times by 100 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 91343 times by 26 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgraphicsinfo
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickopenglinfo
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquickvisualdatamodel
  • ...
&& ddata->propertyCache
ddata->propertyCacheDescription
TRUEevaluated 11509246 times by 100 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 14471 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qquickaccessible
  • tst_qquickdrag
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_signalspy
)
14471-11523717
154 result = ddata->propertyCache->property(name, o, qmlContext);
executed 11509246 times by 100 tests: result = ddata->propertyCache->property(name, o, qmlContext);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
11509246
155 else-
156 result = QQmlPropertyCache::property(engine->jsEngine(), o, name, qmlContext, *local);
executed 105814 times by 31 tests: result = QQmlPropertyCache::property(engine->jsEngine(), o, name, qmlContext, *local);
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlpropertymap
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgraphicsinfo
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickopenglinfo
  • tst_qquickpathview
  • ...
105814
157 return
executed 11615060 times by 100 tests: return result;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
result;
executed 11615060 times by 100 tests: return result;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
11615060
158}-
159-
160ReturnedValue QObjectWrapper::getProperty(ExecutionEngine *engine, QObject *object, QQmlPropertyData *property, bool captureRequired)-
161{-
162 QQmlData::flushPendingBinding(object, QQmlPropertyIndex(property->coreIndex()));-
163-
164 if (property->isFunction()
property->isFunction()Description
TRUEevaluated 178227 times by 62 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
FALSEevaluated 2819785 times by 118 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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
&& !property->isVarProperty()
!property->isVarProperty()Description
TRUEevaluated 178227 times by 62 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
FALSEnever evaluated
) {
0-2819785
165 if (property->isVMEFunction()
property->isVMEFunction()Description
TRUEevaluated 110753 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
FALSEevaluated 67474 times by 56 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
) {
67474-110753
166 QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object);-
167 ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 241));-
168 return
executed 110753 times by 30 tests: return vmemo->vmeMethod(property->coreIndex());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
vmemo->vmeMethod(property->coreIndex());
executed 110753 times by 30 tests: return vmemo->vmeMethod(property->coreIndex());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
110753
169 } else if (property->isV4Function()
property->isV4Function()Description
TRUEevaluated 12430 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
FALSEevaluated 55044 times by 51 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
) {
12430-55044
170 Scope scope(engine);-
171 ScopedContext global(scope, engine->qmlContext());-
172 if (!global
!globalDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 12428 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • ...
)
2-12428
173 global = engine->rootContext();
executed 2 times by 1 test: global = engine->rootContext();
Executed by:
  • tst_qjsengine
2
174 return
executed 12430 times by 33 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
QV4::QObjectMethod::create(global, object, property->coreIndex());
executed 12430 times by 33 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
12430
175 } else if (property->isSignalHandler()
property->isSignalHandler()Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 55030 times by 51 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
) {
14-55030
176 QmlSignalHandler::initProto(engine);-
177 return
executed 14 times by 1 test: return engine->memoryManager->allocate<QV4::QmlSignalHandler>(object, property->coreIndex())->asReturnedValue();
Executed by:
  • tst_qqmlecmascript
engine->memoryManager->allocate<QV4::QmlSignalHandler>(object, property->coreIndex())->asReturnedValue();
executed 14 times by 1 test: return engine->memoryManager->allocate<QV4::QmlSignalHandler>(object, property->coreIndex())->asReturnedValue();
Executed by:
  • tst_qqmlecmascript
14
178 } else {-
179 ExecutionContext *global = engine->rootContext();-
180 return
executed 55030 times by 51 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
QV4::QObjectMethod::create(global, object, property->coreIndex());
executed 55030 times by 51 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
55030
181 }-
182 }-
183-
184 QQmlEnginePrivate *ep = engine->qmlEngine()
engine->qmlEngine()Description
TRUEevaluated 2819377 times by 116 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
FALSEevaluated 408 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmllistmodelworkerscript
? QQmlEnginePrivate::get(engine->qmlEngine()) : nullptr;
408-2819377
185-
186 if (captureRequired
captureRequiredDescription
TRUEevaluated 2818661 times by 118 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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
FALSEevaluated 1124 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltimer
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickvisualdatamodel
&& ep
epDescription
TRUEevaluated 2818253 times by 116 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
FALSEevaluated 408 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmllistmodelworkerscript
&& ep->propertyCapture
ep->propertyCaptureDescription
TRUEevaluated 1219752 times by 110 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
FALSEevaluated 1598501 times by 66 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmltypeloader
  • ...
&& !property->isConstant()
!property->isConstant()Description
TRUEevaluated 1197326 times by 110 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
FALSEevaluated 22426 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
)
408-2818661
187 ep->propertyCapture->captureProperty(object, property->coreIndex(), property->notifyIndex());
executed 1197326 times by 110 tests: ep->propertyCapture->captureProperty(object, property->coreIndex(), property->notifyIndex());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
1197326
188-
189 if (property->isVarProperty()
property->isVarProperty()Description
TRUEevaluated 48369 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 2771416 times by 118 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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
) {
48369-2771416
190 QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object);-
191 ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 265));-
192 return
executed 48369 times by 22 tests: return vmemo->vmeProperty(property->coreIndex());
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
vmemo->vmeProperty(property->coreIndex());
executed 48369 times by 22 tests: return vmemo->vmeProperty(property->coreIndex());
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
48369
193 } else {-
194 return
executed 2771416 times by 118 tests: return loadProperty(engine, object, *property);
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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
loadProperty(engine, object, *property);
executed 2771416 times by 118 tests: return loadProperty(engine, object, *property);
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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
2771416
195 }-
196}-
197-
198ReturnedValue QObjectWrapper::getQmlProperty(QQmlContextData *qmlContext, String *name, QObjectWrapper::RevisionMode revisionMode,-
199 bool *hasProperty, bool includeImports) const-
200{-
201 if (QQmlData::wasDeleted(d()->object())
QQmlData::wasD...d()->object())Description
TRUEnever evaluated
FALSEevaluated 5340963 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
) {
0-5340963
202 if (hasProperty
hasPropertyDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
203 *
never executed: *hasProperty = false;
hasProperty = false;
never executed: *hasProperty = false;
0
204 return
never executed: return QV4::Encode::undefined();
QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
205 }-
206-
207 ExecutionEngine *v4 = engine();-
208-
209 if (name->equals(v4->id_destroy())
name->equals(v4->id_destroy())Description
TRUEevaluated 244 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
FALSEevaluated 5340719 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
|| name->equals(v4->id_toString())
name->equals(v...id_toString())Description
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEevaluated 5340611 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
) {
108-5340719
210 int index = name->equals(v4->id_destroy())
name->equals(v4->id_destroy())Description
TRUEevaluated 244 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
FALSEevaluated 108 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
? QV4::QObjectMethod::DestroyMethod : QV4::QObjectMethod::ToStringMethod;
108-244
211 if (hasProperty
hasPropertyDescription
TRUEnever evaluated
FALSEevaluated 352 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
)
0-352
212 *
never executed: *hasProperty = true;
hasProperty = true;
never executed: *hasProperty = true;
0
213 ExecutionContext *global = v4->rootContext();-
214 return
executed 352 times by 14 tests: return QV4::QObjectMethod::create(global, d()->object(), index);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
QV4::QObjectMethod::create(global, d()->object(), index);
executed 352 times by 14 tests: return QV4::QObjectMethod::create(global, d()->object(), index);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
352
215 }-
216-
217 QQmlPropertyData local;-
218 QQmlPropertyData *result = findProperty(v4, qmlContext, name, revisionMode, &local);-
219-
220 if (!result
!resultDescription
TRUEevaluated 4418376 times by 81 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • ...
FALSEevaluated 922235 times by 85 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • ...
) {
922235-4418376
221 if (includeImports
includeImportsDescription
TRUEevaluated 60060 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 4358316 times by 79 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
&& name->startsWithUpper()
name->startsWithUpper()Description
TRUEevaluated 59324 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 736 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickdraghandler
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
) {
736-4358316
222-
223 if (qmlContext
qmlContextDescription
TRUEevaluated 59318 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qjsengine
&& qmlContext->imports) {
6-59318
224 QQmlTypeNameCache::Result r = qmlContext->imports->query(name);-
225-
226 if (hasProperty
hasPropertyDescription
TRUEnever evaluated
FALSEevaluated 59318 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
)
0-59318
227 *
never executed: *hasProperty = true;
hasProperty = true;
never executed: *hasProperty = true;
0
228-
229 if (r.isValid()
r.isValid()Description
TRUEevaluated 59310 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
8-59310
230 if (r.scriptIndex != -1
r.scriptIndex != -1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 59306 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
) {
4-59306
231 return
executed 4 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
QV4::Encode::undefined();
executed 4 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
4
232 } else if (r.type.isValid()
r.type.isValid()Description
TRUEevaluated 59296 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
10-59296
233 return
executed 59296 times by 11 tests: return QQmlTypeWrapper::create(v4, d()->object(), r.type, Heap::QQmlTypeWrapper::ExcludeEnums);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
QQmlTypeWrapper::create(v4, d()->object(),
executed 59296 times by 11 tests: return QQmlTypeWrapper::create(v4, d()->object(), r.type, Heap::QQmlTypeWrapper::ExcludeEnums);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
59296
234 r.type, Heap::QQmlTypeWrapper::ExcludeEnums);
executed 59296 times by 11 tests: return QQmlTypeWrapper::create(v4, d()->object(), r.type, Heap::QQmlTypeWrapper::ExcludeEnums);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
59296
235 } else if (r.importNamespace
r.importNamespaceDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-10
236 return
executed 10 times by 1 test: return QQmlTypeWrapper::create(v4, d()->object(), qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums);
Executed by:
  • tst_qqmlecmascript
QQmlTypeWrapper::create(v4, d()->object(),
executed 10 times by 1 test: return QQmlTypeWrapper::create(v4, d()->object(), qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums);
Executed by:
  • tst_qqmlecmascript
10
237 qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums);
executed 10 times by 1 test: return QQmlTypeWrapper::create(v4, d()->object(), qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums);
Executed by:
  • tst_qqmlecmascript
10
238 }-
239 ((!"Unreachable") ? static_cast<void>(0) : qt_assert("!\"Unreachable\"", __FILE__, 313));-
240 }
never executed: end of block
0
241 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
8
242 }
executed 14 times by 2 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
14
243 return
executed 4359066 times by 81 tests: return QV4::Object::virtualGet(this, name->propertyKey(), this, hasProperty);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • ...
QV4::Object::virtualGet(this, name->propertyKey(), this, hasProperty);
executed 4359066 times by 81 tests: return QV4::Object::virtualGet(this, name->propertyKey(), this, hasProperty);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • ...
4359066
244 }-
245-
246 QQmlData *ddata = QQmlData::get(d()->object(), false);-
247-
248 if (revisionMode == QV4::QObjectWrapper::CheckRevision
revisionMode =...:CheckRevisionDescription
TRUEnever evaluated
FALSEevaluated 922235 times by 85 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • ...
&& result->hasRevision()
result->hasRevision()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-922235
249 if (ddata
ddataDescription
TRUEnever evaluated
FALSEnever evaluated
&& ddata->propertyCache
ddata->propertyCacheDescription
TRUEnever evaluated
FALSEnever evaluated
&& !ddata->propertyCache->isAllowedInRevision(result)
!ddata->proper...vision(result)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
250 if (hasProperty
hasPropertyDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
251 *
never executed: *hasProperty = false;
hasProperty = false;
never executed: *hasProperty = false;
0
252 return
never executed: return QV4::Encode::undefined();
QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
253 }-
254 }
never executed: end of block
0
255-
256 if (hasProperty
hasPropertyDescription
TRUEevaluated 32 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
FALSEevaluated 922203 times by 85 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • ...
)
32-922203
257 *
executed 32 times by 4 tests: *hasProperty = true;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
hasProperty = true;
executed 32 times by 4 tests: *hasProperty = true;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
32
258-
259 return
executed 922235 times by 85 tests: return getProperty(v4, d()->object(), result);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • ...
getProperty(v4, d()->object(), result);
executed 922235 times by 85 tests: return getProperty(v4, d()->object(), result);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • ...
922235
260}-
261-
262ReturnedValue QObjectWrapper::getProperty(ExecutionEngine *engine, QObject *object, int propertyIndex, bool captureRequired)-
263{-
264 if (QQmlData::wasDeleted(object)
QQmlData::wasDeleted(object)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlxmlhttprequest
FALSEevaluated 387974 times by 101 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • 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_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
)
6-387974
265 return
executed 6 times by 1 test: return QV4::Encode::null();
Executed by:
  • tst_qqmlxmlhttprequest
QV4::Encode::null();
executed 6 times by 1 test: return QV4::Encode::null();
Executed by:
  • tst_qqmlxmlhttprequest
6
266 QQmlData *ddata = QQmlData::get(object, false);-
267 if (!ddata
!ddataDescription
TRUEnever evaluated
FALSEevaluated 387974 times by 101 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • 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_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
)
0-387974
268 return
never executed: return QV4::Encode::undefined();
QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
269-
270 if (__builtin_expect(!!(!ddata->propertyCache), false)
__builtin_expe...Cache), false)Description
TRUEnever evaluated
FALSEevaluated 387974 times by 101 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • 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_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
) {
0-387974
271 ddata->propertyCache = QQmlEnginePrivate::get(engine)->cache(object->metaObject());-
272 ddata->propertyCache->addref();-
273 }
never executed: end of block
0
274-
275 QQmlPropertyCache *cache = ddata->propertyCache;-
276 ((cache) ? static_cast<void>(0) : qt_assert("cache", __FILE__, 350));-
277 QQmlPropertyData *property = cache->property(propertyIndex);-
278 ((property) ? static_cast<void>(0) : qt_assert("property", __FILE__, 352));-
279 return
executed 387974 times by 101 tests: return getProperty(engine, object, property, captureRequired);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • 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_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
getProperty(engine, object, property, captureRequired);
executed 387974 times by 101 tests: return getProperty(engine, object, property, captureRequired);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • 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_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
387974
280}-
281-
282ReturnedValue QObjectWrapper::getQmlProperty(QV4::ExecutionEngine *engine, QQmlContextData *qmlContext, QObject *object, String *name, QObjectWrapper::RevisionMode revisionMode, bool *hasProperty)-
283{-
284 if (QQmlData::wasDeleted(object)
QQmlData::wasDeleted(object)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlqt
FALSEevaluated 6274187 times by 84 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
) {
4-6274187
285 if (hasProperty
hasPropertyDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlqt
FALSEnever evaluated
)
0-4
286 *
executed 4 times by 1 test: *hasProperty = false;
Executed by:
  • tst_qqmlqt
hasProperty = false;
executed 4 times by 1 test: *hasProperty = false;
Executed by:
  • tst_qqmlqt
4
287 return
executed 4 times by 1 test: return QV4::Encode::null();
Executed by:
  • tst_qqmlqt
QV4::Encode::null();
executed 4 times by 1 test: return QV4::Encode::null();
Executed by:
  • tst_qqmlqt
4
288 }-
289-
290 if (name->equals(engine->id_destroy())
name->equals(e...>id_destroy())Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
FALSEevaluated 6274183 times by 83 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
|| name->equals(engine->id_toString())
name->equals(e...id_toString())Description
TRUEnever evaluated
FALSEevaluated 6274183 times by 83 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
) {
0-6274183
291 int index = name->equals(engine->id_destroy())
name->equals(e...>id_destroy())Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
FALSEnever evaluated
? QV4::QObjectMethod::DestroyMethod : QV4::QObjectMethod::ToStringMethod;
0-4
292 if (hasProperty
hasPropertyDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
FALSEnever evaluated
)
0-4
293 *
executed 4 times by 2 tests: *hasProperty = true;
Executed by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
hasProperty = true;
executed 4 times by 2 tests: *hasProperty = true;
Executed by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
4
294 ExecutionContext *global = engine->rootContext();-
295 return
executed 4 times by 2 tests: return QV4::QObjectMethod::create(global, object, index);
Executed by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
QV4::QObjectMethod::create(global, object, index);
executed 4 times by 2 tests: return QV4::QObjectMethod::create(global, object, index);
Executed by:
  • tst_qqmlecmascript
  • tst_qquickparticlesystem
4
296 }-
297-
298 QQmlData *ddata = QQmlData::get(object, false);-
299 QQmlPropertyData local;-
300 QQmlPropertyData *result = findProperty(engine, object, qmlContext, name, revisionMode, &local);-
301-
302 if (result
resultDescription
TRUEevaluated 1682495 times by 68 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • ...
FALSEevaluated 4591688 times by 79 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
) {
1682495-4591688
303 if (revisionMode == QV4::QObjectWrapper::CheckRevision
revisionMode =...:CheckRevisionDescription
TRUEevaluated 1540477 times by 63 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
FALSEevaluated 142018 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgraphicsinfo
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickopenglinfo
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • ...
&& result->hasRevision()
result->hasRevision()Description
TRUEevaluated 48 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
FALSEevaluated 1540429 times by 63 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
) {
48-1540477
304 if (ddata
ddataDescription
TRUEevaluated 48 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
FALSEnever evaluated
&& ddata->propertyCache
ddata->propertyCacheDescription
TRUEevaluated 48 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
FALSEnever evaluated
&& !ddata->propertyCache->isAllowedInRevision(result)
!ddata->proper...vision(result)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
) {
0-48
305 if (hasProperty
hasPropertyDescription
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
)
0-44
306 *
executed 44 times by 1 test: *hasProperty = false;
Executed by:
  • tst_qqmlecmascript
hasProperty = false;
executed 44 times by 1 test: *hasProperty = false;
Executed by:
  • tst_qqmlecmascript
44
307 return
executed 44 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
QV4::Encode::undefined();
executed 44 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
44
308 }-
309 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
4
310-
311 if (hasProperty
hasPropertyDescription
TRUEevaluated 1540833 times by 65 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • ...
FALSEevaluated 141618 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgraphicsinfo
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickopenglinfo
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_scenegraph
)
141618-1540833
312 *
executed 1540833 times by 65 tests: *hasProperty = true;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • ...
hasProperty = true;
executed 1540833 times by 65 tests: *hasProperty = true;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • ...
1540833
313-
314 return
executed 1682451 times by 68 tests: return getProperty(engine, object, result);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • ...
getProperty(engine, object, result);
executed 1682451 times by 68 tests: return getProperty(engine, object, result);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • ...
1682451
315 } else {-
316-
317 if (!ddata
!ddataDescription
TRUEevaluated 2482 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
FALSEevaluated 4589206 times by 79 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
|| (ddata->jsWrapper.isUndefined()
ddata->jsWrapper.isUndefined()Description
TRUEevaluated 230890 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_scenegraph
FALSEevaluated 4358316 times by 79 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
&&
2482-4589206
318 (ddata->jsEngineId == 0
ddata->jsEngineId == 0Description
TRUEevaluated 230890 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_scenegraph
FALSEnever evaluated
||
0-230890
319 !ddata->hasTaintedV4Object
!ddata->hasTaintedV4ObjectDescription
TRUEnever evaluated
FALSEnever evaluated
))) {
0
320-
321-
322-
323-
324 QV4::Object *proto = QObjectWrapper::defaultPrototype(engine);-
325 return
executed 233372 times by 19 tests: return proto->get(name, hasProperty);
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_scenegraph
proto->get(name, hasProperty);
executed 233372 times by 19 tests: return proto->get(name, hasProperty);
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_scenegraph
233372
326 }-
327 }
executed 4358316 times by 79 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
4358316
328-
329-
330-
331 ((ddata) ? static_cast<void>(0) : qt_assert("ddata", __FILE__, 405));-
332-
333 QV4::Scope scope(engine);-
334 QV4::Scoped<QObjectWrapper> wrapper(scope, wrap(engine, object));-
335 if (!wrapper
!wrapperDescription
TRUEnever evaluated
FALSEevaluated 4358316 times by 79 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
) {
0-4358316
336 if (hasProperty
hasPropertyDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
337 *
never executed: *hasProperty = false;
hasProperty = false;
never executed: *hasProperty = false;
0
338 return
never executed: return QV4::Encode::null();
QV4::Encode::null();
never executed: return QV4::Encode::null();
0
339 }-
340 return
executed 4358316 times by 79 tests: return wrapper->getQmlProperty(qmlContext, name, revisionMode, hasProperty);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
wrapper->getQmlProperty(qmlContext, name, revisionMode, hasProperty);
executed 4358316 times by 79 tests: return wrapper->getQmlProperty(qmlContext, name, revisionMode, hasProperty);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
4358316
341}-
342-
343-
344bool QObjectWrapper::setQmlProperty(ExecutionEngine *engine, QQmlContextData *qmlContext, QObject *object, String *name,-
345 QObjectWrapper::RevisionMode revisionMode, const Value &value)-
346{-
347 if (QQmlData::wasDeleted(object)
QQmlData::wasDeleted(object)Description
TRUEnever evaluated
FALSEevaluated 35750 times by 66 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
)
0-35750
348 return
never executed: return false;
false;
never executed: return false;
0
349-
350 QQmlPropertyData local;-
351 QQmlPropertyData *result = QQmlPropertyCache::property(engine->jsEngine(), object, name, qmlContext, local);-
352 if (!result
!resultDescription
TRUEevaluated 1772 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 33978 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
)
1772-33978
353 return
executed 1772 times by 22 tests: return false;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
false;
executed 1772 times by 22 tests: return false;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
1772
354-
355 if (revisionMode == QV4::QObjectWrapper::CheckRevision
revisionMode =...:CheckRevisionDescription
TRUEevaluated 1338 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 32640 times by 59 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • ...
&& result->hasRevision()
result->hasRevision()Description
TRUEnever evaluated
FALSEevaluated 1338 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
0-32640
356 QQmlData *ddata = QQmlData::get(object);-
357 if (ddata
ddataDescription
TRUEnever evaluated
FALSEnever evaluated
&& ddata->propertyCache
ddata->propertyCacheDescription
TRUEnever evaluated
FALSEnever evaluated
&& !ddata->propertyCache->isAllowedInRevision(result)
!ddata->proper...vision(result)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
358 return
never executed: return false;
false;
never executed: return false;
0
359 }
never executed: end of block
0
360-
361 setProperty(engine, object, result, value);-
362 return
executed 33978 times by 65 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
true;
executed 33978 times by 65 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
33978
363}-
364-
365void QObjectWrapper::setProperty(ExecutionEngine *engine, QObject *object, QQmlPropertyData *property, const Value &value)-
366{-
367 if (!property->isWritable()
!property->isWritable()Description
TRUEevaluated 18 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qquickitem2
  • tst_qquickpathview
FALSEevaluated 45791 times by 78 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
&& !property->isQList()
!property->isQList()Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 8 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qquickitem2
  • tst_qquickpathview
) {
8-45791
368 QString error = QLatin1String("Cannot assign to read-only property \"") +-
369 property->name(object) + QLatin1Char('\"');-
370 engine->throwTypeError(error);-
371 return;
executed 10 times by 1 test: return;
Executed by:
  • tst_qqmlecmascript
10
372 }-
373-
374 QQmlBinding *newBinding = nullptr;-
375 QV4::Scope scope(engine);-
376 QV4::ScopedFunctionObject f(scope, value);-
377 if (f
fDescription
TRUEevaluated 88 times by 8 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qjsonbinding
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
FALSEevaluated 45711 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
) {
88-45711
378 if (!f->isBinding()
!f->isBinding()Description
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEevaluated 74 times by 7 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
) {
14-74
379 if (!property->isVarProperty()
!property->isVarProperty()Description
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
&& property->propType() != qMetaTypeId<QJSValue>()
property->prop...Id<QJSValue>()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-12
380-
381 QString error = QLatin1String("Cannot assign JavaScript function to ");-
382 if (!QMetaType::typeName(property->propType())
!QMetaType::ty...y->propType())Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
)
2-8
383 error += QLatin1String("[unknown property type]");
executed 2 times by 1 test: error += QLatin1String("[unknown property type]");
Executed by:
  • tst_qqmlecmascript
2
384 else-
385 error += QLatin1String(QMetaType::typeName(property->propType()));
executed 8 times by 2 tests: error += QLatin1String(QMetaType::typeName(property->propType()));
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
8
386 scope.engine->throwError(error);-
387 return;
executed 10 times by 2 tests: return;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
10
388 }-
389 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else {
4
390-
391 QQmlContextData *callingQmlContext = scope.engine->callingQmlContext();-
392-
393 QV4::Scoped<QQmlBindingFunction> bindingFunction(scope, (const Value &)f);-
394-
395 QV4::ScopedFunctionObject f(scope, bindingFunction->bindingFunction());-
396 QV4::ScopedContext ctx(scope, bindingFunction->scope());-
397 newBinding = QQmlBinding::create(property, f->function(), object, callingQmlContext, ctx);-
398 newBinding->setSourceLocation(bindingFunction->currentLocation());-
399 if (f->isBoundFunction()
f->isBoundFunction()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 70 times by 7 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
)
4-70
400 newBinding->setBoundFunction(static_cast<QV4::BoundFunction *>(f.getPointer()));
executed 4 times by 1 test: newBinding->setBoundFunction(static_cast<QV4::BoundFunction *>(f.getPointer()));
Executed by:
  • tst_qqmlecmascript
4
401 newBinding->setTarget(object, *property, nullptr);-
402 }
executed 74 times by 7 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
74
403 }-
404-
405 if (newBinding
newBindingDescription
TRUEevaluated 74 times by 7 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
FALSEevaluated 45715 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
) {
74-45715
406 QQmlPropertyPrivate::setBinding(newBinding);-
407 }
executed 74 times by 7 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
else {
74
408 if (__builtin_expect(!!(lcBindingRemoval().isInfoEnabled()), false)
__builtin_expe...led()), false)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlbinding
FALSEevaluated 45713 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
) {
2-45713
409 if (auto binding = QQmlPropertyPrivate::binding(object, QQmlPropertyIndex(property->coreIndex()))
auto binding =...>coreIndex()))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlbinding
FALSEnever evaluated
) {
0-2
410 ((!binding->isValueTypeProxy()) ? static_cast<void>(0) : qt_assert("!binding->isValueTypeProxy()", __FILE__, 484));-
411 const auto qmlBinding = static_cast<const QQmlBinding*>(binding);-
412 const auto stackFrame = engine->currentStackFrame;-
413 for (bool qt_category_enabled = lcBindingRemoval().isInfoEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlbinding
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlbinding
; qt_category_enabled = false) QMessageLogger(
executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ;
Executed by:
  • tst_qqmlbinding
2
4142
4152
4162
417 __FILE__
executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ;
Executed by:
  • tst_qqmlbinding
2
418 ,
executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ;
Executed by:
  • tst_qqmlbinding
2
4192
4202
4212
422 491
executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ;
Executed by:
  • tst_qqmlbinding
2
423 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData())
executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ;
Executed by:
  • tst_qqmlbinding
2
4242
4252
4262
427 ;
executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ;
Executed by:
  • tst_qqmlbinding
2
428 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlbinding
2
429 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlbinding
2
430 QQmlPropertyPrivate::removeBinding(object, QQmlPropertyIndex(property->coreIndex()));-
431 }
executed 45715 times by 77 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
45715
432-
433 if (!newBinding
!newBindingDescription
TRUEevaluated 45715 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
FALSEevaluated 74 times by 7 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
&& property->isVarProperty()
property->isVarProperty()Description
TRUEevaluated 2828 times by 17 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 42887 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
) {
74-45715
434-
435 QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object);-
436 ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 500));-
437 vmemo->setVMEProperty(property->coreIndex(), value);-
438 return;
executed 2828 times by 17 tests: return;
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
2828
439 }-
440 if (value.isNull()
value.isNull()Description
TRUEevaluated 114 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qjsonbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickdroparea
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
FALSEevaluated 42847 times by 78 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
&& property->isQObject()
property->isQObject()Description
TRUEevaluated 40 times by 6 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickdroparea
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
FALSEevaluated 74 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
) {
40-42847
441 QObject* o = nullptr; int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
442 }
executed 40 times by 6 tests: end of block
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickdroparea
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
else if (value.isUndefined()
value.isUndefined()Description
TRUEevaluated 534 times by 11 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickrectangle
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
FALSEevaluated 42387 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
&& property->isResettable()
property->isResettable()Description
TRUEevaluated 30 times by 7 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickdrag
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickrectangle
  • tst_qquickvisualdatamodel
FALSEevaluated 504 times by 5 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickdroparea
  • tst_qquickworkerscript
) {
30-42387
443 void *a[] = { nullptr };-
444 QMetaObject::metacall(object, QMetaObject::ResetProperty, property->coreIndex(), a);-
445 }
executed 30 times by 7 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qquickdrag
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickrectangle
  • tst_qquickvisualdatamodel
else if (value.isUndefined()
value.isUndefined()Description
TRUEevaluated 504 times by 5 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickdroparea
  • tst_qquickworkerscript
FALSEevaluated 42387 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
&& property->propType() == qMetaTypeId<QVariant>()
property->prop...Id<QVariant>()Description
TRUEevaluated 486 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickdroparea
  • tst_qquickworkerscript
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
) {
18-42387
446 QVariant o = QVariant(); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
447 }
executed 486 times by 4 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickdroparea
  • tst_qquickworkerscript
else if (value.isUndefined()
value.isUndefined()Description
TRUEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEevaluated 42387 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
&& property->propType() == QMetaType::QJsonValue
property->prop...pe::QJsonValueDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsonbinding
FALSEevaluated 16 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
) {
2-42387
448 QJsonValue o = QJsonValue(QJsonValue::Undefined); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
449 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qjsonbinding
else if (!newBinding
!newBindingDescription
TRUEevaluated 42329 times by 76 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
FALSEevaluated 74 times by 7 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
&& property->propType() == qMetaTypeId<QJSValue>()
property->prop...Id<QJSValue>()Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 42313 times by 76 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
) {
2-42329
450 QJSValue o = QJSValue(scope.engine, value.asReturnedValue()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
451 }
executed 16 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (value.isUndefined()
value.isUndefined()Description
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEevaluated 42373 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
&& property->propType() != qMetaTypeId<QQmlScriptString>()
property->prop...criptString>()Description
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-42373
452 QString error = QLatin1String("Cannot assign [undefined] to ");-
453 if (!QMetaType::typeName(property->propType())
!QMetaType::ty...y->propType())Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
)
4-10
454 error += QLatin1String("[unknown property type]");
executed 4 times by 1 test: error += QLatin1String("[unknown property type]");
Executed by:
  • tst_qqmlecmascript
4
455 else-
456 error += QLatin1String(QMetaType::typeName(property->propType()));
executed 10 times by 2 tests: error += QLatin1String(QMetaType::typeName(property->propType()));
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
10
457 scope.engine->throwError(error);-
458 return;
executed 14 times by 2 tests: return;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
14
459 } else if (value.as<FunctionObject>()
value.as<FunctionObject>()Description
TRUEevaluated 74 times by 7 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
FALSEevaluated 42299 times by 76 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • ...
) {
74-42299
460-
461 }
executed 74 times by 7 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquickloader
else if (property->propType() == QMetaType::Int
property->prop...QMetaType::IntDescription
TRUEevaluated 16474 times by 44 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • ...
FALSEevaluated 25825 times by 72 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
&& value.isNumber()
value.isNumber()Description
TRUEevaluated 16466 times by 44 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • ...
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
8-25825
462 int o = value.asDouble(); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
463 }
executed 16466 times by 44 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdraghandler
  • ...
else if (property->propType() == QMetaType::QReal
property->prop...etaType::QRealDescription
TRUEevaluated 13250 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
FALSEevaluated 12583 times by 70 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
&& value.isNumber()
value.isNumber()Description
TRUEevaluated 13250 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
FALSEnever evaluated
) {
0-16466
464 qreal o = qreal(value.asDouble()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
465 }
executed 13250 times by 27 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquicksmoothedanimation
  • tst_qquickstates
  • ...
else if (property->propType() == QMetaType::Float
property->prop...etaType::FloatDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 12581 times by 70 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
&& value.isNumber()
value.isNumber()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-13250
466 float o = float(value.asDouble()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
467 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (property->propType() == QMetaType::Double
property->prop...taType::DoubleDescription
TRUEnever evaluated
FALSEevaluated 12581 times by 70 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
&& value.isNumber()
value.isNumber()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-12581
468 double o = double(value.asDouble()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
469 }
never executed: end of block
else if (property->propType() == QMetaType::QString
property->prop...aType::QStringDescription
TRUEevaluated 3188 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
FALSEevaluated 9393 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
&& value.isString()
value.isString()Description
TRUEevaluated 3184 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlqt
) {
0-9393
470 QString o = value.toQStringNoThrow(); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
471 }
executed 3184 times by 36 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
else if (property->isVarProperty()
property->isVarProperty()Description
TRUEnever evaluated
FALSEevaluated 9397 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
) {
0-9397
472 QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object);-
473 ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 545));-
474 vmemo->setVMEProperty(property->coreIndex(), value);-
475 }
never executed: end of block
else if (property->propType() == qMetaTypeId<QQmlScriptString>()
property->prop...criptString>()Description
TRUEnever evaluated
FALSEevaluated 9397 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
&& (value.isUndefined()
value.isUndefined()Description
TRUEnever evaluated
FALSEnever evaluated
|| value.isPrimitive()
value.isPrimitive()Description
TRUEnever evaluated
FALSEnever evaluated
)) {
0-9397
476 QQmlScriptString ss(value.toQStringNoThrow(), nullptr , object);-
477 if (value.isNumber()
value.isNumber()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
478 ss.d->numberValue = value.toNumber();-
479 ss.d->isNumberLiteral = true;-
480 }
never executed: end of block
else if (value.isString()
value.isString()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
481 ss.d->script = QV4::CompiledData::Binding::escapedString(ss.d->script);-
482 ss.d->isStringLiteral = true;-
483 }
never executed: end of block
0
484 QQmlScriptString o = ss; int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);;-
485 }
never executed: end of block
else {
0
486 QVariant v;-
487 if (property->isQList()
property->isQList()Description
TRUEevaluated 8 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qquickitem2
  • tst_qquickpathview
FALSEevaluated 9389 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
)
8-9389
488 v = scope.engine->toVariant(value, qMetaTypeId<QList<QObject *> >());
executed 8 times by 4 tests: v = scope.engine->toVariant(value, qMetaTypeId<QList<QObject *> >());
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qquickitem2
  • tst_qquickpathview
8
489 else-
490 v = scope.engine->toVariant(value, property->propType());
executed 9389 times by 65 tests: v = scope.engine->toVariant(value, property->propType());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
9389
491-
492 QQmlContextData *callingQmlContext = scope.engine->callingQmlContext();-
493 if (!QQmlPropertyPrivate::write(object, *property, v, callingQmlContext)
!QQmlPropertyP...ingQmlContext)Description
TRUEevaluated 34 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
FALSEevaluated 9363 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
) {
34-9363
494 const char *valueType = nullptr;-
495 if (v.userType() == QVariant::Invalid
v.userType() =...riant::InvalidDescription
TRUEnever evaluated
FALSEevaluated 34 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
) valueType = "null";
never executed: valueType = "null";
0-34
496 else valueType = QMetaType::typeName(v.userType());
executed 34 times by 2 tests: valueType = QMetaType::typeName(v.userType());
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
34
497-
498 const char *targetTypeName = QMetaType::typeName(property->propType());-
499 if (!targetTypeName
!targetTypeNameDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 32 times by 2 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
)
2-32
500 targetTypeName = "an unregistered type";
executed 2 times by 1 test: targetTypeName = "an unregistered type";
Executed by:
  • tst_qqmlecmascript
2
501-
502 QString error = QLatin1String("Cannot assign ") +-
503 QLatin1String(valueType) +-
504 QLatin1String(" to ") +-
505 QLatin1String(targetTypeName);-
506 scope.engine->throwError(error);-
507 return;
executed 34 times by 2 tests: return;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
34
508 }-
509 }
executed 9363 times by 65 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
9363
510}-
511-
512ReturnedValue QObjectWrapper::wrap_slowPath(ExecutionEngine *engine, QObject *object)-
513{-
514 ((!QQmlData::wasDeleted(object)) ? static_cast<void>(0) : qt_assert("!QQmlData::wasDeleted(object)", __FILE__, 586));-
515-
516 QQmlData *ddata = QQmlData::get(object, true);-
517 if (!ddata
!ddataDescription
TRUEnever evaluated
FALSEevaluated 535474 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
)
0-535474
518 return
never executed: return QV4::Encode::undefined();
QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
519-
520 Scope scope(engine);-
521-
522 if (ddata->jsWrapper.isUndefined()
ddata->jsWrapper.isUndefined()Description
TRUEevaluated 535470 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
&&
4-535470
523 (ddata->jsEngineId == engine->m_engineId
ddata->jsEngin...ne->m_engineIdDescription
TRUEnever evaluated
FALSEevaluated 535470 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
||
0-535470
524 ddata->jsEngineId == 0
ddata->jsEngineId == 0Description
TRUEevaluated 535466 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qjsengine
||
4-535466
525 !ddata->hasTaintedV4Object
!ddata->hasTaintedV4ObjectDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEnever evaluated
)) {
0-4
526-
527 QV4::ScopedValue rv(scope, create(engine, object));-
528 ddata->jsWrapper.set(scope.engine, rv);-
529 ddata->jsEngineId = engine->m_engineId;-
530 return
executed 535470 times by 141 tests: return rv->asReturnedValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
rv->asReturnedValue();
executed 535470 times by 141 tests: return rv->asReturnedValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
535470
531-
532 } else {-
533-
534-
535 ScopedObject alternateWrapper(scope, (Object *)nullptr);-
536 if (engine->m_multiplyWrappedQObjects
engine->m_mult...rappedQObjectsDescription
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
&& ddata->hasTaintedV4Object
ddata->hasTaintedV4ObjectDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-4
537 alternateWrapper = engine->m_multiplyWrappedQObjects->value(object);
never executed: alternateWrapper = engine->m_multiplyWrappedQObjects->value(object);
0
538-
539-
540-
541 if (ddata->jsWrapper.isUndefined()
ddata->jsWrapper.isUndefined()Description
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
&& !alternateWrapper
!alternateWrapperDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0-4
542 QV4::ScopedValue result(scope, create(engine, object));-
543 ddata->jsWrapper.set(scope.engine, result);-
544 ddata->jsEngineId = engine->m_engineId;-
545 return
never executed: return result->asReturnedValue();
result->asReturnedValue();
never executed: return result->asReturnedValue();
0
546 }-
547-
548 if (!alternateWrapper
!alternateWrapperDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-4
549 alternateWrapper = create(engine, object);-
550 if (!engine->m_multiplyWrappedQObjects
!engine->m_mul...rappedQObjectsDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEnever evaluated
)
0-4
551 engine->m_multiplyWrappedQObjects = new MultiplyWrappedQObjectMap;
executed 4 times by 2 tests: engine->m_multiplyWrappedQObjects = new MultiplyWrappedQObjectMap;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
4
552 engine->m_multiplyWrappedQObjects->insert(object, alternateWrapper->d());-
553 ddata->hasTaintedV4Object = true;-
554 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
4
555-
556 return
executed 4 times by 2 tests: return alternateWrapper.asReturnedValue();
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
alternateWrapper.asReturnedValue();
executed 4 times by 2 tests: return alternateWrapper.asReturnedValue();
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
4
557 }-
558}-
559-
560void QObjectWrapper::markWrapper(QObject *object, MarkStack *markStack)-
561{-
562 if (QQmlData::wasDeleted(object)
QQmlData::wasDeleted(object)Description
TRUEnever evaluated
FALSEevaluated 79473 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
)
0-79473
563 return;
never executed: return;
0
564-
565 QQmlData *ddata = QQmlData::get(object);-
566 if (!ddata
!ddataDescription
TRUEevaluated 1829 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
FALSEevaluated 77644 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
)
1829-77644
567 return;
executed 1829 times by 6 tests: return;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
1829
568-
569 if (ddata->jsEngineId == markStack->engine->m_engineId
ddata->jsEngin...ne->m_engineIdDescription
TRUEevaluated 65558 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 12086 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
)
12086-65558
570 ddata->jsWrapper.markOnce(markStack);
executed 65558 times by 18 tests: ddata->jsWrapper.markOnce(markStack);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
65558
571 else if (markStack->engine->m_multiplyWrappedQObjects
markStack->eng...rappedQObjectsDescription
TRUEnever evaluated
FALSEevaluated 12086 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
&& ddata->hasTaintedV4Object
ddata->hasTaintedV4ObjectDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-12086
572 markStack->engine->m_multiplyWrappedQObjects->mark(object, markStack);
never executed: markStack->engine->m_multiplyWrappedQObjects->mark(object, markStack);
0
573}
executed 77644 times by 18 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
77644
574-
575void QObjectWrapper::setProperty(ExecutionEngine *engine, int propertyIndex, const Value &value)-
576{-
577 setProperty(engine, d()->object(), propertyIndex, value);-
578}
never executed: end of block
0
579-
580void QObjectWrapper::setProperty(ExecutionEngine *engine, QObject *object, int propertyIndex, const Value &value)-
581{-
582 ((propertyIndex < 0xffff) ? static_cast<void>(0) : qt_assert("propertyIndex < 0xffff", __FILE__, 654));-
583 ((propertyIndex >= 0) ? static_cast<void>(0) : qt_assert("propertyIndex >= 0", __FILE__, 655));-
584-
585 if (QQmlData::wasDeleted(object)
QQmlData::wasDeleted(object)Description
TRUEnever evaluated
FALSEevaluated 11831 times by 57 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
)
0-11831
586 return;
never executed: return;
0
587 QQmlData *ddata = QQmlData::get(object, false);-
588 if (!ddata
!ddataDescription
TRUEnever evaluated
FALSEevaluated 11831 times by 57 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
)
0-11831
589 return;
never executed: return;
0
590-
591 QQmlPropertyCache *cache = ddata->propertyCache;-
592 ((cache) ? static_cast<void>(0) : qt_assert("cache", __FILE__, 664));-
593 QQmlPropertyData *property = cache->property(propertyIndex);-
594 ((property) ? static_cast<void>(0) : qt_assert("property", __FILE__, 666));-
595 return
executed 11831 times by 57 tests: return setProperty(engine, object, property, value);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
setProperty(engine, object, property, value);
executed 11831 times by 57 tests: return setProperty(engine, object, property, value);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
11831
596}-
597-
598bool QObjectWrapper::virtualIsEqualTo(Managed *a, Managed *b)-
599{-
600 ((a->as<QV4::QObjectWrapper>()) ? static_cast<void>(0) : qt_assert("a->as<QV4::QObjectWrapper>()", __FILE__, 672));-
601 QV4::QObjectWrapper *qobjectWrapper = static_cast<QV4::QObjectWrapper *>(a);-
602 QV4::Object *o = b->as<Object>();-
603 if (o
oDescription
TRUEevaluated 32 times by 3 tests
Evaluated by:
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickitem2
FALSEnever evaluated
) {
0-32
604 if (QV4::QQmlTypeWrapper *qmlTypeWrapper = o->as<QV4::QQmlTypeWrapper>()
QV4::QQmlTypeW...TypeWrapper>()Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 26 times by 3 tests
Evaluated by:
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickitem2
)
6-26
605 return
executed 6 times by 1 test: return qmlTypeWrapper->toVariant().value<QObject*>() == qobjectWrapper->object();
Executed by:
  • tst_qqmlecmascript
qmlTypeWrapper->toVariant().value<QObject*>() == qobjectWrapper->object();
executed 6 times by 1 test: return qmlTypeWrapper->toVariant().value<QObject*>() == qobjectWrapper->object();
Executed by:
  • tst_qqmlecmascript
6
606 }
executed 26 times by 3 tests: end of block
Executed by:
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickitem2
26
607-
608 return
executed 26 times by 3 tests: return false;
Executed by:
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickitem2
false;
executed 26 times by 3 tests: return false;
Executed by:
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickitem2
26
609}-
610-
611ReturnedValue QObjectWrapper::create(ExecutionEngine *engine, QObject *object)-
612{-
613 if (QJSEngine *jsEngine = engine->jsEngine()
QJSEngine *jsE...ne->jsEngine()Description
TRUEevaluated 534410 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 1064 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
) {
1064-534410
614 if (QQmlPropertyCache *cache = QQmlData::ensurePropertyCache(jsEngine, object)
QQmlPropertyCa...ngine, object)Description
TRUEevaluated 533648 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 762 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_signalspy
) {
762-533648
615 ReturnedValue result = QV4::Encode::null();-
616 void *args[] = { &result, &engine };-
617 if (cache->callJSFactoryMethod(object, args)
cache->callJSF...(object, args)Description
TRUEevaluated 449556 times by 126 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 84092 times by 118 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
)
84092-449556
618 return
executed 449556 times by 126 tests: return result;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
result;
executed 449556 times by 126 tests: return result;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
449556
619 }
executed 84092 times by 118 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
84092
620 }
executed 84854 times by 118 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
84854
621 return
executed 85918 times by 118 tests: return (engine->memoryManager->allocate<QV4::QObjectWrapper>(object))->asReturnedValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
(engine->memoryManager->allocate<QV4::QObjectWrapper>(object))->asReturnedValue();
executed 85918 times by 118 tests: return (engine->memoryManager->allocate<QV4::QObjectWrapper>(object))->asReturnedValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
85918
622}-
623-
624QV4::ReturnedValue QObjectWrapper::virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty)-
625{-
626 if (!id.isString()
!id.isString()Description
TRUEevaluated 52 times by 3 tests
Evaluated by:
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEevaluated 982617 times by 87 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
)
52-982617
627 return
executed 52 times by 3 tests: return Object::virtualGet(m, id, receiver, hasProperty);
Executed by:
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
Object::virtualGet(m, id, receiver, hasProperty);
executed 52 times by 3 tests: return Object::virtualGet(m, id, receiver, hasProperty);
Executed by:
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
52
628-
629 const QObjectWrapper *that = static_cast<const QObjectWrapper*>(m);-
630 Scope scope(that);-
631 ScopedString n(scope, id.asStringOrSymbol());-
632 QQmlContextData *qmlContext = that->engine()->callingQmlContext();-
633 return
executed 982617 times by 87 tests: return that->getQmlProperty(qmlContext, n, IgnoreRevision, hasProperty, true);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
that->getQmlProperty(qmlContext, n, IgnoreRevision, hasProperty, true);
executed 982617 times by 87 tests: return that->getQmlProperty(qmlContext, n, IgnoreRevision, hasProperty, true);
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
982617
634}-
635-
636bool QObjectWrapper::virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver)-
637{-
638 if (!id.isString()
!id.isString()Description
TRUEnever evaluated
FALSEevaluated 31472 times by 59 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
)
0-31472
639 return
never executed: return Object::virtualPut(m, id, value, receiver);
Object::virtualPut(m, id, value, receiver);
never executed: return Object::virtualPut(m, id, value, receiver);
0
640-
641 Scope scope(m);-
642 QObjectWrapper *that = static_cast<QObjectWrapper*>(m);-
643 ScopedString name(scope, id.asStringOrSymbol());-
644-
645 if (scope.engine->hasException
scope.engine->hasExceptionDescription
TRUEnever evaluated
FALSEevaluated 31472 times by 59 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
|| QQmlData::wasDeleted(that->d()->object())
QQmlData::wasD...d()->object())Description
TRUEnever evaluated
FALSEevaluated 31472 times by 59 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • ...
)
0-31472
646 return
never executed: return false;
false;
never executed: return false;
0
647-
648 QQmlContextData *qmlContext = scope.engine->callingQmlContext();-
649 if (!setQmlProperty(scope.engine, qmlContext, that->d()->object(), name, QV4::QObjectWrapper::IgnoreRevision, value)
!setQmlPropert...vision, value)Description
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
FALSEevaluated 31460 times by 58 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • ...
) {
12-31460
650 QQmlData *ddata = QQmlData::get(that->d()->object());-
651-
652-
653 if (ddata
ddataDescription
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
FALSEnever evaluated
&& ddata->context
ddata->contextDescription
TRUEevaluated 10 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
0-12
654 QString error = QLatin1String("Cannot assign to non-existent property \"") +-
655 name->toQString() + QLatin1Char('\"');-
656 scope.engine->throwError(error);-
657 return
executed 10 times by 3 tests: return false;
Executed by:
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
false;
executed 10 times by 3 tests: return false;
Executed by:
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
10
658 } else {-
659 return
executed 2 times by 1 test: return QV4::Object::virtualPut(m, id, value, receiver);
Executed by:
  • tst_qjsengine
QV4::Object::virtualPut(m, id, value, receiver);
executed 2 times by 1 test: return QV4::Object::virtualPut(m, id, value, receiver);
Executed by:
  • tst_qjsengine
2
660 }-
661 }-
662-
663 return
executed 31460 times by 58 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • ...
true;
executed 31460 times by 58 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • ...
31460
664}-
665-
666PropertyAttributes QObjectWrapper::virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p)-
667{-
668 if (id.isString()
id.isString()Description
TRUEevaluated 266 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
FALSEnever evaluated
) {
0-266
669 QObjectWrapper *that = static_cast<QObjectWrapper*>(m);-
670 const QObject *thatObject = that->d()->object();-
671 if (!QQmlData::wasDeleted(thatObject)
!QQmlData::was...ed(thatObject)Description
TRUEevaluated 266 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
FALSEnever evaluated
) {
0-266
672 Scope scope(m);-
673 ScopedString n(scope, id.asStringOrSymbol());-
674 QQmlContextData *qmlContext = scope.engine->callingQmlContext();-
675 QQmlPropertyData local;-
676 if (that->findProperty(scope.engine, qmlContext, n, IgnoreRevision, &local)
that->findProp...ision, &local)Description
TRUEevaluated 32 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
FALSEevaluated 234 times by 5 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
32-234
677 || n->equals(scope.engine->id_destroy())
n->equals(scop...>id_destroy())Description
TRUEnever evaluated
FALSEevaluated 234 times by 5 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
|| n->equals(scope.engine->id_toString())
n->equals(scop...id_toString())Description
TRUEnever evaluated
FALSEevaluated 234 times by 5 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
) {
0-234
678 if (p
pDescription
TRUEevaluated 30 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-30
679-
680 bool hasProperty;-
681 p->value = that->getQmlProperty(qmlContext, n, IgnoreRevision, &hasProperty, true);-
682 }
executed 30 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
30
683 return
executed 32 times by 4 tests: return QV4::Attr_Data;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
QV4::Attr_Data;
executed 32 times by 4 tests: return QV4::Attr_Data;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
32
684 }-
685 }
executed 234 times by 5 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
234
686 }
executed 234 times by 5 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
234
687-
688 return
executed 234 times by 5 tests: return QV4::Object::virtualGetOwnProperty(m, id, p);
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
QV4::Object::virtualGetOwnProperty(m, id, p);
executed 234 times by 5 tests: return QV4::Object::virtualGetOwnProperty(m, id, p);
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
234
689}-
690-
691void QObjectWrapper::virtualAdvanceIterator(Managed *m, ObjectIterator *it, Value *name, uint *index, Property *p, PropertyAttributes *attributes)-
692{-
693-
694 static const int destroyedIdx1 = QObject::staticMetaObject.indexOfSignal("destroyed(QObject*)");-
695 static const int destroyedIdx2 = QObject::staticMetaObject.indexOfSignal("destroyed()");-
696 static const int deleteLaterIdx = QObject::staticMetaObject.indexOfSlot("deleteLater()");-
697-
698 name->setM(nullptr);-
699 *index = -
700 (0x7fffffff * 2U + 1U)-
701 ;-
702-
703 QObjectWrapper *that = static_cast<QObjectWrapper*>(m);-
704-
705 QObject *thatObject = that->d()->object();-
706 if (thatObject
thatObjectDescription
TRUEevaluated 5392 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEnever evaluated
&& !QQmlData::wasDeleted(thatObject)
!QQmlData::was...ed(thatObject)Description
TRUEevaluated 5392 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEnever evaluated
) {
0-5392
707 const QMetaObject *mo = thatObject->metaObject();-
708-
709 const bool preventDestruction = mo->superClass()
mo->superClass()Description
TRUEevaluated 5392 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEnever evaluated
|| mo == &QObject::staticMetaObject
mo == &QObject...aticMetaObjectDescription
TRUEnever evaluated
FALSEnever evaluated
;
0-5392
710 const int propertyCount = mo->propertyCount();-
711 if (it->arrayIndex < static_cast<uint>(propertyCount)
it->arrayIndex...propertyCount)Description
TRUEevaluated 1860 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 3532 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
) {
1860-3532
712 ExecutionEngine *thatEngine = that->engine();-
713 Scope scope(thatEngine);-
714 const QMetaProperty property = mo->property(it->arrayIndex);-
715 ScopedString propName(scope, thatEngine->newString(QString::fromUtf8(property.name())));-
716 name->setM(propName->d());-
717 ++it->arrayIndex;-
718 *attributes = QV4::Attr_Data;-
719-
720 QQmlPropertyData local;-
721 local.load(property);-
722 p->value = that->getProperty(thatEngine, thatObject, &local);-
723 return;
executed 1860 times by 7 tests: return;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1860
724 }-
725 const int methodCount = mo->methodCount();-
726 while (it->arrayIndex < static_cast<uint>(propertyCount + methodCount)
it->arrayIndex...+ methodCount)Description
TRUEevaluated 3722 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 40 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
) {
40-3722
727 const int index = it->arrayIndex - propertyCount;-
728 const QMetaMethod method = mo->method(index);-
729 ++it->arrayIndex;-
730 if (method.access() == QMetaMethod::Private
method.access(...ethod::PrivateDescription
TRUEevaluated 110 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 3612 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
|| (preventDestruction
preventDestructionDescription
TRUEevaluated 3612 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEnever evaluated
&& (index == deleteLaterIdx
index == deleteLaterIdxDescription
TRUEevaluated 40 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 3572 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
|| index == destroyedIdx1
index == destroyedIdx1Description
TRUEevaluated 40 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 3532 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
|| index == destroyedIdx2
index == destroyedIdx2Description
TRUEevaluated 40 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 3492 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
)))
0-3612
731 continue;
executed 230 times by 7 tests: continue;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
230
732 ExecutionEngine *thatEngine = that->engine();-
733 Scope scope(thatEngine);-
734 ScopedString methodName(scope, thatEngine->newString(QString::fromUtf8(method.name())));-
735 name->setM(methodName->d());-
736 *attributes = QV4::Attr_Data;-
737-
738 QQmlPropertyData local;-
739 local.load(method);-
740 p->value = that->getProperty(thatEngine, thatObject, &local);-
741 return;
executed 3492 times by 7 tests: return;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
3492
742 }-
743 }
executed 40 times by 7 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
40
744 QV4::Object::virtualAdvanceIterator(m, it, name, index, p, attributes);-
745}
executed 40 times by 7 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
40
746-
747namespace QV4 {-
748-
749struct QObjectSlotDispatcher : public QtPrivate::QSlotObjectBase-
750{-
751 QV4::PersistentValue function;-
752 QV4::PersistentValue thisObject;-
753 int signalIndex;-
754-
755 QObjectSlotDispatcher()-
756 : QtPrivate::QSlotObjectBase(&impl)-
757 , signalIndex(-1)-
758 {}
executed 78 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
78
759-
760 static void impl(int which, QSlotObjectBase *this_, QObject *r, void **metaArgs, bool *ret)-
761 {-
762 switch (which) {-
763 case
executed 78 times by 5 tests: case Destroy:
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
Destroy:
executed 78 times by 5 tests: case Destroy:
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
{
78
764 delete static_cast<QObjectSlotDispatcher*>(this_);-
765 }-
766 break;
executed 78 times by 5 tests: break;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
78
767 case
executed 70 times by 4 tests: case Call:
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
Call:
executed 70 times by 4 tests: case Call:
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
{
70
768 QObjectSlotDispatcher *This = static_cast<QObjectSlotDispatcher*>(this_);-
769 QV4::ExecutionEngine *v4 = This->function.engine();-
770-
771-
772-
773 if (!v4
!v4Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
)
2-68
774 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_qqmlecmascript
2
775-
776 QQmlMetaObject::ArgTypeStorage storage;-
777 int *argsTypes = QQmlMetaObject(r).methodParameterTypes(This->signalIndex, &storage, nullptr);-
778-
779 int argCount = argsTypes
argsTypesDescription
TRUEevaluated 68 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
FALSEnever evaluated
? argsTypes[0]:0;
0-68
780-
781 QV4::Scope scope(v4);-
782 QV4::ScopedFunctionObject f(scope, This->function.value());-
783-
784 QV4::JSCallData jsCallData(scope, argCount);-
785 *jsCallData->thisObject = This->thisObject.isUndefined()
This->thisObject.isUndefined()Description
TRUEevaluated 52 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
? v4->globalObject->asReturnedValue() : This->thisObject.value();
16-52
786 for (int ii = 0; ii < argCount
ii < argCountDescription
TRUEevaluated 188 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
; ++ii) {
68-188
787 int type = argsTypes[ii + 1];-
788 if (type == qMetaTypeId<QVariant>()
type == qMetaT...Id<QVariant>()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 186 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
) {
2-186
789 jsCallData->args[ii] = v4->fromVariant(*((QVariant *)metaArgs[ii + 1]));-
790 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else {
2
791 jsCallData->args[ii] = v4->fromVariant(QVariant(type, metaArgs[ii + 1]));-
792 }
executed 186 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
186
793 }-
794-
795 f->call(jsCallData);-
796 if (scope.hasException()
scope.hasException()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 58 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
) {
10-58
797 QQmlError error = v4->catchExceptionAsQmlError();-
798 if (error.description().isEmpty()
error.description().isEmpty()Description
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
) {
0-10
799 QV4::ScopedString name(scope, f->name());-
800 error.setDescription(([]() noexcept -> QString { enum { Size = sizeof(u"" "Unknown exception occurred during evaluation of connected function: %1")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Unknown exception occurred during evaluation of connected function: %1" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
never executed: return qstring_literal_temp;
qstring_literal_temp;
never executed: return qstring_literal_temp;
}()).arg(name->toQString()));
0
801 }
never executed: end of block
0
802 if (QQmlEngine *qmlEngine = v4->qmlEngine()
QQmlEngine *qm...4->qmlEngine()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
2-8
803 QQmlEnginePrivate::get(qmlEngine)->warning(error);-
804 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else {
8
805 QMessageLogger(error.url().toString().toLatin1().constData(),-
806 error.line(), nullptr).warning().noquote()-
807 << error.toString();-
808 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qjsengine
2
809 }-
810 }-
811 break;
executed 68 times by 4 tests: break;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
68
812 case
executed 12 times by 1 test: case Compare:
Executed by:
  • tst_qqmlecmascript
Compare:
executed 12 times by 1 test: case Compare:
Executed by:
  • tst_qqmlecmascript
{
12
813 QObjectSlotDispatcher *connection = static_cast<QObjectSlotDispatcher*>(this_);-
814 if (connection->function.isUndefined()
connection->fu....isUndefined()Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
0-12
815 *ret = false;-
816 return;
never executed: return;
0
817 }-
818-
819-
820-
821-
822 QV4::ExecutionEngine *v4 = reinterpret_cast<QV4::ExecutionEngine*>(metaArgs[0]);-
823 if (v4 != connection->function.engine()
v4 != connecti...ction.engine()Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
0-12
824 *ret = false;-
825 return;
never executed: return;
0
826 }-
827-
828 QV4::Scope scope(v4);-
829 QV4::ScopedValue function(scope, *reinterpret_cast<QV4::Value*>(metaArgs[1]));-
830 QV4::ScopedValue thisObject(scope, *reinterpret_cast<QV4::Value*>(metaArgs[2]));-
831 QObject *receiverToDisconnect = reinterpret_cast<QObject*>(metaArgs[3]);-
832 int slotIndexToDisconnect = *reinterpret_cast<int*>(metaArgs[4]);-
833-
834 if (slotIndexToDisconnect != -1
slotIndexToDisconnect != -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
0-12
835-
836 if (connection->thisObject.isUndefined() == thisObject->isUndefined()
connection->th...>isUndefined()Description
TRUEnever evaluated
FALSEnever evaluated
&&
0
837 (connection->thisObject.isUndefined()
connection->th....isUndefined()Description
TRUEnever evaluated
FALSEnever evaluated
|| RuntimeHelpers::strictEqual(*connection->thisObject.valueRef(), thisObject)
RuntimeHelpers...), thisObject)Description
TRUEnever evaluated
FALSEnever evaluated
)) {
0
838-
839 QV4::ScopedFunctionObject f(scope, connection->function.value());-
840 QPair<QObject *, int> connectedFunctionData = QObjectMethod::extractQtMethod(f);-
841 if (connectedFunctionData.first == receiverToDisconnect
connectedFunct...erToDisconnectDescription
TRUEnever evaluated
FALSEnever evaluated
&&
0
842 connectedFunctionData.second == slotIndexToDisconnect
connectedFunct...exToDisconnectDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
843 *ret = true;-
844 return;
never executed: return;
0
845 }-
846 }
never executed: end of block
0
847 }
never executed: end of block
else {
0
848-
849 if (RuntimeHelpers::strictEqual(*connection->function.valueRef(), function)
RuntimeHelpers...f(), function)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
&&
2-10
850 connection->thisObject.isUndefined() == thisObject->isUndefined()
connection->th...>isUndefined()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
&&
2-8
851 (connection->thisObject.isUndefined()
connection->th....isUndefined()Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
|| RuntimeHelpers::strictEqual(*connection->thisObject.valueRef(), thisObject)
RuntimeHelpers...), thisObject)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
)) {
0-6
852 *ret = true;-
853 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_qqmlecmascript
8
854 }-
855 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
4
856-
857 *ret = false;-
858 }-
859 break;
executed 4 times by 1 test: break;
Executed by:
  • tst_qqmlecmascript
4
860 case
never executed: case NumOperations:
NumOperations:
never executed: case NumOperations:
0
861 break;
never executed: break;
0
862 }-
863 }
executed 152 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
;
152
864};-
865-
866}-
867-
868ReturnedValue QObjectWrapper::method_connect(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)-
869{-
870 QV4::Scope scope(b);-
871-
872 if (argc == 0
argc == 0Description
TRUEnever evaluated
FALSEevaluated 78 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
)
0-78
873 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: no arguments given"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: no arguments given"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: no arguments given"));
0
874-
875 QPair<QObject *, int> signalInfo = extractQtSignal(*thisObject);-
876 QObject *signalObject = signalInfo.first;-
877 int signalIndex = signalInfo.second;-
878-
879 if (signalIndex < 0
signalIndex < 0Description
TRUEnever evaluated
FALSEevaluated 78 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
)
0-78
880 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));
0
881-
882 if (!signalObject
!signalObjectDescription
TRUEnever evaluated
FALSEevaluated 78 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
)
0-78
883 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: cannot connect to deleted QObject"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: cannot connect to deleted QObject"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: cannot connect to deleted QObject"));
0
884-
885 if (signalObject->metaObject()->method(signalIndex).methodType() != QMetaMethod::Signal
signalObject->...Method::SignalDescription
TRUEnever evaluated
FALSEevaluated 78 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
)
0-78
886 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));
0
887-
888 QV4::ScopedFunctionObject f(scope);-
889 QV4::ScopedValue object (scope, QV4::Encode::undefined());-
890-
891 if (argc == 1
argc == 1Description
TRUEevaluated 68 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
10-68
892 f = argv[0];-
893 }
executed 68 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
else if (argc >= 2
argc >= 2Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-68
894 object = argv[0];-
895 f = argv[1];-
896 }
executed 10 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
10
897-
898 if (!f
!fDescription
TRUEnever evaluated
FALSEevaluated 78 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
)
0-78
899 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target is not a function"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target is not a function"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target is not a function"));
0
900-
901 if (!object->isUndefined()
!object->isUndefined()Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 68 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
&& !object->isObject()
!object->isObject()Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-68
902 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target this is not an object"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target this is not an object"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target this is not an object"));
0
903-
904 QV4::QObjectSlotDispatcher *slot = new QV4::QObjectSlotDispatcher;-
905 slot->signalIndex = signalIndex;-
906-
907 slot->thisObject.set(scope.engine, object);-
908 slot->function.set(scope.engine, f);-
909-
910 if (QQmlData *ddata = QQmlData::get(signalObject)
QQmlData *ddat...(signalObject)Description
TRUEevaluated 78 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEnever evaluated
) {
0-78
911 if (QQmlPropertyCache *propertyCache = ddata->propertyCache
QQmlPropertyCa...>propertyCacheDescription
TRUEevaluated 74 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_signalspy
) {
4-74
912 QQmlPropertyPrivate::flushSignal(signalObject, propertyCache->methodIndexToSignalIndex(signalIndex));-
913 }
executed 74 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
74
914 }
executed 78 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
78
915 QObjectPrivate::connect(signalObject, signalIndex, slot, Qt::AutoConnection);-
916-
917 return
executed 78 times by 5 tests: return QV4::Encode::undefined();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
QV4::Encode::undefined();
executed 78 times by 5 tests: return QV4::Encode::undefined();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_signalspy
78
918}-
919-
920ReturnedValue QObjectWrapper::method_disconnect(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)-
921{-
922 QV4::Scope scope(b);-
923-
924 if (argc == 0
argc == 0Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-12
925 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: no arguments given"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: no arguments given"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: no arguments given"));
0
926-
927 QPair<QObject *, int> signalInfo = extractQtSignal(*thisObject);-
928 QObject *signalObject = signalInfo.first;-
929 int signalIndex = signalInfo.second;-
930-
931 if (signalIndex == -1
signalIndex == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-12
932 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));
0
933-
934 if (!signalObject
!signalObjectDescription
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-12
935 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: cannot disconnect from deleted QObject"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: cannot disconnect from deleted QObject"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: cannot disconnect from deleted QObject"));
0
936-
937 if (signalIndex < 0
signalIndex < 0Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
|| signalObject->metaObject()->method(signalIndex).methodType() != QMetaMethod::Signal
signalObject->...Method::SignalDescription
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-12
938 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));
0
939-
940 QV4::ScopedFunctionObject functionValue(scope);-
941 QV4::ScopedValue functionThisValue(scope, QV4::Encode::undefined());-
942-
943 if (argc == 1
argc == 1Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-10
944 functionValue = argv[0];-
945 }
executed 10 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (argc >= 2
argc >= 2Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-10
946 functionThisValue = argv[0];-
947 functionValue = argv[1];-
948 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
2
949-
950 if (!functionValue
!functionValueDescription
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-12
951 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target is not a function"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target is not a function"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target is not a function"));
0
952-
953 if (!functionThisValue->isUndefined()
!functionThisV...>isUndefined()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
&& !functionThisValue->isObject()
!functionThisValue->isObject()Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
0-10
954 return
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target this is not an object"));
scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target this is not an object"));
never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target this is not an object"));
0
955-
956 QPair<QObject *, int> functionData = QObjectMethod::extractQtMethod(functionValue);-
957-
958 void *a[] = {-
959 scope.engine,-
960 functionValue.ptr,-
961 functionThisValue.ptr,-
962 functionData.first,-
963 &functionData.second-
964 };-
965-
966 QObjectPrivate::disconnect(signalObject, signalIndex, reinterpret_cast<void**>(&a));-
967-
968 return
executed 12 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
QV4::Encode::undefined();
executed 12 times by 1 test: return QV4::Encode::undefined();
Executed by:
  • tst_qqmlecmascript
12
969}-
970-
971static void markChildQObjectsRecursively(QObject *parent, QV4::MarkStack *markStack)-
972{-
973 const QObjectList &children = parent->children();-
974 for (int i = 0; i < children.count()
i < children.count()Description
TRUEevaluated 52087 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 109502 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
; ++i) {
52087-109502
975 QObject *child = children.at(i);-
976 if (!child
!childDescription
TRUEnever evaluated
FALSEevaluated 52087 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
)
0-52087
977 continue;
never executed: continue;
0
978 QObjectWrapper::markWrapper(child, markStack);-
979 markChildQObjectsRecursively(child, markStack);-
980 }
executed 52087 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
52087
981}
executed 109502 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
109502
982-
983void Heap::QObjectWrapper::markObjects(Heap::Base *that, QV4::MarkStack *markStack)-
984{-
985 QObjectWrapper *This = static_cast<QObjectWrapper *>(that);-
986-
987 if (QObject *o = This->object()
QObject *o = This->object()Description
TRUEevaluated 99266 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 16 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
) {
16-99266
988 QQmlVMEMetaObject *vme = QQmlVMEMetaObject::get(o);-
989 if (vme
vmeDescription
TRUEevaluated 8371 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 90895 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
)
8371-90895
990 vme->mark(markStack);
executed 8371 times by 18 tests: vme->mark(markStack);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
8371
991-
992-
993-
994-
995-
996 if (!o->parent()
!o->parent()Description
TRUEevaluated 57415 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 41851 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
)
41851-57415
997 markChildQObjectsRecursively(o, markStack);
executed 57415 times by 21 tests: markChildQObjectsRecursively(o, markStack);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
57415
998 }
executed 99266 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
99266
999-
1000 Object::markObjects(that, markStack);-
1001}
executed 99282 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
99282
1002-
1003void QObjectWrapper::destroyObject(bool lastCall)-
1004{-
1005 Heap::QObjectWrapper *h = d();-
1006 if (!h->internalClass
!h->internalClassDescription
TRUEnever evaluated
FALSEevaluated 535996 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
)
0-535996
1007 return;
never executed: return;
0
1008-
1009 if (h->object()
h->object()Description
TRUEevaluated 60412 times by 58 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 475584 times by 137 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
) {
60412-475584
1010 QQmlData *ddata = QQmlData::get(h->object(), false);-
1011 if (ddata
ddataDescription
TRUEevaluated 60412 times by 58 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • ...
FALSEnever evaluated
) {
0-60412
1012 if (!h->object()->parent()
!h->object()->parent()Description
TRUEevaluated 51023 times by 56 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • ...
FALSEevaluated 9389 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquickimageprovider
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpath
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
&& !ddata->indestructible
!ddata->indestructibleDescription
TRUEevaluated 940 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
FALSEevaluated 50083 times by 53 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
) {
940-51023
1013 if (ddata
ddataDescription
TRUEevaluated 940 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
FALSEnever evaluated
&& ddata->ownContext) {
0-940
1014 ((ddata->ownContext == ddata->context) ? static_cast<void>(0) : qt_assert("ddata->ownContext == ddata->context", __FILE__, 1084));-
1015 ddata->ownContext->emitDestruction();-
1016 ddata->ownContext = nullptr;-
1017 ddata->context = nullptr;-
1018 }
executed 312 times by 8 tests: end of block
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlqt
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickpathview
312
1019-
1020 ddata->isQueuedForDeletion = true;-
1021 if (lastCall
lastCallDescription
TRUEevaluated 604 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qquickitem2
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
FALSEevaluated 336 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquickrepeater
)
336-604
1022 delete h->object();
executed 604 times by 13 tests: delete h->object();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qquickitem2
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
604
1023 else-
1024 h->object()->deleteLater();
executed 336 times by 9 tests: h->object()->deleteLater();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquickrepeater
336
1025 } else {-
1026-
1027-
1028 ddata->jsWrapper.clear();-
1029 if (lastCall
lastCallDescription
TRUEevaluated 59418 times by 55 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
FALSEevaluated 54 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
&& ddata->propertyCache
ddata->propertyCacheDescription
TRUEevaluated 58010 times by 55 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
FALSEevaluated 1408 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
) {
54-59418
1030 ddata->propertyCache->release();-
1031 ddata->propertyCache = nullptr;-
1032 }
executed 58010 times by 55 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
58010
1033 }
executed 59472 times by 55 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • ...
59472
1034 }-
1035 }
executed 60412 times by 58 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • ...
60412
1036-
1037 h->~Data();-
1038}
executed 535996 times by 141 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
535996
1039-
1040-
1041const QV4::VTable QObjectWrapper::static_vtbl = { (std::is_same<QObjectWrapper::SuperClass, Object>::value) ? nullptr : &QObjectWrapper::SuperClass::static_vtbl, (sizeof(QObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QObjectWrapper::Data) + (QObjectWrapper::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QObjectWrapper::IsExecutionContext, QObjectWrapper::IsString, QObjectWrapper::IsObject, QObjectWrapper::IsFunctionObject, QObjectWrapper::IsErrorObject, QObjectWrapper::IsArrayData, QObjectWrapper::IsStringOrSymbol, QObjectWrapper::MyType, { 0, 0, 0, 0 }, "QObjectWrapper", QObjectWrapper::virtualDestroy, QObjectWrapper::Data::markObjects, QObjectWrapper::virtualIsEqualTo, QObjectWrapper::virtualGet, QObjectWrapper::virtualPut, QObjectWrapper::virtualDeleteProperty, QObjectWrapper::virtualHasProperty, QObjectWrapper::virtualGetOwnProperty, QObjectWrapper::virtualDefineOwnProperty, QObjectWrapper::virtualIsExtensible, QObjectWrapper::virtualPreventExtensions, QObjectWrapper::virtualGetPrototypeOf, QObjectWrapper::virtualSetPrototypeOf, QObjectWrapper::virtualGetLength, QObjectWrapper::virtualAdvanceIterator, QObjectWrapper::virtualInstanceOf, QObjectWrapper::virtualCall, QObjectWrapper::virtualCallAsConstructor, };-
1042-
1043namespace {-
1044-
1045template<typename A, typename B, typename C, typename D, typename E,-
1046 typename F, typename G, typename H>-
1047class MaxSizeOf8 {-
1048 template<typename Z, typename X>-
1049 struct SMax {-
1050 char dummy[sizeof(Z) > sizeof(X) ? sizeof(Z) : sizeof(X)];-
1051 };-
1052public:-
1053 static const size_t Size = sizeof(SMax<A, SMax<B, SMax<C, SMax<D, SMax<E, SMax<F, SMax<G, H> > > > > > >);-
1054};-
1055-
1056struct CallArgument {-
1057 inline CallArgument();-
1058 inline ~CallArgument();-
1059 inline void *dataPtr();-
1060-
1061 inline void initAsType(int type);-
1062 inline void fromValue(int type, ExecutionEngine *, const QV4::Value &);-
1063 inline ReturnedValue toValue(ExecutionEngine *);-
1064-
1065private:-
1066 CallArgument(const CallArgument &);-
1067-
1068 inline void cleanup();-
1069-
1070 template <class T, class M>-
1071 void fromContainerValue(const QV4::Object *object, int type, M CallArgument::*member, bool &queryEngine);-
1072-
1073 union {-
1074 float floatValue;-
1075 double doubleValue;-
1076 quint32 intValue;-
1077 bool boolValue;-
1078 QObject *qobjectPtr;-
1079 std::vector<int> *stdVectorIntPtr;-
1080 std::vector<qreal> *stdVectorRealPtr;-
1081 std::vector<bool> *stdVectorBoolPtr;-
1082 std::vector<QString> *stdVectorQStringPtr;-
1083 std::vector<QUrl> *stdVectorQUrlPtr;-
1084 std::vector<QModelIndex> *stdVectorQModelIndexPtr;-
1085-
1086 char allocData[MaxSizeOf8<QVariant,-
1087 QString,-
1088 QList<QObject *>,-
1089 QJSValue,-
1090 QQmlV4Handle,-
1091 QJsonArray,-
1092 QJsonObject,-
1093 QJsonValue>::Size];-
1094 qint64 q_for_alignment;-
1095 };-
1096-
1097-
1098 union {-
1099 QString *qstringPtr;-
1100 QByteArray *qbyteArrayPtr;-
1101 QVariant *qvariantPtr;-
1102 QList<QObject *> *qlistPtr;-
1103 QJSValue *qjsValuePtr;-
1104 QQmlV4Handle *handlePtr;-
1105 QJsonArray *jsonArrayPtr;-
1106 QJsonObject *jsonObjectPtr;-
1107 QJsonValue *jsonValuePtr;-
1108 };-
1109-
1110 int type;-
1111};-
1112}-
1113-
1114static QV4::ReturnedValue CallMethod(const QQmlObjectOrGadget &object, int index, int returnType, int argCount,-
1115 int *argTypes, QV4::ExecutionEngine *engine, QV4::CallData *callArgs,-
1116 QMetaObject::Call callType = QMetaObject::InvokeMetaMethod)-
1117{-
1118 if (argCount > 0
argCount > 0Description
TRUEevaluated 44605 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 7075 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
) {
7075-44605
1119-
1120 QVarLengthArray<CallArgument, 9> args(argCount + 1);-
1121 args[0].initAsType(returnType);-
1122 for (int ii = 0; ii < argCount
ii < argCountDescription
TRUEevaluated 66024 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 44605 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
; ++ii)
44605-66024
1123 args[ii + 1].fromValue(argTypes[ii], engine, callArgs->args[ii]);
executed 66024 times by 29 tests: args[ii + 1].fromValue(argTypes[ii], engine, callArgs->args[ii]);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
66024
1124 QVarLengthArray<void *, 9> argData(args.count());-
1125 for (int ii = 0; ii < args.count()
ii < args.count()Description
TRUEevaluated 110629 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 44605 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
; ++ii)
44605-110629
1126 argData[ii] = args[ii].dataPtr();
executed 110629 times by 29 tests: argData[ii] = args[ii].dataPtr();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
110629
1127-
1128 object.metacall(callType, index, argData.data());-
1129-
1130 return
executed 44605 times by 29 tests: return args[0].toValue(engine);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
args[0].toValue(engine);
executed 44605 times by 29 tests: return args[0].toValue(engine);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
44605
1131-
1132 } else if (returnType != QMetaType::Void
returnType != QMetaType::VoidDescription
TRUEevaluated 4398 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
FALSEevaluated 2677 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickrepeater
  • ...
) {
2677-4398
1133-
1134 CallArgument arg;-
1135 arg.initAsType(returnType);-
1136-
1137 void *args[] = { arg.dataPtr() };-
1138-
1139 object.metacall(callType, index, args);-
1140-
1141 return
executed 4398 times by 16 tests: return arg.toValue(engine);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
arg.toValue(engine);
executed 4398 times by 16 tests: return arg.toValue(engine);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
4398
1142-
1143 } else {-
1144-
1145 void *args[] = { nullptr };-
1146 object.metacall(callType, index, args);-
1147 return
executed 2677 times by 32 tests: return Encode::undefined();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickrepeater
  • ...
Encode::undefined();
executed 2677 times by 32 tests: return Encode::undefined();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickrepeater
  • ...
2677
1148-
1149 }-
1150}-
1151-
1152-
1153-
1154-
1155-
1156-
1157-
1158static int MatchScore(const QV4::Value &actual, int conversionType)-
1159{-
1160 if (actual.isNumber()
actual.isNumber()Description
TRUEevaluated 286 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 1270 times by 7 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
286-1270
1161 switch (conversionType) {-
1162 case
executed 26 times by 2 tests: case QMetaType::Double:
Executed by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
QMetaType::Double:
executed 26 times by 2 tests: case QMetaType::Double:
Executed by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
26
1163 return
executed 26 times by 2 tests: return 0;
Executed by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
0;
executed 26 times by 2 tests: return 0;
Executed by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
26
1164 case
never executed: case QMetaType::Float:
QMetaType::Float:
never executed: case QMetaType::Float:
0
1165 return
never executed: return 1;
1;
never executed: return 1;
0
1166 case
never executed: case QMetaType::LongLong:
QMetaType::LongLong:
never executed: case QMetaType::LongLong:
0
1167 case
never executed: case QMetaType::ULongLong:
QMetaType::ULongLong:
never executed: case QMetaType::ULongLong:
0
1168 return
never executed: return 2;
2;
never executed: return 2;
0
1169 case
never executed: case QMetaType::Long:
QMetaType::Long:
never executed: case QMetaType::Long:
0
1170 case
never executed: case QMetaType::ULong:
QMetaType::ULong:
never executed: case QMetaType::ULong:
0
1171 return
never executed: return 3;
3;
never executed: return 3;
0
1172 case
executed 236 times by 6 tests: case QMetaType::Int:
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquicklayouts
  • tst_qquickpathview
QMetaType::Int:
executed 236 times by 6 tests: case QMetaType::Int:
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquicklayouts
  • tst_qquickpathview
236
1173 case
never executed: case QMetaType::UInt:
QMetaType::UInt:
never executed: case QMetaType::UInt:
0
1174 return
executed 236 times by 6 tests: return 4;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquicklayouts
  • tst_qquickpathview
4;
executed 236 times by 6 tests: return 4;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquicklayouts
  • tst_qquickpathview
236
1175 case
never executed: case QMetaType::Short:
QMetaType::Short:
never executed: case QMetaType::Short:
0
1176 case
never executed: case QMetaType::UShort:
QMetaType::UShort:
never executed: case QMetaType::UShort:
0
1177 return
never executed: return 5;
5;
never executed: return 5;
0
1178 break;
dead code: break;
-
1179 case
never executed: case QMetaType::Char:
QMetaType::Char:
never executed: case QMetaType::Char:
0
1180 case
never executed: case QMetaType::UChar:
QMetaType::UChar:
never executed: case QMetaType::UChar:
0
1181 return
never executed: return 6;
6;
never executed: return 6;
0
1182 case
executed 4 times by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_qqmlecmascript
QMetaType::QJsonValue:
executed 4 times by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_qqmlecmascript
4
1183 return
executed 4 times by 1 test: return 5;
Executed by:
  • tst_qqmlecmascript
5;
executed 4 times by 1 test: return 5;
Executed by:
  • tst_qqmlecmascript
4
1184 default
executed 20 times by 2 tests: default:
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
:
executed 20 times by 2 tests: default:
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
20
1185 return
executed 20 times by 2 tests: return 10;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
10;
executed 20 times by 2 tests: return 10;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
20
1186 }-
1187 } else if (actual.isString()
actual.isString()Description
TRUEevaluated 66 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 1204 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
66-1204
1188 switch (conversionType) {-
1189 case
executed 42 times by 2 tests: case QMetaType::QString:
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
QMetaType::QString:
executed 42 times by 2 tests: case QMetaType::QString:
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
42
1190 return
executed 42 times by 2 tests: return 0;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
0;
executed 42 times by 2 tests: return 0;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
42
1191 case
executed 2 times by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_qqmlecmascript
QMetaType::QJsonValue:
executed 2 times by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_qqmlecmascript
2
1192 return
executed 2 times by 1 test: return 5;
Executed by:
  • tst_qqmlecmascript
5;
executed 2 times by 1 test: return 5;
Executed by:
  • tst_qqmlecmascript
2
1193 default
executed 22 times by 2 tests: default:
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
:
executed 22 times by 2 tests: default:
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
22
1194 return
executed 22 times by 2 tests: return 10;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
10;
executed 22 times by 2 tests: return 10;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
22
1195 }-
1196 } else if (actual.isBoolean()
actual.isBoolean()Description
TRUEnever evaluated
FALSEevaluated 1204 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
0-1204
1197 switch (conversionType) {-
1198 case
never executed: case QMetaType::Bool:
QMetaType::Bool:
never executed: case QMetaType::Bool:
0
1199 return
never executed: return 0;
0;
never executed: return 0;
0
1200 case
never executed: case QMetaType::QJsonValue:
QMetaType::QJsonValue:
never executed: case QMetaType::QJsonValue:
0
1201 return
never executed: return 5;
5;
never executed: return 5;
0
1202 default
never executed: default:
:
never executed: default:
0
1203 return
never executed: return 10;
10;
never executed: return 10;
0
1204 }-
1205 } else if (actual.as<DateObject>()
actual.as<DateObject>()Description
TRUEnever evaluated
FALSEevaluated 1204 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
0-1204
1206 switch (conversionType) {-
1207 case
never executed: case QMetaType::QDateTime:
QMetaType::QDateTime:
never executed: case QMetaType::QDateTime:
0
1208 return
never executed: return 0;
0;
never executed: return 0;
0
1209 case
never executed: case QMetaType::QDate:
QMetaType::QDate:
never executed: case QMetaType::QDate:
0
1210 return
never executed: return 1;
1;
never executed: return 1;
0
1211 case
never executed: case QMetaType::QTime:
QMetaType::QTime:
never executed: case QMetaType::QTime:
0
1212 return
never executed: return 2;
2;
never executed: return 2;
0
1213 default
never executed: default:
:
never executed: default:
0
1214 return
never executed: return 10;
10;
never executed: return 10;
0
1215 }-
1216 } else if (actual.as<QV4::RegExpObject>()
actual.as<QV4::RegExpObject>()Description
TRUEnever evaluated
FALSEevaluated 1204 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
0-1204
1217 switch (conversionType) {-
1218 case
never executed: case QMetaType::QRegExp:
QMetaType::QRegExp:
never executed: case QMetaType::QRegExp:
0
1219 return
never executed: return 0;
0;
never executed: return 0;
0
1220 default
never executed: default:
:
never executed: default:
0
1221 return
never executed: return 10;
10;
never executed: return 10;
0
1222 }-
1223 } else if (actual.as<ArrayBuffer>()
actual.as<ArrayBuffer>()Description
TRUEnever evaluated
FALSEevaluated 1204 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
0-1204
1224 switch (conversionType) {-
1225 case
never executed: case QMetaType::QByteArray:
QMetaType::QByteArray:
never executed: case QMetaType::QByteArray:
0
1226 return
never executed: return 0;
0;
never executed: return 0;
0
1227 default
never executed: default:
:
never executed: default:
0
1228 return
never executed: return 10;
10;
never executed: return 10;
0
1229 }-
1230 } else if (actual.as<ArrayObject>()
actual.as<ArrayObject>()Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 1194 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
10-1194
1231 switch (conversionType) {-
1232 case
executed 2 times by 1 test: case QMetaType::QJsonArray:
Executed by:
  • tst_qqmlecmascript
QMetaType::QJsonArray:
executed 2 times by 1 test: case QMetaType::QJsonArray:
Executed by:
  • tst_qqmlecmascript
2
1233 return
executed 2 times by 1 test: return 3;
Executed by:
  • tst_qqmlecmascript
3;
executed 2 times by 1 test: return 3;
Executed by:
  • tst_qqmlecmascript
2
1234 case
never executed: case QMetaType::QStringList:
QMetaType::QStringList:
never executed: case QMetaType::QStringList:
0
1235 case
never executed: case QMetaType::QVariantList:
QMetaType::QVariantList:
never executed: case QMetaType::QVariantList:
0
1236 return
never executed: return 5;
5;
never executed: return 5;
0
1237 case
never executed: case QMetaType::QVector4D:
QMetaType::QVector4D:
never executed: case QMetaType::QVector4D:
0
1238 case
never executed: case QMetaType::QMatrix4x4:
QMetaType::QMatrix4x4:
never executed: case QMetaType::QMatrix4x4:
0
1239 return
never executed: return 6;
6;
never executed: return 6;
0
1240 case
never executed: case QMetaType::QVector3D:
QMetaType::QVector3D:
never executed: case QMetaType::QVector3D:
0
1241 return
never executed: return 7;
7;
never executed: return 7;
0
1242 default
executed 8 times by 1 test: default:
Executed by:
  • tst_qqmlecmascript
:
executed 8 times by 1 test: default:
Executed by:
  • tst_qqmlecmascript
8
1243 return
executed 8 times by 1 test: return 10;
Executed by:
  • tst_qqmlecmascript
10;
executed 8 times by 1 test: return 10;
Executed by:
  • tst_qqmlecmascript
8
1244 }-
1245 } else if (actual.isNull()
actual.isNull()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 1192 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
2-1192
1246 switch (conversionType) {-
1247 case
never executed: case QMetaType::Nullptr:
QMetaType::Nullptr:
never executed: case QMetaType::Nullptr:
0
1248 case
never executed: case QMetaType::VoidStar:
QMetaType::VoidStar:
never executed: case QMetaType::VoidStar:
0
1249 case
never executed: case QMetaType::QObjectStar:
QMetaType::QObjectStar:
never executed: case QMetaType::QObjectStar:
0
1250 case
executed 2 times by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_qqmlecmascript
QMetaType::QJsonValue:
executed 2 times by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_qqmlecmascript
2
1251 return
executed 2 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
0;
executed 2 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
2
1252 default
never executed: default:
:
never executed: default:
{
0
1253 const char *typeName = QMetaType::typeName(conversionType);-
1254 if (typeName
typeNameDescription
TRUEnever evaluated
FALSEnever evaluated
&& typeName[strlen(typeName) - 1] == '*'
typeName[strle...e) - 1] == '*'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1255 return
never executed: return 0;
0;
never executed: return 0;
0
1256 else-
1257 return
never executed: return 10;
10;
never executed: return 10;
0
1258 }-
1259 }-
1260 } else if (const
const QV4::Obj...QV4::Object>()Description
TRUEevaluated 1182 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
QV4::Object *obj = actual.as<QV4::Object>()
const QV4::Obj...QV4::Object>()Description
TRUEevaluated 1182 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
10-1182
1261 if (obj->as<QV4::VariantObject>()
obj->as<QV4::VariantObject>()Description
TRUEnever evaluated
FALSEevaluated 1182 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
) {
0-1182
1262 if (conversionType == qMetaTypeId<QVariant>()
conversionType...Id<QVariant>()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1263 return
never executed: return 0;
0;
never executed: return 0;
0
1264 if (obj->engine()->toVariant(actual, -1).userType() == conversionType
obj->engine()-...conversionTypeDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1265 return
never executed: return 0;
0;
never executed: return 0;
0
1266 else-
1267 return
never executed: return 10;
10;
never executed: return 10;
0
1268 }-
1269-
1270 if (obj->as<QObjectWrapper>()
obj->as<QObjectWrapper>()Description
TRUEevaluated 1018 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitemparticle
  • tst_qquicklayouts
FALSEevaluated 164 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
) {
164-1018
1271 switch (conversionType) {-
1272 case
executed 2 times by 1 test: case QMetaType::QObjectStar:
Executed by:
  • tst_qqmlecmascript
QMetaType::QObjectStar:
executed 2 times by 1 test: case QMetaType::QObjectStar:
Executed by:
  • tst_qqmlecmascript
2
1273 return
executed 2 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
0;
executed 2 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
2
1274 default
executed 1016 times by 2 tests: default:
Executed by:
  • tst_qquickitemparticle
  • tst_qquicklayouts
:
executed 1016 times by 2 tests: default:
Executed by:
  • tst_qquickitemparticle
  • tst_qquicklayouts
1016
1275 return
executed 1016 times by 2 tests: return 10;
Executed by:
  • tst_qquickitemparticle
  • tst_qquicklayouts
10;
executed 1016 times by 2 tests: return 10;
Executed by:
  • tst_qquickitemparticle
  • tst_qquicklayouts
1016
1276 }-
1277 }-
1278-
1279 if (obj->as<QV4::QQmlValueTypeWrapper>()
obj->as<QV4::Q...TypeWrapper>()Description
TRUEevaluated 150 times by 3 tests
Evaluated by:
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
14-150
1280 if (obj->engine()->toVariant(actual, -1).userType() == conversionType
obj->engine()-...conversionTypeDescription
TRUEevaluated 104 times by 3 tests
Evaluated by:
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
)
46-104
1281 return
executed 104 times by 3 tests: return 0;
Executed by:
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
0;
executed 104 times by 3 tests: return 0;
Executed by:
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
104
1282 return
executed 46 times by 2 tests: return 10;
Executed by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
10;
executed 46 times by 2 tests: return 10;
Executed by:
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
46
1283 } else if (conversionType == QMetaType::QJsonObject
conversionType...e::QJsonObjectDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-12
1284 return
executed 2 times by 1 test: return 5;
Executed by:
  • tst_qqmlecmascript
5;
executed 2 times by 1 test: return 5;
Executed by:
  • tst_qqmlecmascript
2
1285 } else if (conversionType == qMetaTypeId<QJSValue>()
conversionType...Id<QJSValue>()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-10
1286 return
executed 2 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
0;
executed 2 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
2
1287 } else {-
1288 return
executed 10 times by 1 test: return 10;
Executed by:
  • tst_qqmlecmascript
10;
executed 10 times by 1 test: return 10;
Executed by:
  • tst_qqmlecmascript
10
1289 }-
1290-
1291 } else {-
1292 return
executed 10 times by 1 test: return 10;
Executed by:
  • tst_qqmlecmascript
10;
executed 10 times by 1 test: return 10;
Executed by:
  • tst_qqmlecmascript
10
1293 }-
1294}-
1295-
1296static inline int QMetaObject_methods(const QMetaObject *metaObject)-
1297{-
1298 struct Private-
1299 {-
1300 int revision;-
1301 int className;-
1302 int classInfoCount, classInfoData;-
1303 int methodCount, methodData;-
1304 };-
1305-
1306 return
never executed: return reinterpret_cast<const Private *>(metaObject->d.data)->methodCount;
reinterpret_cast<const Private *>(metaObject->d.data)->methodCount;
never executed: return reinterpret_cast<const Private *>(metaObject->d.data)->methodCount;
0
1307}-
1308-
1309-
1310-
1311-
1312static const QQmlPropertyData * RelatedMethod(const QQmlObjectOrGadget &object,-
1313 const QQmlPropertyData *current,-
1314 QQmlPropertyData &dummy,-
1315 const QQmlPropertyCache *propertyCache)-
1316{-
1317 if (!current->isOverload()
!current->isOverload()Description
TRUEevaluated 1046 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 1248 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
)
1046-1248
1318 return
executed 1046 times by 8 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
nullptr;
executed 1046 times by 8 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
1046
1319-
1320 ((!current->overrideIndexIsProperty()) ? static_cast<void>(0) : qt_assert("!current->overrideIndexIsProperty()", __FILE__, 1390));-
1321-
1322 if (propertyCache
propertyCacheDescription
TRUEevaluated 1248 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEnever evaluated
) {
0-1248
1323 return
executed 1248 times by 12 tests: return propertyCache->method(current->overrideIndex());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
propertyCache->method(current->overrideIndex());
executed 1248 times by 12 tests: return propertyCache->method(current->overrideIndex());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
1248
1324 } else {-
1325 const QMetaObject *mo = object.metaObject();-
1326 int methodOffset = mo->methodCount() - QMetaObject_methods(mo);-
1327-
1328 while (methodOffset > current->overrideIndex()
methodOffset >...verrideIndex()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1329 mo = mo->superClass();-
1330 methodOffset -= QMetaObject_methods(mo);-
1331 }
never executed: end of block
0
1332-
1333-
1334-
1335 if (&dummy == current
&dummy == currentDescription
TRUEnever evaluated
FALSEnever evaluated
&& dummy.coreIndex() == current->overrideIndex()
dummy.coreInde...verrideIndex()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1336 return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
0
1337-
1338 QMetaMethod method = mo->method(current->overrideIndex());-
1339 dummy.load(method);-
1340-
1341-
1342 QByteArray methodName = method.name();-
1343 for (int ii = current->overrideIndex() - 1; ii >= methodOffset
ii >= methodOffsetDescription
TRUEnever evaluated
FALSEnever evaluated
; --ii) {
0
1344 if (methodName == mo->method(ii).name()
methodName == ...hod(ii).name()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1345 dummy.setOverload(true);-
1346 dummy.setOverrideIndexIsProperty(0);-
1347 dummy.setOverrideIndex(ii);-
1348 return
never executed: return &dummy;
&dummy;
never executed: return &dummy;
0
1349 }-
1350 }
never executed: end of block
0
1351-
1352 return
never executed: return &dummy;
&dummy;
never executed: return &dummy;
0
1353 }-
1354}-
1355-
1356static QV4::ReturnedValue CallPrecise(const QQmlObjectOrGadget &object, const QQmlPropertyData &data,-
1357 QV4::ExecutionEngine *engine, QV4::CallData *callArgs,-
1358 QMetaObject::Call callType = QMetaObject::InvokeMetaMethod)-
1359{-
1360 QByteArray unknownTypeError;-
1361-
1362 int returnType = object.methodReturnType(data, &unknownTypeError);-
1363-
1364 if (returnType == QMetaType::UnknownType
returnType == ...e::UnknownTypeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 51686 times by 49 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • ...
) {
2-51686
1365 return
executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method return type: ") + QLatin1String(unknownTypeError));
Executed by:
  • tst_qqmlecmascript
engine->throwError(QLatin1String("Unknown method return type: ")
executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method return type: ") + QLatin1String(unknownTypeError));
Executed by:
  • tst_qqmlecmascript
2
1366 + QLatin1String(unknownTypeError));
executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method return type: ") + QLatin1String(unknownTypeError));
Executed by:
  • tst_qqmlecmascript
2
1367 }-
1368-
1369 if (data.hasArguments()
data.hasArguments()Description
TRUEevaluated 44611 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 7075 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
) {
7075-44611
1370-
1371 int *args = nullptr;-
1372 QQmlMetaObject::ArgTypeStorage storage;-
1373-
1374 if (data.isConstructor()
data.isConstructor()Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 44605 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
6-44605
1375 args = static_cast<const QQmlStaticMetaObject&>(object).constructorParameterTypes(
executed 6 times by 1 test: args = static_cast<const QQmlStaticMetaObject&>(object).constructorParameterTypes( data.coreIndex(), &storage, &unknownTypeError);
Executed by:
  • tst_qjsengine
6
1376 data.coreIndex(), &storage, &unknownTypeError);
executed 6 times by 1 test: args = static_cast<const QQmlStaticMetaObject&>(object).constructorParameterTypes( data.coreIndex(), &storage, &unknownTypeError);
Executed by:
  • tst_qjsengine
6
1377 else-
1378 args = object.methodParameterTypes(data.coreIndex(), &storage, &unknownTypeError);
executed 44605 times by 29 tests: args = object.methodParameterTypes(data.coreIndex(), &storage, &unknownTypeError);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
44605
1379-
1380 if (!args
!argsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 44609 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
) {
2-44609
1381 return
executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method parameter type: ") + QLatin1String(unknownTypeError));
Executed by:
  • tst_qqmlecmascript
engine->throwError(QLatin1String("Unknown method parameter type: ")
executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method parameter type: ") + QLatin1String(unknownTypeError));
Executed by:
  • tst_qqmlecmascript
2
1382 + QLatin1String(unknownTypeError));
executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method parameter type: ") + QLatin1String(unknownTypeError));
Executed by:
  • tst_qqmlecmascript
2
1383 }-
1384-
1385 if (args[0] > callArgs->argc()
args[0] > callArgs->argc()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 44605 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
) {
4-44605
1386 QString error = QLatin1String("Insufficient arguments");-
1387 return
executed 4 times by 1 test: return engine->throwError(error);
Executed by:
  • tst_qqmlecmascript
engine->throwError(error);
executed 4 times by 1 test: return engine->throwError(error);
Executed by:
  • tst_qqmlecmascript
4
1388 }-
1389-
1390 return
executed 44605 times by 29 tests: return CallMethod(object, data.coreIndex(), returnType, args[0], args + 1, engine, callArgs, callType);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
CallMethod(object, data.coreIndex(), returnType, args[0], args + 1, engine, callArgs, callType);
executed 44605 times by 29 tests: return CallMethod(object, data.coreIndex(), returnType, args[0], args + 1, engine, callArgs, callType);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
44605
1391-
1392 } else {-
1393-
1394 return
executed 7075 times by 40 tests: return CallMethod(object, data.coreIndex(), returnType, 0, nullptr, engine, callArgs, callType);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
CallMethod(object, data.coreIndex(), returnType, 0, nullptr, engine, callArgs, callType);
executed 7075 times by 40 tests: return CallMethod(object, data.coreIndex(), returnType, 0, nullptr, engine, callArgs, callType);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfocusscope
  • tst_qquickgridview
  • ...
7075
1395-
1396 }-
1397}-
1398static QV4::ReturnedValue CallOverloaded(const QQmlObjectOrGadget &object, const QQmlPropertyData &data,-
1399 QV4::ExecutionEngine *engine, QV4::CallData *callArgs, const QQmlPropertyCache *propertyCache,-
1400 QMetaObject::Call callType = QMetaObject::InvokeMetaMethod)-
1401{-
1402 int argumentCount = callArgs->argc();-
1403-
1404 QQmlPropertyData best;-
1405 int bestParameterScore = 0x7fffffff;-
1406 int bestMatchScore = 0x7fffffff;-
1407-
1408 QQmlPropertyData dummy;-
1409 const QQmlPropertyData *attempt = &data;-
1410-
1411 QV4::Scope scope(engine);-
1412 QV4::ScopedValue v(scope);-
1413-
1414 do {-
1415 QQmlMetaObject::ArgTypeStorage storage;-
1416 int methodArgumentCount = 0;-
1417 int *methodArgTypes = nullptr;-
1418 if (attempt->hasArguments()
attempt->hasArguments()Description
TRUEevaluated 2358 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 3724 times by 9 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
2358-3724
1419 int *args = object.methodParameterTypes(attempt->coreIndex(), &storage, nullptr);-
1420 if (!args
!argsDescription
TRUEnever evaluated
FALSEevaluated 2358 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
)
0-2358
1421 continue;
never executed: continue;
0
1422-
1423 methodArgumentCount = args[0];-
1424 methodArgTypes = args + 1;-
1425 }
executed 2358 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
2358
1426-
1427 if (methodArgumentCount > argumentCount
methodArgument... argumentCountDescription
TRUEevaluated 1016 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquickpathview
FALSEevaluated 5066 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
)
1016-5066
1428 continue;
executed 1016 times by 9 tests: continue;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquickpathview
1016
1429-
1430 int methodParameterScore = argumentCount - methodArgumentCount;-
1431 if (methodParameterScore > bestParameterScore
methodParamete...ParameterScoreDescription
TRUEevaluated 14 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
FALSEevaluated 5052 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
)
14-5052
1432 continue;
executed 14 times by 3 tests: continue;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
14
1433-
1434 int methodMatchScore = 0;-
1435 for (int ii = 0; ii < methodArgumentCount
ii < methodArgumentCountDescription
TRUEevaluated 1540 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 5052 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
; ++ii)
1540-5052
1436 methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]);
executed 1540 times by 9 tests: methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
1540
1437-
1438 if (bestParameterScore > methodParameterScore
bestParameterS...ParameterScoreDescription
TRUEevaluated 4952 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
FALSEevaluated 100 times by 4 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
|| bestMatchScore > methodMatchScore
bestMatchScore...thodMatchScoreDescription
TRUEevaluated 40 times by 4 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
FALSEevaluated 60 times by 4 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
) {
40-4952
1439 best = *attempt;-
1440 bestParameterScore = methodParameterScore;-
1441 bestMatchScore = methodMatchScore;-
1442 }
executed 4992 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
4992
1443-
1444 if (bestParameterScore == 0
bestParameterScore == 0Description
TRUEevaluated 4930 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
FALSEevaluated 122 times by 6 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquicklayouts
&& bestMatchScore == 0
bestMatchScore == 0Description
TRUEevaluated 3800 times by 12 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEevaluated 1130 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
)
122-4930
1445 break;
executed 3800 times by 12 tests: break;
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
3800
1446-
1447 }
executed 1252 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
while ((
(attempt = Rel...e)) != nullptrDescription
TRUEevaluated 1238 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 1044 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
attempt = RelatedMethod(object, attempt, dummy, propertyCache)) != nullptr
(attempt = Rel...e)) != nullptrDescription
TRUEevaluated 1238 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
FALSEevaluated 1044 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
);
1044-1252
1448-
1449 if (best.isValid()
best.isValid()Description
TRUEevaluated 4842 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-4842
1450 return
executed 4842 times by 15 tests: return CallPrecise(object, best, engine, callArgs, callType);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
CallPrecise(object, best, engine, callArgs, callType);
executed 4842 times by 15 tests: return CallPrecise(object, best, engine, callArgs, callType);
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
4842
1451 } else {-
1452 QString error = QLatin1String("Unable to determine callable overload. Candidates are:");-
1453 const QQmlPropertyData *candidate = &data;-
1454 while (candidate
candidateDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
2-12
1455 error += QLatin1String("\n ") +-
1456 QString::fromUtf8(object.metaObject()->method(candidate->coreIndex())-
1457 .methodSignature());-
1458 candidate = RelatedMethod(object, candidate, dummy, propertyCache);-
1459 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
12
1460-
1461 return
executed 2 times by 1 test: return engine->throwError(error);
Executed by:
  • tst_qqmlecmascript
engine->throwError(error);
executed 2 times by 1 test: return engine->throwError(error);
Executed by:
  • tst_qqmlecmascript
2
1462 }-
1463}-
1464-
1465CallArgument::CallArgument()-
1466: type(QVariant::Invalid)-
1467{-
1468}
executed 115027 times by 34 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
115027
1469-
1470CallArgument::~CallArgument()-
1471{-
1472 cleanup();-
1473}
executed 115027 times by 34 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
115027
1474-
1475void CallArgument::cleanup()-
1476{-
1477 if (type == QMetaType::QString
type == QMetaType::QStringDescription
TRUEevaluated 24670 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
FALSEevaluated 90357 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
24670-90357
1478 qstringPtr->~QString();-
1479 }
executed 24670 times by 19 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
else if (type == QMetaType::QByteArray
type == QMetaType::QByteArrayDescription
TRUEnever evaluated
FALSEevaluated 90357 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
0-90357
1480 qbyteArrayPtr->~QByteArray();-
1481 }
never executed: end of block
else if (type == -1
type == -1Description
TRUEevaluated 4099 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
FALSEevaluated 86258 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
|| type == QMetaType::QVariant
type == QMetaType::QVariantDescription
TRUEevaluated 3138 times by 8 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
FALSEevaluated 83120 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
0-86258
1482 qvariantPtr->~QVariant();-
1483 }
executed 7237 times by 19 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
else if (type == qMetaTypeId<QJSValue>()
type == qMetaT...Id<QJSValue>()Description
TRUEevaluated 56 times by 3 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquicklayouts
FALSEevaluated 83064 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
56-83064
1484 qjsValuePtr->~QJSValue();-
1485 }
executed 56 times by 3 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquicklayouts
else if (type == qMetaTypeId<QList<QObject *> >()
type == qMetaT...QObject *> >()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 83060 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
4-83060
1486 qlistPtr->~QList<QObject *>();-
1487 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (type == QMetaType::QJsonArray
type == QMetaType::QJsonArrayDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 83056 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
4-83056
1488 jsonArrayPtr->~QJsonArray();-
1489 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (type == QMetaType::QJsonObject
type == QMetaType::QJsonObjectDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 83052 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
4-83052
1490 jsonObjectPtr->~QJsonObject();-
1491 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (type == QMetaType::QJsonValue
type == QMetaType::QJsonValueDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 83034 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
) {
4-83034
1492 jsonValuePtr->~QJsonValue();-
1493 }
executed 18 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
18
1494}
executed 115027 times by 34 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
115027
1495-
1496void *CallArgument::dataPtr()-
1497{-
1498 if (type == -1
type == -1Description
TRUEevaluated 4099 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
4099-110928
1499 return
executed 4099 times by 15 tests: return qvariantPtr->data();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
qvariantPtr->data();
executed 4099 times by 15 tests: return qvariantPtr->data();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
4099
1500 else if (type == qMetaTypeId<std::vector<int>>()
type == qMetaT...vector<int>>()Description
TRUEnever evaluated
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
0-110928
1501 return
never executed: return stdVectorIntPtr;
stdVectorIntPtr;
never executed: return stdVectorIntPtr;
0
1502 else if (type == qMetaTypeId<std::vector<qreal>>()
type == qMetaT...ctor<qreal>>()Description
TRUEnever evaluated
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
0-110928
1503 return
never executed: return stdVectorRealPtr;
stdVectorRealPtr;
never executed: return stdVectorRealPtr;
0
1504 else if (type == qMetaTypeId<std::vector<bool>>()
type == qMetaT...ector<bool>>()Description
TRUEnever evaluated
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
0-110928
1505 return
never executed: return stdVectorBoolPtr;
stdVectorBoolPtr;
never executed: return stdVectorBoolPtr;
0
1506 else if (type == qMetaTypeId<std::vector<QString>>()
type == qMetaT...or<QString>>()Description
TRUEnever evaluated
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
0-110928
1507 return
never executed: return stdVectorQStringPtr;
stdVectorQStringPtr;
never executed: return stdVectorQStringPtr;
0
1508 else if (type == qMetaTypeId<std::vector<QUrl>>()
type == qMetaT...ector<QUrl>>()Description
TRUEnever evaluated
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
0-110928
1509 return
never executed: return stdVectorQUrlPtr;
stdVectorQUrlPtr;
never executed: return stdVectorQUrlPtr;
0
1510 else if (type == qMetaTypeId<std::vector<QModelIndex>>()
type == qMetaT...ModelIndex>>()Description
TRUEnever evaluated
FALSEevaluated 110928 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
)
0-110928
1511 return
never executed: return stdVectorQModelIndexPtr;
stdVectorQModelIndexPtr;
never executed: return stdVectorQModelIndexPtr;
0
1512 else if (type != 0
type != 0Description
TRUEevaluated 97474 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
FALSEevaluated 13454 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
)
13454-97474
1513 return
executed 97474 times by 32 tests: return (void *)&allocData;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
(void *)&allocData;
executed 97474 times by 32 tests: return (void *)&allocData;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
97474
1514 return
executed 13454 times by 22 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
nullptr;
executed 13454 times by 22 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
13454
1515}-
1516-
1517void CallArgument::initAsType(int callType)-
1518{-
1519 if (type != 0
type != 0Description
TRUEnever evaluated
FALSEevaluated 49003 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
) { cleanup(); type = 0; }
never executed: end of block
0-49003
1520 if (callType == QMetaType::UnknownType
callType == QM...e::UnknownTypeDescription
TRUEnever evaluated
FALSEevaluated 49003 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
|| callType == QMetaType::Void
callType == QMetaType::VoidDescription
TRUEevaluated 13454 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
FALSEevaluated 35549 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • ...
) return;
executed 13454 times by 22 tests: return;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
0-49003
1521-
1522 if (callType == qMetaTypeId<QJSValue>()
callType == qM...Id<QJSValue>()Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 35541 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • ...
) {
8-35541
1523 qjsValuePtr = new (&allocData) QJSValue();-
1524 type = callType;-
1525 }
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
else if (callType == QMetaType::Int
callType == QMetaType::IntDescription
TRUEevaluated 2032 times by 7 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
FALSEevaluated 33509 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
||
8-33509
1526 callType == QMetaType::UInt
callType == QMetaType::UIntDescription
TRUEnever evaluated
FALSEevaluated 33509 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
||
0-33509
1527 callType == QMetaType::Bool
callType == QMetaType::BoolDescription
TRUEevaluated 2066 times by 8 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEevaluated 31443 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
||
2066-31443
1528 callType == QMetaType::Double
callType == QMetaType::DoubleDescription
TRUEevaluated 30 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
FALSEevaluated 31413 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
||
30-31413
1529 callType == QMetaType::Float
callType == QMetaType::FloatDescription
TRUEnever evaluated
FALSEevaluated 31413 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
) {
0-31413
1530 type = callType;-
1531 }
executed 4128 times by 11 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
else if (callType == QMetaType::QObjectStar
callType == QM...e::QObjectStarDescription
TRUEevaluated 30 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 31383 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
) {
30-31383
1532 qobjectPtr = nullptr;-
1533 type = callType;-
1534 }
executed 30 times by 2 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
else if (callType == QMetaType::QString
callType == QMetaType::QStringDescription
TRUEevaluated 214 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
FALSEevaluated 31169 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
) {
30-31169
1535 qstringPtr = new (&allocData) QString();-
1536 type = callType;-
1537 }
executed 214 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
else if (callType == QMetaType::QVariant
callType == QM...Type::QVariantDescription
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
FALSEevaluated 31157 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
) {
12-31157
1538 type = callType;-
1539 qvariantPtr = new (&allocData) QVariant();-
1540 }
executed 12 times by 3 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
else if (callType == qMetaTypeId<QList<QObject *> >()
callType == qM...QObject *> >()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 31153 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
) {
4-31153
1541 type = callType;-
1542 qlistPtr = new (&allocData) QList<QObject *>();-
1543 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == qMetaTypeId<QQmlV4Handle>()
callType == qM...QmlV4Handle>()Description
TRUEevaluated 30154 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
FALSEevaluated 999 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
) {
4-30154
1544 type = callType;-
1545 handlePtr = new (&allocData) QQmlV4Handle;-
1546 }
executed 30154 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
else if (callType == QMetaType::QJsonArray
callType == QM...pe::QJsonArrayDescription
TRUEnever evaluated
FALSEevaluated 999 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
) {
0-30154
1547 type = callType;-
1548 jsonArrayPtr = new (&allocData) QJsonArray();-
1549 }
never executed: end of block
else if (callType == QMetaType::QJsonObject
callType == QM...e::QJsonObjectDescription
TRUEnever evaluated
FALSEevaluated 999 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
) {
0-999
1550 type = callType;-
1551 jsonObjectPtr = new (&allocData) QJsonObject();-
1552 }
never executed: end of block
else if (callType == QMetaType::QJsonValue
callType == QM...pe::QJsonValueDescription
TRUEnever evaluated
FALSEevaluated 999 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
) {
0-999
1553 type = callType;-
1554 jsonValuePtr = new (&allocData) QJsonValue();-
1555 }
never executed: end of block
else {
0
1556 type = -1;-
1557 qvariantPtr = new (&allocData) QVariant(callType, (void *)nullptr);-
1558 }
executed 999 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
999
1559}-
1560-
1561-
1562template <class T, class M>-
1563void CallArgument::fromContainerValue(const QV4::Object *object, int callType, M CallArgument::*member, bool &queryEngine)-
1564{-
1565 if (object
objectDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
&& object->isListType()
object->isListType()Description
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
0-16
1566 T* ptr = static_cast<T*>(QV4::SequencePrototype::getRawContainerPtr(object, callType));-
1567 if (ptr
ptrDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1568 (this->*member) = ptr;-
1569 type = callType;-
1570 queryEngine = false;-
1571 }
never executed: end of block
0
1572 }
never executed: end of block
0
1573}
executed 16 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
16
1574-
1575-
1576void CallArgument::fromValue(int callType, QV4::ExecutionEngine *engine, const QV4::Value &value)-
1577{-
1578 if (type != 0
type != 0Description
TRUEnever evaluated
FALSEevaluated 66024 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
) {
0-66024
1579 cleanup();-
1580 type = 0;-
1581 }
never executed: end of block
0
1582-
1583 QV4::Scope scope(engine);-
1584-
1585 bool queryEngine = false;-
1586 if (callType == qMetaTypeId<QJSValue>()
callType == qM...Id<QJSValue>()Description
TRUEevaluated 48 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquicklayouts
FALSEevaluated 65976 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
) {
48-65976
1587 qjsValuePtr = new (&allocData) QJSValue(scope.engine, value.asReturnedValue());-
1588 type = qMetaTypeId<QJSValue>();-
1589 }
executed 48 times by 2 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qquicklayouts
else if (callType == QMetaType::Int
callType == QMetaType::IntDescription
TRUEevaluated 32012 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 33964 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
) {
48-33964
1590 intValue = quint32(value.toInt32());-
1591 type = callType;-
1592 }
executed 32012 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
else if (callType == QMetaType::UInt
callType == QMetaType::UIntDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickitem2
FALSEevaluated 33962 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
) {
2-33962
1593 intValue = quint32(value.toUInt32());-
1594 type = callType;-
1595 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickitem2
else if (callType == QMetaType::Bool
callType == QMetaType::BoolDescription
TRUEevaluated 1834 times by 3 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEevaluated 32128 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
) {
2-32128
1596 boolValue = value.toBoolean();-
1597 type = callType;-
1598 }
executed 1834 times by 3 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
else if (callType == QMetaType::Double
callType == QMetaType::DoubleDescription
TRUEevaluated 1060 times by 7 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickflickable
  • tst_qquicklayouts
  • tst_qquicklistview
FALSEevaluated 31068 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
) {
1060-31068
1599 doubleValue = double(value.toNumber());-
1600 type = callType;-
1601 }
executed 1060 times by 7 tests: end of block
Executed by:
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickflickable
  • tst_qquicklayouts
  • tst_qquicklistview
else if (callType == QMetaType::Float
callType == QMetaType::FloatDescription
TRUEnever evaluated
FALSEevaluated 31068 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
) {
0-31068
1602 floatValue = float(value.toNumber());-
1603 type = callType;-
1604 }
never executed: end of block
else if (callType == QMetaType::QString
callType == QMetaType::QStringDescription
TRUEevaluated 24456 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
FALSEevaluated 6612 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
) {
0-24456
1605 if (value.isNull()
value.isNull()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 24454 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
|| value.isUndefined()
value.isUndefined()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 24452 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
)
2-24454
1606 qstringPtr = new (&allocData) QString();
executed 4 times by 1 test: qstringPtr = new (&allocData) QString();
Executed by:
  • tst_qqmlecmascript
4
1607 else-
1608 qstringPtr = new (&allocData) QString(value.toQStringNoThrow());
executed 24452 times by 15 tests: qstringPtr = new (&allocData) QString(value.toQStringNoThrow());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
24452
1609 type = callType;-
1610 }
executed 24456 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspritesequence
  • tst_quicktestmainwithsetup
else if (callType == QMetaType::QObjectStar
callType == QM...e::QObjectStarDescription
TRUEevaluated 54 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 6558 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
) {
54-24456
1611 qobjectPtr = nullptr;-
1612 if (const
const QV4::QOb...jectWrapper>()Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
QV4::QObjectWrapper *qobjectWrapper = value.as<QV4::QObjectWrapper>()
const QV4::QOb...jectWrapper>()Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
10-44
1613 qobjectPtr = qobjectWrapper->object();
executed 44 times by 1 test: qobjectPtr = qobjectWrapper->object();
Executed by:
  • tst_qqmlecmascript
44
1614 else if (const
const QV4::QQm...TypeWrapper>()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
QV4::QQmlTypeWrapper *qmlTypeWrapper = value.as<QV4::QQmlTypeWrapper>()
const QV4::QQm...TypeWrapper>()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
2-8
1615 queryEngine = qmlTypeWrapper->isSingleton();
executed 2 times by 1 test: queryEngine = qmlTypeWrapper->isSingleton();
Executed by:
  • tst_qqmlecmascript
2
1616 type = callType;-
1617 }
executed 54 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == qMetaTypeId<QVariant>()
callType == qM...Id<QVariant>()Description
TRUEevaluated 3126 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
FALSEevaluated 3432 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
54-3432
1618 qvariantPtr = new (&allocData) QVariant(scope.engine->toVariant(value, -1));-
1619 type = callType;-
1620 }
executed 3126 times by 6 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
else if (callType == qMetaTypeId<QList<QObject*> >()
callType == qM...<QObject*> >()Description
TRUEnever evaluated
FALSEevaluated 3432 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
0-3432
1621 qlistPtr = new (&allocData) QList<QObject *>();-
1622 QV4::ScopedArrayObject array(scope, value);-
1623 if (array
arrayDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1624 Scoped<QV4::QObjectWrapper> qobjectWrapper(scope);-
1625-
1626 uint length = array->getLength();-
1627 for (uint ii = 0; ii < length
ii < lengthDescription
TRUEnever evaluated
FALSEnever evaluated
; ++ii) {
0
1628 QObject *o = nullptr;-
1629 qobjectWrapper = array->get(ii);-
1630 if (!!qobjectWrapper
!!qobjectWrapperDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1631 o = qobjectWrapper->object();
never executed: o = qobjectWrapper->object();
0
1632 qlistPtr->append(o);-
1633 }
never executed: end of block
0
1634 }
never executed: end of block
else {
0
1635 QObject *o = nullptr;-
1636 if (const
const QV4::QOb...jectWrapper>()Description
TRUEnever evaluated
FALSEnever evaluated
QV4::QObjectWrapper *qobjectWrapper = value.as<QV4::QObjectWrapper>()
const QV4::QOb...jectWrapper>()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1637 o = qobjectWrapper->object();
never executed: o = qobjectWrapper->object();
0
1638 qlistPtr->append(o);-
1639 }
never executed: end of block
0
1640 type = callType;-
1641 }
never executed: end of block
else if (callType == qMetaTypeId<QQmlV4Handle>()
callType == qM...QmlV4Handle>()Description
TRUEevaluated 308 times by 2 tests
Evaluated by:
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
FALSEevaluated 3124 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
0-3124
1642 handlePtr = new (&allocData) QQmlV4Handle(value.asReturnedValue());-
1643 type = callType;-
1644 }
executed 308 times by 2 tests: end of block
Executed by:
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
else if (callType == QMetaType::QJsonArray
callType == QM...pe::QJsonArrayDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 3120 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
4-3120
1645 QV4::ScopedArrayObject a(scope, value);-
1646 jsonArrayPtr = new (&allocData) QJsonArray(QV4::JsonObject::toJsonArray(a));-
1647 type = callType;-
1648 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == QMetaType::QJsonObject
callType == QM...e::QJsonObjectDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 3116 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
4-3116
1649 QV4::ScopedObject o(scope, value);-
1650 jsonObjectPtr = new (&allocData) QJsonObject(QV4::JsonObject::toJsonObject(o));-
1651 type = callType;-
1652 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == QMetaType::QJsonValue
callType == QM...pe::QJsonValueDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 3098 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
4-3098
1653 jsonValuePtr = new (&allocData) QJsonValue(QV4::JsonObject::toJsonValue(value));-
1654 type = callType;-
1655 }
executed 18 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == QMetaType::Void
callType == QMetaType::VoidDescription
TRUEnever evaluated
FALSEevaluated 3098 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
0-3098
1656 *qvariantPtr = QVariant();-
1657-
1658 }
never executed: end of block
else if (callType == qMetaTypeId<std::vector<int>>()
callType == qM...vector<int>>()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 3090 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
0-3090
1659 || callType == qMetaTypeId<std::vector<qreal>>()
callType == qM...ctor<qreal>>()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 3082 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
8-3082
1660 || callType == qMetaTypeId<std::vector<bool>>()
callType == qM...ector<bool>>()Description
TRUEnever evaluated
FALSEevaluated 3082 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
0-3082
1661 || callType == qMetaTypeId<std::vector<QString>>()
callType == qM...or<QString>>()Description
TRUEnever evaluated
FALSEevaluated 3082 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
0-3082
1662 || callType == qMetaTypeId<std::vector<QUrl>>()
callType == qM...ector<QUrl>>()Description
TRUEnever evaluated
FALSEevaluated 3082 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
0-3082
1663 || callType == qMetaTypeId<std::vector<QModelIndex>>()
callType == qM...ModelIndex>>()Description
TRUEnever evaluated
FALSEevaluated 3082 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
0-3082
1664 queryEngine = true;-
1665 const QV4::Object* object = value.as<QV4::Object>();-
1666 if (callType == qMetaTypeId<std::vector<int>>()
callType == qM...vector<int>>()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) {
8
1667 stdVectorIntPtr = nullptr;-
1668 fromContainerValue<std::vector<int>>(object, callType, &CallArgument::stdVectorIntPtr, queryEngine);-
1669 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == qMetaTypeId<std::vector<qreal>>()
callType == qM...ctor<qreal>>()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
) {
0-8
1670 stdVectorRealPtr = nullptr;-
1671 fromContainerValue<std::vector<qreal>>(object, callType, &CallArgument::stdVectorRealPtr, queryEngine);-
1672 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else if (callType == qMetaTypeId<std::vector<bool>>()
callType == qM...ector<bool>>()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-8
1673 stdVectorBoolPtr = nullptr;-
1674 fromContainerValue<std::vector<bool>>(object, callType, &CallArgument::stdVectorBoolPtr, queryEngine);-
1675 }
never executed: end of block
else if (callType == qMetaTypeId<std::vector<QString>>()
callType == qM...or<QString>>()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1676 stdVectorQStringPtr = nullptr;-
1677 fromContainerValue<std::vector<QString>>(object, callType, &CallArgument::stdVectorQStringPtr, queryEngine);-
1678 }
never executed: end of block
else if (callType == qMetaTypeId<std::vector<QUrl>>()
callType == qM...ector<QUrl>>()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1679 stdVectorQUrlPtr = nullptr;-
1680 fromContainerValue<std::vector<QUrl>>(object, callType, &CallArgument::stdVectorQUrlPtr, queryEngine);-
1681 }
never executed: end of block
else if (callType == qMetaTypeId<std::vector<QModelIndex>>()
callType == qM...ModelIndex>>()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1682 stdVectorQModelIndexPtr = nullptr;-
1683 fromContainerValue<std::vector<QModelIndex>>(object, callType, &CallArgument::stdVectorQModelIndexPtr, queryEngine);-
1684 }
never executed: end of block
0
1685-
1686 }
executed 16 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
else {
16
1687 queryEngine = true;-
1688 }
executed 3082 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
3082
1689-
1690 if (queryEngine
queryEngineDescription
TRUEevaluated 3100 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEevaluated 62924 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • ...
) {
3100-62924
1691 qvariantPtr = new (&allocData) QVariant();-
1692 type = -1;-
1693-
1694 QQmlEnginePrivate *ep = engine->qmlEngine()
engine->qmlEngine()Description
TRUEevaluated 3100 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEnever evaluated
? QQmlEnginePrivate::get(engine->qmlEngine()) : nullptr;
0-3100
1695 QVariant v = scope.engine->toVariant(value, callType);-
1696-
1697 if (v.userType() == callType
v.userType() == callTypeDescription
TRUEevaluated 270 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickflickable
  • tst_qquickitem
FALSEevaluated 2830 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
) {
270-2830
1698 *qvariantPtr = v;-
1699 }
executed 270 times by 6 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickflickable
  • tst_qquickitem
else if (v.canConvert(callType)
v.canConvert(callType)Description
TRUEevaluated 2816 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
) {
14-2816
1700 *qvariantPtr = v;-
1701 qvariantPtr->convert(callType);-
1702 }
executed 2816 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
else {
2816
1703 QQmlMetaObject mo = ep
epDescription
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
FALSEnever evaluated
? ep->rawMetaObjectForType(callType) : QQmlMetaObject();
0-14
1704 if (!mo.isNull()
!mo.isNull()Description
TRUEnever evaluated
FALSEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
) {
0-14
1705 QObject *obj = ep->toQObject(v);-
1706-
1707 if (obj != nullptr
obj != nullptrDescription
TRUEnever evaluated
FALSEnever evaluated
&& !QQmlMetaObject::canConvert(obj, mo)
!QQmlMetaObjec...nvert(obj, mo)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1708 obj = nullptr;
never executed: obj = nullptr;
0
1709-
1710 *qvariantPtr = QVariant(callType, &obj);-
1711 }
never executed: end of block
else {
0
1712 *qvariantPtr = QVariant(callType, (void *)nullptr);-
1713 }
executed 14 times by 2 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
14
1714 }-
1715 }-
1716}
executed 66024 times by 29 tests: end of block
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
66024
1717-
1718QV4::ReturnedValue CallArgument::toValue(QV4::ExecutionEngine *engine)-
1719{-
1720 QV4::Scope scope(engine);-
1721-
1722 if (type == qMetaTypeId<QJSValue>()
type == qMetaT...Id<QJSValue>()Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 48995 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
) {
8-48995
1723 return
executed 8 times by 2 tests: return QJSValuePrivate::convertedToValue(scope.engine, *qjsValuePtr);
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
QJSValuePrivate::convertedToValue(scope.engine, *qjsValuePtr);
executed 8 times by 2 tests: return QJSValuePrivate::convertedToValue(scope.engine, *qjsValuePtr);
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
8
1724 } else if (type == QMetaType::Int
type == QMetaType::IntDescription
TRUEevaluated 2032 times by 7 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
FALSEevaluated 46963 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
) {
2032-46963
1725 return
executed 2032 times by 7 tests: return QV4::Encode(int(intValue));
Executed by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
QV4::Encode(int(intValue));
executed 2032 times by 7 tests: return QV4::Encode(int(intValue));
Executed by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
2032
1726 } else if (type == QMetaType::UInt
type == QMetaType::UIntDescription
TRUEnever evaluated
FALSEevaluated 46963 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
) {
0-46963
1727 return
never executed: return QV4::Encode((uint)intValue);
QV4::Encode((uint)intValue);
never executed: return QV4::Encode((uint)intValue);
0
1728 } else if (type == QMetaType::Bool
type == QMetaType::BoolDescription
TRUEevaluated 2066 times by 8 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
FALSEevaluated 44897 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
2066-44897
1729 return
executed 2066 times by 8 tests: return QV4::Encode(boolValue);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
QV4::Encode(boolValue);
executed 2066 times by 8 tests: return QV4::Encode(boolValue);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
2066
1730 } else if (type == QMetaType::Double
type == QMetaType::DoubleDescription
TRUEevaluated 30 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
FALSEevaluated 44867 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
30-44867
1731 return
executed 30 times by 2 tests: return QV4::Encode(doubleValue);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
QV4::Encode(doubleValue);
executed 30 times by 2 tests: return QV4::Encode(doubleValue);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
30
1732 } else if (type == QMetaType::Float
type == QMetaType::FloatDescription
TRUEnever evaluated
FALSEevaluated 44867 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
0-44867
1733 return
never executed: return QV4::Encode(floatValue);
QV4::Encode(floatValue);
never executed: return QV4::Encode(floatValue);
0
1734 } else if (type == QMetaType::QString
type == QMetaType::QStringDescription
TRUEevaluated 214 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
FALSEevaluated 44653 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • ...
) {
214-44653
1735 return
executed 214 times by 8 tests: return QV4::Encode(engine->newString(*qstringPtr));
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
QV4::Encode(engine->newString(*qstringPtr));
executed 214 times by 8 tests: return QV4::Encode(engine->newString(*qstringPtr));
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
214
1736 } else if (type == QMetaType::QByteArray
type == QMetaType::QByteArrayDescription
TRUEnever evaluated
FALSEevaluated 44653 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • ...
) {
0-44653
1737 return
never executed: return QV4::Encode(engine->newArrayBuffer(*qbyteArrayPtr));
QV4::Encode(engine->newArrayBuffer(*qbyteArrayPtr));
never executed: return QV4::Encode(engine->newArrayBuffer(*qbyteArrayPtr));
0
1738 } else if (type == QMetaType::QObjectStar
type == QMetaType::QObjectStarDescription
TRUEevaluated 30 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 44623 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • ...
) {
30-44623
1739 QObject *object = qobjectPtr;-
1740 if (object
objectDescription
TRUEevaluated 30 times by 2 tests
Evaluated by:
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEnever evaluated
)
0-30
1741 QQmlData::get(object, true)->setImplicitDestructible();
executed 30 times by 2 tests: QQmlData::get(object, true)->setImplicitDestructible();
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
30
1742 return
executed 30 times by 2 tests: return QV4::QObjectWrapper::wrap(scope.engine, object);
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
QV4::QObjectWrapper::wrap(scope.engine, object);
executed 30 times by 2 tests: return QV4::QObjectWrapper::wrap(scope.engine, object);
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
30
1743 } else if (type == qMetaTypeId<QList<QObject *> >()
type == qMetaT...QObject *> >()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 44619 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • ...
) {
4-44619
1744-
1745-
1746 QList<QObject *> &list = *qlistPtr;-
1747 QV4::ScopedArrayObject array(scope, scope.engine->newArrayObject());-
1748 array->arrayReserve(list.count());-
1749 QV4::ScopedValue v(scope);-
1750 for (int ii = 0; ii < list.count()
ii < list.count()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
; ++ii)
4-8
1751 array->arrayPut(ii, (v = QV4::QObjectWrapper::wrap(scope.engine, list.at(ii))));
executed 8 times by 1 test: array->arrayPut(ii, (v = QV4::QObjectWrapper::wrap(scope.engine, list.at(ii))));
Executed by:
  • tst_qqmlecmascript
8
1752 array->setArrayLengthUnchecked(list.count());-
1753 return
executed 4 times by 1 test: return array.asReturnedValue();
Executed by:
  • tst_qqmlecmascript
array.asReturnedValue();
executed 4 times by 1 test: return array.asReturnedValue();
Executed by:
  • tst_qqmlecmascript
4
1754 } else if (type == qMetaTypeId<QQmlV4Handle>()
type == qMetaT...QmlV4Handle>()Description
TRUEevaluated 30154 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
FALSEevaluated 14465 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
) {
14465-30154
1755 return
executed 30154 times by 13 tests: return *handlePtr;
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
*handlePtr;
executed 30154 times by 13 tests: return *handlePtr;
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmltranslation
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
30154
1756 } else if (type == QMetaType::QJsonArray
type == QMetaType::QJsonArrayDescription
TRUEnever evaluated
FALSEevaluated 14465 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
) {
0-14465
1757 return
never executed: return QV4::JsonObject::fromJsonArray(scope.engine, *jsonArrayPtr);
QV4::JsonObject::fromJsonArray(scope.engine, *jsonArrayPtr);
never executed: return QV4::JsonObject::fromJsonArray(scope.engine, *jsonArrayPtr);
0
1758 } else if (type == QMetaType::QJsonObject
type == QMetaType::QJsonObjectDescription
TRUEnever evaluated
FALSEevaluated 14465 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
) {
0-14465
1759 return
never executed: return QV4::JsonObject::fromJsonObject(scope.engine, *jsonObjectPtr);
QV4::JsonObject::fromJsonObject(scope.engine, *jsonObjectPtr);
never executed: return QV4::JsonObject::fromJsonObject(scope.engine, *jsonObjectPtr);
0
1760 } else if (type == QMetaType::QJsonValue
type == QMetaType::QJsonValueDescription
TRUEnever evaluated
FALSEevaluated 14465 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
) {
0-14465
1761 return
never executed: return QV4::JsonObject::fromJsonValue(scope.engine, *jsonValuePtr);
QV4::JsonObject::fromJsonValue(scope.engine, *jsonValuePtr);
never executed: return QV4::JsonObject::fromJsonValue(scope.engine, *jsonValuePtr);
0
1762 } else if (type == -1
type == -1Description
TRUEevaluated 999 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
FALSEevaluated 13466 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
|| type == qMetaTypeId<QVariant>()
type == qMetaT...Id<QVariant>()Description
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
FALSEevaluated 13454 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
) {
12-13466
1763 QVariant value = *qvariantPtr;-
1764 QV4::ScopedValue rv(scope, scope.engine->fromVariant(value));-
1765 QV4::Scoped<QV4::QObjectWrapper> qobjectWrapper(scope, rv);-
1766 if (!!qobjectWrapper
!!qobjectWrapperDescription
TRUEevaluated 621 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
FALSEevaluated 390 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
) {
390-621
1767 if (QObject *object = qobjectWrapper->object()
QObject *objec...pper->object()Description
TRUEevaluated 621 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
FALSEnever evaluated
)
0-621
1768 QQmlData::get(object, true)->setImplicitDestructible();
executed 621 times by 4 tests: QQmlData::get(object, true)->setImplicitDestructible();
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
621
1769 }
executed 621 times by 4 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
621
1770 return
executed 1011 times by 11 tests: return rv->asReturnedValue();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
rv->asReturnedValue();
executed 1011 times by 11 tests: return rv->asReturnedValue();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
1011
1771 } else {-
1772 return
executed 13454 times by 22 tests: return QV4::Encode::undefined();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
QV4::Encode::undefined();
executed 13454 times by 22 tests: return QV4::Encode::undefined();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • tst_testfiltering
13454
1773 }-
1774}-
1775-
1776ReturnedValue QObjectMethod::create(ExecutionContext *scope, QObject *object, int index)-
1777{-
1778 Scope valueScope(scope);-
1779 Scoped<QObjectMethod> method(valueScope, valueScope.engine->memoryManager->allocate<QObjectMethod>(scope));-
1780 method->d()->setObject(object);-
1781-
1782 if (QQmlData *ddata = QQmlData::get(object)
QQmlData *ddat...a::get(object)Description
TRUEevaluated 67816 times by 62 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
FALSEnever evaluated
)
0-67816
1783 method->d()->setPropertyCache(ddata->propertyCache);
executed 67816 times by 62 tests: method->d()->setPropertyCache(ddata->propertyCache);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
67816
1784-
1785 method->d()->index = index;-
1786 return
executed 67816 times by 62 tests: return method.asReturnedValue();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
method.asReturnedValue();
executed 67816 times by 62 tests: return method.asReturnedValue();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
67816
1787}-
1788-
1789ReturnedValue QObjectMethod::create(ExecutionContext *scope, const QQmlValueTypeWrapper *valueType, int index)-
1790{-
1791 Scope valueScope(scope);-
1792 Scoped<QObjectMethod> method(valueScope, valueScope.engine->memoryManager->allocate<QObjectMethod>(scope));-
1793 method->d()->setPropertyCache(valueType->d()->propertyCache());-
1794 method->d()->index = index;-
1795 method->d()->valueTypeWrapper.set(valueScope.engine, valueType->d());-
1796 return
executed 344 times by 5 tests: return method.asReturnedValue();
Executed by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
method.asReturnedValue();
executed 344 times by 5 tests: return method.asReturnedValue();
Executed by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
344
1797}-
1798-
1799void Heap::QObjectMethod::init(QV4::ExecutionContext *scope)-
1800{-
1801 Heap::FunctionObject::init(scope);-
1802}
executed 68160 times by 62 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
68160
1803-
1804const QMetaObject *Heap::QObjectMethod::metaObject()-
1805{-
1806 if (propertyCache())-
1807 return propertyCache()->createMetaObject();-
1808 return object()->metaObject();-
1809}-
1810-
1811QV4::ReturnedValue QObjectMethod::method_toString(QV4::ExecutionEngine *engine) const-
1812{-
1813 QString result;-
1814 if (const
const QMetaObj...->metaObject()Description
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEnever evaluated
QMetaObject *metaObject = d()->metaObject()
const QMetaObj...->metaObject()Description
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEnever evaluated
) {
0-108
1815-
1816 result += QString::fromUtf8(metaObject->className()) +-
1817 QLatin1String("(0x") + QString::number((quintptr)d()->object(),16);-
1818-
1819 if (d()->object()
d()->object()Description
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEnever evaluated
) {
0-108
1820 QString objectName = d()->object()->objectName();-
1821 if (!objectName.isEmpty()
!objectName.isEmpty()Description
TRUEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEevaluated 90 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
)
18-90
1822 result += QLatin1String(", \"") + objectName + QLatin1Char('\"');
executed 18 times by 2 tests: result += QLatin1String(", \"") + objectName + QLatin1Char('\"');
Executed by:
  • tst_qqmlecmascript
  • tst_qquickdraghandler
18
1823 }
executed 108 times by 4 tests: end of block
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
108
1824-
1825 result += QLatin1Char(')');-
1826 }
executed 108 times by 4 tests: end of block
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
else {
108
1827 result = QLatin1String("null");-
1828 }
never executed: end of block
0
1829-
1830 return
executed 108 times by 4 tests: return engine->newString(result)->asReturnedValue();
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
engine->newString(result)->asReturnedValue();
executed 108 times by 4 tests: return engine->newString(result)->asReturnedValue();
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
108
1831}-
1832-
1833QV4::ReturnedValue QObjectMethod::method_destroy(QV4::ExecutionEngine *engine, const Value *args, int argc) const-
1834{-
1835 if (!d()->object()
!d()->object()Description
TRUEnever evaluated
FALSEevaluated 246 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
)
0-246
1836 return
never executed: return Encode::undefined();
Encode::undefined();
never executed: return Encode::undefined();
0
1837 if (QQmlData::keepAliveDuringGarbageCollection(d()->object())
QQmlData::keep...d()->object())Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 236 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
)
10-236
1838 return
executed 10 times by 1 test: return engine->throwError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Invalid attempt to destroy() an indestructible object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid attempt to destroy() an indestructible object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()));
Executed by:
  • tst_qqmlecmascript
engine->throwError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Invalid attempt to destroy() an indestructible object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid attempt to destroy() an indestructible object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 10 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlecmascript
qstring_literal_temp;
executed 10 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlecmascript
}()));
executed 10 times by 1 test: return engine->throwError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Invalid attempt to destroy() an indestructible object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid attempt to destroy() an indestructible object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()));
Executed by:
  • tst_qqmlecmascript
10
1839-
1840 int delay = 0;-
1841 if (argc > 0
argc > 0Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
FALSEevaluated 230 times by 11 tests
Evaluated by:
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
)
6-230
1842 delay = args[0].toUInt32();
executed 6 times by 2 tests: delay = args[0].toUInt32();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
6
1843-
1844 if (delay > 0
delay > 0Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
FALSEevaluated 230 times by 11 tests
Evaluated by:
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
)
6-230
1845 QTimer::singleShot(delay, d()->object(), qFlagLocation("1""deleteLater()" "\0" __FILE__ ":" "1929"));
executed 6 times by 2 tests: QTimer::singleShot(delay, d()->object(), qFlagLocation("1""deleteLater()" "\0" __FILE__ ":" "1929"));
Executed by:
  • tst_examples
  • tst_qqmlecmascript
6
1846 else-
1847 d()->object()->deleteLater();
executed 230 times by 11 tests: d()->object()->deleteLater();
Executed by:
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
230
1848-
1849 return
executed 236 times by 12 tests: return Encode::undefined();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
Encode::undefined();
executed 236 times by 12 tests: return Encode::undefined();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
236
1850}-
1851-
1852ReturnedValue QObjectMethod::virtualCall(const FunctionObject *m, const Value *thisObject, const Value *argv, int argc)-
1853{-
1854 const QObjectMethod *This = static_cast<const QObjectMethod*>(m);-
1855 return
executed 64330 times by 60 tests: return This->callInternal(thisObject, argv, argc);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
This->callInternal(thisObject, argv, argc);
executed 64330 times by 60 tests: return This->callInternal(thisObject, argv, argc);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
64330
1856}-
1857-
1858ReturnedValue QObjectMethod::callInternal(const Value *thisObject, const Value *argv, int argc) const-
1859{-
1860 ExecutionEngine *v4 = engine();-
1861 if (d()->index == DestroyMethod
d()->index == DestroyMethodDescription
TRUEevaluated 246 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
FALSEevaluated 64084 times by 56 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
)
246-64084
1862 return
executed 246 times by 12 tests: return method_destroy(v4, argv, argc);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
method_destroy(v4, argv, argc);
executed 246 times by 12 tests: return method_destroy(v4, argv, argc);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickcustomparticle
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
246
1863 else if (d()->index == ToStringMethod
d()->index == ToStringMethodDescription
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
FALSEevaluated 63976 times by 54 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
)
108-63976
1864 return
executed 108 times by 4 tests: return method_toString(v4);
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
method_toString(v4);
executed 108 times by 4 tests: return method_toString(v4);
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qquickdraghandler
108
1865-
1866 QQmlObjectOrGadget object(d()->object());-
1867 if (!d()->object()
!d()->object()Description
TRUEevaluated 344 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
FALSEevaluated 63632 times by 54 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
) {
344-63632
1868 if (!d()->valueTypeWrapper
!d()->valueTypeWrapperDescription
TRUEnever evaluated
FALSEevaluated 344 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
)
0-344
1869 return
never executed: return Encode::undefined();
Encode::undefined();
never executed: return Encode::undefined();
0
1870-
1871 object = QQmlObjectOrGadget(d()->propertyCache(), d()->valueTypeWrapper->gadgetPtr);-
1872 }
executed 344 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
344
1873-
1874 QQmlPropertyData method;-
1875-
1876 if (d()->propertyCache()
d()->propertyCache()Description
TRUEevaluated 61124 times by 53 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
FALSEevaluated 2852 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
) {
2852-61124
1877 QQmlPropertyData *data = d()->propertyCache()->method(d()->index);-
1878 if (!data
!dataDescription
TRUEnever evaluated
FALSEevaluated 61124 times by 53 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
)
0-61124
1879 return
never executed: return QV4::Encode::undefined();
QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
1880 method = *data;-
1881 }
executed 61124 times by 53 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
else {
61124
1882 const QMetaObject *mo = d()->object()->metaObject();-
1883 const QMetaMethod moMethod = mo->method(d()->index);-
1884 method.load(moMethod);-
1885-
1886 if (method.coreIndex() == -1
method.coreIndex() == -1Description
TRUEnever evaluated
FALSEevaluated 2852 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
)
0-2852
1887 return
never executed: return QV4::Encode::undefined();
QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
1888-
1889-
1890 QByteArray methodName = moMethod.name();-
1891 const int methodOffset = mo->methodOffset();-
1892 for (int ii = d()->index - 1; ii >= methodOffset
ii >= methodOffsetDescription
TRUEevaluated 12876 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
FALSEevaluated 2852 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
; --ii) {
2852-12876
1893 if (methodName == mo->method(ii).name()
methodName == ...hod(ii).name()Description
TRUEnever evaluated
FALSEevaluated 12876 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
) {
0-12876
1894 method.setOverload(true);-
1895 method.setOverrideIndexIsProperty(0);-
1896 method.setOverrideIndex(ii);-
1897 break;
never executed: break;
0
1898 }-
1899 }
executed 12876 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
12876
1900 }
executed 2852 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
2852
1901-
1902 Scope scope(v4);-
1903 JSCallData cData(scope, argc, argv, thisObject);-
1904 CallData *callData = cData.callData();-
1905-
1906 if (method.isV4Function()
method.isV4Function()Description
TRUEevaluated 12294 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
FALSEevaluated 51682 times by 49 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • ...
) {
12294-51682
1907 QV4::ScopedValue rv(scope, QV4::Primitive::undefinedValue());-
1908 QQmlV4Function func(callData, rv, v4);-
1909 QQmlV4Function *funcptr = &func;-
1910-
1911 void *args[] = { nullptr, &funcptr };-
1912 object.metacall(QMetaObject::InvokeMetaMethod, method.coreIndex(), args);-
1913-
1914 return
executed 12294 times by 31 tests: return rv->asReturnedValue();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
rv->asReturnedValue();
executed 12294 times by 31 tests: return rv->asReturnedValue();
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
12294
1915 }-
1916-
1917 if (!method.isOverload()
!method.isOverload()Description
TRUEevaluated 46838 times by 47 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • ...
FALSEevaluated 4844 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
) {
4844-46838
1918 return
executed 46838 times by 47 tests: return CallPrecise(object, method, v4, callData);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • ...
CallPrecise(object, method, v4, callData);
executed 46838 times by 47 tests: return CallPrecise(object, method, v4, callData);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • ...
46838
1919 } else {-
1920 return
executed 4844 times by 15 tests: return CallOverloaded(object, method, v4, callData, d()->propertyCache());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
CallOverloaded(object, method, v4, callData, d()->propertyCache());
executed 4844 times by 15 tests: return CallOverloaded(object, method, v4, callData, d()->propertyCache());
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquickpathview
  • tst_quicktestmainwithsetup
4844
1921 }-
1922}-
1923-
1924const QV4::VTable QObjectMethod::static_vtbl = { (std::is_same<QObjectMethod::SuperClass, Object>::value) ? nullptr : &QObjectMethod::SuperClass::static_vtbl, (sizeof(QObjectMethod::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QObjectMethod::Data) + (QObjectMethod::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QObjectMethod::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QObjectMethod::IsExecutionContext, QObjectMethod::IsString, QObjectMethod::IsObject, QObjectMethod::IsFunctionObject, QObjectMethod::IsErrorObject, QObjectMethod::IsArrayData, QObjectMethod::IsStringOrSymbol, QObjectMethod::MyType, { 0, 0, 0, 0 }, "QObjectMethod", QObjectMethod::virtualDestroy, QObjectMethod::Data::markObjects, QObjectMethod::virtualIsEqualTo, QObjectMethod::virtualGet, QObjectMethod::virtualPut, QObjectMethod::virtualDeleteProperty, QObjectMethod::virtualHasProperty, QObjectMethod::virtualGetOwnProperty, QObjectMethod::virtualDefineOwnProperty, QObjectMethod::virtualIsExtensible, QObjectMethod::virtualPreventExtensions, QObjectMethod::virtualGetPrototypeOf, QObjectMethod::virtualSetPrototypeOf, QObjectMethod::virtualGetLength, QObjectMethod::virtualAdvanceIterator, QObjectMethod::virtualInstanceOf, QObjectMethod::virtualCall, QObjectMethod::virtualCallAsConstructor, };-
1925-
1926-
1927void Heap::QMetaObjectWrapper::init(const QMetaObject *metaObject)-
1928{-
1929 FunctionObject::init();-
1930 this->metaObject = metaObject;-
1931 constructors = nullptr;-
1932 constructorCount = 0;-
1933}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qjsengine
6
1934-
1935void Heap::QMetaObjectWrapper::destroy()-
1936{-
1937 delete[] constructors;-
1938}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qjsengine
6
1939-
1940void Heap::QMetaObjectWrapper::ensureConstructorsCache() {-
1941-
1942 const int count = metaObject->constructorCount();-
1943 if (constructorCount != count
constructorCount != countDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
2-6
1944 delete[] constructors;-
1945 constructorCount = count;-
1946 if (count == 0
count == 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
0-2
1947 constructors = nullptr;-
1948 return;
never executed: return;
0
1949 }-
1950 constructors = new QQmlPropertyData[count];-
1951-
1952 for (int i = 0; i < count
i < countDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
; ++i) {
2-8
1953 QMetaMethod method = metaObject->constructor(i);-
1954 QQmlPropertyData &d = constructors[i];-
1955 d.load(method);-
1956 d.setCoreIndex(i);-
1957 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qjsengine
8
1958 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qjsengine
2
1959}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qjsengine
8
1960-
1961-
1962ReturnedValue QMetaObjectWrapper::create(ExecutionEngine *engine, const QMetaObject* metaObject) {-
1963-
1964 QV4::Scope scope(engine);-
1965 Scoped<QMetaObjectWrapper> mo(scope, engine->memoryManager->allocate<QV4::QMetaObjectWrapper>(metaObject)->asReturnedValue());-
1966 mo->init(engine);-
1967 return
executed 6 times by 1 test: return mo->asReturnedValue();
Executed by:
  • tst_qjsengine
mo->asReturnedValue();
executed 6 times by 1 test: return mo->asReturnedValue();
Executed by:
  • tst_qjsengine
6
1968}-
1969-
1970void QMetaObjectWrapper::init(ExecutionEngine *) {-
1971 const QMetaObject & mo = *d()->metaObject;-
1972-
1973 for (int i = 0; i < mo.enumeratorCount()
i < mo.enumeratorCount()Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qjsengine
; i++) {
6-12
1974 QMetaEnum Enum = mo.enumerator(i);-
1975 for (int k = 0; k < Enum.keyCount()
k < Enum.keyCount()Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qjsengine
; k++) {
12-36
1976 const char* key = Enum.key(k);-
1977 const int value = Enum.value(k);-
1978 defineReadonlyProperty(QLatin1String(key), Primitive::fromInt32(value));-
1979 }
executed 36 times by 1 test: end of block
Executed by:
  • tst_qjsengine
36
1980 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qjsengine
12
1981}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qjsengine
6
1982-
1983ReturnedValue QMetaObjectWrapper::virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *)-
1984{-
1985 const QMetaObjectWrapper *This = static_cast<const QMetaObjectWrapper*>(f);-
1986 return
executed 8 times by 1 test: return This->constructInternal(argv, argc);
Executed by:
  • tst_qjsengine
This->constructInternal(argv, argc);
executed 8 times by 1 test: return This->constructInternal(argv, argc);
Executed by:
  • tst_qjsengine
8
1987}-
1988-
1989ReturnedValue QMetaObjectWrapper::constructInternal(const Value *argv, int argc) const-
1990{-
1991-
1992 d()->ensureConstructorsCache();-
1993-
1994 ExecutionEngine *v4 = engine();-
1995 const QMetaObject* mo = d()->metaObject;-
1996 if (d()->constructorCount == 0
d()->constructorCount == 0Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
0-8
1997 return
never executed: return v4->throwTypeError(QLatin1String(mo->className()) + QLatin1String(" has no invokable constructor"));
v4->throwTypeError(QLatin1String(mo->className())
never executed: return v4->throwTypeError(QLatin1String(mo->className()) + QLatin1String(" has no invokable constructor"));
0
1998 + QLatin1String(" has no invokable constructor"));
never executed: return v4->throwTypeError(QLatin1String(mo->className()) + QLatin1String(" has no invokable constructor"));
0
1999 }-
2000-
2001 Scope scope(v4);-
2002 Scoped<QObjectWrapper> object(scope);-
2003 JSCallData cData(scope, argc, argv);-
2004 CallData *callData = cData.callData();-
2005-
2006 if (d()->constructorCount == 1
d()->constructorCount == 1Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
0-8
2007 object = callConstructor(d()->constructors[0], v4, callData);-
2008 }
never executed: end of block
0
2009 else {-
2010 object = callOverloadedConstructor(v4, callData);-
2011 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qjsengine
8
2012 Scoped<QMetaObjectWrapper> metaObject(scope, this);-
2013 object->defineDefaultProperty(v4->id_constructor(), metaObject);-
2014 object->setPrototypeOf(const_cast<QMetaObjectWrapper*>(this));-
2015 return
executed 8 times by 1 test: return object.asReturnedValue();
Executed by:
  • tst_qjsengine
object.asReturnedValue();
executed 8 times by 1 test: return object.asReturnedValue();
Executed by:
  • tst_qjsengine
8
2016-
2017}-
2018-
2019ReturnedValue QMetaObjectWrapper::callConstructor(const QQmlPropertyData &data, QV4::ExecutionEngine *engine, QV4::CallData *callArgs) const {-
2020-
2021 const QMetaObject* mo = d()->metaObject;-
2022 const QQmlStaticMetaObject object(mo);-
2023 return
never executed: return CallPrecise(object, data, engine, callArgs, QMetaObject::CreateInstance);
CallPrecise(object, data, engine, callArgs, QMetaObject::CreateInstance);
never executed: return CallPrecise(object, data, engine, callArgs, QMetaObject::CreateInstance);
0
2024}-
2025-
2026-
2027ReturnedValue QMetaObjectWrapper::callOverloadedConstructor(QV4::ExecutionEngine *engine, QV4::CallData *callArgs) const {-
2028 const int numberOfConstructors = d()->constructorCount;-
2029 const int argumentCount = callArgs->argc();-
2030 const QQmlStaticMetaObject object(d()->metaObject);-
2031-
2032 QQmlPropertyData best;-
2033 int bestParameterScore = 0x7fffffff;-
2034 int bestMatchScore = 0x7fffffff;-
2035-
2036 QV4::Scope scope(engine);-
2037 QV4::ScopedValue v(scope);-
2038-
2039 for (int i = 0; i < numberOfConstructors
i < numberOfConstructorsDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qjsengine
; i++) {
4-24
2040 const QQmlPropertyData & attempt = d()->constructors[i];-
2041 QQmlMetaObject::ArgTypeStorage storage;-
2042 int methodArgumentCount = 0;-
2043 int *methodArgTypes = nullptr;-
2044 if (attempt.hasArguments()
attempt.hasArguments()Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
8-16
2045 int *args = object.constructorParameterTypes(attempt.coreIndex(), &storage, nullptr);-
2046 if (!args
!argsDescription
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_qjsengine
)
0-16
2047 continue;
never executed: continue;
0
2048-
2049 methodArgumentCount = args[0];-
2050 methodArgTypes = args + 1;-
2051 }
executed 16 times by 1 test: end of block
Executed by:
  • tst_qjsengine
16
2052-
2053 if (methodArgumentCount > argumentCount
methodArgument... argumentCountDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 22 times by 1 test
Evaluated by:
  • tst_qjsengine
)
2-22
2054 continue;
executed 2 times by 1 test: continue;
Executed by:
  • tst_qjsengine
2
2055-
2056 int methodParameterScore = argumentCount - methodArgumentCount;-
2057 if (methodParameterScore > bestParameterScore
methodParamete...ParameterScoreDescription
TRUEnever evaluated
FALSEevaluated 22 times by 1 test
Evaluated by:
  • tst_qjsengine
)
0-22
2058 continue;
never executed: continue;
0
2059-
2060 int methodMatchScore = 0;-
2061 for (int ii = 0; ii < methodArgumentCount
ii < methodArgumentCountDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 22 times by 1 test
Evaluated by:
  • tst_qjsengine
; ++ii)
16-22
2062 methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]);
executed 16 times by 1 test: methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]);
Executed by:
  • tst_qjsengine
16
2063-
2064 if (bestParameterScore > methodParameterScore
bestParameterS...ParameterScoreDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qjsengine
|| bestMatchScore > methodMatchScore
bestMatchScore...thodMatchScoreDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
) {
2-16
2065 best = attempt;-
2066 bestParameterScore = methodParameterScore;-
2067 bestMatchScore = methodMatchScore;-
2068 }
executed 20 times by 1 test: end of block
Executed by:
  • tst_qjsengine
20
2069-
2070 if (bestParameterScore == 0
bestParameterScore == 0Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qjsengine
&& bestMatchScore == 0
bestMatchScore == 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
)
4-12
2071 break;
executed 4 times by 1 test: break;
Executed by:
  • tst_qjsengine
4
2072 }
executed 18 times by 1 test: end of block
Executed by:
  • tst_qjsengine
;
18
2073-
2074 if (best.isValid()
best.isValid()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEnever evaluated
) {
0-8
2075 return
executed 8 times by 1 test: return CallPrecise(object, best, engine, callArgs, QMetaObject::CreateInstance);
Executed by:
  • tst_qjsengine
CallPrecise(object, best, engine, callArgs, QMetaObject::CreateInstance);
executed 8 times by 1 test: return CallPrecise(object, best, engine, callArgs, QMetaObject::CreateInstance);
Executed by:
  • tst_qjsengine
8
2076 } else {-
2077 QString error = QLatin1String("Unable to determine callable overload. Candidates are:");-
2078 for (int i = 0; i < numberOfConstructors
i < numberOfConstructorsDescription
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
2079 const QQmlPropertyData & candidate = d()->constructors[i];-
2080 error += QLatin1String("\n ") +-
2081 QString::fromUtf8(d()->metaObject->constructor(candidate.coreIndex())-
2082 .methodSignature());-
2083 }
never executed: end of block
0
2084-
2085 return
never executed: return engine->throwError(error);
engine->throwError(error);
never executed: return engine->throwError(error);
0
2086 }-
2087}-
2088-
2089bool QMetaObjectWrapper::virtualIsEqualTo(Managed *a, Managed *b)-
2090{-
2091 ((a->as<QMetaObjectWrapper>()) ? static_cast<void>(0) : qt_assert("a->as<QMetaObjectWrapper>()", __FILE__, 2175));-
2092 QMetaObjectWrapper *aMetaObject = a->as<QMetaObjectWrapper>();-
2093 QMetaObjectWrapper *bMetaObject = b->as<QMetaObjectWrapper>();-
2094 if (!bMetaObject
!bMetaObjectDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qjsengine
)
0-2
2095 return
never executed: return true;
true;
never executed: return true;
0
2096 return
executed 2 times by 1 test: return aMetaObject->metaObject() == bMetaObject->metaObject();
Executed by:
  • tst_qjsengine
aMetaObject->metaObject() == bMetaObject->metaObject();
executed 2 times by 1 test: return aMetaObject->metaObject() == bMetaObject->metaObject();
Executed by:
  • tst_qjsengine
2
2097}-
2098-
2099const QV4::VTable QMetaObjectWrapper::static_vtbl = { (std::is_same<QMetaObjectWrapper::SuperClass, Object>::value) ? nullptr : &QMetaObjectWrapper::SuperClass::static_vtbl, (sizeof(QMetaObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QMetaObjectWrapper::Data) + (QMetaObjectWrapper::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QMetaObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QMetaObjectWrapper::IsExecutionContext, QMetaObjectWrapper::IsString, QMetaObjectWrapper::IsObject, QMetaObjectWrapper::IsFunctionObject, QMetaObjectWrapper::IsErrorObject, QMetaObjectWrapper::IsArrayData, QMetaObjectWrapper::IsStringOrSymbol, QMetaObjectWrapper::MyType, { 0, 0, 0, 0 }, "QMetaObjectWrapper", QMetaObjectWrapper::virtualDestroy, QMetaObjectWrapper::Data::markObjects, QMetaObjectWrapper::virtualIsEqualTo, QMetaObjectWrapper::virtualGet, QMetaObjectWrapper::virtualPut, QMetaObjectWrapper::virtualDeleteProperty, QMetaObjectWrapper::virtualHasProperty, QMetaObjectWrapper::virtualGetOwnProperty, QMetaObjectWrapper::virtualDefineOwnProperty, QMetaObjectWrapper::virtualIsExtensible, QMetaObjectWrapper::virtualPreventExtensions, QMetaObjectWrapper::virtualGetPrototypeOf, QMetaObjectWrapper::virtualSetPrototypeOf, QMetaObjectWrapper::virtualGetLength, QMetaObjectWrapper::virtualAdvanceIterator, QMetaObjectWrapper::virtualInstanceOf, QMetaObjectWrapper::virtualCall, QMetaObjectWrapper::virtualCallAsConstructor, };-
2100-
2101-
2102-
2103-
2104void Heap::QmlSignalHandler::init(QObject *object, int signalIndex)-
2105{-
2106 Object::init();-
2107 this->signalIndex = signalIndex;-
2108 setObject(object);-
2109}
executed 14 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
14
2110-
2111const QV4::VTable QmlSignalHandler::static_vtbl = { (std::is_same<QmlSignalHandler::SuperClass, Object>::value) ? nullptr : &QmlSignalHandler::SuperClass::static_vtbl, (sizeof(QmlSignalHandler::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QmlSignalHandler::Data) + (QmlSignalHandler::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QmlSignalHandler::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QmlSignalHandler::IsExecutionContext, QmlSignalHandler::IsString, QmlSignalHandler::IsObject, QmlSignalHandler::IsFunctionObject, QmlSignalHandler::IsErrorObject, QmlSignalHandler::IsArrayData, QmlSignalHandler::IsStringOrSymbol, QmlSignalHandler::MyType, { 0, 0, 0, 0 }, "QmlSignalHandler", QmlSignalHandler::virtualDestroy, QmlSignalHandler::Data::markObjects, QmlSignalHandler::virtualIsEqualTo, QmlSignalHandler::virtualGet, QmlSignalHandler::virtualPut, QmlSignalHandler::virtualDeleteProperty, QmlSignalHandler::virtualHasProperty, QmlSignalHandler::virtualGetOwnProperty, QmlSignalHandler::virtualDefineOwnProperty, QmlSignalHandler::virtualIsExtensible, QmlSignalHandler::virtualPreventExtensions, QmlSignalHandler::virtualGetPrototypeOf, QmlSignalHandler::virtualSetPrototypeOf, QmlSignalHandler::virtualGetLength, QmlSignalHandler::virtualAdvanceIterator, QmlSignalHandler::virtualInstanceOf, QmlSignalHandler::virtualCall, QmlSignalHandler::virtualCallAsConstructor, };-
2112-
2113void QmlSignalHandler::initProto(ExecutionEngine *engine)-
2114{-
2115 if (engine->signalHandlerPrototype()->d_unchecked()
engine->signal...>d_unchecked()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
)
6-8
2116 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_qqmlecmascript
8
2117-
2118 Scope scope(engine);-
2119 ScopedObject o(scope, engine->newObject());-
2120 QV4::ScopedString connect(scope, engine->newIdentifier(([]() noexcept -> QString { enum { Size = sizeof(u"" "connect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "connect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 6 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlecmascript
qstring_literal_temp;
executed 6 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlecmascript
}())));
6
2121 QV4::ScopedString disconnect(scope, engine->newIdentifier(([]() noexcept -> QString { enum { Size = sizeof(u"" "disconnect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "disconnect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 6 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlecmascript
qstring_literal_temp;
executed 6 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlecmascript
}())));
6
2122 o->put(connect, QV4::ScopedValue(scope, engine->functionPrototype()->get(connect)));-
2123 o->put(disconnect, QV4::ScopedValue(scope, engine->functionPrototype()->get(disconnect)));-
2124-
2125 engine->jsObjects[QV4::ExecutionEngine::SignalHandlerProto] = o->d();-
2126}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
6
2127-
2128void MultiplyWrappedQObjectMap::insert(QObject *key, Heap::Object *value)-
2129{-
2130 QV4::WeakValue v;-
2131 v.set(value->internalClass->engine, value);-
2132 QHash<QObject*, QV4::WeakValue>::insert(key, v);-
2133 connect(key, qFlagLocation("2""destroyed(QObject*)" "\0" __FILE__ ":" "2217"), this, qFlagLocation("1""removeDestroyedObject(QObject*)" "\0" __FILE__ ":" "2217"));-
2134}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qjsengine
  • tst_qqmlecmascript
4
2135-
2136-
2137-
2138MultiplyWrappedQObjectMap::Iterator MultiplyWrappedQObjectMap::erase(MultiplyWrappedQObjectMap::Iterator it)-
2139{-
2140 disconnect(it.key(), qFlagLocation("2""destroyed(QObject*)" "\0" __FILE__ ":" "2224"), this, qFlagLocation("1""removeDestroyedObject(QObject*)" "\0" __FILE__ ":" "2224"));-
2141 return
never executed: return QHash<QObject*, QV4::WeakValue>::erase(it);
QHash<QObject*, QV4::WeakValue>::erase(it);
never executed: return QHash<QObject*, QV4::WeakValue>::erase(it);
0
2142}-
2143-
2144void MultiplyWrappedQObjectMap::remove(QObject *key)-
2145{-
2146 Iterator it = find(key);-
2147 if (it == end()
it == end()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2148 return;
never executed: return;
0
2149 erase(it);-
2150}
never executed: end of block
0
2151-
2152void MultiplyWrappedQObjectMap::mark(QObject *key, MarkStack *markStack)-
2153{-
2154 Iterator it = find(key);-
2155 if (it == end()
it == end()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2156 return;
never executed: return;
0
2157 it->markOnce(markStack);-
2158}
never executed: end of block
0
2159-
2160void MultiplyWrappedQObjectMap::removeDestroyedObject(QObject *object)-
2161{-
2162 QHash<QObject*, QV4::WeakValue>::remove(object);-
2163}
never executed: end of block
0
2164-
2165-
2166-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0