| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | const int log10_2_10000 = 30103; | - |
| 10 | | - |
| 11 | const int max_digits10_double = (53 * log10_2_10000) / 100000 + 2; | - |
| 12 | const int max_digits10_float = (24 * log10_2_10000) / 100000 + 2; | - |
| 13 | | - |
| 14 | namespace { | - |
| 15 | class HandlersManager | - |
| 16 | { | - |
| 17 | static const QVariant::Handler *Handlers[QModulesPrivate::ModulesCount]; | - |
| 18 | public: | - |
| 19 | const QVariant::Handler *operator[] (const uint typeId) const | - |
| 20 | { | - |
| 21 | returnexecuted 28720924 times by 453 tests: return Handlers[QModulesPrivate::moduleForType(typeId)];Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
Handlers[QModulesPrivate::moduleForType(typeId)];executed 28720924 times by 453 tests: return Handlers[QModulesPrivate::moduleForType(typeId)];Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 28720924 |
| 22 | } | - |
| 23 | | - |
| 24 | void registerHandler(const QModulesPrivate::Names name, const QVariant::Handler *handler) | - |
| 25 | { | - |
| 26 | Handlers[name] = handler; | - |
| 27 | }executed 250 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 250 |
| 28 | }; | - |
| 29 | } | - |
| 30 | | - |
| 31 | namespace { | - |
| 32 | struct CoreTypesFilter { | - |
| 33 | template<typename T> | - |
| 34 | struct Acceptor { | - |
| 35 | static const bool IsAccepted = QModulesPrivate::QTypeModuleInfo<T>::IsCore && QtMetaTypePrivate::TypeDefinition<T>::IsAvailable; | - |
| 36 | }; | - |
| 37 | }; | - |
| 38 | } | - |
| 39 | | - |
| 40 | namespace { | - |
| 41 | | - |
| 42 | static void construct(QVariant::Private *x, const void *copy) | - |
| 43 | { | - |
| 44 | QVariantConstructor<CoreTypesFilter> constructor(x, copy); | - |
| 45 | QMetaTypeSwitcher::switcher<void>(constructor, x->type, 0); | - |
| 46 | }executed 8176452 times by 393 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 8176452 |
| 47 | | - |
| 48 | static void clear(QVariant::Private *d) | - |
| 49 | { | - |
| 50 | QVariantDestructor<CoreTypesFilter> cleaner(d); | - |
| 51 | QMetaTypeSwitcher::switcher<void>(cleaner, d->type, 0); | - |
| 52 | }executed 12180706 times by 423 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 12180706 |
| 53 | | - |
| 54 | static bool isNull(const QVariant::Private *d) | - |
| 55 | { | - |
| 56 | QVariantIsNull<CoreTypesFilter> isNull(d); | - |
| 57 | returnexecuted 409602 times by 135 tests: return QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);executed 409602 times by 135 tests: return QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
| 409602 |
| 58 | } | - |
| 59 | | - |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | static bool compare(const QVariant::Private *a, const QVariant::Private *b) | - |
| 67 | { | - |
| 68 | QVariantComparator<CoreTypesFilter> comparator(a, b); | - |
| 69 | returnexecuted 94447 times by 73 tests: return QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- ...
QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);executed 94447 times by 73 tests: return QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- ...
| 94447 |
| 70 | } | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | static qlonglong qMetaTypeNumber(const QVariant::Private *d) | - |
| 76 | { | - |
| 77 | switch (d->type) { | - |
| 78 | caseexecuted 457809 times by 94 tests: case QMetaType::Int:Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
QMetaType::Int:executed 457809 times by 94 tests: case QMetaType::Int:Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
| 457809 |
| 79 | returnexecuted 457809 times by 94 tests: return d->data.i;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
d->data.i;executed 457809 times by 94 tests: return d->data.i;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
| 457809 |
| 80 | caseexecuted 5987 times by 21 tests: case QMetaType::LongLong:Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
QMetaType::LongLong:executed 5987 times by 21 tests: case QMetaType::LongLong:Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
| 5987 |
| 81 | returnexecuted 5987 times by 21 tests: return d->data.ll;Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
d->data.ll;executed 5987 times by 21 tests: return d->data.ll;Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
| 5987 |
| 82 | caseexecuted 177 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 177 times by 1 test: case QMetaType::Char: | 177 |
| 83 | returnexecuted 177 times by 1 test: return qlonglong(d->data.c); qlonglong(d->data.c);executed 177 times by 1 test: return qlonglong(d->data.c); | 177 |
| 84 | caseexecuted 186 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 186 times by 1 test: case QMetaType::SChar: | 186 |
| 85 | returnexecuted 186 times by 1 test: return qlonglong(d->data.sc); qlonglong(d->data.sc);executed 186 times by 1 test: return qlonglong(d->data.sc); | 186 |
| 86 | caseexecuted 231 times by 2 tests: case QMetaType::Short:Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::Short:executed 231 times by 2 tests: case QMetaType::Short:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 231 |
| 87 | returnexecuted 231 times by 2 tests: return qlonglong(d->data.s);Executed by:- tst_QDBusMarshall
- tst_QVariant
qlonglong(d->data.s);executed 231 times by 2 tests: return qlonglong(d->data.s);Executed by:- tst_QDBusMarshall
- tst_QVariant
| 231 |
| 88 | caseexecuted 120 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 120 times by 1 test: case QMetaType::Long: | 120 |
| 89 | returnexecuted 120 times by 1 test: return qlonglong(d->data.l); qlonglong(d->data.l);executed 120 times by 1 test: return qlonglong(d->data.l); | 120 |
| 90 | caseexecuted 12 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 12 times by 1 test: case QMetaType::Float: | 12 |
| 91 | returnexecuted 12 times by 1 test: return qRound64(d->data.f); qRound64(d->data.f);executed 12 times by 1 test: return qRound64(d->data.f); | 12 |
| 92 | caseexecuted 231 times by 13 tests: case QVariant::Double:Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::Double:executed 231 times by 13 tests: case QVariant::Double:Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 231 |
| 93 | returnexecuted 231 times by 13 tests: return qRound64(d->data.d);Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
qRound64(d->data.d);executed 231 times by 13 tests: return qRound64(d->data.d);Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 231 |
| 94 | | - |
| 95 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
| 96 | returnexecuted 4 times by 1 test: return v_cast<QJsonValue>(d)->toDouble(); v_cast<QJsonValue>(d)->toDouble();executed 4 times by 1 test: return v_cast<QJsonValue>(d)->toDouble(); | 4 |
| 97 | | - |
| 98 | } | - |
| 99 | ((!(false)) ? qt_assert("false",__FILE__,171) : qt_noop()); | - |
| 100 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 101 | } | - |
| 102 | | - |
| 103 | static qulonglong qMetaTypeUNumber(const QVariant::Private *d) | - |
| 104 | { | - |
| 105 | switch (d->type) { | - |
| 106 | caseexecuted 2310 times by 23 tests: case QVariant::UInt:Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
QVariant::UInt:executed 2310 times by 23 tests: case QVariant::UInt:Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
| 2310 |
| 107 | returnexecuted 2310 times by 23 tests: return d->data.u;Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
d->data.u;executed 2310 times by 23 tests: return d->data.u;Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
| 2310 |
| 108 | caseexecuted 465 times by 19 tests: case QVariant::ULongLong:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
QVariant::ULongLong:executed 465 times by 19 tests: case QVariant::ULongLong:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 465 |
| 109 | returnexecuted 465 times by 19 tests: return d->data.ull;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
d->data.ull;executed 465 times by 19 tests: return d->data.ull;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 465 |
| 110 | caseexecuted 153 times by 2 tests: case QMetaType::UChar:Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UChar:executed 153 times by 2 tests: case QMetaType::UChar:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 153 |
| 111 | returnexecuted 153 times by 2 tests: return d->data.uc;Executed by:- tst_QDBusMarshall
- tst_QVariant
d->data.uc;executed 153 times by 2 tests: return d->data.uc;Executed by:- tst_QDBusMarshall
- tst_QVariant
| 153 |
| 112 | caseexecuted 183 times by 2 tests: case QMetaType::UShort:Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UShort:executed 183 times by 2 tests: case QMetaType::UShort:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 183 |
| 113 | returnexecuted 183 times by 2 tests: return d->data.us;Executed by:- tst_QDBusMarshall
- tst_QVariant
d->data.us;executed 183 times by 2 tests: return d->data.us;Executed by:- tst_QDBusMarshall
- tst_QVariant
| 183 |
| 114 | caseexecuted 87 times by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 87 times by 1 test: case QMetaType::ULong: | 87 |
| 115 | returnexecuted 87 times by 1 test: return d->data.ul; d->data.ul;executed 87 times by 1 test: return d->data.ul; | 87 |
| 116 | } | - |
| 117 | ((!(false)) ? qt_assert("false",__FILE__,189) : qt_noop()); | - |
| 118 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 119 | } | - |
| 120 | | - |
| 121 | static qlonglong qConvertToNumber(const QVariant::Private *d, bool *ok) | - |
| 122 | { | - |
| 123 | *ok = true; | - |
| 124 | | - |
| 125 | switch (uint(d->type)) { | - |
| 126 | caseexecuted 12467 times by 37 tests: case QVariant::String:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
QVariant::String:executed 12467 times by 37 tests: case QVariant::String:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
| 12467 |
| 127 | returnexecuted 12467 times by 37 tests: return v_cast<QString>(d)->toLongLong(ok);Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
v_cast<QString>(d)->toLongLong(ok);executed 12467 times by 37 tests: return v_cast<QString>(d)->toLongLong(ok);Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
| 12467 |
| 128 | caseexecuted 7 times by 2 tests: case QVariant::Char:Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Char:executed 7 times by 2 tests: case QVariant::Char:Executed by:- tst_QMetaType
- tst_QVariant
| 7 |
| 129 | returnexecuted 7 times by 2 tests: return v_cast<QChar>(d)->unicode();Executed by:- tst_QMetaType
- tst_QVariant
v_cast<QChar>(d)->unicode();executed 7 times by 2 tests: return v_cast<QChar>(d)->unicode();Executed by:- tst_QMetaType
- tst_QVariant
| 7 |
| 130 | caseexecuted 5 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 5 times by 1 test: case QVariant::ByteArray: | 5 |
| 131 | returnexecuted 5 times by 1 test: return v_cast<QByteArray>(d)->toLongLong(ok); v_cast<QByteArray>(d)->toLongLong(ok);executed 5 times by 1 test: return v_cast<QByteArray>(d)->toLongLong(ok); | 5 |
| 132 | caseexecuted 541 times by 22 tests: case QVariant::Bool:Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
QVariant::Bool:executed 541 times by 22 tests: case QVariant::Bool:Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
| 541 |
| 133 | returnexecuted 541 times by 22 tests: return qlonglong(d->data.b);Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
qlonglong(d->data.b);executed 541 times by 22 tests: return qlonglong(d->data.b);Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
| 541 |
| 134 | | - |
| 135 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
| 136 | if (!v_cast<QJsonValue>(d)->isDouble()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2 |
| 137 | break;executed 2 times by 1 test: break; | 2 |
| 138 | | - |
| 139 | | - |
| 140 | caseexecuted 217 times by 13 tests: case QVariant::Double:Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::Double:executed 217 times by 13 tests: case QVariant::Double:Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
code before this statement executed 2 times by 1 test: case QVariant::Double: | 2-217 |
| 141 | caseexecuted 429310 times by 81 tests: case QVariant::Int:Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- ...
QVariant::Int:executed 429310 times by 81 tests: case QVariant::Int:Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- ...
| 429310 |
| 142 | caseexecuted 168 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 168 times by 1 test: case QMetaType::Char: | 168 |
| 143 | caseexecuted 169 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 169 times by 1 test: case QMetaType::SChar: | 169 |
| 144 | caseexecuted 201 times by 2 tests: case QMetaType::Short:Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::Short:executed 201 times by 2 tests: case QMetaType::Short:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 201 |
| 145 | caseexecuted 108 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 108 times by 1 test: case QMetaType::Long: | 108 |
| 146 | caseexecuted 3 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 3 times by 1 test: case QMetaType::Float: | 3 |
| 147 | caseexecuted 5456 times by 20 tests: case QMetaType::LongLong:Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_Spdy
QMetaType::LongLong:executed 5456 times by 20 tests: case QMetaType::LongLong:Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_Spdy
| 5456 |
| 148 | returnexecuted 435634 times by 86 tests: return qMetaTypeNumber(d);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
qMetaTypeNumber(d);executed 435634 times by 86 tests: return qMetaTypeNumber(d);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
| 435634 |
| 149 | caseexecuted 323 times by 4 tests: case QVariant::ULongLong:Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QSignalSpy
- tst_QVariant
QVariant::ULongLong:executed 323 times by 4 tests: case QVariant::ULongLong:Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QSignalSpy
- tst_QVariant
| 323 |
| 150 | caseexecuted 742 times by 11 tests: case QVariant::UInt:Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
QVariant::UInt:executed 742 times by 11 tests: case QVariant::UInt:Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
| 742 |
| 151 | caseexecuted 136 times by 2 tests: case QMetaType::UChar:Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UChar:executed 136 times by 2 tests: case QMetaType::UChar:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 136 |
| 152 | caseexecuted 146 times by 2 tests: case QMetaType::UShort:Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UShort:executed 146 times by 2 tests: case QMetaType::UShort:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 146 |
| 153 | caseexecuted 86 times by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 86 times by 1 test: case QMetaType::ULong: | 86 |
| 154 | | - |
| 155 | returnexecuted 1433 times by 12 tests: return qlonglong(qMetaTypeUNumber(d));Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QVariant
qlonglong(qMetaTypeUNumber(d));executed 1433 times by 12 tests: return qlonglong(qMetaTypeUNumber(d));Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QVariant
| 1433 |
| 156 | } | - |
| 157 | | - |
| 158 | QMetaType typeInfo(d->type); | - |
| 159 | if (typeInfo.flags() & QMetaType::IsEnumeration| TRUE | evaluated 116 times by 4 testsEvaluated by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| | FALSE | evaluated 868 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_Spdy
- tst_qinputmethod
|
) { | 116-868 |
| 160 | switch (typeInfo.sizeOf()) { | - |
| 161 | caseexecuted 10 times by 1 test: case 1: 1:executed 10 times by 1 test: case 1: | 10 |
| 162 | returnexecuted 10 times by 1 test: return d->is_shared ? *reinterpret_cast<signed char *>(d->data.shared->ptr) : d->data.sc; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 test |
? *reinterpret_cast<signed char *>(d->data.shared->ptr) : d->data.sc;executed 10 times by 1 test: return d->is_shared ? *reinterpret_cast<signed char *>(d->data.shared->ptr) : d->data.sc; | 0-10 |
| 163 | caseexecuted 10 times by 1 test: case 2: 2:executed 10 times by 1 test: case 2: | 10 |
| 164 | returnexecuted 10 times by 1 test: return d->is_shared ? *reinterpret_cast<qint16 *>(d->data.shared->ptr) : d->data.s; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 test |
? *reinterpret_cast<qint16 *>(d->data.shared->ptr) : d->data.s;executed 10 times by 1 test: return d->is_shared ? *reinterpret_cast<qint16 *>(d->data.shared->ptr) : d->data.s; | 0-10 |
| 165 | caseexecuted 32 times by 4 tests: case 4:Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
4:executed 32 times by 4 tests: case 4:Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| 32 |
| 166 | returnexecuted 32 times by 4 tests: return d->is_shared ? *reinterpret_cast<qint32 *>(d->data.shared->ptr) : d->data.i;Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
d->is_shared| TRUE | never evaluated | | FALSE | evaluated 32 times by 4 testsEvaluated by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
|
? *reinterpret_cast<qint32 *>(d->data.shared->ptr) : d->data.i;executed 32 times by 4 tests: return d->is_shared ? *reinterpret_cast<qint32 *>(d->data.shared->ptr) : d->data.i;Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| 0-32 |
| 167 | caseexecuted 64 times by 1 test: case 8: 8:executed 64 times by 1 test: case 8: | 64 |
| 168 | returnexecuted 64 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ll; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 64 times by 1 test |
? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ll;executed 64 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ll; | 0-64 |
| 169 | } | - |
| 170 | } never executed: end of block | 0 |
| 171 | | - |
| 172 | *ok = false; | - |
| 173 | returnexecuted 868 times by 19 tests: return static_cast<long long>(0LL);Executed by:- tst_QAccessibility
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_Spdy
- tst_qinputmethod
static_cast<long long>(0LL);executed 868 times by 19 tests: return static_cast<long long>(0LL);Executed by:- tst_QAccessibility
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_Spdy
- tst_qinputmethod
| 868 |
| 174 | } | - |
| 175 | | - |
| 176 | static qreal qConvertToRealNumber(const QVariant::Private *d, bool *ok) | - |
| 177 | { | - |
| 178 | *ok = true; | - |
| 179 | switch (uint(d->type)) { | - |
| 180 | caseexecuted 10981 times by 32 tests: case QVariant::Double:Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
QVariant::Double:executed 10981 times by 32 tests: case QVariant::Double:Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 10981 |
| 181 | returnexecuted 10981 times by 32 tests: return qreal(d->data.d);Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
qreal(d->data.d);executed 10981 times by 32 tests: return qreal(d->data.d);Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 10981 |
| 182 | caseexecuted 301 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 301 times by 1 test: case QMetaType::Float: | 301 |
| 183 | returnexecuted 301 times by 1 test: return qreal(d->data.f); qreal(d->data.f);executed 301 times by 1 test: return qreal(d->data.f); | 301 |
| 184 | case never executed: case QVariant::ULongLong: QVariant::ULongLong:never executed: case QVariant::ULongLong: | 0 |
| 185 | caseexecuted 80 times by 1 test: case QVariant::UInt: QVariant::UInt:executed 80 times by 1 test: case QVariant::UInt: | 80 |
| 186 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
| 187 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
| 188 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 189 | returnexecuted 80 times by 1 test: return qreal(qMetaTypeUNumber(d)); qreal(qMetaTypeUNumber(d));executed 80 times by 1 test: return qreal(qMetaTypeUNumber(d)); | 80 |
| 190 | defaultexecuted 96 times by 3 tests: default:Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
:executed 96 times by 3 tests: default:Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 96 |
| 191 | | - |
| 192 | returnexecuted 96 times by 3 tests: return qreal(qConvertToNumber(d, ok));Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
qreal(qConvertToNumber(d, ok));executed 96 times by 3 tests: return qreal(qConvertToNumber(d, ok));Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 96 |
| 193 | } | - |
| 194 | } | - |
| 195 | | - |
| 196 | static qulonglong qConvertToUnsignedNumber(const QVariant::Private *d, bool *ok) | - |
| 197 | { | - |
| 198 | *ok = true; | - |
| 199 | | - |
| 200 | switch (uint(d->type)) { | - |
| 201 | caseexecuted 47 times by 3 tests: case QVariant::String:Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
QVariant::String:executed 47 times by 3 tests: case QVariant::String:Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
| 47 |
| 202 | returnexecuted 47 times by 3 tests: return v_cast<QString>(d)->toULongLong(ok);Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
v_cast<QString>(d)->toULongLong(ok);executed 47 times by 3 tests: return v_cast<QString>(d)->toULongLong(ok);Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
| 47 |
| 203 | caseexecuted 2 times by 1 test: case QVariant::Char: QVariant::Char:executed 2 times by 1 test: case QVariant::Char: | 2 |
| 204 | returnexecuted 2 times by 1 test: return v_cast<QChar>(d)->unicode(); v_cast<QChar>(d)->unicode();executed 2 times by 1 test: return v_cast<QChar>(d)->unicode(); | 2 |
| 205 | caseexecuted 4 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 4 times by 1 test: case QVariant::ByteArray: | 4 |
| 206 | returnexecuted 4 times by 1 test: return v_cast<QByteArray>(d)->toULongLong(ok); v_cast<QByteArray>(d)->toULongLong(ok);executed 4 times by 1 test: return v_cast<QByteArray>(d)->toULongLong(ok); | 4 |
| 207 | case never executed: case QVariant::Bool: QVariant::Bool:never executed: case QVariant::Bool: | 0 |
| 208 | return never executed: return qulonglong(d->data.b); qulonglong(d->data.b);never executed: return qulonglong(d->data.b); | 0 |
| 209 | | - |
| 210 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
| 211 | if (!v_cast<QJsonValue>(d)->isDouble()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2 |
| 212 | break;executed 2 times by 1 test: break; | 2 |
| 213 | | - |
| 214 | | - |
| 215 | caseexecuted 3 times by 1 test: case QVariant::Double: QVariant::Double:executed 3 times by 1 test: case QVariant::Double: code before this statement executed 2 times by 1 test: case QVariant::Double: | 2-3 |
| 216 | caseexecuted 47 times by 6 tests: case QVariant::Int:Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QVariant
- tst_QWidget
QVariant::Int:executed 47 times by 6 tests: case QVariant::Int:Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QVariant
- tst_QWidget
| 47 |
| 217 | caseexecuted 1 time by 1 test: case QMetaType::Char: QMetaType::Char:executed 1 time by 1 test: case QMetaType::Char: | 1 |
| 218 | caseexecuted 1 time by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 1 time by 1 test: case QMetaType::SChar: | 1 |
| 219 | caseexecuted 2 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 2 times by 1 test: case QMetaType::Short: | 2 |
| 220 | caseexecuted 7 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 7 times by 1 test: case QMetaType::Long: | 7 |
| 221 | caseexecuted 3 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 3 times by 1 test: case QMetaType::Float: | 3 |
| 222 | caseexecuted 5 times by 2 tests: case QMetaType::LongLong:Executed by:- tst_QSqlDatabase
- tst_QVariant
QMetaType::LongLong:executed 5 times by 2 tests: case QMetaType::LongLong:Executed by:- tst_QSqlDatabase
- tst_QVariant
| 5 |
| 223 | returnexecuted 71 times by 7 tests: return qulonglong(qMetaTypeNumber(d));Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QSqlDatabase
- tst_QVariant
- tst_QWidget
qulonglong(qMetaTypeNumber(d));executed 71 times by 7 tests: return qulonglong(qMetaTypeNumber(d));Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QSqlDatabase
- tst_QVariant
- tst_QWidget
| 71 |
| 224 | caseexecuted 75 times by 16 tests: case QVariant::ULongLong:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
QVariant::ULongLong:executed 75 times by 16 tests: case QVariant::ULongLong:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 75 |
| 225 | caseexecuted 34 times by 3 tests: case QVariant::UInt:Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QVariant
QVariant::UInt:executed 34 times by 3 tests: case QVariant::UInt:Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QVariant
| 34 |
| 226 | caseexecuted 1 time by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 1 time by 1 test: case QMetaType::UChar: | 1 |
| 227 | caseexecuted 11 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 11 times by 1 test: case QMetaType::UShort: | 11 |
| 228 | caseexecuted 1 time by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 1 time by 1 test: case QMetaType::ULong: | 1 |
| 229 | returnexecuted 122 times by 18 tests: return qMetaTypeUNumber(d);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
qMetaTypeUNumber(d);executed 122 times by 18 tests: return qMetaTypeUNumber(d);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 122 |
| 230 | } | - |
| 231 | | - |
| 232 | QMetaType typeInfo(d->type); | - |
| 233 | if (typeInfo.flags() & QMetaType::IsEnumeration| TRUE | evaluated 69 times by 1 test | | FALSE | evaluated 54 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWidget
- tst_QWizard
- tst_qapplication - unknown status
|
) { | 54-69 |
| 234 | switch (typeInfo.sizeOf()) { | - |
| 235 | caseexecuted 6 times by 1 test: case 1: 1:executed 6 times by 1 test: case 1: | 6 |
| 236 | returnexecuted 6 times by 1 test: return d->is_shared ? *reinterpret_cast<uchar *>(d->data.shared->ptr) : d->data.uc; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
? *reinterpret_cast<uchar *>(d->data.shared->ptr) : d->data.uc;executed 6 times by 1 test: return d->is_shared ? *reinterpret_cast<uchar *>(d->data.shared->ptr) : d->data.uc; | 0-6 |
| 237 | caseexecuted 6 times by 1 test: case 2: 2:executed 6 times by 1 test: case 2: | 6 |
| 238 | returnexecuted 6 times by 1 test: return d->is_shared ? *reinterpret_cast<quint16 *>(d->data.shared->ptr) : d->data.us; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
? *reinterpret_cast<quint16 *>(d->data.shared->ptr) : d->data.us;executed 6 times by 1 test: return d->is_shared ? *reinterpret_cast<quint16 *>(d->data.shared->ptr) : d->data.us; | 0-6 |
| 239 | caseexecuted 18 times by 1 test: case 4: 4:executed 18 times by 1 test: case 4: | 18 |
| 240 | returnexecuted 18 times by 1 test: return d->is_shared ? *reinterpret_cast<quint32 *>(d->data.shared->ptr) : d->data.u; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 18 times by 1 test |
? *reinterpret_cast<quint32 *>(d->data.shared->ptr) : d->data.u;executed 18 times by 1 test: return d->is_shared ? *reinterpret_cast<quint32 *>(d->data.shared->ptr) : d->data.u; | 0-18 |
| 241 | caseexecuted 39 times by 1 test: case 8: 8:executed 39 times by 1 test: case 8: | 39 |
| 242 | returnexecuted 39 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ull; d->is_shared| TRUE | never evaluated | | FALSE | evaluated 39 times by 1 test |
? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ull;executed 39 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ull; | 0-39 |
| 243 | } | - |
| 244 | } never executed: end of block | 0 |
| 245 | | - |
| 246 | *ok = false; | - |
| 247 | returnexecuted 54 times by 11 tests: return static_cast<unsigned long long>(0ULL);Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWidget
- tst_QWizard
- tst_qapplication - unknown status
static_cast<unsigned long long>(0ULL);executed 54 times by 11 tests: return static_cast<unsigned long long>(0ULL);Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWidget
- tst_QWizard
- tst_qapplication - unknown status
| 54 |
| 248 | } | - |
| 249 | | - |
| 250 | template<typename TInput, typename LiteralWrapper> | - |
| 251 | inline bool qt_convertToBool(const QVariant::Private *const d) | - |
| 252 | { | - |
| 253 | TInput str = v_cast<TInput>(d)->toLower(); | - |
| 254 | returnexecuted 30 times by 3 tests: return !(str == LiteralWrapper("0") || str == LiteralWrapper("false") || str.isEmpty());Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
!(str == LiteralWrapper("0")| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
|
|| str == LiteralWrapper("false")| TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| | FALSE | evaluated 21 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
|| str.isEmpty()| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
);executed 30 times by 3 tests: return !(str == LiteralWrapper("0") || str == LiteralWrapper("false") || str.isEmpty());Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 1-30 |
| 255 | } | - |
| 256 | | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | | - |
| 262 | static const void *constData(const QVariant::Private &d) | - |
| 263 | { | - |
| 264 | returnexecuted 2616 times by 33 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.c);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
- ...
d.is_shared| TRUE | evaluated 373 times by 6 testsEvaluated by:- tst_QFtp
- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 2243 times by 30 testsEvaluated 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_QGraphicsItem
- tst_QGuiApplication
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QNetworkRequest
- tst_QPrinter
- tst_QProcess
- tst_QStyleSheetStyle
- ...
|
? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.c);executed 2616 times by 33 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.c);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
- ...
| 373-2616 |
| 265 | } | - |
| 266 | | - |
| 267 | | - |
| 268 | | - |
| 269 | | - |
| 270 | | - |
| 271 | | - |
| 272 | static QMetaEnum metaEnumFromType(int type) | - |
| 273 | { | - |
| 274 | QMetaType t(type); | - |
| 275 | if (t.flags() & QMetaType::IsEnumeration| TRUE | evaluated 37 times by 1 test | | FALSE | evaluated 20480 times by 38 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
|
) { | 37-20480 |
| 276 | if (const| TRUE | evaluated 37 times by 1 test | | FALSE | never evaluated |
QMetaObject *metaObject = t.metaObject()| TRUE | evaluated 37 times by 1 test | | FALSE | never evaluated |
) { | 0-37 |
| 277 | const char *enumName = QMetaType::typeName(type); | - |
| 278 | const char *lastColon = std::strrchr(enumName, ':'); | - |
| 279 | if (lastColon| TRUE | evaluated 37 times by 1 test | | FALSE | never evaluated |
) | 0-37 |
| 280 | enumName = lastColon + 1;executed 37 times by 1 test: enumName = lastColon + 1; | 37 |
| 281 | returnexecuted 37 times by 1 test: return metaObject->enumerator(metaObject->indexOfEnumerator(enumName)); metaObject->enumerator(metaObject->indexOfEnumerator(enumName));executed 37 times by 1 test: return metaObject->enumerator(metaObject->indexOfEnumerator(enumName)); | 37 |
| 282 | } | - |
| 283 | } never executed: end of block | 0 |
| 284 | returnexecuted 20480 times by 38 tests: return QMetaEnum();Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
QMetaEnum();executed 20480 times by 38 tests: return QMetaEnum();Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
| 20480 |
| 285 | } | - |
| 286 | | - |
| 287 | | - |
| 288 | | - |
| 289 | | - |
| 290 | | - |
| 291 | | - |
| 292 | | - |
| 293 | static bool convert(const QVariant::Private *d, int t, void *result, bool *ok) | - |
| 294 | { | - |
| 295 | ((!(d->type != uint(t))) ? qt_assert("d->type != uint(t)",__FILE__,367) : qt_noop()); | - |
| 296 | ((!(result)) ? qt_assert("result",__FILE__,368) : qt_noop()); | - |
| 297 | | - |
| 298 | if (d->type >= QMetaType::User| TRUE | evaluated 606 times by 5 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| | FALSE | evaluated 419110 times by 199 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
|| t >= QMetaType::User| TRUE | evaluated 228 times by 20 testsEvaluated 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_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| | FALSE | evaluated 418882 times by 192 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
) { | 228-419110 |
| 299 | const bool isOk = QMetaType::convert(constData(*d), d->type, result, t); | - |
| 300 | if (ok| TRUE | evaluated 27 times by 1 test | | FALSE | evaluated 807 times by 24 testsEvaluated 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
|
) | 27-807 |
| 301 | *executed 27 times by 1 test: *ok = isOk; ok = isOk;executed 27 times by 1 test: *ok = isOk; | 27 |
| 302 | if (isOk| TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 807 times by 24 testsEvaluated 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
|
) | 27-807 |
| 303 | returnexecuted 27 times by 2 tests: return true;Executed by:- tst_QMetaType
- tst_QVariant
true;executed 27 times by 2 tests: return true;Executed by:- tst_QMetaType
- tst_QVariant
| 27 |
| 304 | }executed 807 times by 24 tests: end of blockExecuted 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
| 807 |
| 305 | | - |
| 306 | bool dummy; | - |
| 307 | if (!ok| TRUE | evaluated 419082 times by 200 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 607 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- tst_QVariant
- tst_QWizard
- tst_selftests - unknown status
|
) | 607-419082 |
| 308 | ok = &dummy;executed 419082 times by 200 tests: ok = &dummy;Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 419082 |
| 309 | | - |
| 310 | switch (uint(t)) { | - |
| 311 | | - |
| 312 | caseexecuted 6 times by 3 tests: case QVariant::Url:Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
QVariant::Url:executed 6 times by 3 tests: case QVariant::Url:Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
| 313 | switch (d->type) { | - |
| 314 | caseexecuted 6 times by 3 tests: case QVariant::String:Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
QVariant::String:executed 6 times by 3 tests: case QVariant::String:Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
| 315 | *static_cast<QUrl *>(result) = QUrl(*v_cast<QString>(d)); | - |
| 316 | break;executed 6 times by 3 tests: break;Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
| 317 | default never executed: default: :never executed: default: | 0 |
| 318 | return never executed: return false; false;never executed: return false; | 0 |
| 319 | } | - |
| 320 | break;executed 6 times by 3 tests: break;Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
| 321 | caseexecuted 1 time by 1 test: case QVariant::ModelIndex: QVariant::ModelIndex:executed 1 time by 1 test: case QVariant::ModelIndex: | 1 |
| 322 | switch (d->type) { | - |
| 323 | caseexecuted 1 time by 1 test: case QVariant::PersistentModelIndex: QVariant::PersistentModelIndex:executed 1 time by 1 test: case QVariant::PersistentModelIndex: | 1 |
| 324 | *static_cast<QModelIndex *>(result) = QModelIndex(*v_cast<QPersistentModelIndex>(d)); | - |
| 325 | break;executed 1 time by 1 test: break; | 1 |
| 326 | default never executed: default: :never executed: default: | 0 |
| 327 | return never executed: return false; false;never executed: return false; | 0 |
| 328 | } | - |
| 329 | break;executed 1 time by 1 test: break; | 1 |
| 330 | caseexecuted 1 time by 1 test: case QVariant::PersistentModelIndex: QVariant::PersistentModelIndex:executed 1 time by 1 test: case QVariant::PersistentModelIndex: | 1 |
| 331 | switch (d->type) { | - |
| 332 | caseexecuted 1 time by 1 test: case QVariant::ModelIndex: QVariant::ModelIndex:executed 1 time by 1 test: case QVariant::ModelIndex: | 1 |
| 333 | *static_cast<QPersistentModelIndex *>(result) = QPersistentModelIndex(*v_cast<QModelIndex>(d)); | - |
| 334 | break;executed 1 time by 1 test: break; | 1 |
| 335 | default never executed: default: :never executed: default: | 0 |
| 336 | return never executed: return false; false;never executed: return false; | 0 |
| 337 | } | - |
| 338 | break;executed 1 time by 1 test: break; | 1 |
| 339 | | - |
| 340 | caseexecuted 53452 times by 76 tests: case QVariant::String:Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
QVariant::String:executed 53452 times by 76 tests: case QVariant::String:Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
{ | 53452 |
| 341 | QString *str = static_cast<QString *>(result); | - |
| 342 | switch (d->type) { | - |
| 343 | caseexecuted 3926 times by 13 tests: case QVariant::Char:Executed by:- tst_QMetaType
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
QVariant::Char:executed 3926 times by 13 tests: case QVariant::Char:Executed by:- tst_QMetaType
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 3926 |
| 344 | *str = *v_cast<QChar>(d); | - |
| 345 | break;executed 3926 times by 13 tests: break;Executed by:- tst_QMetaType
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 3926 |
| 346 | caseexecuted 29 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 29 times by 1 test: case QMetaType::Char: | 29 |
| 347 | caseexecuted 36 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 36 times by 1 test: case QMetaType::SChar: | 36 |
| 348 | caseexecuted 10 times by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 10 times by 1 test: case QMetaType::UChar: | 10 |
| 349 | *str = QChar::fromLatin1(d->data.c); | - |
| 350 | break;executed 75 times by 1 test: break; | 75 |
| 351 | caseexecuted 10 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 10 times by 1 test: case QMetaType::Short: | 10 |
| 352 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
| 353 | caseexecuted 28359 times by 44 tests: case QVariant::Int:Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- ...
QVariant::Int:executed 28359 times by 44 tests: case QVariant::Int:Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- ...
| 28359 |
| 354 | caseexecuted 250 times by 9 tests: case QVariant::LongLong:Executed by:- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
QVariant::LongLong:executed 250 times by 9 tests: case QVariant::LongLong:Executed by:- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
| 250 |
| 355 | *str = QString::number(qMetaTypeNumber(d)); | - |
| 356 | break;executed 28619 times by 46 tests: break;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- ...
| 28619 |
| 357 | caseexecuted 179 times by 5 tests: case QVariant::UInt:Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QVariant
- tst_languageChange
QVariant::UInt:executed 179 times by 5 tests: case QVariant::UInt:Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QVariant
- tst_languageChange
| 179 |
| 358 | caseexecuted 43 times by 2 tests: case QVariant::ULongLong:Executed by:- tst_QDBusMarshall
- tst_QVariant
QVariant::ULongLong:executed 43 times by 2 tests: case QVariant::ULongLong:Executed by:- tst_QDBusMarshall
- tst_QVariant
| 43 |
| 359 | caseexecuted 10 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 10 times by 1 test: case QMetaType::UShort: | 10 |
| 360 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 361 | *str = QString::number(qMetaTypeUNumber(d)); | - |
| 362 | break;executed 232 times by 5 tests: break;Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QVariant
- tst_languageChange
| 232 |
| 363 | caseexecuted 39 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 39 times by 1 test: case QMetaType::Float: | 39 |
| 364 | *str = QString::number(d->data.f, 'g', max_digits10_float); | - |
| 365 | break;executed 39 times by 1 test: break; | 39 |
| 366 | caseexecuted 118 times by 12 tests: case QVariant::Double:Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
QVariant::Double:executed 118 times by 12 tests: case QVariant::Double:Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
| 118 |
| 367 | *str = QString::number(d->data.d, 'g', max_digits10_double); | - |
| 368 | break;executed 118 times by 12 tests: break;Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
| 118 |
| 369 | | - |
| 370 | caseexecuted 5 times by 2 tests: case QVariant::Date:Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::Date:executed 5 times by 2 tests: case QVariant::Date:Executed by:- tst_QNetworkRequest
- tst_QVariant
| 5 |
| 371 | *str = v_cast<QDate>(d)->toString(Qt::ISODate); | - |
| 372 | break;executed 5 times by 2 tests: break;Executed by:- tst_QNetworkRequest
- tst_QVariant
| 5 |
| 373 | caseexecuted 3 times by 1 test: case QVariant::Time: QVariant::Time:executed 3 times by 1 test: case QVariant::Time: | 3 |
| 374 | *str = v_cast<QTime>(d)->toString(Qt::ISODate); | - |
| 375 | break;executed 3 times by 1 test: break; | 3 |
| 376 | caseexecuted 11 times by 2 tests: case QVariant::DateTime:Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::DateTime:executed 11 times by 2 tests: case QVariant::DateTime:Executed by:- tst_QNetworkRequest
- tst_QVariant
| 11 |
| 377 | *str = v_cast<QDateTime>(d)->toString(Qt::ISODate); | - |
| 378 | break;executed 11 times by 2 tests: break;Executed by:- tst_QNetworkRequest
- tst_QVariant
| 11 |
| 379 | | - |
| 380 | caseexecuted 77 times by 6 tests: case QVariant::Bool:Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
QVariant::Bool:executed 77 times by 6 tests: case QVariant::Bool:Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
| 77 |
| 381 | *str = QLatin1String(d->data.b ? "true" : "false"); | - |
| 382 | break;executed 77 times by 6 tests: break;Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
| 77 |
| 383 | caseexecuted 25 times by 2 tests: case QVariant::ByteArray:Executed by:- tst_QSettings
- tst_QVariant
QVariant::ByteArray:executed 25 times by 2 tests: case QVariant::ByteArray:Executed by:- tst_QSettings
- tst_QVariant
| 25 |
| 384 | *str = QString::fromUtf8(v_cast<QByteArray>(d)->constData()); | - |
| 385 | break;executed 25 times by 2 tests: break;Executed by:- tst_QSettings
- tst_QVariant
| 25 |
| 386 | caseexecuted 18 times by 2 tests: case QVariant::StringList:Executed by:- tst_QStyleSheetStyle
- tst_QVariant
QVariant::StringList:executed 18 times by 2 tests: case QVariant::StringList:Executed by:- tst_QStyleSheetStyle
- tst_QVariant
| 18 |
| 387 | if (v_cast<QStringList>(d)->count() == 1| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QStyleSheetStyle
- tst_QVariant
|
) | 3-15 |
| 388 | *executed 3 times by 1 test: *str = v_cast<QStringList>(d)->at(0); str = v_cast<QStringList>(d)->at(0);executed 3 times by 1 test: *str = v_cast<QStringList>(d)->at(0); | 3 |
| 389 | break;executed 18 times by 2 tests: break;Executed by:- tst_QStyleSheetStyle
- tst_QVariant
| 18 |
| 390 | | - |
| 391 | caseexecuted 8 times by 2 tests: case QVariant::Url:Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::Url:executed 8 times by 2 tests: case QVariant::Url:Executed by:- tst_QNetworkRequest
- tst_QVariant
| 8 |
| 392 | *str = v_cast<QUrl>(d)->toString(); | - |
| 393 | break;executed 8 times by 2 tests: break;Executed by:- tst_QNetworkRequest
- tst_QVariant
| 8 |
| 394 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
| 395 | if (v_cast<QJsonValue>(d)->isString()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1 |
| 396 | *executed 1 time by 1 test: *str = v_cast<QJsonValue>(d)->toString(); str = v_cast<QJsonValue>(d)->toString();executed 1 time by 1 test: *str = v_cast<QJsonValue>(d)->toString(); | 1 |
| 397 | else if (!v_cast<QJsonValue>(d)->isNull()| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 398 | return never executed: return false; false;never executed: return false; | 0 |
| 399 | break;executed 2 times by 1 test: break; | 2 |
| 400 | | - |
| 401 | caseexecuted 19 times by 2 tests: case QVariant::Uuid: QVariant::Uuid:executed 19 times by 2 tests: case QVariant::Uuid: | 19 |
| 402 | *str = v_cast<QUuid>(d)->toString(); | - |
| 403 | break;executed 19 times by 2 tests: break; | 19 |
| 404 | defaultexecuted 20275 times by 38 tests: default:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
:executed 20275 times by 38 tests: default:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
| 20275 |
| 405 | | - |
| 406 | { | - |
| 407 | QMetaEnum en = metaEnumFromType(d->type); | - |
| 408 | if (en.isValid()| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 20265 times by 38 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
|
) { | 10-20265 |
| 409 | *str = QString::fromUtf8(en.valueToKey(qConvertToNumber(d, ok))); | - |
| 410 | returnexecuted 10 times by 1 test: return *ok; *ok;executed 10 times by 1 test: return *ok; | 10 |
| 411 | } | - |
| 412 | } | - |
| 413 | | - |
| 414 | returnexecuted 20265 times by 38 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
false;executed 20265 times by 38 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- ...
| 20265 |
| 415 | } | - |
| 416 | break;executed 33177 times by 62 tests: break;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- ...
| 33177 |
| 417 | } | - |
| 418 | caseexecuted 4 times by 2 tests: case QVariant::Char:Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Char:executed 4 times by 2 tests: case QVariant::Char:Executed by:- tst_QMetaType
- tst_QVariant
{ | 4 |
| 419 | QChar *c = static_cast<QChar *>(result); | - |
| 420 | switch (d->type) { | - |
| 421 | caseexecuted 2 times by 1 test: case QVariant::Int: QVariant::Int:executed 2 times by 1 test: case QVariant::Int: | 2 |
| 422 | caseexecuted 1 time by 1 test: case QVariant::LongLong: QVariant::LongLong:executed 1 time by 1 test: case QVariant::LongLong: | 1 |
| 423 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
| 424 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
| 425 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
| 426 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
| 427 | case never executed: case QMetaType::Float: QMetaType::Float:never executed: case QMetaType::Float: | 0 |
| 428 | *c = QChar(ushort(qMetaTypeNumber(d))); | - |
| 429 | break;executed 3 times by 2 tests: break;Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
| 430 | case never executed: case QVariant::UInt: QVariant::UInt:never executed: case QVariant::UInt: | 0 |
| 431 | caseexecuted 1 time by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 1 time by 1 test: case QVariant::ULongLong: | 1 |
| 432 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
| 433 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
| 434 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 435 | *c = QChar(ushort(qMetaTypeUNumber(d))); | - |
| 436 | break;executed 1 time by 1 test: break; | 1 |
| 437 | default never executed: default: :never executed: default: | 0 |
| 438 | return never executed: return false; false;never executed: return false; | 0 |
| 439 | } | - |
| 440 | break;executed 4 times by 2 tests: break;Executed by:- tst_QMetaType
- tst_QVariant
| 4 |
| 441 | } | - |
| 442 | | - |
| 443 | caseexecuted 62 times by 5 tests: case QVariant::Size:Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
- tst_QVariant
QVariant::Size:executed 62 times by 5 tests: case QVariant::Size:Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
- tst_QVariant
{ | 62 |
| 444 | QSize *s = static_cast<QSize *>(result); | - |
| 445 | switch (d->type) { | - |
| 446 | caseexecuted 4 times by 1 test: case QVariant::SizeF: QVariant::SizeF:executed 4 times by 1 test: case QVariant::SizeF: | 4 |
| 447 | *s = v_cast<QSizeF>(d)->toSize(); | - |
| 448 | break;executed 4 times by 1 test: break; | 4 |
| 449 | defaultexecuted 58 times by 4 tests: default:Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
:executed 58 times by 4 tests: default:Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
| 58 |
| 450 | returnexecuted 58 times by 4 tests: return false;Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
false;executed 58 times by 4 tests: return false;Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
| 58 |
| 451 | } | - |
| 452 | break;executed 4 times by 1 test: break; | 4 |
| 453 | } | - |
| 454 | | - |
| 455 | caseexecuted 23 times by 3 tests: case QVariant::SizeF:Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
QVariant::SizeF:executed 23 times by 3 tests: case QVariant::SizeF:Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
{ | 23 |
| 456 | QSizeF *s = static_cast<QSizeF *>(result); | - |
| 457 | switch (d->type) { | - |
| 458 | caseexecuted 21 times by 2 tests: case QVariant::Size:Executed by:- tst_QGraphicsWidget
- tst_QVariant
QVariant::Size:executed 21 times by 2 tests: case QVariant::Size:Executed by:- tst_QGraphicsWidget
- tst_QVariant
| 21 |
| 459 | *s = QSizeF(*(v_cast<QSize>(d))); | - |
| 460 | break;executed 21 times by 2 tests: break;Executed by:- tst_QGraphicsWidget
- tst_QVariant
| 21 |
| 461 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
| 462 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 463 | } | - |
| 464 | break;executed 21 times by 2 tests: break;Executed by:- tst_QGraphicsWidget
- tst_QVariant
| 21 |
| 465 | } | - |
| 466 | | - |
| 467 | caseexecuted 4 times by 1 test: case QVariant::Line: QVariant::Line:executed 4 times by 1 test: case QVariant::Line: { | 4 |
| 468 | QLine *s = static_cast<QLine *>(result); | - |
| 469 | switch (d->type) { | - |
| 470 | caseexecuted 4 times by 1 test: case QVariant::LineF: QVariant::LineF:executed 4 times by 1 test: case QVariant::LineF: | 4 |
| 471 | *s = v_cast<QLineF>(d)->toLine(); | - |
| 472 | break;executed 4 times by 1 test: break; | 4 |
| 473 | default never executed: default: :never executed: default: | 0 |
| 474 | return never executed: return false; false;never executed: return false; | 0 |
| 475 | } | - |
| 476 | break;executed 4 times by 1 test: break; | 4 |
| 477 | } | - |
| 478 | | - |
| 479 | caseexecuted 6 times by 2 tests: case QVariant::LineF:Executed by:- tst_QMetaType
- tst_QVariant
QVariant::LineF:executed 6 times by 2 tests: case QVariant::LineF:Executed by:- tst_QMetaType
- tst_QVariant
{ | 6 |
| 480 | QLineF *s = static_cast<QLineF *>(result); | - |
| 481 | switch (d->type) { | - |
| 482 | caseexecuted 4 times by 1 test: case QVariant::Line: QVariant::Line:executed 4 times by 1 test: case QVariant::Line: | 4 |
| 483 | *s = QLineF(*(v_cast<QLine>(d))); | - |
| 484 | break;executed 4 times by 1 test: break; | 4 |
| 485 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
| 486 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 487 | } | - |
| 488 | break;executed 4 times by 1 test: break; | 4 |
| 489 | } | - |
| 490 | | - |
| 491 | caseexecuted 25 times by 25 tests: case QVariant::StringList:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- tst_languageChange
QVariant::StringList:executed 25 times by 25 tests: case QVariant::StringList:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- tst_languageChange
| 25 |
| 492 | if (d->type == QVariant::List| TRUE | never evaluated | | FALSE | evaluated 25 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- tst_languageChange
|
) { | 0-25 |
| 493 | QStringList *slst = static_cast<QStringList *>(result); | - |
| 494 | const QVariantList *list = v_cast<QVariantList >(d); | - |
| 495 | for (int i = 0; i < list->size()| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) | 0 |
| 496 | slst->append(list->at(i).toString()); never executed: slst->append(list->at(i).toString()); | 0 |
| 497 | } never executed: end of block else if (d->type == QVariant::String| TRUE | never evaluated | | FALSE | evaluated 25 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- tst_languageChange
|
) { | 0-25 |
| 498 | QStringList *slst = static_cast<QStringList *>(result); | - |
| 499 | *slst = QStringList(*v_cast<QString>(d)); | - |
| 500 | } never executed: end of block else { | 0 |
| 501 | returnexecuted 25 times by 25 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- tst_languageChange
false;executed 25 times by 25 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- tst_languageChange
| 25 |
| 502 | } | - |
| 503 | break; never executed: break; | 0 |
| 504 | caseexecuted 12673 times by 4 tests: case QVariant::Date:Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::Date:executed 12673 times by 4 tests: case QVariant::Date:Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
{ | 12673 |
| 505 | QDate *dt = static_cast<QDate *>(result); | - |
| 506 | if (d->type == QVariant::DateTime| TRUE | evaluated 12671 times by 4 testsEvaluated by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| | FALSE | evaluated 2 times by 1 test |
) | 2-12671 |
| 507 | *executed 12671 times by 4 tests: *dt = v_cast<QDateTime>(d)->date();Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
dt = v_cast<QDateTime>(d)->date();executed 12671 times by 4 tests: *dt = v_cast<QDateTime>(d)->date();Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 12671 |
| 508 | | - |
| 509 | else if (d->type == QVariant::String| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 510 | *executed 2 times by 1 test: *dt = QDate::fromString(*v_cast<QString>(d), Qt::ISODate); dt = QDate::fromString(*v_cast<QString>(d), Qt::ISODate);executed 2 times by 1 test: *dt = QDate::fromString(*v_cast<QString>(d), Qt::ISODate); | 2 |
| 511 | | - |
| 512 | else | - |
| 513 | return never executed: return false; false;never executed: return false; | 0 |
| 514 | | - |
| 515 | returnexecuted 12673 times by 4 tests: return dt->isValid();Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
dt->isValid();executed 12673 times by 4 tests: return dt->isValid();Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 12673 |
| 516 | } | - |
| 517 | caseexecuted 10943 times by 5 tests: case QVariant::Time:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::Time:executed 10943 times by 5 tests: case QVariant::Time:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
{ | 10943 |
| 518 | QTime *t = static_cast<QTime *>(result); | - |
| 519 | switch (d->type) { | - |
| 520 | caseexecuted 10941 times by 5 tests: case QVariant::DateTime:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::DateTime:executed 10941 times by 5 tests: case QVariant::DateTime:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 10941 |
| 521 | *t = v_cast<QDateTime>(d)->time(); | - |
| 522 | break;executed 10941 times by 5 tests: break;Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 10941 |
| 523 | | - |
| 524 | caseexecuted 2 times by 1 test: case QVariant::String: QVariant::String:executed 2 times by 1 test: case QVariant::String: | 2 |
| 525 | *t = QTime::fromString(*v_cast<QString>(d), Qt::ISODate); | - |
| 526 | break;executed 2 times by 1 test: break; | 2 |
| 527 | | - |
| 528 | default never executed: default: :never executed: default: | 0 |
| 529 | return never executed: return false; false;never executed: return false; | 0 |
| 530 | } | - |
| 531 | returnexecuted 10943 times by 5 tests: return t->isValid();Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
t->isValid();executed 10943 times by 5 tests: return t->isValid();Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 10943 |
| 532 | } | - |
| 533 | caseexecuted 943 times by 7 tests: case QVariant::DateTime:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::DateTime:executed 943 times by 7 tests: case QVariant::DateTime:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
{ | 943 |
| 534 | QDateTime *dt = static_cast<QDateTime *>(result); | - |
| 535 | switch (d->type) { | - |
| 536 | | - |
| 537 | caseexecuted 12 times by 2 tests: case QVariant::String:Executed by:- tst_QSqlQuery
- tst_QVariant
QVariant::String:executed 12 times by 2 tests: case QVariant::String:Executed by:- tst_QSqlQuery
- tst_QVariant
| 12 |
| 538 | *dt = QDateTime::fromString(*v_cast<QString>(d), Qt::ISODate); | - |
| 539 | break;executed 12 times by 2 tests: break;Executed by:- tst_QSqlQuery
- tst_QVariant
| 12 |
| 540 | | - |
| 541 | caseexecuted 2 times by 2 tests: case QVariant::Date:Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::Date:executed 2 times by 2 tests: case QVariant::Date:Executed by:- tst_QNetworkRequest
- tst_QVariant
| 2 |
| 542 | *dt = QDateTime(*v_cast<QDate>(d)); | - |
| 543 | break;executed 2 times by 2 tests: break;Executed by:- tst_QNetworkRequest
- tst_QVariant
| 2 |
| 544 | defaultexecuted 929 times by 5 tests: default:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
:executed 929 times by 5 tests: default:Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 929 |
| 545 | returnexecuted 929 times by 5 tests: return false;Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
false;executed 929 times by 5 tests: return false;Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 929 |
| 546 | } | - |
| 547 | returnexecuted 14 times by 3 tests: return dt->isValid();Executed by:- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QVariant
dt->isValid();executed 14 times by 3 tests: return dt->isValid();Executed by:- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QVariant
| 14 |
| 548 | } | - |
| 549 | caseexecuted 609 times by 11 tests: case QVariant::ByteArray:Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
QVariant::ByteArray:executed 609 times by 11 tests: case QVariant::ByteArray:Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
{ | 609 |
| 550 | QByteArray *ba = static_cast<QByteArray *>(result); | - |
| 551 | switch (d->type) { | - |
| 552 | caseexecuted 118 times by 6 tests: case QVariant::String:Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QXmlInputSource
- tst_Spdy
QVariant::String:executed 118 times by 6 tests: case QVariant::String:Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QXmlInputSource
- tst_Spdy
| 118 |
| 553 | *ba = v_cast<QString>(d)->toUtf8(); | - |
| 554 | break;executed 118 times by 6 tests: break;Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QXmlInputSource
- tst_Spdy
| 118 |
| 555 | caseexecuted 3 times by 1 test: case QVariant::Double: QVariant::Double:executed 3 times by 1 test: case QVariant::Double: | 3 |
| 556 | *ba = QByteArray::number(d->data.d, 'g', max_digits10_double); | - |
| 557 | break;executed 3 times by 1 test: break; | 3 |
| 558 | caseexecuted 3 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 3 times by 1 test: case QMetaType::Float: | 3 |
| 559 | *ba = QByteArray::number(d->data.f, 'g', max_digits10_float); | - |
| 560 | break;executed 3 times by 1 test: break; | 3 |
| 561 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
| 562 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
| 563 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
| 564 | *ba = QByteArray(1, d->data.c); | - |
| 565 | break; never executed: break; | 0 |
| 566 | caseexecuted 6 times by 4 tests: case QVariant::Int:Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlInputSource
QVariant::Int:executed 6 times by 4 tests: case QVariant::Int:Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlInputSource
| 6 |
| 567 | caseexecuted 249 times by 5 tests: case QVariant::LongLong:Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
QVariant::LongLong:executed 249 times by 5 tests: case QVariant::LongLong:Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
| 249 |
| 568 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
| 569 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
| 570 | *ba = QByteArray::number(qMetaTypeNumber(d)); | - |
| 571 | break;executed 255 times by 6 tests: break;Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| 255 |
| 572 | caseexecuted 2 times by 1 test: case QVariant::UInt: QVariant::UInt:executed 2 times by 1 test: case QVariant::UInt: | 2 |
| 573 | caseexecuted 2 times by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 2 times by 1 test: case QVariant::ULongLong: | 2 |
| 574 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
| 575 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 576 | *ba = QByteArray::number(qMetaTypeUNumber(d)); | - |
| 577 | break;executed 4 times by 1 test: break; | 4 |
| 578 | caseexecuted 3 times by 1 test: case QVariant::Bool: QVariant::Bool:executed 3 times by 1 test: case QVariant::Bool: | 3 |
| 579 | *ba = QByteArray(d->data.b ? "true" : "false"); | - |
| 580 | break;executed 3 times by 1 test: break; | 3 |
| 581 | defaultexecuted 223 times by 4 tests: default:Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QVariant
:executed 223 times by 4 tests: default:Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QVariant
| 223 |
| 582 | | - |
| 583 | { | - |
| 584 | QMetaEnum en = metaEnumFromType(d->type); | - |
| 585 | if (en.isValid()| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 213 times by 3 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
|
) { | 10-213 |
| 586 | *ba = en.valueToKey(qConvertToNumber(d, ok)); | - |
| 587 | returnexecuted 10 times by 1 test: return *ok; *ok;executed 10 times by 1 test: return *ok; | 10 |
| 588 | } | - |
| 589 | } | - |
| 590 | | - |
| 591 | returnexecuted 213 times by 3 tests: return false;Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
false;executed 213 times by 3 tests: return false;Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
| 213 |
| 592 | } | - |
| 593 | } | - |
| 594 | break;executed 386 times by 8 tests: break;Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| 386 |
| 595 | caseexecuted 28 times by 2 tests: case QMetaType::Short:Executed by:- tst_QDBusReply
- tst_QVariant
QMetaType::Short:executed 28 times by 2 tests: case QMetaType::Short:Executed by:- tst_QDBusReply
- tst_QVariant
| 28 |
| 596 | *static_cast<short *>(result) = short(qConvertToNumber(d, ok)); | - |
| 597 | returnexecuted 28 times by 2 tests: return *ok;Executed by:- tst_QDBusReply
- tst_QVariant
*ok;executed 28 times by 2 tests: return *ok;Executed by:- tst_QDBusReply
- tst_QVariant
| 28 |
| 598 | caseexecuted 1 time by 1 test: case QMetaType::Long: QMetaType::Long:executed 1 time by 1 test: case QMetaType::Long: | 1 |
| 599 | *static_cast<long *>(result) = long(qConvertToNumber(d, ok)); | - |
| 600 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
| 601 | caseexecuted 31 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 31 times by 1 test: case QMetaType::UShort: | 31 |
| 602 | *static_cast<ushort *>(result) = ushort(qConvertToUnsignedNumber(d, ok)); | - |
| 603 | returnexecuted 31 times by 1 test: return *ok; *ok;executed 31 times by 1 test: return *ok; | 31 |
| 604 | caseexecuted 7 times by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 7 times by 1 test: case QMetaType::ULong: | 7 |
| 605 | *static_cast<ulong *>(result) = ulong(qConvertToUnsignedNumber(d, ok)); | - |
| 606 | returnexecuted 7 times by 1 test: return *ok; *ok;executed 7 times by 1 test: return *ok; | 7 |
| 607 | caseexecuted 16282 times by 69 tests: case QVariant::Int:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
QVariant::Int:executed 16282 times by 69 tests: case QVariant::Int:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
| 16282 |
| 608 | *static_cast<int *>(result) = int(qConvertToNumber(d, ok)); | - |
| 609 | returnexecuted 16282 times by 69 tests: return *ok;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
*ok;executed 16282 times by 69 tests: return *ok;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
| 16282 |
| 610 | caseexecuted 189 times by 24 tests: case QVariant::UInt:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
QVariant::UInt:executed 189 times by 24 tests: case QVariant::UInt:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
| 189 |
| 611 | *static_cast<uint *>(result) = uint(qConvertToUnsignedNumber(d, ok)); | - |
| 612 | returnexecuted 189 times by 24 tests: return *ok;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
*ok;executed 189 times by 24 tests: return *ok;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
| 189 |
| 613 | caseexecuted 10784 times by 15 tests: case QVariant::LongLong:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
QVariant::LongLong:executed 10784 times by 15 tests: case QVariant::LongLong:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
| 10784 |
| 614 | *static_cast<qlonglong *>(result) = qConvertToNumber(d, ok); | - |
| 615 | returnexecuted 10784 times by 15 tests: return *ok;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
*ok;executed 10784 times by 15 tests: return *ok;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
| 10784 |
| 616 | caseexecuted 141 times by 12 tests: case QVariant::ULongLong:Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
QVariant::ULongLong:executed 141 times by 12 tests: case QVariant::ULongLong:Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
{ | 141 |
| 617 | *static_cast<qulonglong *>(result) = qConvertToUnsignedNumber(d, ok); | - |
| 618 | returnexecuted 141 times by 12 tests: return *ok;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
*ok;executed 141 times by 12 tests: return *ok;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
| 141 |
| 619 | } | - |
| 620 | caseexecuted 1 time by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 1 time by 1 test: case QMetaType::SChar: { | 1 |
| 621 | signed char s = qConvertToNumber(d, ok); | - |
| 622 | *static_cast<signed char*>(result) = s; | - |
| 623 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
| 624 | } | - |
| 625 | caseexecuted 1 time by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 1 time by 1 test: case QMetaType::UChar: { | 1 |
| 626 | *static_cast<uchar *>(result) = qConvertToUnsignedNumber(d, ok); | - |
| 627 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
| 628 | } | - |
| 629 | caseexecuted 41414 times by 115 tests: case QVariant::Bool:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
QVariant::Bool:executed 41414 times by 115 tests: case QVariant::Bool:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
{ | 41414 |
| 630 | bool *b = static_cast<bool *>(result); | - |
| 631 | switch(d->type) { | - |
| 632 | caseexecuted 10 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 10 times by 1 test: case QVariant::ByteArray: | 10 |
| 633 | *b = qt_convertToBool<QByteArray, QByteArray>(d); | - |
| 634 | break;executed 10 times by 1 test: break; | 10 |
| 635 | caseexecuted 20 times by 3 tests: case QVariant::String:Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::String:executed 20 times by 3 tests: case QVariant::String:Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 20 |
| 636 | *b = qt_convertToBool<QString, QLatin1String>(d); | - |
| 637 | break;executed 20 times by 3 tests: break;Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 20 |
| 638 | caseexecuted 2 times by 1 test: case QVariant::Char: QVariant::Char:executed 2 times by 1 test: case QVariant::Char: | 2 |
| 639 | *b = !v_cast<QChar>(d)->isNull(); | - |
| 640 | break;executed 2 times by 1 test: break; | 2 |
| 641 | caseexecuted 11 times by 2 tests: case QVariant::Double:Executed by:- tst_QStyleSheetStyle
- tst_QVariant
QVariant::Double:executed 11 times by 2 tests: case QVariant::Double:Executed by:- tst_QStyleSheetStyle
- tst_QVariant
| 11 |
| 642 | caseexecuted 35 times by 4 tests: case QVariant::Int:Executed by:- tst_QSettings
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
QVariant::Int:executed 35 times by 4 tests: case QVariant::Int:Executed by:- tst_QSettings
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
| 35 |
| 643 | caseexecuted 16 times by 2 tests: case QVariant::LongLong:Executed by:- tst_QSqlQuery
- tst_QVariant
QVariant::LongLong:executed 16 times by 2 tests: case QVariant::LongLong:Executed by:- tst_QSqlQuery
- tst_QVariant
| 16 |
| 644 | caseexecuted 4 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 4 times by 1 test: case QMetaType::Char: | 4 |
| 645 | caseexecuted 8 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 8 times by 1 test: case QMetaType::SChar: | 8 |
| 646 | caseexecuted 8 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 8 times by 1 test: case QMetaType::Short: | 8 |
| 647 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
| 648 | caseexecuted 6 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 6 times by 1 test: case QMetaType::Float: | 6 |
| 649 | *b = qMetaTypeNumber(d) != static_cast<long long>(0LL); | - |
| 650 | break;executed 88 times by 6 tests: break;Executed by:- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
| 88 |
| 651 | caseexecuted 1266 times by 12 tests: case QVariant::UInt:Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QVariant
QVariant::UInt:executed 1266 times by 12 tests: case QVariant::UInt:Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QVariant
| 1266 |
| 652 | caseexecuted 10 times by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 10 times by 1 test: case QVariant::ULongLong: | 10 |
| 653 | caseexecuted 8 times by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 8 times by 1 test: case QMetaType::UChar: | 8 |
| 654 | caseexecuted 8 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 8 times by 1 test: case QMetaType::UShort: | 8 |
| 655 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 656 | *b = qMetaTypeUNumber(d) != static_cast<unsigned long long>(0ULL); | - |
| 657 | break;executed 1292 times by 12 tests: break;Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QVariant
| 1292 |
| 658 | | - |
| 659 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
| 660 | *b = v_cast<QJsonValue>(d)->toBool(false); | - |
| 661 | if (!v_cast<QJsonValue>(d)->isBool()| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 662 | return never executed: return false; false;never executed: return false; | 0 |
| 663 | break;executed 2 times by 1 test: break; | 2 |
| 664 | | - |
| 665 | defaultexecuted 40000 times by 110 tests: default:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
:executed 40000 times by 110 tests: default:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
| 40000 |
| 666 | *b = false; | - |
| 667 | returnexecuted 40000 times by 110 tests: return false;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
false;executed 40000 times by 110 tests: return false;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
| 40000 |
| 668 | } | - |
| 669 | break;executed 1414 times by 17 tests: break;Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
| 1414 |
| 670 | } | - |
| 671 | caseexecuted 593 times by 17 tests: case QVariant::Double:Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::Double:executed 593 times by 17 tests: case QVariant::Double:Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
{ | 593 |
| 672 | double *f = static_cast<double *>(result); | - |
| 673 | switch (d->type) { | - |
| 674 | caseexecuted 328 times by 13 tests: case QVariant::String:Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::String:executed 328 times by 13 tests: case QVariant::String:Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 328 |
| 675 | *f = v_cast<QString>(d)->toDouble(ok); | - |
| 676 | break;executed 328 times by 13 tests: break;Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 328 |
| 677 | caseexecuted 3 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 3 times by 1 test: case QVariant::ByteArray: | 3 |
| 678 | *f = v_cast<QByteArray>(d)->toDouble(ok); | - |
| 679 | break;executed 3 times by 1 test: break; | 3 |
| 680 | caseexecuted 8 times by 1 test: case QVariant::Bool: QVariant::Bool:executed 8 times by 1 test: case QVariant::Bool: | 8 |
| 681 | *f = double(d->data.b); | - |
| 682 | break;executed 8 times by 1 test: break; | 8 |
| 683 | caseexecuted 9 times by 2 tests: case QMetaType::Float: QMetaType::Float:executed 9 times by 2 tests: case QMetaType::Float: | 9 |
| 684 | *f = double(d->data.f); | - |
| 685 | break;executed 9 times by 2 tests: break; | 9 |
| 686 | caseexecuted 10 times by 2 tests: case QVariant::LongLong:Executed by:- tst_QSqlDatabase
- tst_QVariant
QVariant::LongLong:executed 10 times by 2 tests: case QVariant::LongLong:Executed by:- tst_QSqlDatabase
- tst_QVariant
| 10 |
| 687 | caseexecuted 47 times by 4 tests: case QVariant::Int:Executed by:- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QPropertyAnimation
- tst_QVariant
QVariant::Int:executed 47 times by 4 tests: case QVariant::Int:Executed by:- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QPropertyAnimation
- tst_QVariant
| 47 |
| 688 | caseexecuted 4 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 4 times by 1 test: case QMetaType::Char: | 4 |
| 689 | caseexecuted 8 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 8 times by 1 test: case QMetaType::SChar: | 8 |
| 690 | caseexecuted 9 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 9 times by 1 test: case QMetaType::Short: | 9 |
| 691 | caseexecuted 3 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 3 times by 1 test: case QMetaType::Long: | 3 |
| 692 | *f = double(qMetaTypeNumber(d)); | - |
| 693 | break;executed 81 times by 5 tests: break;Executed by:- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QVariant
| 81 |
| 694 | caseexecuted 6 times by 1 test: case QVariant::UInt: QVariant::UInt:executed 6 times by 1 test: case QVariant::UInt: | 6 |
| 695 | caseexecuted 10 times by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 10 times by 1 test: case QVariant::ULongLong: | 10 |
| 696 | caseexecuted 8 times by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 8 times by 1 test: case QMetaType::UChar: | 8 |
| 697 | caseexecuted 8 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 8 times by 1 test: case QMetaType::UShort: | 8 |
| 698 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 699 | *f = double(qMetaTypeUNumber(d)); | - |
| 700 | break;executed 32 times by 1 test: break; | 32 |
| 701 | | - |
| 702 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
| 703 | *f = v_cast<QJsonValue>(d)->toDouble(0.0); | - |
| 704 | if (!v_cast<QJsonValue>(d)->isDouble()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1 |
| 705 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 706 | break;executed 1 time by 1 test: break; | 1 |
| 707 | | - |
| 708 | defaultexecuted 130 times by 1 test: default: :executed 130 times by 1 test: default: | 130 |
| 709 | *f = 0.0; | - |
| 710 | returnexecuted 130 times by 1 test: return false; false;executed 130 times by 1 test: return false; | 130 |
| 711 | } | - |
| 712 | break;executed 462 times by 17 tests: break;Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 462 |
| 713 | } | - |
| 714 | caseexecuted 25 times by 3 tests: case QMetaType::Float:Executed by:- tst_QMetaType
- tst_QObject
- tst_QVariant
QMetaType::Float:executed 25 times by 3 tests: case QMetaType::Float:Executed by:- tst_QMetaType
- tst_QObject
- tst_QVariant
{ | 25 |
| 715 | float *f = static_cast<float *>(result); | - |
| 716 | switch (d->type) { | - |
| 717 | caseexecuted 7 times by 2 tests: case QVariant::String: QVariant::String:executed 7 times by 2 tests: case QVariant::String: | 7 |
| 718 | *f = v_cast<QString>(d)->toFloat(ok); | - |
| 719 | break;executed 7 times by 2 tests: break; | 7 |
| 720 | caseexecuted 3 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 3 times by 1 test: case QVariant::ByteArray: | 3 |
| 721 | *f = v_cast<QByteArray>(d)->toFloat(ok); | - |
| 722 | break;executed 3 times by 1 test: break; | 3 |
| 723 | case never executed: case QVariant::Bool: QVariant::Bool:never executed: case QVariant::Bool: | 0 |
| 724 | *f = float(d->data.b); | - |
| 725 | break; never executed: break; | 0 |
| 726 | caseexecuted 3 times by 1 test: case QVariant::Double: QVariant::Double:executed 3 times by 1 test: case QVariant::Double: | 3 |
| 727 | *f = float(d->data.d); | - |
| 728 | break;executed 3 times by 1 test: break; | 3 |
| 729 | case never executed: case QVariant::LongLong: QVariant::LongLong:never executed: case QVariant::LongLong: | 0 |
| 730 | caseexecuted 3 times by 1 test: case QVariant::Int: QVariant::Int:executed 3 times by 1 test: case QVariant::Int: | 3 |
| 731 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
| 732 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
| 733 | caseexecuted 1 time by 1 test: case QMetaType::Short: QMetaType::Short:executed 1 time by 1 test: case QMetaType::Short: | 1 |
| 734 | caseexecuted 2 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 2 times by 1 test: case QMetaType::Long: | 2 |
| 735 | *f = float(qMetaTypeNumber(d)); | - |
| 736 | break;executed 6 times by 1 test: break; | 6 |
| 737 | caseexecuted 1 time by 1 test: case QVariant::UInt: QVariant::UInt:executed 1 time by 1 test: case QVariant::UInt: | 1 |
| 738 | caseexecuted 1 time by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 1 time by 1 test: case QVariant::ULongLong: | 1 |
| 739 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
| 740 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
| 741 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 742 | *f = float(qMetaTypeUNumber(d)); | - |
| 743 | break;executed 2 times by 1 test: break; | 2 |
| 744 | | - |
| 745 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
| 746 | *f = v_cast<QJsonValue>(d)->toDouble(0.0); | - |
| 747 | if (!v_cast<QJsonValue>(d)->isDouble()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1 |
| 748 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 749 | break;executed 1 time by 1 test: break; | 1 |
| 750 | | - |
| 751 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
| 752 | *f = 0.0f; | - |
| 753 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 754 | } | - |
| 755 | break;executed 22 times by 2 tests: break; | 22 |
| 756 | } | - |
| 757 | caseexecuted 487 times by 6 tests: case QVariant::List:Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
QVariant::List:executed 487 times by 6 tests: case QVariant::List:Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| 487 |
| 758 | if (d->type == QVariant::StringList| TRUE | evaluated 487 times by 6 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| | FALSE | never evaluated |
) { | 0-487 |
| 759 | QVariantList *lst = static_cast<QVariantList *>(result); | - |
| 760 | const QStringList *slist = v_cast<QStringList>(d); | - |
| 761 | for (int i = 0; i < slist->size()| TRUE | evaluated 810 times by 6 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| | FALSE | evaluated 487 times by 6 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
|
; ++i) | 487-810 |
| 762 | lst->append(QVariant(slist->at(i)));executed 810 times by 6 tests: lst->append(QVariant(slist->at(i)));Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| 810 |
| 763 | }executed 487 times by 6 tests: end of blockExecuted by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
else if (qstrcmp(QMetaType::typeName(d->type), "QList<QVariant>") == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-487 |
| 764 | *static_cast<QVariantList *>(result) = | - |
| 765 | *static_cast<QList<QVariant> *>(d->data.shared->ptr); | - |
| 766 | | - |
| 767 | } never executed: end of block else if (d->type == QMetaType::QJsonValue| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 768 | if (!v_cast<QJsonValue>(d)->isArray()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 769 | return never executed: return false; false;never executed: return false; | 0 |
| 770 | *static_cast<QVariantList *>(result) = v_cast<QJsonValue>(d)->toArray().toVariantList(); | - |
| 771 | } never executed: end of block else if (d->type == QMetaType::QJsonArray| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 772 | *static_cast<QVariantList *>(result) = v_cast<QJsonArray>(d)->toVariantList(); | - |
| 773 | | - |
| 774 | } never executed: end of block else { | 0 |
| 775 | return never executed: return false; false;never executed: return false; | 0 |
| 776 | } | - |
| 777 | break;executed 487 times by 6 tests: break;Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| 487 |
| 778 | caseexecuted 2 times by 1 test: case QVariant::Map: QVariant::Map:executed 2 times by 1 test: case QVariant::Map: | 2 |
| 779 | if (qstrcmp(QMetaType::typeName(d->type), "QMap<QString, QVariant>") == 0| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 780 | *static_cast<QVariantMap *>(result) = | - |
| 781 | *static_cast<QMap<QString, QVariant> *>(d->data.shared->ptr); | - |
| 782 | | - |
| 783 | } never executed: end of block else if (d->type == QMetaType::QJsonValue| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 784 | if (!v_cast<QJsonValue>(d)->isObject()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 785 | return never executed: return false; false;never executed: return false; | 0 |
| 786 | *static_cast<QVariantMap *>(result) = v_cast<QJsonValue>(d)->toObject().toVariantMap(); | - |
| 787 | } never executed: end of block else if (d->type == QMetaType::QJsonObject| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 788 | *static_cast<QVariantMap *>(result) = v_cast<QJsonObject>(d)->toVariantMap(); | - |
| 789 | | - |
| 790 | } never executed: end of block else { | 0 |
| 791 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 792 | } | - |
| 793 | break; never executed: break; | 0 |
| 794 | case never executed: case QVariant::Hash: QVariant::Hash:never executed: case QVariant::Hash: | 0 |
| 795 | if (qstrcmp(QMetaType::typeName(d->type), "QHash<QString, QVariant>") == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 796 | *static_cast<QVariantHash *>(result) = | - |
| 797 | *static_cast<QHash<QString, QVariant> *>(d->data.shared->ptr); | - |
| 798 | | - |
| 799 | } never executed: end of block else if (d->type == QMetaType::QJsonValue| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 800 | if (!v_cast<QJsonValue>(d)->isObject()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 801 | return never executed: return false; false;never executed: return false; | 0 |
| 802 | *static_cast<QVariantHash *>(result) = v_cast<QJsonValue>(d)->toObject().toVariantHash(); | - |
| 803 | } never executed: end of block else if (d->type == QMetaType::QJsonObject| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 804 | *static_cast<QVariantHash *>(result) = v_cast<QJsonObject>(d)->toVariantHash(); | - |
| 805 | | - |
| 806 | } never executed: end of block else { | 0 |
| 807 | return never executed: return false; false;never executed: return false; | 0 |
| 808 | } | - |
| 809 | break; never executed: break; | 0 |
| 810 | | - |
| 811 | caseexecuted 8 times by 4 tests: case QVariant::Rect:Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
QVariant::Rect:executed 8 times by 4 tests: case QVariant::Rect:Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 8 |
| 812 | if (d->type == QVariant::RectF| TRUE | evaluated 8 times by 4 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| | FALSE | never evaluated |
) | 0-8 |
| 813 | *static_cast<executed 8 times by 4 tests: *static_cast<QRect *>(result) = (v_cast<QRectF>(d))->toRect();Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
QRect *>(result) = (v_cast<QRectF>(d))->toRect();executed 8 times by 4 tests: *static_cast<QRect *>(result) = (v_cast<QRectF>(d))->toRect();Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 8 |
| 814 | else | - |
| 815 | return never executed: return false; false;never executed: return false; | 0 |
| 816 | break;executed 8 times by 4 tests: break;Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 8 |
| 817 | caseexecuted 3 times by 2 tests: case QVariant::RectF:Executed by:- tst_QMetaType
- tst_QVariant
QVariant::RectF:executed 3 times by 2 tests: case QVariant::RectF:Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
| 818 | if (d->type == QVariant::Rect| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 1-2 |
| 819 | *static_cast<executed 1 time by 1 test: *static_cast<QRectF *>(result) = *v_cast<QRect>(d); QRectF *>(result) = *v_cast<QRect>(d);executed 1 time by 1 test: *static_cast<QRectF *>(result) = *v_cast<QRect>(d); | 1 |
| 820 | else | - |
| 821 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 822 | break;executed 1 time by 1 test: break; | 1 |
| 823 | caseexecuted 2 times by 1 test: case QVariant::PointF: QVariant::PointF:executed 2 times by 1 test: case QVariant::PointF: | 2 |
| 824 | if (d->type == QVariant::Point| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 825 | *static_cast< never executed: *static_cast<QPointF *>(result) = *v_cast<QPoint>(d); QPointF *>(result) = *v_cast<QPoint>(d);never executed: *static_cast<QPointF *>(result) = *v_cast<QPoint>(d); | 0 |
| 826 | else | - |
| 827 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 828 | break; never executed: break; | 0 |
| 829 | caseexecuted 28 times by 3 tests: case QVariant::Point:Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
QVariant::Point:executed 28 times by 3 tests: case QVariant::Point:Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| 28 |
| 830 | if (d->type == QVariant::PointF| TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| | FALSE | never evaluated |
) | 0-28 |
| 831 | *static_cast<executed 28 times by 3 tests: *static_cast<QPoint *>(result) = (v_cast<QPointF>(d))->toPoint();Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
QPoint *>(result) = (v_cast<QPointF>(d))->toPoint();executed 28 times by 3 tests: *static_cast<QPoint *>(result) = (v_cast<QPointF>(d))->toPoint();Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| 28 |
| 832 | else | - |
| 833 | return never executed: return false; false;never executed: return false; | 0 |
| 834 | break;executed 28 times by 3 tests: break;Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| 28 |
| 835 | caseexecuted 1 time by 1 test: case QMetaType::Char: QMetaType::Char:executed 1 time by 1 test: case QMetaType::Char: | 1 |
| 836 | { | - |
| 837 | *static_cast<qint8 *>(result) = qint8(qConvertToNumber(d, ok)); | - |
| 838 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
| 839 | } | - |
| 840 | | - |
| 841 | caseexecuted 2 times by 2 tests: case QVariant::Uuid: QVariant::Uuid:executed 2 times by 2 tests: case QVariant::Uuid: | 2 |
| 842 | switch (d->type) { | - |
| 843 | caseexecuted 2 times by 2 tests: case QVariant::String: QVariant::String:executed 2 times by 2 tests: case QVariant::String: | 2 |
| 844 | *static_cast<QUuid *>(result) = QUuid(*v_cast<QString>(d)); | - |
| 845 | break;executed 2 times by 2 tests: break; | 2 |
| 846 | default never executed: default: :never executed: default: | 0 |
| 847 | return never executed: return false; false;never executed: return false; | 0 |
| 848 | } | - |
| 849 | break;executed 2 times by 2 tests: break; | 2 |
| 850 | defaultexecuted 270907 times by 98 tests: default:Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
:executed 270907 times by 98 tests: default:Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
| 270907 |
| 851 | | - |
| 852 | if (d->type == QVariant::String| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 270895 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
|
|| d->type == QVariant::ByteArray| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 270888 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
|
) { | 7-270895 |
| 853 | QMetaEnum en = metaEnumFromType(t); | - |
| 854 | if (en.isValid()| TRUE | evaluated 17 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-17 |
| 855 | QByteArray keys = (| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 7 times by 1 test |
d->type == QVariant::String)| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 7 times by 1 test |
? v_cast<QString>(d)->toUtf8() : *v_cast<QByteArray>(d); | 7-10 |
| 856 | int value = en.keysToValue(keys.constData(), ok); | - |
| 857 | if (*| TRUE | evaluated 17 times by 1 test | | FALSE | never evaluated |
ok| TRUE | evaluated 17 times by 1 test | | FALSE | never evaluated |
) { | 0-17 |
| 858 | switch (QMetaType::sizeOf(t)) { | - |
| 859 | caseexecuted 2 times by 1 test: case 1: 1:executed 2 times by 1 test: case 1: | 2 |
| 860 | *static_cast<signed char *>(result) = value; | - |
| 861 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 862 | caseexecuted 2 times by 1 test: case 2: 2:executed 2 times by 1 test: case 2: | 2 |
| 863 | *static_cast<qint16 *>(result) = value; | - |
| 864 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 865 | caseexecuted 4 times by 1 test: case 4: 4:executed 4 times by 1 test: case 4: | 4 |
| 866 | *static_cast<qint32 *>(result) = value; | - |
| 867 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 868 | caseexecuted 9 times by 1 test: case 8: 8:executed 9 times by 1 test: case 8: | 9 |
| 869 | *static_cast<qint64 *>(result) = value; | - |
| 870 | returnexecuted 9 times by 1 test: return true; true;executed 9 times by 1 test: return true; | 9 |
| 871 | } | - |
| 872 | } never executed: end of block | 0 |
| 873 | } never executed: end of block | 0 |
| 874 | }executed 2 times by 1 test: end of block | 2 |
| 875 | | - |
| 876 | if (QMetaType::typeFlags(t) & QMetaType::IsEnumeration| TRUE | evaluated 40 times by 1 test | | FALSE | evaluated 270850 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
|
) { | 40-270850 |
| 877 | qlonglong value = qConvertToNumber(d, ok); | - |
| 878 | if (*| TRUE | evaluated 40 times by 1 test | | FALSE | never evaluated |
ok| TRUE | evaluated 40 times by 1 test | | FALSE | never evaluated |
) { | 0-40 |
| 879 | switch (QMetaType::sizeOf(t)) { | - |
| 880 | caseexecuted 4 times by 1 test: case 1: 1:executed 4 times by 1 test: case 1: | 4 |
| 881 | *static_cast<signed char *>(result) = value; | - |
| 882 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 883 | caseexecuted 4 times by 1 test: case 2: 2:executed 4 times by 1 test: case 2: | 4 |
| 884 | *static_cast<qint16 *>(result) = value; | - |
| 885 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 886 | caseexecuted 12 times by 1 test: case 4: 4:executed 12 times by 1 test: case 4: | 12 |
| 887 | *static_cast<qint32 *>(result) = value; | - |
| 888 | returnexecuted 12 times by 1 test: return true; true;executed 12 times by 1 test: return true; | 12 |
| 889 | caseexecuted 20 times by 1 test: case 8: 8:executed 20 times by 1 test: case 8: | 20 |
| 890 | *static_cast<qint64 *>(result) = value; | - |
| 891 | returnexecuted 20 times by 1 test: return true; true;executed 20 times by 1 test: return true; | 20 |
| 892 | } | - |
| 893 | } never executed: end of block | 0 |
| 894 | return never executed: return *ok; *ok;never executed: return *ok; | 0 |
| 895 | } | - |
| 896 | returnexecuted 270850 times by 98 tests: return false;Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
false;executed 270850 times by 98 tests: return false;Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
| 270850 |
| 897 | } | - |
| 898 | returnexecuted 36032 times by 82 tests: return true;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
true;executed 36032 times by 82 tests: return true;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 36032 |
| 899 | } | - |
| 900 | | - |
| 901 | | - |
| 902 | static void streamDebug(QDebug dbg, const QVariant &v) | - |
| 903 | { | - |
| 904 | QVariant::Private *d = const_cast<QVariant::Private *>(&v.data_ptr()); | - |
| 905 | QVariantDebugStream<CoreTypesFilter> stream(dbg, d); | - |
| 906 | QMetaTypeSwitcher::switcher<void>(stream, d->type, 0); | - |
| 907 | }executed 51 times by 2 tests: end of blockExecuted by:- tst_QDBusInterface
- tst_QVariant
| 51 |
| 908 | | - |
| 909 | | - |
| 910 | const QVariant::Handler qt_kernel_variant_handler = { | - |
| 911 | construct, | - |
| 912 | clear, | - |
| 913 | isNull, | - |
| 914 | | - |
| 915 | 0, | - |
| 916 | 0, | - |
| 917 | | - |
| 918 | compare, | - |
| 919 | convert, | - |
| 920 | 0, | - |
| 921 | | - |
| 922 | streamDebug | - |
| 923 | | - |
| 924 | | - |
| 925 | | - |
| 926 | }; | - |
| 927 | | - |
| 928 | static void dummyConstruct(QVariant::Private *, const void *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to construct an unknown type",__FILE__,1000) : qt_noop()); } never executed: end of block | 0 |
| 929 | static void dummyClear(QVariant::Private *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to clear an unknown type",__FILE__,1001) : qt_noop()); } never executed: end of block | 0 |
| 930 | static bool dummyIsNull(const QVariant::Private *d) { ((!(false)) ? qt_assert_x("QVariant::isNull", "Trying to call isNull on an unknown type",__FILE__,1002) : qt_noop()); return never executed: return d->is_null; d->is_null;never executed: return d->is_null; } | 0 |
| 931 | static bool dummyCompare(const QVariant::Private *, const QVariant::Private *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to compare an unknown types",__FILE__,1003) : qt_noop()); return never executed: return false; false;never executed: return false; } | 0 |
| 932 | static bool dummyConvert(const QVariant::Private *, int, void *, bool *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to convert an unknown type",__FILE__,1004) : qt_noop()); return never executed: return false; false;never executed: return false; } | 0 |
| 933 | | - |
| 934 | static void dummyStreamDebug(QDebug, const QVariant &) { ((!(false)) ? qt_assert_x("QVariant", "Trying to convert an unknown type",__FILE__,1006) : qt_noop()); } never executed: end of block | 0 |
| 935 | | - |
| 936 | const QVariant::Handler qt_dummy_variant_handler = { | - |
| 937 | dummyConstruct, | - |
| 938 | dummyClear, | - |
| 939 | dummyIsNull, | - |
| 940 | | - |
| 941 | 0, | - |
| 942 | 0, | - |
| 943 | | - |
| 944 | dummyCompare, | - |
| 945 | dummyConvert, | - |
| 946 | 0, | - |
| 947 | | - |
| 948 | dummyStreamDebug | - |
| 949 | | - |
| 950 | | - |
| 951 | | - |
| 952 | }; | - |
| 953 | | - |
| 954 | static void customConstruct(QVariant::Private *d, const void *copy) | - |
| 955 | { | - |
| 956 | const QMetaType type(d->type); | - |
| 957 | const uint size = type.sizeOf(); | - |
| 958 | if (!size| TRUE | evaluated 18 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 108664 times by 214 testsEvaluated 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
- ...
|
) { | 18-108664 |
| 959 | QMessageLogger(__FILE__, 1031, __PRETTY_FUNCTION__).warning("Trying to construct an instance of an invalid type, type id: %i", d->type); | - |
| 960 | d->type = QVariant::Invalid; | - |
| 961 | return;executed 18 times by 3 tests: return;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 18 |
| 962 | } | - |
| 963 | | - |
| 964 | | - |
| 965 | if (size <= sizeof(QVariant::Private::Data)| TRUE | evaluated 104997 times by 123 testsEvaluated 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_QDBusMetaObject
- tst_QDBusMetaType
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- ...
| | FALSE | evaluated 3667 times by 172 testsEvaluated 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
- ...
|
| 3667-104997 |
| 966 | && (type.flags() & (QMetaType::MovableType | QMetaType::IsEnumeration))) { | - |
| 967 | type.construct(&d->data.ptr, copy); | - |
| 968 | d->is_shared = false; | - |
| 969 | }executed 104620 times by 121 tests: end of blockExecuted 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
- ...
else { | 104620 |
| 970 | void *ptr = type.create(copy); | - |
| 971 | d->is_shared = true; | - |
| 972 | d->data.shared = new QVariant::PrivateShared(ptr); | - |
| 973 | }executed 4044 times by 174 tests: end of blockExecuted 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
- ...
| 4044 |
| 974 | } | - |
| 975 | | - |
| 976 | static void customClear(QVariant::Private *d) | - |
| 977 | { | - |
| 978 | if (!d->is_shared| TRUE | evaluated 146819 times by 144 testsEvaluated 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
- ...
| | FALSE | evaluated 4040 times by 176 testsEvaluated 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
- ...
|
) { | 4040-146819 |
| 979 | QMetaType::destruct(d->type, &d->data.ptr); | - |
| 980 | }executed 146819 times by 144 tests: end of blockExecuted 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
- ...
else { | 146819 |
| 981 | QMetaType::destroy(d->type, d->data.shared->ptr); | - |
| 982 | delete d->data.shared; | - |
| 983 | }executed 4040 times by 176 tests: end of blockExecuted 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
- ...
| 4040 |
| 984 | } | - |
| 985 | | - |
| 986 | static bool customIsNull(const QVariant::Private *d) | - |
| 987 | { | - |
| 988 | returnexecuted 362 times by 8 tests: return d->is_null;Executed by:- tst_QAbstractProxyModel
- tst_QMetaProperty
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
d->is_null;executed 362 times by 8 tests: return d->is_null;Executed by:- tst_QAbstractProxyModel
- tst_QMetaProperty
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 362 |
| 989 | } | - |
| 990 | | - |
| 991 | static bool customCompare(const QVariant::Private *a, const QVariant::Private *b) | - |
| 992 | { | - |
| 993 | const char *const typeName = QMetaType::typeName(a->type); | - |
| 994 | if (__builtin_expect(!!(!typeName), false)| TRUE | never evaluated | | FALSE | evaluated 345 times by 23 testsEvaluated 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_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
|
&& __builtin_expect(!!(!QMetaType::isRegistered(a->type)), true)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-345 |
| 995 | QMessageLogger(__FILE__, 1067, __PRETTY_FUNCTION__).fatal("QVariant::compare: type %d unknown to QVariant.", a->type); never executed: QMessageLogger(__FILE__, 1067, __PRETTY_FUNCTION__).fatal("QVariant::compare: type %d unknown to QVariant.", a->type); | 0 |
| 996 | | - |
| 997 | const void *a_ptr = a->is_shared| TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QFtp
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 308 times by 20 testsEvaluated 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_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
? a->data.shared->ptr : &(a->data.ptr); | 37-308 |
| 998 | const void *b_ptr = b->is_shared| TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QFtp
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 308 times by 20 testsEvaluated 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_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
? b->data.shared->ptr : &(b->data.ptr); | 37-308 |
| 999 | | - |
| 1000 | uint typeNameLen = qstrlen(typeName); | - |
| 1001 | if (typeNameLen > 0| TRUE | evaluated 345 times by 23 testsEvaluated 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_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 | never evaluated |
&& typeName[typeNameLen - 1] == '*'| TRUE | evaluated 19 times by 3 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QStyleSheetStyle
- tst_QVariant
| | FALSE | evaluated 326 times by 21 testsEvaluated 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_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
|
) | 0-345 |
| 1002 | returnexecuted 19 times by 3 tests: return *static_cast<void *const *>(a_ptr) == *static_cast<void *const *>(b_ptr);Executed by:- tst_QAbstractProxyModel
- tst_QStyleSheetStyle
- tst_QVariant
*static_cast<void *const *>(a_ptr) == *static_cast<void *const *>(b_ptr);executed 19 times by 3 tests: return *static_cast<void *const *>(a_ptr) == *static_cast<void *const *>(b_ptr);Executed by:- tst_QAbstractProxyModel
- tst_QStyleSheetStyle
- tst_QVariant
| 19 |
| 1003 | | - |
| 1004 | if (a->is_null| TRUE | never evaluated | | FALSE | evaluated 326 times by 21 testsEvaluated 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_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
|
&& b->is_null| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-326 |
| 1005 | return never executed: return true; true;never executed: return true; | 0 |
| 1006 | | - |
| 1007 | returnexecuted 326 times by 21 tests: return !memcmp(a_ptr, b_ptr, QMetaType::sizeOf(a->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_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
!memcmp(a_ptr, b_ptr, QMetaType::sizeOf(a->type));executed 326 times by 21 tests: return !memcmp(a_ptr, b_ptr, QMetaType::sizeOf(a->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_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
| 326 |
| 1008 | } | - |
| 1009 | | - |
| 1010 | static bool customConvert(const QVariant::Private *d, int t, void *result, bool *ok) | - |
| 1011 | { | - |
| 1012 | if (d->type >= QMetaType::User| TRUE | evaluated 482 times by 6 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| | FALSE | evaluated 257 times by 22 testsEvaluated 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_QMetaProperty
- tst_QMetaType
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
|| t >= QMetaType::User| TRUE | evaluated 257 times by 22 testsEvaluated 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_QMetaProperty
- tst_QMetaType
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| | FALSE | never evaluated |
) { | 0-482 |
| 1013 | if (QMetaType::convert(constData(*d), d->type, result, t)| TRUE | evaluated 103 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 636 times by 24 testsEvaluated 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
|
) { | 103-636 |
| 1014 | if (ok| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QVariant
| | FALSE | evaluated 100 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 3-100 |
| 1015 | *executed 3 times by 2 tests: *ok = true;Executed by:- tst_QMetaProperty
- tst_QVariant
ok = true;executed 3 times by 2 tests: *ok = true;Executed by:- tst_QMetaProperty
- tst_QVariant
| 3 |
| 1016 | returnexecuted 103 times by 3 tests: return true;Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
true;executed 103 times by 3 tests: return true;Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| 103 |
| 1017 | } | - |
| 1018 | }executed 636 times by 24 tests: end of blockExecuted 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
| 636 |
| 1019 | returnexecuted 636 times by 24 tests: return convert(d, t, result, ok);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_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
convert(d, t, result, ok);executed 636 times by 24 tests: return convert(d, t, result, ok);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_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 636 |
| 1020 | } | - |
| 1021 | | - |
| 1022 | | - |
| 1023 | static void customStreamDebug(QDebug dbg, const QVariant &variant) { | - |
| 1024 | | - |
| 1025 | QMetaType::TypeFlags flags = QMetaType::typeFlags(variant.userType()); | - |
| 1026 | if (flags & QMetaType::PointerToQObject| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 1-3 |
| 1027 | dbg.nospace() << variant.value<QObject*>();executed 1 time by 1 test: dbg.nospace() << variant.value<QObject*>(); | 1 |
| 1028 | | - |
| 1029 | | - |
| 1030 | | - |
| 1031 | | - |
| 1032 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 4 |
| 1033 | | - |
| 1034 | | - |
| 1035 | const QVariant::Handler qt_custom_variant_handler = { | - |
| 1036 | customConstruct, | - |
| 1037 | customClear, | - |
| 1038 | customIsNull, | - |
| 1039 | | - |
| 1040 | 0, | - |
| 1041 | 0, | - |
| 1042 | | - |
| 1043 | customCompare, | - |
| 1044 | customConvert, | - |
| 1045 | 0, | - |
| 1046 | | - |
| 1047 | customStreamDebug | - |
| 1048 | | - |
| 1049 | | - |
| 1050 | | - |
| 1051 | }; | - |
| 1052 | | - |
| 1053 | } | - |
| 1054 | | - |
| 1055 | static HandlersManager handlerManager; | - |
| 1056 | static_assert(bool(!QModulesPrivate::Core), "Initialization assumes that ModulesNames::Core is 0"); | - |
| 1057 | const QVariant::Handler *HandlersManager::Handlers[QModulesPrivate::ModulesCount] | - |
| 1058 | = { &qt_kernel_variant_handler, &qt_dummy_variant_handler, | - |
| 1059 | &qt_dummy_variant_handler, &qt_custom_variant_handler }; | - |
| 1060 | | - |
| 1061 | __attribute__((visibility("default"))) const QVariant::Handler *qcoreVariantHandler() | - |
| 1062 | { | - |
| 1063 | returnexecuted 238889 times by 60 tests: return &qt_kernel_variant_handler;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_QGuiVariant
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
&qt_kernel_variant_handler;executed 238889 times by 60 tests: return &qt_kernel_variant_handler;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_QGuiVariant
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
| 238889 |
| 1064 | } | - |
| 1065 | | - |
| 1066 | __attribute__((visibility("default"))) void QVariantPrivate::registerHandler(const int name, const QVariant::Handler *handler) | - |
| 1067 | { | - |
| 1068 | handlerManager.registerHandler(static_cast<QModulesPrivate::Names>(name), handler); | - |
| 1069 | }executed 250 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 250 |
| 1070 | void QVariant::create(int type, const void *copy) | - |
| 1071 | { | - |
| 1072 | d.type = type; | - |
| 1073 | handlerManager[type]->construct(&d, copy); | - |
| 1074 | }executed 3555767 times by 249 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- ...
| 3555767 |
| 1075 | QVariant::~QVariant() | - |
| 1076 | { | - |
| 1077 | if ((d.is_shared| TRUE | evaluated 6933990 times by 210 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- 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
- ...
| | FALSE | evaluated 27355757 times by 491 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- ...
|
&& !d.data.shared->ref.deref()| TRUE | evaluated 3439999 times by 209 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- 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
- ...
| | FALSE | evaluated 3493991 times by 179 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
) || (!d.is_shared| TRUE | evaluated 27355757 times by 491 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- ...
| | FALSE | evaluated 3493991 times by 179 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
&& d.type > Char| TRUE | evaluated 12295040 times by 436 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| | FALSE | evaluated 15060717 times by 425 testsEvaluated by:- tst_Compiler
- 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_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- ...
|
)) | 3439999-27355757 |
| 1078 | handlerManager[d.type]->clear(&d);executed 15735039 times by 445 tests: handlerManager[d.type]->clear(&d);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 15735039 |
| 1079 | }executed 34289747 times by 494 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- ...
| 34289747 |
| 1080 | QVariant::QVariant(const QVariant &p) | - |
| 1081 | : d(p.d) | - |
| 1082 | { | - |
| 1083 | if (d.is_shared| TRUE | evaluated 3492182 times by 177 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 9311348 times by 408 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
|
) { | 3492182-9311348 |
| 1084 | d.data.shared->ref.ref(); | - |
| 1085 | }executed 3492182 times by 177 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
else if (p.d.type > Char| TRUE | evaluated 8074240 times by 391 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| | FALSE | evaluated 1237108 times by 242 testsEvaluated by:- tst_Gestures
- 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_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
|
) { | 1237108-8074240 |
| 1086 | handlerManager[d.type]->construct(&d, p.constData()); | - |
| 1087 | d.is_null = p.d.is_null; | - |
| 1088 | }executed 8074240 times by 391 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 8074240 |
| 1089 | }executed 12803530 times by 411 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 12803530 |
| 1090 | | - |
| 1091 | | - |
| 1092 | | - |
| 1093 | | - |
| 1094 | | - |
| 1095 | QVariant::QVariant(QDataStream &s) | - |
| 1096 | { | - |
| 1097 | d.is_null = true; | - |
| 1098 | s >> *this; | - |
| 1099 | } never executed: end of block | 0 |
| 1100 | QVariant::QVariant(const char *val) | - |
| 1101 | { | - |
| 1102 | QString s = QString::fromUtf8(val); | - |
| 1103 | create(String, &s); | - |
| 1104 | }executed 10691 times by 46 tests: end of blockExecuted by:- tst_Compiler
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QPlainTextEdit
- ...
| 10691 |
| 1105 | QVariant::QVariant(Type type) | - |
| 1106 | { create(type, 0); }executed 8082 times by 17 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiVariant
- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRecord
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 8082 |
| 1107 | QVariant::QVariant(int typeId, const void *copy) | - |
| 1108 | { create(typeId, copy); d.is_null = false; }executed 3501271 times by 228 tests: end of blockExecuted by:- tst_Gestures
- 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 3501271 |
| 1109 | | - |
| 1110 | | - |
| 1111 | | - |
| 1112 | | - |
| 1113 | | - |
| 1114 | QVariant::QVariant(int typeId, const void *copy, uint flags) | - |
| 1115 | { | - |
| 1116 | if (flags| TRUE | evaluated 42239 times by 30 testsEvaluated by:- tst_Gestures
- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMetaProperty
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
| | FALSE | evaluated 18638 times by 195 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
|
) { | 18638-42239 |
| 1117 | d.type = typeId; | - |
| 1118 | d.data.ptr = *reinterpret_cast<void *const*>(copy); | - |
| 1119 | }executed 42239 times by 30 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMetaProperty
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
else { | 42239 |
| 1120 | create(typeId, copy); | - |
| 1121 | }executed 18638 times by 195 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| 18638 |
| 1122 | d.is_null = false; | - |
| 1123 | }executed 60877 times by 199 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 60877 |
| 1124 | | - |
| 1125 | QVariant::QVariant(int val) | - |
| 1126 | : d(Int) | - |
| 1127 | { d.data.i = val; }executed 653435 times by 221 tests: end of blockExecuted by:- tst_Gestures
- 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_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 653435 |
| 1128 | QVariant::QVariant(uint val) | - |
| 1129 | : d(UInt) | - |
| 1130 | { d.data.u = val; }executed 3344 times by 53 tests: end of blockExecuted by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- ...
| 3344 |
| 1131 | QVariant::QVariant(qlonglong val) | - |
| 1132 | : d(LongLong) | - |
| 1133 | { d.data.ll = val; }executed 40329 times by 23 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
| 40329 |
| 1134 | QVariant::QVariant(qulonglong val) | - |
| 1135 | : d(ULongLong) | - |
| 1136 | { d.data.ull = val; }executed 87 times by 24 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDockWidget
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QMainWindow
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusmarshall - unknown status
| 87 |
| 1137 | QVariant::QVariant(bool val) | - |
| 1138 | : d(Bool) | - |
| 1139 | { d.data.b = val; }executed 147247 times by 175 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 147247 |
| 1140 | QVariant::QVariant(double val) | - |
| 1141 | : d(Double) | - |
| 1142 | { d.data.d = val; }executed 73155 times by 75 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 73155 |
| 1143 | QVariant::QVariant(float val) | - |
| 1144 | : d(QMetaType::Float) | - |
| 1145 | { d.data.f = val; }executed 158 times by 16 tests: end of blockExecuted by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemDelegate
- tst_QMetaType
- tst_QPainter
- tst_QPixmap
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QVariant
| 158 |
| 1146 | | - |
| 1147 | QVariant::QVariant(const QByteArray &val) | - |
| 1148 | : d(ByteArray) | - |
| 1149 | { v_construct<QByteArray>(&d, val); }executed 894 times by 37 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QListWidget
- tst_QMimeData
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStandardItemModel
- tst_QTableWidget
- ...
| 894 |
| 1150 | QVariant::QVariant(const QBitArray &val) | - |
| 1151 | : d(BitArray) | - |
| 1152 | { v_construct<QBitArray>(&d, val); }executed 6 times by 1 test: end of block | 6 |
| 1153 | QVariant::QVariant(const QString &val) | - |
| 1154 | : d(String) | - |
| 1155 | { v_construct<QString>(&d, val); }executed 3990181 times by 379 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 3990181 |
| 1156 | QVariant::QVariant(QChar val) | - |
| 1157 | : d(Char) | - |
| 1158 | { v_construct<QChar>(&d, val); }executed 5772 times by 66 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
| 5772 |
| 1159 | QVariant::QVariant(QLatin1String val) | - |
| 1160 | : d(String) | - |
| 1161 | { v_construct<QString>(&d, val); }executed 882 times by 35 tests: end of blockExecuted by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QListView
- tst_QMetaProperty
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSettings
- ...
| 882 |
| 1162 | QVariant::QVariant(const QStringList &val) | - |
| 1163 | : d(StringList) | - |
| 1164 | { v_construct<QStringList>(&d, val); }executed 919 times by 59 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 919 |
| 1165 | | - |
| 1166 | QVariant::QVariant(const QDate &val) | - |
| 1167 | : d(Date) | - |
| 1168 | { v_construct<QDate>(&d, val); }executed 166 times by 9 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDate
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkRequest
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 166 |
| 1169 | QVariant::QVariant(const QTime &val) | - |
| 1170 | : d(Time) | - |
| 1171 | { v_construct<QTime>(&d, val); }executed 66 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QSettings
- tst_QTime
- tst_QVariant
| 66 |
| 1172 | QVariant::QVariant(const QDateTime &val) | - |
| 1173 | : d(DateTime) | - |
| 1174 | { v_construct<QDateTime>(&d, val); }executed 25061 times by 21 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| 25061 |
| 1175 | | - |
| 1176 | QVariant::QVariant(const QEasingCurve &val) | - |
| 1177 | : d(EasingCurve) | - |
| 1178 | { v_construct<QEasingCurve>(&d, val); }executed 3 times by 2 tests: end of blockExecuted by:- tst_QScroller
- tst_QVariant
| 3 |
| 1179 | | - |
| 1180 | QVariant::QVariant(const QList<QVariant> &list) | - |
| 1181 | : d(List) | - |
| 1182 | { v_construct<QVariantList>(&d, list); }executed 182 times by 19 tests: end of blockExecuted by:- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QMetaType
- tst_QMimeData
- tst_QPrinter
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextTable
- tst_QVariant
| 182 |
| 1183 | QVariant::QVariant(const QMap<QString, QVariant> &map) | - |
| 1184 | : d(Map) | - |
| 1185 | { v_construct<QVariantMap>(&d, map); }executed 29 times by 4 tests: end of blockExecuted by:- tst_QDBusAbstractAdaptor
- tst_QSettings
- tst_QSslCertificate
- tst_QVariant
| 29 |
| 1186 | QVariant::QVariant(const QHash<QString, QVariant> &hash) | - |
| 1187 | : d(Hash) | - |
| 1188 | { v_construct<QVariantHash>(&d, hash); }executed 14 times by 1 test: end of block | 14 |
| 1189 | | - |
| 1190 | QVariant::QVariant(const QPoint &pt) | - |
| 1191 | : d(Point) | - |
| 1192 | { v_construct<QPoint>(&d, pt); }executed 50 times by 5 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QGuiVariant
- tst_QMetaType
- tst_QSettings
- tst_QVariant
| 50 |
| 1193 | QVariant::QVariant(const QPointF &pt) | - |
| 1194 | : d(PointF) | - |
| 1195 | { v_construct<QPointF>(&d, pt); }executed 67 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 67 |
| 1196 | QVariant::QVariant(const QRectF &r) | - |
| 1197 | : d(RectF) | - |
| 1198 | { v_construct<QRectF>(&d, r); }executed 26 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QGraphicsView
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 26 |
| 1199 | QVariant::QVariant(const QLineF &l) | - |
| 1200 | : d(LineF) | - |
| 1201 | { v_construct<QLineF>(&d, l); }executed 8 times by 3 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QMetaType
- tst_QVariant
| 8 |
| 1202 | QVariant::QVariant(const QLine &l) | - |
| 1203 | : d(Line) | - |
| 1204 | { v_construct<QLine>(&d, l); }executed 8 times by 3 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QMetaType
- tst_QVariant
| 8 |
| 1205 | QVariant::QVariant(const QRect &r) | - |
| 1206 | : d(Rect) | - |
| 1207 | { v_construct<QRect>(&d, r); }executed 5350 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QDBusMarshall
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QPrinter
- tst_QScrollArea
- tst_QSettings
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 5350 |
| 1208 | QVariant::QVariant(const QSize &s) | - |
| 1209 | : d(Size) | - |
| 1210 | { v_construct<QSize>(&d, s); }executed 1215 times by 16 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QIcoImageFormat
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QListView
- tst_QMetaType
- tst_QPixmap
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
| 1215 |
| 1211 | QVariant::QVariant(const QSizeF &s) | - |
| 1212 | : d(SizeF) | - |
| 1213 | { v_construct<QSizeF>(&d, s); }executed 38 times by 4 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
| 38 |
| 1214 | | - |
| 1215 | | - |
| 1216 | QVariant::QVariant(const QUrl &u) | - |
| 1217 | : d(Url) | - |
| 1218 | { v_construct<QUrl>(&d, u); }executed 5485 times by 10 tests: end of blockExecuted by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeData
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QVariant
- tst_languageChange
| 5485 |
| 1219 | | - |
| 1220 | QVariant::QVariant(const QLocale &l) | - |
| 1221 | : d(Locale) | - |
| 1222 | { v_construct<QLocale>(&d, l); }executed 3 times by 2 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QVariant
| 3 |
| 1223 | | - |
| 1224 | QVariant::QVariant(const QRegExp ®Exp) | - |
| 1225 | : d(RegExp) | - |
| 1226 | { v_construct<QRegExp>(&d, regExp); }executed 46 times by 2 tests: end of blockExecuted by:- tst_QDataStream
- tst_QVariant
| 46 |
| 1227 | | - |
| 1228 | | - |
| 1229 | | - |
| 1230 | QVariant::QVariant(const QRegularExpression &re) | - |
| 1231 | : d(RegularExpression) | - |
| 1232 | { v_construct<QRegularExpression>(&d, re); }executed 104 times by 4 tests: end of blockExecuted by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 104 |
| 1233 | | - |
| 1234 | QVariant::QVariant(const QUuid &uuid) | - |
| 1235 | : d(Uuid) | - |
| 1236 | { v_construct<QUuid>(&d, uuid); }executed 5 times by 1 test: end of block | 5 |
| 1237 | QVariant::QVariant(const QModelIndex &modelIndex) | - |
| 1238 | : d(ModelIndex) | - |
| 1239 | { v_construct<QModelIndex>(&d, modelIndex); }executed 2 times by 1 test: end of block | 2 |
| 1240 | QVariant::QVariant(const QPersistentModelIndex &modelIndex) | - |
| 1241 | : d(PersistentModelIndex) | - |
| 1242 | { v_construct<QPersistentModelIndex>(&d, modelIndex); }executed 1 time by 1 test: end of block | 1 |
| 1243 | QVariant::QVariant(const QJsonValue &jsonValue) | - |
| 1244 | : d(QMetaType::QJsonValue) | - |
| 1245 | { v_construct<QJsonValue>(&d, jsonValue); }executed 17 times by 1 test: end of block | 17 |
| 1246 | QVariant::QVariant(const QJsonObject &jsonObject) | - |
| 1247 | : d(QMetaType::QJsonObject) | - |
| 1248 | { v_construct<QJsonObject>(&d, jsonObject); }executed 1 time by 1 test: end of block | 1 |
| 1249 | QVariant::QVariant(const QJsonArray &jsonArray) | - |
| 1250 | : d(QMetaType::QJsonArray) | - |
| 1251 | { v_construct<QJsonArray>(&d, jsonArray); }executed 1 time by 1 test: end of block | 1 |
| 1252 | QVariant::QVariant(const QJsonDocument &jsonDocument) | - |
| 1253 | : d(QMetaType::QJsonDocument) | - |
| 1254 | { v_construct<QJsonDocument>(&d, jsonDocument); }executed 1 time by 1 test: end of block | 1 |
| 1255 | QVariant::Type QVariant::type() const | - |
| 1256 | { | - |
| 1257 | returnexecuted 332149 times by 161 tests: return d.type >= QMetaType::User ? UserType : static_cast<Type>(d.type);Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
d.type >= QMetaType::User| TRUE | evaluated 138 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_qdbusinterface - unknown status
| | FALSE | evaluated 332011 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
|
? UserType : static_cast<Type>(d.type);executed 332149 times by 161 tests: return d.type >= QMetaType::User ? UserType : static_cast<Type>(d.type);Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
| 138-332149 |
| 1258 | } | - |
| 1259 | int QVariant::userType() const | - |
| 1260 | { | - |
| 1261 | returnexecuted 4474633 times by 232 tests: return d.type;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_QAbstractTextDocumentLayout
- 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
- ...
d.type;executed 4474633 times by 232 tests: return d.type;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_QAbstractTextDocumentLayout
- 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
- ...
| 4474633 |
| 1262 | } | - |
| 1263 | | - |
| 1264 | | - |
| 1265 | | - |
| 1266 | | - |
| 1267 | QVariant& QVariant::operator=(const QVariant &variant) | - |
| 1268 | { | - |
| 1269 | if (this == &variant| TRUE | evaluated 306 times by 10 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
| | FALSE | evaluated 363636 times by 211 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) | 306-363636 |
| 1270 | returnexecuted 306 times by 10 tests: return *this;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
*this;executed 306 times by 10 tests: return *this;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
| 306 |
| 1271 | | - |
| 1272 | clear(); | - |
| 1273 | if (variant.d.is_shared| TRUE | evaluated 1971 times by 38 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QPropertyAnimation
- ...
| | FALSE | evaluated 361665 times by 207 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) { | 1971-361665 |
| 1274 | variant.d.data.shared->ref.ref(); | - |
| 1275 | d = variant.d; | - |
| 1276 | }executed 1971 times by 38 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QPropertyAnimation
- ...
else if (variant.d.type > Char| TRUE | evaluated 191274 times by 114 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- ...
| | FALSE | evaluated 170391 times by 188 testsEvaluated 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_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
|
) { | 1971-191274 |
| 1277 | d.type = variant.d.type; | - |
| 1278 | handlerManager[d.type]->construct(&d, variant.constData()); | - |
| 1279 | d.is_null = variant.d.is_null; | - |
| 1280 | }executed 191274 times by 114 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- ...
else { | 191274 |
| 1281 | d = variant.d; | - |
| 1282 | }executed 170391 times by 188 tests: end of blockExecuted 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_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 170391 |
| 1283 | | - |
| 1284 | returnexecuted 363636 times by 211 tests: return *this;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
*this;executed 363636 times by 211 tests: return *this;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 363636 |
| 1285 | } | - |
| 1286 | void QVariant::detach() | - |
| 1287 | { | - |
| 1288 | if (!d.is_shared| TRUE | evaluated 38330 times by 162 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
| | FALSE | evaluated 5414 times by 32 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QMatrixNxN
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QPrinter
- tst_QQuaternion
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- ...
|
|| d.data.shared->ref.load() == 1| TRUE | evaluated 5389 times by 32 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QMatrixNxN
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QPrinter
- tst_QQuaternion
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- ...
| | FALSE | evaluated 25 times by 7 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QGraphicsObject
- tst_QMatrixNxN
- tst_QQuaternion
- tst_QVariant
- tst_QVectorND
- tst_qdbusabstractinterface - unknown status
|
) | 25-38330 |
| 1289 | return;executed 43719 times by 164 tests: return;Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
| 43719 |
| 1290 | | - |
| 1291 | Private dd; | - |
| 1292 | dd.type = d.type; | - |
| 1293 | handlerManager[d.type]->construct(&dd, constData()); | - |
| 1294 | if (!d.data.shared->ref.deref()| TRUE | never evaluated | | FALSE | evaluated 25 times by 7 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QGraphicsObject
- tst_QMatrixNxN
- tst_QQuaternion
- tst_QVariant
- tst_QVectorND
- tst_qdbusabstractinterface - unknown status
|
) | 0-25 |
| 1295 | handlerManager[d.type]->clear(&d); never executed: handlerManager[d.type]->clear(&d); | 0 |
| 1296 | d.data.shared = dd.data.shared; | - |
| 1297 | }executed 25 times by 7 tests: end of blockExecuted by:- tst_QDBusAbstractInterface
- tst_QGraphicsObject
- tst_QMatrixNxN
- tst_QQuaternion
- tst_QVariant
- tst_QVectorND
- tst_qdbusabstractinterface - unknown status
| 25 |
| 1298 | const char *QVariant::typeName() const | - |
| 1299 | { | - |
| 1300 | returnexecuted 5751 times by 46 tests: return QMetaType::typeName(d.type);Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- ...
QMetaType::typeName(d.type);executed 5751 times by 46 tests: return QMetaType::typeName(d.type);Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- ...
| 5751 |
| 1301 | } | - |
| 1302 | | - |
| 1303 | | - |
| 1304 | | - |
| 1305 | | - |
| 1306 | | - |
| 1307 | void QVariant::clear() | - |
| 1308 | { | - |
| 1309 | if ((d.is_shared| TRUE | evaluated 175 times by 13 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 391156 times by 218 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
&& !d.data.shared->ref.deref()| TRUE | evaluated 48 times by 9 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QVariant
| | FALSE | evaluated 127 times by 7 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QPropertyAnimation
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
) || (!d.is_shared| TRUE | evaluated 391156 times by 218 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 127 times by 7 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QPropertyAnimation
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
&& d.type > Char| TRUE | evaluated 132659 times by 85 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- ...
| | FALSE | evaluated 258497 times by 212 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
)) | 48-391156 |
| 1310 | handlerManager[d.type]->clear(&d);executed 132707 times by 86 tests: handlerManager[d.type]->clear(&d);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- ...
| 132707 |
| 1311 | d.type = Invalid; | - |
| 1312 | d.is_null = true; | - |
| 1313 | d.is_shared = false; | - |
| 1314 | }executed 391331 times by 218 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 391331 |
| 1315 | | - |
| 1316 | | - |
| 1317 | | - |
| 1318 | | - |
| 1319 | | - |
| 1320 | | - |
| 1321 | | - |
| 1322 | const char *QVariant::typeToName(int typeId) | - |
| 1323 | { | - |
| 1324 | returnexecuted 408 times by 2 tests: return QMetaType::typeName(typeId);Executed by:- tst_QVariant
- tst_qdbusxml2cpp - unknown status
QMetaType::typeName(typeId);executed 408 times by 2 tests: return QMetaType::typeName(typeId);Executed by:- tst_QVariant
- tst_qdbusxml2cpp - unknown status
| 408 |
| 1325 | } | - |
| 1326 | QVariant::Type QVariant::nameToType(const char *name) | - |
| 1327 | { | - |
| 1328 | int metaType = QMetaType::type(name); | - |
| 1329 | returnexecuted 81 times by 1 test: return metaType <= int(UserType) ? QVariant::Type(metaType) : UserType; metaType <= int(UserType)| TRUE | evaluated 81 times by 1 test | | FALSE | never evaluated |
? QVariant::Type(metaType) : UserType;executed 81 times by 1 test: return metaType <= int(UserType) ? QVariant::Type(metaType) : UserType; | 0-81 |
| 1330 | } | - |
| 1331 | | - |
| 1332 | | - |
| 1333 | enum { MapFromThreeCount = 36 }; | - |
| 1334 | static const ushort mapIdFromQt3ToCurrent[MapFromThreeCount] = | - |
| 1335 | { | - |
| 1336 | QVariant::Invalid, | - |
| 1337 | QVariant::Map, | - |
| 1338 | QVariant::List, | - |
| 1339 | QVariant::String, | - |
| 1340 | QVariant::StringList, | - |
| 1341 | QVariant::Font, | - |
| 1342 | QVariant::Pixmap, | - |
| 1343 | QVariant::Brush, | - |
| 1344 | QVariant::Rect, | - |
| 1345 | QVariant::Size, | - |
| 1346 | QVariant::Color, | - |
| 1347 | QVariant::Palette, | - |
| 1348 | 0, | - |
| 1349 | QVariant::Icon, | - |
| 1350 | QVariant::Point, | - |
| 1351 | QVariant::Image, | - |
| 1352 | QVariant::Int, | - |
| 1353 | QVariant::UInt, | - |
| 1354 | QVariant::Bool, | - |
| 1355 | QVariant::Double, | - |
| 1356 | 0, | - |
| 1357 | QVariant::Polygon, | - |
| 1358 | QVariant::Region, | - |
| 1359 | QVariant::Bitmap, | - |
| 1360 | QVariant::Cursor, | - |
| 1361 | QVariant::SizePolicy, | - |
| 1362 | QVariant::Date, | - |
| 1363 | QVariant::Time, | - |
| 1364 | QVariant::DateTime, | - |
| 1365 | QVariant::ByteArray, | - |
| 1366 | QVariant::BitArray, | - |
| 1367 | QVariant::KeySequence, | - |
| 1368 | QVariant::Pen, | - |
| 1369 | QVariant::LongLong, | - |
| 1370 | QVariant::ULongLong, | - |
| 1371 | QVariant::EasingCurve | - |
| 1372 | }; | - |
| 1373 | | - |
| 1374 | | - |
| 1375 | | - |
| 1376 | | - |
| 1377 | | - |
| 1378 | | - |
| 1379 | | - |
| 1380 | void QVariant::load(QDataStream &s) | - |
| 1381 | { | - |
| 1382 | clear(); | - |
| 1383 | | - |
| 1384 | quint32 typeId; | - |
| 1385 | s >> typeId; | - |
| 1386 | if (s.version() < QDataStream::Qt_4_0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 16322 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 1-16322 |
| 1387 | if (typeId >= MapFromThreeCount| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 1388 | return; never executed: return; | 0 |
| 1389 | typeId = mapIdFromQt3ToCurrent[typeId]; | - |
| 1390 | }executed 1 time by 1 test: end of block else if (s.version() < QDataStream::Qt_5_0| TRUE | evaluated 407 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QSettings
- tst_QVariant
| | FALSE | evaluated 15915 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 1-15915 |
| 1391 | if (typeId == 127| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 406 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 1-406 |
| 1392 | typeId = QMetaType::User; | - |
| 1393 | }executed 1 time by 1 test: end of block else if (typeId >= 128| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 390 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId != QVariant::UserType| TRUE | evaluated 16 times by 1 test | | FALSE | never evaluated |
) { | 0-390 |
| 1394 | | - |
| 1395 | | - |
| 1396 | typeId -= 97; | - |
| 1397 | }executed 16 times by 1 test: end of block else if (typeId == 75| TRUE | never evaluated | | FALSE | evaluated 390 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-390 |
| 1398 | typeId = QMetaType::QSizePolicy; | - |
| 1399 | } never executed: end of block else if (typeId > 75| TRUE | never evaluated | | FALSE | evaluated 390 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId <= 86| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-390 |
| 1400 | | - |
| 1401 | | - |
| 1402 | typeId -=1; | - |
| 1403 | } never executed: end of block | 0 |
| 1404 | }executed 407 times by 3 tests: end of blockExecuted by:- tst_QGuiVariant
- tst_QSettings
- tst_QVariant
| 407 |
| 1405 | | - |
| 1406 | qint8 is_null = false; | - |
| 1407 | if (s.version() >= QDataStream::Qt_4_2| TRUE | evaluated 15991 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 332 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) | 332-15991 |
| 1408 | s >> is_null;executed 15991 times by 15 tests: s >> is_null;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 15991 |
| 1409 | if (typeId == QVariant::UserType| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
| | FALSE | evaluated 16319 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 4-16319 |
| 1410 | QByteArray name; | - |
| 1411 | s >> name; | - |
| 1412 | typeId = QMetaType::type(name.constData()); | - |
| 1413 | if (typeId == QMetaType::UnknownType| TRUE | never evaluated | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
|
) { | 0-4 |
| 1414 | s.setStatus(QDataStream::ReadCorruptData); | - |
| 1415 | return; never executed: return; | 0 |
| 1416 | } | - |
| 1417 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_QGuiVariant
- tst_QVariant
| 4 |
| 1418 | create(typeId, 0); | - |
| 1419 | d.is_null = is_null; | - |
| 1420 | | - |
| 1421 | if (!isValid()| TRUE | evaluated 13 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 16310 times by 14 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 13-16310 |
| 1422 | if (s.version() < QDataStream::Qt_5_0| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 3-10 |
| 1423 | | - |
| 1424 | QString x; | - |
| 1425 | s >> x; | - |
| 1426 | }executed 3 times by 1 test: end of block | 3 |
| 1427 | d.is_null = true; | - |
| 1428 | return;executed 13 times by 2 tests: return;Executed by:- tst_QMetaType
- tst_QVariant
| 13 |
| 1429 | } | - |
| 1430 | | - |
| 1431 | | - |
| 1432 | if (!QMetaType::load(s, d.type, const_cast<void *>(constData()))| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 16309 times by 14 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 1-16309 |
| 1433 | s.setStatus(QDataStream::ReadCorruptData); | - |
| 1434 | QMessageLogger(__FILE__, 2085, __PRETTY_FUNCTION__).warning("QVariant::load: unable to load type %d.", d.type); | - |
| 1435 | }executed 1 time by 1 test: end of block | 1 |
| 1436 | }executed 16310 times by 14 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16310 |
| 1437 | | - |
| 1438 | | - |
| 1439 | | - |
| 1440 | | - |
| 1441 | | - |
| 1442 | | - |
| 1443 | | - |
| 1444 | void QVariant::save(QDataStream &s) const | - |
| 1445 | { | - |
| 1446 | quint32 typeId = type(); | - |
| 1447 | bool fakeUserType = false; | - |
| 1448 | if (s.version() < QDataStream::Qt_4_0| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
| | FALSE | evaluated 16343 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 9-16343 |
| 1449 | int i; | - |
| 1450 | for (i = 0; i <= MapFromThreeCount - 1| TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
| | FALSE | evaluated 1 time by 1 test |
; ++i) { | 1-76 |
| 1451 | if (mapIdFromQt3ToCurrent[i] == typeId| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
| | FALSE | evaluated 68 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
|
) { | 8-68 |
| 1452 | typeId = i; | - |
| 1453 | break;executed 8 times by 2 tests: break;Executed by:- tst_QDataStream
- tst_QVariant
| 8 |
| 1454 | } | - |
| 1455 | }executed 68 times by 2 tests: end of blockExecuted by:- tst_QDataStream
- tst_QVariant
| 68 |
| 1456 | if (i >= MapFromThreeCount| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
|
) { | 1-8 |
| 1457 | s << QVariant(); | - |
| 1458 | return;executed 1 time by 1 test: return; | 1 |
| 1459 | } | - |
| 1460 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_QDataStream
- tst_QVariant
else if (s.version() < QDataStream::Qt_5_0| TRUE | evaluated 427 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
| | FALSE | evaluated 15916 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 8-15916 |
| 1461 | if (typeId == QMetaType::User| TRUE | never evaluated | | FALSE | evaluated 427 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-427 |
| 1462 | typeId = 127; | - |
| 1463 | } never executed: end of block else if (typeId >= 128 - 97| TRUE | evaluated 59 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
| | FALSE | evaluated 368 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId <= LastCoreType| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 51 times by 1 test |
) { | 0-368 |
| 1464 | | - |
| 1465 | | - |
| 1466 | typeId += 97; | - |
| 1467 | }executed 8 times by 1 test: end of block else if (typeId == QMetaType::QSizePolicy| TRUE | never evaluated | | FALSE | evaluated 419 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-419 |
| 1468 | typeId = 75; | - |
| 1469 | } never executed: end of block else if (typeId >= QMetaType::QKeySequence| TRUE | never evaluated | | FALSE | evaluated 419 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId <= QMetaType::QQuaternion| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-419 |
| 1470 | | - |
| 1471 | typeId +=1; | - |
| 1472 | } never executed: end of block else if (typeId == QMetaType::QPolygonF| TRUE | never evaluated | | FALSE | evaluated 419 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-419 |
| 1473 | | - |
| 1474 | typeId = 127; | - |
| 1475 | fakeUserType = true; | - |
| 1476 | } never executed: end of block | 0 |
| 1477 | }executed 427 times by 2 tests: end of blockExecuted by:- tst_QSettings
- tst_QVariant
| 427 |
| 1478 | s << typeId; | - |
| 1479 | if (s.version() >= QDataStream::Qt_4_2| TRUE | evaluated 15958 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 393 times by 3 testsEvaluated by:- tst_QDataStream
- tst_QSettings
- tst_QVariant
|
) | 393-15958 |
| 1480 | s << qint8(d.is_null);executed 15958 times by 16 tests: s << qint8(d.is_null);Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 15958 |
| 1481 | if (d.type >= QVariant::UserType| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 16349 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
|| fakeUserType| TRUE | never evaluated | | FALSE | evaluated 16349 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 0-16349 |
| 1482 | s << QMetaType::typeName(userType()); | - |
| 1483 | }executed 2 times by 1 test: end of block | 2 |
| 1484 | | - |
| 1485 | if (!isValid()| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 16333 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 18-16333 |
| 1486 | if (s.version() < QDataStream::Qt_5_0| TRUE | evaluated 13 times by 1 test | | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 5-13 |
| 1487 | s << QString();executed 13 times by 1 test: s << QString(); | 13 |
| 1488 | return;executed 18 times by 2 tests: return;Executed by:- tst_QMetaType
- tst_QVariant
| 18 |
| 1489 | } | - |
| 1490 | | - |
| 1491 | if (!QMetaType::save(s, d.type, constData())| TRUE | never evaluated | | FALSE | evaluated 16333 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 0-16333 |
| 1492 | QMessageLogger(__FILE__, 2143, __PRETTY_FUNCTION__).warning("QVariant::save: unable to save type '%s' (type id: %d).\n", QMetaType::typeName(d.type), d.type); | - |
| 1493 | ((!(false)) ? qt_assert_x("QVariant::save", "Invalid type to save",__FILE__,2144) : qt_noop()); | - |
| 1494 | } never executed: end of block | 0 |
| 1495 | }executed 16333 times by 15 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16333 |
| 1496 | QDataStream& operator>>(QDataStream &s, QVariant &p) | - |
| 1497 | { | - |
| 1498 | p.load(s); | - |
| 1499 | returnexecuted 16321 times by 15 tests: return s;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
s;executed 16321 times by 15 tests: return s;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16321 |
| 1500 | } | - |
| 1501 | | - |
| 1502 | | - |
| 1503 | | - |
| 1504 | | - |
| 1505 | | - |
| 1506 | | - |
| 1507 | QDataStream& operator<<(QDataStream &s, const QVariant &p) | - |
| 1508 | { | - |
| 1509 | p.save(s); | - |
| 1510 | returnexecuted 16352 times by 16 tests: return s;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
s;executed 16352 times by 16 tests: return s;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16352 |
| 1511 | } | - |
| 1512 | | - |
| 1513 | | - |
| 1514 | | - |
| 1515 | | - |
| 1516 | QDataStream& operator>>(QDataStream &s, QVariant::Type &p) | - |
| 1517 | { | - |
| 1518 | quint32 u; | - |
| 1519 | s >> u; | - |
| 1520 | p = (QVariant::Type)u; | - |
| 1521 | | - |
| 1522 | return never executed: return s; s;never executed: return s; | 0 |
| 1523 | } | - |
| 1524 | | - |
| 1525 | | - |
| 1526 | | - |
| 1527 | | - |
| 1528 | QDataStream& operator<<(QDataStream &s, const QVariant::Type p) | - |
| 1529 | { | - |
| 1530 | s << static_cast<quint32>(p); | - |
| 1531 | | - |
| 1532 | return never executed: return s; s;never executed: return s; | 0 |
| 1533 | } | - |
| 1534 | template <typename T> | - |
| 1535 | inline T qVariantToHelper(const QVariant::Private &d, const HandlersManager &handlerManager) | - |
| 1536 | { | - |
| 1537 | const uint targetType = qMetaTypeId<T>(); | - |
| 1538 | if (d.type == targetType| TRUE | evaluated 627340 times by 261 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| | FALSE | evaluated 78418 times by 84 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
|
) | 78418-627340 |
| 1539 | returnexecuted 627340 times by 261 tests: return *v_cast<T>(&d);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
*v_cast<T>(&d);executed 627340 times by 261 tests: return *v_cast<T>(&d);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 627340 |
| 1540 | | - |
| 1541 | T ret; | - |
| 1542 | if (d.type >= QMetaType::User| TRUE | evaluated 169 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 78249 times by 84 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
|
|| targetType >= QMetaType::User| TRUE | never evaluated | | FALSE | evaluated 78249 times by 84 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
|
) { | 0-78249 |
| 1543 | const void * const from = constData(d); | - |
| 1544 | if (QMetaType::convert(from, d.type, &ret, targetType)| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 18-151 |
| 1545 | returnexecuted 18 times by 2 tests: return ret;Executed by:- tst_QMetaType
- tst_QVariant
ret;executed 18 times by 2 tests: return ret;Executed by:- tst_QMetaType
- tst_QVariant
| 18 |
| 1546 | }executed 151 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 151 |
| 1547 | | - |
| 1548 | handlerManager[d.type]->convert(&d, targetType, &ret, 0); | - |
| 1549 | returnexecuted 78400 times by 84 tests: return ret;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
ret;executed 78400 times by 84 tests: return ret;Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- ...
| 78400 |
| 1550 | } | - |
| 1551 | QStringList QVariant::toStringList() const | - |
| 1552 | { | - |
| 1553 | returnexecuted 1046 times by 54 tests: return qVariantToHelper<QStringList>(d, handlerManager);Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
qVariantToHelper<QStringList>(d, handlerManager);executed 1046 times by 54 tests: return qVariantToHelper<QStringList>(d, handlerManager);Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 1046 |
| 1554 | } | - |
| 1555 | QString QVariant::toString() const | - |
| 1556 | { | - |
| 1557 | returnexecuted 539304 times by 257 tests: return qVariantToHelper<QString>(d, handlerManager);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
qVariantToHelper<QString>(d, handlerManager);executed 539304 times by 257 tests: return qVariantToHelper<QString>(d, handlerManager);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 539304 |
| 1558 | } | - |
| 1559 | | - |
| 1560 | | - |
| 1561 | | - |
| 1562 | | - |
| 1563 | | - |
| 1564 | | - |
| 1565 | | - |
| 1566 | QVariantMap QVariant::toMap() const | - |
| 1567 | { | - |
| 1568 | returnexecuted 7 times by 3 tests: return qVariantToHelper<QVariantMap>(d, handlerManager);Executed by:- tst_QSettings
- tst_QSslCertificate
- tst_QVariant
qVariantToHelper<QVariantMap>(d, handlerManager);executed 7 times by 3 tests: return qVariantToHelper<QVariantMap>(d, handlerManager);Executed by:- tst_QSettings
- tst_QSslCertificate
- tst_QVariant
| 7 |
| 1569 | } | - |
| 1570 | | - |
| 1571 | | - |
| 1572 | | - |
| 1573 | | - |
| 1574 | | - |
| 1575 | | - |
| 1576 | | - |
| 1577 | QVariantHash QVariant::toHash() const | - |
| 1578 | { | - |
| 1579 | returnexecuted 2 times by 1 test: return qVariantToHelper<QVariantHash>(d, handlerManager); qVariantToHelper<QVariantHash>(d, handlerManager);executed 2 times by 1 test: return qVariantToHelper<QVariantHash>(d, handlerManager); | 2 |
| 1580 | } | - |
| 1581 | QDate QVariant::toDate() const | - |
| 1582 | { | - |
| 1583 | returnexecuted 12853 times by 6 tests: return qVariantToHelper<QDate>(d, handlerManager);Executed by:- tst_QDate
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QVariant
qVariantToHelper<QDate>(d, handlerManager);executed 12853 times by 6 tests: return qVariantToHelper<QDate>(d, handlerManager);Executed by:- tst_QDate
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QVariant
| 12853 |
| 1584 | } | - |
| 1585 | QTime QVariant::toTime() const | - |
| 1586 | { | - |
| 1587 | returnexecuted 11023 times by 7 tests: return qVariantToHelper<QTime>(d, handlerManager);Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
qVariantToHelper<QTime>(d, handlerManager);executed 11023 times by 7 tests: return qVariantToHelper<QTime>(d, handlerManager);Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
| 11023 |
| 1588 | } | - |
| 1589 | QDateTime QVariant::toDateTime() const | - |
| 1590 | { | - |
| 1591 | returnexecuted 127841 times by 19 tests: return qVariantToHelper<QDateTime>(d, handlerManager);Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
qVariantToHelper<QDateTime>(d, handlerManager);executed 127841 times by 19 tests: return qVariantToHelper<QDateTime>(d, handlerManager);Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| 127841 |
| 1592 | } | - |
| 1593 | QEasingCurve QVariant::toEasingCurve() const | - |
| 1594 | { | - |
| 1595 | returnexecuted 3 times by 2 tests: return qVariantToHelper<QEasingCurve>(d, handlerManager);Executed by:- tst_QScroller
- tst_QVariant
qVariantToHelper<QEasingCurve>(d, handlerManager);executed 3 times by 2 tests: return qVariantToHelper<QEasingCurve>(d, handlerManager);Executed by:- tst_QScroller
- tst_QVariant
| 3 |
| 1596 | } | - |
| 1597 | QByteArray QVariant::toByteArray() const | - |
| 1598 | { | - |
| 1599 | returnexecuted 1647 times by 53 tests: return qVariantToHelper<QByteArray>(d, handlerManager);Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemView
- tst_QLineEdit
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMimeData
- ...
qVariantToHelper<QByteArray>(d, handlerManager);executed 1647 times by 53 tests: return qVariantToHelper<QByteArray>(d, handlerManager);Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemView
- tst_QLineEdit
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMimeData
- ...
| 1647 |
| 1600 | } | - |
| 1601 | QPoint QVariant::toPoint() const | - |
| 1602 | { | - |
| 1603 | returnexecuted 34 times by 5 tests: return qVariantToHelper<QPoint>(d, handlerManager);Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QSettings
- tst_QVariant
qVariantToHelper<QPoint>(d, handlerManager);executed 34 times by 5 tests: return qVariantToHelper<QPoint>(d, handlerManager);Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QSettings
- tst_QVariant
| 34 |
| 1604 | } | - |
| 1605 | QRect QVariant::toRect() const | - |
| 1606 | { | - |
| 1607 | returnexecuted 129 times by 10 tests: return qVariantToHelper<QRect>(d, handlerManager);Executed by:- tst_QImageReader
- tst_QLineEdit
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QScrollArea
- tst_QSettings
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
qVariantToHelper<QRect>(d, handlerManager);executed 129 times by 10 tests: return qVariantToHelper<QRect>(d, handlerManager);Executed by:- tst_QImageReader
- tst_QLineEdit
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QScrollArea
- tst_QSettings
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 129 |
| 1608 | } | - |
| 1609 | QSize QVariant::toSize() const | - |
| 1610 | { | - |
| 1611 | returnexecuted 166 times by 10 tests: return qVariantToHelper<QSize>(d, handlerManager);Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QSettings
- tst_QToolBar
- tst_QVariant
qVariantToHelper<QSize>(d, handlerManager);executed 166 times by 10 tests: return qVariantToHelper<QSize>(d, handlerManager);Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QSettings
- tst_QToolBar
- tst_QVariant
| 166 |
| 1612 | } | - |
| 1613 | QSizeF QVariant::toSizeF() const | - |
| 1614 | { | - |
| 1615 | returnexecuted 92 times by 3 tests: return qVariantToHelper<QSizeF>(d, handlerManager);Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
qVariantToHelper<QSizeF>(d, handlerManager);executed 92 times by 3 tests: return qVariantToHelper<QSizeF>(d, handlerManager);Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
| 92 |
| 1616 | } | - |
| 1617 | QRectF QVariant::toRectF() const | - |
| 1618 | { | - |
| 1619 | returnexecuted 22 times by 7 tests: return qVariantToHelper<QRectF>(d, handlerManager);Executed by:- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
qVariantToHelper<QRectF>(d, handlerManager);executed 22 times by 7 tests: return qVariantToHelper<QRectF>(d, handlerManager);Executed by:- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 22 |
| 1620 | } | - |
| 1621 | QLineF QVariant::toLineF() const | - |
| 1622 | { | - |
| 1623 | returnexecuted 9 times by 2 tests: return qVariantToHelper<QLineF>(d, handlerManager);Executed by:- tst_QMetaType
- tst_QVariant
qVariantToHelper<QLineF>(d, handlerManager);executed 9 times by 2 tests: return qVariantToHelper<QLineF>(d, handlerManager);Executed by:- tst_QMetaType
- tst_QVariant
| 9 |
| 1624 | } | - |
| 1625 | QLine QVariant::toLine() const | - |
| 1626 | { | - |
| 1627 | returnexecuted 9 times by 2 tests: return qVariantToHelper<QLine>(d, handlerManager);Executed by:- tst_QMetaType
- tst_QVariant
qVariantToHelper<QLine>(d, handlerManager);executed 9 times by 2 tests: return qVariantToHelper<QLine>(d, handlerManager);Executed by:- tst_QMetaType
- tst_QVariant
| 9 |
| 1628 | } | - |
| 1629 | QPointF QVariant::toPointF() const | - |
| 1630 | { | - |
| 1631 | returnexecuted 1641 times by 16 tests: return qVariantToHelper<QPointF>(d, handlerManager);Executed by:- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
qVariantToHelper<QPointF>(d, handlerManager);executed 1641 times by 16 tests: return qVariantToHelper<QPointF>(d, handlerManager);Executed by:- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 1641 |
| 1632 | } | - |
| 1633 | QUrl QVariant::toUrl() const | - |
| 1634 | { | - |
| 1635 | returnexecuted 7216 times by 10 tests: return qVariantToHelper<QUrl>(d, handlerManager);Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QVariant
- tst_languageChange
qVariantToHelper<QUrl>(d, handlerManager);executed 7216 times by 10 tests: return qVariantToHelper<QUrl>(d, handlerManager);Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QVariant
- tst_languageChange
| 7216 |
| 1636 | } | - |
| 1637 | QLocale QVariant::toLocale() const | - |
| 1638 | { | - |
| 1639 | returnexecuted 3 times by 1 test: return qVariantToHelper<QLocale>(d, handlerManager); qVariantToHelper<QLocale>(d, handlerManager);executed 3 times by 1 test: return qVariantToHelper<QLocale>(d, handlerManager); | 3 |
| 1640 | } | - |
| 1641 | QRegExp QVariant::toRegExp() const | - |
| 1642 | { | - |
| 1643 | returnexecuted 45 times by 2 tests: return qVariantToHelper<QRegExp>(d, handlerManager);Executed by:- tst_QDataStream
- tst_QVariant
qVariantToHelper<QRegExp>(d, handlerManager);executed 45 times by 2 tests: return qVariantToHelper<QRegExp>(d, handlerManager);Executed by:- tst_QDataStream
- tst_QVariant
| 45 |
| 1644 | } | - |
| 1645 | QRegularExpression QVariant::toRegularExpression() const | - |
| 1646 | { | - |
| 1647 | returnexecuted 103 times by 4 tests: return qVariantToHelper<QRegularExpression>(d, handlerManager);Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
qVariantToHelper<QRegularExpression>(d, handlerManager);executed 103 times by 4 tests: return qVariantToHelper<QRegularExpression>(d, handlerManager);Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 103 |
| 1648 | } | - |
| 1649 | QUuid QVariant::toUuid() const | - |
| 1650 | { | - |
| 1651 | returnexecuted 1 time by 1 test: return qVariantToHelper<QUuid>(d, handlerManager); qVariantToHelper<QUuid>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QUuid>(d, handlerManager); | 1 |
| 1652 | } | - |
| 1653 | QModelIndex QVariant::toModelIndex() const | - |
| 1654 | { | - |
| 1655 | returnexecuted 1 time by 1 test: return qVariantToHelper<QModelIndex>(d, handlerManager); qVariantToHelper<QModelIndex>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QModelIndex>(d, handlerManager); | 1 |
| 1656 | } | - |
| 1657 | QPersistentModelIndex QVariant::toPersistentModelIndex() const | - |
| 1658 | { | - |
| 1659 | returnexecuted 1 time by 1 test: return qVariantToHelper<QPersistentModelIndex>(d, handlerManager); qVariantToHelper<QPersistentModelIndex>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QPersistentModelIndex>(d, handlerManager); | 1 |
| 1660 | } | - |
| 1661 | QJsonValue QVariant::toJsonValue() const | - |
| 1662 | { | - |
| 1663 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonValue>(d, handlerManager); qVariantToHelper<QJsonValue>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonValue>(d, handlerManager); | 1 |
| 1664 | } | - |
| 1665 | QJsonObject QVariant::toJsonObject() const | - |
| 1666 | { | - |
| 1667 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonObject>(d, handlerManager); qVariantToHelper<QJsonObject>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonObject>(d, handlerManager); | 1 |
| 1668 | } | - |
| 1669 | QJsonArray QVariant::toJsonArray() const | - |
| 1670 | { | - |
| 1671 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonArray>(d, handlerManager); qVariantToHelper<QJsonArray>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonArray>(d, handlerManager); | 1 |
| 1672 | } | - |
| 1673 | QJsonDocument QVariant::toJsonDocument() const | - |
| 1674 | { | - |
| 1675 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonDocument>(d, handlerManager); qVariantToHelper<QJsonDocument>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonDocument>(d, handlerManager); | 1 |
| 1676 | } | - |
| 1677 | QChar QVariant::toChar() const | - |
| 1678 | { | - |
| 1679 | returnexecuted 1860 times by 56 tests: return qVariantToHelper<QChar>(d, handlerManager);Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
qVariantToHelper<QChar>(d, handlerManager);executed 1860 times by 56 tests: return qVariantToHelper<QChar>(d, handlerManager);Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
| 1860 |
| 1680 | } | - |
| 1681 | | - |
| 1682 | | - |
| 1683 | | - |
| 1684 | | - |
| 1685 | | - |
| 1686 | | - |
| 1687 | | - |
| 1688 | QBitArray QVariant::toBitArray() const | - |
| 1689 | { | - |
| 1690 | returnexecuted 1 time by 1 test: return qVariantToHelper<QBitArray>(d, handlerManager); qVariantToHelper<QBitArray>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QBitArray>(d, handlerManager); | 1 |
| 1691 | } | - |
| 1692 | | - |
| 1693 | template <typename T> | - |
| 1694 | inline T qNumVariantToHelper(const QVariant::Private &d, | - |
| 1695 | const HandlersManager &handlerManager, bool *ok, const T& val) | - |
| 1696 | { | - |
| 1697 | const uint t = qMetaTypeId<T>(); | - |
| 1698 | if (ok| TRUE | evaluated 6171 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSplitter
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTableView
- tst_QTextBrowser
- ...
| | FALSE | evaluated 790540 times by 219 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) | 6171-790540 |
| 1699 | *executed 6171 times by 32 tests: *ok = true;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSplitter
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTableView
- tst_QTextBrowser
- ...
ok = true;executed 6171 times by 32 tests: *ok = true;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSplitter
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTableView
- tst_QTextBrowser
- ...
| 6171 |
| 1700 | | - |
| 1701 | if (d.type == t| TRUE | evaluated 769297 times by 215 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| | FALSE | evaluated 27414 times by 86 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
|
) | 27414-769297 |
| 1702 | returnexecuted 769297 times by 215 tests: return val;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
val;executed 769297 times by 215 tests: return val;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 769297 |
| 1703 | | - |
| 1704 | T ret = 0; | - |
| 1705 | if ((d.type >= QMetaType::User| TRUE | evaluated 130 times by 5 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| | FALSE | evaluated 27284 times by 83 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiVariant
- ...
|
|| t >= QMetaType::User| TRUE | never evaluated | | FALSE | evaluated 27284 times by 83 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiVariant
- ...
|
) | 0-27284 |
| 1706 | && QMetaType::convert(constData(d), d.type, &ret, t)| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 122 times by 5 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
|
) | 8-122 |
| 1707 | returnexecuted 8 times by 2 tests: return ret;Executed by:- tst_QMetaType
- tst_QVariant
ret;executed 8 times by 2 tests: return ret;Executed by:- tst_QMetaType
- tst_QVariant
| 8 |
| 1708 | | - |
| 1709 | if (!handlerManager[d.type]->convert(&d, t, &ret, ok)| TRUE | evaluated 1004 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_QWidget
- tst_Spdy
- tst_qinputmethod
| | FALSE | evaluated 26402 times by 79 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
|
&& ok| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QTextEdit
- tst_QVariant
| | FALSE | evaluated 984 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_QWidget
- tst_Spdy
- tst_qinputmethod
|
) | 20-26402 |
| 1710 | *executed 20 times by 2 tests: *ok = false;Executed by:- tst_QTextEdit
- tst_QVariant
ok = false;executed 20 times by 2 tests: *ok = false;Executed by:- tst_QTextEdit
- tst_QVariant
| 20 |
| 1711 | returnexecuted 27406 times by 86 tests: return ret;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
ret;executed 27406 times by 86 tests: return ret;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 27406 |
| 1712 | } | - |
| 1713 | int QVariant::toInt(bool *ok) const | - |
| 1714 | { | - |
| 1715 | returnexecuted 726428 times by 207 tests: return qNumVariantToHelper<int>(d, handlerManager, ok, d.data.i);Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
qNumVariantToHelper<int>(d, handlerManager, ok, d.data.i);executed 726428 times by 207 tests: return qNumVariantToHelper<int>(d, handlerManager, ok, d.data.i);Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| 726428 |
| 1716 | } | - |
| 1717 | uint QVariant::toUInt(bool *ok) const | - |
| 1718 | { | - |
| 1719 | returnexecuted 1493 times by 56 tests: return qNumVariantToHelper<uint>(d, handlerManager, ok, d.data.u);Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
qNumVariantToHelper<uint>(d, handlerManager, ok, d.data.u);executed 1493 times by 56 tests: return qNumVariantToHelper<uint>(d, handlerManager, ok, d.data.u);Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 1493 |
| 1720 | } | - |
| 1721 | qlonglong QVariant::toLongLong(bool *ok) const | - |
| 1722 | { | - |
| 1723 | returnexecuted 11710 times by 23 tests: return qNumVariantToHelper<qlonglong>(d, handlerManager, ok, d.data.ll);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
- tst_qdbusmarshall - unknown status
qNumVariantToHelper<qlonglong>(d, handlerManager, ok, d.data.ll);executed 11710 times by 23 tests: return qNumVariantToHelper<qlonglong>(d, handlerManager, ok, d.data.ll);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
- tst_qdbusmarshall - unknown status
| 11710 |
| 1724 | } | - |
| 1725 | qulonglong QVariant::toULongLong(bool *ok) const | - |
| 1726 | { | - |
| 1727 | returnexecuted 104 times by 5 tests: return qNumVariantToHelper<qulonglong>(d, handlerManager, ok, d.data.ull);Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QString
- tst_QVariant
- tst_qdbusmarshall - unknown status
qNumVariantToHelper<qulonglong>(d, handlerManager, ok, d.data.ull);executed 104 times by 5 tests: return qNumVariantToHelper<qulonglong>(d, handlerManager, ok, d.data.ull);Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QString
- tst_QVariant
- tst_qdbusmarshall - unknown status
| 104 |
| 1728 | } | - |
| 1729 | bool QVariant::toBool() const | - |
| 1730 | { | - |
| 1731 | if (d.type == Bool| TRUE | evaluated 80407 times by 161 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
| | FALSE | evaluated 41407 times by 115 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 41407-80407 |
| 1732 | returnexecuted 80407 times by 161 tests: return d.data.b;Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
d.data.b;executed 80407 times by 161 tests: return d.data.b;Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
| 80407 |
| 1733 | | - |
| 1734 | bool res = false; | - |
| 1735 | handlerManager[d.type]->convert(&d, Bool, &res, 0); | - |
| 1736 | | - |
| 1737 | returnexecuted 41407 times by 115 tests: return res;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
res;executed 41407 times by 115 tests: return res;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 41407 |
| 1738 | } | - |
| 1739 | double QVariant::toDouble(bool *ok) const | - |
| 1740 | { | - |
| 1741 | returnexecuted 40261 times by 58 tests: return qNumVariantToHelper<double>(d, handlerManager, ok, d.data.d);Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMetaObjectBuilder
- tst_QMetaType
- ...
qNumVariantToHelper<double>(d, handlerManager, ok, d.data.d);executed 40261 times by 58 tests: return qNumVariantToHelper<double>(d, handlerManager, ok, d.data.d);Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMetaObjectBuilder
- tst_QMetaType
- ...
| 40261 |
| 1742 | } | - |
| 1743 | float QVariant::toFloat(bool *ok) const | - |
| 1744 | { | - |
| 1745 | returnexecuted 154 times by 16 tests: return qNumVariantToHelper<float>(d, handlerManager, ok, d.data.f);Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemDelegate
- tst_QMetaType
- tst_QPainter
- tst_QPixmap
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QVariant
qNumVariantToHelper<float>(d, handlerManager, ok, d.data.f);executed 154 times by 16 tests: return qNumVariantToHelper<float>(d, handlerManager, ok, d.data.f);Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemDelegate
- tst_QMetaType
- tst_QPainter
- tst_QPixmap
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QVariant
| 154 |
| 1746 | } | - |
| 1747 | qreal QVariant::toReal(bool *ok) const | - |
| 1748 | { | - |
| 1749 | returnexecuted 16561 times by 29 tests: return qNumVariantToHelper<qreal>(d, handlerManager, ok, d.data.real);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QScroller
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTextList
- tst_QTouchEvent
- ...
qNumVariantToHelper<qreal>(d, handlerManager, ok, d.data.real);executed 16561 times by 29 tests: return qNumVariantToHelper<qreal>(d, handlerManager, ok, d.data.real);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QScroller
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTextList
- tst_QTouchEvent
- ...
| 16561 |
| 1750 | } | - |
| 1751 | QVariantList QVariant::toList() const | - |
| 1752 | { | - |
| 1753 | returnexecuted 695 times by 17 tests: return qVariantToHelper<QVariantList>(d, handlerManager);Executed by:- tst_QColorDialog
- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QPrinter
- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextTable
- tst_languageChange
qVariantToHelper<QVariantList>(d, handlerManager);executed 695 times by 17 tests: return qVariantToHelper<QVariantList>(d, handlerManager);Executed by:- tst_QColorDialog
- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QPrinter
- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextTable
- tst_languageChange
| 695 |
| 1754 | } | - |
| 1755 | | - |
| 1756 | | - |
| 1757 | static const quint32 qCanConvertMatrix[QVariant::LastCoreType + 1] = | - |
| 1758 | { | - |
| 1759 | 0, | - |
| 1760 | | - |
| 1761 | 1 << QVariant::Double | 1 << QVariant::Int | 1 << QVariant::UInt | - |
| 1762 | | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | 1 << QVariant::ByteArray | - |
| 1763 | | 1 << QVariant::String | 1 << QVariant::Char, | - |
| 1764 | | - |
| 1765 | 1 << QVariant::UInt | 1 << QVariant::String | 1 << QVariant::Double | - |
| 1766 | | 1 << QVariant::Bool | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | - |
| 1767 | | 1 << QVariant::Char | 1 << QVariant::ByteArray | 1 << QVariant::Int, | - |
| 1768 | | - |
| 1769 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::Double | - |
| 1770 | | 1 << QVariant::Bool | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | - |
| 1771 | | 1 << QVariant::Char | 1 << QVariant::ByteArray, | - |
| 1772 | | - |
| 1773 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::Double | - |
| 1774 | | 1 << QVariant::Bool | 1 << QVariant::UInt | 1 << QVariant::ULongLong | - |
| 1775 | | 1 << QVariant::Char | 1 << QVariant::ByteArray, | - |
| 1776 | | - |
| 1777 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::Double | - |
| 1778 | | 1 << QVariant::Bool | 1 << QVariant::UInt | 1 << QVariant::LongLong | - |
| 1779 | | 1 << QVariant::Char | 1 << QVariant::ByteArray, | - |
| 1780 | | - |
| 1781 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::ULongLong | - |
| 1782 | | 1 << QVariant::Bool | 1 << QVariant::UInt | 1 << QVariant::LongLong | - |
| 1783 | | 1 << QVariant::ByteArray, | - |
| 1784 | | - |
| 1785 | 1 << QVariant::Int | 1 << QVariant::UInt | 1 << QVariant::LongLong | - |
| 1786 | | 1 << QVariant::ULongLong, | - |
| 1787 | | - |
| 1788 | 0, | - |
| 1789 | | - |
| 1790 | 1 << QVariant::StringList, | - |
| 1791 | | - |
| 1792 | 1 << QVariant::StringList | 1 << QVariant::ByteArray | 1 << QVariant::Int | - |
| 1793 | | 1 << QVariant::UInt | 1 << QVariant::Bool | 1 << QVariant::Double | - |
| 1794 | | 1 << QVariant::Date | 1 << QVariant::Time | 1 << QVariant::DateTime | - |
| 1795 | | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | 1 << QVariant::Char | - |
| 1796 | | 1 << QVariant::Url | 1 << QVariant::Uuid, | - |
| 1797 | | - |
| 1798 | 1 << QVariant::List | 1 << QVariant::String, | - |
| 1799 | | - |
| 1800 | 1 << QVariant::String | 1 << QVariant::Int | 1 << QVariant::UInt | 1 << QVariant::Bool | - |
| 1801 | | 1 << QVariant::Double | 1 << QVariant::LongLong | 1 << QVariant::ULongLong, | - |
| 1802 | | - |
| 1803 | 0, | - |
| 1804 | | - |
| 1805 | 1 << QVariant::String | 1 << QVariant::DateTime, | - |
| 1806 | | - |
| 1807 | 1 << QVariant::String | 1 << QVariant::DateTime, | - |
| 1808 | | - |
| 1809 | 1 << QVariant::String | 1 << QVariant::Date, | - |
| 1810 | | - |
| 1811 | 1 << QVariant::String, | - |
| 1812 | | - |
| 1813 | 0, | - |
| 1814 | | - |
| 1815 | 1 << QVariant::RectF, | - |
| 1816 | | - |
| 1817 | 1 << QVariant::Rect, | - |
| 1818 | | - |
| 1819 | 1 << QVariant::SizeF, | - |
| 1820 | | - |
| 1821 | 1 << QVariant::Size, | - |
| 1822 | | - |
| 1823 | 1 << QVariant::LineF, | - |
| 1824 | | - |
| 1825 | 1 << QVariant::Line, | - |
| 1826 | | - |
| 1827 | 1 << QVariant::PointF, | - |
| 1828 | | - |
| 1829 | 1 << QVariant::Point, | - |
| 1830 | | - |
| 1831 | 0, | - |
| 1832 | | - |
| 1833 | 0, | - |
| 1834 | | - |
| 1835 | 0, | - |
| 1836 | | - |
| 1837 | 1 << QVariant::String | - |
| 1838 | }; | - |
| 1839 | static const size_t qCanConvertMatrixMaximumTargetType = 8 * sizeof(*qCanConvertMatrix); | - |
| 1840 | | - |
| 1841 | | - |
| 1842 | | - |
| 1843 | | - |
| 1844 | | - |
| 1845 | static bool canConvertMetaObject(const QMetaObject *from, const QMetaObject *to) | - |
| 1846 | { | - |
| 1847 | if (from| TRUE | evaluated 19 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | never evaluated |
&& to == &QObject::staticMetaObject| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
|
) | 0-19 |
| 1848 | returnexecuted 12 times by 2 tests: return true;Executed by:- tst_QVariant
- tst_QWidgetsVariant
true;executed 12 times by 2 tests: return true;Executed by:- tst_QVariant
- tst_QWidgetsVariant
| 12 |
| 1849 | | - |
| 1850 | while (from| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
| | FALSE | never evaluated |
) { | 0-11 |
| 1851 | if (from == to| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
|
) | 4-7 |
| 1852 | returnexecuted 7 times by 2 tests: return true;Executed by:- tst_QMetaProperty
- tst_QWidgetsVariant
true;executed 7 times by 2 tests: return true;Executed by:- tst_QMetaProperty
- tst_QWidgetsVariant
| 7 |
| 1853 | from = from->superClass(); | - |
| 1854 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_QMetaProperty
- tst_QWidgetsVariant
| 4 |
| 1855 | | - |
| 1856 | return never executed: return false; false;never executed: return false; | 0 |
| 1857 | } | - |
| 1858 | | - |
| 1859 | | - |
| 1860 | static bool canConvertMetaObject(int fromId, int toId, QObject *fromObject) | - |
| 1861 | { | - |
| 1862 | | - |
| 1863 | QMetaType toType(toId); | - |
| 1864 | if ((QMetaType::typeFlags(fromId) & QMetaType::PointerToQObject) && (toType.flags() & QMetaType::PointerToQObject)) { | - |
| 1865 | if (!fromObject| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 19 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
|
) | 4-19 |
| 1866 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 1867 | returnexecuted 19 times by 3 tests: return canConvertMetaObject(fromObject->metaObject(), toType.metaObject());Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
canConvertMetaObject(fromObject->metaObject(), toType.metaObject());executed 19 times by 3 tests: return canConvertMetaObject(fromObject->metaObject(), toType.metaObject());Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
| 19 |
| 1868 | } | - |
| 1869 | | - |
| 1870 | | - |
| 1871 | | - |
| 1872 | | - |
| 1873 | | - |
| 1874 | returnexecuted 89 times by 5 tests: return false;Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
false;executed 89 times by 5 tests: return false;Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| 89 |
| 1875 | } | - |
| 1876 | bool QVariant::canConvert(int targetTypeId) const | - |
| 1877 | { | - |
| 1878 | if ((targetTypeId == QMetaType::QModelIndex| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 225149 times by 90 testsEvaluated 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
- ...
|
&& d.type == QMetaType::QPersistentModelIndex| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-225149 |
| 1879 | || (targetTypeId == QMetaType::QPersistentModelIndex| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 225147 times by 90 testsEvaluated 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
- ...
|
&& d.type == QMetaType::QModelIndex| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
)) | 0-225147 |
| 1880 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 1881 | | - |
| 1882 | if (targetTypeId == QMetaType::QVariantList| TRUE | evaluated 63 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 225084 times by 90 testsEvaluated 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
- ...
|
| 63-225084 |
| 1883 | && (d.type == QMetaType::QVariantList| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 61 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 2-61 |
| 1884 | || d.type == QMetaType::QStringList| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 59 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 2-59 |
| 1885 | || d.type == QMetaType::QByteArrayList| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 57 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 2-57 |
| 1886 | || QMetaType::hasRegisteredConverterFunction(d.type,| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 37 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 20-37 |
| 1887 | qMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>())| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 37 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
)) { | 20-37 |
| 1888 | returnexecuted 26 times by 1 test: return true; true;executed 26 times by 1 test: return true; | 26 |
| 1889 | } | - |
| 1890 | | - |
| 1891 | if ((targetTypeId == QMetaType::QVariantHash| TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| | FALSE | evaluated 225100 times by 90 testsEvaluated 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
- ...
|
|| targetTypeId == QMetaType::QVariantMap| TRUE | evaluated 39 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 225061 times by 90 testsEvaluated 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
- ...
|
) | 21-225100 |
| 1892 | && (d.type == QMetaType::QVariantMap| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 1-59 |
| 1893 | || d.type == QMetaType::QVariantHash| TRUE | never evaluated | | FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 0-59 |
| 1894 | || QMetaType::hasRegisteredConverterFunction(d.type,| TRUE | never evaluated | | FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 0-59 |
| 1895 | qMetaTypeId<QtMetaTypePrivate::QAssociativeIterableImpl>())| TRUE | never evaluated | | FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
)) { | 0-59 |
| 1896 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
| 1897 | } | - |
| 1898 | | - |
| 1899 | if (targetTypeId == qMetaTypeId<QPair<QVariant, QVariant> >()| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 225110 times by 90 testsEvaluated 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
- ...
|
&& | 10-225110 |
| 1900 | QMetaType::hasRegisteredConverterFunction(d.type,| TRUE | evaluated 10 times by 1 test | | FALSE | never evaluated |
| 0-10 |
| 1901 | qMetaTypeId<QtMetaTypePrivate::QPairVariantInterfaceImpl>())| TRUE | evaluated 10 times by 1 test | | FALSE | never evaluated |
) { | 0-10 |
| 1902 | returnexecuted 10 times by 1 test: return true; true;executed 10 times by 1 test: return true; | 10 |
| 1903 | } | - |
| 1904 | | - |
| 1905 | if ((d.type >= QMetaType::User| TRUE | evaluated 461 times by 8 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| | FALSE | evaluated 224649 times by 90 testsEvaluated 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
- ...
|
|| targetTypeId >= QMetaType::User| TRUE | evaluated 129 times by 6 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| | FALSE | evaluated 224520 times by 90 testsEvaluated 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
- ...
|
) | 129-224649 |
| 1906 | && QMetaType::hasRegisteredConverterFunction(d.type, targetTypeId)| TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 574 times by 9 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
) { | 16-574 |
| 1907 | returnexecuted 16 times by 3 tests: return true;Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
true;executed 16 times by 3 tests: return true;Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| 16 |
| 1908 | } | - |
| 1909 | | - |
| 1910 | | - |
| 1911 | uint currentType = ((| TRUE | evaluated 84 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 225010 times by 90 testsEvaluated 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
- ...
|
d.type == QMetaType::Float)| TRUE | evaluated 84 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 225010 times by 90 testsEvaluated 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::Double : d.type); | 84-225010 |
| 1912 | if (currentType == QMetaType::SChar| TRUE | evaluated 64 times by 1 test | | FALSE | evaluated 225030 times by 90 testsEvaluated 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
- ...
|
|| currentType == QMetaType::Char| TRUE | evaluated 63 times by 1 test | | FALSE | evaluated 224967 times by 90 testsEvaluated 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
- ...
|
) | 63-225030 |
| 1913 | currentType = QMetaType::UInt;executed 127 times by 1 test: currentType = QMetaType::UInt; | 127 |
| 1914 | if (targetTypeId == QMetaType::SChar| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 225093 times by 90 testsEvaluated 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
- ...
|
|| currentType == QMetaType::Char| TRUE | never evaluated | | FALSE | evaluated 225093 times by 90 testsEvaluated 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
- ...
|
) | 0-225093 |
| 1915 | targetTypeId = QMetaType::UInt;executed 1 time by 1 test: targetTypeId = QMetaType::UInt; | 1 |
| 1916 | if (uint(targetTypeId) == uint(QMetaType::Float)| TRUE | evaluated 51 times by 5 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 225043 times by 90 testsEvaluated 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
- ...
|
) targetTypeId = QVariant::Double;executed 51 times by 5 tests: targetTypeId = QVariant::Double;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
| 51-225043 |
| 1917 | | - |
| 1918 | | - |
| 1919 | if (currentType == uint(targetTypeId)| TRUE | evaluated 537 times by 26 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDirModel
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHeaderView
- tst_QListWidget
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QVariant
- tst_QWidgetsVariant
- ...
| | FALSE | evaluated 224557 times by 85 testsEvaluated 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_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 537-224557 |
| 1920 | returnexecuted 537 times by 26 tests: return true;Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDirModel
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHeaderView
- tst_QListWidget
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QVariant
- tst_QWidgetsVariant
- ...
true;executed 537 times by 26 tests: return true;Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDirModel
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHeaderView
- tst_QListWidget
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QVariant
- tst_QWidgetsVariant
- ...
| 537 |
| 1921 | | - |
| 1922 | if (targetTypeId < 0| TRUE | evaluated 75 times by 1 test | | FALSE | evaluated 224482 times by 85 testsEvaluated 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_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 75-224482 |
| 1923 | returnexecuted 75 times by 1 test: return false; false;executed 75 times by 1 test: return false; | 75 |
| 1924 | if (targetTypeId >= QMetaType::User| TRUE | evaluated 129 times by 6 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| | FALSE | evaluated 224353 times by 85 testsEvaluated 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_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) { | 129-224353 |
| 1925 | if (QMetaType::typeFlags(targetTypeId) & QMetaType::IsEnumeration| TRUE | evaluated 57 times by 1 test | | FALSE | evaluated 72 times by 6 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
) { | 57-72 |
| 1926 | targetTypeId = QMetaType::Int; | - |
| 1927 | }executed 57 times by 1 test: end of block else { | 57 |
| 1928 | returnexecuted 72 times by 6 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o);Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
canConvertMetaObject(currentType, targetTypeId, d.data.o);executed 72 times by 6 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o);Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 72 |
| 1929 | } | - |
| 1930 | } | - |
| 1931 | | - |
| 1932 | if (currentType == QMetaType::QJsonValue| TRUE | evaluated 48 times by 1 test | | FALSE | evaluated 224362 times by 85 testsEvaluated 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_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) { | 48-224362 |
| 1933 | switch (targetTypeId) { | - |
| 1934 | caseexecuted 3 times by 1 test: case QMetaType::QString: QMetaType::QString:executed 3 times by 1 test: case QMetaType::QString: | 3 |
| 1935 | caseexecuted 3 times by 1 test: case QMetaType::Bool: QMetaType::Bool:executed 3 times by 1 test: case QMetaType::Bool: | 3 |
| 1936 | caseexecuted 3 times by 1 test: case QMetaType::Int: QMetaType::Int:executed 3 times by 1 test: case QMetaType::Int: | 3 |
| 1937 | caseexecuted 3 times by 1 test: case QMetaType::UInt: QMetaType::UInt:executed 3 times by 1 test: case QMetaType::UInt: | 3 |
| 1938 | caseexecuted 6 times by 1 test: case QMetaType::Double: QMetaType::Double:executed 6 times by 1 test: case QMetaType::Double: | 6 |
| 1939 | case never executed: case QMetaType::Float: QMetaType::Float:never executed: case QMetaType::Float: | 0 |
| 1940 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 1941 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
| 1942 | caseexecuted 3 times by 1 test: case QMetaType::LongLong: QMetaType::LongLong:executed 3 times by 1 test: case QMetaType::LongLong: | 3 |
| 1943 | caseexecuted 3 times by 1 test: case QMetaType::ULongLong: QMetaType::ULongLong:executed 3 times by 1 test: case QMetaType::ULongLong: | 3 |
| 1944 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
| 1945 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
| 1946 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
| 1947 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
| 1948 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
| 1949 | caseexecuted 1 time by 1 test: case QMetaType::QVariantList: QMetaType::QVariantList:executed 1 time by 1 test: case QMetaType::QVariantList: | 1 |
| 1950 | caseexecuted 1 time by 1 test: case QMetaType::QVariantMap: QMetaType::QVariantMap:executed 1 time by 1 test: case QMetaType::QVariantMap: | 1 |
| 1951 | case never executed: case QMetaType::QVariantHash: QMetaType::QVariantHash:never executed: case QMetaType::QVariantHash: | 0 |
| 1952 | returnexecuted 26 times by 1 test: return true; true;executed 26 times by 1 test: return true; | 26 |
| 1953 | defaultexecuted 22 times by 1 test: default: :executed 22 times by 1 test: default: | 22 |
| 1954 | returnexecuted 22 times by 1 test: return false; false;executed 22 times by 1 test: return false; | 22 |
| 1955 | } | - |
| 1956 | } | - |
| 1957 | if (currentType == QMetaType::QJsonArray| TRUE | evaluated 32 times by 1 test | | FALSE | evaluated 224330 times by 85 testsEvaluated 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_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 32-224330 |
| 1958 | returnexecuted 32 times by 1 test: return targetTypeId == QMetaType::QVariantList; targetTypeId == QMetaType::QVariantList;executed 32 times by 1 test: return targetTypeId == QMetaType::QVariantList; | 32 |
| 1959 | if (currentType == QMetaType::QJsonObject| TRUE | evaluated 32 times by 1 test | | FALSE | evaluated 224298 times by 85 testsEvaluated 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_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 32-224298 |
| 1960 | returnexecuted 32 times by 1 test: return targetTypeId == QMetaType::QVariantMap || targetTypeId == QMetaType::QVariantHash; targetTypeId == QMetaType::QVariantMap| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 31 times by 1 test |
|| targetTypeId == QMetaType::QVariantHash| TRUE | never evaluated | | FALSE | evaluated 31 times by 1 test |
;executed 32 times by 1 test: return targetTypeId == QMetaType::QVariantMap || targetTypeId == QMetaType::QVariantHash; | 0-32 |
| 1961 | | - |
| 1962 | | - |
| 1963 | if (currentType > int(QMetaType::QUuid)| TRUE | evaluated 60485 times by 16 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QItemView
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| | FALSE | evaluated 163813 times by 80 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
|
|| targetTypeId > int(QMetaType::QUuid)| TRUE | evaluated 151068 times by 35 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- ...
| | FALSE | evaluated 12745 times by 65 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- ...
|
) { | 12745-163813 |
| 1964 | switch (uint(targetTypeId)) { | - |
| 1965 | caseexecuted 71 times by 4 tests: case QVariant::Int:Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Int:executed 71 times by 4 tests: case QVariant::Int:Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 71 |
| 1966 | if (currentType == QVariant::KeySequence| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 69 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
) | 2-69 |
| 1967 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 1968 | | - |
| 1969 | caseexecuted 37 times by 3 tests: case QVariant::UInt:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::UInt:executed 37 times by 3 tests: case QVariant::UInt:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
code before this statement executed 69 times by 4 tests: case QVariant::UInt:Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 37-69 |
| 1970 | caseexecuted 40 times by 3 tests: case QVariant::LongLong:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::LongLong:executed 40 times by 3 tests: case QVariant::LongLong:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 40 |
| 1971 | caseexecuted 40 times by 3 tests: case QVariant::ULongLong:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::ULongLong:executed 40 times by 3 tests: case QVariant::ULongLong:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 40 |
| 1972 | returnexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
currentType == QMetaType::ULong| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 183 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 3-186 |
| 1973 | || currentType == QMetaType::Long| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 177 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 6-186 |
| 1974 | || currentType == QMetaType::UShort| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 175 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 2-186 |
| 1975 | || currentType == QMetaType::UChar| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 173 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 2-186 |
| 1976 | || currentType == QMetaType::Char| TRUE | never evaluated | | FALSE | evaluated 173 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 0-186 |
| 1977 | || currentType == QMetaType::SChar| TRUE | never evaluated | | FALSE | evaluated 173 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 0-186 |
| 1978 | || currentType == QMetaType::Short| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 171 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 2-186 |
| 1979 | || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
| 1980 | caseexecuted 35 times by 3 tests: case QVariant::Image:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Image:executed 35 times by 3 tests: case QVariant::Image:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 35 |
| 1981 | returnexecuted 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Bitmap;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Pixmap| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 34 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
|| currentType == QVariant::Bitmap| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 33 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
;executed 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Bitmap;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 1-35 |
| 1982 | caseexecuted 36 times by 3 tests: case QVariant::Pixmap:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Pixmap:executed 36 times by 3 tests: case QVariant::Pixmap:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 36 |
| 1983 | returnexecuted 36 times by 3 tests: return currentType == QVariant::Image || currentType == QVariant::Bitmap || currentType == QVariant::Brush;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Image| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 35 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
|| currentType == QVariant::Bitmap| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 33 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
executed 36 times by 3 tests: return currentType == QVariant::Image || currentType == QVariant::Bitmap || currentType == QVariant::Brush;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 1-36 |
| 1984 | || currentType == QVariant::Brush| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
;executed 36 times by 3 tests: return currentType == QVariant::Image || currentType == QVariant::Bitmap || currentType == QVariant::Brush;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 1-36 |
| 1985 | caseexecuted 35 times by 3 tests: case QVariant::Bitmap:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Bitmap:executed 35 times by 3 tests: case QVariant::Bitmap:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 35 |
| 1986 | returnexecuted 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Image;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Pixmap| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 34 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
|| currentType == QVariant::Image| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 33 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
;executed 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Image;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 1-35 |
| 1987 | caseexecuted 24 times by 3 tests: case QVariant::ByteArray:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::ByteArray:executed 24 times by 3 tests: case QVariant::ByteArray:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 24 |
| 1988 | returnexecuted 24 times by 3 tests: return currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Color| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 23 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
executed 24 times by 3 tests: return currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 1-24 |
| 1989 | || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)| TRUE | evaluated 10 times by 1 test | | FALSE | never evaluated |
);executed 24 times by 3 tests: return currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 0-24 |
| 1990 | caseexecuted 398 times by 11 tests: case QVariant::String:Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
QVariant::String:executed 398 times by 11 tests: case QVariant::String:Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 398 |
| 1991 | returnexecuted 398 times by 11 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
currentType == QVariant::KeySequence| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 394 times by 11 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
|| currentType == QVariant::Font| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 390 times by 11 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
executed 398 times by 11 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 4-398 |
| 1992 | || currentType == QVariant::Color| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 385 times by 11 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
executed 398 times by 11 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 5-398 |
| 1993 | || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)| TRUE | evaluated 10 times by 1 test | | FALSE | never evaluated |
);executed 398 times by 11 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 0-398 |
| 1994 | caseexecuted 37 times by 3 tests: case QVariant::KeySequence:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::KeySequence:executed 37 times by 3 tests: case QVariant::KeySequence:Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 37 |
| 1995 | returnexecuted 37 times by 3 tests: return currentType == QVariant::String || currentType == QVariant::Int;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::String| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
| | FALSE | evaluated 35 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
|| currentType == QVariant::Int| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
| | FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
;executed 37 times by 3 tests: return currentType == QVariant::String || currentType == QVariant::Int;Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 2-37 |
| 1996 | caseexecuted 71 times by 4 tests: case QVariant::Font:Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Font:executed 71 times by 4 tests: case QVariant::Font:Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 71 |
| 1997 | returnexecuted 71 times by 4 tests: return currentType == QVariant::String;Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::String;executed 71 times by 4 tests: return currentType == QVariant::String;Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 71 |
| 1998 | caseexecuted 289 times by 13 tests: case QVariant::Color:Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
QVariant::Color:executed 289 times by 13 tests: case QVariant::Color:Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 289 |
| 1999 | returnexecuted 289 times by 13 tests: return currentType == QVariant::String || currentType == QVariant::ByteArray || currentType == QVariant::Brush;Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
currentType == QVariant::String| TRUE | evaluated 212 times by 11 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QVariant
- tst_QWidget
| | FALSE | evaluated 77 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
|| currentType == QVariant::ByteArray| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
| | FALSE | evaluated 70 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
executed 289 times by 13 tests: return currentType == QVariant::String || currentType == QVariant::ByteArray || currentType == QVariant::Brush;Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 7-289 |
| 2000 | || currentType == QVariant::Brush| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 67 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
;executed 289 times by 13 tests: return currentType == QVariant::String || currentType == QVariant::ByteArray || currentType == QVariant::Brush;Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 3-289 |
| 2001 | caseexecuted 209792 times by 32 tests: case QVariant::Brush:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
QVariant::Brush:executed 209792 times by 32 tests: case QVariant::Brush:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
| 209792 |
| 2002 | returnexecuted 209792 times by 32 tests: return currentType == QVariant::Color || currentType == QVariant::Pixmap;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
currentType == QVariant::Color| TRUE | evaluated 59293 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGuiVariant
- tst_QItemView
| | FALSE | evaluated 150499 times by 31 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- tst_QTextDocument
- ...
|
|| currentType == QVariant::Pixmap| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 150497 times by 31 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- tst_QTextDocument
- ...
|
;executed 209792 times by 32 tests: return currentType == QVariant::Color || currentType == QVariant::Pixmap;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
| 2-209792 |
| 2003 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
| 2004 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
| 2005 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
| 2006 | caseexecuted 1 time by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 1 time by 1 test: case QMetaType::UChar: | 1 |
| 2007 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
| 2008 | caseexecuted 24 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 24 times by 1 test: case QMetaType::Short: | 24 |
| 2009 | caseexecuted 24 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 24 times by 1 test: case QMetaType::UShort: | 24 |
| 2010 | returnexecuted 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; currentType == QVariant::Int| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 46 times by 1 test |
executed 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 3-49 |
| 2011 | || (currentType < qCanConvertMatrixMaximumTargetType| TRUE | never evaluated | | FALSE | evaluated 46 times by 1 test |
executed 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 0-49 |
| 2012 | && qCanConvertMatrix[QVariant::Int] & (1U << currentType)| TRUE | never evaluated | | FALSE | never evaluated |
)executed 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 0-49 |
| 2013 | || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;executed 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 49 |
| 2014 | caseexecuted 40 times by 2 tests: case QMetaType::QObjectStar:Executed by:- tst_QVariant
- tst_QWidgetsVariant
QMetaType::QObjectStar:executed 40 times by 2 tests: case QMetaType::QObjectStar:Executed by:- tst_QVariant
- tst_QWidgetsVariant
| 40 |
| 2015 | returnexecuted 40 times by 2 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o);Executed by:- tst_QVariant
- tst_QWidgetsVariant
canConvertMetaObject(currentType, targetTypeId, d.data.o);executed 40 times by 2 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o);Executed by:- tst_QVariant
- tst_QWidgetsVariant
| 40 |
| 2016 | defaultexecuted 559 times by 6 tests: default:Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
:executed 559 times by 6 tests: default:Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 559 |
| 2017 | returnexecuted 559 times by 6 tests: return false;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
false;executed 559 times by 6 tests: return false;Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 559 |
| 2018 | } | - |
| 2019 | } | - |
| 2020 | | - |
| 2021 | if (targetTypeId == String| TRUE | evaluated 5123 times by 32 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSignalSpy
- tst_QSpinBox
- tst_QSqlQueryModel
- tst_QSqlRecord
- tst_QSqlTableModel
- tst_QStandardItemModel
- ...
| | FALSE | evaluated 7622 times by 49 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- ...
|
&& currentType == StringList| TRUE | evaluated 18 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QSettings
- tst_QVariant
| | FALSE | evaluated 5105 times by 32 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSignalSpy
- tst_QSpinBox
- tst_QSqlQueryModel
- tst_QSqlRecord
- tst_QSqlTableModel
- tst_QStandardItemModel
- ...
|
) | 18-7622 |
| 2022 | returnexecuted 18 times by 3 tests: return v_cast<QStringList>(&d)->count() == 1;Executed by:- tst_QMetaType
- tst_QSettings
- tst_QVariant
v_cast<QStringList>(&d)->count() == 1;executed 18 times by 3 tests: return v_cast<QStringList>(&d)->count() == 1;Executed by:- tst_QMetaType
- tst_QSettings
- tst_QVariant
| 18 |
| 2023 | returnexecuted 12727 times by 65 tests: return currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[targetTypeId] & (1U << currentType);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- ...
currentType < qCanConvertMatrixMaximumTargetType| TRUE | evaluated 12727 times by 65 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- ...
| | FALSE | never evaluated |
executed 12727 times by 65 tests: return currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[targetTypeId] & (1U << currentType);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- ...
| 0-12727 |
| 2024 | && qCanConvertMatrix[targetTypeId] & (1U << currentType)| TRUE | evaluated 1771 times by 42 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSignalSpy
- tst_QSpinBox
- tst_QSqlQueryModel
- tst_QSqlRecord
- ...
| | FALSE | evaluated 10956 times by 39 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- ...
|
;executed 12727 times by 65 tests: return currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[targetTypeId] & (1U << currentType);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- ...
| 1771-12727 |
| 2025 | } | - |
| 2026 | bool QVariant::convert(int targetTypeId) | - |
| 2027 | { | - |
| 2028 | if (d.type == uint(targetTypeId)| TRUE | evaluated 1355 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- ...
| | FALSE | evaluated 6205 times by 51 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- ...
|
) | 1355-6205 |
| 2029 | returnexecuted 1355 times by 27 tests: return true;Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- ...
true;executed 1355 times by 27 tests: return true;Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- ...
| 1355 |
| 2030 | | - |
| 2031 | QVariant oldValue = *this; | - |
| 2032 | | - |
| 2033 | clear(); | - |
| 2034 | if (!oldValue.canConvert(targetTypeId)| TRUE | evaluated 5450 times by 34 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlTableModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
| | FALSE | evaluated 755 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
|
) | 755-5450 |
| 2035 | returnexecuted 5450 times by 34 tests: return false;Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlTableModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
false;executed 5450 times by 34 tests: return false;Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlTableModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
| 5450 |
| 2036 | | - |
| 2037 | create(targetTypeId, 0); | - |
| 2038 | if (oldValue.isNull()| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
| | FALSE | evaluated 735 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
|
) | 20-735 |
| 2039 | returnexecuted 20 times by 2 tests: return false;Executed by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
false;executed 20 times by 2 tests: return false;Executed by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
| 20 |
| 2040 | | - |
| 2041 | if ((QMetaType::typeFlags(oldValue.userType()) & QMetaType::PointerToQObject) && (QMetaType::typeFlags(targetTypeId) & QMetaType::PointerToQObject)) { | - |
| 2042 | create(targetTypeId, &oldValue.d.data.o); | - |
| 2043 | returnexecuted 7 times by 3 tests: return true;Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
true;executed 7 times by 3 tests: return true;Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
| 7 |
| 2044 | } | - |
| 2045 | | - |
| 2046 | bool isOk = true; | - |
| 2047 | int converterType = std::max(oldValue.userType(), targetTypeId); | - |
| 2048 | if (!handlerManager[converterType]->convert(&oldValue.d, targetTypeId, data(), &isOk)| TRUE | evaluated 60 times by 7 testsEvaluated by:- tst_QDataWidgetMapper
- tst_QGuiVariant
- tst_QObject
- tst_QSqlRelationalTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 668 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- ...
|
) | 60-668 |
| 2049 | isOk = false;executed 60 times by 7 tests: isOk = false;Executed by:- tst_QDataWidgetMapper
- tst_QGuiVariant
- tst_QObject
- tst_QSqlRelationalTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| 60 |
| 2050 | d.is_null = !isOk; | - |
| 2051 | returnexecuted 728 times by 29 tests: return isOk;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
isOk;executed 728 times by 29 tests: return isOk;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
| 728 |
| 2052 | } | - |
| 2053 | | - |
| 2054 | | - |
| 2055 | | - |
| 2056 | | - |
| 2057 | | - |
| 2058 | | - |
| 2059 | bool QVariant::convert(const int type, void *ptr) const | - |
| 2060 | { | - |
| 2061 | returnexecuted 368846 times by 118 tests: return handlerManager[type]->convert(&d, type, ptr, 0);Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
handlerManager[type]->convert(&d, type, ptr, 0);executed 368846 times by 118 tests: return handlerManager[type]->convert(&d, type, ptr, 0);Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- 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_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
| 368846 |
| 2062 | } | - |
| 2063 | static bool qIsNumericType(uint tp) | - |
| 2064 | { | - |
| 2065 | static const qulonglong numericTypeBits = | - |
| 2066 | static_cast<unsigned long long>(1ULL) << QMetaType::Bool | | - |
| 2067 | static_cast<unsigned long long>(1ULL) << QMetaType::Double | | - |
| 2068 | static_cast<unsigned long long>(1ULL) << QMetaType::Float | | - |
| 2069 | static_cast<unsigned long long>(1ULL) << QMetaType::Char | | - |
| 2070 | static_cast<unsigned long long>(1ULL) << QMetaType::SChar | | - |
| 2071 | static_cast<unsigned long long>(1ULL) << QMetaType::UChar | | - |
| 2072 | static_cast<unsigned long long>(1ULL) << QMetaType::Short | | - |
| 2073 | static_cast<unsigned long long>(1ULL) << QMetaType::UShort | | - |
| 2074 | static_cast<unsigned long long>(1ULL) << QMetaType::Int | | - |
| 2075 | static_cast<unsigned long long>(1ULL) << QMetaType::UInt | | - |
| 2076 | static_cast<unsigned long long>(1ULL) << QMetaType::Long | | - |
| 2077 | static_cast<unsigned long long>(1ULL) << QMetaType::ULong | | - |
| 2078 | static_cast<unsigned long long>(1ULL) << QMetaType::LongLong | | - |
| 2079 | static_cast<unsigned long long>(1ULL) << QMetaType::ULongLong; | - |
| 2080 | returnexecuted 968818 times by 117 tests: return tp < (8 * sizeof numericTypeBits) ? numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) : false;Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
tp < (8 * sizeof numericTypeBits)| TRUE | evaluated 966796 times by 108 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- ...
| | FALSE | evaluated 2022 times by 57 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMessageBox
- ...
|
? numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) : false;executed 968818 times by 117 tests: return tp < (8 * sizeof numericTypeBits) ? numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) : false;Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
| 2022-968818 |
| 2081 | } | - |
| 2082 | | - |
| 2083 | static bool qIsFloatingPoint(uint tp) | - |
| 2084 | { | - |
| 2085 | returnexecuted 429632 times by 84 tests: return tp == QVariant::Double || tp == QMetaType::Float;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
tp == QVariant::Double| TRUE | evaluated 5538 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| | FALSE | evaluated 424094 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| tp == QMetaType::Float| TRUE | evaluated 191 times by 1 test | | FALSE | evaluated 423903 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
;executed 429632 times by 84 tests: return tp == QVariant::Double || tp == QMetaType::Float;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| 191-429632 |
| 2086 | } | - |
| 2087 | | - |
| 2088 | static int normalizeLowerRanks(uint tp) | - |
| 2089 | { | - |
| 2090 | static const qulonglong numericTypeBits = | - |
| 2091 | static_cast<unsigned long long>(1ULL) << QMetaType::Bool | | - |
| 2092 | static_cast<unsigned long long>(1ULL) << QMetaType::Char | | - |
| 2093 | static_cast<unsigned long long>(1ULL) << QMetaType::SChar | | - |
| 2094 | static_cast<unsigned long long>(1ULL) << QMetaType::UChar | | - |
| 2095 | static_cast<unsigned long long>(1ULL) << QMetaType::Short | | - |
| 2096 | static_cast<unsigned long long>(1ULL) << QMetaType::UShort; | - |
| 2097 | returnexecuted 423818 times by 83 tests: return numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) ? QVariant::Int : tp;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp)| TRUE | evaluated 1312 times by 19 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
| | FALSE | evaluated 422506 times by 79 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? QVariant::Int : tp;executed 423818 times by 83 tests: return numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) ? QVariant::Int : tp;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 1312-423818 |
| 2098 | } | - |
| 2099 | | - |
| 2100 | static int normalizeLong(uint tp) | - |
| 2101 | { | - |
| 2102 | const uint IntType = sizeof(long) == sizeof(int)| TRUE | never evaluated | | FALSE | evaluated 423818 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? QVariant::Int : QVariant::LongLong; | 0-423818 |
| 2103 | const uint UIntType = sizeof(ulong) == sizeof(uint)| TRUE | never evaluated | | FALSE | evaluated 423818 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? QVariant::UInt : QVariant::ULongLong; | 0-423818 |
| 2104 | returnexecuted 423818 times by 83 tests: return tp == QMetaType::Long ? IntType : tp == QMetaType::ULong ? UIntType : tp;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
tp == QMetaType::Long| TRUE | evaluated 102 times by 1 test | | FALSE | evaluated 423716 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? IntType :executed 423818 times by 83 tests: return tp == QMetaType::Long ? IntType : tp == QMetaType::ULong ? UIntType : tp;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 102-423818 |
| 2105 | tp == QMetaType::ULong| TRUE | evaluated 84 times by 1 test | | FALSE | evaluated 423632 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? UIntType : tp;executed 423818 times by 83 tests: return tp == QMetaType::Long ? IntType : tp == QMetaType::ULong ? UIntType : tp;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 84-423818 |
| 2106 | } | - |
| 2107 | | - |
| 2108 | static int numericTypePromotion(uint t1, uint t2) | - |
| 2109 | { | - |
| 2110 | ((!(qIsNumericType(t1))) ? qt_assert("qIsNumericType(t1)",__FILE__,3397) : qt_noop()); | - |
| 2111 | ((!(qIsNumericType(t2))) ? qt_assert("qIsNumericType(t2)",__FILE__,3398) : qt_noop()); | - |
| 2112 | if (qIsFloatingPoint(t1)| TRUE | evaluated 5644 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| | FALSE | evaluated 211994 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| qIsFloatingPoint(t2)| TRUE | evaluated 85 times by 1 test | | FALSE | evaluated 211909 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 85-211994 |
| 2113 | returnexecuted 5729 times by 32 tests: return QMetaType::QReal;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
QMetaType::QReal;executed 5729 times by 32 tests: return QMetaType::QReal;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 5729 |
| 2114 | | - |
| 2115 | | - |
| 2116 | | - |
| 2117 | t1 = normalizeLowerRanks(t1); | - |
| 2118 | t2 = normalizeLowerRanks(t2); | - |
| 2119 | | - |
| 2120 | | - |
| 2121 | t1 = normalizeLong(t1); | - |
| 2122 | t2 = normalizeLong(t2); | - |
| 2123 | | - |
| 2124 | | - |
| 2125 | | - |
| 2126 | | - |
| 2127 | | - |
| 2128 | | - |
| 2129 | if (t1 == QVariant::ULongLong| TRUE | evaluated 201 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| | FALSE | evaluated 211708 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| t2 == QVariant::ULongLong| TRUE | evaluated 105 times by 1 test | | FALSE | evaluated 211603 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 105-211708 |
| 2130 | returnexecuted 306 times by 3 tests: return QVariant::ULongLong;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
QVariant::ULongLong;executed 306 times by 3 tests: return QVariant::ULongLong;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| 306 |
| 2131 | if (t1 == QVariant::LongLong| TRUE | evaluated 1989 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| | FALSE | evaluated 209614 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
|| t2 == QVariant::LongLong| TRUE | evaluated 102 times by 3 testsEvaluated by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
| | FALSE | evaluated 209512 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
) | 102-209614 |
| 2132 | returnexecuted 2091 times by 14 tests: return QVariant::LongLong;Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
QVariant::LongLong;executed 2091 times by 14 tests: return QVariant::LongLong;Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| 2091 |
| 2133 | if (t1 == QVariant::UInt| TRUE | evaluated 310 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| | FALSE | evaluated 209202 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
|| t2 == QVariant::UInt| TRUE | evaluated 235 times by 1 test | | FALSE | evaluated 208967 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
) | 235-209202 |
| 2134 | returnexecuted 545 times by 10 tests: return QVariant::UInt;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
QVariant::UInt;executed 545 times by 10 tests: return QVariant::UInt;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| 545 |
| 2135 | returnexecuted 208967 times by 77 tests: return QVariant::Int;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
QVariant::Int;executed 208967 times by 77 tests: return QVariant::Int;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
| 208967 |
| 2136 | } | - |
| 2137 | | - |
| 2138 | static int integralCompare(uint promotedType, const QVariant::Private *d1, const QVariant::Private *d2) | - |
| 2139 | { | - |
| 2140 | | - |
| 2141 | bool ok; | - |
| 2142 | qlonglong l1 = qConvertToNumber(d1, &ok); | - |
| 2143 | ((!(ok)) ? qt_assert("ok",__FILE__,3446) : qt_noop()); | - |
| 2144 | | - |
| 2145 | qlonglong l2 = qConvertToNumber(d2, &ok); | - |
| 2146 | ((!(ok)) ? qt_assert("ok",__FILE__,3449) : qt_noop()); | - |
| 2147 | | - |
| 2148 | if (promotedType == QVariant::Int| TRUE | evaluated 208967 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
| | FALSE | evaluated 2942 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
|
) | 2942-208967 |
| 2149 | returnexecuted 208967 times by 77 tests: return int(l1) < int(l2) ? -1 : int(l1) == int(l2) ? 0 : 1;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
int(l1) < int(l2)| TRUE | evaluated 1197 times by 23 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QHttpNetworkConnection
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSpinBox
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_languageChange
| | FALSE | evaluated 207770 times by 75 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QIdentityProxyModel
- tst_QInputDialog
- ...
|
? -1 : int(l1) == int(l2)| TRUE | evaluated 204111 times by 72 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QIdentityProxyModel
- tst_QInputDialog
- ...
| | FALSE | evaluated 3659 times by 28 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QMenu
- tst_QMetaType
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSortFilterProxyModel
- tst_QSpinBox
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QState
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QTreeView
- ...
|
? 0 : 1;executed 208967 times by 77 tests: return int(l1) < int(l2) ? -1 : int(l1) == int(l2) ? 0 : 1;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
| 1197-208967 |
| 2150 | if (promotedType == QVariant::UInt| TRUE | evaluated 545 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| | FALSE | evaluated 2397 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
|
) | 545-2397 |
| 2151 | returnexecuted 545 times by 10 tests: return uint(l1) < uint(l2) ? -1 : uint(l1) == uint(l2) ? 0 : 1;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
uint(l1) < uint(l2)| TRUE | evaluated 156 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QVariant
| | FALSE | evaluated 389 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
|
? -1 : uint(l1) == uint(l2)| TRUE | evaluated 233 times by 9 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QVariant
| | FALSE | evaluated 156 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QVariant
|
? 0 : 1;executed 545 times by 10 tests: return uint(l1) < uint(l2) ? -1 : uint(l1) == uint(l2) ? 0 : 1;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| 156-545 |
| 2152 | if (promotedType == QVariant::LongLong| TRUE | evaluated 2091 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| | FALSE | evaluated 306 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
|
) | 306-2091 |
| 2153 | returnexecuted 2091 times by 14 tests: return l1 < l2 ? -1 : l1 == l2 ? 0 : 1;Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
l1 < l2| TRUE | evaluated 125 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkReply
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
| | FALSE | evaluated 1966 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
|
? -1 : l1 == l2| TRUE | evaluated 699 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| | FALSE | evaluated 1267 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
|
? 0 : 1;executed 2091 times by 14 tests: return l1 < l2 ? -1 : l1 == l2 ? 0 : 1;Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| 125-2091 |
| 2154 | if (promotedType == QVariant::ULongLong| TRUE | evaluated 306 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| | FALSE | never evaluated |
) | 0-306 |
| 2155 | returnexecuted 306 times by 3 tests: return qulonglong(l1) < qulonglong(l2) ? -1 : qulonglong(l1) == qulonglong(l2) ? 0 : 1;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
qulonglong(l1) < qulonglong(l2)| TRUE | evaluated 90 times by 1 test | | FALSE | evaluated 216 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
|
? -1 : qulonglong(l1) == qulonglong(l2)| TRUE | evaluated 126 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| | FALSE | evaluated 90 times by 1 test |
? 0 : 1;executed 306 times by 3 tests: return qulonglong(l1) < qulonglong(l2) ? -1 : qulonglong(l1) == qulonglong(l2) ? 0 : 1;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| 90-306 |
| 2156 | | - |
| 2157 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,3460) : qt_noop()); __builtin_unreachable(); } while (0); | - |
| 2158 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 2159 | } | - |
| 2160 | | - |
| 2161 | static int numericCompare(const QVariant::Private *d1, const QVariant::Private *d2) | - |
| 2162 | { | - |
| 2163 | uint promotedType = numericTypePromotion(d1->type, d2->type); | - |
| 2164 | if (promotedType != QMetaType::QReal| TRUE | evaluated 211909 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 5729 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
|
) | 5729-211909 |
| 2165 | returnexecuted 211909 times by 83 tests: return integralCompare(promotedType, d1, d2);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
integralCompare(promotedType, d1, d2);executed 211909 times by 83 tests: return integralCompare(promotedType, d1, d2);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 211909 |
| 2166 | | - |
| 2167 | | - |
| 2168 | bool ok; | - |
| 2169 | qreal r1 = qConvertToRealNumber(d1, &ok); | - |
| 2170 | ((!(ok)) ? qt_assert("ok",__FILE__,3473) : qt_noop()); | - |
| 2171 | qreal r2 = qConvertToRealNumber(d2, &ok); | - |
| 2172 | ((!(ok)) ? qt_assert("ok",__FILE__,3475) : qt_noop()); | - |
| 2173 | if (r1 == r2| TRUE | evaluated 2998 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| | FALSE | evaluated 2731 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
|
|| qFuzzyCompare(r1, r2)| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 2721 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
|
) | 10-2998 |
| 2174 | returnexecuted 3008 times by 32 tests: return 0;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
0;executed 3008 times by 32 tests: return 0;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 3008 |
| 2175 | returnexecuted 2721 times by 8 tests: return r1 < r2 ? -1 : 1;Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
r1 < r2| TRUE | evaluated 723 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
| | FALSE | evaluated 1998 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
|
? -1 : 1;executed 2721 times by 8 tests: return r1 < r2 ? -1 : 1;Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
| 723-2721 |
| 2176 | } | - |
| 2177 | | - |
| 2178 | | - |
| 2179 | | - |
| 2180 | | - |
| 2181 | bool QVariant::cmp(const QVariant &v) const | - |
| 2182 | { | - |
| 2183 | | - |
| 2184 | if (qIsNumericType(d.type)| TRUE | evaluated 216030 times by 85 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| | FALSE | evaluated 97768 times by 92 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- ...
|
&& qIsNumericType(v.d.type)| TRUE | evaluated 215893 times by 84 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| | FALSE | evaluated 137 times by 8 testsEvaluated by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
) | 137-216030 |
| 2185 | returnexecuted 215893 times by 84 tests: return numericCompare(&d, &v.d) == 0;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
numericCompare(&d, &v.d) == 0;executed 215893 times by 84 tests: return numericCompare(&d, &v.d) == 0;Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| 215893 |
| 2186 | | - |
| 2187 | QVariant v1 = *this; | - |
| 2188 | QVariant v2 = v; | - |
| 2189 | if (d.type != v2.d.type| TRUE | evaluated 1583 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 96322 times by 92 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- ...
|
) { | 1583-96322 |
| 2190 | if (v2.canConvert(v1.d.type)| TRUE | evaluated 125 times by 8 testsEvaluated by:- tst_QCssParser
- tst_QMetaType
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 1458 times by 11 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
) { | 125-1458 |
| 2191 | if (!v2.convert(v1.d.type)| TRUE | evaluated 72 times by 6 testsEvaluated by:- tst_QMetaType
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 53 times by 6 testsEvaluated by:- tst_QCssParser
- tst_QMetaType
- tst_QSettings
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
|
) | 53-72 |
| 2192 | returnexecuted 72 times by 6 tests: return false;Executed by:- tst_QMetaType
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
false;executed 72 times by 6 tests: return false;Executed by:- tst_QMetaType
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| 72 |
| 2193 | }executed 53 times by 6 tests: end of blockExecuted by:- tst_QCssParser
- tst_QMetaType
- tst_QSettings
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
else { | 53 |
| 2194 | | - |
| 2195 | qSwap(v1, v2); | - |
| 2196 | if (!v2.convert(v1.d.type)| TRUE | evaluated 1453 times by 11 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 5-1453 |
| 2197 | returnexecuted 1453 times by 11 tests: return false;Executed by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
false;executed 1453 times by 11 tests: return false;Executed by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| 1453 |
| 2198 | }executed 5 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 5 |
| 2199 | } | - |
| 2200 | if (v1.d.type >= QMetaType::User| TRUE | evaluated 362 times by 24 testsEvaluated 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 | evaluated 96018 times by 84 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) { | 362-96018 |
| 2201 | int result; | - |
| 2202 | if (QMetaType::equals(::constData(v1.d), ::constData(v2.d), v1.d.type, &result)| TRUE | evaluated 17 times by 1 test | | FALSE | evaluated 345 times by 23 testsEvaluated 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_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
|
) | 17-345 |
| 2203 | returnexecuted 17 times by 1 test: return result == 0; result == 0;executed 17 times by 1 test: return result == 0; | 17 |
| 2204 | }executed 345 times by 23 tests: end of blockExecuted 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_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
| 345 |
| 2205 | returnexecuted 96363 times by 92 tests: return handlerManager[v1.d.type]->compare(&v1.d, &v2.d);Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- ...
handlerManager[v1.d.type]->compare(&v1.d, &v2.d);executed 96363 times by 92 tests: return handlerManager[v1.d.type]->compare(&v1.d, &v2.d);Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- ...
| 96363 |
| 2206 | } | - |
| 2207 | | - |
| 2208 | | - |
| 2209 | | - |
| 2210 | | - |
| 2211 | int QVariant::compare(const QVariant &v) const | - |
| 2212 | { | - |
| 2213 | | - |
| 2214 | if (qIsNumericType(d.type)| TRUE | evaluated 1754 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 198 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
&& qIsNumericType(v.d.type)| TRUE | evaluated 1745 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 9-1754 |
| 2215 | returnexecuted 1745 times by 2 tests: return numericCompare(&d, &v.d);Executed by:- tst_QMetaType
- tst_QVariant
numericCompare(&d, &v.d);executed 1745 times by 2 tests: return numericCompare(&d, &v.d);Executed by:- tst_QMetaType
- tst_QVariant
| 1745 |
| 2216 | | - |
| 2217 | | - |
| 2218 | if (cmp(v)| TRUE | evaluated 37 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 170 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 37-170 |
| 2219 | returnexecuted 37 times by 2 tests: return 0;Executed by:- tst_QMetaType
- tst_QVariant
0;executed 37 times by 2 tests: return 0;Executed by:- tst_QMetaType
- tst_QVariant
| 37 |
| 2220 | | - |
| 2221 | QVariant v1 = *this; | - |
| 2222 | QVariant v2 = v; | - |
| 2223 | | - |
| 2224 | if (v1.d.type != v2.d.type| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 158 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 12-158 |
| 2225 | | - |
| 2226 | if (v2.canConvert(v1.d.type)| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 5-7 |
| 2227 | QVariant temp = v2; | - |
| 2228 | if (temp.convert(v1.d.type)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 2-3 |
| 2229 | v2 = temp;executed 2 times by 1 test: v2 = temp; | 2 |
| 2230 | }executed 5 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 5 |
| 2231 | if (v1.d.type != v2.d.type| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 2 times by 1 test |
&& v1.canConvert(v2.d.type)| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 2-10 |
| 2232 | QVariant temp = v1; | - |
| 2233 | if (temp.convert(v2.d.type)| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | never evaluated |
) | 0-5 |
| 2234 | v1 = temp;executed 5 times by 2 tests: v1 = temp;Executed by:- tst_QMetaType
- tst_QVariant
| 5 |
| 2235 | }executed 5 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 5 |
| 2236 | if (v1.d.type != v2.d.type| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 5-7 |
| 2237 | | - |
| 2238 | int r = v1.toString().compare(v2.toString(), Qt::CaseInsensitive); | - |
| 2239 | if (r == 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 2-3 |
| 2240 | | - |
| 2241 | returnexecuted 2 times by 1 test: return (v1.d.type < v2.d.type) ? -1 : 1; (| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
v1.d.type < v2.d.type)| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
? -1 : 1;executed 2 times by 1 test: return (v1.d.type < v2.d.type) ? -1 : 1; | 0-2 |
| 2242 | } | - |
| 2243 | returnexecuted 3 times by 2 tests: return r;Executed by:- tst_QMetaType
- tst_QVariant
r;executed 3 times by 2 tests: return r;Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
| 2244 | } | - |
| 2245 | | - |
| 2246 | | - |
| 2247 | if (qIsNumericType(v1.d.type)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
&& qIsNumericType(v2.d.type)| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-6 |
| 2248 | returnexecuted 1 time by 1 test: return v1.compare(v2); v1.compare(v2);executed 1 time by 1 test: return v1.compare(v2); | 1 |
| 2249 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 6 |
| 2250 | if (v1.d.type >= QMetaType::User| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 157 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 7-157 |
| 2251 | int result; | - |
| 2252 | if (QMetaType::compare(::constData(d), ::constData(v2.d), d.type, &result)| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-5 |
| 2253 | returnexecuted 5 times by 1 test: return result; result;executed 5 times by 1 test: return result; | 5 |
| 2254 | }executed 2 times by 1 test: end of block | 2 |
| 2255 | switch (v1.d.type) { | - |
| 2256 | caseexecuted 16 times by 2 tests: case QVariant::Date:Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Date:executed 16 times by 2 tests: case QVariant::Date:Executed by:- tst_QMetaType
- tst_QVariant
| 16 |
| 2257 | returnexecuted 16 times by 2 tests: return v1.toDate() < v2.toDate() ? -1 : 1;Executed by:- tst_QMetaType
- tst_QVariant
v1.toDate() < v2.toDate()| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
? -1 : 1;executed 16 times by 2 tests: return v1.toDate() < v2.toDate() ? -1 : 1;Executed by:- tst_QMetaType
- tst_QVariant
| 8-16 |
| 2258 | caseexecuted 15 times by 2 tests: case QVariant::Time:Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Time:executed 15 times by 2 tests: case QVariant::Time:Executed by:- tst_QMetaType
- tst_QVariant
| 15 |
| 2259 | returnexecuted 15 times by 2 tests: return v1.toTime() < v2.toTime() ? -1 : 1;Executed by:- tst_QMetaType
- tst_QVariant
v1.toTime() < v2.toTime()| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
? -1 : 1;executed 15 times by 2 tests: return v1.toTime() < v2.toTime() ? -1 : 1;Executed by:- tst_QMetaType
- tst_QVariant
| 7-15 |
| 2260 | caseexecuted 8 times by 1 test: case QVariant::DateTime: QVariant::DateTime:executed 8 times by 1 test: case QVariant::DateTime: | 8 |
| 2261 | returnexecuted 8 times by 1 test: return v1.toDateTime() < v2.toDateTime() ? -1 : 1; v1.toDateTime() < v2.toDateTime()| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
? -1 : 1;executed 8 times by 1 test: return v1.toDateTime() < v2.toDateTime() ? -1 : 1; | 4-8 |
| 2262 | caseexecuted 56 times by 1 test: case QVariant::StringList: QVariant::StringList:executed 56 times by 1 test: case QVariant::StringList: | 56 |
| 2263 | returnexecuted 56 times by 1 test: return v1.toStringList() < v2.toStringList() ? -1 : 1; v1.toStringList() < v2.toStringList()| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 28 times by 1 test |
? -1 : 1;executed 56 times by 1 test: return v1.toStringList() < v2.toStringList() ? -1 : 1; | 28-56 |
| 2264 | } | - |
| 2265 | int r = v1.toString().compare(v2.toString(), Qt::CaseInsensitive); | - |
| 2266 | if (r == 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 62 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 2-62 |
| 2267 | | - |
| 2268 | returnexecuted 2 times by 1 test: return (d.type < v.d.type) ? -1 : 1; (| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
d.type < v.d.type)| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
? -1 : 1;executed 2 times by 1 test: return (d.type < v.d.type) ? -1 : 1; | 0-2 |
| 2269 | } | - |
| 2270 | returnexecuted 62 times by 2 tests: return r;Executed by:- tst_QMetaType
- tst_QVariant
r;executed 62 times by 2 tests: return r;Executed by:- tst_QMetaType
- tst_QVariant
| 62 |
| 2271 | } | - |
| 2272 | | - |
| 2273 | | - |
| 2274 | | - |
| 2275 | | - |
| 2276 | | - |
| 2277 | const void *QVariant::constData() const | - |
| 2278 | { | - |
| 2279 | returnexecuted 8562213 times by 404 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.ptr);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
d.is_shared| TRUE | evaluated 25883 times by 191 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| | FALSE | evaluated 8536330 times by 399 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
|
? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.ptr);executed 8562213 times by 404 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.ptr);Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 25883-8562213 |
| 2280 | } | - |
| 2281 | void* QVariant::data() | - |
| 2282 | { | - |
| 2283 | detach(); | - |
| 2284 | returnexecuted 43743 times by 164 tests: return const_cast<void *>(constData());Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
const_cast<void *>(constData());executed 43743 times by 164 tests: return const_cast<void *>(constData());Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
| 43743 |
| 2285 | } | - |
| 2286 | bool QVariant::isNull() const | - |
| 2287 | { | - |
| 2288 | returnexecuted 418643 times by 135 tests: return handlerManager[d.type]->isNull(&d);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
handlerManager[d.type]->isNull(&d);executed 418643 times by 135 tests: return handlerManager[d.type]->isNull(&d);Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
| 418643 |
| 2289 | } | - |
| 2290 | | - |
| 2291 | | - |
| 2292 | QDebug operator<<(QDebug dbg, const QVariant &v) | - |
| 2293 | { | - |
| 2294 | QDebugStateSaver saver(dbg); | - |
| 2295 | const uint typeId = v.d.type; | - |
| 2296 | dbg.nospace() << "QVariant("; | - |
| 2297 | if (typeId != QMetaType::UnknownType| TRUE | evaluated 81 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 2 times by 1 test |
) { | 2-81 |
| 2298 | dbg << QMetaType::typeName(typeId) << ", "; | - |
| 2299 | bool userStream = false; | - |
| 2300 | bool canConvertToString = false; | - |
| 2301 | if (typeId >= QMetaType::User| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| | FALSE | evaluated 75 times by 4 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 6-75 |
| 2302 | userStream = QMetaType::debugStream(dbg, constData(v.d), typeId); | - |
| 2303 | canConvertToString = v.canConvert<QString>(); | - |
| 2304 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_QMetaType
- tst_QVariant
| 6 |
| 2305 | if (!userStream| TRUE | evaluated 80 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 1 time by 1 test |
&& canConvertToString| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 79 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
) | 1-80 |
| 2306 | dbg << v.toString();executed 1 time by 1 test: dbg << v.toString(); | 1 |
| 2307 | else if (!userStream| TRUE | evaluated 79 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| | FALSE | evaluated 1 time by 1 test |
) | 1-79 |
| 2308 | handlerManager[typeId]->debugStream(dbg, v);executed 79 times by 5 tests: handlerManager[typeId]->debugStream(dbg, v);Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 79 |
| 2309 | }executed 81 times by 5 tests: end of blockExecuted by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
else { | 81 |
| 2310 | dbg << "Invalid"; | - |
| 2311 | }executed 2 times by 1 test: end of block | 2 |
| 2312 | dbg << ')'; | - |
| 2313 | returnexecuted 83 times by 5 tests: return dbg;Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
dbg;executed 83 times by 5 tests: return dbg;Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 83 |
| 2314 | } | - |
| 2315 | | - |
| 2316 | QDebug operator<<(QDebug dbg, const QVariant::Type p) | - |
| 2317 | { | - |
| 2318 | QDebugStateSaver saver(dbg); | - |
| 2319 | dbg.nospace() << "QVariant::" | - |
| 2320 | << (int(p) != int(QMetaType::UnknownType) | - |
| 2321 | ? QMetaType::typeName(p) | - |
| 2322 | : "Invalid"); | - |
| 2323 | returnexecuted 54 times by 1 test: return dbg; dbg;executed 54 times by 1 test: return dbg; | 54 |
| 2324 | } | - |
| 2325 | QSequentialIterable::QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl impl) | - |
| 2326 | | - |
| 2327 | | - |
| 2328 | | - |
| 2329 | : m_impl(impl) | - |
| 2330 | { | - |
| 2331 | }executed 50 times by 1 test: end of block | 50 |
| 2332 | | - |
| 2333 | QSequentialIterable::const_iterator::const_iterator(const QSequentialIterable &iter, QAtomicInt *ref_) | - |
| 2334 | : m_impl(iter.m_impl), ref(ref_) | - |
| 2335 | { | - |
| 2336 | ref->ref(); | - |
| 2337 | }executed 149 times by 1 test: end of block | 149 |
| 2338 | | - |
| 2339 | QSequentialIterable::const_iterator::const_iterator(const QtMetaTypePrivate::QSequentialIterableImpl &impl, QAtomicInt *ref_) | - |
| 2340 | : m_impl(impl), ref(ref_) | - |
| 2341 | { | - |
| 2342 | ref->ref(); | - |
| 2343 | }executed 4 times by 1 test: end of block | 4 |
| 2344 | | - |
| 2345 | void QSequentialIterable::const_iterator::begin() | - |
| 2346 | { | - |
| 2347 | m_impl.moveToBegin(); | - |
| 2348 | }executed 75 times by 1 test: end of block | 75 |
| 2349 | | - |
| 2350 | void QSequentialIterable::const_iterator::end() | - |
| 2351 | { | - |
| 2352 | m_impl.moveToEnd(); | - |
| 2353 | }executed 74 times by 1 test: end of block | 74 |
| 2354 | QSequentialIterable::const_iterator QSequentialIterable::begin() const | - |
| 2355 | { | - |
| 2356 | const_iterator it(*this, new QAtomicInt(0)); | - |
| 2357 | it.begin(); | - |
| 2358 | returnexecuted 75 times by 1 test: return it; it;executed 75 times by 1 test: return it; | 75 |
| 2359 | } | - |
| 2360 | | - |
| 2361 | | - |
| 2362 | | - |
| 2363 | | - |
| 2364 | | - |
| 2365 | | - |
| 2366 | | - |
| 2367 | QSequentialIterable::const_iterator QSequentialIterable::end() const | - |
| 2368 | { | - |
| 2369 | const_iterator it(*this, new QAtomicInt(0)); | - |
| 2370 | it.end(); | - |
| 2371 | returnexecuted 74 times by 1 test: return it; it;executed 74 times by 1 test: return it; | 74 |
| 2372 | } | - |
| 2373 | | - |
| 2374 | | - |
| 2375 | | - |
| 2376 | | - |
| 2377 | QVariant QSequentialIterable::at(int idx) const | - |
| 2378 | { | - |
| 2379 | const QtMetaTypePrivate::VariantData d = m_impl.at(idx); | - |
| 2380 | if (d.metaTypeId == qMetaTypeId<QVariant>()| TRUE | evaluated 42 times by 1 test | | FALSE | evaluated 102 times by 1 test |
) | 42-102 |
| 2381 | returnexecuted 42 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);executed 42 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); | 42 |
| 2382 | returnexecuted 102 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); QVariant(d.metaTypeId, d.data, d.flags);executed 102 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); | 102 |
| 2383 | } | - |
| 2384 | | - |
| 2385 | | - |
| 2386 | | - |
| 2387 | | - |
| 2388 | int QSequentialIterable::size() const | - |
| 2389 | { | - |
| 2390 | returnexecuted 145 times by 1 test: return m_impl.size(); m_impl.size();executed 145 times by 1 test: return m_impl.size(); | 145 |
| 2391 | } | - |
| 2392 | | - |
| 2393 | | - |
| 2394 | | - |
| 2395 | | - |
| 2396 | | - |
| 2397 | | - |
| 2398 | bool QSequentialIterable::canReverseIterate() const | - |
| 2399 | { | - |
| 2400 | return never executed: return m_impl._iteratorCapabilities & QtMetaTypePrivate::BiDirectionalCapability; m_impl._iteratorCapabilities & QtMetaTypePrivate::BiDirectionalCapability;never executed: return m_impl._iteratorCapabilities & QtMetaTypePrivate::BiDirectionalCapability; | 0 |
| 2401 | } | - |
| 2402 | QSequentialIterable::const_iterator::~const_iterator() { | - |
| 2403 | if (!ref->deref()| TRUE | evaluated 152 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) { | 1-152 |
| 2404 | m_impl.destroyIter(); | - |
| 2405 | delete ref; | - |
| 2406 | }executed 152 times by 1 test: end of block | 152 |
| 2407 | }executed 153 times by 1 test: end of block | 153 |
| 2408 | | - |
| 2409 | | - |
| 2410 | | - |
| 2411 | | - |
| 2412 | QSequentialIterable::const_iterator::const_iterator(const const_iterator &other) | - |
| 2413 | : m_impl(other.m_impl), ref(other.ref) | - |
| 2414 | { | - |
| 2415 | ref->ref(); | - |
| 2416 | } never executed: end of block | 0 |
| 2417 | | - |
| 2418 | | - |
| 2419 | | - |
| 2420 | | - |
| 2421 | QSequentialIterable::const_iterator& | - |
| 2422 | QSequentialIterable::const_iterator::operator=(const const_iterator &other) | - |
| 2423 | { | - |
| 2424 | other.ref->ref(); | - |
| 2425 | if (!ref->deref()| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) { | 0-1 |
| 2426 | m_impl.destroyIter(); | - |
| 2427 | delete ref; | - |
| 2428 | }executed 1 time by 1 test: end of block | 1 |
| 2429 | m_impl = other.m_impl; | - |
| 2430 | ref = other.ref; | - |
| 2431 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
| 2432 | } | - |
| 2433 | | - |
| 2434 | | - |
| 2435 | | - |
| 2436 | | - |
| 2437 | const QVariant QSequentialIterable::const_iterator::operator*() const | - |
| 2438 | { | - |
| 2439 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrent(); | - |
| 2440 | if (d.metaTypeId == qMetaTypeId<QVariant>()| TRUE | evaluated 67 times by 1 test | | FALSE | evaluated 155 times by 1 test |
) | 67-155 |
| 2441 | returnexecuted 67 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);executed 67 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); | 67 |
| 2442 | returnexecuted 155 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); QVariant(d.metaTypeId, d.data, d.flags);executed 155 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); | 155 |
| 2443 | } | - |
| 2444 | | - |
| 2445 | | - |
| 2446 | | - |
| 2447 | | - |
| 2448 | | - |
| 2449 | | - |
| 2450 | | - |
| 2451 | bool QSequentialIterable::const_iterator::operator==(const const_iterator &other) const | - |
| 2452 | { | - |
| 2453 | return never executed: return m_impl.equal(other.m_impl); m_impl.equal(other.m_impl);never executed: return m_impl.equal(other.m_impl); | 0 |
| 2454 | } | - |
| 2455 | | - |
| 2456 | | - |
| 2457 | | - |
| 2458 | | - |
| 2459 | | - |
| 2460 | | - |
| 2461 | | - |
| 2462 | bool QSequentialIterable::const_iterator::operator!=(const const_iterator &other) const | - |
| 2463 | { | - |
| 2464 | returnexecuted 292 times by 1 test: return !m_impl.equal(other.m_impl); !m_impl.equal(other.m_impl);executed 292 times by 1 test: return !m_impl.equal(other.m_impl); | 292 |
| 2465 | } | - |
| 2466 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator++() | - |
| 2467 | { | - |
| 2468 | m_impl.advance(1); | - |
| 2469 | returnexecuted 218 times by 1 test: return *this; *this;executed 218 times by 1 test: return *this; | 218 |
| 2470 | } | - |
| 2471 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator++(int) | - |
| 2472 | { | - |
| 2473 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
| 2474 | impl.copy(m_impl); | - |
| 2475 | m_impl.advance(1); | - |
| 2476 | returnexecuted 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 3 |
| 2477 | } | - |
| 2478 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator--() | - |
| 2479 | { | - |
| 2480 | m_impl.advance(-1); | - |
| 2481 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 2482 | } | - |
| 2483 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator--(int) | - |
| 2484 | { | - |
| 2485 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
| 2486 | impl.copy(m_impl); | - |
| 2487 | m_impl.advance(-1); | - |
| 2488 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
| 2489 | } | - |
| 2490 | | - |
| 2491 | | - |
| 2492 | | - |
| 2493 | | - |
| 2494 | | - |
| 2495 | | - |
| 2496 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator+=(int j) | - |
| 2497 | { | - |
| 2498 | m_impl.advance(j); | - |
| 2499 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 2500 | } | - |
| 2501 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator-=(int j) | - |
| 2502 | { | - |
| 2503 | m_impl.advance(-j); | - |
| 2504 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 2505 | } | - |
| 2506 | | - |
| 2507 | | - |
| 2508 | | - |
| 2509 | | - |
| 2510 | | - |
| 2511 | | - |
| 2512 | | - |
| 2513 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator+(int j) const | - |
| 2514 | { | - |
| 2515 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
| 2516 | impl.copy(m_impl); | - |
| 2517 | impl.advance(j); | - |
| 2518 | returnexecuted 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 1 |
| 2519 | } | - |
| 2520 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator-(int j) const | - |
| 2521 | { | - |
| 2522 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
| 2523 | impl.copy(m_impl); | - |
| 2524 | impl.advance(-j); | - |
| 2525 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
| 2526 | } | - |
| 2527 | QAssociativeIterable::QAssociativeIterable(QtMetaTypePrivate::QAssociativeIterableImpl impl) | - |
| 2528 | | - |
| 2529 | | - |
| 2530 | | - |
| 2531 | : m_impl(impl) | - |
| 2532 | { | - |
| 2533 | }executed 23 times by 1 test: end of block | 23 |
| 2534 | | - |
| 2535 | QAssociativeIterable::const_iterator::const_iterator(const QAssociativeIterable &iter, QAtomicInt *ref_) | - |
| 2536 | : m_impl(iter.m_impl), ref(ref_) | - |
| 2537 | { | - |
| 2538 | ref->ref(); | - |
| 2539 | }executed 71 times by 1 test: end of block | 71 |
| 2540 | | - |
| 2541 | QAssociativeIterable::const_iterator::const_iterator(const QtMetaTypePrivate::QAssociativeIterableImpl &impl, QAtomicInt *ref_) | - |
| 2542 | : m_impl(impl), ref(ref_) | - |
| 2543 | { | - |
| 2544 | ref->ref(); | - |
| 2545 | }executed 4 times by 1 test: end of block | 4 |
| 2546 | | - |
| 2547 | void QAssociativeIterable::const_iterator::begin() | - |
| 2548 | { | - |
| 2549 | m_impl.begin(); | - |
| 2550 | }executed 21 times by 1 test: end of block | 21 |
| 2551 | | - |
| 2552 | void QAssociativeIterable::const_iterator::end() | - |
| 2553 | { | - |
| 2554 | m_impl.end(); | - |
| 2555 | }executed 35 times by 1 test: end of block | 35 |
| 2556 | | - |
| 2557 | void QAssociativeIterable::const_iterator::find(const QVariant &key) | - |
| 2558 | { | - |
| 2559 | ((!(key.userType() == m_impl._metaType_id_key)) ? qt_assert("key.userType() == m_impl._metaType_id_key",__FILE__,4207) : qt_noop()); | - |
| 2560 | const QtMetaTypePrivate::VariantData dkey(key.userType(), key.constData(), 0 ); | - |
| 2561 | m_impl.find(dkey); | - |
| 2562 | }executed 15 times by 1 test: end of block | 15 |
| 2563 | | - |
| 2564 | | - |
| 2565 | | - |
| 2566 | | - |
| 2567 | | - |
| 2568 | | - |
| 2569 | | - |
| 2570 | QAssociativeIterable::const_iterator QAssociativeIterable::begin() const | - |
| 2571 | { | - |
| 2572 | const_iterator it(*this, new QAtomicInt(0)); | - |
| 2573 | it.begin(); | - |
| 2574 | returnexecuted 21 times by 1 test: return it; it;executed 21 times by 1 test: return it; | 21 |
| 2575 | } | - |
| 2576 | | - |
| 2577 | | - |
| 2578 | | - |
| 2579 | | - |
| 2580 | | - |
| 2581 | | - |
| 2582 | | - |
| 2583 | QAssociativeIterable::const_iterator QAssociativeIterable::end() const | - |
| 2584 | { | - |
| 2585 | const_iterator it(*this, new QAtomicInt(0)); | - |
| 2586 | it.end(); | - |
| 2587 | returnexecuted 35 times by 1 test: return it; it;executed 35 times by 1 test: return it; | 35 |
| 2588 | } | - |
| 2589 | QAssociativeIterable::const_iterator QAssociativeIterable::find(const QVariant &key) const | - |
| 2590 | { | - |
| 2591 | const_iterator it(*this, new QAtomicInt(0)); | - |
| 2592 | QVariant key_ = key; | - |
| 2593 | if (key_.canConvert(m_impl._metaType_id_key)| TRUE | evaluated 15 times by 1 test | | FALSE | never evaluated |
&& key_.convert(m_impl._metaType_id_key)| TRUE | evaluated 15 times by 1 test | | FALSE | never evaluated |
) | 0-15 |
| 2594 | it.find(key_);executed 15 times by 1 test: it.find(key_); | 15 |
| 2595 | else | - |
| 2596 | it.end(); never executed: it.end(); | 0 |
| 2597 | returnexecuted 15 times by 1 test: return it; it;executed 15 times by 1 test: return it; | 15 |
| 2598 | } | - |
| 2599 | | - |
| 2600 | | - |
| 2601 | | - |
| 2602 | | - |
| 2603 | | - |
| 2604 | | - |
| 2605 | QVariant QAssociativeIterable::value(const QVariant &key) const | - |
| 2606 | { | - |
| 2607 | const const_iterator it = find(key); | - |
| 2608 | if (it == end()| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
| 2609 | return never executed: return QVariant(); QVariant();never executed: return QVariant(); | 0 |
| 2610 | returnexecuted 6 times by 1 test: return *it; *it;executed 6 times by 1 test: return *it; | 6 |
| 2611 | } | - |
| 2612 | | - |
| 2613 | | - |
| 2614 | | - |
| 2615 | | - |
| 2616 | int QAssociativeIterable::size() const | - |
| 2617 | { | - |
| 2618 | returnexecuted 6 times by 1 test: return m_impl.size(); m_impl.size();executed 6 times by 1 test: return m_impl.size(); | 6 |
| 2619 | } | - |
| 2620 | QAssociativeIterable::const_iterator::~const_iterator() | - |
| 2621 | { | - |
| 2622 | if (!ref->deref()| TRUE | evaluated 74 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) { | 1-74 |
| 2623 | m_impl.destroyIter(); | - |
| 2624 | delete ref; | - |
| 2625 | }executed 74 times by 1 test: end of block | 74 |
| 2626 | }executed 75 times by 1 test: end of block | 75 |
| 2627 | | - |
| 2628 | | - |
| 2629 | | - |
| 2630 | | - |
| 2631 | QAssociativeIterable::const_iterator::const_iterator(const const_iterator &other) | - |
| 2632 | : m_impl(other.m_impl), ref(other.ref) | - |
| 2633 | { | - |
| 2634 | ref->ref(); | - |
| 2635 | } never executed: end of block | 0 |
| 2636 | | - |
| 2637 | | - |
| 2638 | | - |
| 2639 | | - |
| 2640 | QAssociativeIterable::const_iterator& | - |
| 2641 | QAssociativeIterable::const_iterator::operator=(const const_iterator &other) | - |
| 2642 | { | - |
| 2643 | other.ref->ref(); | - |
| 2644 | if (!ref->deref()| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) { | 0-1 |
| 2645 | m_impl.destroyIter(); | - |
| 2646 | delete ref; | - |
| 2647 | }executed 1 time by 1 test: end of block | 1 |
| 2648 | m_impl = other.m_impl; | - |
| 2649 | ref = other.ref; | - |
| 2650 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
| 2651 | } | - |
| 2652 | | - |
| 2653 | | - |
| 2654 | | - |
| 2655 | | - |
| 2656 | const QVariant QAssociativeIterable::const_iterator::operator*() const | - |
| 2657 | { | - |
| 2658 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrentValue(); | - |
| 2659 | QVariant v(d.metaTypeId, d.data, d.flags); | - |
| 2660 | if (d.metaTypeId == qMetaTypeId<QVariant>()| TRUE | never evaluated | | FALSE | evaluated 13 times by 1 test |
) | 0-13 |
| 2661 | return never executed: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);never executed: return *reinterpret_cast<const QVariant*>(d.data); | 0 |
| 2662 | returnexecuted 13 times by 1 test: return v; v;executed 13 times by 1 test: return v; | 13 |
| 2663 | } | - |
| 2664 | | - |
| 2665 | | - |
| 2666 | | - |
| 2667 | | - |
| 2668 | const QVariant QAssociativeIterable::const_iterator::key() const | - |
| 2669 | { | - |
| 2670 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrentKey(); | - |
| 2671 | QVariant v(d.metaTypeId, d.data, d.flags); | - |
| 2672 | if (d.metaTypeId == qMetaTypeId<QVariant>()| TRUE | never evaluated | | FALSE | evaluated 31 times by 1 test |
) | 0-31 |
| 2673 | return never executed: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);never executed: return *reinterpret_cast<const QVariant*>(d.data); | 0 |
| 2674 | returnexecuted 31 times by 1 test: return v; v;executed 31 times by 1 test: return v; | 31 |
| 2675 | } | - |
| 2676 | | - |
| 2677 | | - |
| 2678 | | - |
| 2679 | | - |
| 2680 | const QVariant QAssociativeIterable::const_iterator::value() const | - |
| 2681 | { | - |
| 2682 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrentValue(); | - |
| 2683 | QVariant v(d.metaTypeId, d.data, d.flags); | - |
| 2684 | if (d.metaTypeId == qMetaTypeId<QVariant>()| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 30 times by 1 test |
) | 6-30 |
| 2685 | returnexecuted 6 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);executed 6 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); | 6 |
| 2686 | returnexecuted 30 times by 1 test: return v; v;executed 30 times by 1 test: return v; | 30 |
| 2687 | } | - |
| 2688 | | - |
| 2689 | | - |
| 2690 | | - |
| 2691 | | - |
| 2692 | | - |
| 2693 | | - |
| 2694 | | - |
| 2695 | bool QAssociativeIterable::const_iterator::operator==(const const_iterator &other) const | - |
| 2696 | { | - |
| 2697 | returnexecuted 9 times by 1 test: return m_impl.equal(other.m_impl); m_impl.equal(other.m_impl);executed 9 times by 1 test: return m_impl.equal(other.m_impl); | 9 |
| 2698 | } | - |
| 2699 | | - |
| 2700 | | - |
| 2701 | | - |
| 2702 | | - |
| 2703 | | - |
| 2704 | | - |
| 2705 | | - |
| 2706 | bool QAssociativeIterable::const_iterator::operator!=(const const_iterator &other) const | - |
| 2707 | { | - |
| 2708 | returnexecuted 60 times by 1 test: return !m_impl.equal(other.m_impl); !m_impl.equal(other.m_impl);executed 60 times by 1 test: return !m_impl.equal(other.m_impl); | 60 |
| 2709 | } | - |
| 2710 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator++() | - |
| 2711 | { | - |
| 2712 | m_impl.advance(1); | - |
| 2713 | returnexecuted 34 times by 1 test: return *this; *this;executed 34 times by 1 test: return *this; | 34 |
| 2714 | } | - |
| 2715 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator++(int) | - |
| 2716 | { | - |
| 2717 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
| 2718 | impl.copy(m_impl); | - |
| 2719 | m_impl.advance(1); | - |
| 2720 | returnexecuted 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 3 |
| 2721 | } | - |
| 2722 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator--() | - |
| 2723 | { | - |
| 2724 | m_impl.advance(-1); | - |
| 2725 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 2726 | } | - |
| 2727 | | - |
| 2728 | | - |
| 2729 | | - |
| 2730 | | - |
| 2731 | | - |
| 2732 | | - |
| 2733 | | - |
| 2734 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator--(int) | - |
| 2735 | { | - |
| 2736 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
| 2737 | impl.copy(m_impl); | - |
| 2738 | m_impl.advance(-1); | - |
| 2739 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
| 2740 | } | - |
| 2741 | | - |
| 2742 | | - |
| 2743 | | - |
| 2744 | | - |
| 2745 | | - |
| 2746 | | - |
| 2747 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator+=(int j) | - |
| 2748 | { | - |
| 2749 | m_impl.advance(j); | - |
| 2750 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 2751 | } | - |
| 2752 | | - |
| 2753 | | - |
| 2754 | | - |
| 2755 | | - |
| 2756 | | - |
| 2757 | | - |
| 2758 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator-=(int j) | - |
| 2759 | { | - |
| 2760 | m_impl.advance(-j); | - |
| 2761 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 2762 | } | - |
| 2763 | | - |
| 2764 | | - |
| 2765 | | - |
| 2766 | | - |
| 2767 | | - |
| 2768 | | - |
| 2769 | | - |
| 2770 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator+(int j) const | - |
| 2771 | { | - |
| 2772 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
| 2773 | impl.copy(m_impl); | - |
| 2774 | impl.advance(j); | - |
| 2775 | returnexecuted 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 1 |
| 2776 | } | - |
| 2777 | | - |
| 2778 | | - |
| 2779 | | - |
| 2780 | | - |
| 2781 | | - |
| 2782 | | - |
| 2783 | | - |
| 2784 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator-(int j) const | - |
| 2785 | { | - |
| 2786 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
| 2787 | impl.copy(m_impl); | - |
| 2788 | impl.advance(-j); | - |
| 2789 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
| 2790 | } | - |
| 2791 | | - |
| 2792 | | - |
| | |