OpenCoverage

qmetatype.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12-
13-
14namespace {-
15struct DefinedTypesFilter {-
16 template<typename T>-
17 struct Acceptor {-
18 static const bool IsAccepted = QtMetaTypePrivate::TypeDefinition<T>::IsAvailable && QModulesPrivate::QTypeModuleInfo<T>::IsCore;-
19 };-
20};-
21}-
22static const struct { const char * typeName; int typeNameLength; int type; } types[] = {-
23 { "void", sizeof("void") - 1, 43 }, { "bool", sizeof("bool") - 1, 1 }, { "int", sizeof("int") - 1, 2 }, { "uint", sizeof("uint") - 1, 3 }, { "qlonglong", sizeof("qlonglong") - 1, 4 }, { "qulonglong", sizeof("qulonglong") - 1, 5 }, { "double", sizeof("double") - 1, 6 }, { "long", sizeof("long") - 1, 32 }, { "short", sizeof("short") - 1, 33 }, { "char", sizeof("char") - 1, 34 }, { "ulong", sizeof("ulong") - 1, 35 }, { "ushort", sizeof("ushort") - 1, 36 }, { "uchar", sizeof("uchar") - 1, 37 }, { "float", sizeof("float") - 1, 38 }, { "signed char", sizeof("signed char") - 1, 40 }, { "void*", sizeof("void*") - 1, 31 }, { "QChar", sizeof("QChar") - 1, 7 }, { "QString", sizeof("QString") - 1, 10 }, { "QStringList", sizeof("QStringList") - 1, 11 }, { "QByteArray", sizeof("QByteArray") - 1, 12 }, { "QBitArray", sizeof("QBitArray") - 1, 13 }, { "QDate", sizeof("QDate") - 1, 14 }, { "QTime", sizeof("QTime") - 1, 15 }, { "QDateTime", sizeof("QDateTime") - 1, 16 }, { "QUrl", sizeof("QUrl") - 1, 17 }, { "QLocale", sizeof("QLocale") - 1, 18 }, { "QRect", sizeof("QRect") - 1, 19 }, { "QRectF", sizeof("QRectF") - 1, 20 }, { "QSize", sizeof("QSize") - 1, 21 }, { "QSizeF", sizeof("QSizeF") - 1, 22 }, { "QLine", sizeof("QLine") - 1, 23 }, { "QLineF", sizeof("QLineF") - 1, 24 }, { "QPoint", sizeof("QPoint") - 1, 25 }, { "QPointF", sizeof("QPointF") - 1, 26 }, { "QRegExp", sizeof("QRegExp") - 1, 27 }, { "QEasingCurve", sizeof("QEasingCurve") - 1, 29 }, { "QUuid", sizeof("QUuid") - 1, 30 }, { "QVariant", sizeof("QVariant") - 1, 41 }, { "QModelIndex", sizeof("QModelIndex") - 1, 42 }, { "QRegularExpression", sizeof("QRegularExpression") - 1, 44 }, { "QJsonValue", sizeof("QJsonValue") - 1, 45 }, { "QJsonObject", sizeof("QJsonObject") - 1, 46 }, { "QJsonArray", sizeof("QJsonArray") - 1, 47 }, { "QJsonDocument", sizeof("QJsonDocument") - 1, 48 }, { "QPersistentModelIndex", sizeof("QPersistentModelIndex") - 1, 50 }, { "QObject*", sizeof("QObject*") - 1, 39 }, { "QVariantMap", sizeof("QVariantMap") - 1, 8 }, { "QVariantList", sizeof("QVariantList") - 1, 9 }, { "QVariantHash", sizeof("QVariantHash") - 1, 28 }, { "QByteArrayList", sizeof("QByteArrayList") - 1, 49 }, { "QFont", sizeof("QFont") - 1, 64 }, { "QPixmap", sizeof("QPixmap") - 1, 65 }, { "QBrush", sizeof("QBrush") - 1, 66 }, { "QColor", sizeof("QColor") - 1, 67 }, { "QPalette", sizeof("QPalette") - 1, 68 }, { "QIcon", sizeof("QIcon") - 1, 69 }, { "QImage", sizeof("QImage") - 1, 70 }, { "QPolygon", sizeof("QPolygon") - 1, 71 }, { "QRegion", sizeof("QRegion") - 1, 72 }, { "QBitmap", sizeof("QBitmap") - 1, 73 }, { "QCursor", sizeof("QCursor") - 1, 74 }, { "QKeySequence", sizeof("QKeySequence") - 1, 75 }, { "QPen", sizeof("QPen") - 1, 76 }, { "QTextLength", sizeof("QTextLength") - 1, 77 }, { "QTextFormat", sizeof("QTextFormat") - 1, 78 }, { "QMatrix", sizeof("QMatrix") - 1, 79 }, { "QTransform", sizeof("QTransform") - 1, 80 }, { "QMatrix4x4", sizeof("QMatrix4x4") - 1, 81 }, { "QVector2D", sizeof("QVector2D") - 1, 82 }, { "QVector3D", sizeof("QVector3D") - 1, 83 }, { "QVector4D", sizeof("QVector4D") - 1, 84 }, { "QQuaternion", sizeof("QQuaternion") - 1, 85 }, { "QPolygonF", sizeof("QPolygonF") - 1, 86 }, { "QSizePolicy", sizeof("QSizePolicy") - 1, 121 },-
24 { "unsigned long", sizeof("unsigned long") - 1, QMetaType::ULong }, { "unsigned int", sizeof("unsigned int") - 1, QMetaType::UInt }, { "unsigned short", sizeof("unsigned short") - 1, QMetaType::UShort }, { "unsigned char", sizeof("unsigned char") - 1, QMetaType::UChar }, { "long long", sizeof("long long") - 1, QMetaType::LongLong }, { "unsigned long long", sizeof("unsigned long long") - 1, QMetaType::ULongLong }, { "qint8", sizeof("qint8") - 1, QMetaType::SChar }, { "quint8", sizeof("quint8") - 1, QMetaType::UChar }, { "qint16", sizeof("qint16") - 1, QMetaType::Short }, { "quint16", sizeof("quint16") - 1, QMetaType::UShort }, { "qint32", sizeof("qint32") - 1, QMetaType::Int }, { "quint32", sizeof("quint32") - 1, QMetaType::UInt }, { "qint64", sizeof("qint64") - 1, QMetaType::LongLong }, { "quint64", sizeof("quint64") - 1, QMetaType::ULongLong }, { "QList<QVariant>", sizeof("QList<QVariant>") - 1, QMetaType::QVariantList }, { "QMap<QString,QVariant>", sizeof("QMap<QString,QVariant>") - 1, QMetaType::QVariantMap }, { "QHash<QString,QVariant>", sizeof("QHash<QString,QVariant>") - 1, QMetaType::QVariantHash }, { "QList<QByteArray>", sizeof("QList<QByteArray>") - 1, QMetaType::QByteArrayList },-
25 { "qreal", sizeof("qreal") - 1, QMetaTypeId2<qreal>::MetaType },-
26 {0, 0, QMetaType::UnknownType}-
27};-
28-
29__attribute__((visibility("default"))) const QMetaTypeInterface *qMetaTypeGuiHelper = 0;-
30__attribute__((visibility("default"))) const QMetaTypeInterface *qMetaTypeWidgetsHelper = 0;-
31__attribute__((visibility("default"))) const QMetaObject *qMetaObjectWidgetsHelper = 0;-
32-
33class QCustomTypeInfo : public QMetaTypeInterface-
34{-
35public:-
36 QCustomTypeInfo()-
37 : alias(-1)-
38 {-
39 QMetaTypeInterface empty = { (QtMetaTypePrivate::QMetaTypeFunctionHelper<void, QtMetaTypePrivate::TypeDefinition<void>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<void, QtMetaTypePrivate::TypeDefinition<void>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<void, QtMetaTypePrivate::TypeDefinition<void>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<void, QtMetaTypePrivate::TypeDefinition<void>::IsAvailable>::Destruct), (QTypeInfo<void>::sizeOf), QtPrivate::QMetaTypeTypeFlags<void>::Flags, (QtPrivate::MetaObjectForType<void>::value()) };-
40 *static_cast<QMetaTypeInterface*>(this) = empty;-
41 }
executed 12055 times by 321 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
  • ...
12055
42 QByteArray typeName;-
43 int alias;-
44};-
45-
46template<typename T, typename Key>-
47class QMetaTypeFunctionRegistry-
48{-
49public:-
50 ~QMetaTypeFunctionRegistry()-
51 {-
52 const QWriteLocker locker(&lock);-
53 map.clear();-
54 }
executed 515 times by 237 tests: end of block
Executed by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
515
55-
56 bool contains(Key k) const-
57 {-
58 const QReadLocker locker(&lock);-
59 return
executed 5834 times by 241 tests: return map.contains(k);
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
map.contains(k);
executed 5834 times by 241 tests: return map.contains(k);
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
5834
60 }-
61-
62 bool insertIfNotContains(Key k, const T *f)-
63 {-
64 const QWriteLocker locker(&lock);-
65 const T* &fun = map[k];-
66 if (fun != 0
fun != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 4788 times by 239 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
)
1-4788
67 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
1
68 fun = f;-
69 return
executed 4788 times by 239 tests: return true;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
true;
executed 4788 times by 239 tests: return true;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
4788
70 }-
71-
72 const T *function(Key k) const-
73 {-
74 const QReadLocker locker(&lock);-
75 return
executed 2261 times by 33 tests: return map.value(k, 0);
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QFtp
  • tst_QGraphicsItem
  • tst_QGuiApplication
  • tst_QIdentityProxyModel
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QProcess
  • ...
map.value(k, 0);
executed 2261 times by 33 tests: return map.value(k, 0);
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QFtp
  • tst_QGraphicsItem
  • tst_QGuiApplication
  • tst_QIdentityProxyModel
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QProcess
  • ...
2261
76 }-
77-
78 void remove(int from, int to)-
79 {-
80 const Key k(from, to);-
81 const QWriteLocker locker(&lock);-
82 map.remove(k);-
83 }
executed 4847 times by 235 tests: end of block
Executed by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
4847
84private:-
85 mutable QReadWriteLock lock;-
86 QHash<Key, const T *> map;-
87};-
88-
89typedef QMetaTypeFunctionRegistry<QtPrivate::AbstractConverterFunction,QPair<int,int> >-
90QMetaTypeConverterRegistry;-
91typedef QMetaTypeFunctionRegistry<QtPrivate::AbstractComparatorFunction,int>-
92QMetaTypeComparatorRegistry;-
93typedef QMetaTypeFunctionRegistry<QtPrivate::AbstractDebugStreamFunction,int>-
94QMetaTypeDebugStreamRegistry;-
95-
96namespace-
97{-
98union CheckThatItIsPod-
99{-
100 QMetaTypeInterface iface;-
101};-
102}-
103-
104template<> class QTypeInfo<QCustomTypeInfo > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QCustomTypeInfo)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QCustomTypeInfo >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QCustomTypeInfo) }; static inline const char *name() { return "QCustomTypeInfo"; } };-
105namespace { namespace Q_QGS_customTypes { typedef QVector<QCustomTypeInfo> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 514 times by 190 tests
Evaluated by:
  • tst_lancelot - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qarraydata - unknown status
  • tst_qarraydata_strictiterators - unknown status
  • tst_qasn1element - unknown status
  • tst_qbackingstore - unknown status
  • tst_qbrush - unknown status
  • tst_qclipboard - unknown status
  • tst_qcolor - unknown status
  • tst_qcommandlineparser - unknown status
  • tst_qcomplextext - unknown status
  • tst_qcryptographichash - unknown status
  • tst_qcssparser - unknown status
  • tst_qdatastream - unknown status
  • tst_qdate - unknown status
  • tst_qdatetime - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • ...
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 514 times by 190 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_lancelot - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qarraydata - unknown status
  • tst_qarraydata_strictiterators - unknown status
  • tst_qasn1element - unknown status
  • tst_qbackingstore - unknown status
  • tst_qbrush - unknown status
  • tst_qclipboard - unknown status
  • tst_qcolor - unknown status
  • tst_qcommandlineparser - unknown status
  • tst_qcomplextext - unknown status
  • tst_qcryptographichash - unknown status
  • tst_qcssparser - unknown status
  • tst_qdatastream - unknown status
  • tst_qdate - unknown status
  • tst_qdatetime - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • ...
}
executed 514 times by 190 tests: end of block
Executed by:
  • tst_lancelot - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qarraydata - unknown status
  • tst_qarraydata_strictiterators - unknown status
  • tst_qasn1element - unknown status
  • tst_qbackingstore - unknown status
  • tst_qbrush - unknown status
  • tst_qclipboard - unknown status
  • tst_qcolor - unknown status
  • tst_qcommandlineparser - unknown status
  • tst_qcomplextext - unknown status
  • tst_qcryptographichash - unknown status
  • tst_qcssparser - unknown status
  • tst_qdatastream - unknown status
  • tst_qdate - unknown status
  • tst_qdatetime - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 1222922 times by 350 tests: return &holder.value;
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
  • ...
&holder.value;
executed 1222922 times by 350 tests: return &holder.value;
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
  • ...
} } } static QGlobalStatic<QVector<QCustomTypeInfo>, Q_QGS_customTypes::innerFunction, Q_QGS_customTypes::guard> customTypes;
0-1222922
106namespace { namespace Q_QGS_customTypesLock { typedef QReadWriteLock Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 514 times by 190 tests
Evaluated by:
  • tst_lancelot - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qarraydata - unknown status
  • tst_qarraydata_strictiterators - unknown status
  • tst_qasn1element - unknown status
  • tst_qbackingstore - unknown status
  • tst_qbrush - unknown status
  • tst_qclipboard - unknown status
  • tst_qcolor - unknown status
  • tst_qcommandlineparser - unknown status
  • tst_qcomplextext - unknown status
  • tst_qcryptographichash - unknown status
  • tst_qcssparser - unknown status
  • tst_qdatastream - unknown status
  • tst_qdate - unknown status
  • tst_qdatetime - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • ...
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 514 times by 190 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_lancelot - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qarraydata - unknown status
  • tst_qarraydata_strictiterators - unknown status
  • tst_qasn1element - unknown status
  • tst_qbackingstore - unknown status
  • tst_qbrush - unknown status
  • tst_qclipboard - unknown status
  • tst_qcolor - unknown status
  • tst_qcommandlineparser - unknown status
  • tst_qcomplextext - unknown status
  • tst_qcryptographichash - unknown status
  • tst_qcssparser - unknown status
  • tst_qdatastream - unknown status
  • tst_qdate - unknown status
  • tst_qdatetime - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • ...
}
executed 514 times by 190 tests: end of block
Executed by:
  • tst_lancelot - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qarraydata - unknown status
  • tst_qarraydata_strictiterators - unknown status
  • tst_qasn1element - unknown status
  • tst_qbackingstore - unknown status
  • tst_qbrush - unknown status
  • tst_qclipboard - unknown status
  • tst_qcolor - unknown status
  • tst_qcommandlineparser - unknown status
  • tst_qcomplextext - unknown status
  • tst_qcryptographichash - unknown status
  • tst_qcssparser - unknown status
  • tst_qdatastream - unknown status
  • tst_qdate - unknown status
  • tst_qdatetime - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 1198125 times by 350 tests: return &holder.value;
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
  • ...
&holder.value;
executed 1198125 times by 350 tests: return &holder.value;
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
  • ...
} } } static QGlobalStatic<QReadWriteLock, Q_QGS_customTypesLock::innerFunction, Q_QGS_customTypesLock::guard> customTypesLock;
0-1198125
107namespace { namespace Q_QGS_customTypesConversionRegistry { typedef QMetaTypeConverterRegistry Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 465 times by 237 tests
Evaluated by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 465 times by 237 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
}
executed 465 times by 237 tests: end of block
Executed by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 17339 times by 468 tests: return &holder.value;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
&holder.value;
executed 17339 times by 468 tests: return &holder.value;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
} } } static QGlobalStatic<QMetaTypeConverterRegistry, Q_QGS_customTypesConversionRegistry::innerFunction, Q_QGS_customTypesConversionRegistry::guard> customTypesConversionRegistry;
0-17339
108namespace { namespace Q_QGS_customTypesComparatorRegistry { typedef QMetaTypeComparatorRegistry Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 48 times by 21 tests
Evaluated by:
  • tst_qabstractproxymodel - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qftp - unknown status
  • tst_qidentityproxymodel - unknown status
  • tst_qmetatype - unknown status
  • tst_qnetworkrequest - unknown status
  • tst_qprinter - unknown status
  • tst_qpropertyanimation - unknown status
  • tst_qstylesheetstyle - unknown status
  • tst_qvariant - unknown status
  • tst_selftests - unknown status
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 48 times by 21 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_qabstractproxymodel - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qftp - unknown status
  • tst_qidentityproxymodel - unknown status
  • tst_qmetatype - unknown status
  • tst_qnetworkrequest - unknown status
  • tst_qprinter - unknown status
  • tst_qpropertyanimation - unknown status
  • tst_qstylesheetstyle - unknown status
  • tst_qvariant - unknown status
  • tst_selftests - unknown status
}
executed 48 times by 21 tests: end of block
Executed by:
  • tst_qabstractproxymodel - unknown status
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qftp - unknown status
  • tst_qidentityproxymodel - unknown status
  • tst_qmetatype - unknown status
  • tst_qnetworkrequest - unknown status
  • tst_qprinter - unknown status
  • tst_qpropertyanimation - unknown status
  • tst_qstylesheetstyle - unknown status
  • tst_qvariant - unknown status
  • tst_selftests - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 385 times by 24 tests: return &holder.value;
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
&holder.value;
executed 385 times by 24 tests: return &holder.value;
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
} } } static QGlobalStatic<QMetaTypeComparatorRegistry, Q_QGS_customTypesComparatorRegistry::innerFunction, Q_QGS_customTypesComparatorRegistry::guard> customTypesComparatorRegistry;
0-385
109namespace { namespace Q_QGS_customTypesDebugStreamRegistry { typedef QMetaTypeDebugStreamRegistry Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • tst_qmetatype - unknown status
  • tst_qvariant - unknown status
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 2 times by 2 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_qmetatype - unknown status
  • tst_qvariant - unknown status
}
executed 2 times by 2 tests: end of block
Executed by:
  • tst_qmetatype - unknown status
  • tst_qvariant - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 7 times by 2 tests: return &holder.value;
Executed by:
  • tst_QMetaType
  • tst_QVariant
&holder.value;
executed 7 times by 2 tests: return &holder.value;
Executed by:
  • tst_QMetaType
  • tst_QVariant
} } } static QGlobalStatic<QMetaTypeDebugStreamRegistry, Q_QGS_customTypesDebugStreamRegistry::innerFunction, Q_QGS_customTypesDebugStreamRegistry::guard> customTypesDebugStreamRegistry;
0-7
110bool QMetaType::registerConverterFunction(const QtPrivate::AbstractConverterFunction *f, int from, int to)-
111{-
112 if (!customTypesConversionRegistry()->insertIfNotContains(qMakePair(from, to), f)
!customTypesCo...(from, to), f)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 4785 times by 239 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
) {
1-4785
113 QMessageLogger(__FILE__, 648, __PRETTY_FUNCTION__).warning("Type conversion already registered from type %s to type %s",-
114 QMetaType::typeName(from), QMetaType::typeName(to));-
115 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
1
116 }-
117 return
executed 4785 times by 239 tests: return true;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
true;
executed 4785 times by 239 tests: return true;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
4785
118}-
119-
120-
121-
122-
123-
124-
125void QMetaType::unregisterConverterFunction(int from, int to)-
126{-
127 if (customTypesConversionRegistry.isDestroyed()
customTypesCon....isDestroyed()Description
TRUEnever evaluated
FALSEevaluated 4847 times by 235 tests
Evaluated by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
)
0-4847
128 return;
never executed: return;
0
129 customTypesConversionRegistry()->remove(from, to);-
130}
executed 4847 times by 235 tests: end of block
Executed by:
  • tst_gestures - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qalgorithms - unknown status
  • tst_qanimationgroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbuttongroup - unknown status
  • tst_qcalendarwidget - unknown status
  • tst_qcheckbox - unknown status
  • tst_qcolordialog - unknown status
  • tst_qcolumnview - unknown status
  • ...
