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 11942 times by 316 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
11942
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 506 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
  • ...
506
55-
56 bool contains(Key k) const-
57 {-
58 const QReadLocker locker(&lock);-
59 return
executed 5774 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 5774 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
  • ...
5774
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 4772 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-4772
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 4772 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 4772 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
  • ...
4772
70 }-
71-
72 const T *function(Key k) const-
73 {-
74 const QReadLocker locker(&lock);-
75 return
executed 2257 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 2257 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
  • ...
2257
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 4831 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
  • ...
4831
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 495 times by 191 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 495 times by 191 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 495 times by 191 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 1227188 times by 345 tests: return &holder.value;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
&holder.value;
executed 1227188 times by 345 tests: return &holder.value;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
} } } static QGlobalStatic<QVector<QCustomTypeInfo>, Q_QGS_customTypes::innerFunction, Q_QGS_customTypes::guard> customTypes;
0-1227188
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 495 times by 191 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 495 times by 191 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 495 times by 191 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 1201854 times by 345 tests: return &holder.value;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
&holder.value;
executed 1201854 times by 345 tests: return &holder.value;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
} } } static QGlobalStatic<QReadWriteLock, Q_QGS_customTypesLock::innerFunction, Q_QGS_customTypesLock::guard> customTypesLock;
0-1201854
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 460 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 460 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 460 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 17247 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 17247 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-17247
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 44 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 44 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 44 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 381 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 381 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-381
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 4769 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-4769
113 QMessageLogger(__FILE__, 642, __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 4769 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 4769 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
  • ...
4769
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 4831 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-4831
128 return;
never executed: return;
0
129 customTypesConversionRegistry()->remove(from, to);-
130}
executed 4831 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
  • ...
4831
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__, 664, __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__, 690, __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
fDescription
TRUEevaluated 184 times by 3 tests
Evaluated by:
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 1688 times by 24 tests
Evaluated 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_QMetaType
  • tst_QNetworkAccessManager
  • tst_QProcess
  • tst_QVariant
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
&& f->convert(f, from, to)
f->convert(f, from, to)Description
TRUEevaluated 156 times by 3 tests
Evaluated by:
  • tst_QMetaProperty
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 28 times by 1 test
Evaluated by:
  • tst_QMetaType
;
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
28-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 346 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-346
205 return
executed 346 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 346 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
346
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 5774 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 5774 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
  • ...
