OpenCoverage

qqmlglobal.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlglobal.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5QQmlValueTypeProvider::QQmlValueTypeProvider()-
6 : next(nullptr)-
7{-
8}
executed 594 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
594
9-
10QQmlValueTypeProvider::~QQmlValueTypeProvider()-
11{-
12 QQml_removeValueTypeProvider(this);-
13}
executed 594 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
594
14-
15const QMetaObject *QQmlValueTypeProvider::metaObjectForMetaType(int type)-
16{-
17 QQmlValueTypeProvider *p = this;-
18 do {-
19 if (const
const QMetaObj...MetaType(type)Description
TRUEevaluated 12919 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem2
  • ...
FALSEevaluated 669352 times by 130 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
QMetaObject *mo = p->getMetaObjectForMetaType(type)
const QMetaObj...MetaType(type)Description
TRUEevaluated 12919 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem2
  • ...
FALSEevaluated 669352 times by 130 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
)
12919-669352
20 return
executed 12919 times by 36 tests: return mo;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem2
  • ...
mo;
executed 12919 times by 36 tests: return mo;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem2
  • ...
12919
21 }
executed 669352 times by 130 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
while ((
(p = p->next)Description
TRUEevaluated 334605 times by 123 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
FALSEevaluated 334747 times by 130 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
p = p->next)
(p = p->next)Description
TRUEevaluated 334605 times by 123 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
FALSEevaluated 334747 times by 130 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
);
334605-669352
22-
23 return
executed 334747 times by 130 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
nullptr;
executed 334747 times by 130 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
334747
24}-
25-
26bool QQmlValueTypeProvider::initValueType(int type, QVariant& dst)-
27{-
28 QQmlValueTypeProvider *p = this;-
29 do {-
30 if (p->init(type, dst)
p->init(type, dst)Description
TRUEevaluated 282 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEnever evaluated
)
0-282
31 return
executed 282 times by 12 tests: return true;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
true;
executed 282 times by 12 tests: return true;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
282
32 }
never executed: end of block
while ((
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
p = p->next)
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
);
0
33-
34 return
never executed: return false;
false;
never executed: return false;
0
35}-
36-
37QVariant QQmlValueTypeProvider::createValueType(int type, int argc, const void *argv[])-
38{-
39 QVariant v;-
40-
41 QQmlValueTypeProvider *p = this;-
42 do {-
43 if (p->create(type, argc, argv, &v)
p->create(type...rgc, argv, &v)Description
TRUEevaluated 288 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquickworkerscript
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlvaluetypes
)
8-288
44 return
executed 288 times by 6 tests: return v;
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquickworkerscript
v;
executed 288 times by 6 tests: return v;
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickitem2
  • tst_qquickworkerscript
288
45 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlvaluetypes
while ((
(p = p->next)Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlvaluetypes
p = p->next)
(p = p->next)Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlvaluetypes
);
0-8
46-
47 return
executed 8 times by 1 test: return QVariant();
Executed by:
  • tst_qqmlvaluetypes
QVariant();
executed 8 times by 1 test: return QVariant();
Executed by:
  • tst_qqmlvaluetypes
8
48}-
49-
50bool QQmlValueTypeProvider::createValueFromString(int type, const QString &s, void *data, size_t n)-
51{-
52 ((data) ? static_cast<void>(0) : qt_assert("data", __FILE__, 97));-
53-
54 QQmlValueTypeProvider *p = this;-
55 do {-
56 if (p->createFromString(type, s, data, n)
p->createFromS...e, s, data, n)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
57 return
never executed: return true;
true;
never executed: return true;
0
58 }
never executed: end of block
while ((
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
p = p->next)
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
);
0
59-
60 return
never executed: return false;
false;
never executed: return false;
0
61}-
62-
63bool QQmlValueTypeProvider::createStringFromValue(int type, const void *data, QString *s)-
64{-
65 ((data) ? static_cast<void>(0) : qt_assert("data", __FILE__, 110));-
66 ((s) ? static_cast<void>(0) : qt_assert("s", __FILE__, 111));-
67-
68 QQmlValueTypeProvider *p = this;-
69 do {-
70 if (p->createStringFrom(type, data, s)
p->createStrin...type, data, s)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
71 return
never executed: return true;
true;
never executed: return true;
0
72 }
never executed: end of block
while ((
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
p = p->next)
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
);
0
73-
74 return
never executed: return false;
false;
never executed: return false;
0
75}-
76-
77QVariant QQmlValueTypeProvider::createVariantFromString(const QString &s)-
78{-
79 QVariant v;-
80-
81 QQmlValueTypeProvider *p = this;-
82 do {-
83 if (p->variantFromString(s, &v)
p->variantFromString(s, &v)Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEevaluated 40 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
)
6-40
84 return
executed 6 times by 2 tests: return v;
Executed by:
  • tst_examples
  • tst_qquickanimations
v;
executed 6 times by 2 tests: return v;
Executed by:
  • tst_examples
  • tst_qquickanimations
6
85 }
executed 40 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
while ((
(p = p->next)Description
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
FALSEevaluated 20 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
p = p->next)
(p = p->next)Description
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
FALSEevaluated 20 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
);
20-40
86-
87-
88 return
executed 20 times by 5 tests: return QVariant(s);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
QVariant(s);
executed 20 times by 5 tests: return QVariant(s);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
20
89}-
90-
91QVariant QQmlValueTypeProvider::createVariantFromString(int type, const QString &s, bool *ok)-
92{-
93 QVariant v;-
94-
95 QQmlValueTypeProvider *p = this;-
96 do {-
97 if (p->variantFromString(type, s, &v)
p->variantFrom...g(type, s, &v)Description
TRUEevaluated 80762 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
  • ...
FALSEevaluated 84 times by 7 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
) {
84-80762
98 if (ok
okDescription
TRUEevaluated 80762 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
  • ...
FALSEnever evaluated
) *
executed 80762 times by 27 tests: *ok = true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
  • ...
ok = true;
executed 80762 times by 27 tests: *ok = true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
  • ...
0-80762
99 return
executed 80762 times by 27 tests: return v;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
  • ...
v;
executed 80762 times by 27 tests: return v;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
  • ...
80762
100 }-
101 }
executed 84 times by 7 tests: end of block
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
while ((
(p = p->next)Description
TRUEevaluated 40 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
FALSEevaluated 44 times by 7 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
p = p->next)
(p = p->next)Description
TRUEevaluated 40 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
FALSEevaluated 44 times by 7 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
);
40-84
102-
103 if (ok
okDescription
TRUEevaluated 44 times by 7 tests
Evaluated by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
FALSEnever evaluated
) *
executed 44 times by 7 tests: *ok = false;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
ok = false;
executed 44 times by 7 tests: *ok = false;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
0-44
104 return
executed 44 times by 7 tests: return QVariant();
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
QVariant();
executed 44 times by 7 tests: return QVariant();
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
44
105}-
106-
107QVariant QQmlValueTypeProvider::createVariantFromJsObject(int type, QQmlV4Handle obj, QV4::ExecutionEngine *e, bool *ok)-
108{-
109 QVariant v;-
110-
111 QQmlValueTypeProvider *p = this;-
112 do {-
113 if (p->variantFromJsObject(type, obj, e, &v)
p->variantFrom...e, obj, e, &v)Description
TRUEevaluated 72 times by 3 tests
Evaluated by:
  • tst_qqmlbinding
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlqt
) {
12-72
114 if (ok
okDescription
TRUEevaluated 72 times by 3 tests
Evaluated by:
  • tst_qqmlbinding
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
FALSEnever evaluated
) *
executed 72 times by 3 tests: *ok = true;
Executed by:
  • tst_qqmlbinding
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
ok = true;
executed 72 times by 3 tests: *ok = true;
Executed by:
  • tst_qqmlbinding
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
0-72
115 return
executed 72 times by 3 tests: return v;
Executed by:
  • tst_qqmlbinding
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
v;
executed 72 times by 3 tests: return v;
Executed by:
  • tst_qqmlbinding
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
72
116 }-
117 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qqmlqt
while ((
(p = p->next)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlqt
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlqt
p = p->next)
(p = p->next)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlqt
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlqt
);
6-12
118-
119 if (ok
okDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlqt
FALSEnever evaluated
) *
executed 6 times by 1 test: *ok = false;
Executed by:
  • tst_qqmlqt
ok = false;
executed 6 times by 1 test: *ok = false;
Executed by:
  • tst_qqmlqt
0-6
120 return
executed 6 times by 1 test: return QVariant();
Executed by:
  • tst_qqmlqt
QVariant();
executed 6 times by 1 test: return QVariant();
Executed by:
  • tst_qqmlqt
6
121}-
122-
123bool QQmlValueTypeProvider::equalValueType(int type, const void *lhs, const QVariant& rhs)-
124{-
125 ((lhs) ? static_cast<void>(0) : qt_assert("lhs", __FILE__, 170));-
126-
127 QQmlValueTypeProvider *p = this;-
128 do {-
129 if (p->equal(type, lhs, rhs)
p->equal(type, lhs, rhs)Description
TRUEevaluated 16 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
FALSEevaluated 1112 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
)
16-1112
130 return
executed 16 times by 4 tests: return true;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
true;
executed 16 times by 4 tests: return true;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
16
131 }
executed 1112 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
while ((
(p = p->next)Description
TRUEevaluated 654 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEevaluated 458 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
p = p->next)
(p = p->next)Description
TRUEevaluated 654 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEevaluated 458 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
);
458-1112
132-
133 return
executed 458 times by 11 tests: return false;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
false;
executed 458 times by 11 tests: return false;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
458
134}-
135-
136bool QQmlValueTypeProvider::storeValueType(int type, const void *src, void *dst, size_t dstSize)-
137{-
138 ((src) ? static_cast<void>(0) : qt_assert("src", __FILE__, 183));-
139 ((dst) ? static_cast<void>(0) : qt_assert("dst", __FILE__, 184));-
140-
141 QQmlValueTypeProvider *p = this;-
142 do {-
143 if (p->store(type, src, dst, dstSize)
p->store(type,... dst, dstSize)Description
TRUEevaluated 27769 times by 82 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • ...
FALSEnever evaluated
)
0-27769
144 return
executed 27769 times by 82 tests: return true;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • ...
true;
executed 27769 times by 82 tests: return true;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • ...
27769
145 }
never executed: end of block
while ((
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
p = p->next)
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
);
0
146-
147 return
never executed: return false;
false;
never executed: return false;
0
148}-
149-
150bool QQmlValueTypeProvider::readValueType(const QVariant& src, void *dst, int dstType)-
151{-
152 ((dst) ? static_cast<void>(0) : qt_assert("dst", __FILE__, 197));-
153-
154 QQmlValueTypeProvider *p = this;-
155 do {-
156 if (p->read(src, dst, dstType)
p->read(src, dst, dstType)Description
TRUEevaluated 1116 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEnever evaluated
)
0-1116
157 return
executed 1116 times by 12 tests: return true;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
true;
executed 1116 times by 12 tests: return true;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
1116
158 }
never executed: end of block
while ((
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
p = p->next)
(p = p->next)Description
TRUEnever evaluated
FALSEnever evaluated
);
0
159-
160 return
never executed: return false;
false;
never executed: return false;
0
161}-
162-
163bool QQmlValueTypeProvider::writeValueType(int type, const void *src, QVariant& dst)-
164{-
165 ((src) ? static_cast<void>(0) : qt_assert("src", __FILE__, 210));-
166-
167 QQmlValueTypeProvider *p = this;-
168 do {-
169 if (p->write(type, src, dst)
p->write(type, src, dst)Description
TRUEevaluated 458 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEevaluated 40 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
)
40-458
170 return
executed 458 times by 11 tests: return true;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
true;
executed 458 times by 11 tests: return true;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
458
171 }
executed 40 times by 4 tests: end of block
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
while ((
(p = p->next)Description
TRUEevaluated 24 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
FALSEevaluated 16 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
p = p->next)
(p = p->next)Description
TRUEevaluated 24 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
FALSEevaluated 16 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
);
16-40
172-
173 return
executed 16 times by 4 tests: return false;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
false;
executed 16 times by 4 tests: return false;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
16
174}-
175-
176const QMetaObject *QQmlValueTypeProvider::getMetaObjectForMetaType(int) { return
executed 334747 times by 130 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
nullptr;
executed 334747 times by 130 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
}
334747
177bool QQmlValueTypeProvider::init(int, QVariant&) { return
never executed: return false;
false;
never executed: return false;
}
0
178bool QQmlValueTypeProvider::create(int, int, const void *[], QVariant *) { return
executed 8 times by 1 test: return false;
Executed by:
  • tst_qqmlvaluetypes
false;
executed 8 times by 1 test: return false;
Executed by:
  • tst_qqmlvaluetypes
}
8
179bool QQmlValueTypeProvider::createFromString(int, const QString &, void *, size_t) { return
never executed: return false;
false;
never executed: return false;
}
0
180bool QQmlValueTypeProvider::createStringFrom(int, const void *, QString *) { return
never executed: return false;
false;
never executed: return false;
}
0
181bool QQmlValueTypeProvider::variantFromString(const QString &, QVariant *) { return
executed 20 times by 5 tests: return false;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
false;
executed 20 times by 5 tests: return false;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qquickimage
  • tst_qquickitem
}
20
182bool QQmlValueTypeProvider::variantFromString(int, const QString &, QVariant *) { return
executed 44 times by 7 tests: return false;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
false;
executed 44 times by 7 tests: return false;
Executed by:
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquickshadereffect
}
44
183bool QQmlValueTypeProvider::variantFromJsObject(int, QQmlV4Handle, QV4::ExecutionEngine *, QVariant *) { return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qqmlqt
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qqmlqt
}
6
184bool QQmlValueTypeProvider::equal(int, const void *, const QVariant&) { return
executed 654 times by 11 tests: return false;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
false;
executed 654 times by 11 tests: return false;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
}
654
185bool QQmlValueTypeProvider::store(int, const void *, void *, size_t) { return
never executed: return false;
false;
never executed: return false;
}
0
186bool QQmlValueTypeProvider::read(const QVariant&, void *, int) { return
never executed: return false;
false;
never executed: return false;
}
0
187bool QQmlValueTypeProvider::write(int, const void *, QVariant&) { return
executed 24 times by 4 tests: return false;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
false;
executed 24 times by 4 tests: return false;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
}
24
188-
189namespace { namespace Q_QGS_nullValueTypeProvider { typedef QQmlValueTypeProvider Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 304 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 304 times by 139 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
}
executed 304 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 708 times by 139 tests: return &holder.value;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
&holder.value;
executed 708 times by 139 tests: return &holder.value;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
} } } static QGlobalStatic<QQmlValueTypeProvider, Q_QGS_nullValueTypeProvider::innerFunction, Q_QGS_nullValueTypeProvider::guard> nullValueTypeProvider;
0-708
190static QQmlValueTypeProvider *valueTypeProvider = nullptr;-
191-
192static QQmlValueTypeProvider **getValueTypeProvider(void)-
193{-
194 if (valueTypeProvider == nullptr
valueTypeProvider == nullptrDescription
TRUEevaluated 304 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 272 times by 124 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
) {
272-304
195 valueTypeProvider = nullValueTypeProvider;-
196 }
executed 304 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
304
197-
198 return
executed 576 times by 139 tests: return &valueTypeProvider;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
&valueTypeProvider;
executed 576 times by 139 tests: return &valueTypeProvider;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
576
199}-
200-
201__attribute__((visibility("default"))) void QQml_addValueTypeProvider(QQmlValueTypeProvider *newProvider)-
202{-
203 static QQmlValueTypeProvider **providerPtr = getValueTypeProvider();-
204 newProvider->next = *providerPtr;-
205 *providerPtr = newProvider;-
206}
executed 376 times by 132 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
376
207-
208__attribute__((visibility("default"))) void QQml_removeValueTypeProvider(QQmlValueTypeProvider *oldProvider)-
209{-
210 if (oldProvider == nullValueTypeProvider
oldProvider ==...ueTypeProviderDescription
TRUEevaluated 304 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 378 times by 132 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
) {
304-378
211-
212-
213 return;
executed 304 times by 139 tests: return;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
304
214 }-
215-
216-
217 ((oldProvider->next) ? static_cast<void>(0) : qt_assert("oldProvider->next", __FILE__, 262));-
218-
219 QQmlValueTypeProvider *prev = valueTypeProvider;-
220 if (prev == oldProvider
prev == oldProviderDescription
TRUEevaluated 376 times by 132 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qmldiskcache
) {
2-376
221 valueTypeProvider = oldProvider->next;-
222 return;
executed 376 times by 132 tests: return;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
376
223 }-
224-
225-
226 for ( ; prev
prevDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qmldiskcache
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qmldiskcache
; prev = prev->next) {
2
227 if (prev->next != oldProvider
prev->next != oldProviderDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qmldiskcache
FALSEnever evaluated
)
0-2
228 continue;
executed 2 times by 1 test: continue;
Executed by:
  • tst_qmldiskcache
2
229 prev->next = oldProvider->next;-
230 return;
never executed: return;
0
231 }-
232-
233 QMessageLogger(__FILE__, 278, __PRETTY_FUNCTION__).warning("QQml_removeValueTypeProvider: was asked to remove provider %p but it was not found", oldProvider);-
234}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qmldiskcache
2
235-
236__attribute__((visibility("default"))) QQmlValueTypeProvider *QQml_valueTypeProvider(void)-
237{-
238 static QQmlValueTypeProvider **providerPtr = getValueTypeProvider();-
239 return
executed 458987 times by 131 tests: return *providerPtr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
*providerPtr;
executed 458987 times by 131 tests: return *providerPtr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
458987
240}-
241-
242QQmlColorProvider::~QQmlColorProvider() {}-
243QVariant QQmlColorProvider::colorFromString(const QString &, bool *ok) { if (ok
okDescription
TRUEnever evaluated
FALSEnever evaluated
) *
never executed: *ok = false;
ok = false;
never executed: *ok = false;
return
never executed: return QVariant();
QVariant();
never executed: return QVariant();
}
0
244unsigned QQmlColorProvider::rgbaFromString(const QString &, bool *ok) { if (ok
okDescription
TRUEnever evaluated
FALSEnever evaluated
) *
never executed: *ok = false;
ok = false;
never executed: *ok = false;
return
never executed: return 0;
0;
never executed: return 0;
}
0
245QVariant QQmlColorProvider::fromRgbF(double, double, double, double) { return
executed 8 times by 1 test: return QVariant();
Executed by:
  • tst_qqmlvaluetypes
QVariant();
executed 8 times by 1 test: return QVariant();
Executed by:
  • tst_qqmlvaluetypes
}
8
246QVariant QQmlColorProvider::fromHslF(double, double, double, double) { return
never executed: return QVariant();
QVariant();
never executed: return QVariant();
}
0
247QVariant QQmlColorProvider::fromHsvF(double, double, double, double) { return
never executed: return QVariant();
QVariant();
never executed: return QVariant();
}
0
248QVariant QQmlColorProvider::lighter(const QVariant &, qreal) { return
never executed: return QVariant();
QVariant();
never executed: return QVariant();
}
0
249QVariant QQmlColorProvider::darker(const QVariant &, qreal) { return
never executed: return QVariant();
QVariant();
never executed: return QVariant();
}
0
250QVariant QQmlColorProvider::tint(const QVariant &, const QVariant &) { return
never executed: return QVariant();
QVariant();
never executed: return QVariant();
}
0
251-
252static QQmlColorProvider *colorProvider = nullptr;-
253-
254__attribute__((visibility("default"))) QQmlColorProvider *QQml_setColorProvider(QQmlColorProvider *newProvider)-
255{-
256 QQmlColorProvider *old = colorProvider;-
257 colorProvider = newProvider;-
258 return
executed 462 times by 132 tests: return old;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
old;
executed 462 times by 132 tests: return old;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
462
259}-
260-
261static QQmlColorProvider **getColorProvider(void)-
262{-
263 if (colorProvider == nullptr
colorProvider == nullptrDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlglobal
  • tst_qqmlvaluetypes
FALSEevaluated 166 times by 83 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • ...
) {
4-166
264 QMessageLogger(__FILE__, 309, __PRETTY_FUNCTION__).warning() << "Warning: QQml_colorProvider: no color provider has been set!";-
265 static QQmlColorProvider nullColorProvider;-
266 colorProvider = &nullColorProvider;-
267 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qqmlglobal
  • tst_qqmlvaluetypes
4
268-
269 return
executed 170 times by 85 tests: return &colorProvider;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlglobal
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • ...
&colorProvider;
executed 170 times by 85 tests: return &colorProvider;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlglobal
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • ...
170
270}-
271-
272__attribute__((visibility("default"))) QQmlColorProvider *QQml_colorProvider(void)-
273{-
274 static QQmlColorProvider **providerPtr = getColorProvider();-
275 return
executed 38965 times by 85 tests: return *providerPtr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlglobal
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • ...
*providerPtr;
executed 38965 times by 85 tests: return *providerPtr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlglobal
  • tst_qqmlincubator
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • ...
38965
276}-
277-
278-
279QQmlGuiProvider::~QQmlGuiProvider() {}-
280QObject *QQmlGuiProvider::application(QObject *) { return
executed 4 times by 1 test: return new QQmlApplication();
Executed by:
  • tst_qqmlapplicationengine
new QQmlApplication();
executed 4 times by 1 test: return new QQmlApplication();
Executed by:
  • tst_qqmlapplicationengine
}
4
281QStringList QQmlGuiProvider::fontFamilies() { return
never executed: return QStringList();
QStringList();
never executed: return QStringList();
}
0
282bool QQmlGuiProvider::openUrlExternally(QUrl &) { return
never executed: return false;
false;
never executed: return false;
}
0
283-
284QObject *QQmlGuiProvider::inputMethod()-
285{-
286-
287 QObject *o = new QObject();-
288 o->setObjectName(([]() noexcept -> QString { enum { Size = sizeof(u"" "No inputMethod available")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "No inputMethod available" }; 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;
}()));
0
289 QQmlEngine::setObjectOwnership(o, QQmlEngine::JavaScriptOwnership);-
290 return
never executed: return o;
o;
never executed: return o;
0
291}-
292-
293QObject *QQmlGuiProvider::styleHints()-
294{-
295 QObject *o = new QObject();-
296 o->setObjectName(([]() noexcept -> QString { enum { Size = sizeof(u"" "No styleHints available")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "No styleHints available" }; 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;
}()));
0
297 QQmlEngine::setObjectOwnership(o, QQmlEngine::JavaScriptOwnership);-
298 return
never executed: return o;
o;
never executed: return o;
0
299}-
300-
301QString QQmlGuiProvider::pluginName() const { return
never executed: return QString();
QString();
never executed: return QString();
}
0
302-
303static QQmlGuiProvider *guiProvider = nullptr;-
304-
305__attribute__((visibility("default"))) QQmlGuiProvider *QQml_setGuiProvider(QQmlGuiProvider *newProvider)-
306{-
307 QQmlGuiProvider *old = guiProvider;-
308 guiProvider = newProvider;-
309 return
executed 462 times by 132 tests: return old;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
old;
executed 462 times by 132 tests: return old;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
462
310}-
311-
312static QQmlGuiProvider **getGuiProvider(void)-
313{-
314 if (guiProvider == nullptr
guiProvider == nullptrDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qqmlapplicationengine
  • tst_qqmlglobal
FALSEevaluated 12 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickscreen
) {
6-12
315 static QQmlGuiProvider nullGuiProvider;-
316 guiProvider = &nullGuiProvider;-
317 }
executed 6 times by 2 tests: end of block
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlglobal
6
318-
319 return
executed 18 times by 8 tests: return &guiProvider;
Executed by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlglobal
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickscreen
&guiProvider;
executed 18 times by 8 tests: return &guiProvider;
Executed by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlglobal
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickscreen
18
320}-
321-
322__attribute__((visibility("default"))) QQmlGuiProvider *QQml_guiProvider(void)-
323{-
324 static QQmlGuiProvider **providerPtr = getGuiProvider();-
325 return
executed 74 times by 8 tests: return *providerPtr;
Executed by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlglobal
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickscreen
*providerPtr;
executed 74 times by 8 tests: return *providerPtr;
Executed by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlglobal
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickscreen
74
326}-
327-
328-
329QQmlApplication::QQmlApplication(QObject *parent)-
330 : QObject(*(new QQmlApplicationPrivate),parent)-
331{-
332 connect(QCoreApplication::instance(), qFlagLocation("2""aboutToQuit()" "\0" __FILE__ ":" "377"),-
333 this, qFlagLocation("2""aboutToQuit()" "\0" __FILE__ ":" "378"));-
334 connect(QCoreApplication::instance(), qFlagLocation("2""applicationNameChanged()" "\0" __FILE__ ":" "379"),-
335 this, qFlagLocation("2""nameChanged()" "\0" __FILE__ ":" "380"));-
336 connect(QCoreApplication::instance(), qFlagLocation("2""applicationVersionChanged()" "\0" __FILE__ ":" "381"),-
337 this, qFlagLocation("2""versionChanged()" "\0" __FILE__ ":" "382"));-
338 connect(QCoreApplication::instance(), qFlagLocation("2""organizationNameChanged()" "\0" __FILE__ ":" "383"),-
339 this, qFlagLocation("2""organizationChanged()" "\0" __FILE__ ":" "384"));-
340 connect(QCoreApplication::instance(), qFlagLocation("2""organizationDomainChanged()" "\0" __FILE__ ":" "385"),-
341 this, qFlagLocation("2""domainChanged()" "\0" __FILE__ ":" "386"));-
342}
executed 16 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
16
343-
344QQmlApplication::QQmlApplication(QQmlApplicationPrivate &dd, QObject *parent)-
345 : QObject(dd, parent)-
346{-
347 connect(QCoreApplication::instance(), qFlagLocation("2""aboutToQuit()" "\0" __FILE__ ":" "392"),-
348 this, qFlagLocation("2""aboutToQuit()" "\0" __FILE__ ":" "393"));-
349 connect(QCoreApplication::instance(), qFlagLocation("2""applicationNameChanged()" "\0" __FILE__ ":" "394"),-
350 this, qFlagLocation("2""nameChanged()" "\0" __FILE__ ":" "395"));-
351 connect(QCoreApplication::instance(), qFlagLocation("2""applicationVersionChanged()" "\0" __FILE__ ":" "396"),-
352 this, qFlagLocation("2""versionChanged()" "\0" __FILE__ ":" "397"));-
353 connect(QCoreApplication::instance(), qFlagLocation("2""organizationNameChanged()" "\0" __FILE__ ":" "398"),-
354 this, qFlagLocation("2""organizationChanged()" "\0" __FILE__ ":" "399"));-
355 connect(QCoreApplication::instance(), qFlagLocation("2""organizationDomainChanged()" "\0" __FILE__ ":" "400"),-
356 this, qFlagLocation("2""domainChanged()" "\0" __FILE__ ":" "401"));-
357}
never executed: end of block
0
358-
359QStringList QQmlApplication::args()-
360{-
361 QQmlApplicationPrivate * const d = d_func();-
362 if (!d->argsInit
!d->argsInitDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
) {
4-6
363 d->argsInit = true;-
364 d->args = QCoreApplication::arguments();-
365 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
4
366 return
executed 10 times by 2 tests: return d->args;
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
d->args;
executed 10 times by 2 tests: return d->args;
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
10
367}-
368-
369QString QQmlApplication::name() const-
370{-
371 return
executed 8 times by 1 test: return QCoreApplication::instance()->applicationName();
Executed by:
  • tst_qqmlapplicationengine
QCoreApplication::instance()->applicationName();
executed 8 times by 1 test: return QCoreApplication::instance()->applicationName();
Executed by:
  • tst_qqmlapplicationengine
8
372}-
373-
374QString QQmlApplication::version() const-
375{-
376 return
executed 8 times by 1 test: return QCoreApplication::instance()->applicationVersion();
Executed by:
  • tst_qqmlapplicationengine
QCoreApplication::instance()->applicationVersion();
executed 8 times by 1 test: return QCoreApplication::instance()->applicationVersion();
Executed by:
  • tst_qqmlapplicationengine
8
377}-
378-
379QString QQmlApplication::organization() const-
380{-
381 return
executed 8 times by 1 test: return QCoreApplication::instance()->organizationName();
Executed by:
  • tst_qqmlapplicationengine
QCoreApplication::instance()->organizationName();
executed 8 times by 1 test: return QCoreApplication::instance()->organizationName();
Executed by:
  • tst_qqmlapplicationengine
8
382}-
383-
384QString QQmlApplication::domain() const-
385{-
386 return
executed 8 times by 1 test: return QCoreApplication::instance()->organizationDomain();
Executed by:
  • tst_qqmlapplicationengine
QCoreApplication::instance()->organizationDomain();
executed 8 times by 1 test: return QCoreApplication::instance()->organizationDomain();
Executed by:
  • tst_qqmlapplicationengine
8
387}-
388-
389void QQmlApplication::setName(const QString &arg)-
390{-
391 QCoreApplication::instance()->setApplicationName(arg);-
392}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlapplicationengine
2
393-
394void QQmlApplication::setVersion(const QString &arg)-
395{-
396 QCoreApplication::instance()->setApplicationVersion(arg);-
397}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlapplicationengine
2
398-
399void QQmlApplication::setOrganization(const QString &arg)-
400{-
401 QCoreApplication::instance()->setOrganizationName(arg);-
402}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlapplicationengine
2
403-
404void QQmlApplication::setDomain(const QString &arg)-
405{-
406 QCoreApplication::instance()->setOrganizationDomain(arg);-
407}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlapplicationengine
2
408-
409-
410-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0