4847
131-
132bool QMetaType::registerComparatorFunction(const QtPrivate::AbstractComparatorFunction *f, int type)-
133{-
134 if (!customTypesComparatorRegistry()->insertIfNotContains(type, f)
!customTypesCo...tains(type, f)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
) {
0-2
135 QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__).warning("Comparators already registered for type %s", QMetaType::typeName(type));-
136 return
never executed: return false;
false;
never executed: return false;
0
137 }-
138 return
executed 2 times by 1 test: return true;
Executed by:
  • tst_QMetaType
true;
executed 2 times by 1 test: return true;
Executed by:
  • tst_QMetaType
2
139}-
140bool QMetaType::hasRegisteredComparators(int typeId)-
141{-
142 return
never executed: return customTypesComparatorRegistry()->contains(typeId);
customTypesComparatorRegistry()->contains(typeId);
never executed: return customTypesComparatorRegistry()->contains(typeId);
0
143}-
144-
145-
146bool QMetaType::registerDebugStreamOperatorFunction(const QtPrivate::AbstractDebugStreamFunction *f,-
147 int type)-
148{-
149 if (!customTypesDebugStreamRegistry()->insertIfNotContains(type, f)
!customTypesDe...tains(type, f)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
) {
0-1
150 QMessageLogger(__FILE__, 696, __PRETTY_FUNCTION__).warning("Debug stream operator already registered for type %s", QMetaType::typeName(type));-
151 return
never executed: return false;
false;
never executed: return false;
0
152 }-
153 return
executed 1 time by 1 test: return true;
Executed by:
  • tst_QMetaType
true;
executed 1 time by 1 test: return true;
Executed by:
  • tst_QMetaType
1
154}-
155bool QMetaType::hasRegisteredDebugStreamOperator(int typeId)-
156{-
157 return
never executed: return customTypesDebugStreamRegistry()->contains(typeId);
customTypesDebugStreamRegistry()->contains(typeId);
never executed: return customTypesDebugStreamRegistry()->contains(typeId);
0
158}-
159-
160-
161-
162-
163-
164-
165-
166bool QMetaType::convert(const void *from, int fromTypeId, void *to, int toTypeId)-
167{-
168 const QtPrivate::AbstractConverterFunction * const f =-
169 customTypesConversionRegistry()->function(qMakePair(fromTypeId, toTypeId));-
170 return
executed 1872 times by 25 tests: return f && f->convert(f, from, to);
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QGraphicsItem
  • tst_QGuiApplication
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QProcess
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
f && f->convert(f, from, to);
executed 1872 times by 25 tests: return f && f->convert(f, from, to);
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QGraphicsItem
  • tst_QGuiApplication
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QProcess
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
1872
171}-
172-
173-
174-
175-
176-
177-
178-
179bool QMetaType::compare(const void *lhs, const void *rhs, int typeId, int* result)-
180{-
181 const QtPrivate::AbstractComparatorFunction * const f =-
182 customTypesComparatorRegistry()->function(typeId);-
183 if (!f
!fDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_QMetaType
)
0-10
184 return
never executed: return false;
false;
never executed: return false;
0
185 if (f->equals(f, lhs, rhs)
f->equals(f, lhs, rhs)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_QMetaType
)
2-8
186 *
executed 2 times by 1 test: *result = 0;
Executed by:
  • tst_QMetaType
result = 0;
executed 2 times by 1 test: *result = 0;
Executed by:
  • tst_QMetaType
2
187 else if (f->lessThan
f->lessThanDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
)
3-5
188 *
executed 5 times by 1 test: *result = f->lessThan(f, lhs, rhs) ? -1 : 1;
Executed by:
  • tst_QMetaType
result = f->lessThan(f, lhs, rhs)
f->lessThan(f, lhs, rhs)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_QMetaType
? -1 : 1;
executed 5 times by 1 test: *result = f->lessThan(f, lhs, rhs) ? -1 : 1;
Executed by:
  • tst_QMetaType
1-5
189 else-
190 return
executed 3 times by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 3 times by 1 test: return false;
Executed by:
  • tst_QMetaType
3
191 return
executed 7 times by 1 test: return true;
Executed by:
  • tst_QMetaType
true;
executed 7 times by 1 test: return true;
Executed by:
  • tst_QMetaType
7
192}-
193-
194-
195-
196-
197-
198-
199-
200bool QMetaType::equals(const void *lhs, const void *rhs, int typeId, int *result)-
201{-
202 const QtPrivate::AbstractComparatorFunction * const f-
203 = customTypesComparatorRegistry()->function(typeId);-
204 if (!f
!fDescription
TRUEevaluated 350 times by 24 tests
Evaluated by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
FALSEevaluated 23 times by 1 test
Evaluated by:
  • tst_QMetaType
)
23-350
205 return
executed 350 times by 24 tests: return false;
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
false;
executed 350 times by 24 tests: return false;
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
350
206 if (f->equals(f, lhs, rhs)
f->equals(f, lhs, rhs)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tst_QMetaType
)
10-13
207 *
executed 10 times by 1 test: *result = 0;
Executed by:
  • tst_QMetaType
result = 0;
executed 10 times by 1 test: *result = 0;
Executed by:
  • tst_QMetaType
10
208 else-
209 *
executed 13 times by 1 test: *result = -1;
Executed by:
  • tst_QMetaType
result = -1;
executed 13 times by 1 test: *result = -1;
Executed by:
  • tst_QMetaType
13
210 return
executed 23 times by 1 test: return true;
Executed by:
  • tst_QMetaType
true;
executed 23 times by 1 test: return true;
Executed by:
  • tst_QMetaType
23
211}-
212-
213-
214-
215-
216-
217-
218bool QMetaType::debugStream(QDebug& dbg, const void *rhs, int typeId)-
219{-
220 const QtPrivate::AbstractDebugStreamFunction * const f = customTypesDebugStreamRegistry()->function(typeId);-
221 if (!f
!fDescription
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
)
1-5
222 return
executed 5 times by 2 tests: return false;
Executed by:
  • tst_QMetaType
  • tst_QVariant
false;
executed 5 times by 2 tests: return false;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
223 f->stream(f, dbg, rhs);-
224 return
executed 1 time by 1 test: return true;
Executed by:
  • tst_QMetaType
true;
executed 1 time by 1 test: return true;
Executed by:
  • tst_QMetaType
1
225}-
226bool QMetaType::hasRegisteredConverterFunction(int fromTypeId, int toTypeId)-
227{-
228 return
executed 5834 times by 241 tests: return customTypesConversionRegistry()->contains(qMakePair(fromTypeId, toTypeId));
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
customTypesConversionRegistry()->contains(qMakePair(fromTypeId, toTypeId));
executed 5834 times by 241 tests: return customTypesConversionRegistry()->contains(qMakePair(fromTypeId, toTypeId));
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
5834
229}-
230-
231-
232-
233-
234-
235void QMetaType::registerStreamOperators(const char *typeName, SaveOperator saveOp,-
236 LoadOperator loadOp)-
237{-
238 registerStreamOperators(type(typeName), saveOp, loadOp);-
239}
executed 5 times by 3 tests: end of block
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
5
240-
241-
242-
243-
244void QMetaType::registerStreamOperators(int idx, SaveOperator saveOp,-
245 LoadOperator loadOp)-
246{-
247 if (idx < User
idx < UserDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 4 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
2-4
248 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_QMetaType
2
249 QVector<QCustomTypeInfo> *ct = customTypes();-
250 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 4 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
0-4
251 return;
never executed: return;
0
252 QWriteLocker locker(customTypesLock());-
253 QCustomTypeInfo &inf = (*ct)[idx - User];-
254 inf.saveOp = saveOp;-
255 inf.loadOp = loadOp;-
256}
executed 4 times by 3 tests: end of block
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
4
257const char *QMetaType::typeName(int typeId)-
258{-
259 const uint type = typeId;-
260-
261-
262-
263 static const char *namesCache[QMetaType::HighestInternalId + 1];-
264-
265 const char *result;-
266 if (type <= QMetaType::HighestInternalId
type <= QMetaT...hestInternalIdDescription
TRUEevaluated 44294 times by 260 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
FALSEevaluated 7719 times by 196 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
  • ...
&& ((
((result = namesCache[type]))Description
TRUEevaluated 39610 times by 238 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
FALSEevaluated 4684 times by 241 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
result = namesCache[type]))
((result = namesCache[type]))Description
TRUEevaluated 39610 times by 238 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
FALSEevaluated 4684 times by 241 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
)
4684-44294
267 return
executed 39610 times by 238 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
result;
executed 39610 times by 238 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
39610
268-
269-
270-
271-
272 switch (QMetaType::Type(type)) {-
273 case
executed 6 times by 6 tests: case QMetaType::Void:
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
QMetaType::Void:
executed 6 times by 6 tests: case QMetaType::Void:
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
result = "void"; break;
executed 6 times by 6 tests: break;
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
case
executed 369 times by 169 tests: case QMetaType::Bool:
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
  • ...
QMetaType::Bool:
executed 369 times by 169 tests: case QMetaType::Bool:
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
  • ...
result = "bool"; break;
executed 369 times by 169 tests: break;
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
  • ...
case
executed 428 times by 204 tests: case QMetaType::Int:
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_QAlgorithms
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCoreApplication
  • ...
QMetaType::Int:
executed 428 times by 204 tests: case QMetaType::Int:
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_QAlgorithms
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCoreApplication
  • ...
result = "int"; break;
executed 428 times by 204 tests: break;
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_QAlgorithms
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCoreApplication
  • ...
case
executed 369 times by 169 tests: case QMetaType::UInt:
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
  • ...
QMetaType::UInt:
executed 369 times by 169 tests: case QMetaType::UInt:
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
  • ...
result = "uint"; break;
executed 369 times by 169 tests: break;
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
  • ...
case
executed 376 times by 176 tests: case QMetaType::LongLong:
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
  • ...
QMetaType::LongLong:
executed 376 times by 176 tests: case QMetaType::LongLong:
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
  • ...
result = "qlonglong"; break;
executed 376 times by 176 tests: break;
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
  • ...
case
executed 369 times by 169 tests: case QMetaType::ULongLong:
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
  • ...
QMetaType::ULongLong:
executed 369 times by 169 tests: case QMetaType::ULongLong:
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
  • ...
result = "qulonglong"; break;
executed 369 times by 169 tests: break;
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
  • ...
case
executed 372 times by 172 tests: case QMetaType::Double:
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
  • ...
QMetaType::Double:
executed 372 times by 172 tests: case QMetaType::Double:
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
  • ...
result = "double"; break;
executed 372 times by 172 tests: break;
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
  • ...
case
executed 4 times by 4 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
QMetaType::Long:
executed 4 times by 4 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
result = "long"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
case
executed 368 times by 168 tests: case QMetaType::Short:
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
  • ...
QMetaType::Short:
executed 368 times by 168 tests: case QMetaType::Short:
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
  • ...
result = "short"; break;
executed 368 times by 168 tests: break;
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
  • ...
case
executed 3 times by 3 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
QMetaType::Char:
executed 3 times by 3 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
result = "char"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
case
executed 3 times by 3 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
QMetaType::ULong:
executed 3 times by 3 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
result = "ulong"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
case
executed 369 times by 169 tests: case QMetaType::UShort:
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
  • ...
QMetaType::UShort:
executed 369 times by 169 tests: case QMetaType::UShort:
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
  • ...
result = "ushort"; break;
executed 369 times by 169 tests: break;
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
  • ...
case
executed 12 times by 7 tests: case QMetaType::UChar:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusxml2cpp - unknown status
QMetaType::UChar:
executed 12 times by 7 tests: case QMetaType::UChar:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusxml2cpp - unknown status
result = "uchar"; break;
executed 12 times by 7 tests: break;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusxml2cpp - unknown status
case
executed 3 times by 3 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
QMetaType::Float:
executed 3 times by 3 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
result = "float"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
case
executed 2 times by 2 tests: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::SChar:
executed 2 times by 2 tests: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "signed char"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 168 times by 163 tests: case QMetaType::VoidStar:
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
  • ...
QMetaType::VoidStar:
executed 168 times by 163 tests: case QMetaType::VoidStar:
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
  • ...
result = "void*"; break;
executed 168 times by 163 tests: break;
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
  • ...
case
executed 3 times by 3 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
QMetaType::QChar:
executed 3 times by 3 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
result = "QChar"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
case
executed 219 times by 181 tests: case QMetaType::QString:
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_QCssParser
  • ...
QMetaType::QString:
executed 219 times by 181 tests: case QMetaType::QString:
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_QCssParser
  • ...
result = "QString"; break;
executed 219 times by 181 tests: break;
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_QCssParser
  • ...
case
executed 31 times by 26 tests: case QMetaType::QStringList:
Executed by:
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingCall
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QPrinter
  • tst_QSettings
  • tst_QTextBrowser
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QVariant
  • tst_languageChange
  • ...
QMetaType::QStringList:
executed 31 times by 26 tests: case QMetaType::QStringList:
Executed by:
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingCall
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QPrinter
  • tst_QSettings
  • tst_QTextBrowser
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QVariant
  • tst_languageChange
  • ...
result = "QStringList"; break;
executed 31 times by 26 tests: break;
Executed by:
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingCall
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QPrinter
  • tst_QSettings
  • tst_QTextBrowser
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QVariant
  • tst_languageChange
  • ...
case
executed 24 times by 19 tests: case QMetaType::QByteArray:
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QHttpNetworkConnection
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QSettings
  • tst_QSocks5SocketEngine
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbuscpp2xml
  • tst_qdbusxml2cpp - unknown status
QMetaType::QByteArray:
executed 24 times by 19 tests: case QMetaType::QByteArray:
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QHttpNetworkConnection
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QSettings
  • tst_QSocks5SocketEngine
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbuscpp2xml
  • tst_qdbusxml2cpp - unknown status
result = "QByteArray"; break;
executed 24 times by 19 tests: break;
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QHttpNetworkConnection
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QSettings
  • tst_QSocks5SocketEngine
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbuscpp2xml
  • tst_qdbusxml2cpp - unknown status
case
executed 2 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBitArray:
executed 2 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QBitArray"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 57 times by 5 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QDate:
executed 57 times by 5 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QDate"; break;
executed 57 times by 5 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 57 times by 5 tests: case QMetaType::QTime:
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QTime:
executed 57 times by 5 tests: case QMetaType::QTime:
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QTime"; break;
executed 57 times by 5 tests: break;
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 60 times by 8 tests: case QMetaType::QDateTime:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QSignalSpy
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QDateTime:
executed 60 times by 8 tests: case QMetaType::QDateTime:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QSignalSpy
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QDateTime"; break;
executed 60 times by 8 tests: break;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QSignalSpy
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 8 times by 8 tests: case QMetaType::QUrl:
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_Spdy
  • tst_languageChange
QMetaType::QUrl:
executed 8 times by 8 tests: case QMetaType::QUrl:
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_Spdy
  • tst_languageChange
result = "QUrl"; break;
executed 8 times by 8 tests: break;
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_Spdy
  • tst_languageChange
case
executed 3 times by 3 tests: case QMetaType::QLocale:
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLocale:
executed 3 times by 3 tests: case QMetaType::QLocale:
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
result = "QLocale"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
case
executed 68 times by 16 tests: case QMetaType::QRect:
Executed by:
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QPrinter
  • tst_QRegion
  • tst_QSettings
  • tst_QTableView
  • tst_QVariant
  • tst_QWidget
  • tst_languageChange
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QRect:
executed 68 times by 16 tests: case QMetaType::QRect:
Executed by:
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QPrinter
  • tst_QRegion
  • tst_QSettings
  • tst_QTableView
  • tst_QVariant
  • tst_QWidget
  • tst_languageChange
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QRect"; break;
executed 68 times by 16 tests: break;
Executed by:
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QPrinter
  • tst_QRegion
  • tst_QSettings
  • tst_QTableView
  • tst_QVariant
  • tst_QWidget
  • tst_languageChange
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 60 times by 8 tests: case QMetaType::QRectF:
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QRectF:
executed 60 times by 8 tests: case QMetaType::QRectF:
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QRectF"; break;
executed 60 times by 8 tests: break;
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 58 times by 6 tests: case QMetaType::QSize:
Executed by:
  • tst_QAbstractItemView
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QSize:
executed 58 times by 6 tests: case QMetaType::QSize:
Executed by:
  • tst_QAbstractItemView
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QSize"; break;
executed 58 times by 6 tests: break;
Executed by:
  • tst_QAbstractItemView
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 57 times by 5 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QSizeF:
executed 57 times by 5 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QSizeF"; break;
executed 57 times by 5 tests: break;
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 56 times by 4 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QLine:
executed 56 times by 4 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QLine"; break;
executed 56 times by 4 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 56 times by 4 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QLineF:
executed 56 times by 4 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QLineF"; break;
executed 56 times by 4 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 65 times by 13 tests: case QMetaType::QPoint:
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QMdiArea
  • tst_QMetaType
  • tst_QPrinter
  • tst_QSettings
  • tst_QTreeView
  • tst_QVariant
  • tst_languageChange
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QPoint:
executed 65 times by 13 tests: case QMetaType::QPoint:
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QMdiArea
  • tst_QMetaType
  • tst_QPrinter
  • tst_QSettings
  • tst_QTreeView
  • tst_QVariant
  • tst_languageChange
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QPoint"; break;
executed 65 times by 13 tests: break;
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QMdiArea
  • tst_QMetaType
  • tst_QPrinter
  • tst_QSettings
  • tst_QTreeView
  • tst_QVariant
  • tst_languageChange
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 59 times by 7 tests: case QMetaType::QPointF:
Executed by:
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QPainter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QPointF:
executed 59 times by 7 tests: case QMetaType::QPointF:
Executed by:
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QPainter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QPointF"; break;
executed 59 times by 7 tests: break;
Executed by:
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QPainter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 2 times by 2 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegExp:
executed 2 times by 2 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QRegExp"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 3 times by 3 tests: case QMetaType::QEasingCurve:
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
QMetaType::QEasingCurve:
executed 3 times by 3 tests: case QMetaType::QEasingCurve:
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
result = "QEasingCurve"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
case
executed 2 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QUuid:
executed 2 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QUuid"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 119 times by 95 tests: case QMetaType::QVariant:
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection_Delayed
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • ...
QMetaType::QVariant:
executed 119 times by 95 tests: case QMetaType::QVariant:
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection_Delayed
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • ...
result = "QVariant"; break;
executed 119 times by 95 tests: break;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection_Delayed
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • ...
case
executed 12 times by 12 tests: case QMetaType::QModelIndex:
Executed by:
  • tst_QAbstractItemModel
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QIdentityProxyModel
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMetaType
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_languageChange
QMetaType::QModelIndex:
executed 12 times by 12 tests: case QMetaType::QModelIndex:
Executed by:
  • tst_QAbstractItemModel
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QIdentityProxyModel
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMetaType
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_languageChange
result = "QModelIndex"; break;
executed 12 times by 12 tests: break;
Executed by:
  • tst_QAbstractItemModel
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QIdentityProxyModel
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMetaType
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_languageChange
case
executed 2 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegularExpression:
executed 2 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QRegularExpression"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 2 times by 2 tests: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonValue:
executed 2 times by 2 tests: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QJsonValue"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 2 times by 2 tests: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonObject:
executed 2 times by 2 tests: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QJsonObject"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 2 times by 2 tests: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonArray:
executed 2 times by 2 tests: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QJsonArray"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 2 times by 2 tests: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonDocument:
executed 2 times by 2 tests: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QJsonDocument"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 3 times by 3 tests: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPersistentModelIndex:
executed 3 times by 3 tests: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
result = "QPersistentModelIndex"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
case
executed 20 times by 20 tests: case QMetaType::QObjectStar:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusThreading
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QMdiArea
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QObject
  • tst_QPluginLoader
  • tst_QPrinter
  • tst_QSignalSpy
  • tst_QState
  • tst_QVariant
  • tst_languageChange
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
QMetaType::QObjectStar:
executed 20 times by 20 tests: case QMetaType::QObjectStar:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusThreading
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QMdiArea
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QObject
  • tst_QPluginLoader
  • tst_QPrinter
  • tst_QSignalSpy
  • tst_QState
  • tst_QVariant
  • tst_languageChange
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
result = "QObject*"; break;
executed 20 times by 20 tests: break;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusThreading
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QMdiArea
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QObject
  • tst_QPluginLoader
  • tst_QPrinter
  • tst_QSignalSpy
  • tst_QState
  • tst_QVariant
  • tst_languageChange
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
case
executed 75 times by 22 tests: case QMetaType::QVariantMap:
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMetaObject
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QVariantMap:
executed 75 times by 22 tests: case QMetaType::QVariantMap:
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMetaObject
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
result = "QVariantMap"; break;
executed 75 times by 22 tests: break;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMetaObject
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
case
executed 18 times by 13 tests: case QMetaType::QVariantList:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusThreading
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusxml2cpp - unknown status
QMetaType::QVariantList:
executed 18 times by 13 tests: case QMetaType::QVariantList:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusThreading
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusxml2cpp - unknown status
result = "QVariantList"; break;
executed 18 times by 13 tests: break;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusThreading
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbusxml2cpp - unknown status
case
executed 83 times by 7 tests: case QMetaType::QVariantHash:
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_selftests - unknown status
QMetaType::QVariantHash:
executed 83 times by 7 tests: case QMetaType::QVariantHash:
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_selftests - unknown status
result = "QVariantHash"; break;
executed 83 times by 7 tests: break;
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_selftests - unknown status
case
executed 2 times by 2 tests: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QByteArrayList:
executed 2 times by 2 tests: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
  • tst_QVariant
result = "QByteArrayList"; break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QFont:
executed 4 times by 4 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QFont"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPixmap:
executed 4 times by 4 tests: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QPixmap"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBrush:
executed 4 times by 4 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QBrush"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QColor:
executed 4 times by 4 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QColor"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 5 times by 5 tests: case QMetaType::QPalette:
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPalette:
executed 5 times by 5 tests: case QMetaType::QPalette:
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QPalette"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 11 times by 11 tests: case QMetaType::QIcon:
Executed by:
  • tst_QComboBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QGuiVariant
  • tst_QMdiArea
  • tst_QMetaType
  • tst_QPrinter
  • tst_QVariant
  • tst_languageChange
QMetaType::QIcon:
executed 11 times by 11 tests: case QMetaType::QIcon:
Executed by:
  • tst_QComboBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QGuiVariant
  • tst_QMdiArea
  • tst_QMetaType
  • tst_QPrinter
  • tst_QVariant
  • tst_languageChange
result = "QIcon"; break;
executed 11 times by 11 tests: break;
Executed by:
  • tst_QComboBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGridLayout
  • tst_QGuiVariant
  • tst_QMdiArea
  • tst_QMetaType
  • tst_QPrinter
  • tst_QVariant
  • tst_languageChange
case
executed 5 times by 5 tests: case QMetaType::QImage:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
QMetaType::QImage:
executed 5 times by 5 tests: case QMetaType::QImage:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
result = "QImage"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPolygon:
executed 4 times by 4 tests: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QPolygon"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QRegion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegion:
executed 4 times by 4 tests: case QMetaType::QRegion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QRegion"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBitmap:
executed 4 times by 4 tests: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QBitmap"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QCursor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QCursor:
executed 4 times by 4 tests: case QMetaType::QCursor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QCursor"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 5 times by 5 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
QMetaType::QKeySequence:
executed 5 times by 5 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
result = "QKeySequence"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QPen:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPen:
executed 4 times by 4 tests: case QMetaType::QPen:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QPen"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QTextLength:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QTextLength:
executed 4 times by 4 tests: case QMetaType::QTextLength:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QTextLength"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 4 times by 4 tests: case QMetaType::QTextFormat:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QTextFormat:
executed 4 times by 4 tests: case QMetaType::QTextFormat:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QTextFormat"; break;
executed 4 times by 4 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 5 times by 5 tests: case QMetaType::QMatrix:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QMatrix:
executed 5 times by 5 tests: case QMetaType::QMatrix:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QMatrix"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 5 times by 5 tests: case QMetaType::QTransform:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QTransform:
executed 5 times by 5 tests: case QMetaType::QTransform:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QTransform"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 5 times by 5 tests: case QMetaType::QMatrix4x4:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
QMetaType::QMatrix4x4:
executed 5 times by 5 tests: case QMetaType::QMatrix4x4:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
result = "QMatrix4x4"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
case
executed 5 times by 5 tests: case QMetaType::QVector2D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
QMetaType::QVector2D:
executed 5 times by 5 tests: case QMetaType::QVector2D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
result = "QVector2D"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
case
executed 5 times by 5 tests: case QMetaType::QVector3D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
QMetaType::QVector3D:
executed 5 times by 5 tests: case QMetaType::QVector3D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
result = "QVector3D"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
case
executed 5 times by 5 tests: case QMetaType::QVector4D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
QMetaType::QVector4D:
executed 5 times by 5 tests: case QMetaType::QVector4D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
result = "QVector4D"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
case
executed 5 times by 5 tests: case QMetaType::QQuaternion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
QMetaType::QQuaternion:
executed 5 times by 5 tests: case QMetaType::QQuaternion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
result = "QQuaternion"; break;
executed 5 times by 5 tests: break;
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
case
executed 3 times by 3 tests: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPolygonF:
executed 3 times by 3 tests: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
result = "QPolygonF"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
case
executed 3 times by 3 tests: case QMetaType::QSizePolicy:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
QMetaType::QSizePolicy:
executed 3 times by 3 tests: case QMetaType::QSizePolicy:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
result = "QSizePolicy"; break;
executed 3 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
2-428
274-
275 default
executed 7779 times by 197 tests: default:
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
  • ...
:
executed 7779 times by 197 tests: default:
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
  • ...
{
7779
276 if (__builtin_expect(!!(type < QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEevaluated 962 times by 5 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
FALSEevaluated 6817 times by 195 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
  • ...
) {
962-6817
277 return
executed 962 times by 5 tests: return 0;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
0;
executed 962 times by 5 tests: return 0;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
962
278 } else {-
279 const QVector<QCustomTypeInfo> * const ct = customTypes();-
280 QReadLocker locker(customTypesLock());-
281 return
executed 6817 times by 195 tests: return ct && uint(ct->count()) > type - QMetaType::User && !ct->at(type - QMetaType::User).typeName.isEmpty() ? ct->at(type - QMetaType::User).typeName.constData() : 0;
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
  • ...
ct && uint(ct->count()) > type - QMetaType::User && !ct->at(type - QMetaType::User).typeName.isEmpty()
executed 6817 times by 195 tests: return ct && uint(ct->count()) > type - QMetaType::User && !ct->at(type - QMetaType::User).typeName.isEmpty() ? ct->at(type - QMetaType::User).typeName.constData() : 0;
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
  • ...
6817
282 ? ct->at(type - QMetaType::User).typeName.constData()
executed 6817 times by 195 tests: return ct && uint(ct->count()) > type - QMetaType::User && !ct->at(type - QMetaType::User).typeName.isEmpty() ? ct->at(type - QMetaType::User).typeName.constData() : 0;
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
  • ...
6817
283 : 0;
executed 6817 times by 195 tests: return ct && uint(ct->count()) > type - QMetaType::User && !ct->at(type - QMetaType::User).typeName.isEmpty() ? ct->at(type - QMetaType::User).typeName.constData() : 0;
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
  • ...
6817
284 }-
285 }-
286 }-
287-
288-
289 ((!(type <= QMetaType::HighestInternalId)) ? qt_assert("type <= QMetaType::HighestInternalId",__FILE__,868) : qt_noop());-
290 namesCache[type] = result;-
291 return
executed 4624 times by 241 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
result;
executed 4624 times by 241 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
4624
292}-
293-
294-
295-
296-
297-
298static inline int qMetaTypeStaticType(const char *typeName, int length)-
299{-
300 int i = 0;-
301 while (types[i].typeName
types[i].typeNameDescription
TRUEevaluated 74150828 times by 370 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 539544 times by 342 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
  • ...
&& ((
(length != typ...ypeNameLength)Description
TRUEevaluated 70062194 times by 370 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 4088634 times by 351 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
length != types[i].typeNameLength)
(length != typ...ypeNameLength)Description
TRUEevaluated 70062194 times by 370 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 4088634 times by 351 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
539544-74150828
302 || memcmp(typeName, types[i].typeName, length)
memcmp(typeNam...eName, length)Description
TRUEevaluated 2753380 times by 327 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_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • ...
FALSEevaluated 1335254 times by 274 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_QColorDialog
  • ...
)) {
1335254-2753380
303 ++i;-
304 }
executed 72800310 times by 370 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
  • ...
72800310
305 return
executed 1874798 times by 370 tests: return types[i].type;
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
  • ...
types[i].type;
executed 1874798 times by 370 tests: return types[i].type;
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
  • ...
1874798
306}-
307static int qMetaTypeCustomType_unlocked(const char *typeName, int length, int *firstInvalidIndex = 0)-
308{-
309 const QVector<QCustomTypeInfo> * const ct = customTypes();-
310 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 539544 times by 342 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-539544
311 return
never executed: return QMetaType::UnknownType;
QMetaType::UnknownType;
never executed: return QMetaType::UnknownType;
0
312-
313 if (firstInvalidIndex
firstInvalidIndexDescription
TRUEevaluated 24655 times by 321 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 514889 times by 223 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_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
  • ...
)
24655-514889
314 *
executed 24655 times by 321 tests: *firstInvalidIndex = -1;
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
  • ...
firstInvalidIndex = -1;
executed 24655 times by 321 tests: *firstInvalidIndex = -1;
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
  • ...
24655
315 for (int v = 0; v < ct->count()
v < ct->count()Description
TRUEevaluated 20713923 times by 322 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
FALSEevaluated 167790 times by 324 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
  • ...
; ++v) {
167790-20713923
316 const QCustomTypeInfo &customInfo = ct->at(v);-
317 if ((
(length == cus...peName.size())Description
TRUEevaluated 8171427 times by 251 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_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 12542128 times by 317 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
length == customInfo.typeName.size())
(length == cus...peName.size())Description
TRUEevaluated 8171427 times by 251 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_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • ...
FALSEevaluated 12542128 times by 317 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
8171427-12542128
318 && !memcmp(typeName, customInfo.typeName.constData(), length)
!memcmp(typeNa...ata(), length)Description
TRUEevaluated 371754 times by 173 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • ...
FALSEevaluated 7800041 times by 199 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_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • ...
) {
371754-7800041
319 if (customInfo.alias >= 0
customInfo.alias >= 0Description
TRUEevaluated 67 times by 6 tests
Evaluated by:
  • tst_QHeaderView
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkConfigurationManager
  • tst_QObject
  • tst_QWindow
FALSEevaluated 371687 times by 173 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • ...
)
67-371687
320 return
executed 67 times by 6 tests: return customInfo.alias;
Executed by:
  • tst_QHeaderView
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkConfigurationManager
  • tst_QObject
  • tst_QWindow
customInfo.alias;
executed 67 times by 6 tests: return customInfo.alias;
Executed by:
  • tst_QHeaderView
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkConfigurationManager
  • tst_QObject
  • tst_QWindow
67
321 return
executed 371687 times by 173 tests: return v + QMetaType::User;
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • ...
v + QMetaType::User;
executed 371687 times by 173 tests: return v + QMetaType::User;
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • ...
371687
322 }-
323 if (firstInvalidIndex
firstInvalidIndexDescription
TRUEevaluated 5830059 times by 295 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
FALSEevaluated 14512110 times by 212 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_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • ...
&& (*
(*firstInvalidIndex < 0)Description
TRUEevaluated 5830056 times by 295 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
firstInvalidIndex < 0)
(*firstInvalidIndex < 0)Description
TRUEevaluated 5830056 times by 295 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
&& customInfo.typeName.isEmpty()
customInfo.typeName.isEmpty()Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 5830053 times by 295 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
)
3-14512110
324 *
executed 3 times by 1 test: *firstInvalidIndex = v;
Executed by:
  • tst_QMetaType
firstInvalidIndex = v;
executed 3 times by 1 test: *firstInvalidIndex = v;
Executed by:
  • tst_QMetaType
3
325 }
executed 20342169 times by 317 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
20342169
326 return
executed 167790 times by 324 tests: return QMetaType::UnknownType;
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
  • ...
QMetaType::UnknownType;
executed 167790 times by 324 tests: return QMetaType::UnknownType;
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
  • ...
167790
327}-
328-
329-
330-
331-
332-
333-
334-
335int QMetaType::registerType(const char *typeName, Deleter deleter,-
336 Creator creator)-
337{-
338 return
never executed: return registerType(typeName, deleter, creator, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Construct, 0, TypeFlags(), 0);
registerType(typeName, deleter, creator,
never executed: return registerType(typeName, deleter, creator, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Construct, 0, TypeFlags(), 0);
0
339 QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct,
never executed: return registerType(typeName, deleter, creator, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Construct, 0, TypeFlags(), 0);
0
340 QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Construct, 0, TypeFlags(), 0);
never executed: return registerType(typeName, deleter, creator, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Construct, 0, TypeFlags(), 0);
0
341}-
342bool QMetaType::unregisterType(int type)-
343{-
344 QWriteLocker locker(customTypesLock());-
345 QVector<QCustomTypeInfo> *ct = customTypes();-
346-
347-
348 if ((
(type < User)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
type < User)
(type < User)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
|| ((
((type - User) >= ct->size())Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
type - User) >= ct->size())
((type - User) >= ct->size())Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
)
0-3
349 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
1
350-
351-
352 if (ct->data()[type - User].flags & WasDeclaredAsMetaType
ct->data()[typ...aredAsMetaTypeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
)
1-2
353 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
1
354-
355-
356 for (int v = 0; v < ct->count()
v < ct->count()Description
TRUEevaluated 6080 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
; ++v) {
2-6080
357 if (((
((v + User) == type)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 6078 times by 1 test
Evaluated by:
  • tst_QMetaType
v + User) == type)
((v + User) == type)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 6078 times by 1 test
Evaluated by:
  • tst_QMetaType
|| (
(ct->at(v).alias == type)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 6077 times by 1 test
Evaluated by:
  • tst_QMetaType
ct->at(v).alias == type)
(ct->at(v).alias == type)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 6077 times by 1 test
Evaluated by:
  • tst_QMetaType
)
1-6078
358 ct->data()[v].typeName.clear();
executed 3 times by 1 test: ct->data()[v].typeName.clear();
Executed by:
  • tst_QMetaType
3
359 }
executed 6080 times by 1 test: end of block
Executed by:
  • tst_QMetaType
6080
360 return
executed 2 times by 1 test: return true;
Executed by:
  • tst_QMetaType
true;
executed 2 times by 1 test: return true;
Executed by:
  • tst_QMetaType
2
361}-
362int QMetaType::registerType(const char *typeName, Deleter deleter,-
363 Creator creator,-
364 Destructor destructor,-
365 Constructor constructor,-
366 int size, TypeFlags flags, const QMetaObject *metaObject)-
367{-
368-
369-
370-
371 ::QByteArray normalizedTypeName = QMetaObject::normalizedType(typeName);-
372-
373-
374 return
executed 4 times by 1 test: return registerNormalizedType(normalizedTypeName, deleter, creator, destructor, constructor, size, flags, metaObject);
Executed by:
  • tst_QMetaType
registerNormalizedType(normalizedTypeName, deleter, creator, destructor, constructor, size, flags, metaObject);
executed 4 times by 1 test: return registerNormalizedType(normalizedTypeName, deleter, creator, destructor, constructor, size, flags, metaObject);
Executed by:
  • tst_QMetaType
4
375}-
376int QMetaType::registerNormalizedType(const ::QByteArray &normalizedTypeName, Deleter deleter,-
377 Creator creator,-
378 Destructor destructor,-
379 Constructor constructor,-
380 int size, TypeFlags flags, const QMetaObject *metaObject)-
381{-
382 (void)deleter;;-
383 (void)creator;;-
384 return
executed 4 times by 1 test: return registerNormalizedType(normalizedTypeName, destructor, constructor, size, flags, metaObject);
Executed by:
  • tst_QMetaType
registerNormalizedType(normalizedTypeName, destructor, constructor, size, flags, metaObject);
executed 4 times by 1 test: return registerNormalizedType(normalizedTypeName, destructor, constructor, size, flags, metaObject);
Executed by:
  • tst_QMetaType
4
385}-
386int QMetaType::registerNormalizedType(const ::QByteArray &normalizedTypeName,-
387 Destructor destructor,-
388 Constructor constructor,-
389 int size, TypeFlags flags, const QMetaObject *metaObject)-
390{-
391 QVector<QCustomTypeInfo> *ct = customTypes();-
392 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 24484 times by 321 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
  • ...
|| normalizedTypeName.isEmpty()
normalizedTypeName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 24484 times by 321 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
  • ...
|| !destructor
!destructorDescription
TRUEnever evaluated
FALSEevaluated 24484 times by 321 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
  • ...
|| !constructor
!constructorDescription
TRUEnever evaluated
FALSEevaluated 24484 times by 321 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-24484
393 return
never executed: return -1;
-1;
never executed: return -1;
0
394-
395 int idx = qMetaTypeStaticType(normalizedTypeName.constData(),-
396 normalizedTypeName.size());-
397-
398 int previousSize = 0;-
399 int previousFlags = 0;-
400 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 24484 times by 321 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
) {
0-24484
401 QWriteLocker locker(customTypesLock());-
402 int posInVector = -1;-
403 idx = qMetaTypeCustomType_unlocked(normalizedTypeName.constData(),-
404 normalizedTypeName.size(),-
405 &posInVector);-
406 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 12024 times by 321 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 12460 times by 83 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
) {
12024-12460
407 QCustomTypeInfo inf;-
408 inf.typeName = normalizedTypeName;-
409-
410 inf.loadOp = 0;-
411 inf.saveOp = 0;-
412-
413 inf.alias = -1;-
414 inf.constructor = constructor;-
415 inf.destructor = destructor;-
416 inf.size = size;-
417 inf.flags = flags;-
418 inf.metaObject = metaObject;-
419 if (posInVector == -1
posInVector == -1Description
TRUEevaluated 12021 times by 321 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 3 times by 1 test
Evaluated by:
  • tst_QMetaType
) {
3-12021
420 idx = ct->size() + User;-
421 ct->append(inf);-
422 }
executed 12021 times by 321 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
  • ...
else {
12021
423 idx = posInVector + User;-
424 ct->data()[posInVector] = inf;-
425 }
executed 3 times by 1 test: end of block
Executed by:
  • tst_QMetaType
3
426 return
executed 12024 times by 321 tests: return idx;
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
  • ...
idx;
executed 12024 times by 321 tests: return idx;
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
  • ...
12024
427 }-
428-
429 if (idx >= User
idx >= UserDescription
TRUEevaluated 12460 times by 83 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
FALSEnever evaluated
) {
0-12460
430 previousSize = ct->at(idx - User).size;-
431 previousFlags = ct->at(idx - User).flags;-
432-
433-
434-
435-
436 if (flags != previousFlags
flags != previousFlagsDescription
TRUEnever evaluated
FALSEevaluated 12460 times by 83 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
) {
0-12460
437 QCustomTypeInfo &inf = ct->data()[idx - User];-
438 inf.flags |= flags;-
439 if (metaObject
metaObjectDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
440 inf.metaObject = metaObject;
never executed: inf.metaObject = metaObject;
0
441 }
never executed: end of block
0
442 }
executed 12460 times by 83 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
12460
443 }
executed 12460 times by 83 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
12460
444-
445 if (idx < User
idx < UserDescription
TRUEnever evaluated
FALSEevaluated 12460 times by 83 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
) {
0-12460
446 previousSize = QMetaType::sizeOf(idx);-
447 previousFlags = QMetaType::typeFlags(idx);-
448 }
never executed: end of block
0
449-
450 if (__builtin_expect(!!(previousSize != size), false)
__builtin_expe... size), false)Description
TRUEnever evaluated
FALSEevaluated 12460 times by 83 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
) {
0-12460
451 QMessageLogger(__FILE__, 1084, __PRETTY_FUNCTION__).fatal("QMetaType::registerType: Binary compatibility break "-
452 "-- Size mismatch for type '%s' [%i]. Previously registered "-
453 "size %i, now registering size %i.",-
454 normalizedTypeName.constData(), idx, previousSize, size);-
455 }
never executed: end of block
0
456-
457-
458 const int binaryCompatibilityFlag = PointerToQObject | IsEnumeration | SharedPointerToQObject-
459 | WeakPointerToQObject | TrackingPointerToQObject;-
460 if (__builtin_expect(!!((previousFlags ^ flags) & binaryCompatibilityFlag), false)
__builtin_expe...yFlag), false)Description
TRUEnever evaluated
FALSEevaluated 12460 times by 83 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
) {
0-12460
461-
462 const char *msg = "QMetaType::registerType: Binary compatibility break. "-
463 "\nType flags for type '%s' [%i] don't match. Previously "-
464 "registered TypeFlags(0x%x), now registering TypeFlags(0x%x). ";-
465-
466 QMessageLogger(__FILE__, 1099, __PRETTY_FUNCTION__).fatal(msg, normalizedTypeName.constData(), idx, previousFlags, int(flags));-
467 }
never executed: end of block
0
468-
469 return
executed 12460 times by 83 tests: return idx;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
idx;
executed 12460 times by 83 tests: return idx;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSlider
  • tst_QBoxLayout
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsGridLayout
  • ...