5774
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 switch (QMetaType::Type(type)) {-
264 case
executed 323 times by 6 tests: case QMetaType::Void:
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
QMetaType::Void:
executed 323 times by 6 tests: case QMetaType::Void:
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
return
executed 323 times by 6 tests: return "void";
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
"void";
executed 323 times by 6 tests: return "void";
Executed by:
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaObject
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 2426 times by 170 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 2426 times by 170 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
  • ...
return
executed 2426 times by 170 tests: return "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
  • ...
"bool";
executed 2426 times by 170 tests: return "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
  • ...
break;
dead code: break;
case
executed 9344 times by 210 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_QCompleter
  • ...
QMetaType::Int:
executed 9344 times by 210 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_QCompleter
  • ...
return
executed 9344 times by 210 tests: return "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_QCompleter
  • ...
"int";
executed 9344 times by 210 tests: return "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_QCompleter
  • ...
break;
dead code: break;
case
executed 754 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 754 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
  • ...
return
executed 754 times by 169 tests: return "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
  • ...
"uint";
executed 754 times by 169 tests: return "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
  • ...
break;
dead code: break;
case
executed 1375 times by 174 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 1375 times by 174 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
  • ...
return
executed 1375 times by 174 tests: return "qlonglong";
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
  • ...
"qlonglong";
executed 1375 times by 174 tests: return "qlonglong";
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
  • ...
break;
dead code: break;
case
executed 527 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 527 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
  • ...
return
executed 527 times by 169 tests: return "qulonglong";
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
  • ...
"qulonglong";
executed 527 times by 169 tests: return "qulonglong";
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
  • ...
break;
dead code: break;
case
executed 768 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 768 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
  • ...
return
executed 768 times by 172 tests: return "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
  • ...
"double";
executed 768 times by 172 tests: return "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
  • ...
break;
dead code: break;
case
executed 43 times by 4 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
QMetaType::Long:
executed 43 times by 4 tests: case QMetaType::Long:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
return
executed 43 times by 4 tests: return "long";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
"long";
executed 43 times by 4 tests: return "long";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
break;
dead code: break;
case
executed 696 times by 169 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 696 times by 169 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
  • ...
return
executed 696 times by 169 tests: return "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
  • ...
"short";
executed 696 times by 169 tests: return "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
  • ...
break;
dead code: break;
case
executed 111 times by 3 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
QMetaType::Char:
executed 111 times by 3 tests: case QMetaType::Char:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
return
executed 111 times by 3 tests: return "char";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
"char";
executed 111 times by 3 tests: return "char";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 60 times by 3 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
QMetaType::ULong:
executed 60 times by 3 tests: case QMetaType::ULong:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
return
executed 60 times by 3 tests: return "ulong";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
"ulong";
executed 60 times by 3 tests: return "ulong";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 665 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 665 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
  • ...
return
executed 665 times by 169 tests: return "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
  • ...
"ushort";
executed 665 times by 169 tests: return "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
  • ...
break;
dead code: break;
case
executed 187 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 187 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
return
executed 187 times by 7 tests: return "uchar";
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusxml2cpp - unknown status
"uchar";
executed 187 times by 7 tests: return "uchar";
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QDBusMetaObject
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusxml2cpp - unknown status
break;
dead code: break;
case
executed 81 times by 3 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
QMetaType::Float:
executed 81 times by 3 tests: case QMetaType::Float:
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
return
executed 81 times by 3 tests: return "float";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
"float";
executed 81 times by 3 tests: return "float";
Executed by:
  • tst_QMetaMethod
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 43 times by 2 tests: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::SChar:
executed 43 times by 2 tests: case QMetaType::SChar:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 43 times by 2 tests: return "signed char";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"signed char";
executed 43 times by 2 tests: return "signed char";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 545 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 545 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
  • ...
return
executed 545 times by 163 tests: return "void*";
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
  • ...
"void*";
executed 545 times by 163 tests: return "void*";
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
  • ...
break;
dead code: break;
case
executed 21 times by 3 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
QMetaType::QChar:
executed 21 times by 3 tests: case QMetaType::QChar:
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
return
executed 21 times by 3 tests: return "QChar";
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
"QChar";
executed 21 times by 3 tests: return "QChar";
Executed by:
  • tst_QMetaType
  • tst_QSignalSpy
  • tst_QVariant
break;
dead code: break;
case
executed 8245 times by 183 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_QCompleter
  • ...
QMetaType::QString:
executed 8245 times by 183 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_QCompleter
  • ...
return
executed 8245 times by 183 tests: return "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_QCompleter
  • ...
"QString";
executed 8245 times by 183 tests: return "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_QCompleter
  • ...
break;
dead code: break;
case
executed 685 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 685 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
  • ...
return
executed 685 times by 26 tests: return "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
  • ...
"QStringList";
executed 685 times by 26 tests: return "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
  • ...
break;
dead code: break;
case
executed 204 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 204 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
return
executed 204 times by 19 tests: return "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
"QByteArray";
executed 204 times by 19 tests: return "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
break;
dead code: break;
case
executed 24 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBitArray:
executed 24 times by 2 tests: case QMetaType::QBitArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 24 times by 2 tests: return "QBitArray";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QBitArray";
executed 24 times by 2 tests: return "QBitArray";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 262 times by 5 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QDate:
executed 262 times by 5 tests: case QMetaType::QDate:
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
return
executed 262 times by 5 tests: return "QDate";
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QDate";
executed 262 times by 5 tests: return "QDate";
Executed by:
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 261 times by 5 tests: case QMetaType::QTime:
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QTime:
executed 261 times by 5 tests: case QMetaType::QTime:
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
return
executed 261 times by 5 tests: return "QTime";
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QTime";
executed 261 times by 5 tests: return "QTime";
Executed by:
  • tst_QDateTimeEdit
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 273 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 273 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
return
executed 273 times by 8 tests: return "QDateTime";
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QSignalSpy
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QDateTime";
executed 273 times by 8 tests: return "QDateTime";
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QSignalSpy
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 1645 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 1645 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
return
executed 1645 times by 8 tests: return "QUrl";
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_Spdy
  • tst_languageChange
"QUrl";
executed 1645 times by 8 tests: return "QUrl";
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QMetaType
  • tst_QNetworkRequest
  • tst_QVariant
  • tst_Spdy
  • tst_languageChange
break;
dead code: break;
case
executed 18 times by 3 tests: case QMetaType::QLocale:
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
QMetaType::QLocale:
executed 18 times by 3 tests: case QMetaType::QLocale:
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
return
executed 18 times by 3 tests: return "QLocale";
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
"QLocale";
executed 18 times by 3 tests: return "QLocale";
Executed by:
  • tst_QDBusMarshall
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 4506 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 4506 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
return
executed 4506 times by 16 tests: return "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
"QRect";
executed 4506 times by 16 tests: return "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
break;
dead code: break;
case
executed 261 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 261 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
return
executed 261 times by 8 tests: return "QRectF";
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QRectF";
executed 261 times by 8 tests: return "QRectF";
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 283 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 283 times by 6 tests: case QMetaType::QSize:
Executed by:
  • tst_QAbstractItemView
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
return
executed 283 times by 6 tests: return "QSize";
Executed by:
  • tst_QAbstractItemView
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QSize";
executed 283 times by 6 tests: return "QSize";
Executed by:
  • tst_QAbstractItemView
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 256 times by 5 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QSizeF:
executed 256 times by 5 tests: case QMetaType::QSizeF:
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
return
executed 256 times by 5 tests: return "QSizeF";
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QSizeF";
executed 256 times by 5 tests: return "QSizeF";
Executed by:
  • tst_QGraphicsGridLayout
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 255 times by 4 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QLine:
executed 255 times by 4 tests: case QMetaType::QLine:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
return
executed 255 times by 4 tests: return "QLine";
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QLine";
executed 255 times by 4 tests: return "QLine";
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 256 times by 4 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
QMetaType::QLineF:
executed 256 times by 4 tests: case QMetaType::QLineF:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
return
executed 256 times by 4 tests: return "QLineF";
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QLineF";
executed 256 times by 4 tests: return "QLineF";
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 741 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 741 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
return
executed 741 times by 13 tests: return "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
"QPoint";
executed 741 times by 13 tests: return "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
break;
dead code: break;
case
executed 273 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 273 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
return
executed 273 times by 7 tests: return "QPointF";
Executed by:
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QPainter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
"QPointF";
executed 273 times by 7 tests: return "QPointF";
Executed by:
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QPainter
  • tst_QPropertyAnimation
  • tst_QVariant
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
break;
dead code: break;
case
executed 20 times by 2 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegExp:
executed 20 times by 2 tests: case QMetaType::QRegExp:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 20 times by 2 tests: return "QRegExp";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QRegExp";
executed 20 times by 2 tests: return "QRegExp";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 14 times by 3 tests: case QMetaType::QEasingCurve:
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
QMetaType::QEasingCurve:
executed 14 times by 3 tests: case QMetaType::QEasingCurve:
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
return
executed 14 times by 3 tests: return "QEasingCurve";
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
"QEasingCurve";
executed 14 times by 3 tests: return "QEasingCurve";
Executed by:
  • tst_QEasingCurve
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 14 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QUuid:
executed 14 times by 2 tests: case QMetaType::QUuid:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 14 times by 2 tests: return "QUuid";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QUuid";
executed 14 times by 2 tests: return "QUuid";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 341 times by 94 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 341 times by 94 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
  • ...
return
executed 341 times by 94 tests: return "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
  • ...
"QVariant";
executed 341 times by 94 tests: return "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
  • ...
break;
dead code: break;
case
executed 3326 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 3326 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
return
executed 3326 times by 12 tests: return "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
"QModelIndex";
executed 3326 times by 12 tests: return "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
break;
dead code: break;
case
executed 19 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegularExpression:
executed 19 times by 2 tests: case QMetaType::QRegularExpression:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 19 times by 2 tests: return "QRegularExpression";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QRegularExpression";
executed 19 times by 2 tests: return "QRegularExpression";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 13 times by 2 tests: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonValue:
executed 13 times by 2 tests: case QMetaType::QJsonValue:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 13 times by 2 tests: return "QJsonValue";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QJsonValue";
executed 13 times by 2 tests: return "QJsonValue";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 13 times by 2 tests: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonObject:
executed 13 times by 2 tests: case QMetaType::QJsonObject:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 13 times by 2 tests: return "QJsonObject";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QJsonObject";
executed 13 times by 2 tests: return "QJsonObject";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 13 times by 2 tests: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonArray:
executed 13 times by 2 tests: case QMetaType::QJsonArray:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 13 times by 2 tests: return "QJsonArray";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QJsonArray";
executed 13 times by 2 tests: return "QJsonArray";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 13 times by 2 tests: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QJsonDocument:
executed 13 times by 2 tests: case QMetaType::QJsonDocument:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 13 times by 2 tests: return "QJsonDocument";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QJsonDocument";
executed 13 times by 2 tests: return "QJsonDocument";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 13 times by 3 tests: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPersistentModelIndex:
executed 13 times by 3 tests: case QMetaType::QPersistentModelIndex:
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
return
executed 13 times by 3 tests: return "QPersistentModelIndex";
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
"QPersistentModelIndex";
executed 13 times by 3 tests: return "QPersistentModelIndex";
Executed by:
  • tst_QItemModel
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 479 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 479 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
return
executed 479 times by 20 tests: return "QObject*";
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
"QObject*";
executed 479 times by 20 tests: return "QObject*";
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
break;
dead code: break;
case
executed 683 times by 40 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_networkselftest - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_qftp - unknown status
  • ...
QMetaType::QVariantMap:
executed 683 times by 40 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_networkselftest - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_qftp - unknown status
  • ...
return
executed 683 times by 40 tests: return "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_networkselftest - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_qftp - unknown status
  • ...
"QVariantMap";
executed 683 times by 40 tests: return "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_networkselftest - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_qftp - unknown status
  • ...
break;
dead code: break;
case
executed 285 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 285 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
return
executed 285 times by 13 tests: return "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
"QVariantList";
executed 285 times by 13 tests: return "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
break;
dead code: break;
case
executed 281 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 281 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
return
executed 281 times by 7 tests: return "QVariantHash";
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_selftests - unknown status
"QVariantHash";
executed 281 times by 7 tests: return "QVariantHash";
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QMetaType
  • tst_QVariant
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml
  • tst_qdbuscpp2xml - unknown status
  • tst_selftests - unknown status
break;
dead code: break;
case
executed 12 times by 2 tests: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
  • tst_QVariant
QMetaType::QByteArrayList:
executed 12 times by 2 tests: case QMetaType::QByteArrayList:
Executed by:
  • tst_QMetaType
  • tst_QVariant
return
executed 12 times by 2 tests: return "QByteArrayList";
Executed by:
  • tst_QMetaType
  • tst_QVariant
"QByteArrayList";
executed 12 times by 2 tests: return "QByteArrayList";
Executed by:
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 16 times by 4 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QFont:
executed 16 times by 4 tests: case QMetaType::QFont:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 16 times by 4 tests: return "QFont";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QFont";
executed 16 times by 4 tests: return "QFont";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 14 times by 4 tests: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPixmap:
executed 14 times by 4 tests: case QMetaType::QPixmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 14 times by 4 tests: return "QPixmap";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QPixmap";
executed 14 times by 4 tests: return "QPixmap";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 16 times by 4 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBrush:
executed 16 times by 4 tests: case QMetaType::QBrush:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 16 times by 4 tests: return "QBrush";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QBrush";
executed 16 times by 4 tests: return "QBrush";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 16 times by 4 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QColor:
executed 16 times by 4 tests: case QMetaType::QColor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 16 times by 4 tests: return "QColor";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QColor";
executed 16 times by 4 tests: return "QColor";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 20 times by 5 tests: case QMetaType::QPalette:
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPalette:
executed 20 times by 5 tests: case QMetaType::QPalette:
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 20 times by 5 tests: return "QPalette";
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QPalette";
executed 20 times by 5 tests: return "QPalette";
Executed by:
  • tst_QGuiApplication
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 258 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 258 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
return
executed 258 times by 11 tests: return "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
"QIcon";
executed 258 times by 11 tests: return "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
break;
dead code: break;
case
executed 16 times by 5 tests: case QMetaType::QImage:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
QMetaType::QImage:
executed 16 times by 5 tests: case QMetaType::QImage:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
return
executed 16 times by 5 tests: return "QImage";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
"QImage";
executed 16 times by 5 tests: return "QImage";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QMimeData
  • tst_QVariant
break;
dead code: break;
case
executed 18 times by 4 tests: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPolygon:
executed 18 times by 4 tests: case QMetaType::QPolygon:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 18 times by 4 tests: return "QPolygon";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QPolygon";
executed 18 times by 4 tests: return "QPolygon";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 18 times by 4 tests: case QMetaType::QRegion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QRegion:
executed 18 times by 4 tests: case QMetaType::QRegion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 18 times by 4 tests: return "QRegion";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QRegion";
executed 18 times by 4 tests: return "QRegion";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 14 times by 4 tests: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QBitmap:
executed 14 times by 4 tests: case QMetaType::QBitmap:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 14 times by 4 tests: return "QBitmap";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QBitmap";
executed 14 times by 4 tests: return "QBitmap";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 16 times by 4 tests: case QMetaType::QCursor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QCursor:
executed 16 times by 4 tests: case QMetaType::QCursor:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 16 times by 4 tests: return "QCursor";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QCursor";
executed 16 times by 4 tests: return "QCursor";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 17 times by 5 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
QMetaType::QKeySequence:
executed 17 times by 5 tests: case QMetaType::QKeySequence:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
return
executed 17 times by 5 tests: return "QKeySequence";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
"QKeySequence";
executed 17 times by 5 tests: return "QKeySequence";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QKeySequence
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 16 times by 4 tests: case QMetaType::QPen:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPen:
executed 16 times by 4 tests: case QMetaType::QPen:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 16 times by 4 tests: return "QPen";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QPen";
executed 16 times by 4 tests: return "QPen";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 14 times by 4 tests: case QMetaType::QTextLength:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QTextLength:
executed 14 times by 4 tests: case QMetaType::QTextLength:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 14 times by 4 tests: return "QTextLength";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QTextLength";
executed 14 times by 4 tests: return "QTextLength";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 14 times by 4 tests: case QMetaType::QTextFormat:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QTextFormat:
executed 14 times by 4 tests: case QMetaType::QTextFormat:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 14 times by 4 tests: return "QTextFormat";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QTextFormat";
executed 14 times by 4 tests: return "QTextFormat";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 16 times by 5 tests: case QMetaType::QMatrix:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QMatrix:
executed 16 times by 5 tests: case QMetaType::QMatrix:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 16 times by 5 tests: return "QMatrix";
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QMatrix";
executed 16 times by 5 tests: return "QMatrix";
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 18 times by 5 tests: case QMetaType::QTransform:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QTransform:
executed 18 times by 5 tests: case QMetaType::QTransform:
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 18 times by 5 tests: return "QTransform";
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QTransform";
executed 18 times by 5 tests: return "QTransform";
Executed by:
  • tst_QGraphicsItem
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 15 times by 5 tests: case QMetaType::QMatrix4x4:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
QMetaType::QMatrix4x4:
executed 15 times by 5 tests: case QMetaType::QMatrix4x4:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
return
executed 15 times by 5 tests: return "QMatrix4x4";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
"QMatrix4x4";
executed 15 times by 5 tests: return "QMatrix4x4";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMatrixNxN
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 15 times by 5 tests: case QMetaType::QVector2D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
QMetaType::QVector2D:
executed 15 times by 5 tests: case QMetaType::QVector2D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
return
executed 15 times by 5 tests: return "QVector2D";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
"QVector2D";
executed 15 times by 5 tests: return "QVector2D";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
break;
dead code: break;
case
executed 15 times by 5 tests: case QMetaType::QVector3D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
QMetaType::QVector3D:
executed 15 times by 5 tests: case QMetaType::QVector3D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
return
executed 15 times by 5 tests: return "QVector3D";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
"QVector3D";
executed 15 times by 5 tests: return "QVector3D";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
break;
dead code: break;
case
executed 15 times by 5 tests: case QMetaType::QVector4D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
QMetaType::QVector4D:
executed 15 times by 5 tests: case QMetaType::QVector4D:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
return
executed 15 times by 5 tests: return "QVector4D";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
"QVector4D";
executed 15 times by 5 tests: return "QVector4D";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QVectorND
break;
dead code: break;
case
executed 15 times by 5 tests: case QMetaType::QQuaternion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
QMetaType::QQuaternion:
executed 15 times by 5 tests: case QMetaType::QQuaternion:
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
return
executed 15 times by 5 tests: return "QQuaternion";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
"QQuaternion";
executed 15 times by 5 tests: return "QQuaternion";
Executed by:
  • tst_QGuiMetaType
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QQuaternion
  • tst_QVariant
break;
dead code: break;
case
executed 12 times by 3 tests: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
QMetaType::QPolygonF:
executed 12 times by 3 tests: case QMetaType::QPolygonF:
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
return
executed 12 times by 3 tests: return "QPolygonF";
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
"QPolygonF";
executed 12 times by 3 tests: return "QPolygonF";
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
break;
dead code: break;
case
executed 6 times by 3 tests: case QMetaType::QSizePolicy:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
QMetaType::QSizePolicy:
executed 6 times by 3 tests: case QMetaType::QSizePolicy:
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
return
executed 6 times by 3 tests: return "QSizePolicy";
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
"QSizePolicy";
executed 6 times by 3 tests: return "QSizePolicy";
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
break;
dead code: break;
-
265 case
executed 12 times by 4 tests: case QMetaType::UnknownType:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
QMetaType::UnknownType:
executed 12 times by 4 tests: case QMetaType::UnknownType:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
12
266 case
executed 18 times by 8 tests: case QMetaType::User:
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QGlobal
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QObject
  • tst_QStyleSheetStyle
QMetaType::User:
executed 18 times by 8 tests: case QMetaType::User:
Executed by:
  • tst_QDBusAbstractInterface
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QGlobal
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QObject
  • tst_QStyleSheetStyle
18
267 break;
executed 30 times by 12 tests: break;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDBusMetaObject
  • tst_QDBusMetaType
  • tst_QGlobal
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QObject
  • tst_QStyleSheetStyle
  • tst_QVariant
30
268 }-
269-
270 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 6774 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-6774
271 return
executed 962 times by 5 tests: return nullptr;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
nullptr;
executed 962 times by 5 tests: return nullptr;
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
962
272 }-
273-
274 const QVector<QCustomTypeInfo> * const ct = customTypes();-
275 QReadLocker locker(customTypesLock());-
276 return
executed 6774 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() : nullptr;
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
ctDescription
TRUEevaluated 6774 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
  • ...
