| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | using QtMiscUtils::toHexUpper; | - |
| 5 | using QtMiscUtils::fromHex; | - |
| 6 | QDebug::~QDebug() | - |
| 7 | { | - |
| 8 | if (!--stream->ref| TRUE | evaluated 15700 times by 69 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- ...
| | FALSE | evaluated 3800 times by 37 testsEvaluated by:- tst_ModelTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QElapsedTimer
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNoDebug
- tst_QObject
- ...
|
) { | 3800-15700 |
| 9 | if (stream->space| TRUE | evaluated 15411 times by 63 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- ...
| | FALSE | evaluated 289 times by 14 testsEvaluated by:- tst_QBuffer
- tst_QDebug
- tst_QFile
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QProcess
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QWidget
|
&& stream->buffer.endsWith(QLatin1Char(' '))| TRUE | evaluated 15159 times by 58 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- ...
| | FALSE | evaluated 252 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QDebug
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkReply
- tst_QWidget
- tst_QWindow
|
) | 252-15411 |
| 10 | stream->buffer.chop(1);executed 15159 times by 58 tests: stream->buffer.chop(1);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- ...
| 15159 |
| 11 | if (stream->message_output| TRUE | evaluated 15351 times by 64 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- ...
| | FALSE | evaluated 349 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QDebug
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QWidget
- tst_QWindow
|
) { | 349-15351 |
| 12 | qt_message_output(stream->type, | - |
| 13 | stream->context, | - |
| 14 | stream->buffer); | - |
| 15 | }executed 15351 times by 64 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- ...
| 15351 |
| 16 | delete stream; | - |
| 17 | }executed 15700 times by 69 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- ...
| 15700 |
| 18 | }executed 19500 times by 69 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- ...
| 19500 |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | void QDebug::putUcs4(uint ucs4) | - |
| 24 | { | - |
| 25 | maybeQuote('\''); | - |
| 26 | if (ucs4 < 0x20| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 7 times by 1 test |
) { | 1-7 |
| 27 | stream->ts << "\\x" << hex << ucs4 << reset; | - |
| 28 | }executed 1 time by 1 test: end of block else if (ucs4 < 0x80| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 1-5 |
| 29 | stream->ts << char(ucs4); | - |
| 30 | }executed 5 times by 1 test: end of block else { | 5 |
| 31 | if (ucs4 < 0x10000| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 32 | stream->ts << "\\u" << qSetFieldWidth(4);executed 2 times by 1 test: stream->ts << "\\u" << qSetFieldWidth(4); | 2 |
| 33 | else | - |
| 34 | stream->ts << "\\U" << qSetFieldWidth(8); never executed: stream->ts << "\\U" << qSetFieldWidth(8); | 0 |
| 35 | stream->ts << hex << qSetPadChar(QLatin1Char('0')) << ucs4 << reset; | - |
| 36 | }executed 2 times by 1 test: end of block | 2 |
| 37 | maybeQuote('\''); | - |
| 38 | }executed 8 times by 2 tests: end of block | 8 |
| 39 | | - |
| 40 | | - |
| 41 | | - |
| 42 | | - |
| 43 | static inline bool isPrintable(uint ucs4) | - |
| 44 | { returnexecuted 3 times by 1 test: return QChar::isPrint(ucs4); QChar::isPrint(ucs4);executed 3 times by 1 test: return QChar::isPrint(ucs4); } | 3 |
| 45 | static inline bool isPrintable(ushort uc) | - |
| 46 | { returnexecuted 202559 times by 34 tests: return QChar::isPrint(uc);Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
QChar::isPrint(uc);executed 202559 times by 34 tests: return QChar::isPrint(uc);Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
} | 202559 |
| 47 | static inline bool isPrintable(uchar c) | - |
| 48 | { returnexecuted 173 times by 3 tests: return c >= ' ' && c < 0x7f;Executed by:- tst_QDebug
- tst_QObject
- tst_QVariant
c >= ' ' && c < 0x7f;executed 173 times by 3 tests: return c >= ' ' && c < 0x7f;Executed by:- tst_QDebug
- tst_QObject
- tst_QVariant
} | 173 |
| 49 | | - |
| 50 | template <typename Char> | - |
| 51 | static inline void putEscapedString(QTextStreamPrivate *d, const Char *begin, int length, bool isUnicode = true) | - |
| 52 | { | - |
| 53 | QChar quote(QLatin1Char('"')); | - |
| 54 | d->write("e, 1); | - |
| 55 | | - |
| 56 | bool lastWasHexEscape = false; | - |
| 57 | const Char *end = begin + length; | - |
| 58 | for (const Char *p = begin; p != end| TRUE | evaluated 17501 times by 35 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- ...
| | FALSE | evaluated 13165 times by 36 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- ...
|
; ++p) { | 13165-17501 |
| 59 | | - |
| 60 | if (__builtin_expect(!!(lastWasHexEscape), false)| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 17496 times by 35 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- ...
|
) { | 5-17496 |
| 61 | if (fromHex(*p) != -1| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 1-4 |
| 62 | | - |
| 63 | QChar quotes[] = { QLatin1Char('"'), QLatin1Char('"') }; | - |
| 64 | d->write(quotes, 2); | - |
| 65 | }executed 1 time by 1 test: end of block | 1 |
| 66 | lastWasHexEscape = false; | - |
| 67 | }executed 5 times by 1 test: end of block | 5 |
| 68 | | - |
| 69 | if (sizeof(Char) == sizeof(QChar)| TRUE | evaluated 17328 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| | FALSE | evaluated 173 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
|
) { | 173-17328 |
| 70 | | - |
| 71 | int runLength = 0; | - |
| 72 | while (p + runLength != end| TRUE | evaluated 202559 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| | FALSE | evaluated 13103 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- tst_QString
- ...
|
&& | 13103-202559 |
| 73 | isPrintable(p[runLength])| TRUE | evaluated 202448 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| | FALSE | evaluated 111 times by 2 testsEvaluated by:- tst_QDBusInterface
- tst_QDebug
|
&& p[runLength] != '\\'| TRUE | evaluated 198761 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| | FALSE | evaluated 3687 times by 2 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDebug
|
&& p[runLength] != '"'| TRUE | evaluated 198334 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| | FALSE | evaluated 427 times by 4 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
|
) | 111-202448 |
| 74 | ++executed 198334 times by 34 tests: ++runLength;Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
runLength;executed 198334 times by 34 tests: ++runLength;Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| 198334 |
| 75 | if (runLength| TRUE | evaluated 15064 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| | FALSE | evaluated 2264 times by 4 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
|
) { | 2264-15064 |
| 76 | d->write(reinterpret_cast<const QChar *>(p), runLength); | - |
| 77 | p += runLength - 1; | - |
| 78 | continue;executed 15064 times by 34 tests: continue;Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- ...
| 15064 |
| 79 | } | - |
| 80 | }executed 2264 times by 4 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
else if (isPrintable(*p)| TRUE | evaluated 164 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 9 times by 1 test |
&& *| TRUE | evaluated 162 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 2 times by 1 test |
p != '\\'| TRUE | evaluated 162 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 2 times by 1 test |
&& *| TRUE | evaluated 158 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 4 times by 1 test |
p != '"'| TRUE | evaluated 158 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
| | FALSE | evaluated 4 times by 1 test |
) { | 2-2264 |
| 81 | QChar c = QLatin1Char(*p); | - |
| 82 | d->write(&c, 1); | - |
| 83 | continue;executed 158 times by 3 tests: continue;Executed by:- tst_QDebug
- tst_QObject
- tst_QVariant
| 158 |
| 84 | } | - |
| 85 | | - |
| 86 | | - |
| 87 | int buflen = 2; | - |
| 88 | ushort buf[sizeof "\\U12345678" - 1]; | - |
| 89 | buf[0] = '\\'; | - |
| 90 | | - |
| 91 | switch (*p) { | - |
| 92 | caseexecuted 288 times by 4 tests: case '"':Executed by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
'"':executed 288 times by 4 tests: case '"':Executed by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
| 288 |
| 93 | caseexecuted 1921 times by 2 tests: case '\\':Executed by:- tst_NetworkSelfTest
- tst_QDebug
'\\':executed 1921 times by 2 tests: case '\\':Executed by:- tst_NetworkSelfTest
- tst_QDebug
| 1921 |
| 94 | buf[1] = *p; | - |
| 95 | break;executed 2209 times by 4 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
| 2209 |
| 96 | case never executed: case '\b': '\b':never executed: case '\b': | 0 |
| 97 | buf[1] = 'b'; | - |
| 98 | break; never executed: break; | 0 |
| 99 | case never executed: case '\f': '\f':never executed: case '\f': | 0 |
| 100 | buf[1] = 'f'; | - |
| 101 | break; never executed: break; | 0 |
| 102 | caseexecuted 52 times by 2 tests: case '\n':Executed by:- tst_QDBusInterface
- tst_QDebug
'\n':executed 52 times by 2 tests: case '\n':Executed by:- tst_QDBusInterface
- tst_QDebug
| 52 |
| 103 | buf[1] = 'n'; | - |
| 104 | break;executed 52 times by 2 tests: break;Executed by:- tst_QDBusInterface
- tst_QDebug
| 52 |
| 105 | case never executed: case '\r': '\r':never executed: case '\r': | 0 |
| 106 | buf[1] = 'r'; | - |
| 107 | break; never executed: break; | 0 |
| 108 | caseexecuted 1 time by 1 test: case '\t': '\t':executed 1 time by 1 test: case '\t': | 1 |
| 109 | buf[1] = 't'; | - |
| 110 | break;executed 1 time by 1 test: break; | 1 |
| 111 | defaultexecuted 17 times by 1 test: default: :executed 17 times by 1 test: default: | 17 |
| 112 | if (!isUnicode| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 12 times by 1 test |
) { | 5-12 |
| 113 | | - |
| 114 | buf[1] = 'x'; | - |
| 115 | buf[2] = toHexUpper(uchar(*p) >> 4); | - |
| 116 | buf[3] = toHexUpper(uchar(*p)); | - |
| 117 | buflen = 4; | - |
| 118 | lastWasHexEscape = true; | - |
| 119 | break;executed 5 times by 1 test: break; | 5 |
| 120 | } | - |
| 121 | if (QChar::isHighSurrogate(*p)| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 7 times by 1 test |
) { | 5-7 |
| 122 | if ((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 1 time by 1 test |
p + 1) != end| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 1 time by 1 test |
&& QChar::isLowSurrogate(p[1])| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) { | 1-4 |
| 123 | | - |
| 124 | uint ucs4 = QChar::surrogateToUcs4(*p, p[1]); | - |
| 125 | if (isPrintable(ucs4)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 1-2 |
| 126 | buf[0] = *p; | - |
| 127 | buf[1] = p[1]; | - |
| 128 | buflen = 2; | - |
| 129 | }executed 1 time by 1 test: end of block else { | 1 |
| 130 | buf[1] = 'U'; | - |
| 131 | buf[2] = '0'; | - |
| 132 | buf[3] = '0'; | - |
| 133 | buf[4] = toHexUpper(ucs4 >> 20); | - |
| 134 | buf[5] = toHexUpper(ucs4 >> 16); | - |
| 135 | buf[6] = toHexUpper(ucs4 >> 12); | - |
| 136 | buf[7] = toHexUpper(ucs4 >> 8); | - |
| 137 | buf[8] = toHexUpper(ucs4 >> 4); | - |
| 138 | buf[9] = toHexUpper(ucs4); | - |
| 139 | buflen = 10; | - |
| 140 | }executed 2 times by 1 test: end of block | 2 |
| 141 | ++p; | - |
| 142 | break;executed 3 times by 1 test: break; | 3 |
| 143 | } | - |
| 144 | | - |
| 145 | }executed 2 times by 1 test: end of block | 2 |
| 146 | buf[1] = 'u'; | - |
| 147 | buf[2] = toHexUpper(ushort(*p) >> 12); | - |
| 148 | buf[3] = toHexUpper(ushort(*p) >> 8); | - |
| 149 | buf[4] = toHexUpper(*p >> 4); | - |
| 150 | buf[5] = toHexUpper(*p); | - |
| 151 | buflen = 6; | - |
| 152 | }executed 9 times by 1 test: end of block | 9 |
| 153 | d->write(reinterpret_cast<QChar *>(buf), buflen); | - |
| 154 | }executed 2279 times by 4 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QDBusInterface
- tst_QDebug
- tst_QTextDocument
| 2279 |
| 155 | | - |
| 156 | d->write("e, 1); | - |
| 157 | }executed 13165 times by 36 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- ...
| 13165 |
| 158 | | - |
| 159 | | - |
| 160 | | - |
| 161 | | - |
| 162 | | - |
| 163 | void QDebug::putString(const QChar *begin, size_t length) | - |
| 164 | { | - |
| 165 | if (stream->testFlag(Stream::NoQuotes)| TRUE | evaluated 1624 times by 10 testsEvaluated by:- tst_QDebug
- tst_QFile
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QOpenGlConfig
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
| | FALSE | evaluated 13148 times by 35 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- ...
|
) { | 1624-13148 |
| 166 | | - |
| 167 | | - |
| 168 | stream->ts.d_ptr->putString(begin, int(length)); | - |
| 169 | }executed 1624 times by 10 tests: end of blockExecuted by:- tst_QDebug
- tst_QFile
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QOpenGlConfig
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
else { | 1624 |
| 170 | | - |
| 171 | QDebugStateSaver saver(*this); | - |
| 172 | stream->ts.d_ptr->params.reset(); | - |
| 173 | putEscapedString(stream->ts.d_ptr.data(), reinterpret_cast<const ushort *>(begin), int(length)); | - |
| 174 | }executed 13148 times by 35 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLogging
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- ...
| 13148 |
| 175 | } | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | void QDebug::putByteArray(const char *begin, size_t length, Latin1Content content) | - |
| 182 | { | - |
| 183 | if (stream->testFlag(Stream::NoQuotes)| TRUE | evaluated 34 times by 4 testsEvaluated by:- tst_QDebug
- tst_QMetaObject
- tst_QOpenGlConfig
- tst_QWidget
| | FALSE | evaluated 17 times by 3 testsEvaluated by:- tst_QDebug
- tst_QObject
- tst_QVariant
|
) { | 17-34 |
| 184 | | - |
| 185 | | - |
| 186 | QString string = content == ContainsLatin1| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 29 times by 4 testsEvaluated by:- tst_QDebug
- tst_QMetaObject
- tst_QOpenGlConfig
- tst_QWidget
|
? QString::fromLatin1(begin, int(length)) : QString::fromUtf8(begin, int(length)); | 5-29 |
| 187 | stream->ts.d_ptr->putString(string); | - |
| 188 | }executed 34 times by 4 tests: end of blockExecuted by:- tst_QDebug
- tst_QMetaObject
- tst_QOpenGlConfig
- tst_QWidget
else { | 34 |
| 189 | | - |
| 190 | QDebugStateSaver saver(*this); | - |
| 191 | stream->ts.d_ptr->params.reset(); | - |
| 192 | putEscapedString(stream->ts.d_ptr.data(), reinterpret_cast<const uchar *>(begin), | - |
| 193 | int(length), content == ContainsLatin1); | - |
| 194 | }executed 17 times by 3 tests: end of blockExecuted by:- tst_QDebug
- tst_QObject
- tst_QVariant
| 17 |
| 195 | } | - |
| 196 | QDebug &QDebug::resetFormat() | - |
| 197 | { | - |
| 198 | stream->ts.reset(); | - |
| 199 | stream->space = true; | - |
| 200 | if (stream->context.version > 1| TRUE | evaluated 921 times by 12 testsEvaluated by:- tst_QDebug
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QWidget
| | FALSE | never evaluated |
) | 0-921 |
| 201 | stream->flags = 0;executed 921 times by 12 tests: stream->flags = 0;Executed by:- tst_QDebug
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QWidget
| 921 |
| 202 | stream->setVerbosity(Stream::DefaultVerbosity); | - |
| 203 | returnexecuted 921 times by 12 tests: return *this;Executed by:- tst_QDebug
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QWidget
*this;executed 921 times by 12 tests: return *this;Executed by:- tst_QDebug
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QWidget
| 921 |
| 204 | } | - |
| 205 | class QDebugStateSaverPrivate | - |
| 206 | { | - |
| 207 | public: | - |
| 208 | QDebugStateSaverPrivate(QDebug &dbg) | - |
| 209 | : m_dbg(dbg), | - |
| 210 | m_spaces(dbg.autoInsertSpaces()), | - |
| 211 | m_flags(0), | - |
| 212 | m_streamParams(dbg.stream->ts.d_ptr->params) | - |
| 213 | { | - |
| 214 | if (m_dbg.stream->context.version > 1| TRUE | evaluated 14874 times by 50 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| | FALSE | never evaluated |
) | 0-14874 |
| 215 | m_flags = m_dbg.stream->flags;executed 14874 times by 50 tests: m_flags = m_dbg.stream->flags;Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 14874 |
| 216 | }executed 14874 times by 50 tests: end of blockExecuted by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 14874 |
| 217 | void restoreState() | - |
| 218 | { | - |
| 219 | const bool currentSpaces = m_dbg.autoInsertSpaces(); | - |
| 220 | if (currentSpaces| TRUE | evaluated 12813 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDebug
- tst_QGraphicsScene
- tst_QHostInfo
- tst_QLogging
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QWidget
- ...
| | FALSE | evaluated 2061 times by 34 testsEvaluated by:- tst_ModelTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QSslSocket
- ...
|
&& !m_spaces| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 12812 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDebug
- tst_QGraphicsScene
- tst_QHostInfo
- tst_QLogging
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QWidget
- ...
|
) | 1-12813 |
| 221 | if (m_dbg.stream->buffer.endsWith(QLatin1Char(' '))| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 222 | m_dbg.stream->buffer.chop(1);executed 1 time by 1 test: m_dbg.stream->buffer.chop(1); | 1 |
| 223 | | - |
| 224 | m_dbg.setAutoInsertSpaces(m_spaces); | - |
| 225 | m_dbg.stream->ts.d_ptr->params = m_streamParams; | - |
| 226 | if (m_dbg.stream->context.version > 1| TRUE | evaluated 14874 times by 50 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| | FALSE | never evaluated |
) | 0-14874 |
| 227 | m_dbg.stream->flags = m_flags;executed 14874 times by 50 tests: m_dbg.stream->flags = m_flags;Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 14874 |
| 228 | | - |
| 229 | if (!currentSpaces| TRUE | evaluated 2061 times by 34 testsEvaluated by:- tst_ModelTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QSslSocket
- ...
| | FALSE | evaluated 12813 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QDebug
- tst_QGraphicsScene
- tst_QHostInfo
- tst_QLogging
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QWidget
- ...
|
&& m_spaces| TRUE | evaluated 517 times by 24 testsEvaluated by:- tst_ModelTest
- tst_QAccessibility
- tst_QBrush
- tst_QDate
- tst_QDebug
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QNetworkConfigurationManager
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSslSocket
- tst_QTcpServer
- tst_QTextLayout
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
- tst_QWindow
| | FALSE | evaluated 1544 times by 25 testsEvaluated by:- tst_ModelTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
- tst_qstandardpaths
|
) | 517-12813 |
| 230 | m_dbg.stream->ts << ' ';executed 517 times by 24 tests: m_dbg.stream->ts << ' ';Executed by:- tst_ModelTest
- tst_QAccessibility
- tst_QBrush
- tst_QDate
- tst_QDebug
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLocalSocket
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QNetworkConfigurationManager
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSslSocket
- tst_QTcpServer
- tst_QTextLayout
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
- tst_QWindow
| 517 |
| 231 | }executed 14874 times by 50 tests: end of blockExecuted by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 14874 |
| 232 | | - |
| 233 | QDebug &m_dbg; | - |
| 234 | | - |
| 235 | | - |
| 236 | const bool m_spaces; | - |
| 237 | int m_flags; | - |
| 238 | | - |
| 239 | | - |
| 240 | const QTextStreamPrivate::Params m_streamParams; | - |
| 241 | }; | - |
| 242 | QDebugStateSaver::QDebugStateSaver(QDebug &dbg) | - |
| 243 | : d(new QDebugStateSaverPrivate(dbg)) | - |
| 244 | { | - |
| 245 | }executed 14874 times by 50 tests: end of blockExecuted by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 14874 |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | | - |
| 252 | | - |
| 253 | QDebugStateSaver::~QDebugStateSaver() | - |
| 254 | { | - |
| 255 | d->restoreState(); | - |
| 256 | }executed 14874 times by 50 tests: end of blockExecuted by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QDBusInterface
- tst_QDate
- tst_QDebug
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 14874 |
| 257 | void qt_QMetaEnum_flagDebugOperator(QDebug &debug, size_t sizeofT, int value) | - |
| 258 | { | - |
| 259 | qt_QMetaEnum_flagDebugOperator<int>(debug, sizeofT, value); | - |
| 260 | }executed 13 times by 2 tests: end of blockExecuted by:- tst_QDebug
- tst_QNetworkConfigurationManager
| 13 |
| 261 | | - |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | | - |
| 266 | QDebug qt_QMetaEnum_debugOperator(QDebug &dbg, int value, const QMetaObject *meta, const char *name) | - |
| 267 | { | - |
| 268 | QDebugStateSaver saver(dbg); | - |
| 269 | QMetaEnum me = meta->enumerator(meta->indexOfEnumerator(name)); | - |
| 270 | const char *key = me.valueToKey(value); | - |
| 271 | dbg.nospace() << meta->className() << "::" << name << '('; | - |
| 272 | if (key| TRUE | evaluated 183 times by 9 testsEvaluated by:- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QMetaObject
- tst_QNoDebug
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| | FALSE | evaluated 20 times by 1 test |
) | 20-183 |
| 273 | dbg << key;executed 183 times by 9 tests: dbg << key;Executed by:- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QMetaObject
- tst_QNoDebug
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 183 |
| 274 | else | - |
| 275 | dbg << value;executed 20 times by 1 test: dbg << value; | 20 |
| 276 | dbg << ')'; | - |
| 277 | returnexecuted 203 times by 9 tests: return dbg;Executed by:- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QMetaObject
- tst_QNoDebug
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
dbg;executed 203 times by 9 tests: return dbg;Executed by:- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QMetaObject
- tst_QNoDebug
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 203 |
| 278 | } | - |
| 279 | | - |
| 280 | QDebug qt_QMetaEnum_flagDebugOperator(QDebug &debug, quint64 value, const QMetaObject *meta, const char *name) | - |
| 281 | { | - |
| 282 | QDebugStateSaver saver(debug); | - |
| 283 | debug.resetFormat(); | - |
| 284 | debug.noquote(); | - |
| 285 | debug.nospace(); | - |
| 286 | debug << "QFlags<"; | - |
| 287 | const QMetaEnum me = meta->enumerator(meta->indexOfEnumerator(name)); | - |
| 288 | if (const| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_QMetaObject
- tst_QWidget
| | FALSE | never evaluated |
char *scope = me.scope()| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_QMetaObject
- tst_QWidget
| | FALSE | never evaluated |
) | 0-23 |
| 289 | debug << scope << "::";executed 23 times by 2 tests: debug << scope << "::";Executed by:- tst_QMetaObject
- tst_QWidget
| 23 |
| 290 | debug << me.name() << ">(" << me.valueToKeys(value) << ')'; | - |
| 291 | returnexecuted 23 times by 2 tests: return debug;Executed by:- tst_QMetaObject
- tst_QWidget
debug;executed 23 times by 2 tests: return debug;Executed by:- tst_QMetaObject
- tst_QWidget
| 23 |
| 292 | } | - |
| 293 | | - |
| 294 | | - |
| 295 | | - |
| | |