OpenCoverage

qqmlpropertycache_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlpropertycache_p.h
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Contact: https://www.qt.io/licensing/-
5**-
6** This file is part of the QtQml module of the Qt Toolkit.-
7**-
8** $QT_BEGIN_LICENSE:LGPL$-
9** Commercial License Usage-
10** Licensees holding valid commercial Qt licenses may use this file in-
11** accordance with the commercial license agreement provided with the-
12** Software or, alternatively, in accordance with the terms contained in-
13** a written agreement between you and The Qt Company. For licensing terms-
14** and conditions see https://www.qt.io/terms-conditions. For further-
15** information use the contact form at https://www.qt.io/contact-us.-
16**-
17** GNU Lesser General Public License Usage-
18** Alternatively, this file may be used under the terms of the GNU Lesser-
19** General Public License version 3 as published by the Free Software-
20** Foundation and appearing in the file LICENSE.LGPL3 included in the-
21** packaging of this file. Please review the following information to-
22** ensure the GNU Lesser General Public License version 3 requirements-
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
24**-
25** GNU General Public License Usage-
26** Alternatively, this file may be used under the terms of the GNU-
27** General Public License version 2.0 or (at your option) the GNU General-
28** Public license version 3 or any later version approved by the KDE Free-
29** Qt Foundation. The licenses are as published by the Free Software-
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
31** included in the packaging of this file. Please review the following-
32** information to ensure the GNU General Public License requirements will-
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
34** https://www.gnu.org/licenses/gpl-3.0.html.-
35**-
36** $QT_END_LICENSE$-
37**-
38****************************************************************************/-
39-
40#ifndef QQMLPROPERTYCACHE_P_H-
41#define QQMLPROPERTYCACHE_P_H-
42-
43//-
44// W A R N I N G-
45// --------------
46//-
47// This file is not part of the Qt API. It exists purely as an-
48// implementation detail. This header file may change from version to-
49// version without notice, or even be removed.-
50//-
51// We mean it.-
52//-
53-
54#include <private/qqmlrefcount_p.h>-
55#include <private/qflagpointer_p.h>-
56#include "qqmlcleanup_p.h"-
57#include "qqmlnotifier_p.h"-
58#include <private/qqmlpropertyindex_p.h>-
59-
60#include <private/qhashedstring_p.h>-
61#include <QtCore/qvarlengtharray.h>-
62#include <QtCore/qvector.h>-
63-
64#include <private/qv4value_p.h>-
65-
66#include <limits>-
67-
68QT_BEGIN_NAMESPACE-
69-
70class QCryptographicHash;-
71class QMetaProperty;-
72class QQmlEngine;-
73class QJSEngine;-
74class QQmlPropertyData;-
75class QMetaObjectBuilder;-
76class QQmlPropertyCacheMethodArguments;-
77class QQmlVMEMetaObject;-
78template <typename T> class QQmlPropertyCacheCreator;-
79template <typename T> class QQmlPropertyCacheAliasCreator;-
80-
81// We have this somewhat awful split between RawData and Data so that RawData can be-
82// used in unions. In normal code, you should always use Data which initializes RawData-
83// to an invalid state on construction.-
84// ### We should be able to remove this split nowadays-
85class QQmlPropertyRawData-
86{-
87public:-
88 typedef QObjectPrivate::StaticMetaCallFunction StaticMetaCallFunction;-
89-
90 struct Flags {-
91 enum Types {-
92 OtherType = 0,-
93 FunctionType = 1, // Is an invokable-
94 QObjectDerivedType = 2, // Property type is a QObject* derived type-
95 EnumType = 3, // Property type is an enum-
96 QListType = 4, // Property type is a QML list-
97 QmlBindingType = 5, // Property type is a QQmlBinding*-
98 QJSValueType = 6, // Property type is a QScriptValue-
99 V4HandleType = 7, // Property type is a QQmlV4Handle-
100 VarPropertyType = 8, // Property type is a "var" property of VMEMO-
101 QVariantType = 9 // Property is a QVariant-
102 };-
103-
104 // The _otherBits (which "pad" the Flags struct to align it nicely) are used-
105 // to store the relative property index. It will only get used when said index fits. See-
106 // trySetStaticMetaCallFunction for details.-
107 // (Note: this padding is done here, because certain compilers have surprising behavior-
108 // when an enum is declared in-between two bit fields.)-
109 enum { BitsLeftInFlags = 10 };-
110 unsigned _otherBits : BitsLeftInFlags; // align to 32 bits-
111-
112 // Can apply to all properties, except IsFunction-
113 unsigned isConstant : 1; // Has CONST flag-
114 unsigned isWritable : 1; // Has WRITE function-
115 unsigned isResettable : 1; // Has RESET function-
116 unsigned isAlias : 1; // Is a QML alias to another property-
117 unsigned isFinal : 1; // Has FINAL flag-
118 unsigned isOverridden : 1; // Is overridden by a extension property-
119 unsigned isDirect : 1; // Exists on a C++ QMetaObject-
120-
121 unsigned type : 4; // stores an entry of Types-
122-
123 // Apply only to IsFunctions-
124 unsigned isVMEFunction : 1; // Function was added by QML-
125 unsigned hasArguments : 1; // Function takes arguments-
126 unsigned isSignal : 1; // Function is a signal-
127 unsigned isVMESignal : 1; // Signal was added by QML-
128 unsigned isV4Function : 1; // Function takes QQmlV4Function* args-
129 unsigned isSignalHandler : 1; // Function is a signal handler-
130 unsigned isOverload : 1; // Function is an overload of another function-
131 unsigned isCloned : 1; // The function was marked as cloned-
132 unsigned isConstructor : 1; // The function was marked is a constructor-
133-
134 // Internal QQmlPropertyCache flags-
135 unsigned notFullyResolved : 1; // True if the type data is to be lazily resolved-
136 unsigned overrideIndexIsProperty: 1;-
137-
138 inline Flags();-
139 inline bool operator==(const Flags &other) const;-
140 inline void copyPropertyTypeFlags(Flags from);-
141 };-
142-
143 Flags flags() const { return _flags; }
executed 992 times by 27 tests: return _flags;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • ...
992
144 void setFlags(Flags f)-
145 {-
146 unsigned otherBits = _flags._otherBits;-
147 _flags = f;-
148 _flags._otherBits = otherBits;-
149 }
executed 727326 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
727326
150-
151 bool isValid() const { return coreIndex() != -1; }
executed 2560010 times by 123 tests: return coreIndex() != -1;
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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • ...
2560010
152-
153 bool isConstant() const { return _flags.isConstant; }
executed 1219832 times by 111 tests: return _flags.isConstant;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
1219832
154 bool isWritable() const { return _flags.isWritable; }
executed 509747 times by 143 tests: return _flags.isWritable;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
509747
155 void setWritable(bool onoff) { _flags.isWritable = onoff; }
executed 6 times by 2 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
6
156 bool isResettable() const { return _flags.isResettable; }
executed 23640 times by 99 tests: return _flags.isResettable;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
23640
157 bool isAlias() const { return _flags.isAlias; }
executed 1318649 times by 143 tests: return _flags.isAlias;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
1318649
158 bool isFinal() const { return _flags.isFinal; }
executed 104 times by 8 tests: return _flags.isFinal;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
104
159 bool isOverridden() const { return _flags.isOverridden; }
never executed: return _flags.isOverridden;
0
160 bool isDirect() const { return _flags.isDirect; }
executed 571016 times by 101 tests: return _flags.isDirect;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
571016
161 bool hasStaticMetaCallFunction() const { return staticMetaCallFunction() != nullptr; }
executed 8796114 times by 141 tests: return staticMetaCallFunction() != 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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
8796114
162 bool isFunction() const { return _flags.type == Flags::FunctionType; }
executed 8935568 times by 142 tests: return _flags.type == Flags::FunctionType;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
8935568
163 bool isQObject() const { return _flags.type == Flags::QObjectDerivedType; }
executed 3751180 times by 139 tests: return _flags.type == Flags::QObjectDerivedType;
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_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
3751180
164 bool isEnum() const { return _flags.type == Flags::EnumType; }
executed 1937294 times by 143 tests: return _flags.type == Flags::EnumType;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
1937294
165 bool isQList() const { return _flags.type == Flags::QListType; }
executed 7205577 times by 143 tests: return _flags.type == Flags::QListType;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
7205577
166 bool isQmlBinding() const { return _flags.type == Flags::QmlBindingType; }
never executed: return _flags.type == Flags::QmlBindingType;
0
167 bool isQJSValue() const { return _flags.type == Flags::QJSValueType; }
never executed: return _flags.type == Flags::QJSValueType;
0
168 bool isV4Handle() const { return _flags.type == Flags::V4HandleType; }
executed 284785 times by 65 tests: return _flags.type == Flags::V4HandleType;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
284785
169 bool isVarProperty() const { return _flags.type == Flags::VarPropertyType; }
executed 3383178 times by 128 tests: return _flags.type == Flags::VarPropertyType;
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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
3383178
170 bool isQVariant() const { return _flags.type == Flags::QVariantType; }
executed 284701 times by 65 tests: return _flags.type == Flags::QVariantType;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
284701
171 bool isVMEFunction() const { return _flags.isVMEFunction; }
executed 210863 times by 73 tests: return _flags.isVMEFunction;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
210863
172 bool hasArguments() const { return _flags.hasArguments; }
executed 87707 times by 105 tests: return _flags.hasArguments;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
87707
173 bool isSignal() const { return _flags.isSignal; }
executed 731935 times by 146 tests: return _flags.isSignal;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
731935
174 bool isVMESignal() const { return _flags.isVMESignal; }
executed 631134 times by 120 tests: return _flags.isVMESignal;
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_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
631134
175 bool isV4Function() const { return _flags.isV4Function; }
executed 131462 times by 57 tests: return _flags.isV4Function;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
131462
176 bool isSignalHandler() const { return _flags.isSignalHandler; }
executed 2135394 times by 101 tests: return _flags.isSignalHandler;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
2135394
177 bool isOverload() const { return _flags.isOverload; }
executed 53982 times by 50 tests: return _flags.isOverload;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdrag
  • ...
53982
178 void setOverload(bool onoff) { _flags.isOverload = onoff; }
never executed: end of block
0
179 bool isCloned() const { return _flags.isCloned; }
executed 66741 times by 83 tests: return _flags.isCloned;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
66741
180 bool isConstructor() const { return _flags.isConstructor; }
executed 44611 times by 29 tests: return _flags.isConstructor;
Executed by:
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
44611
181-
182 bool hasOverride() const { return overrideIndex() >= 0; }
executed 48718 times by 99 tests: return overrideIndex() >= 0;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
48718
183 bool hasRevision() const { return revision() != 0; }
executed 1541815 times by 66 tests: return revision() != 0;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
1541815
184-
185 bool isFullyResolved() const { return !_flags.notFullyResolved; }
executed 14368783 times by 143 tests: return !_flags.notFullyResolved;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
14368783
186-
187 int propType() const { Q_ASSERT(isFullyResolved()); return _propType; }
executed 13838609 times by 143 tests: return _propType;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
13838609
188 void setPropType(int pt)-
189 {-
190 Q_ASSERT(pt >= 0);-
191 Q_ASSERT(pt <= std::numeric_limits<qint16>::max());-
192 _propType = quint16(pt);-
193 }
executed 14178045 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
14178045
194-
195 int notifyIndex() const { return _notifyIndex; }
executed 1241634 times by 126 tests: return _notifyIndex;
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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
1241634
196 void setNotifyIndex(int idx)-
197 {-
198 Q_ASSERT(idx >= std::numeric_limits<qint16>::min());-
199 Q_ASSERT(idx <= std::numeric_limits<qint16>::max());-
200 _notifyIndex = qint16(idx);-
201 }
executed 13833634 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13833634
202-
203 bool overrideIndexIsProperty() const { return _flags.overrideIndexIsProperty; }
executed 1476 times by 22 tests: return _flags.overrideIndexIsProperty;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
1476
204 void setOverrideIndexIsProperty(bool onoff) { _flags.overrideIndexIsProperty = onoff; }
executed 43736 times by 137 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsvalue
  • 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
  • ...
43736
205-
206 int overrideIndex() const { return _overrideIndex; }
executed 50194 times by 99 tests: return _overrideIndex;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
50194
207 void setOverrideIndex(int idx)-
208 {-
209 Q_ASSERT(idx >= std::numeric_limits<qint16>::min());-
210 Q_ASSERT(idx <= std::numeric_limits<qint16>::max());-
211 _overrideIndex = qint16(idx);-
212 }
executed 13659655 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13659655
213-
214 int coreIndex() const { return _coreIndex; }
executed 12994258 times by 145 tests: return _coreIndex;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
12994258
215 void setCoreIndex(int idx)-
216 {-
217 Q_ASSERT(idx >= std::numeric_limits<qint16>::min());-
218 Q_ASSERT(idx <= std::numeric_limits<qint16>::max());-
219 _coreIndex = qint16(idx);-
220 }
executed 14196219 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
14196219
221-
222 quint8 revision() const { return _revision; }
executed 1541863 times by 66 tests: return _revision;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
1541863
223 void setRevision(quint8 rev)-
224 {-
225 Q_ASSERT(rev <= std::numeric_limits<quint8>::max());-
226 _revision = quint8(rev);-
227 }
executed 14132737 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
14132737
228-
229 /* If a property is a C++ type, then we store the minor-
230 * version of this type.-
231 * This is required to resolve property or signal revisions-
232 * if this property is used as a grouped property.-
233 *-
234 * Test.qml-
235 * property TextEdit someTextEdit: TextEdit {}-
236 *-
237 * Test {-
238 * someTextEdit.preeditText: "test" //revision 7-
239 * someTextEdit.onEditingFinished: console.log("test") //revision 6-
240 * }-
241 *-
242 * To determine if these properties with revisions are available we need-
243 * the minor version of TextEdit as imported in Test.qml.-
244 *-
245 */-
246-
247 quint8 typeMinorVersion() const { return _typeMinorVersion; }
executed 8606 times by 102 tests: return _typeMinorVersion;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
8606
248 void setTypeMinorVersion(quint8 rev)-
249 {-
250 Q_ASSERT(rev <= std::numeric_limits<quint8>::max());-
251 _typeMinorVersion = quint8(rev);-
252 }
executed 24291 times by 102 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
24291
253-
254 QQmlPropertyCacheMethodArguments *arguments() const { return _arguments; }
executed 432032 times by 73 tests: return _arguments;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • ...
432032
255 void setArguments(QQmlPropertyCacheMethodArguments *args) { _arguments = args; }
executed 13976762 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13976762
256-
257 int metaObjectOffset() const { return _metaObjectOffset; }
executed 96 times by 2 tests: return _metaObjectOffset;
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
96
258 void setMetaObjectOffset(int off)-
259 {-
260 Q_ASSERT(off >= std::numeric_limits<qint16>::min());-
261 Q_ASSERT(off <= std::numeric_limits<qint16>::max());-
262 _metaObjectOffset = qint16(off);-
263 }
executed 14086353 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
14086353
264-
265 StaticMetaCallFunction staticMetaCallFunction() const { return _staticMetaCallFunction; }
executed 12908663 times by 141 tests: return _staticMetaCallFunction;
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_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
12908663
266 void trySetStaticMetaCallFunction(StaticMetaCallFunction f, unsigned relativePropertyIndex)-
267 {-
268 if (relativePropertyIndex < (1 << Flags::BitsLeftInFlags) - 1) {
relativeProper...ftInFlags) - 1Description
TRUEevaluated 13761709 times by 146 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
FALSEnever evaluated
0-13761709
269 _flags._otherBits = relativePropertyIndex;-
270 _staticMetaCallFunction = f;-
271 }
executed 13761709 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13761709
272 }
executed 13761709 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13761709
273 quint16 relativePropertyIndex() const { Q_ASSERT(hasStaticMetaCallFunction()); return _flags._otherBits; }
executed 4112549 times by 132 tests: return _flags._otherBits;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
4112549
274-
275private:-
276 Flags _flags;-
277 qint16 _coreIndex = 0;-
278 quint16 _propType = 0;-
279-
280 // The notify index is in the range returned by QObjectPrivate::signalIndex().-
281 // This is different from QMetaMethod::methodIndex().-
282 qint16 _notifyIndex = 0;-
283 qint16 _overrideIndex = 0;-
284-
285 quint8 _revision = 0;-
286 quint8 _typeMinorVersion = 0;-
287 qint16 _metaObjectOffset = 0;-
288-
289 QQmlPropertyCacheMethodArguments *_arguments = nullptr;-
290 StaticMetaCallFunction _staticMetaCallFunction = nullptr;-
291-
292 friend class QQmlPropertyData;-
293 friend class QQmlPropertyCache;-
294};-
295-
296#if QT_POINTER_SIZE == 4-
297Q_STATIC_ASSERT(sizeof(QQmlPropertyRawData) == 24);-
298#else // QT_POINTER_SIZE == 8-
299Q_STATIC_ASSERT(sizeof(QQmlPropertyRawData) == 32);-
300#endif-
301-
302class QQmlPropertyData : public QQmlPropertyRawData-
303{-
304public:-
305 enum WriteFlag {-
306 BypassInterceptor = 0x01,-
307 DontRemoveBinding = 0x02,-
308 RemoveBindingOnAliasWrite = 0x04-
309 };-
310 Q_DECLARE_FLAGS(WriteFlags, WriteFlag)-
311-
312 inline QQmlPropertyData();-
313 inline QQmlPropertyData(const QQmlPropertyRawData &);-
314-
315 inline bool operator==(const QQmlPropertyRawData &);-
316-
317 static Flags flagsForProperty(const QMetaProperty &);-
318 void load(const QMetaProperty &);-
319 void load(const QMetaMethod &);-
320 QString name(QObject *) const;-
321 QString name(const QMetaObject *) const;-
322-
323 void markAsOverrideOf(QQmlPropertyData *predecessor);-
324-
325 inline void readProperty(QObject *target, void *property) const-
326 {-
327 void *args[] = { property, nullptr };-
328 readPropertyWithArgs(target, args);-
329 }
executed 2741476 times by 119 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_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
2741476
330-
331 inline void readPropertyWithArgs(QObject *target, void *args[]) const-
332 {-
333 if (hasStaticMetaCallFunction())
hasStaticMetaCallFunction()Description
TRUEevaluated 2425556 times by 106 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
FALSEevaluated 412619 times by 78 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
412619-2425556
334 staticMetaCallFunction()(target, QMetaObject::ReadProperty, relativePropertyIndex(), args);
executed 2425556 times by 106 tests: staticMetaCallFunction()(target, QMetaObject::ReadProperty, relativePropertyIndex(), args);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
2425556
335 else if (isDirect())
isDirect()Description
TRUEnever evaluated
FALSEevaluated 412619 times by 78 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
0-412619
336 target->qt_metacall(QMetaObject::ReadProperty, coreIndex(), args);
never executed: target->qt_metacall(QMetaObject::ReadProperty, coreIndex(), args);
0
337 else-
338 QMetaObject::metacall(target, QMetaObject::ReadProperty, coreIndex(), args);
executed 412619 times by 78 tests: QMetaObject::metacall(target, QMetaObject::ReadProperty, coreIndex(), args);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
412619
339 }-
340-
341 bool writeProperty(QObject *target, void *value, WriteFlags flags) const-
342 {-
343 int status = -1;-
344 void *argv[] = { value, nullptr, &status, &flags };-
345 if (flags.testFlag(BypassInterceptor) && hasStaticMetaCallFunction())
flags.testFlag...ssInterceptor)Description
TRUEevaluated 1845390 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
FALSEevaluated 10549 times by 75 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • ...
hasStaticMetaCallFunction()Description
TRUEevaluated 1686993 times by 127 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 158397 times by 97 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
10549-1845390
346 staticMetaCallFunction()(target, QMetaObject::WriteProperty, relativePropertyIndex(), argv);
executed 1686993 times by 127 tests: staticMetaCallFunction()(target, QMetaObject::WriteProperty, relativePropertyIndex(), argv);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
1686993
347 else if (flags.testFlag(BypassInterceptor) && isDirect())
flags.testFlag...ssInterceptor)Description
TRUEevaluated 158397 times by 97 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
FALSEevaluated 10549 times by 75 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltypeloader
  • ...