FALSEnever evaluated
&& uint(ct->count()) > type - QMetaType::User
uint(ct->count...MetaType::UserDescription
TRUEevaluated 6771 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
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
&& !ct->at(type - QMetaType::User).typeName.isEmpty()
!ct->at(type -...Name.isEmpty()Description
TRUEevaluated 6771 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
  • ...
FALSEnever evaluated
executed 6774 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() : nullptr;
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
  • ...
0-6774
277 ? ct->at(type - QMetaType::User).typeName.constData()
executed 6774 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() : nullptr;
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
  • ...
6774
278 : nullptr;
executed 6774 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() : nullptr;
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
  • ...
6774
279-
280-
281}-
282-
283-
284-
285-
286-
287static inline int qMetaTypeStaticType(const char *typeName, int length)-
288{-
289 int i = 0;-
290 while (types[i].typeName
types[i].typeNameDescription
TRUEevaluated 74305344 times by 365 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
  • ...
FALSEevaluated 540382 times by 337 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_QButtonGroup
  • ...
&& ((
(length != typ...ypeNameLength)Description
TRUEevaluated 70241779 times by 365 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
  • ...
FALSEevaluated 4068893 times by 352 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 70241779 times by 365 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
  • ...
FALSEevaluated 4068893 times by 352 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
  • ...
540382-74305344
291 || memcmp(typeName, types[i].typeName, length)
memcmp(typeNam...eName, length)Description
TRUEevaluated 2734367 times by 329 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 1334526 times by 275 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
  • ...
)) {
1334526-2734367
292 ++i;-
293 }
executed 72976146 times by 365 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
72976146
294 return
executed 1874908 times by 365 tests: return types[i].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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
types[i].type;
executed 1874908 times by 365 tests: return types[i].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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
1874908
295}-
296static int qMetaTypeCustomType_unlocked(const char *typeName, int length, int *firstInvalidIndex = 0)-
297{-
298 const QVector<QCustomTypeInfo> * const ct = customTypes();-
299 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 540382 times by 337 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_QButtonGroup
  • ...
)
0-540382
300 return
never executed: return QMetaType::UnknownType;
QMetaType::UnknownType;
never executed: return QMetaType::UnknownType;
0
301-
302 if (firstInvalidIndex
firstInvalidIndexDescription
TRUEevaluated 25192 times by 316 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_QButtonGroup
  • ...
FALSEevaluated 515190 times by 235 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
)
25192-515190
303 *
executed 25192 times by 316 tests: *firstInvalidIndex = -1;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
firstInvalidIndex = -1;
executed 25192 times by 316 tests: *firstInvalidIndex = -1;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
25192
304 for (int v = 0; v < ct->count()
v < ct->count()Description
TRUEevaluated 20697251 times by 317 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 165951 times by 319 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_QButtonGroup
  • ...
; ++v) {
165951-20697251
305 const QCustomTypeInfo &customInfo = ct->at(v);-
306 if ((
(length == cus...peName.size())Description
TRUEevaluated 8174096 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 12523155 times by 311 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
length == customInfo.typeName.size())
(length == cus...peName.size())Description
TRUEevaluated 8174096 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 12523155 times by 311 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
8174096-12523155
307 && !memcmp(typeName, customInfo.typeName.constData(), length)
!memcmp(typeNa...ata(), length)Description
TRUEevaluated 374431 times by 237 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
FALSEevaluated 7799665 times by 198 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
  • ...
) {
374431-7799665
308 if (customInfo.alias >= 0
customInfo.alias >= 0Description
TRUEevaluated 65 times by 6 tests
Evaluated by:
  • tst_QHeaderView
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkConfigurationManager
  • tst_QObject
  • tst_QWindow
FALSEevaluated 374366 times by 237 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
)
65-374366
309 return
executed 65 times by 6 tests: return customInfo.alias;
Executed by:
  • tst_QHeaderView
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkConfigurationManager
  • tst_QObject
  • tst_QWindow
customInfo.alias;
executed 65 times by 6 tests: return customInfo.alias;
Executed by:
  • tst_QHeaderView
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkConfigurationManager
  • tst_QObject
  • tst_QWindow
65
310 return
executed 374366 times by 237 tests: return v + QMetaType::User;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
v + QMetaType::User;
executed 374366 times by 237 tests: return v + QMetaType::User;
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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
374366
311 }-
312 if (firstInvalidIndex
firstInvalidIndexDescription
TRUEevaluated 5829228 times by 289 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 14493592 times by 225 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • ...
&& (*
(*firstInvalidIndex < 0)Description
TRUEevaluated 5829225 times by 289 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
firstInvalidIndex < 0)
(*firstInvalidIndex < 0)Description
TRUEevaluated 5829225 times by 289 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
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 5829222 times by 289 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
)
3-14493592
313 *
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
314 }
executed 20322820 times by 311 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • ...
20322820
315 return
executed 165951 times by 319 tests: return QMetaType::UnknownType;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
QMetaType::UnknownType;
executed 165951 times by 319 tests: return QMetaType::UnknownType;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
165951
316}-
317-
318-
319-
320-
321-
322-
323-
324int QMetaType::registerType(const char *typeName, Deleter deleter,-
325 Creator creator)-
326{-
327 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
328 QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct,
never executed: return registerType(typeName, deleter, creator, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Destruct, QtMetaTypePrivate::QMetaTypeFunctionHelper<void>::Construct, 0, TypeFlags(), 0);
0
329 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
330}-
331bool QMetaType::unregisterType(int type)-
332{-
333 QWriteLocker locker(customTypesLock());-
334 QVector<QCustomTypeInfo> *ct = customTypes();-
335-
336-
337 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
338 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
339-
340-
341 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
342 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
343-
344-
345 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
346 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
347 ct->data()[v].typeName.clear();
executed 3 times by 1 test: ct->data()[v].typeName.clear();
Executed by:
  • tst_QMetaType
3
348 }
executed 6080 times by 1 test: end of block
Executed by:
  • tst_QMetaType
6080
349 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
350}-
351int QMetaType::registerType(const char *typeName, Deleter deleter,-
352 Creator creator,-
353 Destructor destructor,-
354 Constructor constructor,-
355 int size, TypeFlags flags, const QMetaObject *metaObject)-
356{-
357-
358-
359-
360 ::QByteArray normalizedTypeName = QMetaObject::normalizedType(typeName);-
361-
362-
363 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
364}-
365int QMetaType::registerNormalizedType(const ::QByteArray &normalizedTypeName, Deleter deleter,-
366 Creator creator,-
367 Destructor destructor,-
368 Constructor constructor,-
369 int size, TypeFlags flags, const QMetaObject *metaObject)-
370{-
371 (void)deleter;;-
372 (void)creator;;-
373 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
374}-
375int QMetaType::registerNormalizedType(const ::QByteArray &normalizedTypeName,-
376 Destructor destructor,-
377 Constructor constructor,-
378 int size, TypeFlags flags, const QMetaObject *metaObject)-
379{-
380 QVector<QCustomTypeInfo> *ct = customTypes();-
381 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 24362 times by 316 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_QButtonGroup
  • ...
|| normalizedTypeName.isEmpty()
normalizedTypeName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 24362 times by 316 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_QButtonGroup
  • ...
|| !destructor
!destructorDescription
TRUEnever evaluated
FALSEevaluated 24362 times by 316 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_QButtonGroup
  • ...
|| !constructor
!constructorDescription
TRUEnever evaluated
FALSEevaluated 24362 times by 316 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_QButtonGroup
  • ...
)
0-24362
382 return
never executed: return -1;
-1;
never executed: return -1;
0
383-
384 int idx = qMetaTypeStaticType(normalizedTypeName.constData(),-
385 normalizedTypeName.size());-
386-
387 int previousSize = 0;-
388 int previousFlags = 0;-
389 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 24362 times by 316 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_QButtonGroup
  • ...