12460
470}-
471-
472-
473-
474-
475-
476-
477-
478int QMetaType::registerTypedef(const char* typeName, int aliasId)-
479{-
480-
481-
482-
483 ::QByteArray normalizedTypeName = QMetaObject::normalizedType(typeName);-
484-
485-
486 return
executed 1 time by 1 test: return registerNormalizedTypedef(normalizedTypeName, aliasId);
Executed by:
  • tst_QMetaType
registerNormalizedTypedef(normalizedTypeName, aliasId);
executed 1 time by 1 test: return registerNormalizedTypedef(normalizedTypeName, aliasId);
Executed by:
  • tst_QMetaType
1
487}-
488int QMetaType::registerNormalizedTypedef(const ::QByteArray &normalizedTypeName, int aliasId)-
489{-
490 QVector<QCustomTypeInfo> *ct = customTypes();-
491 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 177 times by 47 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • ...
|| normalizedTypeName.isEmpty()
normalizedTypeName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 177 times by 47 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • ...
)
0-177
492 return
never executed: return -1;
-1;
never executed: return -1;
0
493-
494 int idx = qMetaTypeStaticType(normalizedTypeName.constData(),-
495 normalizedTypeName.size());-
496-
497 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 171 times by 47 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • ...
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_QMetaType
) {
6-171
498 QWriteLocker locker(customTypesLock());-
499 int posInVector = -1;-
500 idx = qMetaTypeCustomType_unlocked(normalizedTypeName.constData(),-
501 normalizedTypeName.size(),-
502 &posInVector);-
503-
504 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 31 times by 20 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QObject
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QWindow
  • tst_QXmlInputSource
  • tst_QXmlStream
FALSEevaluated 140 times by 33 tests
Evaluated by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • tst_QSettings
  • tst_QSqlDatabase
  • ...
) {
31-140
505 QCustomTypeInfo inf;-
506 inf.typeName = normalizedTypeName;-
507 inf.alias = aliasId;-
508 if (posInVector == -1
posInVector == -1Description
TRUEevaluated 31 times by 20 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QObject
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QWindow
  • tst_QXmlInputSource
  • tst_QXmlStream
FALSEnever evaluated
)
0-31
509 ct->append(inf);
executed 31 times by 20 tests: ct->append(inf);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QObject
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QWindow
  • tst_QXmlInputSource
  • tst_QXmlStream
31
510 else-
511 ct->data()[posInVector] = inf;
never executed: ct->data()[posInVector] = inf;
0
512 return
executed 31 times by 20 tests: return aliasId;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QObject
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QWindow
  • tst_QXmlInputSource
  • tst_QXmlStream
aliasId;
executed 31 times by 20 tests: return aliasId;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QObject
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QWindow
  • tst_QXmlInputSource
  • tst_QXmlStream
31
513 }-
514 }
executed 140 times by 33 tests: end of block
Executed by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • tst_QSettings
  • tst_QSqlDatabase
  • ...