isDirect()Description
TRUEnever evaluated
FALSEevaluated 158397 times by 97 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
0-158397
348 target->qt_metacall(QMetaObject::WriteProperty, coreIndex(), argv);
never executed: target->qt_metacall(QMetaObject::WriteProperty, coreIndex(), argv);
0
349 else-
350 QMetaObject::metacall(target, QMetaObject::WriteProperty, coreIndex(), argv);
executed 168946 times by 102 tests: QMetaObject::metacall(target, QMetaObject::WriteProperty, coreIndex(), argv);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
168946
351 return true;
executed 1855939 times by 140 tests: return true;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsonbinding
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
1855939
352 }-
353-
354 static Flags defaultSignalFlags()-
355 {-
356 Flags f;-
357 f.isSignal = true;-
358 f.type = Flags::FunctionType;-
359 f.isVMESignal = true;-
360 return f;
executed 24581 times by 102 tests: return f;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
24581
361 }-
362-
363 static Flags defaultSlotFlags()-
364 {-
365 Flags f;-
366 f.type = Flags::FunctionType;-
367 f.isVMEFunction = true;-
368 return f;
executed 9724 times by 55 tests: return f;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • ...
9724
369 }-
370-
371private:-
372 friend class QQmlPropertyCache;-
373 void lazyLoad(const QMetaProperty &);-
374 void lazyLoad(const QMetaMethod &);-
375 bool notFullyResolved() const { return _flags.notFullyResolved; }
executed 3678898 times by 144 tests: return _flags.notFullyResolved;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
3678898
376};-
377-
378struct QQmlEnumValue-
379{-
380 QQmlEnumValue() {}-
381 QQmlEnumValue(const QString &n, int v) : namedValue(n), value(v) {}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qmlcachegen
4
382 QString namedValue;-
383 int value = -1;-
384};-
385-
386struct QQmlEnumData-
387{-
388 QString name;-
389 QVector<QQmlEnumValue> values;-
390};-
391-
392class QQmlPropertyCacheMethodArguments;-
393class Q_QML_PRIVATE_EXPORT QQmlPropertyCache : public QQmlRefCount-
394{-
395public:-
396 QQmlPropertyCache();-
397 QQmlPropertyCache(const QMetaObject *);-
398 ~QQmlPropertyCache() override;-
399-
400 void update(const QMetaObject *);-
401 void invalidate(const QMetaObject *);-
402 // Used by qmlpuppet. Remove as soon Creator requires Qt 5.5.-
403 void invalidate(void *, const QMetaObject *mo) { invalidate(mo); }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickdesignersupport
6
404-
405 QQmlPropertyCache *copy();-
406-
407 QQmlPropertyCache *copyAndAppend(const QMetaObject *,-
408 QQmlPropertyRawData::Flags propertyFlags = QQmlPropertyData::Flags(),-
409 QQmlPropertyRawData::Flags methodFlags = QQmlPropertyData::Flags(),-
410 QQmlPropertyRawData::Flags signalFlags = QQmlPropertyData::Flags());-
411 QQmlPropertyCache *copyAndAppend(const QMetaObject *, int revision,-
412 QQmlPropertyRawData::Flags propertyFlags = QQmlPropertyData::Flags(),-
413 QQmlPropertyRawData::Flags methodFlags = QQmlPropertyData::Flags(),-
414 QQmlPropertyRawData::Flags signalFlags = QQmlPropertyData::Flags());-
415-
416 QQmlPropertyCache *copyAndReserve(int propertyCount,-
417 int methodCount, int signalCount, int enumCount);-
418 void appendProperty(const QString &, QQmlPropertyRawData::Flags flags, int coreIndex,-
419 int propType, int revision, int notifyIndex);-
420 void appendSignal(const QString &, QQmlPropertyRawData::Flags, int coreIndex,-
421 const int *types = nullptr, const QList<QByteArray> &names = QList<QByteArray>());-
422 void appendMethod(const QString &, QQmlPropertyData::Flags flags, int coreIndex,-
423 const QList<QByteArray> &names = QList<QByteArray>());-
424 void appendEnum(const QString &, const QVector<QQmlEnumValue> &);-
425-
426 const QMetaObject *metaObject() const;-
427 const QMetaObject *createMetaObject();-
428 const QMetaObject *firstCppMetaObject() const;-
429-
430 template<typename K>-
431 QQmlPropertyData *property(const K &key, QObject *object, QQmlContextData *context) const-
432 {-
433 return findProperty(stringCache.find(key), object, context);
executed 12126903 times by 144 tests: return findProperty(stringCache.find(key), object, context);
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
12126903
434 }-
435-
436 QQmlPropertyData *property(int) const;-
437 QQmlPropertyData *method(int) const;-
438 QQmlPropertyData *signal(int index) const;-
439 QQmlEnumData *qmlEnum(int) const;-
440 int methodIndexToSignalIndex(int) const;-
441-
442 QString defaultPropertyName() const;-
443 QQmlPropertyData *defaultProperty() const;-
444 QQmlPropertyCache *parent() const;-
445 // is used by the Qml Designer-
446 void setParent(QQmlPropertyCache *newParent);-
447-
448 inline QQmlPropertyData *overrideData(QQmlPropertyData *) const;-
449 inline bool isAllowedInRevision(QQmlPropertyData *) const;-
450-
451 static QQmlPropertyData *property(QJSEngine *, QObject *, const QStringRef &,-
452 QQmlContextData *, QQmlPropertyData &);-
453 static QQmlPropertyData *property(QJSEngine *, QObject *, const QLatin1String &,-
454 QQmlContextData *, QQmlPropertyData &);-
455 static QQmlPropertyData *property(QJSEngine *, QObject *, const QV4::String *,-
456 QQmlContextData *, QQmlPropertyData &);-
457-
458 static QQmlPropertyData *property(QJSEngine *engine, QObject *obj, const QString &name,-
459 QQmlContextData *context, QQmlPropertyData &local)-
460 {-
461 return property(engine, obj, QStringRef(&name), context, local);
executed 4 times by 1 test: return property(engine, obj, QStringRef(&name), context, local);
Executed by:
  • tst_qqmlcontext
4
462 }-
463-
464 //see QMetaObjectPrivate::originalClone-
465 int originalClone(int index);-
466 static int originalClone(QObject *, int index);-
467-
468 QList<QByteArray> signalParameterNames(int index) const;-
469 static QString signalParameterStringForJS(QV4::ExecutionEngine *engine, const QList<QByteArray> &parameterNameList, QString *errorString = nullptr);-
470-
471 const char *className() const;-
472-
473 inline int propertyCount() const;-
474 inline int propertyOffset() const;-
475 inline int methodCount() const;-
476 inline int methodOffset() const;-
477 inline int signalCount() const;-
478 inline int signalOffset() const;-
479 inline int qmlEnumCount() const;-
480-
481 static bool isDynamicMetaObject(const QMetaObject *);-
482-
483 void toMetaObjectBuilder(QMetaObjectBuilder &);-
484-
485 inline bool callJSFactoryMethod(QObject *object, void **args) const;-
486-
487 static bool determineMetaObjectSizes(const QMetaObject &mo, int *fieldCount, int *stringCount);-
488 static bool addToHash(QCryptographicHash &hash, const QMetaObject &mo);-
489-
490 QByteArray checksum(bool *ok);-
491private:-
492 friend class QQmlEnginePrivate;-
493 friend class QQmlCompiler;-
494 template <typename T> friend class QQmlPropertyCacheCreator;-
495 template <typename T> friend class QQmlPropertyCacheAliasCreator;-
496 friend class QQmlComponentAndAliasResolver;-
497 friend class QQmlMetaObject;-
498 friend struct QQmlMetaTypeData;-
499-
500 inline QQmlPropertyCache *copy(int reserve);-
501-
502 void append(const QMetaObject *, int revision,-
503 QQmlPropertyRawData::Flags propertyFlags = QQmlPropertyRawData::Flags(),-
504 QQmlPropertyRawData::Flags methodFlags = QQmlPropertyData::Flags(),-
505 QQmlPropertyRawData::Flags signalFlags = QQmlPropertyData::Flags());-
506-
507 QQmlPropertyCacheMethodArguments *createArgumentsObject(int count, const QList<QByteArray> &names);-
508-
509 typedef QVector<QQmlPropertyData> IndexCache;-
510 typedef QStringMultiHash<QPair<int, QQmlPropertyData *> > StringCache;-
511 typedef QVector<int> AllowedRevisionCache;-
512-
513 QQmlPropertyData *findProperty(StringCache::ConstIterator it, QObject *, QQmlContextData *) const;-
514 QQmlPropertyData *findProperty(StringCache::ConstIterator it, const QQmlVMEMetaObject *, QQmlContextData *) const;-
515-
516 QQmlPropertyData *ensureResolved(QQmlPropertyData*) const;-
517-
518 Q_NEVER_INLINE void resolve(QQmlPropertyData *) const;-
519 void updateRecur(const QMetaObject *);-
520-
521 template<typename K>-
522 QQmlPropertyData *findNamedProperty(const K &key) const-
523 {-
524 StringCache::mapped_type *it = stringCache.value(key);-
525 return it ? it->second : 0;
executed 58596 times by 102 tests: return it ? it->second : 0;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
58596
526 }-
527-
528 template<typename K>-
529 void setNamedProperty(const K &key, int index, QQmlPropertyData *data, bool isOverride)-
530 {-
531 stringCache.insert(key, qMakePair(index, data));-
532 _hasPropertyOverrides |= isOverride;-
533 }
executed 741205 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
741205
534-
535private:-
536 QQmlPropertyCache *_parent;-
537 int propertyIndexCacheStart;-
538 int methodIndexCacheStart;-
539 int signalHandlerIndexCacheStart;-
540-
541 IndexCache propertyIndexCache;-
542 IndexCache methodIndexCache;-
543 IndexCache signalHandlerIndexCache;-
544 StringCache stringCache;-
545 AllowedRevisionCache allowedRevisionCache;-
546 QVector<QQmlEnumData> enumCache;-
547-
548 bool _hasPropertyOverrides : 1;-
549 bool _ownMetaObject : 1;-
550 const QMetaObject *_metaObject;-
551 QByteArray _dynamicClassName;-
552 QByteArray _dynamicStringData;-
553 QString _defaultPropertyName;-
554 QQmlPropertyCacheMethodArguments *argumentsCache;-
555 int _jsFactoryMethodIndex;-
556 QByteArray _checksum;-
557};-
558-
559typedef QQmlRefPointer<QQmlPropertyCache> QQmlPropertyCachePtr;-
560-
561// QQmlMetaObject serves as a wrapper around either QMetaObject or QQmlPropertyCache.-
562// This is necessary as we delay creation of QMetaObject for synthesized QObjects, but-
563// we don't want to needlessly generate QQmlPropertyCaches every time we encounter a-
564// QObject type used in assignment or when we don't have a QQmlEngine etc.-
565//-
566// This class does NOT reference the propertycache.-
567class QQmlEnginePrivate;-
568class Q_QML_EXPORT QQmlMetaObject-
569{-
570public:-
571 typedef QVarLengthArray<int, 9> ArgTypeStorage;-
572-
573 inline QQmlMetaObject();-
574 inline QQmlMetaObject(QObject *);-
575 inline QQmlMetaObject(const QMetaObject *);-
576 inline QQmlMetaObject(QQmlPropertyCache *);-
577 inline QQmlMetaObject(const QQmlMetaObject &);-
578-
579 inline QQmlMetaObject &operator=(const QQmlMetaObject &);-
580-
581 inline bool isNull() const;-
582-
583 inline const char *className() const;-
584 inline int propertyCount() const;-
585-
586 inline bool hasMetaObject() const;-
587 inline const QMetaObject *metaObject() const;-
588-
589 QQmlPropertyCache *propertyCache(QQmlEnginePrivate *) const;-
590-
591 int methodReturnType(const QQmlPropertyData &data, QByteArray *unknownTypeError) const;-
592 int *methodParameterTypes(int index, ArgTypeStorage *argStorage,-
593 QByteArray *unknownTypeError) const;-
594-
595 static bool canConvert(const QQmlMetaObject &from, const QQmlMetaObject &to);-
596-
597 // static_metacall (on Gadgets) doesn't call the base implementation and therefore-
598 // we need a helper to find the correct meta object and property/method index.-
599 static void resolveGadgetMethodOrPropertyIndex(QMetaObject::Call type, const QMetaObject **metaObject, int *index);-
600-
601protected:-
602 QBiPointer<QQmlPropertyCache, const QMetaObject> _m;-
603 int *methodParameterTypes(const QMetaMethod &method, ArgTypeStorage *argStorage,-
604 QByteArray *unknownTypeError) const;-
605-
606};-
607-
608class QQmlObjectOrGadget: public QQmlMetaObject-
609{-
610public:-
611 QQmlObjectOrGadget(QObject *obj)-
612 : QQmlMetaObject(obj),-
613 ptr(obj)-
614 {}
executed 63982 times by 55 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
63982
615 QQmlObjectOrGadget(QQmlPropertyCache *propertyCache, void *gadget)-
616 : QQmlMetaObject(propertyCache)-
617 , ptr(gadget)-
618 {}
executed 344 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
344
619-
620 void metacall(QMetaObject::Call type, int index, void **argv) const;-
621-
622private:-
623 QBiPointer<QObject, void> ptr;-
624-
625protected:-
626 QQmlObjectOrGadget(const QMetaObject* metaObject)-
627 : QQmlMetaObject(metaObject)-
628 {}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qjsengine
8
629-
630};-
631-
632class QQmlStaticMetaObject : public QQmlObjectOrGadget {-
633public:-
634 QQmlStaticMetaObject(const QMetaObject* metaObject)-
635 : QQmlObjectOrGadget(metaObject)-
636 {}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qjsengine
8
637 int *constructorParameterTypes(int index, ArgTypeStorage *dummy, QByteArray *unknownTypeError) const;-
638};-
639-
640QQmlPropertyRawData::Flags::Flags()-
641 : _otherBits(0)-
642 , isConstant(false)-
643 , isWritable(false)-
644 , isResettable(false)-
645 , isAlias(false)-
646 , isFinal(false)-
647 , isOverridden(false)-
648 , isDirect(false)-
649 , type(OtherType)-
650 , isVMEFunction(false)-
651 , hasArguments(false)-
652 , isSignal(false)-
653 , isVMESignal(false)-
654 , isV4Function(false)-
655 , isSignalHandler(false)-
656 , isOverload(false)-
657 , isCloned(false)-
658 , isConstructor(false)-
659 , notFullyResolved(false)-
660 , overrideIndexIsProperty(false)-
661{}
executed 13928509 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13928509
662-
663bool QQmlPropertyRawData::Flags::operator==(const QQmlPropertyRawData::Flags &other) const-
664{-
665 return isConstant == other.isConstant &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
666 isWritable == other.isWritable &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
667 isResettable == other.isResettable &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
668 isAlias == other.isAlias &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
669 isFinal == other.isFinal &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
670 isOverridden == other.isOverridden &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
671 type == other.type &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
672 isVMEFunction == other.isVMEFunction &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
673 hasArguments == other.hasArguments &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
674 isSignal == other.isSignal &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
675 isVMESignal == other.isVMESignal &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
676 isV4Function == other.isV4Function &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
677 isSignalHandler == other.isSignalHandler &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
678 isOverload == other.isOverload &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
679 isCloned == other.isCloned &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
680 isConstructor == other.isConstructor &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
681 notFullyResolved == other.notFullyResolved &&
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
682 overrideIndexIsProperty == other.overrideIndexIsProperty;
never executed: return isConstant == other.isConstant && isWritable == other.isWritable && isResettable == other.isResettable && isAlias == other.isAlias && isFinal == other.isFinal && isOverridden == other.isOverridden && type == other.type && isVMEFunction == other.isV... && isSignalHandler == other.isSignalHandler && isOverload == other.isOverload && isCloned == other.isCloned && isConstructor == other.isConstructor && notFullyResolved == other.notFullyResolved && overrideIndexIsProperty == other.overrideIndexIsProperty;
0
683}-
684-
685void QQmlPropertyRawData::Flags::copyPropertyTypeFlags(QQmlPropertyRawData::Flags from)-
686{-
687 switch (from.type) {-
688 case QObjectDerivedType:
executed 16 times by 2 tests: case QObjectDerivedType:
Executed by:
  • tst_examples
  • tst_qqmlecmascript
16
689 case EnumType:
never executed: case EnumType:
0
690 case QListType:
executed 10 times by 3 tests: case QListType:
Executed by:
  • tst_examples
  • tst_qquicklayouts
  • tst_qquicklistview
10
691 case QmlBindingType:
never executed: case QmlBindingType:
0
692 case QJSValueType:
executed 18 times by 1 test: case QJSValueType:
Executed by:
  • tst_qqmlecmascript
18
693 case V4HandleType:
never executed: case V4HandleType:
0
694 case QVariantType:
executed 170 times by 3 tests: case QVariantType:
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickshortcut
170
695 type = from.type;-
696 }
executed 214 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshortcut
214
697}
executed 992 times by 27 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • ...
992
698-
699QQmlPropertyData::QQmlPropertyData()-
700{-
701 setCoreIndex(-1);-
702 setPropType(0);-
703 setNotifyIndex(-1);-
704 setOverrideIndex(-1);-
705 setRevision(0);-
706 setMetaObjectOffset(-1);-
707 setArguments(nullptr);-
708 trySetStaticMetaCallFunction(nullptr, 0);-
709}
executed 13615919 times by 146 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • ...
13615919
710-
711QQmlPropertyData::QQmlPropertyData(const QQmlPropertyRawData &d)-
712{-
713 *(static_cast<QQmlPropertyRawData *>(this)) = d;-
714}
never executed: end of block
0
715-
716bool QQmlPropertyData::operator==(const QQmlPropertyRawData &other)-
717{-
718 return flags() == other.flags() &&
never executed: return flags() == other.flags() && propType() == other.propType() && coreIndex() == other.coreIndex() && notifyIndex() == other.notifyIndex() && revision() == other.revision();
0
719 propType() == other.propType() &&
never executed: return flags() == other.flags() && propType() == other.propType() && coreIndex() == other.coreIndex() && notifyIndex() == other.notifyIndex() && revision() == other.revision();
0
720 coreIndex() == other.coreIndex() &&
never executed: return flags() == other.flags() && propType() == other.propType() && coreIndex() == other.coreIndex() && notifyIndex() == other.notifyIndex() && revision() == other.revision();
0
721 notifyIndex() == other.notifyIndex() &&
never executed: return flags() == other.flags() && propType() == other.propType() && coreIndex() == other.coreIndex() && notifyIndex() == other.notifyIndex() && revision() == other.revision();
0
722 revision() == other.revision();
never executed: return flags() == other.flags() && propType() == other.propType() && coreIndex() == other.coreIndex() && notifyIndex() == other.notifyIndex() && revision() == other.revision();
0
723}-
724-
725inline QQmlPropertyData *QQmlPropertyCache::ensureResolved(QQmlPropertyData *p) const-
726{-
727 if (p && Q_UNLIKELY(p->notFullyResolved()))
pDescription
TRUEevaluated 3671337 times by 144 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
FALSEnever evaluated
__builtin_expe...ved()), false)Description
TRUEevaluated 7436 times by 135 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • 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_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
FALSEevaluated 3663901 times by 144 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
0-3671337
728 resolve(p);
executed 7436 times by 135 tests: resolve(p);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • 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_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
7436
729-
730 return p;
executed 3671337 times by 144 tests: return p;
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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • ...
3671337
731}-
732-
733// Returns this property cache's metaObject. May be null if it hasn't been created yet.-
734inline const QMetaObject *QQmlPropertyCache::metaObject() const-
735{-
736 return _metaObject;-
737}-
738-
739// Returns the first C++ type's QMetaObject - that is, the first QMetaObject not created by-
740// QML-
741inline const QMetaObject *QQmlPropertyCache::firstCppMetaObject() const-
742{-
743 while (_parent && (_metaObject == nullptr || _ownMetaObject))
_parentDescription
TRUEevaluated 146760 times by 142 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 3796 times by 66 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
_metaObject == nullptrDescription
TRUEevaluated 6250 times by 102 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
FALSEevaluated 140510 times by 139 tests
Evaluated 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_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
_ownMetaObjectDescription
TRUEevaluated 283 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
FALSEevaluated 140227 times by 139 tests
Evaluated 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_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
283-146760
744 return _parent->firstCppMetaObject();
executed 6533 times by 102 tests: return _parent->firstCppMetaObject();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
6533
745 return _metaObject;
executed 144023 times by 142 tests: return _metaObject;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
144023
746}-
747-
748inline QQmlPropertyData *QQmlPropertyCache::property(int index) const-
749{-
750 if (index < 0 || index >= (propertyIndexCacheStart + propertyIndexCache.count()))
index < 0Description
TRUEnever evaluated
FALSEevaluated 2105 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
index >= (prop...Cache.count())Description
TRUEnever evaluated
FALSEevaluated 2105 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
0-2105
751 return nullptr;
never executed: return nullptr;
0
752-
753 if (index < propertyIndexCacheStart)
index < proper...ndexCacheStartDescription
TRUEevaluated 1115 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
FALSEevaluated 990 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • ...
990-1115
754 return _parent->property(index);
executed 1115 times by 23 tests: return _parent->property(index);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
1115
755-
756 QQmlPropertyData *rv = const_cast<QQmlPropertyData *>(&propertyIndexCache.at(index - propertyIndexCacheStart));-
757 return ensureResolved(rv);
executed 990 times by 27 tests: return ensureResolved(rv);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • ...
990
758}-
759-
760inline QQmlPropertyData *QQmlPropertyCache::method(int index) const-
761{-
762 if (index < 0 || index >= (methodIndexCacheStart + methodIndexCache.count()))
index < 0Description
TRUEnever evaluated
FALSEnever evaluated
index >= (meth...Cache.count())Description
TRUEnever evaluated
FALSEnever evaluated
0
763 return nullptr;
never executed: return nullptr;
0
764-
765 if (index < methodIndexCacheStart)
index < methodIndexCacheStartDescription
TRUEnever evaluated
FALSEnever evaluated
0
766 return _parent->method(index);
never executed: return _parent->method(index);
0
767-
768 QQmlPropertyData *rv = const_cast<QQmlPropertyData *>(&methodIndexCache.at(index - methodIndexCacheStart));-
769 return ensureResolved(rv);
never executed: return ensureResolved(rv);
0
770}-
771-
772/*! \internal-
773 \a index MUST be in the signal index range (see QObjectPrivate::signalIndex()).-
774 This is different from QMetaMethod::methodIndex().-
775*/-
776inline QQmlPropertyData *QQmlPropertyCache::signal(int index) const-
777{-
778 if (index < 0 || index >= (signalHandlerIndexCacheStart + signalHandlerIndexCache.count()))
index < 0Description
TRUEnever evaluated
FALSEevaluated 75693 times by 102 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
index >= (sign...Cache.count())Description
TRUEnever evaluated
FALSEevaluated 75693 times by 102 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
0-75693
779 return nullptr;
never executed: return nullptr;
0
780-
781 if (index < signalHandlerIndexCacheStart)
index < signal...ndexCacheStartDescription
TRUEnever evaluated
FALSEevaluated 75693 times by 102 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
0-75693
782 return _parent->signal(index);
never executed: return _parent->signal(index);
0
783-
784 QQmlPropertyData *rv = const_cast<QQmlPropertyData *>(&methodIndexCache.at(index - signalHandlerIndexCacheStart));-
785 Q_ASSERT(rv->isSignal() || rv->coreIndex() == -1);-
786 return ensureResolved(rv);
executed 75693 times by 102 tests: return ensureResolved(rv);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
75693
787}-
788-
789inline QQmlEnumData *QQmlPropertyCache::qmlEnum(int index) const-
790{-
791 if (index < 0 || index >= enumCache.count())
index < 0Description
TRUEnever evaluated
FALSEnever evaluated
index >= enumCache.count()Description
TRUEnever evaluated
FALSEnever evaluated
0
792 return nullptr;
never executed: return nullptr;
0
793-
794 return const_cast<QQmlEnumData *>(&enumCache.at(index));
never executed: return const_cast<QQmlEnumData *>(&enumCache.at(index));
0
795}-
796-
797inline int QQmlPropertyCache::methodIndexToSignalIndex(int index) const-
798{-
799 if (index < 0 || index >= (methodIndexCacheStart + methodIndexCache.count()))
index < 0Description
TRUEnever evaluated
FALSEevaluated 115442 times by 83 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
index >= (meth...Cache.count())Description
TRUEnever evaluated
FALSEevaluated 115442 times by 83 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
0-115442
800 return index;
never executed: return index;
0
801-
802 if (index < methodIndexCacheStart)
index < methodIndexCacheStartDescription
TRUEevaluated 65209 times by 43 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
FALSEevaluated 50233 times by 83 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
50233-65209
803 return _parent->methodIndexToSignalIndex(index);
executed 65209 times by 43 tests: return _parent->methodIndexToSignalIndex(index);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmlprofilerservice
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • ...
65209
804-
805 return index - methodIndexCacheStart + signalHandlerIndexCacheStart;
executed 50233 times by 83 tests: return index - methodIndexCacheStart + signalHandlerIndexCacheStart;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
50233
806}-
807-
808// Returns the name of the default property for this cache-
809inline QString QQmlPropertyCache::defaultPropertyName() const-
810{-
811 return _defaultPropertyName;
executed 659932 times by 142 tests: return _defaultPropertyName;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
659932
812}-
813-
814inline QQmlPropertyCache *QQmlPropertyCache::parent() const-
815{-
816 return _parent;
executed 2059831 times by 137 tests: return _parent;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
2059831
817}-
818-
819QQmlPropertyData *-
820QQmlPropertyCache::overrideData(QQmlPropertyData *data) const-
821{-
822 if (!data->hasOverride())
!data->hasOverride()Description
TRUEevaluated 48490 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 228 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlsettings
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
228-48490
823 return nullptr;
executed 48490 times by 99 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
48490
824-
825 if (data->overrideIndexIsProperty())
data->override...exIsProperty()Description
TRUEevaluated 102 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
FALSEevaluated 126 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlsettings
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
102-126
826 return property(data->overrideIndex());
executed 102 times by 8 tests: return property(data->overrideIndex());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickapplication
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
102
827 else-
828 return method(data->overrideIndex());
executed 126 times by 13 tests: return method(data->overrideIndex());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlsettings
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
126
829}-
830-
831bool QQmlPropertyCache::isAllowedInRevision(QQmlPropertyData *data) const-
832{-
833 return (data->metaObjectOffset() == -1 && data->revision() == 0) ||
executed 48 times by 2 tests: return (data->metaObjectOffset() == -1 && data->revision() == 0) || (allowedRevisionCache[data->metaObjectOffset()] >= data->revision());
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
48
834 (allowedRevisionCache[data->metaObjectOffset()] >= data->revision());
executed 48 times by 2 tests: return (data->metaObjectOffset() == -1 && data->revision() == 0) || (allowedRevisionCache[data->metaObjectOffset()] >= data->revision());
Executed by:
  • tst_qqmlecmascript
  • tst_qquickitem2
48
835}-
836-
837int QQmlPropertyCache::propertyCount() const-
838{-
839 return propertyIndexCacheStart + propertyIndexCache.count();
executed 696473 times by 86 tests: return propertyIndexCacheStart + propertyIndexCache.count();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
696473
840}-
841-
842int QQmlPropertyCache::propertyOffset() const-
843{-
844 return propertyIndexCacheStart;
executed 873210 times by 102 tests: return propertyIndexCacheStart;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
873210
845}-
846-
847int QQmlPropertyCache::methodCount() const-
848{-
849 return methodIndexCacheStart + methodIndexCache.count();
executed 696473 times by 86 tests: return methodIndexCacheStart + methodIndexCache.count();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • ...
696473
850}-
851-
852int QQmlPropertyCache::methodOffset() const-
853{-
854 return methodIndexCacheStart;
executed 902169 times by 102 tests: return methodIndexCacheStart;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
902169
855}-
856-
857int QQmlPropertyCache::signalCount() const-
858{-
859 return signalHandlerIndexCacheStart + signalHandlerIndexCache.count();
executed 726445 times by 102 tests: return signalHandlerIndexCacheStart + signalHandlerIndexCache.count();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
726445
860}-
861-
862int QQmlPropertyCache::signalOffset() const-
863{-
864 return signalHandlerIndexCacheStart;
executed 283120 times by 102 tests: return signalHandlerIndexCacheStart;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
283120
865}-
866-
867int QQmlPropertyCache::qmlEnumCount() const-
868{-
869 return enumCache.count();
never executed: return enumCache.count();
0
870}-
871-
872bool QQmlPropertyCache::callJSFactoryMethod(QObject *object, void **args) const-
873{-
874 if (_jsFactoryMethodIndex != -1) {
_jsFactoryMethodIndex != -1Description
TRUEevaluated 449652 times by 127 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 1043153 times by 142 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
449652-1043153
875 _metaObject->d.static_metacall(object, QMetaObject::InvokeMetaMethod, _jsFactoryMethodIndex, args);-
876 return true;
executed 449652 times by 127 tests: return true;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
449652
877 }-
878 if (_parent)
_parentDescription
TRUEevaluated 958985 times by 142 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 84168 times by 119 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
84168-958985
879 return _parent->callJSFactoryMethod(object, args);
executed 958985 times by 142 tests: return _parent->callJSFactoryMethod(object, args);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
958985
880 return false;
executed 84168 times by 119 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
84168
881}-
882-
883QQmlMetaObject::QQmlMetaObject()-
884{-
885}-
886-
887QQmlMetaObject::QQmlMetaObject(QObject *o)-
888{-
889 if (o) {
oDescription
TRUEevaluated 964149 times by 121 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlcpputils
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • ...
FALSEevaluated 344 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlitemmodels
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
344-964149
890 QQmlData *ddata = QQmlData::get(o, false);-
891 if (ddata && ddata->propertyCache) _m = ddata->propertyCache;
executed 950821 times by 120 tests: _m = ddata->propertyCache;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
ddataDescription
TRUEevaluated 964069 times by 120 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 80 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcpputils
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickwindow
ddata->propertyCacheDescription
TRUEevaluated 950821 times by 120 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 13248 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodelworkerscript
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickvisualdatamodel
  • tst_signalspy
80-964069
892 else _m = o->metaObject();
executed 13328 times by 25 tests: _m = o->metaObject();
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcpputils
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickvisualdatamodel
  • tst_qquickwindow
  • tst_signalspy
13328
893 }-
894}
executed 964493 times by 121 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlcpputils
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • ...
964493
895-
896QQmlMetaObject::QQmlMetaObject(const QMetaObject *m)-
897: _m(m)-
898{-
899}
executed 925245 times by 120 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlcpputils
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • ...
925245
900-
901QQmlMetaObject::QQmlMetaObject(QQmlPropertyCache *m)-
902: _m(m)-
903{-
904}
executed 31448 times by 131 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
31448
905-
906QQmlMetaObject::QQmlMetaObject(const QQmlMetaObject &o)-
907: _m(o._m)-
908{-
909}
never executed: end of block
0
910-
911QQmlMetaObject &QQmlMetaObject::operator=(const QQmlMetaObject &o)-
912{-
913 _m = o._m;-
914 return *this;
executed 21765 times by 97 tests: return *this;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • ...
21765
915}-
916-
917bool QQmlMetaObject::isNull() const-
918{-
919 return _m.isNull();
executed 1862947 times by 118 tests: return _m.isNull();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlcpputils
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
1862947
920}-
921-
922const char *QQmlMetaObject::className() const-
923{-
924 if (_m.isNull()) {-
925 return nullptr;-
926 } else if (_m.isT1()) {-
927 return _m.asT1()->className();-
928 } else {-
929 return _m.asT2()->className();-
930 }-
931}-
932-
933int QQmlMetaObject::propertyCount() const-
934{-
935 if (_m.isNull()) {
_m.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
936 return 0;
never executed: return 0;
0
937 } else if (_m.isT1()) {
_m.isT1()Description
TRUEnever evaluated
FALSEnever evaluated
0
938 return _m.asT1()->propertyCount();
never executed: return _m.asT1()->propertyCount();
0
939 } else {-
940 return _m.asT2()->propertyCount();
never executed: return _m.asT2()->propertyCount();
0
941 }-
942}-
943-
944bool QQmlMetaObject::hasMetaObject() const-
945{-
946 return _m.isT2() || (!_m.isNull() && _m.asT1()->metaObject());
never executed: return _m.isT2() || (!_m.isNull() && _m.asT1()->metaObject());
0
947}-
948-
949const QMetaObject *QQmlMetaObject::metaObject() const-
950{-
951 if (_m.isNull()) return nullptr;-
952 if (_m.isT1()) return _m.asT1()->createMetaObject();-
953 else return _m.asT2();-
954}-
955-
956class QQmlPropertyCacheVector-
957{-
958public:-
959 QQmlPropertyCacheVector() {}-
960 QQmlPropertyCacheVector(QQmlPropertyCacheVector &&other)-
961 : data(std::move(other.data)) {}
executed 48474 times by 142 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
48474
962 QQmlPropertyCacheVector &operator=(QQmlPropertyCacheVector &&other) {-
963 QVector<QFlagPointer<QQmlPropertyCache>> moved(std::move(other.data));-
964 data.swap(moved);-
965 return *this;
executed 96946 times by 142 tests: return *this;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
96946
966 }-
967-
968 ~QQmlPropertyCacheVector() { clear(); }
executed 2449054 times by 147 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
2449054
969 void resize(int size) { return data.resize(size); }
executed 55019 times by 142 tests: return data.resize(size);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
55019
970 int count() const { return data.count(); }
executed 104455 times by 142 tests: return data.count();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
104455
971 void clear()-
972 {-
973 for (int i = 0; i < data.count(); ++i) {
i < data.count()Description
TRUEevaluated 125141 times by 142 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 4850468 times by 147 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
125141-4850468
974 if (QQmlPropertyCache *cache = data.at(i).data())
QQmlPropertyCa...a.at(i).data()Description
TRUEevaluated 125115 times by 142 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
FALSEevaluated 26 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlpropertymap
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquickstates
26-125115
975 cache->release();
executed 125115 times by 142 tests: cache->release();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
125115
976 }
executed 125141 times by 142 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
125141
977 data.clear();-
978 }
executed 4850677 times by 147 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • ...
4850677
979-
980 void append(QQmlPropertyCache *cache) { cache->addref(); data.append(cache); }
executed 750 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
750
981 QQmlPropertyCache *at(int index) const { return data.at(index).data(); }
executed 2053419 times by 142 tests: return data.at(index).data();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
2053419
982 void set(int index, const QQmlRefPointer<QQmlPropertyCache> &replacement) {-
983 if (QQmlPropertyCache *oldCache = data.at(index).data()) {
QQmlPropertyCa...(index).data()Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
FALSEevaluated 124595 times by 142 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
8-124595
984 if (replacement.data() == oldCache)
replacement.data() == oldCacheDescription
TRUEnever evaluated
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
0-8
985 return;
never executed: return;
0
986 oldCache->release();-
987 }
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
8
988 data[index] = replacement.data();-
989 replacement->addref();-
990 }
executed 124603 times by 142 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
124603
991-
992 void setNeedsVMEMetaObject(int index) { data[index].setFlag(); }
executed 11407 times by 102 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
11407
993 bool needsVMEMetaObject(int index) const { return data.at(index).flag(); }
executed 690413 times by 142 tests: return data.at(index).flag();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • 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_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
690413
994private:-
995 Q_DISABLE_COPY(QQmlPropertyCacheVector)-
996 QVector<QFlagPointer<QQmlPropertyCache>> data;-
997};-
998-
999Q_DECLARE_OPERATORS_FOR_FLAGS(QQmlPropertyData::WriteFlags)-
1000-
1001QT_END_NAMESPACE-
1002-
1003#endif // QQMLPROPERTYCACHE_P_H-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0