FALSEnever evaluated
) {
0-24362
390 QWriteLocker locker(customTypesLock());-
391 int posInVector = -1;-
392 idx = qMetaTypeCustomType_unlocked(normalizedTypeName.constData(),-
393 normalizedTypeName.size(),-
394 &posInVector);-
395 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 11911 times by 316 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_QButtonGroup
  • ...
FALSEevaluated 12451 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
  • ...
) {
11911-12451
396 QCustomTypeInfo inf;-
397 inf.typeName = normalizedTypeName;-
398-
399 inf.loadOp = 0;-
400 inf.saveOp = 0;-
401-
402 inf.alias = -1;-
403 inf.constructor = constructor;-
404 inf.destructor = destructor;-
405 inf.size = size;-
406 inf.flags = flags;-
407 inf.metaObject = metaObject;-
408 if (posInVector == -1
posInVector == -1Description
TRUEevaluated 11908 times by 316 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_QButtonGroup
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QMetaType
) {
3-11908
409 idx = ct->size() + User;-
410 ct->append(inf);-
411 }
executed 11908 times by 316 tests: end of block
Executed by:
  • tst_Gestures
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
else {
11908
412 idx = posInVector + User;-
413 ct->data()[posInVector] = inf;-
414 }
executed 3 times by 1 test: end of block
Executed by:
  • tst_QMetaType
3
415 return
executed 11911 times by 316 tests: return idx;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
idx;
executed 11911 times by 316 tests: return idx;
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_QAlgorithms
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • ...
11911
416 }-
417-
418 if (idx >= User
idx >= UserDescription
TRUEevaluated 12451 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-12451
419 previousSize = ct->at(idx - User).size;-
420 previousFlags = ct->at(idx - User).flags;-
421-
422-
423-
424-
425 if (flags != previousFlags
flags != previousFlagsDescription
TRUEnever evaluated
FALSEevaluated 12451 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-12451
426 QCustomTypeInfo &inf = ct->data()[idx - User];-
427 inf.flags |= flags;-
428 if (metaObject
metaObjectDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
429 inf.metaObject = metaObject;
never executed: inf.metaObject = metaObject;
0
430 }
never executed: end of block
0
431 }
executed 12451 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
  • ...
12451
432 }
executed 12451 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
  • ...
12451
433-
434 if (idx < User
idx < UserDescription
TRUEnever evaluated
FALSEevaluated 12451 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-12451
435 previousSize = QMetaType::sizeOf(idx);-
436 previousFlags = QMetaType::typeFlags(idx);-
437 }
never executed: end of block
0
438-
439 if (previousSize != size
previousSize != sizeDescription
TRUEnever evaluated
FALSEevaluated 12451 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-12451
440 QMessageLogger(__FILE__, 1067, __PRETTY_FUNCTION__).fatal("QMetaType::registerType: Binary compatibility break "-
441 "-- Size mismatch for type '%s' [%i]. Previously registered "-
442 "size %i, now registering size %i.",-
443 normalizedTypeName.constData(), idx, previousSize, size);-
444 }
never executed: end of block
0
445-
446-
447 const int binaryCompatibilityFlag = PointerToQObject | IsEnumeration | SharedPointerToQObject-
448 | WeakPointerToQObject | TrackingPointerToQObject;-
449 if ((
(previousFlags...patibilityFlagDescription
TRUEnever evaluated
FALSEevaluated 12451 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
  • ...
previousFlags ^ flags) & binaryCompatibilityFlag
(previousFlags...patibilityFlagDescription
TRUEnever evaluated
FALSEevaluated 12451 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-12451
450-
451 const char *msg = "QMetaType::registerType: Binary compatibility break. "-
452 "\nType flags for type '%s' [%i] don't match. Previously "-
453 "registered TypeFlags(0x%x), now registering TypeFlags(0x%x). ";-
454-
455 QMessageLogger(__FILE__, 1082, __PRETTY_FUNCTION__).fatal(msg, normalizedTypeName.constData(), idx, previousFlags, int(flags));-
456 }
never executed: end of block
0
457-
458 return
executed 12451 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 12451 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
  • ...
12451
459}-
460-
461-
462-
463-
464-
465-
466-
467int QMetaType::registerTypedef(const char* typeName, int aliasId)-
468{-
469-
470-
471-
472 ::QByteArray normalizedTypeName = QMetaObject::normalizedType(typeName);-
473-
474-
475 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
476}-
477int QMetaType::registerNormalizedTypedef(const ::QByteArray &normalizedTypeName, int aliasId)-
478{-
479 QVector<QCustomTypeInfo> *ct = customTypes();-
480 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 836 times by 50 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_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
|| normalizedTypeName.isEmpty()
normalizedTypeName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 836 times by 50 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_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
)
0-836
481 return
never executed: return -1;
-1;
never executed: return -1;
0
482-
483 int idx = qMetaTypeStaticType(normalizedTypeName.constData(),-
484 normalizedTypeName.size());-
485-
486 if (idx == UnknownType
idx == UnknownTypeDescription
TRUEevaluated 830 times by 50 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_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaObject
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_QMetaType
) {
6-830
487 QWriteLocker locker(customTypesLock());-
488 int posInVector = -1;-
489 idx = qMetaTypeCustomType_unlocked(normalizedTypeName.constData(),-
490 normalizedTypeName.size(),-
491 &posInVector);-
492-
493 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 799 times by 36 tests
Evaluated by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostAddress
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • ...
) {
31-799
494 QCustomTypeInfo inf;-
495 inf.typeName = normalizedTypeName;-
496 inf.alias = aliasId;-
497 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
498 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
499 else-
500 ct->data()[posInVector] = inf;
never executed: ct->data()[posInVector] = inf;
0
501 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
502 }-
503 }
executed 799 times by 36 tests: end of block
Executed by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostAddress
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • ...
799
504-
505 if (idx != aliasId
idx != aliasIdDescription
TRUEnever evaluated
FALSEevaluated 805 times by 36 tests
Evaluated by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostAddress
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • ...
) {
0-805
506 QMessageLogger(__FILE__, 1142, __PRETTY_FUNCTION__).warning("QMetaType::registerTypedef: "-
507 "-- Type name '%s' previously registered as typedef of '%s' [%i], "-
508 "now registering as typedef of '%s' [%i].",-
509 normalizedTypeName.constData(), QMetaType::typeName(idx), idx,-
510 QMetaType::typeName(aliasId), aliasId);-
511 }
never executed: end of block
0
512 return
executed 805 times by 36 tests: return idx;
Executed by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostAddress
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • ...
idx;
executed 805 times by 36 tests: return idx;
Executed by:
  • tst_QAnimationGroup
  • tst_QButtonGroup
  • tst_QClipboard
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleValidator
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHostAddress
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLocalSocket
  • tst_QMdiSubWindow
  • tst_QMetaType
  • tst_QNetworkAccessManager
  • tst_QNetworkConfigurationManager
  • tst_QNetworkSession
  • tst_QObject
  • tst_QParallelAnimationGroup
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QPropertyAnimation
  • tst_QScreen
  • tst_QSequentialAnimationGroup
  • ...