140
515-
516 if (idx != aliasId
idx != aliasIdDescription
TRUEnever evaluated
FALSEevaluated 146 times by 33 tests
Evaluated by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • tst_QSettings
  • tst_QSqlDatabase
  • ...
) {
0-146
517 QMessageLogger(__FILE__, 1159, __PRETTY_FUNCTION__).warning("QMetaType::registerTypedef: "-
518 "-- Type name '%s' previously registered as typedef of '%s' [%i], "-
519 "now registering as typedef of '%s' [%i].",-
520 normalizedTypeName.constData(), QMetaType::typeName(idx), idx,-
521 QMetaType::typeName(aliasId), aliasId);-
522 }
never executed: end of block
0
523 return
executed 146 times by 33 tests: return idx;
Executed by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • tst_QSettings
  • tst_QSqlDatabase
  • ...
idx;
executed 146 times by 33 tests: return idx;
Executed by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • tst_QSettings
  • tst_QSqlDatabase
  • ...
146
524}-
525-
526-
527-
528-
529-
530-
531-
532bool QMetaType::isRegistered(int type)-
533{-
534-
535 if ((type >= FirstCoreType
type >= FirstCoreTypeDescription
TRUEevaluated 47929 times by 21 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QEasingCurve
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QObject
  • tst_QQuaternion
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QVectorND
  • tst_QWidgetsVariant
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
&& type <= LastCoreType
type <= LastCoreTypeDescription
TRUEevaluated 32618 times by 15 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QEasingCurve
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 15311 times by 10 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QObject
  • tst_QQuaternion
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
  • tst_QVectorND
  • tst_QWidgetsVariant
)
3-47929
536 || (type >= FirstGuiType
type >= FirstGuiTypeDescription
TRUEevaluated 15309 times by 10 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QObject
  • tst_QQuaternion
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
  • tst_QVectorND
  • tst_QWidgetsVariant
FALSEevaluated 5 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
&& type <= LastGuiType
type <= LastGuiTypeDescription
TRUEevaluated 277 times by 7 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVectorND
FALSEevaluated 15032 times by 5 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
  • tst_QWidgetsVariant
)
5-15309
537 || (type >= FirstWidgetsType
type >= FirstWidgetsTypeDescription
TRUEevaluated 15030 times by 5 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
  • tst_QWidgetsVariant
FALSEevaluated 7 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
&& type <= LastWidgetsType
type <= LastWidgetsTypeDescription
TRUEevaluated 3 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QWidgetsVariant
FALSEevaluated 15027 times by 5 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
  • tst_QWidgetsVariant
)) {
3-15030
538 return
executed 32898 times by 20 tests: return true;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QEasingCurve
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QQuaternion
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QVectorND
  • tst_QWidgetsVariant
true;
executed 32898 times by 20 tests: return true;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QEasingCurve
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QQuaternion
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QVectorND
  • tst_QWidgetsVariant
32898
539 }-
540-
541 QReadLocker locker(customTypesLock());-
542 const QVector<QCustomTypeInfo> * const ct = customTypes();-
543 return
executed 15034 times by 5 tests: return ((type >= User) && (ct && ct->count() > type - User) && !ct->at(type - User).typeName.isEmpty());
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
  • tst_QWidgetsVariant
((type >= User) && (ct && ct->count() > type - User) && !ct->at(type - User).typeName.isEmpty());
executed 15034 times by 5 tests: return ((type >= User) && (ct && ct->count() > type - User) && !ct->at(type - User).typeName.isEmpty());
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
  • tst_QWidgetsVariant
15034
544}-
545-
546template <bool tryNormalizedType>-
547static inline int qMetaTypeTypeImpl(const char *typeName, int length)-
548{-
549 if (!length
!lengthDescription
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 1849999 times by 284 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
  • ...
)
108-1849999
550 return
executed 108 times by 4 tests: return QMetaType::UnknownType;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
QMetaType::UnknownType;
executed 108 times by 4 tests: return QMetaType::UnknownType;
Executed by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
108
551 int type = qMetaTypeStaticType(typeName, length);-
552 if (type == QMetaType::UnknownType
type == QMetaType::UnknownTypeDescription
TRUEevaluated 514753 times by 223 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_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
  • ...
FALSEevaluated 1335246 times by 274 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_QColorDialog
  • ...
) {
514753-1335246
553 QReadLocker locker(customTypesLock());-
554 type = qMetaTypeCustomType_unlocked(typeName, length);-
555-
556 if ((
(type == QMeta...::UnknownType)Description
TRUEevaluated 155603 times by 180 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
  • ...
FALSEevaluated 359150 times by 149 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • ...
type == QMetaType::UnknownType)
(type == QMeta...::UnknownType)Description
TRUEevaluated 155603 times by 180 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
  • ...
FALSEevaluated 359150 times by 149 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QClipboard
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • ...
&& tryNormalizedType
tryNormalizedTypeDescription
TRUEevaluated 138 times by 21 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractSpinBox
  • tst_QAction
  • tst_QDBusLocalCalls
  • tst_QDBusMetaObject
  • tst_QGraphicsItem
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMenuBar
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSequentialAnimationGroup
  • tst_QSignalMapper
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
FALSEevaluated 155465 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
  • ...
) {
138-359150
557 const ::QByteArray normalizedTypeName = QMetaObject::normalizedType(typeName);-
558 type = qMetaTypeStaticType(normalizedTypeName.constData(),-
559 normalizedTypeName.size());-
560 if (type == QMetaType::UnknownType
type == QMetaType::UnknownTypeDescription
TRUEevaluated 136 times by 21 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractSpinBox
  • tst_QAction
  • tst_QDBusLocalCalls
  • tst_QDBusMetaObject
  • tst_QGraphicsItem
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMenuBar
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSequentialAnimationGroup
  • tst_QSignalMapper
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QVariant
) {
2-136
561 type = qMetaTypeCustomType_unlocked(normalizedTypeName.constData(),-
562 normalizedTypeName.size());-
563 }
executed 136 times by 21 tests: end of block
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractSpinBox
  • tst_QAction
  • tst_QDBusLocalCalls
  • tst_QDBusMetaObject
  • tst_QGraphicsItem
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMenuBar
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSequentialAnimationGroup
  • tst_QSignalMapper
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
136
564 }
executed 138 times by 21 tests: end of block
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractSpinBox
  • tst_QAction
  • tst_QDBusLocalCalls
  • tst_QDBusMetaObject
  • tst_QGraphicsItem
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QMenuBar
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QObject
  • tst_QSequentialAnimationGroup
  • tst_QSignalMapper
  • tst_QSortFilterProxyModel
  • tst_QStringListModel
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
138
565-
566 }
executed 514753 times by 223 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_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
  • ...
514753
567 return
executed 1849999 times by 284 tests: return type;
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
  • ...
type;
executed 1849999 times by 284 tests: return type;
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
  • ...
1849999
568}-
569-
570-
571-
572-
573-
574-
575-
576int QMetaType::type(const char *typeName)-
577{-
578 return
executed 66751 times by 31 tests: return qMetaTypeTypeImpl< true>(typeName, qstrlen(typeName));
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QEasingCurve
  • tst_QEventLoop
  • tst_QGuiEventLoop
  • tst_QGuiVariant
  • tst_QItemDelegate
  • tst_QMatrixNxN
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPropertyAnimation
  • tst_QQuaternion
  • tst_QStateMachine
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTcpSocket
  • tst_QThread
  • tst_QTimer
  • tst_QTreeWidget
  • tst_QVariant
  • ...
qMetaTypeTypeImpl< true>(typeName, qstrlen(typeName));
executed 66751 times by 31 tests: return qMetaTypeTypeImpl< true>(typeName, qstrlen(typeName));
Executed by:
  • tst_QAbstractProxyModel
  • tst_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QEasingCurve
  • tst_QEventLoop
  • tst_QGuiEventLoop
  • tst_QGuiVariant
  • tst_QItemDelegate
  • tst_QMatrixNxN
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPropertyAnimation
  • tst_QQuaternion
  • tst_QStateMachine
  • tst_QSyntaxHighlighter
  • tst_QTableView
  • tst_QTcpSocket
  • tst_QThread
  • tst_QTimer
  • tst_QTreeWidget
  • tst_QVariant
  • ...
66751
579}-
580int qMetaTypeTypeInternal(const char *typeName)-
581{-
582 return
executed 1611862 times by 270 tests: return qMetaTypeTypeImpl< false>(typeName, qstrlen(typeName));
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
  • ...
qMetaTypeTypeImpl< false>(typeName, qstrlen(typeName));
executed 1611862 times by 270 tests: return qMetaTypeTypeImpl< false>(typeName, qstrlen(typeName));
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
583}-
584int QMetaType::type(const ::QByteArray &typeName)-
585{-
586 return
executed 171494 times by 223 tests: return qMetaTypeTypeImpl< true>(typeName.constData(), typeName.size());
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • 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_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
qMetaTypeTypeImpl< true>(typeName.constData(), typeName.size());
executed 171494 times by 223 tests: return qMetaTypeTypeImpl< true>(typeName.constData(), typeName.size());
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • 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_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
171494
587}-
588bool QMetaType::save(QDataStream &stream, int type, const void *data)-
589{-
590 if (!data
!dataDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 16385 times by 17 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
|| !isRegistered(type)
!isRegistered(type)Description
TRUEnever evaluated
FALSEevaluated 16385 times by 17 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
)
0-16385
591 return
executed 25 times by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 25 times by 1 test: return false;
Executed by:
  • tst_QMetaType
25
592-
593 switch(type) {-
594 case
never executed: case QMetaType::UnknownType:
QMetaType::UnknownType:
never executed: case QMetaType::UnknownType:
0
595 case
never executed: case QMetaType::Void:
QMetaType::Void:
never executed: case QMetaType::Void:
0
596 case
executed 1 time by 1 test: case QMetaType::VoidStar:
Executed by:
  • tst_QMetaType
QMetaType::VoidStar:
executed 1 time by 1 test: case QMetaType::VoidStar:
Executed by:
  • tst_QMetaType
1
597 case
executed 1 time by 1 test: case QMetaType::QObjectStar:
Executed by:
  • tst_QMetaType
QMetaType::QObjectStar:
executed 1 time by 1 test: case QMetaType::QObjectStar:
Executed by:
  • tst_QMetaType
1
598 case
executed 1 time by 1 test: case QMetaType::QModelIndex:
Executed by:
  • tst_QMetaType
QMetaType::QModelIndex:
executed 1 time by 1 test: case QMetaType::QModelIndex:
Executed by:
  • tst_QMetaType
1
599 case
executed 1 time by 1 test: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QMetaType
QMetaType::QPersistentModelIndex:
executed 1 time by 1 test: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QMetaType
1
600 case
executed 1 time by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
QMetaType::QJsonValue:
executed 1 time by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
1
601 case
executed 1 time by 1 test: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
QMetaType::QJsonObject:
executed 1 time by 1 test: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
1
602 case
executed 1 time by 1 test: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
QMetaType::QJsonArray:
executed 1 time by 1 test: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
1
603 case
executed 1 time by 1 test: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
QMetaType::QJsonDocument:
executed 1 time by 1 test: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
1
604 return
executed 8 times by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 8 times by 1 test: return false;
Executed by:
  • tst_QMetaType
8
605 case
executed 5 times by 2 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Long:
executed 5 times by 2 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
606 stream << qlonglong(*static_cast<const long *>(data));-
607 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
608 case
executed 308 times by 8 tests: case QMetaType::Int:
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QVariant
QMetaType::Int:
executed 308 times by 8 tests: case QMetaType::Int:
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QVariant
308
609 stream << *static_cast<const int *>(data);-
610 break;
executed 308 times by 8 tests: break;
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QVariant
308
611 case
executed 5 times by 2 tests: case QMetaType::Short:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Short:
executed 5 times by 2 tests: case QMetaType::Short:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
612 stream << *static_cast<const short *>(data);-
613 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
614 case
executed 5 times by 2 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Char:
executed 5 times by 2 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
615-
616 stream << *static_cast<const signed char *>(data);-
617 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
618 case
executed 5 times by 2 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::ULong:
executed 5 times by 2 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
619 stream << qulonglong(*static_cast<const ulong *>(data));-
620 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
621 case
executed 4 times by 2 tests: case QMetaType::UInt:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::UInt:
executed 4 times by 2 tests: case QMetaType::UInt:
Executed by:
  • tst_QMetaType
  • tst_QVariant
4
622 stream << *static_cast<const uint *>(data);-
623 break;
executed 4 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
4
624 case
executed 3 times by 2 tests: case QMetaType::LongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::LongLong:
executed 3 times by 2 tests: case QMetaType::LongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
625 stream << *static_cast<const qlonglong *>(data);-
626 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
627 case
executed 3 times by 2 tests: case QMetaType::ULongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::ULongLong:
executed 3 times by 2 tests: case QMetaType::ULongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
628 stream << *static_cast<const qulonglong *>(data);-
629 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
630 case
executed 5 times by 2 tests: case QMetaType::UShort:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::UShort:
executed 5 times by 2 tests: case QMetaType::UShort:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
631 stream << *static_cast<const ushort *>(data);-
632 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
633 case
executed 1 time by 1 test: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
QMetaType::SChar:
executed 1 time by 1 test: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
1
634 stream << *static_cast<const signed char *>(data);-
635 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaType
1
636 case
executed 5 times by 2 tests: case QMetaType::UChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::UChar:
executed 5 times by 2 tests: case QMetaType::UChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
637 stream << *static_cast<const uchar *>(data);-
638 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
639 case
executed 75 times by 3 tests: case QMetaType::Bool:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::Bool:
executed 75 times by 3 tests: case QMetaType::Bool:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
75
640 stream << qint8(*static_cast<const bool *>(data));-
641 break;
executed 75 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
75
642 case
executed 7 times by 2 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Float:
executed 7 times by 2 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
643 stream << *static_cast<const float *>(data);-
644 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
645 case
executed 6 times by 2 tests: case QMetaType::Double:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Double:
executed 6 times by 2 tests: case QMetaType::Double:
Executed by:
  • tst_QMetaType
  • tst_QVariant
6
646 stream << *static_cast<const double *>(data);-
647 break;
executed 6 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
6
648 case
executed 5 times by 2 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QChar:
executed 5 times by 2 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
649 stream << *static_cast<const ::QChar *>(data);-
650 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
651-
652 case
executed 77 times by 3 tests: case QMetaType::QVariantMap:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QVariantMap:
executed 77 times by 3 tests: case QMetaType::QVariantMap:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
77
653 stream << *static_cast<const ::QVariantMap*>(data);-
654 break;
executed 77 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
77
655 case
executed 3 times by 2 tests: case QMetaType::QVariantHash:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QVariantHash:
executed 3 times by 2 tests: case QMetaType::QVariantHash:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
656 stream << *static_cast<const ::QVariantHash*>(data);-
657 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
658 case
executed 61 times by 3 tests: case QMetaType::QVariantList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QVariantList:
executed 61 times by 3 tests: case QMetaType::QVariantList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
61
659 stream << *static_cast<const ::QVariantList*>(data);-
660 break;
executed 61 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
61
661 case
executed 3 times by 2 tests: case QMetaType::QVariant:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QVariant:
executed 3 times by 2 tests: case QMetaType::QVariant:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
662 stream << *static_cast<const ::QVariant*>(data);-
663 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
664 case
executed 1 time by 1 test: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
QMetaType::QByteArrayList:
executed 1 time by 1 test: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
1
665 stream << *static_cast<const ::QByteArrayList*>(data);-
666 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaType
1
667-
668 case
executed 14 times by 4 tests: case QMetaType::QByteArray:
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QByteArray:
executed 14 times by 4 tests: case QMetaType::QByteArray:
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
14
669 stream << *static_cast<const ::QByteArray*>(data);-
670 break;
executed 14 times by 4 tests: break;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
14
671 case
executed 12681 times by 12 tests: case QMetaType::QString:
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QListWidget
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
QMetaType::QString:
executed 12681 times by 12 tests: case QMetaType::QString:
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QListWidget
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
12681
672 stream << *static_cast<const ::QString*>(data);-
673 break;
executed 12681 times by 12 tests: break;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QListWidget
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
12681
674 case
executed 25 times by 3 tests: case QMetaType::QStringList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QStringList:
executed 25 times by 3 tests: case QMetaType::QStringList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
25
675 stream << *static_cast<const ::QStringList*>(data);-
676 break;
executed 25 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
25
677-
678 case
executed 5 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBitArray:
executed 5 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
679 stream << *static_cast<const ::QBitArray*>(data);-
680 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
681-
682 case
executed 89 times by 3 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QDate:
executed 89 times by 3 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
89
683 stream << *static_cast<const ::QDate*>(data);-
684 break;
executed 89 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
89
685 case
executed 85 times by 3 tests: case QMetaType::QTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QTime:
executed 85 times by 3 tests: case QMetaType::QTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
85
686 stream << *static_cast<const ::QTime*>(data);-
687 break;
executed 85 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
85
688 case
executed 13 times by 3 tests: case QMetaType::QDateTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QDateTime:
executed 13 times by 3 tests: case QMetaType::QDateTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
13
689 stream << *static_cast<const ::QDateTime*>(data);-
690 break;
executed 13 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
13
691-
692 case
executed 3 times by 2 tests: case QMetaType::QUrl:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QUrl:
executed 3 times by 2 tests: case QMetaType::QUrl:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
693 stream << *static_cast<const ::QUrl*>(data);-
694 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
695-
696 case
executed 3 times by 2 tests: case QMetaType::QLocale:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLocale:
executed 3 times by 2 tests: case QMetaType::QLocale:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
697 stream << *static_cast<const ::QLocale*>(data);-
698 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
699-
700 case
executed 2559 times by 4 tests: case QMetaType::QRect:
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QRect:
executed 2559 times by 4 tests: case QMetaType::QRect:
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
2559
701 stream << *static_cast<const ::QRect*>(data);-
702 break;
executed 2559 times by 4 tests: break;
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
2559
703 case
executed 3 times by 2 tests: case QMetaType::QRectF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRectF:
executed 3 times by 2 tests: case QMetaType::QRectF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
704 stream << *static_cast<const ::QRectF*>(data);-
705 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
706 case
executed 58 times by 4 tests: case QMetaType::QSize:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
QMetaType::QSize:
executed 58 times by 4 tests: case QMetaType::QSize:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
58
707 stream << *static_cast<const ::QSize*>(data);-
708 break;
executed 58 times by 4 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
58
709 case
executed 3 times by 2 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QSizeF:
executed 3 times by 2 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
710 stream << *static_cast<const ::QSizeF*>(data);-
711 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
712 case
executed 3 times by 2 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLine:
executed 3 times by 2 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
713 stream << *static_cast<const ::QLine*>(data);-
714 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
715 case
executed 3 times by 2 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLineF:
executed 3 times by 2 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
716 stream << *static_cast<const ::QLineF*>(data);-
717 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
718 case
executed 55 times by 3 tests: case QMetaType::QPoint:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QPoint:
executed 55 times by 3 tests: case QMetaType::QPoint:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
55
719 stream << *static_cast<const ::QPoint*>(data);-
720 break;
executed 55 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
55
721 case
executed 3 times by 2 tests: case QMetaType::QPointF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPointF:
executed 3 times by 2 tests: case QMetaType::QPointF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
722 stream << *static_cast<const ::QPointF*>(data);-
723 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
724-
725-
726 case
executed 47 times by 3 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegExp:
executed 47 times by 3 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
47
727 stream << *static_cast<const ::QRegExp*>(data);-
728 break;
executed 47 times by 3 tests: break;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
47
729-
730-
731-
732 case
executed 4 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegularExpression:
executed 4 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
4
733 stream << *static_cast<const ::QRegularExpression*>(data);-
734 break;
executed 4 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
4
735-
736 case
executed 1 time by 1 test: case QMetaType::QEasingCurve:
Executed by:
  • tst_QMetaType
QMetaType::QEasingCurve:
executed 1 time by 1 test: case QMetaType::QEasingCurve:
Executed by:
  • tst_QMetaType
1
737 stream << *static_cast<const ::QEasingCurve*>(data);-
738 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaType
1
739-
740 case
executed 2 times by 2 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
QMetaType::QFont:
executed 2 times by 2 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
2
741 case
executed 3 times by 2 tests: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
QMetaType::QPixmap:
executed 3 times by 2 tests: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
3
742 case
executed 3 times by 2 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
QMetaType::QBrush:
executed 3 times by 2 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
3
743 case
executed 101 times by 2 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
QMetaType::QColor:
executed 101 times by 2 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
101
744 case
executed 1 time by 1 test: case QMetaType::QPalette:
Executed by:
  • tst_QGuiVariant
QMetaType::QPalette:
executed 1 time by 1 test: case QMetaType::QPalette:
Executed by:
  • tst_QGuiVariant
1
745 case
executed 1 time by 1 test: case QMetaType::QImage:
Executed by:
  • tst_QGuiVariant
QMetaType::QImage:
executed 1 time by 1 test: case QMetaType::QImage:
Executed by:
  • tst_QGuiVariant
1
746 case
executed 2 times by 1 test: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiVariant
QMetaType::QPolygon:
executed 2 times by 1 test: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiVariant
2
747 case
executed 3 times by 1 test: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
QMetaType::QPolygonF:
executed 3 times by 1 test: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
3
748 case
executed 2 times by 1 test: case QMetaType::QRegion:
Executed by:
  • tst_QGuiVariant
QMetaType::QRegion:
executed 2 times by 1 test: case QMetaType::QRegion:
Executed by:
  • tst_QGuiVariant
2
749 case
executed 2 times by 1 test: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiVariant
QMetaType::QBitmap:
executed 2 times by 1 test: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiVariant
2
750 case
executed 1 time by 1 test: case QMetaType::QCursor:
Executed by:
  • tst_QGuiVariant
QMetaType::QCursor:
executed 1 time by 1 test: case QMetaType::QCursor:
Executed by:
  • tst_QGuiVariant
1
751 case
executed 3 times by 2 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
QMetaType::QKeySequence:
executed 3 times by 2 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
3
752 case
executed 1 time by 1 test: case QMetaType::QPen:
Executed by:
  • tst_QGuiVariant
QMetaType::QPen:
executed 1 time by 1 test: case QMetaType::QPen:
Executed by:
  • tst_QGuiVariant
1
753 case
never executed: case QMetaType::QTextLength:
QMetaType::QTextLength:
never executed: case QMetaType::QTextLength:
0
754 case
never executed: case QMetaType::QTextFormat:
QMetaType::QTextFormat:
never executed: case QMetaType::QTextFormat:
0
755 case
never executed: case QMetaType::QMatrix:
QMetaType::QMatrix:
never executed: case QMetaType::QMatrix:
0
756 case
never executed: case QMetaType::QTransform:
QMetaType::QTransform:
never executed: case QMetaType::QTransform:
0
757 case
never executed: case QMetaType::QMatrix4x4:
QMetaType::QMatrix4x4:
never executed: case QMetaType::QMatrix4x4:
0
758 case
never executed: case QMetaType::QVector2D:
QMetaType::QVector2D:
never executed: case QMetaType::QVector2D:
0
759 case
never executed: case QMetaType::QVector3D:
QMetaType::QVector3D:
never executed: case QMetaType::QVector3D:
0
760 case
never executed: case QMetaType::QVector4D:
QMetaType::QVector4D:
never executed: case QMetaType::QVector4D:
0
761 case
never executed: case QMetaType::QQuaternion:
QMetaType::QQuaternion:
never executed: case QMetaType::QQuaternion:
0
762 case
never executed: case QMetaType::QIcon:
QMetaType::QIcon:
never executed: case QMetaType::QIcon:
0
763 if (!qMetaTypeGuiHelper
!qMetaTypeGuiHelperDescription
TRUEnever evaluated
FALSEevaluated 125 times by 3 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
)
0-125
764 return
never executed: return false;
false;
never executed: return false;
0
765 qMetaTypeGuiHelper[type - FirstGuiType].saveOp(stream, data);-
766 break;
executed 125 times by 3 tests: break;
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
125
767 case
executed 1 time by 1 test: case QMetaType::QSizePolicy:
Executed by:
  • tst_QWidgetsVariant
QMetaType::QSizePolicy:
executed 1 time by 1 test: case QMetaType::QSizePolicy:
Executed by:
  • tst_QWidgetsVariant
1
768 if (!qMetaTypeWidgetsHelper
!qMetaTypeWidgetsHelperDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetsVariant
)
0-1
769 return
never executed: return false;
false;
never executed: return false;
0
770 qMetaTypeWidgetsHelper[type - FirstWidgetsType].saveOp(stream, data);-
771 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QWidgetsVariant
1
772 case
executed 2 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QUuid:
executed 2 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
2
773 stream << *static_cast<const ::QUuid*>(data);-
774 break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
2
775 default
executed 5 times by 3 tests: default:
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
:
executed 5 times by 3 tests: default:
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
{
5
776 const QVector<QCustomTypeInfo> * const ct = customTypes();-
777 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 5 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
0-5
778 return
never executed: return false;
false;
never executed: return false;
0
779-
780 SaveOperator saveOp = 0;-
781 {-
782 QReadLocker locker(customTypesLock());-
783 saveOp = ct->at(type - User).saveOp;-
784 }-
785-
786 if (!saveOp
!saveOpDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 4 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
1-4
787 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QMetaType
1
788 saveOp(stream, data);-
789 break;
executed 4 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
}
4
790 }-
791-
792 return
executed 16376 times by 17 tests: return true;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
true;
executed 16376 times by 17 tests: return true;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkDiskCache
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
16376
793}-
794bool QMetaType::load(QDataStream &stream, int type, void *data)-
795{-
796 if (!data
!dataDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 16446 times by 16 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
|| !isRegistered(type)
!isRegistered(type)Description
TRUEnever evaluated
FALSEevaluated 16446 times by 16 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
)
0-16446
797 return
executed 25 times by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 25 times by 1 test: return false;
Executed by:
  • tst_QMetaType
25
798-
799 switch(type) {-
800 case
never executed: case QMetaType::UnknownType:
QMetaType::UnknownType:
never executed: case QMetaType::UnknownType:
0
801 case
never executed: case QMetaType::Void:
QMetaType::Void:
never executed: case QMetaType::Void:
0
802 case
executed 1 time by 1 test: case QMetaType::VoidStar:
Executed by:
  • tst_QMetaType
QMetaType::VoidStar:
executed 1 time by 1 test: case QMetaType::VoidStar:
Executed by:
  • tst_QMetaType
1
803 case
executed 1 time by 1 test: case QMetaType::QObjectStar:
Executed by:
  • tst_QMetaType
QMetaType::QObjectStar:
executed 1 time by 1 test: case QMetaType::QObjectStar:
Executed by:
  • tst_QMetaType
1
804 case
executed 1 time by 1 test: case QMetaType::QModelIndex:
Executed by:
  • tst_QMetaType
QMetaType::QModelIndex:
executed 1 time by 1 test: case QMetaType::QModelIndex:
Executed by:
  • tst_QMetaType
1
805 case
executed 1 time by 1 test: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QMetaType
QMetaType::QPersistentModelIndex:
executed 1 time by 1 test: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QMetaType
1
806 case
executed 1 time by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
QMetaType::QJsonValue:
executed 1 time by 1 test: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
1
807 case
executed 1 time by 1 test: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
QMetaType::QJsonObject:
executed 1 time by 1 test: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
1
808 case
executed 1 time by 1 test: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
QMetaType::QJsonArray:
executed 1 time by 1 test: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
1
809 case
executed 1 time by 1 test: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
QMetaType::QJsonDocument:
executed 1 time by 1 test: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
1
810 return
executed 8 times by 1 test: return false;
Executed by:
  • tst_QMetaType
false;
executed 8 times by 1 test: return false;
Executed by:
  • tst_QMetaType
8
811 case
executed 9 times by 2 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Long:
executed 9 times by 2 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaType
  • tst_QVariant
{
9
812 qlonglong l;-
813 stream >> l;-
814 *static_cast<long *>(data) = long(l);-
815 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
}
9
816 case
executed 205 times by 7 tests: case QMetaType::Int:
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QVariant
QMetaType::Int:
executed 205 times by 7 tests: case QMetaType::Int:
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QVariant
205
817 stream >> *static_cast<int *>(data);-
818 break;
executed 205 times by 7 tests: break;
Executed by:
  • tst_QAbstractNetworkCache
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QVariant
205
819 case
executed 9 times by 2 tests: case QMetaType::Short:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Short:
executed 9 times by 2 tests: case QMetaType::Short:
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
820 stream >> *static_cast<short *>(data);-
821 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
822 case
executed 9 times by 2 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Char:
executed 9 times by 2 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
823-
824 stream >> *static_cast<signed char *>(data);-
825 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
826 case
executed 9 times by 2 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::ULong:
executed 9 times by 2 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
{
9
827 qulonglong ul;-
828 stream >> ul;-
829 *static_cast<ulong *>(data) = ulong(ul);-
830 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
}
9
831 case
executed 8 times by 2 tests: case QMetaType::UInt:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::UInt:
executed 8 times by 2 tests: case QMetaType::UInt:
Executed by:
  • tst_QMetaType
  • tst_QVariant
8
832 stream >> *static_cast<uint *>(data);-
833 break;
executed 8 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
8
834 case
executed 7 times by 2 tests: case QMetaType::LongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::LongLong:
executed 7 times by 2 tests: case QMetaType::LongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
835 stream >> *static_cast<qlonglong *>(data);-
836 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
837 case
executed 7 times by 2 tests: case QMetaType::ULongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::ULongLong:
executed 7 times by 2 tests: case QMetaType::ULongLong:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
838 stream >> *static_cast<qulonglong *>(data);-
839 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
840 case
executed 9 times by 2 tests: case QMetaType::UShort:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::UShort:
executed 9 times by 2 tests: case QMetaType::UShort:
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
841 stream >> *static_cast<ushort *>(data);-
842 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
843 case
executed 3 times by 1 test: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
QMetaType::SChar:
executed 3 times by 1 test: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
3
844 stream >> *static_cast<signed char *>(data);-
845 break;
executed 3 times by 1 test: break;
Executed by:
  • tst_QMetaType
3
846 case
executed 9 times by 2 tests: case QMetaType::UChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::UChar:
executed 9 times by 2 tests: case QMetaType::UChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
847 stream >> *static_cast<uchar *>(data);-
848 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
849 case
executed 79 times by 3 tests: case QMetaType::Bool:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::Bool:
executed 79 times by 3 tests: case QMetaType::Bool:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
{
79
850 qint8 b;-
851 stream >> b;-
852 *static_cast<bool *>(data) = b;-
853 break;
executed 79 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
}
79
854 case
executed 11 times by 2 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Float:
executed 11 times by 2 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaType
  • tst_QVariant
11
855 stream >> *static_cast<float *>(data);-
856 break;
executed 11 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
11
857 case
executed 10 times by 2 tests: case QMetaType::Double:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::Double:
executed 10 times by 2 tests: case QMetaType::Double:
Executed by:
  • tst_QMetaType
  • tst_QVariant
10
858 stream >> *static_cast<double *>(data);-
859 break;
executed 10 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
10
860 case
executed 9 times by 2 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QChar:
executed 9 times by 2 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
861 stream >> *static_cast< ::QChar*>(data);-
862 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
863-
864 case
executed 80 times by 3 tests: case QMetaType::QVariantMap:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QVariantMap:
executed 80 times by 3 tests: case QMetaType::QVariantMap:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
80
865 stream >> *static_cast< ::QVariantMap*>(data);-
866 break;
executed 80 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
80
867 case
executed 7 times by 2 tests: case QMetaType::QVariantHash:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QVariantHash:
executed 7 times by 2 tests: case QMetaType::QVariantHash:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
868 stream >> *static_cast< ::QVariantHash*>(data);-
869 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
870 case
executed 50 times by 3 tests: case QMetaType::QVariantList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QVariantList:
executed 50 times by 3 tests: case QMetaType::QVariantList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
50
871 stream >> *static_cast< ::QVariantList*>(data);-
872 break;
executed 50 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
50
873 case
executed 7 times by 2 tests: case QMetaType::QVariant:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QVariant:
executed 7 times by 2 tests: case QMetaType::QVariant:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
874 stream >> *static_cast< ::QVariant*>(data);-
875 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
876 case
executed 3 times by 1 test: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
QMetaType::QByteArrayList:
executed 3 times by 1 test: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
3
877 stream >> *static_cast< ::QByteArrayList*>(data);-
878 break;
executed 3 times by 1 test: break;
Executed by:
  • tst_QMetaType
3
879-
880 case
executed 17 times by 3 tests: case QMetaType::QByteArray:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QByteArray:
executed 17 times by 3 tests: case QMetaType::QByteArray:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
17
881 stream >> *static_cast< ::QByteArray*>(data);-
882 break;
executed 17 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
17
883 case
executed 12725 times by 11 tests: case QMetaType::QString:
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QListWidget
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
QMetaType::QString:
executed 12725 times by 11 tests: case QMetaType::QString:
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QListWidget
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
12725
884 stream >> *static_cast< ::QString*>(data);-
885 break;
executed 12725 times by 11 tests: break;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QListWidget
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
12725
886 case
executed 25 times by 3 tests: case QMetaType::QStringList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QStringList:
executed 25 times by 3 tests: case QMetaType::QStringList:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
25
887 stream >> *static_cast< ::QStringList*>(data);-
888 break;
executed 25 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
25
889-
890 case
executed 9 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBitArray:
executed 9 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
891 stream >> *static_cast< ::QBitArray*>(data);-
892 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
893-
894 case
executed 93 times by 3 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QDate:
executed 93 times by 3 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
93
895 stream >> *static_cast< ::QDate*>(data);-
896 break;
executed 93 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
93
897 case
executed 89 times by 3 tests: case QMetaType::QTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QTime:
executed 89 times by 3 tests: case QMetaType::QTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
89
898 stream >> *static_cast< ::QTime*>(data);-
899 break;
executed 89 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
89
900 case
executed 17 times by 3 tests: case QMetaType::QDateTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QDateTime:
executed 17 times by 3 tests: case QMetaType::QDateTime:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
17
901 stream >> *static_cast< ::QDateTime*>(data);-
902 break;
executed 17 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
17
903-
904 case
executed 7 times by 2 tests: case QMetaType::QUrl:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QUrl:
executed 7 times by 2 tests: case QMetaType::QUrl:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
905 stream >> *static_cast< ::QUrl*>(data);-
906 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
907-
908 case
executed 7 times by 2 tests: case QMetaType::QLocale:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLocale:
executed 7 times by 2 tests: case QMetaType::QLocale:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
909 stream >> *static_cast< ::QLocale*>(data);-
910 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
911-
912 case
executed 2554 times by 4 tests: case QMetaType::QRect:
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QRect:
executed 2554 times by 4 tests: case QMetaType::QRect:
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
2554
913 stream >> *static_cast< ::QRect*>(data);-
914 break;
executed 2554 times by 4 tests: break;
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
2554
915 case
executed 7 times by 2 tests: case QMetaType::QRectF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRectF:
executed 7 times by 2 tests: case QMetaType::QRectF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
916 stream >> *static_cast< ::QRectF*>(data);-
917 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
918 case
executed 62 times by 4 tests: case QMetaType::QSize:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
QMetaType::QSize:
executed 62 times by 4 tests: case QMetaType::QSize:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
62
919 stream >> *static_cast< ::QSize*>(data);-
920 break;
executed 62 times by 4 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
62
921 case
executed 7 times by 2 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QSizeF:
executed 7 times by 2 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
922 stream >> *static_cast< ::QSizeF*>(data);-
923 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
924 case
executed 7 times by 2 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLine:
executed 7 times by 2 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
925 stream >> *static_cast< ::QLine*>(data);-
926 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
927 case
executed 7 times by 2 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLineF:
executed 7 times by 2 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
928 stream >> *static_cast< ::QLineF*>(data);-
929 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
930 case
executed 59 times by 3 tests: case QMetaType::QPoint:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
QMetaType::QPoint:
executed 59 times by 3 tests: case QMetaType::QPoint:
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
59
931 stream >> *static_cast< ::QPoint*>(data);-
932 break;
executed 59 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
59
933 case
executed 7 times by 2 tests: case QMetaType::QPointF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPointF:
executed 7 times by 2 tests: case QMetaType::QPointF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
934 stream >> *static_cast< ::QPointF*>(data);-
935 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
936-
937-
938 case
executed 51 times by 3 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegExp:
executed 51 times by 3 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
51
939 stream >> *static_cast< ::QRegExp*>(data);-
940 break;
executed 51 times by 3 tests: break;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
51
941-
942-
943-
944 case
executed 7 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegularExpression:
executed 7 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
945 stream >> *static_cast< ::QRegularExpression*>(data);-
946 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
947-
948 case
executed 3 times by 1 test: case QMetaType::QEasingCurve:
Executed by:
  • tst_QMetaType
QMetaType::QEasingCurve:
executed 3 times by 1 test: case QMetaType::QEasingCurve:
Executed by:
  • tst_QMetaType
3
949 stream >> *static_cast< ::QEasingCurve*>(data);-
950 break;
executed 3 times by 1 test: break;
Executed by:
  • tst_QMetaType
3
951-
952 case
executed 2 times by 2 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
QMetaType::QFont:
executed 2 times by 2 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
2
953 case
executed 2 times by 1 test: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiVariant
QMetaType::QPixmap:
executed 2 times by 1 test: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiVariant
2
954 case
executed 3 times by 2 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
QMetaType::QBrush:
executed 3 times by 2 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiVariant
  • tst_QStandardItem
3
955 case
executed 101 times by 2 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
QMetaType::QColor:
executed 101 times by 2 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
101
956 case
executed 1 time by 1 test: case QMetaType::QPalette:
Executed by:
  • tst_QGuiVariant
QMetaType::QPalette:
executed 1 time by 1 test: case QMetaType::QPalette:
Executed by:
  • tst_QGuiVariant
1
957 case
executed 1 time by 1 test: case QMetaType::QImage:
Executed by:
  • tst_QGuiVariant
QMetaType::QImage:
executed 1 time by 1 test: case QMetaType::QImage:
Executed by:
  • tst_QGuiVariant
1
958 case
executed 2 times by 1 test: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiVariant
QMetaType::QPolygon:
executed 2 times by 1 test: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiVariant
2
959 case
executed 3 times by 1 test: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
QMetaType::QPolygonF:
executed 3 times by 1 test: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
3
960 case
executed 2 times by 1 test: case QMetaType::QRegion:
Executed by:
  • tst_QGuiVariant
QMetaType::QRegion:
executed 2 times by 1 test: case QMetaType::QRegion:
Executed by:
  • tst_QGuiVariant
2
961 case
executed 2 times by 1 test: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiVariant
QMetaType::QBitmap:
executed 2 times by 1 test: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiVariant
2
962 case
executed 1 time by 1 test: case QMetaType::QCursor:
Executed by:
  • tst_QGuiVariant
QMetaType::QCursor:
executed 1 time by 1 test: case QMetaType::QCursor:
Executed by:
  • tst_QGuiVariant
1
963 case
executed 3 times by 2 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
QMetaType::QKeySequence:
executed 3 times by 2 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
3
964 case
executed 1 time by 1 test: case QMetaType::QPen:
Executed by:
  • tst_QGuiVariant
QMetaType::QPen:
executed 1 time by 1 test: case QMetaType::QPen:
Executed by:
  • tst_QGuiVariant
1
965 case
never executed: case QMetaType::QTextLength:
QMetaType::QTextLength:
never executed: case QMetaType::QTextLength:
0
966 case
never executed: case QMetaType::QTextFormat:
QMetaType::QTextFormat:
never executed: case QMetaType::QTextFormat:
0
967 case
never executed: case QMetaType::QMatrix:
QMetaType::QMatrix:
never executed: case QMetaType::QMatrix:
0
968 case
never executed: case QMetaType::QTransform:
QMetaType::QTransform:
never executed: case QMetaType::QTransform:
0
969 case
never executed: case QMetaType::QMatrix4x4:
QMetaType::QMatrix4x4:
never executed: case QMetaType::QMatrix4x4:
0
970 case
never executed: case QMetaType::QVector2D:
QMetaType::QVector2D:
never executed: case QMetaType::QVector2D:
0
971 case
never executed: case QMetaType::QVector3D:
QMetaType::QVector3D:
never executed: case QMetaType::QVector3D:
0
972 case
never executed: case QMetaType::QVector4D:
QMetaType::QVector4D:
never executed: case QMetaType::QVector4D:
0
973 case
never executed: case QMetaType::QQuaternion:
QMetaType::QQuaternion:
never executed: case QMetaType::QQuaternion:
0
974 case
never executed: case QMetaType::QIcon:
QMetaType::QIcon:
never executed: case QMetaType::QIcon:
0
975 if (!qMetaTypeGuiHelper
!qMetaTypeGuiHelperDescription
TRUEnever evaluated
FALSEevaluated 124 times by 3 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
)
0-124
976 return
never executed: return false;
false;
never executed: return false;
0
977 qMetaTypeGuiHelper[type - FirstGuiType].loadOp(stream, data);-
978 break;
executed 124 times by 3 tests: break;
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
124
979 case
executed 1 time by 1 test: case QMetaType::QSizePolicy:
Executed by:
  • tst_QWidgetsVariant
QMetaType::QSizePolicy:
executed 1 time by 1 test: case QMetaType::QSizePolicy:
Executed by:
  • tst_QWidgetsVariant
1
980 if (!qMetaTypeWidgetsHelper
!qMetaTypeWidgetsHelperDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetsVariant
)
0-1
981 return
never executed: return false;
false;
never executed: return false;
0
982 qMetaTypeWidgetsHelper[type - FirstWidgetsType].loadOp(stream, data);-
983 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QWidgetsVariant
1
984 case
executed 5 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QUuid:
executed 5 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
985 stream >> *static_cast< ::QUuid*>(data);-
986 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
987 default
executed 8 times by 3 tests: default:
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
:
executed 8 times by 3 tests: default:
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
{
8
988 const QVector<QCustomTypeInfo> * const ct = customTypes();-
989 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 8 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
0-8
990 return
never executed: return false;
false;
never executed: return false;
0
991-
992 LoadOperator loadOp = 0;-
993 {-
994 QReadLocker locker(customTypesLock());-
995 loadOp = ct->at(type - User).loadOp;-
996 }-
997-
998 if (!loadOp
!loadOpDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 6 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
2-6
999 return
executed 2 times by 2 tests: return false;
Executed by:
  • tst_QMetaType
  • tst_QVariant
false;
executed 2 times by 2 tests: return false;
Executed by:
  • tst_QMetaType
  • tst_QVariant
2
1000 loadOp(stream, data);-
1001 break;
executed 6 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
}
6
1002 }-
1003 return
executed 16436 times by 16 tests: return true;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
true;
executed 16436 times by 16 tests: return true;
Executed by:
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDataStream
  • tst_QGuiVariant
  • tst_QListWidget
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QNetworkReply
  • tst_QObject
  • tst_QSettings
  • tst_QStandardItem
  • tst_QStandardItemModel
  • tst_QTableWidget
  • tst_QTreeWidget
  • tst_QVariant
  • tst_QWidgetsVariant
16436
1004}-
1005void *QMetaType::create(int type, const void *copy)-
1006{-
1007 QMetaType info(type);-
1008 if (int size = info.sizeOf()
int size = info.sizeOf()Description
TRUEevaluated 570705 times by 393 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • ...
FALSEevaluated 123 times by 1 test
Evaluated by:
  • tst_QMetaType
)
123-570705
1009 return
executed 570705 times by 393 tests: return info.construct(operator new(size), copy);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • ...
info.construct(operator new(size), copy);
executed 570705 times by 393 tests: return info.construct(operator new(size), copy);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • ...
570705
1010 return
executed 123 times by 1 test: return 0;
Executed by:
  • tst_QMetaType
0;
executed 123 times by 1 test: return 0;
Executed by:
  • tst_QMetaType
123
1011}-
1012-
1013-
1014-
1015-
1016-
1017-
1018void QMetaType::destroy(int type, void *data)-
1019{-
1020 QMetaType info(type);-
1021 info.destruct(data);-
1022 operator delete(data);-
1023}
executed 568477 times by 404 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • ...
568477
1024-
1025namespace {-
1026class TypeConstructor {-
1027 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1028 struct ConstructorImpl {-
1029 static void *Construct(const int , void *where, const void *copy) { return
executed 282 times by 131 tests: return QtMetaTypePrivate::QMetaTypeFunctionHelper<T>::Construct(where, copy);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
QtMetaTypePrivate::QMetaTypeFunctionHelper<T>::Construct(where, copy);
executed 282 times by 131 tests: return QtMetaTypePrivate::QMetaTypeFunctionHelper<T>::Construct(where, copy);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
}
282
1030 };-
1031 template<typename T>-
1032 struct ConstructorImpl<T, false> {-
1033 static void *Construct(const int type, void *where, const void *copy)-
1034 {-
1035 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
)
0-42
1036 return
executed 42 times by 1 test: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].constructor(where, copy) : 0;
Executed by:
  • tst_QGuiMetaType
__builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].constructor(where, copy) : 0;
executed 42 times by 1 test: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].constructor(where, copy) : 0;
Executed by:
  • tst_QGuiMetaType
42
1037-
1038 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1039 return
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].constructor(where, copy) : 0;
__builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].constructor(where, copy) : 0;
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].constructor(where, copy) : 0;
0
1040-
1041-
1042-
1043 return
never executed: return 0;
0;
never executed: return 0;
0
1044 }-
1045 };-
1046public:-
1047 TypeConstructor(const int type, void *where)-
1048 : m_type(type)-
1049 , m_where(where)-
1050 {}
executed 6328 times by 132 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
6328
1051-
1052 template<typename T>-
1053 void *delegate(const T *copy) { return
executed 324 times by 132 tests: return ConstructorImpl<T>::Construct(m_type, m_where, copy);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
ConstructorImpl<T>::Construct(m_type, m_where, copy);
executed 324 times by 132 tests: return ConstructorImpl<T>::Construct(m_type, m_where, copy);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
}
324
1054 void *delegate(const void *) { return
never executed: return m_where;
m_where;
never executed: return m_where;
}
0
1055 void *delegate(const QMetaTypeSwitcher::UnknownType*) { return
never executed: return m_where;
m_where;
never executed: return m_where;
}
0
1056 void *delegate(const QMetaTypeSwitcher::NotBuiltinType *copy) { return
executed 6004 times by 2 tests: return customTypeConstructor(m_type, m_where, copy);
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
customTypeConstructor(m_type, m_where, copy);
executed 6004 times by 2 tests: return customTypeConstructor(m_type, m_where, copy);
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
}
6004
1057-
1058private:-
1059 static void *customTypeConstructor(const int type, void *where, const void *copy)-
1060 {-
1061 QMetaType::Constructor ctor;-
1062 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1063 {-
1064 QReadLocker locker(customTypesLock());-
1065 if (__builtin_expect(!!(type < QMetaType::User || !ct || ct->count() <= type - QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEnever evaluated
FALSEevaluated 6004 times by 2 tests
Evaluated by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
)
0-6004
1066 return
never executed: return 0;
0;
never executed: return 0;
0
1067 ctor = ct->at(type - QMetaType::User).constructor;-
1068 }-
1069 ((!(ctor)) ? qt_assert_x("void *QMetaType::construct(int type, void *where, const void *copy)", "The type was not properly registered",__FILE__,1768) : qt_noop());-
1070 return
executed 6004 times by 2 tests: return ctor(where, copy);
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
ctor(where, copy);
executed 6004 times by 2 tests: return ctor(where, copy);
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
6004
1071 }-
1072-
1073 const int m_type;-
1074 void *m_where;-
1075};-
1076}-
1077void *QMetaType::construct(int type, void *where, const void *copy)-
1078{-
1079 if (!where
!whereDescription
TRUEevaluated 100 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 6328 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
100-6328
1080 return
executed 100 times by 1 test: return 0;
Executed by:
  • tst_QMetaType
0;
executed 100 times by 1 test: return 0;
Executed by:
  • tst_QMetaType
100
1081 TypeConstructor constructor(type, where);-
1082 return
executed 6328 times by 132 tests: return QMetaTypeSwitcher::switcher<void*>(constructor, type, copy);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
QMetaTypeSwitcher::switcher<void*>(constructor, type, copy);
executed 6328 times by 132 tests: return QMetaTypeSwitcher::switcher<void*>(constructor, type, copy);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
6328
1083}-
1084-
1085-
1086namespace {-
1087class TypeDestructor {-
1088 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1089 struct DestructorImpl {-
1090 static void Destruct(const int , void *where) { QtMetaTypePrivate::QMetaTypeFunctionHelper<T>::Destruct(where); }
executed 282 times by 131 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
282
1091 };-
1092 template<typename T>-
1093 struct DestructorImpl<T, false> {-
1094 static void Destruct(const int type, void *where)-
1095 {-
1096 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
) {
0-42
1097 if (__builtin_expect(!!(qMetaTypeGuiHelper), true)
__builtin_expe...Helper), true)Description
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
)
0-42
1098 qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].destructor(where);
executed 42 times by 1 test: qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].destructor(where);
Executed by:
  • tst_QGuiMetaType
42
1099 return;
executed 42 times by 1 test: return;
Executed by:
  • tst_QGuiMetaType
42
1100 }-
1101 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1102 if (__builtin_expect(!!(qMetaTypeWidgetsHelper), true)
__builtin_expe...Helper), true)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1103 qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].destructor(where);
never executed: qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].destructor(where);
0
1104 return;
never executed: return;
0
1105 }-
1106-
1107-
1108 }
never executed: end of block
0
1109 };-
1110public:-
1111 TypeDestructor(const int type)-
1112 : m_type(type)-
1113 {}
executed 152969 times by 225 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
152969
1114-
1115 template<typename T>-
1116 void delegate(const T *where) { DestructorImpl<T>::Destruct(m_type, const_cast<T*>(where)); }
executed 324 times by 132 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • 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_QDBusAbstractInterface
  • tst_QDBusInterface
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
324
1117 void delegate(const void *) {}-
1118 void delegate(const QMetaTypeSwitcher::UnknownType*) {}-
1119 void delegate(const QMetaTypeSwitcher::NotBuiltinType *where)-
1120 { customTypeDestructor(m_type, const_cast<void *>(static_cast<const void *>(where))); }
executed 152645 times by 144 tests: end of block
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • ...
152645
1121-
1122private:-
1123 static void customTypeDestructor(const int type, void *where)-
1124 {-
1125 QMetaType::Destructor dtor;-
1126 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1127 {-
1128 QReadLocker locker(customTypesLock());-
1129 if (__builtin_expect(!!(type < QMetaType::User || !ct || ct->count() <= type - QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
FALSEevaluated 152644 times by 144 tests
Evaluated by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • ...
)
1-152644
1130 return;
executed 1 time by 1 test: return;
Executed by:
  • tst_qdbusinterface - unknown status
1
1131 dtor = ct->at(type - QMetaType::User).destructor;-
1132 }-
1133 ((!(dtor)) ? qt_assert_x("void QMetaType::destruct(int type, void *where)", "The type was not properly registered",__FILE__,1859) : qt_noop());-
1134 dtor(where);-
1135 }
executed 152644 times by 144 tests: end of block
Executed by:
  • tst_Gestures
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAction
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • ...
152644
1136-
1137 const int m_type;-
1138};-
1139}-
1140void QMetaType::destruct(int type, void *where)-
1141{-
1142 if (!where
!whereDescription
TRUEevaluated 51 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 152969 times by 225 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_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
)
51-152969
1143 return;
executed 51 times by 1 test: return;
Executed by:
  • tst_QMetaType
51
1144 TypeDestructor destructor(type);-
1145 QMetaTypeSwitcher::switcher<void>(destructor, type, where);-
1146}
executed 152969 times by 225 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
152969
1147-
1148-
1149namespace {-
1150class SizeOf {-
1151 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1152 struct SizeOfImpl {-
1153 static int Size(const int) { return
executed 99 times by 1 test: return QTypeInfo<T>::sizeOf;
Executed by:
  • tst_QMetaType
QTypeInfo<T>::sizeOf;
executed 99 times by 1 test: return QTypeInfo<T>::sizeOf;
Executed by:
  • tst_QMetaType
}
99
1154 };-
1155 template<typename T>-
1156 struct SizeOfImpl<T, false> {-
1157 static int Size(const int type)-
1158 {-
1159 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 63 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
)
0-63
1160 return
executed 63 times by 1 test: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].size : 0;
Executed by:
  • tst_QGuiMetaType
__builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].size : 0;
executed 63 times by 1 test: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].size : 0;
Executed by:
  • tst_QGuiMetaType
