OpenCoverage

qmetaobject.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Copyright (C) 2015 Olivier Goffart <ogoffart@woboq.com>-
5** Contact: https://www.qt.io/licensing/-
6**-
7** This file is part of the QtCore module of the Qt Toolkit.-
8**-
9** $QT_BEGIN_LICENSE:LGPL$-
10** Commercial License Usage-
11** Licensees holding valid commercial Qt licenses may use this file in-
12** accordance with the commercial license agreement provided with the-
13** Software or, alternatively, in accordance with the terms contained in-
14** a written agreement between you and The Qt Company. For licensing terms-
15** and conditions see https://www.qt.io/terms-conditions. For further-
16** information use the contact form at https://www.qt.io/contact-us.-
17**-
18** GNU Lesser General Public License Usage-
19** Alternatively, this file may be used under the terms of the GNU Lesser-
20** General Public License version 3 as published by the Free Software-
21** Foundation and appearing in the file LICENSE.LGPL3 included in the-
22** packaging of this file. Please review the following information to-
23** ensure the GNU Lesser General Public License version 3 requirements-
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
25**-
26** GNU General Public License Usage-
27** Alternatively, this file may be used under the terms of the GNU-
28** General Public License version 2.0 or (at your option) the GNU General-
29** Public license version 3 or any later version approved by the KDE Free-
30** Qt Foundation. The licenses are as published by the Free Software-
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
32** included in the packaging of this file. Please review the following-
33** information to ensure the GNU General Public License requirements will-
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
35** https://www.gnu.org/licenses/gpl-3.0.html.-
36**-
37** $QT_END_LICENSE$-
38**-
39****************************************************************************/-
40-
41#include "qmetaobject.h"-
42#include "qmetatype.h"-
43#include "qobject.h"-
44#include "qmetaobject_p.h"-
45-
46#include <qcoreapplication.h>-
47#include <qcoreevent.h>-
48#include <qdatastream.h>-
49#include <qstringlist.h>-
50#include <qthread.h>-
51#include <qvariant.h>-
52#include <qdebug.h>-
53#include <qsemaphore.h>-
54-
55#include "private/qobject_p.h"-
56#include "private/qmetaobject_p.h"-
57-
58// for normalizeTypeInternal-
59#include "private/qmetaobject_moc_p.h"-
60-
61#include <ctype.h>-
62-
63QT_BEGIN_NAMESPACE-
64-
65/*!-
66 \class QMetaObject-
67 \inmodule QtCore-
68-
69 \brief The QMetaObject class contains meta-information about Qt-
70 objects.-
71-
72 \ingroup objectmodel-
73-
74 The Qt \l{Meta-Object System} in Qt is responsible for the-
75 signals and slots inter-object communication mechanism, runtime-
76 type information, and the Qt property system. A single-
77 QMetaObject instance is created for each QObject subclass that is-
78 used in an application, and this instance stores all the-
79 meta-information for the QObject subclass. This object is-
80 available as QObject::metaObject().-
81-
82 This class is not normally required for application programming,-
83 but it is useful if you write meta-applications, such as scripting-
84 engines or GUI builders.-
85-
86 The functions you are most likely to find useful are these:-
87 \list-
88 \li className() returns the name of a class.-
89 \li superClass() returns the superclass's meta-object.-
90 \li method() and methodCount() provide information-
91 about a class's meta-methods (signals, slots and other-
92 \l{Q_INVOKABLE}{invokable} member functions).-
93 \li enumerator() and enumeratorCount() and provide information about-
94 a class's enumerators.-
95 \li propertyCount() and property() provide information about a-
96 class's properties.-
97 \li constructor() and constructorCount() provide information-
98 about a class's meta-constructors.-
99 \endlist-
100-
101 The index functions indexOfConstructor(), indexOfMethod(),-
102 indexOfEnumerator(), and indexOfProperty() map names of constructors,-
103 member functions, enumerators, or properties to indexes in the-
104 meta-object. For example, Qt uses indexOfMethod() internally when you-
105 connect a signal to a slot.-
106-
107 Classes can also have a list of \e{name}--\e{value} pairs of-
108 additional class information, stored in QMetaClassInfo objects.-
109 The number of pairs is returned by classInfoCount(), single pairs-
110 are returned by classInfo(), and you can search for pairs with-
111 indexOfClassInfo().-
112-
113 \sa QMetaClassInfo, QMetaEnum, QMetaMethod, QMetaProperty, QMetaType,-
114 {Meta-Object System}-
115*/-
116-
117/*!-
118 \enum QMetaObject::Call-
119-
120 \internal-
121-
122 \value InvokeSlot-
123 \value EmitSignal-
124 \value ReadProperty-
125 \value WriteProperty-
126 \value ResetProperty-
127 \value QueryPropertyDesignable-
128 \value QueryPropertyScriptable-
129 \value QueryPropertyStored-
130 \value QueryPropertyEditable-
131 \value QueryPropertyUser-
132 \value CreateInstance-
133*/-
134-
135/*!-
136 \enum QMetaMethod::Access-
137-
138 This enum describes the access level of a method, following the conventions used in C++.-
139-
140 \value Private-
141 \value Protected-
142 \value Public-
143*/-
144-
145static inline const QMetaObjectPrivate *priv(const uint* data)-
146{
executed 134356086 times by 1014 tests: return reinterpret_cast<const QMetaObjectPrivate*>(data);
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
return reinterpret_cast<const QMetaObjectPrivate*>(data); }
executed 134356086 times by 1014 tests: return reinterpret_cast<const QMetaObjectPrivate*>(data);
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
134356086
147-
148static inline const QByteArray stringData(const QMetaObject *mo, int index)-
149{-
150 Q_ASSERT(priv(mo->d.data)->revision >= 7);-
151 const QByteArrayDataPtr data = { const_cast<QByteArrayData*>(&mo->d.stringdata[index]) };-
152 Q_ASSERT(data.ptr->ref.isStatic());-
153 Q_ASSERT(data.ptr->alloc == 0);-
154 Q_ASSERT(data.ptr->capacityReserved == 0);-
155 Q_ASSERT(data.ptr->size >= 0);-
156 return data;
executed 13199584 times by 539 tests: return data;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
13199584
157}-
158-
159static inline const char *rawStringData(const QMetaObject *mo, int index)-
160{-
161 return stringData(mo, index).data();
executed 5072121 times by 517 tests: return stringData(mo, index).data();
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
5072121
162}-
163-
164static inline QByteArray typeNameFromTypeInfo(const QMetaObject *mo, uint typeInfo)-
165{-
166 if (typeInfo & IsUnresolvedType) {
typeInfo & IsUnresolvedTypeDescription
TRUEevaluated 150338 times by 218 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 29950 times by 206 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • ...
29950-150338
167 return stringData(mo, typeInfo & TypeNameIndexMask);
executed 150338 times by 218 tests: return stringData(mo, typeInfo & TypeNameIndexMask);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
150338
168 } else {-
169 // ### Use the QMetaType::typeName() that returns QByteArray-
170 const char *t = QMetaType::typeName(typeInfo);-
171 return QByteArray::fromRawData(t, qstrlen(t));
executed 29950 times by 206 tests: return QByteArray::fromRawData(t, qstrlen(t));
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • ...
29950
172 }-
173}-
174-
175static inline const char *rawTypeNameFromTypeInfo(const QMetaObject *mo, uint typeInfo)-
176{-
177 return typeNameFromTypeInfo(mo, typeInfo).constData();
executed 1096 times by 23 tests: return typeNameFromTypeInfo(mo, typeInfo).constData();
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
1096
178}-
179-
180static inline int typeFromTypeInfo(const QMetaObject *mo, uint typeInfo)-
181{-
182 if (!(typeInfo & IsUnresolvedType))
!(typeInfo & IsUnresolvedType)Description
TRUEevaluated 1337052 times by 529 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 156258 times by 141 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • ...
156258-1337052
183 return typeInfo;
executed 1337052 times by 529 tests: return typeInfo;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1337052
184 return QMetaType::type(stringData(mo, typeInfo & TypeNameIndexMask));
executed 156258 times by 141 tests: return QMetaType::type(stringData(mo, typeInfo & TypeNameIndexMask));
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • ...
156258
185}-
186-
187class QMetaMethodPrivate : public QMetaMethod-
188{-
189public:-
190 static const QMetaMethodPrivate *get(const QMetaMethod *q)-
191 { return static_cast<const QMetaMethodPrivate *>(q); }
executed 799098 times by 750 tests: return static_cast<const QMetaMethodPrivate *>(q);
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
799098
192-
193 inline QByteArray signature() const;-
194 inline QByteArray name() const;-
195 inline int typesDataIndex() const;-
196 inline const char *rawReturnTypeName() const;-
197 inline int returnType() const;-
198 inline int parameterCount() const;-
199 inline int parametersDataIndex() const;-
200 inline uint parameterTypeInfo(int index) const;-
201 inline int parameterType(int index) const;-
202 inline void getParameterTypes(int *types) const;-
203 inline QList<QByteArray> parameterTypes() const;-
204 inline QList<QByteArray> parameterNames() const;-
205 inline QByteArray tag() const;-
206 inline int ownMethodIndex() const;-
207-
208private:-
209 QMetaMethodPrivate();-
210};-
211-
212/*!-
213 \since 4.5-
214-
215 Constructs a new instance of this class. You can pass up to ten arguments-
216 (\a val0, \a val1, \a val2, \a val3, \a val4, \a val5, \a val6, \a val7,-
217 \a val8, and \a val9) to the constructor. Returns the new object, or 0 if-
218 no suitable constructor is available.-
219-
220 Note that only constructors that are declared with the Q_INVOKABLE-
221 modifier are made available through the meta-object system.-
222-
223 \sa Q_ARG(), constructor()-
224*/-
225QObject *QMetaObject::newInstance(QGenericArgument val0,-
226 QGenericArgument val1,-
227 QGenericArgument val2,-
228 QGenericArgument val3,-
229 QGenericArgument val4,-
230 QGenericArgument val5,-
231 QGenericArgument val6,-
232 QGenericArgument val7,-
233 QGenericArgument val8,-
234 QGenericArgument val9) const-
235{-
236 QByteArray constructorName = className();-
237 {-
238 int idx = constructorName.lastIndexOf(':');-
239 if (idx != -1)
idx != -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
1-4
240 constructorName.remove(0, idx+1); // remove qualified part
executed 1 time by 1 test: constructorName.remove(0, idx+1);
Executed by:
  • tst_QMetaObject
1
241 }-
242 QVarLengthArray<char, 512> sig;-
243 sig.append(constructorName.constData(), constructorName.length());-
244 sig.append('(');-
245-
246 enum { MaximumParamCount = 10 };-
247 const char *typeNames[] = {val0.name(), val1.name(), val2.name(), val3.name(), val4.name(),-
248 val5.name(), val6.name(), val7.name(), val8.name(), val9.name()};-
249-
250 int paramCount;-
251 for (paramCount = 0; paramCount < MaximumParamCount; ++paramCount) {
paramCount < MaximumParamCountDescription
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
FALSEnever evaluated
0-8
252 int len = qstrlen(typeNames[paramCount]);-
253 if (len <= 0)
len <= 0Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
FALSEevaluated 3 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
3-5
254 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
5
255 sig.append(typeNames[paramCount], len);-
256 sig.append(',');-
257 }
executed 3 times by 2 tests: end of block
Executed by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
3
258 if (paramCount == 0)
paramCount == 0Description
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
FALSEevaluated 3 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
2-3
259 sig.append(')'); // no parameters
executed 2 times by 2 tests: sig.append(')');
Executed by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
2
260 else-
261 sig[sig.size() - 1] = ')';
executed 3 times by 2 tests: sig[sig.size() - 1] = ')';
Executed by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
3
262 sig.append('\0');-
263-
264 int idx = indexOfConstructor(sig.constData());-
265 if (idx < 0) {
idx < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
1-4
266 QByteArray norm = QMetaObject::normalizedSignature(sig.constData());-
267 idx = indexOfConstructor(norm.constData());-
268 }
executed 1 time by 1 test: end of block
Executed by:
  • tst_QMetaObject
1
269 if (idx < 0)
idx < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
1-4
270 return 0;
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QMetaObject
1
271-
272 QObject *returnValue = 0;-
273 void *param[] = {&returnValue, val0.data(), val1.data(), val2.data(), val3.data(), val4.data(),-
274 val5.data(), val6.data(), val7.data(), val8.data(), val9.data()};-
275-
276 if (static_metacall(CreateInstance, idx, param) >= 0)
static_metacal...x, param) >= 0Description
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
0-4
277 return 0;
never executed: return 0;
0
278 return returnValue;
executed 4 times by 2 tests: return returnValue;
Executed by:
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
4
279}-
280-
281/*!-
282 \internal-
283*/-
284int QMetaObject::static_metacall(Call cl, int idx, void **argv) const-
285{-
286 Q_ASSERT(priv(d.data)->revision >= 6);-
287 if (!d.static_metacall)
!d.static_metacallDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QDBusMetaObject
FALSEevaluated 226865 times by 207 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
3-226865
288 return 0;
executed 3 times by 1 test: return 0;
Executed by:
  • tst_QDBusMetaObject
3
289 d.static_metacall(0, cl, idx, argv);-
290 return -1;
executed 226865 times by 207 tests: return -1;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
226865
291}-
292-
293/*!-
294 \internal-
295*/-
296int QMetaObject::metacall(QObject *object, Call cl, int idx, void **argv)-
297{-
298 if (object->d_ptr->metaObject)
object->d_ptr->metaObjectDescription
TRUEnever evaluated
FALSEevaluated 41273 times by 202 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
0-41273
299 return object->d_ptr->metaObject->metaCall(object, cl, idx, argv);
never executed: return object->d_ptr->metaObject->metaCall(object, cl, idx, argv);
0
300 else-
301 return object->qt_metacall(cl, idx, argv);
executed 41273 times by 202 tests: return object->qt_metacall(cl, idx, argv);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
41273
302}-
303-
304static inline const char *objectClassName(const QMetaObject *m)-
305{-
306 return rawStringData(m, priv(m->d.data)->className);
executed 855829 times by 515 tests: return rawStringData(m, priv(m->d.data)->className);
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
855829
307}-
308-
309/*!-
310 Returns the class name.-
311-
312 \sa superClass()-
313*/-
314const char *QMetaObject::className() const-
315{-
316 return objectClassName(this);-
317}-
318-
319/*!-
320 \fn QMetaObject *QMetaObject::superClass() const-
321-
322 Returns the meta-object of the superclass, or 0 if there is no-
323 such object.-
324-
325 \sa className()-
326*/-
327-
328/*!-
329 Returns \c true if the class described by this QMetaObject inherits-
330 the type described by \a metaObject; otherwise returns false.-
331-
332 A type is considered to inherit itself.-
333-
334 \since 5.7-
335*/-
336bool QMetaObject::inherits(const QMetaObject *metaObject) const Q_DECL_NOEXCEPT-
337{-
338 const QMetaObject *m = this;-
339 do {-
340 if (metaObject == m)
metaObject == mDescription
TRUEevaluated 10998745 times by 545 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 11516969 times by 264 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBrush
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
10998745-11516969
341 return true;
executed 10998745 times by 545 tests: return true;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
10998745
342 } while ((m = m->d.superdata));
executed 11516969 times by 264 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBrush
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
(m = m->d.superdata)Description
TRUEevaluated 10480169 times by 264 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBrush
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 1036800 times by 215 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBrush
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
1036800-11516969
343 return false;
executed 1036800 times by 215 tests: return false;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBrush
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
1036800
344}-
345-
346/*!-
347 \internal-
348-
349 Returns \a obj if object \a obj inherits from this-
350 meta-object; otherwise returns 0.-
351*/-
352QObject *QMetaObject::cast(QObject *obj) const-
353{-
354 // ### Qt 6: inline-
355 return const_cast<QObject*>(cast(const_cast<const QObject*>(obj)));
executed 12063925 times by 655 tests: return const_cast<QObject*>(cast(const_cast<const QObject*>(obj)));
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
12063925
356}-
357-
358/*!-
359 \internal-
360-
361 Returns \a obj if object \a obj inherits from this-
362 meta-object; otherwise returns 0.-
363*/-
364const QObject *QMetaObject::cast(const QObject *obj) const-
365{-
366 return (obj && obj->metaObject()->inherits(this)) ? obj : nullptr;
executed 12338177 times by 655 tests: return (obj && obj->metaObject()->inherits(this)) ? obj : nullptr;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
12338177
367}-
368-
369#ifndef QT_NO_TRANSLATION-
370/*!-
371 \internal-
372*/-
373QString QMetaObject::tr(const char *s, const char *c, int n) const-
374{-
375 return QCoreApplication::translate(objectClassName(this), s, c, n);-
376}-
377#endif // QT_NO_TRANSLATION-
378-
379/*!-
380 Returns the method offset for this class; i.e. the index position-
381 of this class's first member function.-
382-
383 The offset is the sum of all the methods in the class's-
384 superclasses (which is always positive since QObject has the-
385 deleteLater() slot and a destroyed() signal).-
386-
387 \sa method(), methodCount(), indexOfMethod()-
388*/-
389int QMetaObject::methodOffset() const-
390{-
391 int offset = 0;-
392 const QMetaObject *m = d.superdata;-
393 while (m) {
mDescription
TRUEevaluated 31248541 times by 550 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 11645589 times by 553 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
11645589-31248541
394 offset += priv(m->d.data)->methodCount;-
395 m = m->d.superdata;-
396 }
executed 31248541 times by 550 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
31248541
397 return offset;
executed 11645589 times by 553 tests: return offset;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
11645589
398}-
399-
400-
401/*!-
402 Returns the enumerator offset for this class; i.e. the index-
403 position of this class's first enumerator.-
404-
405 If the class has no superclasses with enumerators, the offset is-
406 0; otherwise the offset is the sum of all the enumerators in the-
407 class's superclasses.-
408-
409 \sa enumerator(), enumeratorCount(), indexOfEnumerator()-
410*/-
411int QMetaObject::enumeratorOffset() const-
412{-
413 int offset = 0;-
414 const QMetaObject *m = d.superdata;-
415 while (m) {
mDescription
TRUEevaluated 48131 times by 86 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFormLayout
  • tst_QFrame
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • ...
FALSEevaluated 142454 times by 144 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • ...
48131-142454
416 offset += priv(m->d.data)->enumeratorCount;-
417 m = m->d.superdata;-
418 }
executed 48131 times by 86 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFormLayout
  • tst_QFrame
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • ...
48131
419 return offset;
executed 142454 times by 144 tests: return offset;
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • ...
142454
420}-
421-
422/*!-
423 Returns the property offset for this class; i.e. the index-
424 position of this class's first property.-
425-
426 The offset is the sum of all the properties in the class's-
427 superclasses (which is always positive since QObject has the-
428 name() property).-
429-
430 \sa property(), propertyCount(), indexOfProperty()-
431*/-
432int QMetaObject::propertyOffset() const-
433{-
434 int offset = 0;-
435 const QMetaObject *m = d.superdata;-
436 while (m) {
mDescription
TRUEevaluated 183326 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
FALSEevaluated 101723 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
101723-183326
437 offset += priv(m->d.data)->propertyCount;-
438 m = m->d.superdata;-
439 }
executed 183326 times by 156 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
183326
440 return offset;
executed 101723 times by 156 tests: return offset;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
101723
441}-
442-
443/*!-
444 Returns the class information offset for this class; i.e. the-
445 index position of this class's first class information item.-
446-
447 If the class has no superclasses with class information, the-
448 offset is 0; otherwise the offset is the sum of all the class-
449 information items in the class's superclasses.-
450-
451 \sa classInfo(), classInfoCount(), indexOfClassInfo()-
452*/-
453int QMetaObject::classInfoOffset() const-
454{-
455 int offset = 0;-
456 const QMetaObject *m = d.superdata;-
457 while (m) {
mDescription
TRUEevaluated 9796 times by 16 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 7001 times by 16 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
7001-9796
458 offset += priv(m->d.data)->classInfoCount;-
459 m = m->d.superdata;-
460 }
executed 9796 times by 16 tests: end of block
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
9796
461 return offset;
executed 7001 times by 16 tests: return offset;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
7001
462}-
463-
464/*!-
465 \since 4.5-
466-
467 Returns the number of constructors in this class.-
468-
469 \sa constructor(), indexOfConstructor()-
470*/-
471int QMetaObject::constructorCount() const-
472{-
473 Q_ASSERT(priv(d.data)->revision >= 2);-
474 return priv(d.data)->constructorCount;
executed 40 times by 2 tests: return priv(d.data)->constructorCount;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
40
475}-
476-
477/*!-
478 Returns the number of methods in this class, including the number of-
479 methods provided by each base class. These include signals and slots-
480 as well as normal member functions.-
481-
482 Use code like the following to obtain a QStringList containing the methods-
483 specific to a given class:-
484-
485 \snippet code/src_corelib_kernel_qmetaobject.cpp methodCount-
486-
487 \sa method(), methodOffset(), indexOfMethod()-
488*/-
489int QMetaObject::methodCount() const-
490{-
491 int n = priv(d.data)->methodCount;-
492 const QMetaObject *m = d.superdata;-
493 while (m) {
mDescription
TRUEevaluated 283140 times by 515 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 373366 times by 518 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
283140-373366
494 n += priv(m->d.data)->methodCount;-
495 m = m->d.superdata;-
496 }
executed 283140 times by 515 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
283140
497 return n;
executed 373366 times by 518 tests: return n;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
373366
498}-
499-
500/*!-
501 Returns the number of enumerators in this class.-
502-
503 \sa enumerator(), enumeratorOffset(), indexOfEnumerator()-
504*/-
505int QMetaObject::enumeratorCount() const-
506{-
507 int n = priv(d.data)->enumeratorCount;-
508 const QMetaObject *m = d.superdata;-
509 while (m) {
mDescription
TRUEevaluated 140 times by 2 tests
Evaluated by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
FALSEevaluated 87 times by 2 tests
Evaluated by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
87-140
510 n += priv(m->d.data)->enumeratorCount;-
511 m = m->d.superdata;-
512 }
executed 140 times by 2 tests: end of block
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
140
513 return n;
executed 87 times by 2 tests: return n;
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
87
514}-
515-
516/*!-
517 Returns the number of properties in this class, including the number of-
518 properties provided by each base class.-
519-
520 Use code like the following to obtain a QStringList containing the properties-
521 specific to a given class:-
522-
523 \snippet code/src_corelib_kernel_qmetaobject.cpp propertyCount-
524-
525 \sa property(), propertyOffset(), indexOfProperty()-
526*/-
527int QMetaObject::propertyCount() const-
528{-
529 int n = priv(d.data)->propertyCount;-
530 const QMetaObject *m = d.superdata;-
531 while (m) {
mDescription
TRUEevaluated 1914 times by 22 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
FALSEevaluated 1178 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
1178-1914
532 n += priv(m->d.data)->propertyCount;-
533 m = m->d.superdata;-
534 }
executed 1914 times by 22 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
1914
535 return n;
executed 1178 times by 23 tests: return n;
Executed by:
  • tst_QAbstractItemView
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
1178
536}-
537-
538/*!-
539 Returns the number of items of class information in this class.-
540-
541 \sa classInfo(), classInfoOffset(), indexOfClassInfo()-
542*/-
543int QMetaObject::classInfoCount() const-
544{-
545 int n = priv(d.data)->classInfoCount;-
546 const QMetaObject *m = d.superdata;-
547 while (m) {
mDescription
TRUEevaluated 140 times by 2 tests
Evaluated by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
FALSEevaluated 87 times by 2 tests
Evaluated by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
87-140
548 n += priv(m->d.data)->classInfoCount;-
549 m = m->d.superdata;-
550 }
executed 140 times by 2 tests: end of block
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
140
551 return n;
executed 87 times by 2 tests: return n;
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaObjectBuilder
87
552}-
553-
554// Returns \c true if the method defined by the given meta-object&handle-
555// matches the given name, argument count and argument types, otherwise-
556// returns \c false.-
557static bool methodMatch(const QMetaObject *m, int handle,-
558 const QByteArray &name, int argc,-
559 const QArgumentType *types)-
560{-
561 Q_ASSERT(priv(m->d.data)->revision >= 7);-
562 if (int(m->d.data[handle + 1]) != argc)
int(m->d.data[... + 1]) != argcDescription
TRUEevaluated 12857242 times by 535 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 7730209 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
7730209-12857242
563 return false;
executed 12857242 times by 535 tests: return false;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
12857242
564-
565 if (stringData(m, m->d.data[handle]) != name)
stringData(m, ...ndle]) != nameDescription
TRUEevaluated 6370834 times by 536 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 1359375 times by 467 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • ...
1359375-6370834
566 return false;
executed 6370834 times by 536 tests: return false;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
6370834
567-
568 int paramsIndex = m->d.data[handle + 2] + 1;-
569 for (int i = 0; i < argc; ++i) {
i < argcDescription
TRUEevaluated 1605652 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 1354517 times by 467 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • ...
1354517-1605652
570 uint typeInfo = m->d.data[paramsIndex + i];-
571 if (types[i].type()) {
types[i].type()Description
TRUEevaluated 1458150 times by 269 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 147502 times by 172 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
147502-1458150
572 if (types[i].type() != typeFromTypeInfo(m, typeInfo))
types[i].type(...o(m, typeInfo)Description
TRUEevaluated 1360 times by 28 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QLineEdit
  • tst_QListWidget
  • tst_QMetaMethod
  • tst_QObject
  • tst_QPrinter
  • tst_QSignalMapper
  • tst_QSpinBox
  • ...
FALSEevaluated 1456790 times by 269 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
1360-1456790
573 return false;
executed 1360 times by 28 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QLineEdit
  • tst_QListWidget
  • tst_QMetaMethod
  • tst_QObject
  • tst_QPrinter
  • tst_QSignalMapper
  • tst_QSpinBox
  • ...
1360
574 } else {
executed 1456790 times by 269 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
1456790
575 if (types[i].name() != typeNameFromTypeInfo(m, typeInfo))
types[i].name(...o(m, typeInfo)Description
TRUEevaluated 3498 times by 25 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpServer
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_Spdy
FALSEevaluated 144004 times by 172 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
3498-144004
576 return false;
executed 3498 times by 25 tests: return false;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpServer
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_Spdy
3498
577 }
executed 144004 times by 172 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
144004
578 }-
579-
580 return true;
executed 1354517 times by 467 tests: return true;
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • ...
1354517
581}-
582-
583/**-
584* \internal-
585* helper function for indexOf{Method,Slot,Signal}, returns the relative index of the method within-
586* the baseObject-
587* \a MethodType might be MethodSignal or MethodSlot, or 0 to match everything.-
588*/-
589template<int MethodType>-
590static inline int indexOfMethodRelative(const QMetaObject **baseObject,-
591 const QByteArray &name, int argc,-
592 const QArgumentType *types)-
593{-
594 for (const QMetaObject *m = *baseObject; m; m = m->d.superdata) {
mDescription
TRUEevaluated 3057119 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 631939 times by 515 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
631939-3057119
595 Q_ASSERT(priv(m->d.data)->revision >= 7);-
596 int i = (MethodType == MethodSignal)
(MethodType == MethodSignal)Description
TRUEevaluated 1283344 times by 264 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 1773775 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1283344-1773775
597 ? (priv(m->d.data)->signalCount - 1) : (priv(m->d.data)->methodCount - 1);-
598 const int end = (MethodType == MethodSlot)-
599 ? (priv(m->d.data)->signalCount) : 0;-
600-
601 for (; i >= end; --i) {
i >= endDescription
TRUEevaluated 20587141 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 1702616 times by 516 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1702616-20587141
602 int handle = priv(m->d.data)->methodData + 5*i;-
603 if (methodMatch(m, handle, name, argc, types)) {
methodMatch(m,..., argc, types)Description
TRUEevaluated 1354503 times by 467 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • ...
FALSEevaluated 19232897 times by 536 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1354503-19232897
604 *baseObject = m;-
605 return i;
executed 1354503 times by 467 tests: return i;
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • ...
1354503
606 }-
607 }
executed 19232848 times by 536 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
19232848
608 }
executed 1702616 times by 516 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1702616
609 return -1;
executed 631939 times by 515 tests: return -1;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
631939
610}-
611-
612-
613/*!-
614 \since 4.5-
615-
616 Finds \a constructor and returns its index; otherwise returns -1.-
617-
618 Note that the \a constructor has to be in normalized form, as returned-
619 by normalizedSignature().-
620-
621 \sa constructor(), constructorCount(), normalizedSignature()-
622*/-
623int QMetaObject::indexOfConstructor(const char *constructor) const-
624{-
625 Q_ASSERT(priv(d.data)->revision >= 7);-
626 QArgumentTypeArray types;-
627 QByteArray name = QMetaObjectPrivate::decodeMethodSignature(constructor, types);-
628 return QMetaObjectPrivate::indexOfConstructor(this, name, types.size(), types.constData());
executed 16 times by 4 tests: return QMetaObjectPrivate::indexOfConstructor(this, name, types.size(), types.constData());
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QObject
16
629}-
630-
631/*!-
632 Finds \a method and returns its index; otherwise returns -1.-
633-
634 Note that the \a method has to be in normalized form, as returned-
635 by normalizedSignature().-
636-
637 \sa method(), methodCount(), methodOffset(), normalizedSignature()-
638*/-
639int QMetaObject::indexOfMethod(const char *method) const-
640{-
641 const QMetaObject *m = this;-
642 int i;-
643 Q_ASSERT(priv(m->d.data)->revision >= 7);-
644 QArgumentTypeArray types;-
645 QByteArray name = QMetaObjectPrivate::decodeMethodSignature(method, types);-
646 i = indexOfMethodRelative<0>(&m, name, types.size(), types.constData());-
647 if (i >= 0)
i >= 0Description
TRUEevaluated 138552 times by 452 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • ...
FALSEevaluated 14198 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
14198-138552
648 i += m->methodOffset();
executed 138552 times by 452 tests: i += m->methodOffset();
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • ...
138552
649 return i;
executed 152750 times by 534 tests: return i;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
152750
650}-
651-
652// Parses a string of comma-separated types into QArgumentTypes.-
653// No normalization of the type names is performed.-
654static void argumentTypesFromString(const char *str, const char *end,-
655 QArgumentTypeArray &types)-
656{-
657 Q_ASSERT(str <= end);-
658 while (str != end) {
str != endDescription
TRUEevaluated 1611862 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 1371930 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1371930-1611862
659 if (!types.isEmpty())
!types.isEmpty()Description
TRUEevaluated 756902 times by 185 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
FALSEevaluated 854960 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
756902-854960
660 ++str; // Skip comma
executed 756902 times by 185 tests: ++str;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
756902
661 const char *begin = str;-
662 int level = 0;-
663 while (str != end && (level > 0 || *str != ',')) {
str != endDescription
TRUEevaluated 13895634 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 854960 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
level > 0Description
TRUEevaluated 766212 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • ...
FALSEevaluated 13129422 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
*str != ','Description
TRUEevaluated 12372520 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 756902 times by 185 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
756902-13895634
664 if (*str == '<')
*str == '<'Description
TRUEevaluated 54750 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • ...
FALSEevaluated 13081459 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
54750-13081459
665 ++level;
executed 54750 times by 102 tests: ++level;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • ...
54750
666 else if (*str == '>')
*str == '>'Description
TRUEevaluated 54750 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • ...
FALSEevaluated 13029232 times by 270 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
54750-13029232
667 --level;
executed 54750 times by 102 tests: --level;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • ...
54750
668 ++str;-
669 }
executed 13136202 times by 270 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
13136202
670 types += QArgumentType(QByteArray(begin, str - begin));-
671 }
executed 1611862 times by 270 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
1611862
672}
executed 1371930 times by 537 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1371930
673-
674// Given a method \a signature (e.g. "foo(int,double)"), this function-
675// populates the argument \a types array and returns the method name.-
676QByteArray QMetaObjectPrivate::decodeMethodSignature(-
677 const char *signature, QArgumentTypeArray &types)-
678{-
679 Q_ASSERT(signature != 0);-
680 const char *lparens = strchr(signature, '(');-
681 if (!lparens)
!lparensDescription
TRUEnever evaluated
FALSEevaluated 1371930 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
0-1371930
682 return QByteArray();
never executed: return QByteArray();
0
683 const char *rparens = strrchr(lparens + 1, ')');-
684 if (!rparens || *(rparens+1))
!rparensDescription
TRUEnever evaluated
FALSEevaluated 1371238 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
*(rparens+1)Description
TRUEnever evaluated
FALSEevaluated 1371930 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
0-1371930
685 return QByteArray();
never executed: return QByteArray();
0
686 int nameLength = lparens - signature;-
687 argumentTypesFromString(lparens + 1, rparens, types);-
688 return QByteArray::fromRawData(signature, nameLength);
executed 1371930 times by 537 tests: return QByteArray::fromRawData(signature, nameLength);
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1371930
689}-
690-
691/*!-
692 Finds \a signal and returns its index; otherwise returns -1.-
693-
694 This is the same as indexOfMethod(), except that it will return-
695 -1 if the method exists but isn't a signal.-
696-
697 Note that the \a signal has to be in normalized form, as returned-
698 by normalizedSignature().-
699-
700 \sa indexOfMethod(), normalizedSignature(), method(), methodCount(), methodOffset()-
701*/-
702int QMetaObject::indexOfSignal(const char *signal) const-
703{-
704 const QMetaObject *m = this;-
705 int i;-
706 Q_ASSERT(priv(m->d.data)->revision >= 7);-
707 QArgumentTypeArray types;-
708 QByteArray name = QMetaObjectPrivate::decodeMethodSignature(signal, types);-
709 i = QMetaObjectPrivate::indexOfSignalRelative(&m, name, types.size(), types.constData());-
710 if (i >= 0)
i >= 0Description
TRUEevaluated 109842 times by 106 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • ...
FALSEevaluated 276 times by 5 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QStateMachine
  • tst_qdbusabstractadaptor - unknown status
276-109842
711 i += m->methodOffset();
executed 109842 times by 106 tests: i += m->methodOffset();
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • ...
109842
712 return i;
executed 110118 times by 108 tests: return i;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • ...
110118
713}-
714-
715/*!-
716 \internal-
717 Same as QMetaObject::indexOfSignal, but the result is the local offset to the base object.-
718-
719 \a baseObject will be adjusted to the enclosing QMetaObject, or 0 if the signal is not found-
720*/-
721int QMetaObjectPrivate::indexOfSignalRelative(const QMetaObject **baseObject,-
722 const QByteArray &name, int argc,-
723 const QArgumentType *types)-
724{-
725 int i = indexOfMethodRelative<MethodSignal>(baseObject, name, argc, types);-
726#ifndef QT_NO_DEBUG-
727 const QMetaObject *m = *baseObject;-
728 if (i >= 0 && m && m->d.superdata) {
i >= 0Description
TRUEevaluated 685810 times by 264 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 27811 times by 116 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • ...
mDescription
TRUEevaluated 685810 times by 264 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEnever evaluated
m->d.superdataDescription
TRUEevaluated 561486 times by 257 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
FALSEevaluated 124324 times by 174 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
0-685810
729 int conflict = indexOfMethod(m->d.superdata, name, argc, types);-
730 if (conflict >= 0) {
conflict >= 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QObject
FALSEevaluated 561482 times by 257 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
4-561482
731 QMetaMethod conflictMethod = m->d.superdata->method(conflict);-
732 qWarning("QMetaObject::indexOfSignal: signal %s from %s redefined in %s",-
733 conflictMethod.methodSignature().constData(),-
734 objectClassName(m->d.superdata), objectClassName(m));-
735 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_QObject
4
736 }
executed 561486 times by 257 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
561486
737 #endif-
738 return i;
executed 713264 times by 264 tests: return i;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
713264
739}-
740-
741/*!-
742 Finds \a slot and returns its index; otherwise returns -1.-
743-
744 This is the same as indexOfMethod(), except that it will return-
745 -1 if the method exists but isn't a slot.-
746-
747 \sa indexOfMethod(), method(), methodCount(), methodOffset()-
748*/-
749int QMetaObject::indexOfSlot(const char *slot) const-
750{-
751 const QMetaObject *m = this;-
752 int i;-
753 Q_ASSERT(priv(m->d.data)->revision >= 7);-
754 QArgumentTypeArray types;-
755 QByteArray name = QMetaObjectPrivate::decodeMethodSignature(slot, types);-
756 i = QMetaObjectPrivate::indexOfSlotRelative(&m, name, types.size(), types.constData());-
757 if (i >= 0)
i >= 0Description
TRUEevaluated 4956 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_QMetaObject
4-4956
758 i += m->methodOffset();
executed 4956 times by 161 tests: i += m->methodOffset();
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • ...
4956
759 return i;
executed 4960 times by 161 tests: return i;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • ...
4960
760}-
761-
762// same as indexOfSignalRelative but for slots.-
763int QMetaObjectPrivate::indexOfSlotRelative(const QMetaObject **m,-
764 const QByteArray &name, int argc,-
765 const QArgumentType *types)-
766{-
767 return indexOfMethodRelative<MethodSlot>(m, name, argc, types);
executed 504467 times by 260 tests: return indexOfMethodRelative<MethodSlot>(m, name, argc, types);
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
504467
768}-
769-
770int QMetaObjectPrivate::indexOfSignal(const QMetaObject *m, const QByteArray &name,-
771 int argc, const QArgumentType *types)-
772{-
773 int i = indexOfSignalRelative(&m, name, argc, types);-
774 if (i >= 0)
i >= 0Description
TRUEnever evaluated
FALSEnever evaluated
0
775 i += m->methodOffset();
never executed: i += m->methodOffset();
0
776 return i;
never executed: return i;
0
777}-
778-
779int QMetaObjectPrivate::indexOfSlot(const QMetaObject *m, const QByteArray &name,-
780 int argc, const QArgumentType *types)-
781{-
782 int i = indexOfSlotRelative(&m, name, argc, types);-
783 if (i >= 0)
i >= 0Description
TRUEnever evaluated
FALSEnever evaluated
0
784 i += m->methodOffset();
never executed: i += m->methodOffset();
0
785 return i;
never executed: return i;
0
786}-
787-
788int QMetaObjectPrivate::indexOfMethod(const QMetaObject *m, const QByteArray &name,-
789 int argc, const QArgumentType *types)-
790{-
791 int i = indexOfMethodRelative<0>(&m, name, argc, types);-
792 if (i >= 0)
i >= 0Description
TRUEevaluated 27346 times by 111 tests
Evaluated by:
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • ...
FALSEevaluated 588258 times by 257 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
27346-588258
793 i += m->methodOffset();
executed 27346 times by 111 tests: i += m->methodOffset();
Executed by:
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • ...
27346
794 return i;
executed 615604 times by 257 tests: return i;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
615604
795}-
796-
797int QMetaObjectPrivate::indexOfConstructor(const QMetaObject *m, const QByteArray &name,-
798 int argc, const QArgumentType *types)-
799{-
800 for (int i = priv(m->d.data)->constructorCount-1; i >= 0; --i) {
i >= 0Description
TRUEevaluated 51 times by 4 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QObject
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaObject
2-51
801 int handle = priv(m->d.data)->constructorData + 5*i;-
802 if (methodMatch(m, handle, name, argc, types))
methodMatch(m,..., argc, types)Description
TRUEevaluated 14 times by 4 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QObject
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
14-37
803 return i;
executed 14 times by 4 tests: return i;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QObject
14
804 }
executed 37 times by 3 tests: end of block
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
37
805 return -1;
executed 2 times by 1 test: return -1;
Executed by:
  • tst_QMetaObject
2
806}-
807-
808/*!-
809 \internal-
810 \since 5.0-
811-
812 Returns the signal offset for the class \a m; i.e., the index position-
813 of the class's first signal.-
814-
815 Similar to QMetaObject::methodOffset(), but non-signal methods are-
816 excluded.-
817*/-
818int QMetaObjectPrivate::signalOffset(const QMetaObject *m)-
819{-
820 Q_ASSERT(m != 0);-
821 int offset = 0;-
822 for (m = m->d.superdata; m; m = m->d.superdata)
mDescription
TRUEevaluated 32863477 times by 1013 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 24668415 times by 1013 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
24668415-32863477
823 offset += priv(m->d.data)->signalCount;
executed 32863455 times by 1013 tests: offset += priv(m->d.data)->signalCount;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
32863455
824 return offset;
executed 24668418 times by 1013 tests: return offset;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
24668418
825}-
826-
827/*!-
828 \internal-
829 \since 5.0-
830-
831 Returns the number of signals for the class \a m, including the signals-
832 for the base class.-
833-
834 Similar to QMetaObject::methodCount(), but non-signal methods are-
835 excluded.-
836*/-
837int QMetaObjectPrivate::absoluteSignalCount(const QMetaObject *m)-
838{-
839 Q_ASSERT(m != 0);-
840 int n = priv(m->d.data)->signalCount;-
841 for (m = m->d.superdata; m; m = m->d.superdata)
mDescription
TRUEevaluated 3 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QObject
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QObject
3-4
842 n += priv(m->d.data)->signalCount;
executed 3 times by 2 tests: n += priv(m->d.data)->signalCount;
Executed by:
  • tst_QMetaObject
  • tst_QObject
3
843 return n;
executed 4 times by 2 tests: return n;
Executed by:
  • tst_QMetaObject
  • tst_QObject
4
844}-
845-
846/*!-
847 \internal-
848 \since 5.0-
849-
850 Returns the index of the signal method \a m.-
851-
852 Similar to QMetaMethod::methodIndex(), but non-signal methods are-
853 excluded.-
854*/-
855int QMetaObjectPrivate::signalIndex(const QMetaMethod &m)-
856{-
857 if (!m.mobj)
!m.mobjDescription
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tst_QMetaObject
0-14
858 return -1;
never executed: return -1;
0
859 return QMetaMethodPrivate::get(&m)->ownMethodIndex() + signalOffset(m.mobj);
executed 14 times by 1 test: return QMetaMethodPrivate::get(&m)->ownMethodIndex() + signalOffset(m.mobj);
Executed by:
  • tst_QMetaObject
14
860}-
861-
862/*!-
863 \internal-
864 \since 5.0-
865-
866 Returns the signal for the given meta-object \a m at \a signal_index.-
867-
868 It it different from QMetaObject::method(); the index should not include-
869 non-signal methods.-
870*/-
871QMetaMethod QMetaObjectPrivate::signal(const QMetaObject *m, int signal_index)-
872{-
873 QMetaMethod result;-
874 if (signal_index < 0)
signal_index < 0Description
TRUEevaluated 4547 times by 228 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QActionGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusServiceWatcher
  • tst_QDBusThreading
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QFutureWatcher
  • ...
FALSEevaluated 1838758 times by 515 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
4547-1838758
875 return result;
executed 4547 times by 228 tests: return result;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QActionGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusServiceWatcher
  • tst_QDBusThreading
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QFutureWatcher
  • ...
4547
876 Q_ASSERT(m != 0);-
877 int i = signal_index;-
878 i -= signalOffset(m);-
879 if (i < 0 && m->d.superdata)
i < 0Description
TRUEevaluated 147108 times by 414 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
FALSEevaluated 1691650 times by 515 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
m->d.superdataDescription
TRUEevaluated 147108 times by 414 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
FALSEnever evaluated
0-1691650
880 return signal(m->d.superdata, signal_index);
executed 147108 times by 414 tests: return signal(m->d.superdata, signal_index);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
147108
881-
882 if (i >= 0 && i < priv(m->d.data)->signalCount) {
i >= 0Description
TRUEevaluated 1691650 times by 515 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEnever evaluated
i < priv(m->d....)->signalCountDescription
TRUEevaluated 1691182 times by 515 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 468 times by 13 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QMainWindow
  • tst_QMenu
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPrinter
  • tst_QStyle
  • tst_QToolBar
  • tst_QWidget
  • tst_QWidgetAction
  • tst_QWidget_window
  • tst_Spdy
  • tst_qdbusabstractadaptor - unknown status
0-1691650
883 result.mobj = m;-
884 result.handle = priv(m->d.data)->methodData + 5*i;-
885 }
executed 1691182 times by 515 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
1691182
886 return result;
executed 1691650 times by 515 tests: return result;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
1691650
887}-
888-
889/*!-
890 \internal-
891-
892 Returns \c true if the \a signalTypes and \a methodTypes are-
893 compatible; otherwise returns \c false.-
894*/-
895bool QMetaObjectPrivate::checkConnectArgs(int signalArgc, const QArgumentType *signalTypes,-
896 int methodArgc, const QArgumentType *methodTypes)-
897{-
898 if (signalArgc < methodArgc)
signalArgc < methodArgcDescription
TRUEnever evaluated
FALSEevaluated 521740 times by 260 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
0-521740
899 return false;
never executed: return false;
0
900 for (int i = 0; i < methodArgc; ++i) {
i < methodArgcDescription
TRUEevaluated 547851 times by 202 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • ...
FALSEevaluated 521739 times by 260 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
521739-547851
901 if (signalTypes[i] != methodTypes[i])
signalTypes[i]...methodTypes[i]Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QObject
FALSEevaluated 547850 times by 202 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • ...
1-547850
902 return false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QObject
1
903 }
executed 547850 times by 202 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • ...
547850
904 return true;
executed 521739 times by 260 tests: return true;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
521739
905}-
906-
907/*!-
908 \internal-
909-
910 Returns \c true if the \a signal and \a method arguments are-
911 compatible; otherwise returns \c false.-
912*/-
913bool QMetaObjectPrivate::checkConnectArgs(const QMetaMethodPrivate *signal,-
914 const QMetaMethodPrivate *method)-
915{-
916 if (signal->methodType() != QMetaMethod::Signal)
signal->method...Method::SignalDescription
TRUEnever evaluated
FALSEnever evaluated
0
917 return false;
never executed: return false;
0
918 if (signal->parameterCount() < method->parameterCount())
signal->parame...rameterCount()Description
TRUEnever evaluated
FALSEnever evaluated
0
919 return false;
never executed: return false;
0
920 const QMetaObject *smeta = signal->enclosingMetaObject();-
921 const QMetaObject *rmeta = method->enclosingMetaObject();-
922 for (int i = 0; i < method->parameterCount(); ++i) {
i < method->parameterCount()Description
TRUEnever evaluated
FALSEnever evaluated
0
923 uint sourceTypeInfo = signal->parameterTypeInfo(i);-
924 uint targetTypeInfo = method->parameterTypeInfo(i);-
925 if ((sourceTypeInfo & IsUnresolvedType)
(sourceTypeInf...nresolvedType)Description
TRUEnever evaluated
FALSEnever evaluated
0
926 || (targetTypeInfo & IsUnresolvedType)) {
(targetTypeInf...nresolvedType)Description
TRUEnever evaluated
FALSEnever evaluated
0
927 QByteArray sourceName = typeNameFromTypeInfo(smeta, sourceTypeInfo);-
928 QByteArray targetName = typeNameFromTypeInfo(rmeta, targetTypeInfo);-
929 if (sourceName != targetName)
sourceName != targetNameDescription
TRUEnever evaluated
FALSEnever evaluated
0
930 return false;
never executed: return false;
0
931 } else {
never executed: end of block
0
932 int sourceType = typeFromTypeInfo(smeta, sourceTypeInfo);-
933 int targetType = typeFromTypeInfo(rmeta, targetTypeInfo);-
934 if (sourceType != targetType)
sourceType != targetTypeDescription
TRUEnever evaluated
FALSEnever evaluated
0
935 return false;
never executed: return false;
0
936 }
never executed: end of block
0
937 }-
938 return true;
never executed: return true;
0
939}-
940-
941static const QMetaObject *QMetaObject_findMetaObject(const QMetaObject *self, const char *name)-
942{-
943 while (self) {
selfDescription
TRUEevaluated 108 times by 13 tests
Evaluated by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEnever evaluated
0-108
944 if (strcmp(objectClassName(self), name) == 0)
strcmp(objectC...f), name) == 0Description
TRUEevaluated 101 times by 13 tests
Evaluated by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tst_QMetaObjectBuilder
7-101
945 return self;
executed 101 times by 13 tests: return self;
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
101
946 if (self->d.relatedMetaObjects) {
self->d.relatedMetaObjectsDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_QMetaObjectBuilder
FALSEnever evaluated
0-7
947 Q_ASSERT(priv(self->d.data)->revision >= 2);-
948 const QMetaObject * const *e = self->d.relatedMetaObjects;-
949 if (e) {
eDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_QMetaObjectBuilder
FALSEnever evaluated
0-7
950 while (*e) {
*eDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_QMetaObjectBuilder
FALSEnever evaluated
0-7
951 if (const QMetaObject *m =QMetaObject_findMetaObject((*e), name))
const QMetaObj...ct((*e), name)Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_QMetaObjectBuilder
FALSEnever evaluated
0-7
952 return m;
executed 7 times by 1 test: return m;
Executed by:
  • tst_QMetaObjectBuilder
7
953 ++e;-
954 }
never executed: end of block
0
955 }
never executed: end of block
0
956 }
never executed: end of block
0
957 self = self->d.superdata;-
958 }
never executed: end of block
0
959 return self;
never executed: return self;
0
960}-
961-
962/*!-
963 Finds enumerator \a name and returns its index; otherwise returns-
964 -1.-
965-
966 \sa enumerator(), enumeratorCount(), enumeratorOffset()-
967*/-
968int QMetaObject::indexOfEnumerator(const char *name) const-
969{-
970 const QMetaObject *m = this;-
971 while (m) {
mDescription
TRUEevaluated 72340 times by 144 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • ...
FALSEevaluated 766 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
766-72340
972 const QMetaObjectPrivate *d = priv(m->d.data);-
973 for (int i = d->enumeratorCount - 1; i >= 0; --i) {
i >= 0Description
TRUEevaluated 1613972 times by 137 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
FALSEevaluated 2237 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
2237-1613972
974 const char *prop = rawStringData(m, m->d.data[d->enumeratorData + 4*i]);-
975 if (name[0] == prop[0] && strcmp(name + 1, prop + 1) == 0) {
name[0] == prop[0]Description
TRUEevaluated 95954 times by 136 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
FALSEevaluated 1518018 times by 98 tests
Evaluated by:
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDrag
  • tst_QEventDispatcher
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFormLayout
  • ...
strcmp(name + ...prop + 1) == 0Description
TRUEevaluated 70103 times by 136 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
FALSEevaluated 25851 times by 81 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QCalendarWidget
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDrag
  • tst_QFrame
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • ...
25851-1518018
976 i += m->enumeratorOffset();-
977 return i;
executed 70103 times by 136 tests: return i;
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
70103
978 }-
979 }
executed 1543869 times by 105 tests: end of block
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDrag
  • tst_QEventDispatcher
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • ...
1543869
980 m = m->d.superdata;-
981 }
executed 2237 times by 23 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
2237
982 return -1;
executed 766 times by 23 tests: return -1;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
766
983}-
984-
985/*!-
986 Finds property \a name and returns its index; otherwise returns-
987 -1.-
988-
989 \sa property(), propertyCount(), propertyOffset()-
990*/-
991int QMetaObject::indexOfProperty(const char *name) const-
992{-
993 const QMetaObject *m = this;-
994 while (m) {
mDescription
TRUEevaluated 244247 times by 202 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 60516 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • ...
60516-244247
995 const QMetaObjectPrivate *d = priv(m->d.data);-
996 for (int i = d->propertyCount-1; i >= 0; --i) {
i >= 0Description
TRUEevaluated 2509034 times by 202 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 221148 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • ...
221148-2509034
997 const char *prop = rawStringData(m, m->d.data[d->propertyData + 3*i]);-
998 if (name[0] == prop[0] && strcmp(name + 1, prop + 1) == 0) {
name[0] == prop[0]Description
TRUEevaluated 45766 times by 155 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
FALSEevaluated 2463268 times by 184 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
strcmp(name + ...prop + 1) == 0Description
TRUEevaluated 23099 times by 154 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
FALSEevaluated 22667 times by 51 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDataWidgetMapper
  • tst_QErrorMessage
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsItem
  • tst_QGraphicsObject
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMessageBox
  • ...
22667-2463268
999 i += m->propertyOffset();-
1000 return i;
executed 23099 times by 154 tests: return i;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
23099
1001 }-
1002 }
executed 2485935 times by 189 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • ...
2485935
1003 m = m->d.superdata;-
1004 }
executed 221148 times by 181 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • ...
221148
1005-
1006 Q_ASSERT(priv(this->d.data)->revision >= 3);-
1007 if (priv(this->d.data)->flags & DynamicMetaObject) {
priv(this->d.d...amicMetaObjectDescription
TRUEnever evaluated
FALSEevaluated 60516 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • ...
0-60516
1008 QAbstractDynamicMetaObject *me =-
1009 const_cast<QAbstractDynamicMetaObject *>(static_cast<const QAbstractDynamicMetaObject *>(this));-
1010-
1011 return me->createProperty(name, 0);
never executed: return me->createProperty(name, 0);
0
1012 }-
1013-
1014 return -1;
executed 60516 times by 181 tests: return -1;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • ...
60516
1015}-
1016-
1017/*!-
1018 Finds class information item \a name and returns its index;-
1019 otherwise returns -1.-
1020-
1021 \sa classInfo(), classInfoCount(), classInfoOffset()-
1022*/-
1023int QMetaObject::indexOfClassInfo(const char *name) const-
1024{-
1025 int i = -1;-
1026 const QMetaObject *m = this;-
1027 while (m && i < 0) {
mDescription
TRUEevaluated 5507 times by 15 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 301 times by 10 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
i < 0Description
TRUEevaluated 3100 times by 15 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 2407 times by 15 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
301-5507
1028 for (i = priv(m->d.data)->classInfoCount-1; i >= 0; --i)
i >= 0Description
TRUEevaluated 2610 times by 15 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 693 times by 11 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
693-2610
1029 if (strcmp(name, rawStringData(m, m->d.data[priv(m->d.data)->classInfoData + 2*i])) == 0) {
strcmp(name, r... + 2*i])) == 0Description
TRUEevaluated 2407 times by 15 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 203 times by 9 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
203-2407
1030 i += m->classInfoOffset();-
1031 break;
executed 2407 times by 15 tests: break;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
2407
1032 }-
1033 m = m->d.superdata;-
1034 }
executed 3100 times by 15 tests: end of block
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
3100
1035 return i;
executed 2708 times by 15 tests: return i;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
2708
1036}-
1037-
1038/*!-
1039 \since 4.5-
1040-
1041 Returns the meta-data for the constructor with the given \a index.-
1042-
1043 \sa constructorCount(), newInstance()-
1044*/-
1045QMetaMethod QMetaObject::constructor(int index) const-
1046{-
1047 int i = index;-
1048 QMetaMethod result;-
1049 Q_ASSERT(priv(d.data)->revision >= 2);-
1050 if (i >= 0 && i < priv(d.data)->constructorCount) {
i >= 0Description
TRUEevaluated 103 times by 3 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QObject
FALSEnever evaluated
i < priv(d.dat...nstructorCountDescription
TRUEevaluated 103 times by 3 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QObject
FALSEnever evaluated
0-103
1051 result.mobj = this;-
1052 result.handle = priv(d.data)->constructorData + 5*i;-
1053 }
executed 103 times by 3 tests: end of block
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QObject
103
1054 return result;
executed 103 times by 3 tests: return result;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QObject
103
1055}-
1056-
1057/*!-
1058 Returns the meta-data for the method with the given \a index.-
1059-
1060 \sa methodCount(), methodOffset(), indexOfMethod()-
1061*/-
1062QMetaMethod QMetaObject::method(int index) const-
1063{-
1064 int i = index;-
1065 i -= methodOffset();-
1066 if (i < 0 && d.superdata)
i < 0Description
TRUEevaluated 173066 times by 509 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 828330 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
d.superdataDescription
TRUEevaluated 173063 times by 509 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaMethod
3-828330
1067 return d.superdata->method(index);
executed 173063 times by 509 tests: return d.superdata->method(index);
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
173063
1068-
1069 QMetaMethod result;-
1070 if (i >= 0 && i < priv(d.data)->methodCount) {
i >= 0Description
TRUEevaluated 828330 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaMethod
i < priv(d.data)->methodCountDescription
TRUEevaluated 828326 times by 537 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 4 times by 3 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QObject
3-828330
1071 result.mobj = this;-
1072 result.handle = priv(d.data)->methodData + 5*i;-
1073 }
executed 828326 times by 537 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
828326
1074 return result;
executed 828333 times by 537 tests: return result;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
828333
1075}-
1076-
1077/*!-
1078 Returns the meta-data for the enumerator with the given \a index.-
1079-
1080 \sa enumeratorCount(), enumeratorOffset(), indexOfEnumerator()-
1081*/-
1082QMetaEnum QMetaObject::enumerator(int index) const-
1083{-
1084 int i = index;-
1085 i -= enumeratorOffset();-
1086 if (i < 0 && d.superdata)
i < 0Description
TRUEevaluated 2229 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEevaluated 70117 times by 136 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
d.superdataDescription
TRUEevaluated 1465 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEevaluated 764 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
764-70117
1087 return d.superdata->enumerator(index);
executed 1465 times by 23 tests: return d.superdata->enumerator(index);
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
1465
1088-
1089 QMetaEnum result;-
1090 if (i >= 0 && i < priv(d.data)->enumeratorCount) {
i >= 0Description
TRUEevaluated 70117 times by 136 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
FALSEevaluated 764 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
i < priv(d.dat...numeratorCountDescription
TRUEevaluated 70117 times by 136 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
FALSEnever evaluated
0-70117
1091 result.mobj = this;-
1092 result.handle = priv(d.data)->enumeratorData + 4*i;-
1093 }
executed 70117 times by 136 tests: end of block
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • ...
70117
1094 return result;
executed 70881 times by 144 tests: return result;
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBrush
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QCollator
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataStream
  • tst_QDataWidgetMapper
  • ...
70881
1095}-
1096-
1097/*!-
1098 Returns the meta-data for the property with the given \a index.-
1099 If no such property exists, a null QMetaProperty is returned.-
1100-
1101 \sa propertyCount(), propertyOffset(), indexOfProperty()-
1102*/-
1103QMetaProperty QMetaObject::property(int index) const-
1104{-
1105 int i = index;-
1106 i -= propertyOffset();-
1107 if (i < 0 && d.superdata)
i < 0Description
TRUEevaluated 28462 times by 36 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDockWidget
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMetaObjectBuilder
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QShortcut
  • tst_QStateMachine
  • ...
FALSEevaluated 28830 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
d.superdataDescription
TRUEevaluated 28462 times by 36 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDockWidget
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMetaObjectBuilder
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QShortcut
  • tst_QStateMachine
  • ...
FALSEnever evaluated
0-28830
1108 return d.superdata->property(index);
executed 28462 times by 36 tests: return d.superdata->property(index);
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDockWidget
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMetaObjectBuilder
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QShortcut
  • tst_QStateMachine
  • ...
28462
1109-
1110 QMetaProperty result;-
1111 if (i >= 0 && i < priv(d.data)->propertyCount) {
i >= 0Description
TRUEevaluated 28830 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
FALSEnever evaluated
i < priv(d.dat...>propertyCountDescription
TRUEevaluated 28830 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
FALSEnever evaluated
0-28830
1112 int handle = priv(d.data)->propertyData + 3*i;-
1113 int flags = d.data[handle + 2];-
1114 result.mobj = this;-
1115 result.handle = handle;-
1116 result.idx = i;-
1117-
1118 if (flags & EnumOrFlag) {
flags & EnumOrFlagDescription
TRUEevaluated 988 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEevaluated 27842 times by 155 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
988-27842
1119 const char *type = rawTypeNameFromTypeInfo(this, d.data[handle + 1]);-
1120 result.menum = enumerator(indexOfEnumerator(type));-
1121 if (!result.menum.isValid()) {
!result.menum.isValid()Description
TRUEevaluated 670 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEevaluated 318 times by 12 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QObject
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
318-670
1122 const char *enum_name = type;-
1123 const char *scope_name = objectClassName(this);-
1124 char *scope_buffer = 0;-
1125-
1126 const char *colon = strrchr(enum_name, ':');-
1127 // ':' will always appear in pairs-
1128 Q_ASSERT(colon <= enum_name || *(colon-1) == ':');-
1129 if (colon > enum_name) {
colon > enum_nameDescription
TRUEevaluated 576 times by 13 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 94 times by 12 tests
Evaluated by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
94-576
1130 int len = colon-enum_name-1;-
1131 scope_buffer = (char *)malloc(len+1);-
1132 memcpy(scope_buffer, enum_name, len);-
1133 scope_buffer[len] = '\0';-
1134 scope_name = scope_buffer;-
1135 enum_name = colon+1;-
1136 }
executed 576 times by 13 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
576
1137-
1138 const QMetaObject *scope = 0;-
1139 if (qstrcmp(scope_name, "Qt") == 0)
qstrcmp(scope_name, "Qt") == 0Description
TRUEevaluated 569 times by 12 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 101 times by 13 tests
Evaluated by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
101-569
1140 scope = &QObject::staticQtMetaObject;
executed 569 times by 12 tests: scope = &QObject::staticQtMetaObject;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
569
1141 else-
1142 scope = QMetaObject_findMetaObject(this, scope_name);
executed 101 times by 13 tests: scope = QMetaObject_findMetaObject(this, scope_name);
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
101
1143 if (scope)
scopeDescription
TRUEevaluated 670 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
FALSEnever evaluated
0-670
1144 result.menum = scope->enumerator(scope->indexOfEnumerator(enum_name));
executed 670 times by 23 tests: result.menum = scope->enumerator(scope->indexOfEnumerator(enum_name));
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
670
1145 if (scope_buffer)
scope_bufferDescription
TRUEevaluated 576 times by 13 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 94 times by 12 tests
Evaluated by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
94-576
1146 free(scope_buffer);
executed 576 times by 13 tests: free(scope_buffer);
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSpinBox
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
576
1147 }
executed 670 times by 23 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
670
1148 }
executed 988 times by 23 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractSpinBox
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListWidget
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
988
1149 }
executed 28830 times by 156 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
28830
1150 return result;
executed 28830 times by 156 tests: return result;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCoreApplication
  • tst_QDBusAbstractAdaptor
  • ...
28830
1151}-
1152-
1153/*!-
1154 \since 4.2-
1155-
1156 Returns the property that has the \c USER flag set to true.-
1157-
1158 \sa QMetaProperty::isUser()-
1159*/-
1160QMetaProperty QMetaObject::userProperty() const-
1161{-
1162 const int propCount = propertyCount();-
1163 for (int i = propCount - 1; i >= 0; --i) {
i >= 0Description
TRUEevaluated 5183 times by 10 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QAbstractItemView
3-5183
1164 const QMetaProperty prop = property(i);-
1165 if (prop.isUser())
prop.isUser()Description
TRUEevaluated 315 times by 10 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 4868 times by 10 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
315-4868
1166 return prop;
executed 315 times by 10 tests: return prop;
Executed by:
  • tst_QAbstractItemView
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
315
1167 }
executed 4868 times by 10 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QDataWidgetMapper
  • tst_QItemDelegate
  • tst_QItemEditorFactory
  • tst_QItemView
  • tst_QListWidget
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTreeView
  • tst_QTreeWidget
4868
1168 return QMetaProperty();
executed 3 times by 1 test: return QMetaProperty();
Executed by:
  • tst_QAbstractItemView
3
1169}-
1170-
1171/*!-
1172 Returns the meta-data for the item of class information with the-
1173 given \a index.-
1174-
1175 Example:-
1176-
1177 \snippet code/src_corelib_kernel_qmetaobject.cpp 0-
1178-
1179 \sa classInfoCount(), classInfoOffset(), indexOfClassInfo()-
1180 */-
1181QMetaClassInfo QMetaObject::classInfo(int index) const-
1182{-
1183 int i = index;-
1184 i -= classInfoOffset();-
1185 if (i < 0 && d.superdata)
i < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEevaluated 2426 times by 16 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
d.superdataDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEnever evaluated
0-2426
1186 return d.superdata->classInfo(index);
executed 1 time by 1 test: return d.superdata->classInfo(index);
Executed by:
  • tst_QMetaObject
1
1187-
1188 QMetaClassInfo result;-
1189 if (i >= 0 && i < priv(d.data)->classInfoCount) {
i >= 0Description
TRUEevaluated 2426 times by 16 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEnever evaluated
i < priv(d.dat...classInfoCountDescription
TRUEevaluated 2426 times by 16 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEnever evaluated
0-2426
1190 result.mobj = this;-
1191 result.handle = priv(d.data)->classInfoData + 2*i;-
1192 }
executed 2426 times by 16 tests: end of block
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
2426
1193 return result;
executed 2426 times by 16 tests: return result;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusPendingCall
  • tst_QDBusThreading
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
2426
1194}-
1195-
1196/*!-
1197 Returns \c true if the \a signal and \a method arguments are-
1198 compatible; otherwise returns \c false.-
1199-
1200 Both \a signal and \a method are expected to be normalized.-
1201-
1202 \sa normalizedSignature()-
1203*/-
1204bool QMetaObject::checkConnectArgs(const char *signal, const char *method)-
1205{-
1206 const char *s1 = signal;-
1207 const char *s2 = method;-
1208 while (*s1++ != '(') { } // scan to first '('
executed 161 times by 1 test: end of block
Executed by:
  • tst_QObject
*s1++ != '('Description
TRUEevaluated 161 times by 1 test
Evaluated by:
  • tst_QObject
FALSEevaluated 23 times by 1 test
Evaluated by:
  • tst_QObject
23-161
1209 while (*s2++ != '(') { }
executed 115 times by 1 test: end of block
Executed by:
  • tst_QObject
*s2++ != '('Description
TRUEevaluated 115 times by 1 test
Evaluated by:
  • tst_QObject
FALSEevaluated 23 times by 1 test
Evaluated by:
  • tst_QObject
23-115
1210 if (*s2 == ')' || qstrcmp(s1,s2) == 0) // method has no args or
*s2 == ')'Description
TRUEevaluated 23 times by 1 test
Evaluated by:
  • tst_QObject
FALSEnever evaluated
qstrcmp(s1,s2) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0-23
1211 return true; // exact match
executed 23 times by 1 test: return true;
Executed by:
  • tst_QObject
23
1212 int s1len = qstrlen(s1);-
1213 int s2len = qstrlen(s2);-
1214 if (s2len < s1len && strncmp(s1,s2,s2len-1)==0 && s1[s2len-1]==',')
s2len < s1lenDescription
TRUEnever evaluated
FALSEnever evaluated
strncmp(s1,s2,s2len-1)==0Description
TRUEnever evaluated
FALSEnever evaluated
s1[s2len-1]==','Description
TRUEnever evaluated
FALSEnever evaluated
0
1215 return true; // method has less args
never executed: return true;
0
1216 return false;
never executed: return false;
0
1217}-
1218-
1219/*!-
1220 \since 5.0-
1221 \overload-
1222-
1223 Returns \c true if the \a signal and \a method arguments are-
1224 compatible; otherwise returns \c false.-
1225*/-
1226bool QMetaObject::checkConnectArgs(const QMetaMethod &signal,-
1227 const QMetaMethod &method)-
1228{-
1229 return QMetaObjectPrivate::checkConnectArgs(
never executed: return QMetaObjectPrivate::checkConnectArgs( QMetaMethodPrivate::get(&signal), QMetaMethodPrivate::get(&method));
0
1230 QMetaMethodPrivate::get(&signal),
never executed: return QMetaObjectPrivate::checkConnectArgs( QMetaMethodPrivate::get(&signal), QMetaMethodPrivate::get(&method));
0
1231 QMetaMethodPrivate::get(&method));
never executed: return QMetaObjectPrivate::checkConnectArgs( QMetaMethodPrivate::get(&signal), QMetaMethodPrivate::get(&method));
0
1232}-
1233-
1234static void qRemoveWhitespace(const char *s, char *d)-
1235{-
1236 char last = 0;-
1237 while (*s && is_space(*s))
*sDescription
TRUEevaluated 118069 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEnever evaluated
is_space(*s)Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QMetaType
FALSEevaluated 118059 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
0-118069
1238 s++;
executed 10 times by 2 tests: s++;
Executed by:
  • tst_QMetaObject
  • tst_QMetaType
10
1239 while (*s) {
*sDescription
TRUEevaluated 133333 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 118059 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
118059-133333
1240 while (*s && !is_space(*s))
*sDescription
TRUEevaluated 3034282 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 118048 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
!is_space(*s)Description
TRUEevaluated 3018997 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 15285 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • ...
15285-3034282
1241 last = *d++ = *s++;
executed 3018997 times by 330 tests: last = *d++ = *s++;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
3018997
1242 while (*s && is_space(*s))
*sDescription
TRUEevaluated 30566 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • ...
FALSEevaluated 118059 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
is_space(*s)Description
TRUEevaluated 15292 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • ...
FALSEevaluated 15274 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • ...
15274-118059
1243 s++;
executed 15292 times by 102 tests: s++;
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • ...
15292
1244 if (*s && ((is_ident_char(*s) && is_ident_char(last))
*sDescription
TRUEevaluated 15274 times by 102 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • ...
FALSEevaluated 118059 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
is_ident_char(*s)Description
TRUEevaluated 12988 times by 82 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QFtp
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • ...
FALSEevaluated 2286 times by 53 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QButtonGroup
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsObject
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • ...
is_ident_char(last)Description
TRUEevaluated 1759 times by 68 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 11229 times by 32 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QButtonGroup
  • tst_QFtp
  • tst_QGraphicsScene
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpServer
  • ...
1759-118059
1245 || ((*s == ':') && (last == '<')))) {
(*s == ':')Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEevaluated 13514 times by 66 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QButtonGroup
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsObject
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • ...
(last == '<')Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEnever evaluated
0-13514
1246 last = *d++ = ' ';-
1247 }
executed 1760 times by 68 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusMetaObject
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • ...
1760
1248 }
executed 133333 times by 330 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
133333
1249 *d = '\0';-
1250}
executed 118059 times by 330 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
118059
1251-
1252static char *qNormalizeType(char *d, int &templdepth, QByteArray &result)-
1253{-
1254 const char *t = d;-
1255 while (*d && (templdepth
*dDescription
TRUEevaluated 1745247 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 44923 times by 323 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
templdepthDescription
TRUEevaluated 141787 times by 236 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • ...
FALSEevaluated 1603460 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
44923-1745247
1256 || (*d != ',' && *d != ')'))) {
*d != ','Description
TRUEevaluated 1534122 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 69338 times by 86 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusMetaObject
  • tst_QDBusPendingCall
  • tst_QDBusServiceWatcher
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • ...
*d != ')'Description
TRUEevaluated 1460980 times by 326 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 73142 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
69338-1534122
1257 if (*d == '<')
*d == '<'Description
TRUEevaluated 12462 times by 236 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • ...
FALSEevaluated 1590305 times by 326 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
12462-1590305
1258 ++templdepth;
executed 12462 times by 236 tests: ++templdepth;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • ...
12462
1259 if (*d == '>')
*d == '>'Description
TRUEevaluated 12462 times by 236 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • ...
FALSEevaluated 1590305 times by 326 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
12462-1590305
1260 --templdepth;
executed 12462 times by 236 tests: --templdepth;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • ...
12462
1261 ++d;-
1262 }
executed 1602767 times by 326 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
1602767
1263 // "void" should only be removed if this is part of a signature that has-
1264 // an explicit void argument; e.g., "void foo(void)" --> "void foo()"-
1265 if (strncmp("void)", t, d - t + 1) != 0)
strncmp("void)... - t + 1) != 0Description
TRUEevaluated 187374 times by 330 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 29 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_QObject
29-187374
1266 result += normalizeTypeInternal(t, d);
executed 187374 times by 330 tests: result += normalizeTypeInternal(t, d);
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
187374
1267-
1268 return d;
executed 187403 times by 330 tests: return d;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
187403
1269}-
1270-
1271-
1272/*!-
1273 \since 4.2-
1274-
1275 Normalizes a \a type.-
1276-
1277 See QMetaObject::normalizedSignature() for a description on how-
1278 Qt normalizes.-
1279-
1280 Example:-
1281-
1282 \snippet code/src_corelib_kernel_qmetaobject.cpp 1-
1283-
1284 \sa normalizedSignature()-
1285 */-
1286QByteArray QMetaObject::normalizedType(const char *type)-
1287{-
1288 QByteArray result;-
1289-
1290 if (!type || !*type)
!typeDescription
TRUEnever evaluated
FALSEevaluated 44959 times by 323 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
!*typeDescription
TRUEevaluated 37 times by 2 tests
Evaluated by:
  • tst_QMetaObjectBuilder
  • tst_QMetaType
FALSEevaluated 44922 times by 323 tests
Evaluated by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
0-44959
1291 return result;
executed 37 times by 2 tests: return result;
Executed by:
  • tst_QMetaObjectBuilder
  • tst_QMetaType
37
1292-
1293 QVarLengthArray<char> stackbuf(qstrlen(type) + 1);-
1294 qRemoveWhitespace(type, stackbuf.data());-
1295 int templdepth = 0;-
1296 qNormalizeType(stackbuf.data(), templdepth, result);-
1297-
1298 return result;
executed 44922 times by 323 tests: return result;
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
44922
1299}-
1300-
1301/*!-
1302 Normalizes the signature of the given \a method.-
1303-
1304 Qt uses normalized signatures to decide whether two given signals-
1305 and slots are compatible. Normalization reduces whitespace to a-
1306 minimum, moves 'const' to the front where appropriate, removes-
1307 'const' from value types and replaces const references with-
1308 values.-
1309-
1310 \sa checkConnectArgs(), normalizedType()-
1311 */-
1312QByteArray QMetaObject::normalizedSignature(const char *method)-
1313{-
1314 QByteArray result;-
1315 if (!method || !*method)
!methodDescription
TRUEnever evaluated
FALSEevaluated 73137 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
!*methodDescription
TRUEnever evaluated
FALSEevaluated 73137 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
0-73137
1316 return result;
never executed: return result;
0
1317 int len = int(strlen(method));-
1318 QVarLengthArray<char> stackbuf(len + 1);-
1319 char *d = stackbuf.data();-
1320 qRemoveWhitespace(method, d);-
1321-
1322 result.reserve(len);-
1323-
1324 int argdepth = 0;-
1325 int templdepth = 0;-
1326 while (*d) {
*dDescription
TRUEevaluated 1417991 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 73136 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
73136-1417991
1327 if (argdepth == 1) {
argdepth == 1Description
TRUEevaluated 142481 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 1275510 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
142481-1275510
1328 d = qNormalizeType(d, templdepth, result);-
1329 if (!*d) //most likely an invalid signature.
!*dDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaObject
FALSEevaluated 142480 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
1-142480
1330 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaObject
1
1331 }
executed 142480 times by 183 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
142480
1332 if (*d == '(')
*d == '('Description
TRUEevaluated 73143 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 1344847 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
73143-1344847
1333 ++argdepth;
executed 73143 times by 183 tests: ++argdepth;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
73143
1334 if (*d == ')')
*d == ')'Description
TRUEevaluated 73146 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
FALSEevaluated 1344844 times by 183 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
73146-1344844
1335 --argdepth;
executed 73146 times by 183 tests: --argdepth;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
73146
1336 result += *d++;-
1337 }
executed 1417990 times by 183 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
1417990
1338-
1339 return result;
executed 73137 times by 183 tests: return result;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...