805
513}-
514-
515-
516-
517-
518-
519-
520-
521bool QMetaType::isRegistered(int type)-
522{-
523-
524 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
525 || (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
526 || (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
527 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
528 }-
529-
530 QReadLocker locker(customTypesLock());-
531 const QVector<QCustomTypeInfo> * const ct = customTypes();-
532 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)Description
TRUEevaluated 15025 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
FALSEevaluated 9 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
type >= User)
(type >= User)Description
TRUEevaluated 15025 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
FALSEevaluated 9 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
&& (ct
ctDescription
TRUEevaluated 15025 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
FALSEnever evaluated
&& ct->count() > type - User
ct->count() > type - UserDescription
TRUEevaluated 15024 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
) && !ct->at(type - User).typeName.isEmpty()
!ct->at(type -...Name.isEmpty()Description
TRUEevaluated 15024 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
FALSEnever evaluated
);
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
0-15034
533}-
534-
535template <bool tryNormalizedType>-
536static inline int qMetaTypeTypeImpl(const char *typeName, int length)-
537{-
538 if (!length
!lengthDescription
TRUEevaluated 108 times by 4 tests
Evaluated by:
  • tst_QMetaMethod
  • tst_QMetaObjectBuilder
  • tst_QMetaType
  • tst_QVariant
FALSEevaluated 1849572 times by 285 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-1849572
539 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
540 int type = qMetaTypeStaticType(typeName, length);-
541 if (type == QMetaType::UnknownType
type == QMetaType::UnknownTypeDescription
TRUEevaluated 515054 times by 235 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
FALSEevaluated 1334518 times by 275 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
  • ...
) {
515054-1334518
542 QReadLocker locker(customTypesLock());-
543 type = qMetaTypeCustomType_unlocked(typeName, length);-
544-
545 if ((
(type == QMeta...::UnknownType)Description
TRUEevaluated 153877 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 361177 times by 225 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
type == QMetaType::UnknownType)
(type == QMeta...::UnknownType)Description
TRUEevaluated 153877 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 361177 times by 225 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
&& 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 153739 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-361177
546 const ::QByteArray normalizedTypeName = QMetaObject::normalizedType(typeName);-
547 type = qMetaTypeStaticType(normalizedTypeName.constData(),-
548 normalizedTypeName.size());-
549 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
550 type = qMetaTypeCustomType_unlocked(normalizedTypeName.constData(),-
551 normalizedTypeName.size());-
552 }
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
553 }
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
554-
555 }
executed 515054 times by 235 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_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QClipboard
  • tst_QColorDialog
  • tst_QColumnView
  • ...
515054
556 return
executed 1849572 times by 285 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 1849572 times by 285 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
  • ...
1849572
557}-
558-
559-
560-
561-
562-
563-
564-
565int QMetaType::type(const char *typeName)-
566{-
567 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
568}-
569int qMetaTypeTypeInternal(const char *typeName)-
570{-
571 return
executed 1610441 times by 272 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 1610441 times by 272 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
  • ...
1610441
572}-
573int QMetaType::type(const ::QByteArray &typeName)-
574{-
575 return
executed 172488 times by 225 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 172488 times by 225 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
  • ...
172488
576}-
577bool QMetaType::save(QDataStream &stream, int type, const void *data)-
578{-
579 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
580 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
581-
582 switch(type) {-
583 case
never executed: case QMetaType::UnknownType:
QMetaType::UnknownType:
never executed: case QMetaType::UnknownType:
0
584 case
never executed: case QMetaType::Void:
QMetaType::Void:
never executed: case QMetaType::Void:
0
585 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
586 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
587 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
588 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
589 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
590 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
591 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
592 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
593 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
594 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
595 stream << qlonglong(*static_cast<const long *>(data));-
596 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
597 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
598 stream << *static_cast<const int *>(data);-
599 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
600 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
601 stream << *static_cast<const short *>(data);-
602 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
603 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
604-
605 stream << *static_cast<const signed char *>(data);-
606 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
607 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
608 stream << qulonglong(*static_cast<const ulong *>(data));-
609 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
610 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
611 stream << *static_cast<const uint *>(data);-
612 break;
executed 4 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
4
613 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
614 stream << *static_cast<const qlonglong *>(data);-
615 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
616 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
617 stream << *static_cast<const qulonglong *>(data);-
618 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
619 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
620 stream << *static_cast<const ushort *>(data);-
621 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
622 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
623 stream << *static_cast<const signed char *>(data);-
624 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaType
1
625 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
626 stream << *static_cast<const uchar *>(data);-
627 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
628 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
629 stream << qint8(*static_cast<const bool *>(data));-
630 break;
executed 75 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
75
631 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
632 stream << *static_cast<const float *>(data);-
633 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
634 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
635 stream << *static_cast<const double *>(data);-
636 break;
executed 6 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
6
637 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
638 stream << *static_cast<const ::QChar *>(data);-
639 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
640-
641 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
642 stream << *static_cast<const ::QVariantMap*>(data);-
643 break;
executed 77 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
77
644 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
645 stream << *static_cast<const ::QVariantHash*>(data);-
646 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
647 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
648 stream << *static_cast<const ::QVariantList*>(data);-
649 break;
executed 61 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
61
650 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
651 stream << *static_cast<const ::QVariant*>(data);-
652 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
653 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
654 stream << *static_cast<const ::QByteArrayList*>(data);-
655 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaType
1
656-
657 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
658 stream << *static_cast<const ::QByteArray*>(data);-
659 break;
executed 14 times by 4 tests: break;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
14
660 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
661 stream << *static_cast<const ::QString*>(data);-
662 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
663 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
664 stream << *static_cast<const ::QStringList*>(data);-
665 break;
executed 25 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
25
666-
667 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
668 stream << *static_cast<const ::QBitArray*>(data);-
669 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
670-
671 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
672 stream << *static_cast<const ::QDate*>(data);-
673 break;
executed 89 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
89
674 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
675 stream << *static_cast<const ::QTime*>(data);-
676 break;
executed 85 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
85
677 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
678 stream << *static_cast<const ::QDateTime*>(data);-
679 break;
executed 13 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
13
680-
681 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
682 stream << *static_cast<const ::QUrl*>(data);-
683 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
684-
685 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
686 stream << *static_cast<const ::QLocale*>(data);-
687 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
688-
689 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
690 stream << *static_cast<const ::QRect*>(data);-
691 break;
executed 2559 times by 4 tests: break;
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
2559
692 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
693 stream << *static_cast<const ::QRectF*>(data);-
694 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
695 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
696 stream << *static_cast<const ::QSize*>(data);-
697 break;
executed 58 times by 4 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
58
698 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
699 stream << *static_cast<const ::QSizeF*>(data);-
700 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
701 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
702 stream << *static_cast<const ::QLine*>(data);-
703 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
704 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
705 stream << *static_cast<const ::QLineF*>(data);-
706 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
707 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
708 stream << *static_cast<const ::QPoint*>(data);-
709 break;
executed 55 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
55
710 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
711 stream << *static_cast<const ::QPointF*>(data);-
712 break;
executed 3 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
3
713-
714-
715 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
716 stream << *static_cast<const ::QRegExp*>(data);-
717 break;
executed 47 times by 3 tests: break;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
47
718-
719-
720-
721 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
722 stream << *static_cast<const ::QRegularExpression*>(data);-
723 break;
executed 4 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
4
724-
725 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
726 stream << *static_cast<const ::QEasingCurve*>(data);-
727 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QMetaType
1
728-
729 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
730 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
731 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
732 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
733 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
734 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
735 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
736 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
737 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
738 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
739 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
740 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
741 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
742 case
never executed: case QMetaType::QTextLength:
QMetaType::QTextLength:
never executed: case QMetaType::QTextLength:
0
743 case
never executed: case QMetaType::QTextFormat:
QMetaType::QTextFormat:
never executed: case QMetaType::QTextFormat:
0
744 case
never executed: case QMetaType::QMatrix:
QMetaType::QMatrix:
never executed: case QMetaType::QMatrix:
0
745 case
never executed: case QMetaType::QTransform:
QMetaType::QTransform:
never executed: case QMetaType::QTransform:
0
746 case
never executed: case QMetaType::QMatrix4x4:
QMetaType::QMatrix4x4:
never executed: case QMetaType::QMatrix4x4:
0
747 case
never executed: case QMetaType::QVector2D:
QMetaType::QVector2D:
never executed: case QMetaType::QVector2D:
0
748 case
never executed: case QMetaType::QVector3D:
QMetaType::QVector3D:
never executed: case QMetaType::QVector3D:
0
749 case
never executed: case QMetaType::QVector4D:
QMetaType::QVector4D:
never executed: case QMetaType::QVector4D:
0
750 case
never executed: case QMetaType::QQuaternion:
QMetaType::QQuaternion:
never executed: case QMetaType::QQuaternion:
0
751 case
never executed: case QMetaType::QIcon:
QMetaType::QIcon:
never executed: case QMetaType::QIcon:
0
752 if (!qMetaTypeGuiHelper
!qMetaTypeGuiHelperDescription
TRUEnever evaluated
FALSEevaluated 125 times by 3 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
)
0-125
753 return
never executed: return false;
false;
never executed: return false;
0
754 qMetaTypeGuiHelper[type - FirstGuiType].saveOp(stream, data);-
755 break;
executed 125 times by 3 tests: break;
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
125
756 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
757 if (!qMetaTypeWidgetsHelper
!qMetaTypeWidgetsHelperDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetsVariant
)
0-1
758 return
never executed: return false;
false;
never executed: return false;
0
759 qMetaTypeWidgetsHelper[type - FirstWidgetsType].saveOp(stream, data);-
760 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QWidgetsVariant
1
761 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
762 stream << *static_cast<const ::QUuid*>(data);-
763 break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
2
764 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
765 const QVector<QCustomTypeInfo> * const ct = customTypes();-
766 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 5 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
0-5
767 return
never executed: return false;
false;
never executed: return false;
0
768-
769 SaveOperator saveOp = 0;-
770 {-
771 QReadLocker locker(customTypesLock());-
772 saveOp = ct->at(type - User).saveOp;-
773 }-
774-
775 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
776 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
777 saveOp(stream, data);-
778 break;
executed 4 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
}
4
779 }-
780-
781 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
782}-
783bool QMetaType::load(QDataStream &stream, int type, void *data)-
784{-
785 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
786 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
787-
788 switch(type) {-
789 case
never executed: case QMetaType::UnknownType:
QMetaType::UnknownType:
never executed: case QMetaType::UnknownType:
0
790 case
never executed: case QMetaType::Void:
QMetaType::Void:
never executed: case QMetaType::Void:
0
791 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
792 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
793 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
794 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
795 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
796 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
797 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
798 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
799 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
800 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
801 qlonglong l;-
802 stream >> l;-
803 *static_cast<long *>(data) = long(l);-
804 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
}
9
805 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
806 stream >> *static_cast<int *>(data);-
807 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
808 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
809 stream >> *static_cast<short *>(data);-
810 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
811 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
812-
813 stream >> *static_cast<signed char *>(data);-
814 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
815 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
816 qulonglong ul;-
817 stream >> ul;-
818 *static_cast<ulong *>(data) = ulong(ul);-
819 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
}
9
820 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
821 stream >> *static_cast<uint *>(data);-
822 break;
executed 8 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
8
823 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
824 stream >> *static_cast<qlonglong *>(data);-
825 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
826 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
827 stream >> *static_cast<qulonglong *>(data);-
828 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
829 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
830 stream >> *static_cast<ushort *>(data);-
831 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
832 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
833 stream >> *static_cast<signed char *>(data);-
834 break;
executed 3 times by 1 test: break;
Executed by:
  • tst_QMetaType
3
835 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
836 stream >> *static_cast<uchar *>(data);-
837 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
838 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
839 qint8 b;-
840 stream >> b;-
841 *static_cast<bool *>(data) = b;-
842 break;
executed 79 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
}
79
843 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
844 stream >> *static_cast<float *>(data);-
845 break;
executed 11 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
11
846 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
847 stream >> *static_cast<double *>(data);-
848 break;
executed 10 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
10
849 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
850 stream >> *static_cast< ::QChar*>(data);-
851 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
852-
853 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
854 stream >> *static_cast< ::QVariantMap*>(data);-
855 break;
executed 80 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
80
856 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
857 stream >> *static_cast< ::QVariantHash*>(data);-
858 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
859 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
860 stream >> *static_cast< ::QVariantList*>(data);-
861 break;
executed 50 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
50
862 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
863 stream >> *static_cast< ::QVariant*>(data);-
864 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
865 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
866 stream >> *static_cast< ::QByteArrayList*>(data);-
867 break;
executed 3 times by 1 test: break;
Executed by:
  • tst_QMetaType