63
1161-
1162 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1163 return
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].size : 0;
__builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].size : 0;
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].size : 0;
0
1164-
1165-
1166-
1167 return
never executed: return 0;
0;
never executed: return 0;
0
1168 }-
1169 };-
1170-
1171public:-
1172 SizeOf(int type)-
1173 : m_type(type)-
1174 {}
executed 556 times by 23 tests: end of block
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QGuiMetaType
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
556
1175-
1176 template<typename T>-
1177 int delegate(const T*) { return
executed 162 times by 2 tests: return SizeOfImpl<T>::Size(m_type);
Executed by:
  • tst_QGuiMetaType
  • tst_QMetaType
SizeOfImpl<T>::Size(m_type);
executed 162 times by 2 tests: return SizeOfImpl<T>::Size(m_type);
Executed by:
  • tst_QGuiMetaType
  • tst_QMetaType
}
162
1178 int delegate(const QMetaTypeSwitcher::UnknownType*) { return
executed 3 times by 1 test: return 0;
Executed by:
  • tst_QMetaType
0;
executed 3 times by 1 test: return 0;
Executed by:
  • tst_QMetaType
}
3
1179 int delegate(const QMetaTypeSwitcher::NotBuiltinType*) { return
executed 391 times by 22 tests: return customTypeSizeOf(m_type);
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
customTypeSizeOf(m_type);
executed 391 times by 22 tests: return customTypeSizeOf(m_type);
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
}
391
1180private:-
1181 static int customTypeSizeOf(const int type)-
1182 {-
1183 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1184 QReadLocker locker(customTypesLock());-
1185 if (__builtin_expect(!!(type < QMetaType::User || !ct || ct->count() <= type - QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 390 times by 22 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
)
1-390
1186 return
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QMetaType
0;
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QMetaType
1
1187 return
executed 390 times by 22 tests: return ct->at(type - QMetaType::User).size;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
ct->at(type - QMetaType::User).size;
executed 390 times by 22 tests: return ct->at(type - QMetaType::User).size;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
390
1188 }-
1189-
1190 const int m_type;-
1191};-
1192}-
1193int QMetaType::sizeOf(int type)-
1194{-
1195 SizeOf sizeOf(type);-
1196 return
executed 556 times by 23 tests: return QMetaTypeSwitcher::switcher<int>(sizeOf, type, 0);
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QGuiMetaType
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
QMetaTypeSwitcher::switcher<int>(sizeOf, type, 0);
executed 556 times by 23 tests: return QMetaTypeSwitcher::switcher<int>(sizeOf, type, 0);
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QFtp
  • tst_QGuiMetaType
  • tst_QIdentityProxyModel
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_selftests - unknown status
556
1197}-
1198-
1199namespace {-
1200class Flags-
1201{-
1202 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1203 struct FlagsImpl-
1204 {-
1205 static quint32 Flags(const int )-
1206 {-
1207 return
executed 32936 times by 54 tests: return QtPrivate::QMetaTypeTypeFlags<T>::Flags;
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsObject
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiVariant
  • tst_QItemDelegate
  • ...
QtPrivate::QMetaTypeTypeFlags<T>::Flags;
executed 32936 times by 54 tests: return QtPrivate::QMetaTypeTypeFlags<T>::Flags;
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsObject
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiVariant
  • tst_QItemDelegate
  • ...
32936
1208 }-
1209 };-
1210 template<typename T>-
1211 struct FlagsImpl<T, false>-
1212 {-
1213 static quint32 Flags(const int type)-
1214 {-
1215 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 242426 times by 62 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • tst_QLabel
  • ...
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QWidgetsVariant
)
8-242426
1216 return
executed 242426 times by 62 tests: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].flags : 0;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • tst_QLabel
  • ...
__builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].flags : 0;
executed 242426 times by 62 tests: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].flags : 0;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • tst_QLabel
  • ...
