| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | class QQmlGuardImpl | - |
| 5 | { | - |
| 6 | public: | - |
| 7 | inline QQmlGuardImpl(); | - |
| 8 | inline QQmlGuardImpl(QObject *); | - |
| 9 | inline QQmlGuardImpl(const QQmlGuardImpl &); | - |
| 10 | inline ~QQmlGuardImpl(); | - |
| 11 | | - |
| 12 | QObject *o = nullptr; | - |
| 13 | QQmlGuardImpl *next = nullptr; | - |
| 14 | QQmlGuardImpl **prev = nullptr; | - |
| 15 | | - |
| 16 | inline void addGuard(); | - |
| 17 | inline void remGuard(); | - |
| 18 | }; | - |
| 19 | | - |
| 20 | class QObject; | - |
| 21 | template<class T> | - |
| 22 | class QQmlGuard : private QQmlGuardImpl | - |
| 23 | { | - |
| 24 | friend class QQmlData; | - |
| 25 | public: | - |
| 26 | inline QQmlGuard(); | - |
| 27 | inline QQmlGuard(T *); | - |
| 28 | inline QQmlGuard(const QQmlGuard<T> &); | - |
| 29 | inline virtual ~QQmlGuard(); | - |
| 30 | | - |
| 31 | inline QQmlGuard<T> &operator=(const QQmlGuard<T> &o); | - |
| 32 | inline QQmlGuard<T> &operator=(T *); | - |
| 33 | | - |
| 34 | inline T *object() const; | - |
| 35 | inline void setObject(T *g); | - |
| 36 | | - |
| 37 | inline bool isNull() const | - |
| 38 | { returnexecuted 548 times by 2 tests: return !o; !o;executed 548 times by 2 tests: return !o; } | 548 |
| 39 | | - |
| 40 | inline T* operator->() const | - |
| 41 | { returnexecuted 104267 times by 32 tests: return static_cast<T*>(const_cast<QObject*>(o));Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
static_cast<T*>(const_cast<QObject*>(o));executed 104267 times by 32 tests: return static_cast<T*>(const_cast<QObject*>(o));Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
} | 104267 |
| 42 | inline T& operator*() const | - |
| 43 | { return never executed: return *static_cast<T*>(const_cast<QObject*>(o)); *static_cast<T*>(const_cast<QObject*>(o));never executed: return *static_cast<T*>(const_cast<QObject*>(o)); } | 0 |
| 44 | inline operator T*() const | - |
| 45 | { returnexecuted 1563468 times by 50 tests: return static_cast<T*>(const_cast<QObject*>(o));Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
static_cast<T*>(const_cast<QObject*>(o));executed 1563468 times by 50 tests: return static_cast<T*>(const_cast<QObject*>(o));Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
} | 1563468 |
| 46 | inline T* data() const | - |
| 47 | { returnexecuted 481965 times by 85 tests: return static_cast<T*>(const_cast<QObject*>(o));Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
static_cast<T*>(const_cast<QObject*>(o));executed 481965 times by 85 tests: return static_cast<T*>(const_cast<QObject*>(o));Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
} | 481965 |
| 48 | | - |
| 49 | protected: | - |
| 50 | virtual void objectDestroyed(T *) {} | - |
| 51 | }; | - |
| 52 | | - |
| 53 | template <typename T> | - |
| 54 | class QQmlStrongJSQObjectReference : public QQmlGuard<T> | - |
| 55 | { | - |
| 56 | public: | - |
| 57 | void setObject(T *o, QObject *parent) { | - |
| 58 | T *old = this->object(); | - |
| 59 | if (o == old| TRUE | evaluated 3240 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_scenegraph
| | FALSE | evaluated 13920 times by 31 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) | 3240-13920 |
| 60 | return;executed 3240 times by 24 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_scenegraph
| 3240 |
| 61 | | - |
| 62 | if (m_jsOwnership| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 13916 times by 31 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
&& old| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& old->parent() == parent| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-13916 |
| 63 | QQml_setParent_noEvent(old, nullptr);executed 4 times by 1 test: QQml_setParent_noEvent(old, nullptr); | 4 |
| 64 | | - |
| 65 | this->QQmlGuard<T>::operator=(o); | - |
| 66 | | - |
| 67 | if (o| TRUE | evaluated 10120 times by 31 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| | FALSE | evaluated 3800 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
&& !o->parent()| TRUE | evaluated 3376 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 6744 times by 31 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
&& !QQmlData::keepAliveDuringGarbageCollection(o)| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickloader
- tst_qquickrepeater
| | FALSE | evaluated 3370 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 6-10120 |
| 68 | m_jsOwnership = true; | - |
| 69 | QQml_setParent_noEvent(o, parent); | - |
| 70 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qquickloader
- tst_qquickrepeater
else { | 6 |
| 71 | m_jsOwnership = false; | - |
| 72 | }executed 13914 times by 31 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 13914 |
| 73 | } | - |
| 74 | | - |
| 75 | private: | - |
| 76 | using QQmlGuard<T>::setObject; | - |
| 77 | using QQmlGuard<T>::operator=; | - |
| 78 | bool m_jsOwnership = false; | - |
| 79 | }; | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | template <> struct QMetaTypeId< QQmlGuard<QObject> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlGuard<QObject> >("QQmlGuard<QObject>", reinterpret_cast< QQmlGuard<QObject> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | QQmlGuardImpl::QQmlGuardImpl() | - |
| 88 | { | - |
| 89 | } | - |
| 90 | | - |
| 91 | QQmlGuardImpl::QQmlGuardImpl(QObject *g) | - |
| 92 | : o(g) | - |
| 93 | { | - |
| 94 | if (o| TRUE | evaluated 10948 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| | FALSE | evaluated 13064 times by 55 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
|
) addGuard();executed 10948 times by 10 tests: addGuard();Executed by:- tst_examples
- tst_qqmlqt
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| 10948-13064 |
| 95 | }executed 24012 times by 57 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
| 24012 |
| 96 | | - |
| 97 | QQmlGuardImpl::QQmlGuardImpl(const QQmlGuardImpl &g) | - |
| 98 | : o(g.o) | - |
| 99 | { | - |
| 100 | if (o| TRUE | evaluated 7310 times by 23 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquickvisualdatamodel
| | FALSE | evaluated 114 times by 2 tests |
) addGuard();executed 7310 times by 23 tests: addGuard();Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquickvisualdatamodel
| 114-7310 |
| 101 | }executed 7424 times by 23 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquickvisualdatamodel
| 7424 |
| 102 | | - |
| 103 | QQmlGuardImpl::~QQmlGuardImpl() | - |
| 104 | { | - |
| 105 | if (prev| TRUE | evaluated 23573 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- ...
| | FALSE | evaluated 243132 times by 114 testsEvaluated 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_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) remGuard();executed 23573 times by 55 tests: remGuard();Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- ...
| 23573-243132 |
| 106 | o = nullptr; | - |
| 107 | }executed 266705 times by 115 tests: end of blockExecuted 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_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| 266705 |
| 108 | | - |
| 109 | void QQmlGuardImpl::addGuard() | - |
| 110 | { | - |
| 111 | ((!prev) ? static_cast<void>(0) : qt_assert("!prev", __FILE__, 167)); | - |
| 112 | | - |
| 113 | if (QObjectPrivate::get(o)->wasDeleted| TRUE | never evaluated | | FALSE | evaluated 258223 times by 121 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
|
) | 0-258223 |
| 114 | return; never executed: return; | 0 |
| 115 | | - |
| 116 | QQmlData *data = QQmlData::get(o, true); | - |
| 117 | next = data->guards; | - |
| 118 | if (next| TRUE | evaluated 31356 times by 54 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- ...
| | FALSE | evaluated 226867 times by 121 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
|
) next->prev = &next;executed 31356 times by 54 tests: next->prev = &next;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- ...
| 31356-226867 |
| 119 | data->guards = this; | - |
| 120 | prev = &data->guards; | - |
| 121 | }executed 258223 times by 121 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
| 258223 |
| 122 | | - |
| 123 | void QQmlGuardImpl::remGuard() | - |
| 124 | { | - |
| 125 | ((prev) ? static_cast<void>(0) : qt_assert("prev", __FILE__, 181)); | - |
| 126 | | - |
| 127 | if (next| TRUE | evaluated 13646 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlqt
- tst_qquickanimations
- tst_qquickcustomparticle
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktableview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 13941 times by 53 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
|
) next->prev = prev;executed 13646 times by 22 tests: next->prev = prev;Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlqt
- tst_qquickanimations
- tst_qquickcustomparticle
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktableview
- tst_qquickvisualdatamodel
| 13646-13941 |
| 128 | *prev = next; | - |
| 129 | next = nullptr; | - |
| 130 | prev = nullptr; | - |
| 131 | }executed 27587 times by 58 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- ...
| 27587 |
| 132 | | - |
| 133 | template<class T> | - |
| 134 | QQmlGuard<T>::QQmlGuard() | - |
| 135 | { | - |
| 136 | } | - |
| 137 | | - |
| 138 | template<class T> | - |
| 139 | QQmlGuard<T>::QQmlGuard(T *g) | - |
| 140 | : QQmlGuardImpl(g) | - |
| 141 | { | - |
| 142 | }executed 24012 times by 57 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
| 24012 |
| 143 | | - |
| 144 | template<class T> | - |
| 145 | QQmlGuard<T>::QQmlGuard(const QQmlGuard<T> &g) | - |
| 146 | : QQmlGuardImpl(g) | - |
| 147 | { | - |
| 148 | }executed 7424 times by 23 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquickvisualdatamodel
| 7424 |
| 149 | | - |
| 150 | template<class T> | - |
| 151 | QQmlGuard<T>::~QQmlGuard() | - |
| 152 | { | - |
| 153 | } | - |
| 154 | | - |
| 155 | template<class T> | - |
| 156 | QQmlGuard<T> &QQmlGuard<T>::operator=(const QQmlGuard<T> &g) | - |
| 157 | { | - |
| 158 | setObject(g.object()); | - |
| 159 | returnexecuted 102 times by 2 tests: return *this; *this;executed 102 times by 2 tests: return *this; | 102 |
| 160 | } | - |
| 161 | | - |
| 162 | template<class T> | - |
| 163 | QQmlGuard<T> &QQmlGuard<T>::operator=(T *g) | - |
| 164 | { | - |
| 165 | setObject(g); | - |
| 166 | returnexecuted 241661 times by 116 tests: return *this;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_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
*this;executed 241661 times by 116 tests: return *this;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_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
| 241661 |
| 167 | } | - |
| 168 | | - |
| 169 | template<class T> | - |
| 170 | T *QQmlGuard<T>::object() const | - |
| 171 | { | - |
| 172 | returnexecuted 539182 times by 32 tests: return static_cast<T *>(o);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
static_cast<T *>(o);executed 539182 times by 32 tests: return static_cast<T *>(o);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 539182 |
| 173 | } | - |
| 174 | | - |
| 175 | template<class T> | - |
| 176 | void QQmlGuard<T>::setObject(T *g) | - |
| 177 | { | - |
| 178 | if (g != o| TRUE | evaluated 243827 times by 121 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
| | FALSE | evaluated 313 times by 3 testsEvaluated by:- tst_qqmlitemmodels
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 313-243827 |
| 179 | if (prev| TRUE | evaluated 4014 times by 23 testsEvaluated by:- tst_examples
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
| | FALSE | evaluated 239813 times by 121 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
|
) remGuard();executed 4014 times by 23 tests: remGuard();Executed by:- tst_examples
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
| 4014-239813 |
| 180 | o = g; | - |
| 181 | if (o| TRUE | evaluated 239965 times by 121 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
| | FALSE | evaluated 3862 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
) addGuard();executed 239965 times by 121 tests: addGuard();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
| 3862-239965 |
| 182 | }executed 243827 times by 121 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
| 243827 |
| 183 | }executed 244140 times by 121 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- ...
| 244140 |
| 184 | | - |
| 185 | | - |
| | |