3
868-
869 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
870 stream >> *static_cast< ::QByteArray*>(data);-
871 break;
executed 17 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
17
872 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
873 stream >> *static_cast< ::QString*>(data);-
874 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
875 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
876 stream >> *static_cast< ::QStringList*>(data);-
877 break;
executed 25 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
25
878-
879 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
880 stream >> *static_cast< ::QBitArray*>(data);-
881 break;
executed 9 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
9
882-
883 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
884 stream >> *static_cast< ::QDate*>(data);-
885 break;
executed 93 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
93
886 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
887 stream >> *static_cast< ::QTime*>(data);-
888 break;
executed 89 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
89
889 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
890 stream >> *static_cast< ::QDateTime*>(data);-
891 break;
executed 17 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
17
892-
893 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
894 stream >> *static_cast< ::QUrl*>(data);-
895 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
896-
897 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
898 stream >> *static_cast< ::QLocale*>(data);-
899 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
900-
901 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
902 stream >> *static_cast< ::QRect*>(data);-
903 break;
executed 2554 times by 4 tests: break;
Executed by:
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
2554
904 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
905 stream >> *static_cast< ::QRectF*>(data);-
906 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
907 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
908 stream >> *static_cast< ::QSize*>(data);-
909 break;
executed 62 times by 4 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QStandardItem
  • tst_QVariant
62
910 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
911 stream >> *static_cast< ::QSizeF*>(data);-
912 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
913 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
914 stream >> *static_cast< ::QLine*>(data);-
915 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
916 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
917 stream >> *static_cast< ::QLineF*>(data);-
918 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
919 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
920 stream >> *static_cast< ::QPoint*>(data);-
921 break;
executed 59 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
59
922 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
923 stream >> *static_cast< ::QPointF*>(data);-
924 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
925-
926-
927 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
928 stream >> *static_cast< ::QRegExp*>(data);-
929 break;
executed 51 times by 3 tests: break;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
51
930-
931-
932-
933 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
934 stream >> *static_cast< ::QRegularExpression*>(data);-
935 break;
executed 7 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
7
936-
937 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
938 stream >> *static_cast< ::QEasingCurve*>(data);-
939 break;
executed 3 times by 1 test: break;
Executed by:
  • tst_QMetaType
3
940-
941 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
942 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
943 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
944 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
945 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
946 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
947 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
948 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
949 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
950 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
951 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
952 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
953 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
954 case
never executed: case QMetaType::QTextLength:
QMetaType::QTextLength:
never executed: case QMetaType::QTextLength:
0
955 case
never executed: case QMetaType::QTextFormat:
QMetaType::QTextFormat:
never executed: case QMetaType::QTextFormat:
0
956 case
never executed: case QMetaType::QMatrix:
QMetaType::QMatrix:
never executed: case QMetaType::QMatrix:
0
957 case
never executed: case QMetaType::QTransform:
QMetaType::QTransform:
never executed: case QMetaType::QTransform:
0
958 case
never executed: case QMetaType::QMatrix4x4:
QMetaType::QMatrix4x4:
never executed: case QMetaType::QMatrix4x4:
0
959 case
never executed: case QMetaType::QVector2D:
QMetaType::QVector2D:
never executed: case QMetaType::QVector2D:
0
960 case
never executed: case QMetaType::QVector3D:
QMetaType::QVector3D:
never executed: case QMetaType::QVector3D:
0
961 case
never executed: case QMetaType::QVector4D:
QMetaType::QVector4D:
never executed: case QMetaType::QVector4D:
0
962 case
never executed: case QMetaType::QQuaternion:
QMetaType::QQuaternion:
never executed: case QMetaType::QQuaternion:
0
963 case
never executed: case QMetaType::QIcon:
QMetaType::QIcon:
never executed: case QMetaType::QIcon:
0
964 if (!qMetaTypeGuiHelper
!qMetaTypeGuiHelperDescription
TRUEnever evaluated
FALSEevaluated 124 times by 3 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
)
0-124
965 return
never executed: return false;
false;
never executed: return false;
0
966 qMetaTypeGuiHelper[type - FirstGuiType].loadOp(stream, data);-
967 break;
executed 124 times by 3 tests: break;
Executed by:
  • tst_QGuiVariant
  • tst_QSettings
  • tst_QStandardItem
124
968 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
969 if (!qMetaTypeWidgetsHelper
!qMetaTypeWidgetsHelperDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetsVariant
)
0-1
970 return
never executed: return false;
false;
never executed: return false;
0
971 qMetaTypeWidgetsHelper[type - FirstWidgetsType].loadOp(stream, data);-
972 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QWidgetsVariant
1
973 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
974 stream >> *static_cast< ::QUuid*>(data);-
975 break;
executed 5 times by 2 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QVariant
5
976 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
977 const QVector<QCustomTypeInfo> * const ct = customTypes();-
978 if (!ct
!ctDescription
TRUEnever evaluated
FALSEevaluated 8 times by 3 tests
Evaluated by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
)
0-8
979 return
never executed: return false;
false;
never executed: return false;
0
980-
981 LoadOperator loadOp = 0;-
982 {-
983 QReadLocker locker(customTypesLock());-
984 loadOp = ct->at(type - User).loadOp;-
985 }-
986-
987 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
988 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
989 loadOp(stream, data);-
990 break;
executed 6 times by 3 tests: break;
Executed by:
  • tst_QMetaType
  • tst_QObject
  • tst_QVariant
}
6
991 }-
992 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
993}-
994void *QMetaType::create(int type, const void *copy)-
995{-
996 QMetaType info(type);-
997 if (int size = info.sizeOf()
int size = info.sizeOf()Description
TRUEevaluated 575554 times by 427 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_Gcc_char
  • tst_QAtomicInteger_Gcc_char16_t
  • ...
FALSEevaluated 123 times by 1 test
Evaluated by:
  • tst_QMetaType
)
123-575554
998 return
executed 575554 times by 427 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_Gcc_char
  • tst_QAtomicInteger_Gcc_char16_t
  • ...
info.construct(operator new(size), copy);
executed 575554 times by 427 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_Gcc_char
  • tst_QAtomicInteger_Gcc_char16_t
  • ...
575554
999 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
1000}-
1001-
1002-
1003-
1004-
1005-
1006-
1007void QMetaType::destroy(int type, void *data)-
1008{-
1009 QMetaType info(type);-
1010 info.destruct(data);-
1011 operator delete(data);-
1012}
executed 573579 times by 438 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_Gcc_char
  • tst_QAtomicInteger_Gcc_char16_t
  • ...
573579
1013-
1014namespace {-
1015class TypeConstructor {-
1016 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1017 struct ConstructorImpl {-
1018 static void *Construct(const int , void *where, const void *copy) { return
executed 281 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 281 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
  • ...
}
281
1019 };-
1020 template<typename T>-
1021 struct ConstructorImpl<T, false> {-
1022 static void *Construct(const int type, void *where, const void *copy)-
1023 {-
1024 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
)
0-42
1025 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)
__builtin_expe...Helper), true)Description
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
? 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
0-42
1026-
1027 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1028 return
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].constructor(where, copy) : 0;
__builtin_expect(!!(qMetaTypeWidgetsHelper), true)
__builtin_expe...Helper), true)Description
TRUEnever evaluated
FALSEnever evaluated
? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].constructor(where, copy) : 0;
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].constructor(where, copy) : 0;
0
1029-
1030-
1031-
1032 return
never executed: return 0;
0;
never executed: return 0;
0
1033 }-
1034 };-
1035public:-
1036 TypeConstructor(const int type, void *where)-
1037 : m_type(type)-
1038 , m_where(where)-
1039 {}
executed 6327 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
  • ...
6327
1040-
1041 template<typename T>-
1042 void *delegate(const T *copy) { return
executed 323 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 323 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
  • ...
}
323
1043 void *delegate(const void *) { return
never executed: return m_where;
m_where;
never executed: return m_where;
}
0
1044 void *delegate(const QMetaTypeSwitcher::UnknownType*) { return
never executed: return m_where;
m_where;
never executed: return m_where;
}
0
1045 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
1046-
1047private:-
1048 static void *customTypeConstructor(const int type, void *where, const void *copy)-
1049 {-
1050 QMetaType::Constructor ctor;-
1051 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1052 {-
1053 QReadLocker locker(customTypesLock());-
1054 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
1055 return
never executed: return 0;
0;
never executed: return 0;
0
1056 ctor = ct->at(type - QMetaType::User).constructor;-
1057 }-
1058 ((!(ctor)) ? qt_assert_x("void *QMetaType::construct(int type, void *where, const void *copy)", "The type was not properly registered",__FILE__,1751) : qt_noop());-
1059 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
1060 }-
1061-
1062 const int m_type;-
1063 void *m_where;-
1064};-
1065}-
1066void *QMetaType::construct(int type, void *where, const void *copy)-
1067{-
1068 if (!where
!whereDescription
TRUEevaluated 100 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 6327 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-6327
1069 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
1070 TypeConstructor constructor(type, where);-
1071 return
executed 6327 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 6327 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
  • ...
6327
1072}-
1073-
1074-
1075namespace {-
1076class TypeDestructor {-
1077 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1078 struct DestructorImpl {-
1079 static void Destruct(const int , void *where) { QtMetaTypePrivate::QMetaTypeFunctionHelper<T>::Destruct(where); }
executed 281 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
  • ...
281
1080 };-
1081 template<typename T>-
1082 struct DestructorImpl<T, false> {-
1083 static void Destruct(const int type, void *where)-
1084 {-
1085 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
) {
0-42
1086 if (__builtin_expect(!!(qMetaTypeGuiHelper), true)
__builtin_expe...Helper), true)Description
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
)
0-42
1087 qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].destructor(where);
executed 42 times by 1 test: qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].destructor(where);
Executed by:
  • tst_QGuiMetaType
42
1088 return;
executed 42 times by 1 test: return;
Executed by:
  • tst_QGuiMetaType
42
1089 }-
1090 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1091 if (__builtin_expect(!!(qMetaTypeWidgetsHelper), true)
__builtin_expe...Helper), true)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1092 qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].destructor(where);
never executed: qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].destructor(where);
0
1093 return;
never executed: return;
0
1094 }-
1095-
1096-
1097 }
never executed: end of block
0
1098 };-
1099public:-
1100 TypeDestructor(const int type)-
1101 : m_type(type)-
1102 {}
executed 153146 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
  • ...