242426
1217-
1218 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QWidgetsVariant
FALSEnever evaluated
)
0-8
1219 return
executed 8 times by 2 tests: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].flags : 0;
Executed by:
  • tst_QMetaType
  • tst_QWidgetsVariant
__builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].flags : 0;
executed 8 times by 2 tests: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].flags : 0;
Executed by:
  • tst_QMetaType
  • tst_QWidgetsVariant
8
1220-
1221-
1222-
1223 return
never executed: return 0;
0;
never executed: return 0;
0
1224 }-
1225 };-
1226public:-
1227 Flags(const int type)-
1228 : m_type(type)-
1229 {}
executed 312026 times by 121 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • ...
312026
1230 template<typename T>-
1231 quint32 delegate(const T*) { return
executed 275370 times by 95 tests: return FlagsImpl<T>::Flags(m_type);
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
FlagsImpl<T>::Flags(m_type);
executed 275370 times by 95 tests: return FlagsImpl<T>::Flags(m_type);
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
}
275370
1232 quint32 delegate(const void*) { return
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QMetaType
0;
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QMetaType
}
1
1233 quint32 delegate(const QMetaTypeSwitcher::UnknownType*) { return
executed 15 times by 4 tests: return 0;
Executed by:
  • tst_QMetaType
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
0;
executed 15 times by 4 tests: return 0;
Executed by:
  • tst_QMetaType
  • tst_QPropertyAnimation
  • tst_QStyleSheetStyle
  • tst_QVariant
}
15
1234 quint32 delegate(const QMetaTypeSwitcher::NotBuiltinType*) { return
executed 36640 times by 56 tests: return customTypeFlags(m_type);
Executed by:
  • tst_Gestures
  • tst_QAbstractProxyModel
  • tst_QApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • ...
customTypeFlags(m_type);
executed 36640 times by 56 tests: return customTypeFlags(m_type);
Executed by:
  • tst_Gestures
  • tst_QAbstractProxyModel
  • tst_QApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • ...
}
36640
1235private:-
1236 const int m_type;-
1237 static quint32 customTypeFlags(const int type)-
1238 {-
1239 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1240 if (__builtin_expect(!!(!ct || type < QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEnever evaluated
FALSEevaluated 36640 times by 56 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractProxyModel
  • tst_QApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • ...
)
0-36640
1241 return
never executed: return 0;
0;
never executed: return 0;
0
1242 QReadLocker locker(customTypesLock());-
1243 if (__builtin_expect(!!(ct->count() <= type - QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEevaluated 30 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 36610 times by 56 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractProxyModel
  • tst_QApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • ...
)
30-36610
1244 return
executed 30 times by 2 tests: return 0;
Executed by:
  • tst_QMetaType
  • tst_QVariant
0;
executed 30 times by 2 tests: return 0;
Executed by:
  • tst_QMetaType
  • tst_QVariant
30
1245 return
executed 36610 times by 56 tests: return ct->at(type - QMetaType::User).flags;
Executed by:
  • tst_Gestures
  • tst_QAbstractProxyModel
  • tst_QApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • ...
ct->at(type - QMetaType::User).flags;
executed 36610 times by 56 tests: return ct->at(type - QMetaType::User).flags;
Executed by:
  • tst_Gestures
  • tst_QAbstractProxyModel
  • tst_QApplication
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • ...
36610
1246 }-
1247};-
1248}-
1249QMetaType::TypeFlags QMetaType::typeFlags(int type)-
1250{-
1251 Flags flags(type);-
1252 return
executed 312026 times by 121 tests: return static_cast<QMetaType::TypeFlags>(QMetaTypeSwitcher::switcher<quint32>(flags, type, 0));
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • ...
static_cast<QMetaType::TypeFlags>(QMetaTypeSwitcher::switcher<quint32>(flags, type, 0));
executed 312026 times by 121 tests: return static_cast<QMetaType::TypeFlags>(QMetaTypeSwitcher::switcher<quint32>(flags, type, 0));
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractProxyModel
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection
  • tst_QDBusConnection_Delayed
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDBusContext
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusPendingCall
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDBusThreading
  • tst_QDataWidgetMapper
  • ...
312026
1253}-
1254-
1255-
1256namespace {-
1257class MetaObject-
1258{-
1259public:-
1260 MetaObject(const int type)-
1261 : m_type(type)-
1262 {}
executed 32 times by 3 tests: end of block
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
32
1263-
1264 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1265 struct MetaObjectImpl-
1266 {-
1267 static const QMetaObject *MetaObject(int )-
1268 { return
executed 3 times by 1 test: return QtPrivate::MetaObjectForType<T>::value();
Executed by:
  • tst_QMetaType
QtPrivate::MetaObjectForType<T>::value();
executed 3 times by 1 test: return QtPrivate::MetaObjectForType<T>::value();
Executed by:
  • tst_QMetaType
}
3
1269 };-
1270 template<typename T>-
1271 struct MetaObjectImpl<T, false>-
1272 {-
1273 static const QMetaObject *MetaObject(int type) {-
1274 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetMetaType
)
0-1
1275 return
never executed: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].metaObject : 0;
__builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].metaObject : 0;
never executed: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].metaObject : 0;
0
1276 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetMetaType
FALSEnever evaluated
)
0-1
1277 return
executed 1 time by 1 test: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].metaObject : 0;
Executed by:
  • tst_QWidgetMetaType
__builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].metaObject : 0;
executed 1 time by 1 test: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].metaObject : 0;
Executed by:
  • tst_QWidgetMetaType
1
1278 return
never executed: return 0;
0;
never executed: return 0;
0
1279 }-
1280 };-
1281-
1282 template <typename T>-
1283 const QMetaObject *delegate(const T *) { return
executed 4 times by 2 tests: return MetaObjectImpl<T>::MetaObject(m_type);
Executed by:
  • tst_QMetaType
  • tst_QWidgetMetaType
MetaObjectImpl<T>::MetaObject(m_type);
executed 4 times by 2 tests: return MetaObjectImpl<T>::MetaObject(m_type);
Executed by:
  • tst_QMetaType
  • tst_QWidgetMetaType
}
4
1284 const QMetaObject *delegate(const void*) { return
never executed: return 0;
0;
never executed: return 0;
}
0
1285 const QMetaObject *delegate(const QMetaTypeSwitcher::UnknownType*) { return
never executed: return 0;
0;
never executed: return 0;
}
0
1286 const QMetaObject *delegate(const QMetaTypeSwitcher::NotBuiltinType*) { return
executed 28 times by 3 tests: return customMetaObject(m_type);
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
customMetaObject(m_type);
executed 28 times by 3 tests: return customMetaObject(m_type);
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
}
28
1287private:-
1288 const int m_type;-
1289 static const QMetaObject *customMetaObject(const int type)-
1290 {-
1291 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1292 if (__builtin_expect(!!(!ct || type < QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEnever evaluated
FALSEevaluated 28 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
)
0-28
1293 return
never executed: return 0;
0;
never executed: return 0;
0
1294 QReadLocker locker(customTypesLock());-
1295 if (__builtin_expect(!!(ct->count() <= type - QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEnever evaluated
FALSEevaluated 28 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
)
0-28
1296 return
never executed: return 0;
0;
never executed: return 0;
0
1297 return
executed 28 times by 3 tests: return ct->at(type - QMetaType::User).metaObject;
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
ct->at(type - QMetaType::User).metaObject;
executed 28 times by 3 tests: return ct->at(type - QMetaType::User).metaObject;
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
28
1298 }-
1299};-
1300}-
1301const QMetaObject *QMetaType::metaObjectForType(int type)-
1302{-
1303-
1304 MetaObject mo(type);-
1305 return
executed 32 times by 3 tests: return QMetaTypeSwitcher::switcher<const QMetaObject*>(mo, type, 0);
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
QMetaTypeSwitcher::switcher<const QMetaObject*>(mo, type, 0);
executed 32 times by 3 tests: return QMetaTypeSwitcher::switcher<const QMetaObject*>(mo, type, 0);
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
32
1306-
1307-
1308-
1309-
1310}-
1311namespace {-
1312class TypeInfo {-
1313 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1314 struct TypeInfoImpl-
1315 {-
1316 TypeInfoImpl(const uint , QMetaTypeInterface &info)-
1317 {-
1318 QMetaTypeInterface tmp = { 0, 0, (QtMetaTypePrivate::QMetaTypeFunctionHelper<T, QtMetaTypePrivate::TypeDefinition<T>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<T, QtMetaTypePrivate::TypeDefinition<T>::IsAvailable>::Destruct), (QTypeInfo<T>::sizeOf), QtPrivate::QMetaTypeTypeFlags<T>::Flags, (QtPrivate::MetaObjectForType<T>::value()) };-
1319 info = tmp;-
1320 }
executed 765698 times by 388 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • ...
765698
1321 };-
1322-
1323 template<typename T>-
1324 struct TypeInfoImpl<T, false>-
1325 {-
1326 TypeInfoImpl(const uint type, QMetaTypeInterface &info)-
1327 {-
1328 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 9958 times by 40 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QColor
  • tst_QCssParser
  • tst_QFont
  • tst_QFontComboBox
  • tst_QFontMetrics
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsScene
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemDelegate
  • tst_QKeySequence
  • tst_QKeySequenceEdit
  • tst_QLineEdit
  • tst_QMetaType
  • ...
FALSEevaluated 34632 times by 4 tests
Evaluated by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QMetaType
  • tst_QSizePolicy
) {
9958-34632
1329 if (__builtin_expect(!!(qMetaTypeGuiHelper), true)
__builtin_expe...Helper), true)Description
TRUEevaluated 9912 times by 39 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QColor
  • tst_QCssParser
  • tst_QFont
  • tst_QFontComboBox
  • tst_QFontMetrics
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsScene
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemDelegate
  • tst_QKeySequence
  • tst_QKeySequenceEdit
  • tst_QLineEdit
  • tst_QPainter
  • ...
FALSEevaluated 46 times by 1 test
Evaluated by:
  • tst_QMetaType
)
46-9912
1330 info = qMetaTypeGuiHelper[type - QMetaType::FirstGuiType];
executed 9912 times by 39 tests: info = qMetaTypeGuiHelper[type - QMetaType::FirstGuiType];
Executed by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QColor
  • tst_QCssParser
  • tst_QFont
  • tst_QFontComboBox
  • tst_QFontMetrics
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsScene
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemDelegate
  • tst_QKeySequence
  • tst_QKeySequenceEdit
  • tst_QLineEdit
  • tst_QPainter
  • ...
9912
1331 return;
executed 9958 times by 40 tests: return;
Executed by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QColor
  • tst_QCssParser
  • tst_QFont
  • tst_QFontComboBox
  • tst_QFontMetrics
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsPolygonItem
  • tst_QGraphicsScene
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemDelegate
  • tst_QKeySequence
  • tst_QKeySequenceEdit
  • tst_QLineEdit
  • tst_QMetaType
  • ...
9958
1332 }-
1333 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEevaluated 34632 times by 4 tests
Evaluated by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QMetaType
  • tst_QSizePolicy
FALSEnever evaluated
) {
0-34632
1334 if (__builtin_expect(!!(qMetaTypeWidgetsHelper), true)
__builtin_expe...Helper), true)Description
TRUEevaluated 34630 times by 3 tests
Evaluated by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QSizePolicy
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QMetaType
)
2-34630
1335 info = qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType];
executed 34630 times by 3 tests: info = qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType];
Executed by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QSizePolicy
34630
1336 return;
executed 34632 times by 4 tests: return;
Executed by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QMetaType
  • tst_QSizePolicy