153146
1103-
1104 template<typename T>-
1105 void delegate(const T *where) { DestructorImpl<T>::Destruct(m_type, const_cast<T*>(where)); }
executed 323 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
  • ...
323
1106 void delegate(const void *) {}-
1107 void delegate(const QMetaTypeSwitcher::UnknownType*) {}-
1108 void delegate(const QMetaTypeSwitcher::NotBuiltinType *where)-
1109 { customTypeDestructor(m_type, const_cast<void *>(static_cast<const void *>(where))); }
executed 152823 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
  • ...
152823
1110-
1111private:-
1112 static void customTypeDestructor(const int type, void *where)-
1113 {-
1114 QMetaType::Destructor dtor;-
1115 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1116 {-
1117 QReadLocker locker(customTypesLock());-
1118 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 152822 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-152822
1119 return;
executed 1 time by 1 test: return;
Executed by:
  • tst_qdbusinterface - unknown status
1
1120 dtor = ct->at(type - QMetaType::User).destructor;-
1121 }-
1122 ((!(dtor)) ? qt_assert_x("void QMetaType::destruct(int type, void *where)", "The type was not properly registered",__FILE__,1842) : qt_noop());-
1123 dtor(where);-
1124 }
executed 152822 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
  • ...
152822
1125-
1126 const int m_type;-
1127};-
1128}-
1129void QMetaType::destruct(int type, void *where)-
1130{-
1131 if (!where
!whereDescription
TRUEevaluated 51 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 153146 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-153146
1132 return;
executed 51 times by 1 test: return;
Executed by:
  • tst_QMetaType
51
1133 TypeDestructor destructor(type);-
1134 QMetaTypeSwitcher::switcher<void>(destructor, type, where);-
1135}
executed 153146 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
  • ...
153146
1136-
1137-
1138namespace {-
1139class SizeOf {-
1140 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1141 struct SizeOfImpl {-
1142 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
1143 };-
1144 template<typename T>-
1145 struct SizeOfImpl<T, false> {-
1146 static int Size(const int type)-
1147 {-
1148 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 63 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
)
0-63
1149 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)
__builtin_expe...Helper), true)Description
TRUEevaluated 63 times by 1 test
Evaluated by:
  • tst_QGuiMetaType
FALSEnever evaluated
? 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
0-63
1150-
1151 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1152 return
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].size : 0;
__builtin_expect(!!(qMetaTypeWidgetsHelper), true)
__builtin_expe...Helper), true)Description
TRUEnever evaluated
FALSEnever evaluated
? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].size : 0;
never executed: return __builtin_expect(!!(qMetaTypeWidgetsHelper), true) ? qMetaTypeWidgetsHelper[type - QMetaType::FirstWidgetsType].size : 0;
0
1153-
1154-
1155-
1156 return
never executed: return 0;
0;
never executed: return 0;
0
1157 }-
1158 };-
1159-
1160public:-
1161 SizeOf(int type)-
1162 : m_type(type)-
1163 {}
executed 552 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
552
1164-
1165 template<typename T>-
1166 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
1167 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
1168 int delegate(const QMetaTypeSwitcher::NotBuiltinType*) { return
executed 387 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 387 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
}
387
1169private:-
1170 static int customTypeSizeOf(const int type)-
1171 {-
1172 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1173 QReadLocker locker(customTypesLock());-
1174 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 386 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-386
1175 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
1176 return
executed 386 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 386 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
386
1177 }-
1178-
1179 const int m_type;-
1180};-
1181}-
1182int QMetaType::sizeOf(int type)-
1183{-
1184 SizeOf sizeOf(type);-
1185 return
executed 552 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 552 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
552
1186}-
1187-
1188namespace {-
1189class Flags-
1190{-
1191 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1192 struct FlagsImpl-
1193 {-
1194 static quint32 Flags(const int )-
1195 {-
1196 return
executed 32978 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 32978 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
  • ...
32978
1197 }-
1198 };-
1199 template<typename T>-
1200 struct FlagsImpl<T, false>-
1201 {-
1202 static quint32 Flags(const int type)-
1203 {-
1204 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 239109 times by 63 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_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • ...
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_QMetaType
  • tst_QWidgetsVariant
)
8-239109
1205 return
executed 239109 times by 63 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_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • ...
__builtin_expect(!!(qMetaTypeGuiHelper), true)
__builtin_expe...Helper), true)Description
TRUEevaluated 239086 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_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • ...
FALSEevaluated 23 times by 1 test
Evaluated by:
  • tst_QMetaType
? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].flags : 0;
executed 239109 times by 63 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_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QItemView
  • ...
23-239109
1206-
1207 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
1208 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)
__builtin_expe...Helper), true)Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_QWidgetsVariant
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QMetaType
? 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
1-8
1209-
1210-
1211-
1212 return
never executed: return 0;
0;
never executed: return 0;
0
1213 }-
1214 };-
1215public:-
1216 Flags(const int type)-
1217 : m_type(type)-
1218 {}
executed 308807 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
  • ...
308807
1219 template<typename T>-
1220 quint32 delegate(const T*) { return
executed 272095 times by 96 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 272095 times by 96 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
  • ...
}
272095
1221 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
1222 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
1223 quint32 delegate(const QMetaTypeSwitcher::NotBuiltinType*) { return
executed 36696 times by 55 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 36696 times by 55 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
  • ...
}
36696
1224private:-
1225 const int m_type;-
1226 static quint32 customTypeFlags(const int type)-
1227 {-
1228 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1229 if (__builtin_expect(!!(!ct || type < QMetaType::User), false)
__builtin_expe...:User), false)Description
TRUEnever evaluated
FALSEevaluated 36696 times by 55 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-36696
1230 return
never executed: return 0;
0;
never executed: return 0;
0
1231 QReadLocker locker(customTypesLock());-
1232 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 36666 times by 55 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-36666
1233 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
1234 return
executed 36666 times by 55 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 36666 times by 55 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
  • ...
36666
1235 }-
1236};-
1237}-
1238QMetaType::TypeFlags QMetaType::typeFlags(int type)-
1239{-
1240 Flags flags(type);-
1241 return
executed 308807 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 308807 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
  • ...
308807
1242}-
1243-
1244-
1245namespace {-
1246class MetaObject-
1247{-
1248public:-
1249 MetaObject(const int type)-
1250 : m_type(type)-
1251 {}
executed 32 times by 3 tests: end of block
Executed by:
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetMetaType
32
1252-
1253 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1254 struct MetaObjectImpl-
1255 {-
1256 static const QMetaObject *MetaObject(int )-
1257 { 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
1258 };-
1259 template<typename T>-
1260 struct MetaObjectImpl<T, false>-
1261 {-
1262 static const QMetaObject *MetaObject(int type) {-
1263 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetMetaType
)
0-1
1264 return
never executed: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].metaObject : 0;
__builtin_expect(!!(qMetaTypeGuiHelper), true)
__builtin_expe...Helper), true)Description
TRUEnever evaluated
FALSEnever evaluated
? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].metaObject : 0;
never executed: return __builtin_expect(!!(qMetaTypeGuiHelper), true) ? qMetaTypeGuiHelper[type - QMetaType::FirstGuiType].metaObject : 0;
0
1265 if (QModulesPrivate::QTypeModuleInfo<T>::IsWidget
QModulesPrivat...o<T>::IsWidgetDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetMetaType
FALSEnever evaluated
)
0-1
1266 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)
__builtin_expe...Helper), true)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QWidgetMetaType
FALSEnever evaluated
? 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
0-1
1267 return
never executed: return 0;
0;
never executed: return 0;
0
1268 }-
1269 };-
1270-
1271 template <typename T>-
1272 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
1273 const QMetaObject *delegate(const void*) { return
never executed: return 0;
0;
never executed: return 0;
}
0
1274 const QMetaObject *delegate(const QMetaTypeSwitcher::UnknownType*) { return
never executed: return 0;
0;
never executed: return 0;
}
0
1275 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
1276private:-
1277 const int m_type;-
1278 static const QMetaObject *customMetaObject(const int type)-
1279 {-
1280 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1281 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
1282 return
never executed: return 0;
0;
never executed: return 0;
0
1283 QReadLocker locker(customTypesLock());-
1284 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
1285 return
never executed: return 0;
0;
never executed: return 0;
0
1286 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
1287 }-
1288};-
1289}-
1290const QMetaObject *QMetaType::metaObjectForType(int type)-
1291{-
1292-
1293 MetaObject mo(type);-
1294 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
1295-
1296-
1297-
1298-
1299}-
1300namespace {-
1301class TypeInfo {-
1302 template<typename T, bool IsAcceptedType = DefinedTypesFilter::Acceptor<T>::IsAccepted>-
1303 struct TypeInfoImpl-
1304 {-
1305 TypeInfoImpl(const uint , QMetaTypeInterface &info)-
1306 {-
1307 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()) };-
1308 info = tmp;-
1309 }
executed 773604 times by 422 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_Gcc_char
  • tst_QAtomicInteger_Gcc_char16_t
  • ...
773604
1310 };-
1311-
1312 template<typename T>-
1313 struct TypeInfoImpl<T, false>-
1314 {-
1315 TypeInfoImpl(const uint type, QMetaTypeInterface &info)-
1316 {-
1317 if (QModulesPrivate::QTypeModuleInfo<T>::IsGui
QModulesPrivat...Info<T>::IsGuiDescription
TRUEevaluated 9574 times by 38 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_QMetaType
  • tst_QPainter
  • ...
FALSEevaluated 34632 times by 4 tests
Evaluated by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QMetaType
  • tst_QSizePolicy
) {
9574-34632
1318 if (__builtin_expect(!!(qMetaTypeGuiHelper), true)
__builtin_expe...Helper), true)Description
TRUEevaluated 9528 times by 37 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_QPainter
  • tst_QPainterPath
  • ...
FALSEevaluated 46 times by 1 test
Evaluated by:
  • tst_QMetaType
)
46-9528
1319 info = qMetaTypeGuiHelper[type - QMetaType::FirstGuiType];
executed 9528 times by 37 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_QPainter
  • tst_QPainterPath
  • ...
9528
1320 return;
executed 9574 times by 38 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_QMetaType
  • tst_QPainter
  • ...
9574
1321 }-
1322 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
1323 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
1324 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
1325 return;
executed 34632 times by 4 tests: return;
Executed by:
  • tst_QGraphicsAnchorLayout1
  • tst_QGraphicsLayoutItem
  • tst_QMetaType
  • tst_QSizePolicy
34632
1326 }-
1327 }
never executed: end of block
0
1328 };-
1329public:-
1330 QMetaTypeInterface info;-
1331 TypeInfo(const uint type)-
1332 : m_type(type)-
1333 {-
1334 QMetaTypeInterface tmp = { 0, 0, 0, 0, 0, 0, 0 };-
1335 info = tmp;-
1336 }
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1337 template<typename T>-
1338 void delegate(const T*) { TypeInfoImpl<T>(m_type, info); }
executed 817810 times by 423 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_Gcc_char
  • tst_QAtomicInteger_Gcc_char16_t
  • ...
817810
1339 void delegate(const QMetaTypeSwitcher::UnknownType*) {}-
1340 void delegate(const QMetaTypeSwitcher::NotBuiltinType*) { customTypeInfo(m_type); }
executed 443842 times by 299 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
  • ...
443842
1341private:-
1342 void customTypeInfo(const uint type)-
1343 {-
1344 const QVector<QCustomTypeInfo> * const ct = customTypes();-
1345 if (__builtin_expect(!!(!ct), false)
__builtin_expe...!(!ct), false)Description
TRUEnever evaluated
FALSEevaluated 443842 times by 299 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-443842
1346 return;
never executed: return;
0
1347 QReadLocker locker(customTypesLock());-
1348 if (__builtin_expect(!!(uint(ct->count()) > type - QMetaType::User), true)
__builtin_expe...::User), true)Description
TRUEevaluated 443808 times by 299 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-443808
1349 info = ct->at(type - QMetaType::User);
executed 443808 times by 299 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
  • ...
443808
1350 }
executed 443842 times by 299 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
  • ...
443842
1351-
1352 const uint m_type;-
1353};-
1354}-
1355-
1356-
1357-
1358-
1359-
1360QMetaType QMetaType::typeInfo(const int type)-
1361{-
1362 TypeInfo typeInfo(type);-
1363 QMetaTypeSwitcher::switcher<void>(typeInfo, type, 0);-
1364 return
executed 1261670 times by 449 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_Gcc_char
  • ...
typeInfo.info.constructor
typeInfo.info.constructorDescription
TRUEevaluated 1261570 times by 449 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_Gcc_char
  • ...
FALSEevaluated 100 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
? QMetaType(static_cast<ExtensionFlag>(QMetaType::CreateEx | QMetaType::DestroyEx)
executed 1261670 times by 449 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_Gcc_char
  • ...
100-1261670
1365 , static_cast<const QMetaTypeInterface *>(0)
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1366 , 0
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1367 , 0
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1368 , typeInfo.info.saveOp
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1369 , typeInfo.info.loadOp
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1370 , typeInfo.info.constructor
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1371 , typeInfo.info.destructor
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1372 , typeInfo.info.size
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1373 , typeInfo.info.flags
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1374 , type
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1375 , typeInfo.info.metaObject)
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1376 : QMetaType(UnknownType);
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1377}-
1378-
1379-
1380-
1381-
1382-
1383-
1384-
1385QMetaType::QMetaType(const int typeId)-
1386 : m_typeId(typeId)-
1387{-
1388 if (__builtin_expect(!!(typeId == UnknownType), false)
__builtin_expe...nType), false)Description
TRUEevaluated 21416 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 1261670 times by 449 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_Gcc_char
  • ...
) {
21416-1261670
1389-
1390 m_extensionFlags = 0xffffffff;-
1391 ((!(!isValid())) ? qt_assert("!isValid()",__FILE__,2282) : qt_noop());-
1392 }
executed 21416 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 {
21416
1393-
1394 *this = QMetaType::typeInfo(typeId);-
1395 if (m_typeId == UnknownType
m_typeId == UnknownTypeDescription
TRUEevaluated 100 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
FALSEevaluated 1261570 times by 449 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_Gcc_char
  • ...
)
100-1261570
1396 m_extensionFlags = 0xffffffff;
executed 100 times by 4 tests: m_extensionFlags = 0xffffffff;
Executed by:
  • tst_QGuiVariant
  • tst_QMetaType
  • tst_QVariant
  • tst_QWidgetsVariant
100
1397 else if (m_typeId == QMetaType::Void
m_typeId == QMetaType::VoidDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_QMetaType
FALSEevaluated 1261562 times by 449 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_Gcc_char
  • ...
)
8-1261562
1398 m_extensionFlags = CreateEx | DestroyEx | ConstructEx | DestructEx;
executed 8 times by 1 test: m_extensionFlags = CreateEx | DestroyEx | ConstructEx | DestructEx;
Executed by:
  • tst_QMetaType
8
1399 }
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1400}-
1401-
1402-
1403-
1404-
1405-
1406-
1407-
1408QMetaType::QMetaType(const QMetaType &other)-
1409 : m_creator_unused(other.m_creator_unused)-
1410 , m_deleter_unused(other.m_deleter_unused)-
1411 , m_saveOp(other.m_saveOp)-
1412 , m_loadOp(other.m_loadOp)-
1413 , m_constructor(other.m_constructor)-
1414 , m_destructor(other.m_destructor)-
1415 , m_extension(other.m_extension)-
1416 , m_size(other.m_size)-
1417 , m_typeFlags(other.m_typeFlags)-
1418 , m_extensionFlags(other.m_extensionFlags)-
1419 , m_typeId(other.m_typeId)-
1420 , m_metaObject(other.m_metaObject)-
1421{}
never executed: end of block
0
1422-
1423QMetaType &QMetaType::operator =(const QMetaType &other)-
1424{-
1425 m_creator_unused = other.m_creator_unused;-
1426 m_deleter_unused = other.m_deleter_unused;-
1427 m_saveOp = other.m_saveOp;-
1428 m_loadOp = other.m_loadOp;-
1429 m_constructor = other.m_constructor;-
1430 m_destructor = other.m_destructor;-
1431 m_size = other.m_size;-
1432 m_typeFlags = other.m_typeFlags;-
1433 m_extensionFlags = other.m_extensionFlags;-
1434 m_extension = other.m_extension;-
1435 m_typeId = other.m_typeId;-
1436 m_metaObject = other.m_metaObject;-
1437 return
executed 1261670 times by 449 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_Gcc_char
  • ...
*this;
executed 1261670 times by 449 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_Gcc_char
  • ...
1261670
1438}-
1439void QMetaType::ctor(const QMetaTypeInterface *info)-
1440{-
1441-
1442-
1443-
1444 ((!(m_typeId == QMetaType::Void)) ? qt_assert("m_typeId == QMetaType::Void",__FILE__,2344) : qt_noop());-
1445 (void)info;;-
1446 m_extensionFlags = CreateEx | DestroyEx | ConstructEx | DestructEx;-
1447}
executed 8 times by 1 test: end of block
Executed by:
  • tst_QMetaType
8
1448void QMetaType::dtor()-
1449{}-
1450void *QMetaType::createExtended(const void *copy) const-
1451{-
1452 if (m_typeId == QMetaType::UnknownType
m_typeId == QM...e::UnknownTypeDescription
TRUEnever evaluated
FALSEevaluated 4140 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-4140
1453 return
never executed: return 0;
0;
never executed: return 0;
0
1454 return
executed 4140 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 4140 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
  • ...
4140
1455}-
1456void QMetaType::destroyExtended(void *data) const-
1457{-
1458 m_destructor(data);-
1459 operator delete(data);-
1460}
executed 6096 times by 1 test: end of block
Executed by:
  • tst_QMetaType
6096
1461void *QMetaType::constructExtended(void *where, const void *copy) const-
1462{-
1463 (void)where;;-
1464 (void)copy;;-
1465 return
never executed: return 0;
0;
never executed: return 0;
0
1466}-
1467void QMetaType::destructExtended(void *data) const-
1468{-
1469 (void)data;;-
1470}
executed 27 times by 1 test: end of block
Executed by:
  • tst_QMetaType
27
1471uint QMetaType::sizeExtended() const-
1472{-
1473 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
1474}-
1475QMetaType::TypeFlags QMetaType::flagsExtended() const-
1476{-
1477 return
executed 21221 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 21221 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
  • ...
21221
1478}-
1479const QMetaObject *QMetaType::metaObjectExtended() const-
1480{-
1481 return
never executed: return 0;
0;
never executed: return 0;
0
1482}-
1483-
1484-
1485namespace QtPrivate-
1486{-
1487const QMetaObject *metaObjectForQWidget()-
1488{-
1489 if (!qMetaTypeWidgetsHelper
!qMetaTypeWidgetsHelperDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1490 return
never executed: return 0;
0;
never executed: return 0;
0
1491 return
never executed: return qMetaObjectWidgetsHelper;
qMetaObjectWidgetsHelper;
never executed: return qMetaObjectWidgetsHelper;
0
1492}-
1493}-
1494-
1495namespace QtMetaTypePrivate {-
1496const bool VectorBoolElements::true_element = true;-
1497const bool VectorBoolElements::false_element = false;-
1498}-
1499-
1500-
Switch to Source codePreprocessed file

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