34632
1337 }-
1338 }
never executed: end of block
0
1339 };-
1340public:-
1341 QMetaTypeInterface info;-
1342 TypeInfo(const uint type)-
1343 : m_type(type)-
1344 {-
1345 QMetaTypeInterface tmp = { 0, 0, 0, 0, 0, 0, 0 };-
1346 info = tmp;-
1347 }
executed 1251444 times by 414 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1348 template<typename T>-
1349 void delegate(const T*) { TypeInfoImpl<T>(m_type, info); }
executed 810288 times by 389 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • ...
810288
1350 void delegate(const QMetaTypeSwitcher::UnknownType*) {}-
1351 void delegate(const QMetaTypeSwitcher::NotBuiltinType*) { customTypeInfo(m_type); }
executed 441138 times by 296 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
441138
1352private:-
1353 void customTypeInfo(const uint type)-
1354 {-
1355 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1356 if (__builtin_expect(!!(!ct), false)
__builtin_expe...!(!ct), false)Description
TRUEnever evaluated
FALSEevaluated 441138 times by 296 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_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
)
0-441138
1357 return;
never executed: return;
0
1358 QReadLocker locker(customTypesLock());-
1359 if (__builtin_expect(!!(uint(ct->count()) > type - QMetaType::User), true)
__builtin_expe...::User), true)Description
TRUEevaluated 441104 times by 296 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_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
FALSEevaluated 34 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QVariant
)
34-441104
1360 info = ct->at(type - QMetaType::User);
executed 441104 times by 296 tests: info = ct->at(type - QMetaType::User);
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_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
441104
1361 }
executed 441138 times by 296 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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • ...
441138
1362-
1363 const uint m_type;-
1364};-
1365}-
1366-
1367-
1368-
1369-
1370-
1371QMetaType QMetaType::typeInfo(const int type)-
1372{-
1373 TypeInfo typeInfo(type);-
1374 QMetaTypeSwitcher::switcher<void>(typeInfo, type, 0);-
1375 return
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx)
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1376 , static_cast<const QMetaTypeInterface *>(0)
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1377 , 0
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1378 , 0
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1379 , typeInfo.info.saveOp
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1380 , typeInfo.info.loadOp
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1381 , typeInfo.info.constructor
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1382 , typeInfo.info.destructor
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1383 , typeInfo.info.size
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1384 , typeInfo.info.flags
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1385 , type
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1386 , typeInfo.info.metaObject)
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1387 : QMetaType(UnknownType);
executed 1251444 times by 414 tests: return typeInfo.info.constructor ? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx) , static_cast<const QMetaTypeInterface *>(0) , 0 , 0 , typeInfo.info.saveOp , typeInfo.info.loadOp , typeInfo.info.constructor , typeInfo.info.destructor , typeInfo.info.size , typeInfo.info.flags , type , typeInfo.info.metaObject) : QMetaType(UnknownType);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1388}-
1389-
1390-
1391-
1392-
1393-
1394-
1395-
1396QMetaType::QMetaType(const int typeId)-
1397 : m_typeId(typeId)-
1398{-
1399 if (__builtin_expect(!!(typeId == UnknownType), false)
__builtin_expe...nType), false)Description
TRUEevaluated 21397 times by 56 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractInterface
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHeaderView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • ...
FALSEevaluated 1251444 times by 414 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
) {
21397-1251444
1400-
1401 m_extensionFlags = 0xffffffff;-
1402 ((!(!isValid())) ? qt_assert("!isValid()",__FILE__,2299) : qt_noop());-
1403 }
executed 21397 times by 56 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractInterface
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHeaderView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • ...
else {
21397
1404-
1405 *this = QMetaType::typeInfo(typeId);-
1406 if (m_typeId == UnknownType
m_typeId == UnknownTypeDescription
TRUEevaluated 100 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
FALSEevaluated 1251344 times by 414 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
)
100-1251344
1407 m_extensionFlags = 0xffffffff;
executed 100 times by 4 tests: m_extensionFlags = 0xffffffff;
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
100
1408 else if (m_typeId == QMetaType::Void
m_typeId == QMetaType::VoidDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 1251336 times by 414 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
)
8-1251336
1409 m_extensionFlags = CreateEx | DestroyEx | ConstructEx | DestructEx;
executed 8 times by 1 test: m_extensionFlags = CreateEx | DestroyEx | ConstructEx | DestructEx;
Executed by:
  • tst_QMetaType
8
1410 }
executed 1251444 times by 414 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1411}-
1412-
1413-
1414-
1415-
1416-
1417-
1418-
1419QMetaType::QMetaType(const QMetaType &other)-
1420 : m_creator_unused(other.m_creator_unused)-
1421 , m_deleter_unused(other.m_deleter_unused)-
1422 , m_saveOp(other.m_saveOp)-
1423 , m_loadOp(other.m_loadOp)-
1424 , m_constructor(other.m_constructor)-
1425 , m_destructor(other.m_destructor)-
1426 , m_extension(other.m_extension)-
1427 , m_size(other.m_size)-
1428 , m_typeFlags(other.m_typeFlags)-
1429 , m_extensionFlags(other.m_extensionFlags)-
1430 , m_typeId(other.m_typeId)-
1431 , m_metaObject(other.m_metaObject)-
1432{}
never executed: end of block
0
1433-
1434QMetaType &QMetaType::operator =(const QMetaType &other)-
1435{-
1436 m_creator_unused = other.m_creator_unused;-
1437 m_deleter_unused = other.m_deleter_unused;-
1438 m_saveOp = other.m_saveOp;-
1439 m_loadOp = other.m_loadOp;-
1440 m_constructor = other.m_constructor;-
1441 m_destructor = other.m_destructor;-
1442 m_size = other.m_size;-
1443 m_typeFlags = other.m_typeFlags;-
1444 m_extensionFlags = other.m_extensionFlags;-
1445 m_extension = other.m_extension;-
1446 m_typeId = other.m_typeId;-
1447 m_metaObject = other.m_metaObject;-
1448 return
executed 1251444 times by 414 tests: return *this;
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
*this;
executed 1251444 times by 414 tests: return *this;
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • 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
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • ...
1251444
1449}-
1450void QMetaType::ctor(const QMetaTypeInterface *info)-
1451{-
1452-
1453-
1454-
1455 ((!(m_typeId == QMetaType::Void)) ? qt_assert("m_typeId == QMetaType::Void",__FILE__,2361) : qt_noop());-
1456 (void)info;;-
1457 m_extensionFlags = CreateEx | DestroyEx | ConstructEx | DestructEx;-
1458}
executed 8 times by 1 test: end of block
Executed by:
  • tst_QMetaType
8
1459void QMetaType::dtor()-
1460{}-
1461void *QMetaType::createExtended(const void *copy) const-
1462{-
1463 if (m_typeId == QMetaType::UnknownType
m_typeId == QM...e::UnknownTypeDescription
TRUEnever evaluated
FALSEevaluated 3893 times by 174 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_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
)
0-3893
1464 return
never executed: return 0;
0;
never executed: return 0;
0
1465 return
executed 3893 times by 174 tests: return m_constructor(operator new(m_size), copy);
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_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
m_constructor(operator new(m_size), copy);
executed 3893 times by 174 tests: return m_constructor(operator new(m_size), copy);
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_QCssParser
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • ...
3893
1466}-
1467void QMetaType::destroyExtended(void *data) const-
1468{-
1469 m_destructor(data);-
1470 operator delete(data);-
1471}
executed 6096 times by 1 test: end of block
Executed by:
  • tst_QMetaType
6096
1472void *QMetaType::constructExtended(void *where, const void *copy) const-
1473{-
1474 (void)where;;-
1475 (void)copy;;-
1476 return
never executed: return 0;
0;
never executed: return 0;
0
1477}-
1478void QMetaType::destructExtended(void *data) const-
1479{-
1480 (void)data;;-
1481}
executed 27 times by 1 test: end of block
Executed by:
  • tst_QMetaType
27
1482uint QMetaType::sizeExtended() const-
1483{-
1484 return
executed 142 times by 4 tests: return 0;
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
0;
executed 142 times by 4 tests: return 0;
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
142
1485}-
1486QMetaType::TypeFlags QMetaType::flagsExtended() const-
1487{-
1488 return
executed 21202 times by 54 tests: return 0;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractInterface
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • tst_QListView
  • ...
0;
executed 21202 times by 54 tests: return 0;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusAbstractInterface
  • tst_QDBusPendingReply
  • tst_QDBusReply
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • tst_QListView
  • ...
21202
1489}-
1490const QMetaObject *QMetaType::metaObjectExtended() const-
1491{-
1492 return
never executed: return 0;
0;
never executed: return 0;
0
1493}-
1494-
1495-
1496namespace QtPrivate-
1497{-
1498const QMetaObject *metaObjectForQWidget()-
1499{-
1500 if (!qMetaTypeWidgetsHelper
!qMetaTypeWidgetsHelperDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1501 return
never executed: return 0;
0;
never executed: return 0;
0
1502 return
never executed: return qMetaObjectWidgetsHelper;
qMetaObjectWidgetsHelper;
never executed: return qMetaObjectWidgetsHelper;
0
1503}-
1504}-
1505-
1506namespace QtMetaTypePrivate {-
1507const bool VectorBoolElements::true_element = true;-
1508const bool VectorBoolElements::false_element = false;-
1509}-
1510-
1511-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9