| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | static long qt_gettid() | - |
| 8 | { | - |
| 9 | | - |
| 10 | | - |
| 11 | returnexecuted 8 times by 1 test: return syscall(186);Executed by:- tst_qlogging - unknown status
syscall(186);executed 8 times by 1 test: return syscall(186);Executed by:- tst_qlogging - unknown status
| 8 |
| 12 | } | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | __attribute__((__noreturn__)) | - |
| 22 | | - |
| 23 | static void qt_message_fatal(QtMsgType, const QMessageLogContext &context, const QString &message); | - |
| 24 | static void qt_message_print(QtMsgType, const QMessageLogContext &context, const QString &message); | - |
| 25 | | - |
| 26 | static bool isFatal(QtMsgType msgType) | - |
| 27 | { | - |
| 28 | if (msgType == QtFatalMsg| TRUE | never evaluated | | FALSE | evaluated 267528 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
|
) | 0-267528 |
| 29 | return never executed: return true; true;never executed: return true; | 0 |
| 30 | | - |
| 31 | if (msgType == QtCriticalMsg| TRUE | evaluated 39 times by 4 testsEvaluated by:- tst_QDebug
- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
| | FALSE | evaluated 267489 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
|
) { | 39-267489 |
| 32 | static bool fatalCriticals = !qEnvironmentVariableIsEmpty("QT_FATAL_CRITICALS"); | - |
| 33 | returnexecuted 39 times by 4 tests: return fatalCriticals;Executed by:- tst_QDebug
- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
fatalCriticals;executed 39 times by 4 tests: return fatalCriticals;Executed by:- tst_QDebug
- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
| 39 |
| 34 | } | - |
| 35 | | - |
| 36 | if (msgType == QtWarningMsg| TRUE | evaluated 251597 times by 129 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDesktopWidget
- tst_QDialogButtonBox
- tst_QDir
- ...
| | FALSE | evaluated 15892 times by 72 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- ...
|
|| msgType == QtCriticalMsg| TRUE | never evaluated | | FALSE | evaluated 15892 times by 72 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- ...
|
) { | 0-251597 |
| 37 | static bool fatalWarnings = !qEnvironmentVariableIsEmpty("QT_FATAL_WARNINGS"); | - |
| 38 | returnexecuted 251597 times by 129 tests: return fatalWarnings;Executed by:- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDesktopWidget
- tst_QDialogButtonBox
- tst_QDir
- ...
fatalWarnings;executed 251597 times by 129 tests: return fatalWarnings;Executed by:- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDesktopWidget
- tst_QDialogButtonBox
- tst_QDir
- ...
| 251597 |
| 39 | } | - |
| 40 | | - |
| 41 | returnexecuted 15892 times by 72 tests: return false;Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- ...
false;executed 15892 times by 72 tests: return false;Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- ...
| 15892 |
| 42 | } | - |
| 43 | | - |
| 44 | static bool willLogToConsole() | - |
| 45 | { | - |
| 46 | bool ok = true; | - |
| 47 | uint envcontrol = qgetenv("QT_LOGGING_TO_CONSOLE").toUInt(&ok); | - |
| 48 | if (ok| TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| | FALSE | never evaluated |
) | 0-24 |
| 49 | returnexecuted 24 times by 4 tests: return envcontrol;Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
envcontrol;executed 24 times by 4 tests: return envcontrol;Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| 24 |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | | - |
| 55 | int devtty = qt_safe_open("/dev/tty", 00); | - |
| 56 | if (devtty == -1| TRUE | never evaluated | | FALSE | never evaluated |
&& ((*| TRUE | never evaluated | | FALSE | never evaluated |
__errno_location ()) == 2| TRUE | never evaluated | | FALSE | never evaluated |
|| (*| TRUE | never evaluated | | FALSE | never evaluated |
__errno_location ()) == 1| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0 |
| 57 | | - |
| 58 | return never executed: return isatty(2); isatty(2);never executed: return isatty(2); | 0 |
| 59 | } else if (devtty != -1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 60 | | - |
| 61 | qt_safe_close(devtty); | - |
| 62 | return never executed: return true; true;never executed: return true; | 0 |
| 63 | } | - |
| 64 | | - |
| 65 | | - |
| 66 | return never executed: return false; false;never executed: return false; | 0 |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | } | - |
| 72 | | - |
| 73 | __attribute__((visibility("default"))) bool qt_logging_to_console() | - |
| 74 | { | - |
| 75 | static const bool logToConsole = willLogToConsole(); | - |
| 76 | returnexecuted 120 times by 4 tests: return logToConsole;Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
logToConsole;executed 120 times by 4 tests: return logToConsole;Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| 120 |
| 77 | } | - |
| 78 | __attribute__((noinline)) | - |
| 79 | static QString qt_message(QtMsgType msgType, const QMessageLogContext &context, const char *msg, va_list ap) | - |
| 80 | { | - |
| 81 | QString buf = QString::vasprintf(msg, ap); | - |
| 82 | qt_message_print(msgType, context, buf); | - |
| 83 | returnexecuted 252232 times by 139 tests: return buf;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
buf;executed 252232 times by 139 tests: return buf;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 252232 |
| 84 | } | - |
| 85 | void QMessageLogger::debug(const char *msg, ...) const | - |
| 86 | { | - |
| 87 | va_list ap; | - |
| 88 | __builtin_va_start(ap,msg); | - |
| 89 | const QString message = qt_message(QtDebugMsg, context, msg, ap); | - |
| 90 | __builtin_va_end(ap); | - |
| 91 | | - |
| 92 | if (isFatal(QtDebugMsg)| TRUE | never evaluated | | FALSE | evaluated 687 times by 29 testsEvaluated by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QLogging
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QReadWriteLock
- tst_QSharedPointer
- tst_QSocks5SocketEngine
- tst_QSql
- tst_QSqlQuery
- tst_QSqlThread
- tst_QSslSocket
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QtConcurrentRun
- tst_qlogging - unknown status
- tst_qmessagehandler
- ...
|
) | 0-687 |
| 93 | qt_message_fatal(QtDebugMsg, context, message); never executed: qt_message_fatal(QtDebugMsg, context, message); | 0 |
| 94 | }executed 687 times by 29 tests: end of blockExecuted by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QLogging
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QReadWriteLock
- tst_QSharedPointer
- tst_QSocks5SocketEngine
- tst_QSql
- tst_QSqlQuery
- tst_QSqlThread
- tst_QSslSocket
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QtConcurrentRun
- tst_qlogging - unknown status
- tst_qmessagehandler
- ...
| 687 |
| 95 | void QMessageLogger::info(const char *msg, ...) const | - |
| 96 | { | - |
| 97 | va_list ap; | - |
| 98 | __builtin_va_start(ap,msg); | - |
| 99 | const QString message = qt_message(QtInfoMsg, context, msg, ap); | - |
| 100 | __builtin_va_end(ap); | - |
| 101 | | - |
| 102 | if (isFatal(QtInfoMsg)| TRUE | never evaluated | | FALSE | evaluated 95 times by 3 testsEvaluated by:- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
|
) | 0-95 |
| 103 | qt_message_fatal(QtInfoMsg, context, message); never executed: qt_message_fatal(QtInfoMsg, context, message); | 0 |
| 104 | }executed 95 times by 3 tests: end of blockExecuted by:- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
| 95 |
| 105 | void QMessageLogger::debug(const QLoggingCategory &cat, const char *msg, ...) const | - |
| 106 | { | - |
| 107 | if (!cat.isDebugEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 108 | return; never executed: return; | 0 |
| 109 | | - |
| 110 | QMessageLogContext ctxt; | - |
| 111 | ctxt.copy(context); | - |
| 112 | ctxt.category = cat.categoryName(); | - |
| 113 | | - |
| 114 | va_list ap; | - |
| 115 | __builtin_va_start(ap,msg); | - |
| 116 | const QString message = qt_message(QtDebugMsg, ctxt, msg, ap); | - |
| 117 | __builtin_va_end(ap); | - |
| 118 | | - |
| 119 | if (isFatal(QtDebugMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 120 | qt_message_fatal(QtDebugMsg, ctxt, message); never executed: qt_message_fatal(QtDebugMsg, ctxt, message); | 0 |
| 121 | } never executed: end of block | 0 |
| 122 | void QMessageLogger::debug(QMessageLogger::CategoryFunction catFunc, | - |
| 123 | const char *msg, ...) const | - |
| 124 | { | - |
| 125 | const QLoggingCategory &cat = (*catFunc)(); | - |
| 126 | if (!cat.isDebugEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 127 | return; never executed: return; | 0 |
| 128 | | - |
| 129 | QMessageLogContext ctxt; | - |
| 130 | ctxt.copy(context); | - |
| 131 | ctxt.category = cat.categoryName(); | - |
| 132 | | - |
| 133 | va_list ap; | - |
| 134 | __builtin_va_start(ap,msg); | - |
| 135 | const QString message = qt_message(QtDebugMsg, ctxt, msg, ap); | - |
| 136 | __builtin_va_end(ap); | - |
| 137 | | - |
| 138 | if (isFatal(QtDebugMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 139 | qt_message_fatal(QtDebugMsg, ctxt, message); never executed: qt_message_fatal(QtDebugMsg, ctxt, message); | 0 |
| 140 | } never executed: end of block | 0 |
| 141 | QDebug QMessageLogger::debug() const | - |
| 142 | { | - |
| 143 | QDebug dbg = QDebug(QtDebugMsg); | - |
| 144 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 145 | ctxt.copy(context); | - |
| 146 | returnexecuted 15095 times by 53 tests: return dbg;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- 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
- tst_QNetworkInterface
- ...
dbg;executed 15095 times by 53 tests: return dbg;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- 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
- tst_QNetworkInterface
- ...
| 15095 |
| 147 | } | - |
| 148 | | - |
| 149 | | - |
| 150 | | - |
| 151 | | - |
| 152 | | - |
| 153 | | - |
| 154 | | - |
| 155 | QDebug QMessageLogger::debug(const QLoggingCategory &cat) const | - |
| 156 | { | - |
| 157 | QDebug dbg = QDebug(QtDebugMsg); | - |
| 158 | if (!cat.isDebugEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 159 | dbg.stream->message_output = false; never executed: dbg.stream->message_output = false; | 0 |
| 160 | | - |
| 161 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 162 | ctxt.copy(context); | - |
| 163 | ctxt.category = cat.categoryName(); | - |
| 164 | | - |
| 165 | return never executed: return dbg; dbg;never executed: return dbg; | 0 |
| 166 | } | - |
| 167 | | - |
| 168 | | - |
| 169 | | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | QDebug QMessageLogger::debug(QMessageLogger::CategoryFunction catFunc) const | - |
| 175 | { | - |
| 176 | return never executed: return debug((*catFunc)()); debug((*catFunc)());never executed: return debug((*catFunc)()); | 0 |
| 177 | } | - |
| 178 | QNoDebug QMessageLogger::noDebug() const noexcept | - |
| 179 | { | - |
| 180 | return never executed: return QNoDebug(); QNoDebug();never executed: return QNoDebug(); | 0 |
| 181 | } | - |
| 182 | void QMessageLogger::info(const QLoggingCategory &cat, const char *msg, ...) const | - |
| 183 | { | - |
| 184 | if (!cat.isInfoEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 185 | return; never executed: return; | 0 |
| 186 | | - |
| 187 | QMessageLogContext ctxt; | - |
| 188 | ctxt.copy(context); | - |
| 189 | ctxt.category = cat.categoryName(); | - |
| 190 | | - |
| 191 | va_list ap; | - |
| 192 | __builtin_va_start(ap,msg); | - |
| 193 | const QString message = qt_message(QtInfoMsg, ctxt, msg, ap); | - |
| 194 | __builtin_va_end(ap); | - |
| 195 | | - |
| 196 | if (isFatal(QtInfoMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 197 | qt_message_fatal(QtInfoMsg, ctxt, message); never executed: qt_message_fatal(QtInfoMsg, ctxt, message); | 0 |
| 198 | } never executed: end of block | 0 |
| 199 | void QMessageLogger::info(QMessageLogger::CategoryFunction catFunc, | - |
| 200 | const char *msg, ...) const | - |
| 201 | { | - |
| 202 | const QLoggingCategory &cat = (*catFunc)(); | - |
| 203 | if (!cat.isInfoEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 204 | return; never executed: return; | 0 |
| 205 | | - |
| 206 | QMessageLogContext ctxt; | - |
| 207 | ctxt.copy(context); | - |
| 208 | ctxt.category = cat.categoryName(); | - |
| 209 | | - |
| 210 | va_list ap; | - |
| 211 | __builtin_va_start(ap,msg); | - |
| 212 | const QString message = qt_message(QtInfoMsg, ctxt, msg, ap); | - |
| 213 | __builtin_va_end(ap); | - |
| 214 | | - |
| 215 | if (isFatal(QtInfoMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 216 | qt_message_fatal(QtInfoMsg, ctxt, message); never executed: qt_message_fatal(QtInfoMsg, ctxt, message); | 0 |
| 217 | } never executed: end of block | 0 |
| 218 | QDebug QMessageLogger::info() const | - |
| 219 | { | - |
| 220 | QDebug dbg = QDebug(QtInfoMsg); | - |
| 221 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 222 | ctxt.copy(context); | - |
| 223 | returnexecuted 14 times by 1 test: return dbg; dbg;executed 14 times by 1 test: return dbg; | 14 |
| 224 | } | - |
| 225 | | - |
| 226 | | - |
| 227 | | - |
| 228 | | - |
| 229 | | - |
| 230 | | - |
| 231 | | - |
| 232 | QDebug QMessageLogger::info(const QLoggingCategory &cat) const | - |
| 233 | { | - |
| 234 | QDebug dbg = QDebug(QtInfoMsg); | - |
| 235 | if (!cat.isInfoEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 236 | dbg.stream->message_output = false; never executed: dbg.stream->message_output = false; | 0 |
| 237 | | - |
| 238 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 239 | ctxt.copy(context); | - |
| 240 | ctxt.category = cat.categoryName(); | - |
| 241 | | - |
| 242 | return never executed: return dbg; dbg;never executed: return dbg; | 0 |
| 243 | } | - |
| 244 | | - |
| 245 | | - |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | QDebug QMessageLogger::info(QMessageLogger::CategoryFunction catFunc) const | - |
| 252 | { | - |
| 253 | return never executed: return info((*catFunc)()); info((*catFunc)());never executed: return info((*catFunc)()); | 0 |
| 254 | } | - |
| 255 | void QMessageLogger::warning(const char *msg, ...) const | - |
| 256 | { | - |
| 257 | va_list ap; | - |
| 258 | __builtin_va_start(ap,msg); | - |
| 259 | const QString message = qt_message(QtWarningMsg, context, msg, ap); | - |
| 260 | __builtin_va_end(ap); | - |
| 261 | | - |
| 262 | if (isFatal(QtWarningMsg)| TRUE | never evaluated | | FALSE | evaluated 251374 times by 126 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDesktopWidget
- tst_QDialogButtonBox
- tst_QDir
- ...
|
) | 0-251374 |
| 263 | qt_message_fatal(QtWarningMsg, context, message); never executed: qt_message_fatal(QtWarningMsg, context, message); | 0 |
| 264 | }executed 251374 times by 126 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDesktopWidget
- tst_QDialogButtonBox
- tst_QDir
- ...
| 251374 |
| 265 | void QMessageLogger::warning(const QLoggingCategory &cat, const char *msg, ...) const | - |
| 266 | { | - |
| 267 | if (!cat.isWarningEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 268 | return; never executed: return; | 0 |
| 269 | | - |
| 270 | QMessageLogContext ctxt; | - |
| 271 | ctxt.copy(context); | - |
| 272 | ctxt.category = cat.categoryName(); | - |
| 273 | | - |
| 274 | va_list ap; | - |
| 275 | __builtin_va_start(ap,msg); | - |
| 276 | const QString message = qt_message(QtWarningMsg, ctxt, msg, ap); | - |
| 277 | __builtin_va_end(ap); | - |
| 278 | | - |
| 279 | if (isFatal(QtWarningMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 280 | qt_message_fatal(QtWarningMsg, ctxt, message); never executed: qt_message_fatal(QtWarningMsg, ctxt, message); | 0 |
| 281 | } never executed: end of block | 0 |
| 282 | void QMessageLogger::warning(QMessageLogger::CategoryFunction catFunc, | - |
| 283 | const char *msg, ...) const | - |
| 284 | { | - |
| 285 | const QLoggingCategory &cat = (*catFunc)(); | - |
| 286 | if (!cat.isWarningEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 287 | return; never executed: return; | 0 |
| 288 | | - |
| 289 | QMessageLogContext ctxt; | - |
| 290 | ctxt.copy(context); | - |
| 291 | ctxt.category = cat.categoryName(); | - |
| 292 | | - |
| 293 | va_list ap; | - |
| 294 | __builtin_va_start(ap,msg); | - |
| 295 | const QString message = qt_message(QtWarningMsg, ctxt, msg, ap); | - |
| 296 | __builtin_va_end(ap); | - |
| 297 | | - |
| 298 | if (isFatal(QtWarningMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 299 | qt_message_fatal(QtWarningMsg, ctxt, message); never executed: qt_message_fatal(QtWarningMsg, ctxt, message); | 0 |
| 300 | } never executed: end of block | 0 |
| 301 | | - |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | | - |
| 307 | | - |
| 308 | QDebug QMessageLogger::warning() const | - |
| 309 | { | - |
| 310 | QDebug dbg = QDebug(QtWarningMsg); | - |
| 311 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 312 | ctxt.copy(context); | - |
| 313 | returnexecuted 222 times by 19 tests: return dbg;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QDebug
- tst_QFile
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QLogging
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QProcess
- tst_QSqlQueryModel
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_qlogging - unknown status
dbg;executed 222 times by 19 tests: return dbg;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QDebug
- tst_QFile
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QLogging
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QProcess
- tst_QSqlQueryModel
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_qlogging - unknown status
| 222 |
| 314 | } | - |
| 315 | | - |
| 316 | | - |
| 317 | | - |
| 318 | | - |
| 319 | | - |
| 320 | | - |
| 321 | QDebug QMessageLogger::warning(const QLoggingCategory &cat) const | - |
| 322 | { | - |
| 323 | QDebug dbg = QDebug(QtWarningMsg); | - |
| 324 | if (!cat.isWarningEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 325 | dbg.stream->message_output = false; never executed: dbg.stream->message_output = false; | 0 |
| 326 | | - |
| 327 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 328 | ctxt.copy(context); | - |
| 329 | ctxt.category = cat.categoryName(); | - |
| 330 | | - |
| 331 | return never executed: return dbg; dbg;never executed: return dbg; | 0 |
| 332 | } | - |
| 333 | | - |
| 334 | | - |
| 335 | | - |
| 336 | | - |
| 337 | | - |
| 338 | | - |
| 339 | | - |
| 340 | QDebug QMessageLogger::warning(QMessageLogger::CategoryFunction catFunc) const | - |
| 341 | { | - |
| 342 | return never executed: return warning((*catFunc)()); warning((*catFunc)());never executed: return warning((*catFunc)()); | 0 |
| 343 | } | - |
| 344 | void QMessageLogger::critical(const char *msg, ...) const | - |
| 345 | { | - |
| 346 | va_list ap; | - |
| 347 | __builtin_va_start(ap,msg); | - |
| 348 | const QString message = qt_message(QtCriticalMsg, context, msg, ap); | - |
| 349 | __builtin_va_end(ap); | - |
| 350 | | - |
| 351 | if (isFatal(QtCriticalMsg)| TRUE | never evaluated | | FALSE | evaluated 21 times by 3 testsEvaluated by:- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
|
) | 0-21 |
| 352 | qt_message_fatal(QtCriticalMsg, context, message); never executed: qt_message_fatal(QtCriticalMsg, context, message); | 0 |
| 353 | }executed 21 times by 3 tests: end of blockExecuted by:- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
| 21 |
| 354 | void QMessageLogger::critical(const QLoggingCategory &cat, const char *msg, ...) const | - |
| 355 | { | - |
| 356 | if (!cat.isCriticalEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 357 | return; never executed: return; | 0 |
| 358 | | - |
| 359 | QMessageLogContext ctxt; | - |
| 360 | ctxt.copy(context); | - |
| 361 | ctxt.category = cat.categoryName(); | - |
| 362 | | - |
| 363 | va_list ap; | - |
| 364 | __builtin_va_start(ap,msg); | - |
| 365 | const QString message = qt_message(QtCriticalMsg, ctxt, msg, ap); | - |
| 366 | __builtin_va_end(ap); | - |
| 367 | | - |
| 368 | if (isFatal(QtCriticalMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 369 | qt_message_fatal(QtCriticalMsg, ctxt, message); never executed: qt_message_fatal(QtCriticalMsg, ctxt, message); | 0 |
| 370 | } never executed: end of block | 0 |
| 371 | void QMessageLogger::critical(QMessageLogger::CategoryFunction catFunc, | - |
| 372 | const char *msg, ...) const | - |
| 373 | { | - |
| 374 | const QLoggingCategory &cat = (*catFunc)(); | - |
| 375 | if (!cat.isCriticalEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 376 | return; never executed: return; | 0 |
| 377 | | - |
| 378 | QMessageLogContext ctxt; | - |
| 379 | ctxt.copy(context); | - |
| 380 | ctxt.category = cat.categoryName(); | - |
| 381 | | - |
| 382 | va_list ap; | - |
| 383 | __builtin_va_start(ap,msg); | - |
| 384 | const QString message = qt_message(QtCriticalMsg, ctxt, msg, ap); | - |
| 385 | __builtin_va_end(ap); | - |
| 386 | | - |
| 387 | if (isFatal(QtCriticalMsg)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 388 | qt_message_fatal(QtCriticalMsg, ctxt, message); never executed: qt_message_fatal(QtCriticalMsg, ctxt, message); | 0 |
| 389 | } never executed: end of block | 0 |
| 390 | | - |
| 391 | | - |
| 392 | | - |
| 393 | | - |
| 394 | | - |
| 395 | | - |
| 396 | | - |
| 397 | QDebug QMessageLogger::critical() const | - |
| 398 | { | - |
| 399 | QDebug dbg = QDebug(QtCriticalMsg); | - |
| 400 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 401 | ctxt.copy(context); | - |
| 402 | returnexecuted 18 times by 2 tests: return dbg; dbg;executed 18 times by 2 tests: return dbg; | 18 |
| 403 | } | - |
| 404 | | - |
| 405 | | - |
| 406 | | - |
| 407 | | - |
| 408 | | - |
| 409 | | - |
| 410 | | - |
| 411 | QDebug QMessageLogger::critical(const QLoggingCategory &cat) const | - |
| 412 | { | - |
| 413 | QDebug dbg = QDebug(QtCriticalMsg); | - |
| 414 | if (!cat.isCriticalEnabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 415 | dbg.stream->message_output = false; never executed: dbg.stream->message_output = false; | 0 |
| 416 | | - |
| 417 | QMessageLogContext &ctxt = dbg.stream->context; | - |
| 418 | ctxt.copy(context); | - |
| 419 | ctxt.category = cat.categoryName(); | - |
| 420 | | - |
| 421 | return never executed: return dbg; dbg;never executed: return dbg; | 0 |
| 422 | } | - |
| 423 | | - |
| 424 | | - |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | | - |
| 429 | | - |
| 430 | QDebug QMessageLogger::critical(QMessageLogger::CategoryFunction catFunc) const | - |
| 431 | { | - |
| 432 | return never executed: return critical((*catFunc)()); critical((*catFunc)());never executed: return critical((*catFunc)()); | 0 |
| 433 | } | - |
| 434 | void QMessageLogger::fatal(const char *msg, ...) const noexcept | - |
| 435 | { | - |
| 436 | QString message; | - |
| 437 | | - |
| 438 | va_list ap; | - |
| 439 | __builtin_va_start(ap,msg); | - |
| 440 | do { message = qt_message(QtFatalMsg, context, msg, ap); } while (0); | - |
| 441 | __builtin_va_end(ap); | - |
| 442 | | - |
| 443 | qt_message_fatal(QtFatalMsg, context, message); | - |
| 444 | } never executed: end of block | 0 |
| 445 | | - |
| 446 | | - |
| 447 | | - |
| 448 | | - |
| 449 | __attribute__((visibility("default"))) QByteArray qCleanupFuncinfo(QByteArray info) | - |
| 450 | { | - |
| 451 | | - |
| 452 | | - |
| 453 | | - |
| 454 | | - |
| 455 | if (info.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 161 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 0-161 |
| 456 | return never executed: return info; info;never executed: return info; | 0 |
| 457 | | - |
| 458 | int pos; | - |
| 459 | | - |
| 460 | | - |
| 461 | | - |
| 462 | pos = info.size() - 1; | - |
| 463 | if (info.endsWith(']')| TRUE | evaluated 23 times by 1 test | | FALSE | evaluated 138 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
&& !(info.startsWith('+')| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 22 times by 1 test |
|| info.startsWith('-')| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 20 times by 1 test |
)) { | 1-138 |
| 464 | while (--| TRUE | evaluated 3336 times by 1 test | | FALSE | evaluated 20 times by 1 test |
pos| TRUE | evaluated 3336 times by 1 test | | FALSE | evaluated 20 times by 1 test |
) { | 20-3336 |
| 465 | if (info.at(pos) == '['| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 3316 times by 1 test |
) | 20-3316 |
| 466 | info.truncate(pos);executed 20 times by 1 test: info.truncate(pos); | 20 |
| 467 | }executed 3336 times by 1 test: end of block | 3336 |
| 468 | }executed 20 times by 1 test: end of block | 20 |
| 469 | | - |
| 470 | | - |
| 471 | static const char operator_call[] = "operator()"; | - |
| 472 | static const char operator_lessThan[] = "operator<"; | - |
| 473 | static const char operator_greaterThan[] = "operator>"; | - |
| 474 | static const char operator_lessThanEqual[] = "operator<="; | - |
| 475 | static const char operator_greaterThanEqual[] = "operator>="; | - |
| 476 | | - |
| 477 | | - |
| 478 | info.replace("operator ", "operator"); | - |
| 479 | | - |
| 480 | | - |
| 481 | for(;;) { | - |
| 482 | int parencount = 0; | - |
| 483 | pos = info.lastIndexOf(')'); | - |
| 484 | if (pos == -1| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 168 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { | 5-168 |
| 485 | | - |
| 486 | returnexecuted 5 times by 1 test: return info; info;executed 5 times by 1 test: return info; | 5 |
| 487 | } | - |
| 488 | | - |
| 489 | | - |
| 490 | --pos; | - |
| 491 | ++parencount; | - |
| 492 | while (pos| TRUE | evaluated 1276 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | never evaluated |
&& parencount| TRUE | evaluated 1108 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 168 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { | 0-1276 |
| 493 | if (info.at(pos) == ')'| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 1096 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 12-1096 |
| 494 | ++executed 12 times by 1 test: ++parencount; parencount;executed 12 times by 1 test: ++parencount; | 12 |
| 495 | else if (info.at(pos) == '('| TRUE | evaluated 180 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 916 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 180-916 |
| 496 | --executed 180 times by 2 tests: --parencount;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
parencount;executed 180 times by 2 tests: --parencount;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 180 |
| 497 | --pos; | - |
| 498 | }executed 1108 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 1108 |
| 499 | if (parencount != 0| TRUE | never evaluated | | FALSE | evaluated 168 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 0-168 |
| 500 | return never executed: return info; info;never executed: return info; | 0 |
| 501 | | - |
| 502 | info.truncate(++pos); | - |
| 503 | | - |
| 504 | if (info.at(pos - 1) == ')'| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 154 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { | 14-154 |
| 505 | if (info.indexOf(operator_call) == pos - (int)strlen(operator_call)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 12 times by 1 test |
) | 2-12 |
| 506 | break;executed 2 times by 1 test: break; | 2 |
| 507 | | - |
| 508 | | - |
| 509 | | - |
| 510 | | - |
| 511 | info.remove(0, info.indexOf('(')); | - |
| 512 | info.chop(1); | - |
| 513 | continue;executed 12 times by 1 test: continue; | 12 |
| 514 | } else { | - |
| 515 | break;executed 154 times by 2 tests: break;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 154 |
| 516 | } | - |
| 517 | } | - |
| 518 | | - |
| 519 | | - |
| 520 | int parencount = 0; | - |
| 521 | int templatecount = 0; | - |
| 522 | --pos; | - |
| 523 | | - |
| 524 | | - |
| 525 | if (pos > -1| TRUE | evaluated 156 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | never evaluated |
) { | 0-156 |
| 526 | switch (info.at(pos)) { | - |
| 527 | caseexecuted 2 times by 1 test: case ')': ')':executed 2 times by 1 test: case ')': | 2 |
| 528 | if (info.indexOf(operator_call) == pos - (int)strlen(operator_call) + 1| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 529 | pos -= 2;executed 2 times by 1 test: pos -= 2; | 2 |
| 530 | break;executed 2 times by 1 test: break; | 2 |
| 531 | caseexecuted 2 times by 1 test: case '<': '<':executed 2 times by 1 test: case '<': | 2 |
| 532 | if (info.indexOf(operator_lessThan) == pos - (int)strlen(operator_lessThan) + 1| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 533 | --executed 2 times by 1 test: --pos; pos;executed 2 times by 1 test: --pos; | 2 |
| 534 | break;executed 2 times by 1 test: break; | 2 |
| 535 | caseexecuted 8 times by 1 test: case '>': '>':executed 8 times by 1 test: case '>': | 8 |
| 536 | if (info.indexOf(operator_greaterThan) == pos - (int)strlen(operator_greaterThan) + 1| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) | 2-6 |
| 537 | --executed 2 times by 1 test: --pos; pos;executed 2 times by 1 test: --pos; | 2 |
| 538 | break;executed 8 times by 1 test: break; | 8 |
| 539 | caseexecuted 3 times by 1 test: case '=': '=':executed 3 times by 1 test: case '=': { | 3 |
| 540 | int operatorLength = (int)strlen(operator_lessThanEqual); | - |
| 541 | if (info.indexOf(operator_lessThanEqual) == pos - operatorLength + 1| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 1-2 |
| 542 | pos -= 2;executed 1 time by 1 test: pos -= 2; | 1 |
| 543 | else if (info.indexOf(operator_greaterThanEqual) == pos - operatorLength + 1| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1 |
| 544 | pos -= 2;executed 1 time by 1 test: pos -= 2; | 1 |
| 545 | break;executed 3 times by 1 test: break; | 3 |
| 546 | } | - |
| 547 | defaultexecuted 141 times by 2 tests: default:Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
:executed 141 times by 2 tests: default:Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 141 |
| 548 | break;executed 141 times by 2 tests: break;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 141 |
| 549 | } | - |
| 550 | } | - |
| 551 | | - |
| 552 | while (pos > -1| TRUE | evaluated 5144 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { | 13-5144 |
| 553 | if (parencount < 0| TRUE | never evaluated | | FALSE | evaluated 5144 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
|| templatecount < 0| TRUE | never evaluated | | FALSE | evaluated 5144 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 0-5144 |
| 554 | return never executed: return info; info;never executed: return info; | 0 |
| 555 | | - |
| 556 | char c = info.at(pos); | - |
| 557 | if (c == ')'| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 5143 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 1-5143 |
| 558 | ++executed 1 time by 1 test: ++parencount; parencount;executed 1 time by 1 test: ++parencount; | 1 |
| 559 | else if (c == '('| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 5142 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 1-5142 |
| 560 | --executed 1 time by 1 test: --parencount; parencount;executed 1 time by 1 test: --parencount; | 1 |
| 561 | else if (c == '>'| TRUE | evaluated 82 times by 1 test | | FALSE | evaluated 5060 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 82-5060 |
| 562 | ++executed 82 times by 1 test: ++templatecount; templatecount;executed 82 times by 1 test: ++templatecount; | 82 |
| 563 | else if (c == '<'| TRUE | evaluated 82 times by 1 test | | FALSE | evaluated 4978 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 82-4978 |
| 564 | --executed 82 times by 1 test: --templatecount; templatecount;executed 82 times by 1 test: --templatecount; | 82 |
| 565 | else if (c == ' '| TRUE | evaluated 293 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 4685 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
&& templatecount == 0| TRUE | evaluated 143 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 150 times by 1 test |
&& parencount == 0| TRUE | evaluated 143 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | never evaluated |
) | 0-4685 |
| 566 | break;executed 143 times by 2 tests: break;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 143 |
| 567 | | - |
| 568 | --pos; | - |
| 569 | }executed 5001 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 5001 |
| 570 | info = info.mid(pos + 1); | - |
| 571 | | - |
| 572 | | - |
| 573 | while ((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 157 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
info.at(0) == '*')| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 157 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
| 1-157 |
| 574 | || (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 156 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
info.at(0) == '&')| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 156 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 1-156 |
| 575 | info = info.mid(1);executed 2 times by 1 test: info = info.mid(1); | 2 |
| 576 | | - |
| 577 | | - |
| 578 | | - |
| 579 | while ((| TRUE | evaluated 27 times by 1 test | | FALSE | evaluated 153 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
pos = info.lastIndexOf('>')) != -1| TRUE | evaluated 27 times by 1 test | | FALSE | evaluated 153 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { | 27-153 |
| 580 | if (!info.contains('<')| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 24 times by 1 test |
) | 3-24 |
| 581 | break;executed 3 times by 1 test: break; | 3 |
| 582 | | - |
| 583 | | - |
| 584 | int end = pos; | - |
| 585 | templatecount = 1; | - |
| 586 | --pos; | - |
| 587 | while (pos| TRUE | evaluated 1654 times by 1 test | | FALSE | never evaluated |
&& templatecount| TRUE | evaluated 1630 times by 1 test | | FALSE | evaluated 24 times by 1 test |
) { | 0-1654 |
| 588 | char c = info.at(pos); | - |
| 589 | if (c == '>'| TRUE | evaluated 58 times by 1 test | | FALSE | evaluated 1572 times by 1 test |
) | 58-1572 |
| 590 | ++executed 58 times by 1 test: ++templatecount; templatecount;executed 58 times by 1 test: ++templatecount; | 58 |
| 591 | else if (c == '<'| TRUE | evaluated 82 times by 1 test | | FALSE | evaluated 1490 times by 1 test |
) | 82-1490 |
| 592 | --executed 82 times by 1 test: --templatecount; templatecount;executed 82 times by 1 test: --templatecount; | 82 |
| 593 | --pos; | - |
| 594 | }executed 1630 times by 1 test: end of block | 1630 |
| 595 | ++pos; | - |
| 596 | info.remove(pos, end - pos + 1); | - |
| 597 | }executed 24 times by 1 test: end of block | 24 |
| 598 | | - |
| 599 | returnexecuted 156 times by 2 tests: return info;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
info;executed 156 times by 2 tests: return info;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 156 |
| 600 | } | - |
| 601 | | - |
| 602 | | - |
| 603 | static const char categoryTokenC[] = "%{category}"; | - |
| 604 | static const char typeTokenC[] = "%{type}"; | - |
| 605 | static const char messageTokenC[] = "%{message}"; | - |
| 606 | static const char fileTokenC[] = "%{file}"; | - |
| 607 | static const char lineTokenC[] = "%{line}"; | - |
| 608 | static const char functionTokenC[] = "%{function}"; | - |
| 609 | static const char pidTokenC[] = "%{pid}"; | - |
| 610 | static const char appnameTokenC[] = "%{appname}"; | - |
| 611 | static const char threadidTokenC[] = "%{threadid}"; | - |
| 612 | static const char qthreadptrTokenC[] = "%{qthreadptr}"; | - |
| 613 | static const char timeTokenC[] = "%{time"; | - |
| 614 | static const char backtraceTokenC[] = "%{backtrace"; | - |
| 615 | static const char ifCategoryTokenC[] = "%{if-category}"; | - |
| 616 | static const char ifDebugTokenC[] = "%{if-debug}"; | - |
| 617 | static const char ifInfoTokenC[] = "%{if-info}"; | - |
| 618 | static const char ifWarningTokenC[] = "%{if-warning}"; | - |
| 619 | static const char ifCriticalTokenC[] = "%{if-critical}"; | - |
| 620 | static const char ifFatalTokenC[] = "%{if-fatal}"; | - |
| 621 | static const char endifTokenC[] = "%{endif}"; | - |
| 622 | static const char emptyTokenC[] = ""; | - |
| 623 | | - |
| 624 | static const char defaultPattern[] = "%{if-category}%{category}: %{endif}%{message}"; | - |
| 625 | | - |
| 626 | | - |
| 627 | struct QMessagePattern { | - |
| 628 | QMessagePattern(); | - |
| 629 | ~QMessagePattern(); | - |
| 630 | | - |
| 631 | void setPattern(const QString &pattern); | - |
| 632 | | - |
| 633 | | - |
| 634 | const char **literals; | - |
| 635 | const char **tokens; | - |
| 636 | QList<QString> timeArgs; | - |
| 637 | | - |
| 638 | QElapsedTimer timer; | - |
| 639 | | - |
| 640 | | - |
| 641 | struct BacktraceParams { | - |
| 642 | QString backtraceSeparator; | - |
| 643 | int backtraceDepth; | - |
| 644 | }; | - |
| 645 | QVector<BacktraceParams> backtraceArgs; | - |
| 646 | | - |
| 647 | | - |
| 648 | bool fromEnvironment; | - |
| 649 | static QBasicMutex mutex; | - |
| 650 | }; | - |
| 651 | | - |
| 652 | template<> class QTypeInfo<QMessagePattern::BacktraceParams > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QMessagePattern::BacktraceParams)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QMessagePattern::BacktraceParams >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QMessagePattern::BacktraceParams) }; static inline const char *name() { return "QMessagePattern::BacktraceParams"; } }; | - |
| 653 | | - |
| 654 | | - |
| 655 | QBasicMutex QMessagePattern::mutex; | - |
| 656 | | - |
| 657 | QMessagePattern::QMessagePattern() | - |
| 658 | : literals(0) | - |
| 659 | , tokens(0) | - |
| 660 | , fromEnvironment(false) | - |
| 661 | { | - |
| 662 | | - |
| 663 | timer.start(); | - |
| 664 | | - |
| 665 | const QString envPattern = QString::fromLocal8Bit(qgetenv("QT_MESSAGE_PATTERN")); | - |
| 666 | if (envPattern.isEmpty()| TRUE | evaluated 435 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 13 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 13-435 |
| 667 | setPattern(QLatin1String(defaultPattern)); | - |
| 668 | }executed 435 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
else { | 435 |
| 669 | setPattern(envPattern); | - |
| 670 | fromEnvironment = true; | - |
| 671 | }executed 13 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 13 |
| 672 | } | - |
| 673 | | - |
| 674 | QMessagePattern::~QMessagePattern() | - |
| 675 | { | - |
| 676 | for (int i = 0; literals[i]| TRUE | evaluated 387 times by 108 testsEvaluated by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
| | FALSE | evaluated 380 times by 108 testsEvaluated by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
|
; ++i) | 380-387 |
| 677 | delete [] literals[i];executed 387 times by 108 tests: delete [] literals[i];Executed by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
| 387 |
| 678 | delete [] literals; | - |
| 679 | literals = 0; | - |
| 680 | delete [] tokens; | - |
| 681 | tokens = 0; | - |
| 682 | }executed 380 times by 108 tests: end of blockExecuted by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
| 380 |
| 683 | | - |
| 684 | void QMessagePattern::setPattern(const QString &pattern) | - |
| 685 | { | - |
| 686 | if (literals| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 448 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 9-448 |
| 687 | for (int i = 0; literals[i]| TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
; ++i) | 9-48 |
| 688 | delete [] literals[i];executed 48 times by 2 tests: delete [] literals[i];Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 48 |
| 689 | delete [] literals; | - |
| 690 | }executed 9 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 9 |
| 691 | delete [] tokens; | - |
| 692 | timeArgs.clear(); | - |
| 693 | | - |
| 694 | backtraceArgs.clear(); | - |
| 695 | | - |
| 696 | | - |
| 697 | | - |
| 698 | QList<QString> lexemes; | - |
| 699 | QString lexeme; | - |
| 700 | bool inPlaceholder = false; | - |
| 701 | for (int i = 0; i < pattern.size()| TRUE | evaluated 21226 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 457 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
; ++i) { | 457-21226 |
| 702 | const QChar c = pattern.at(i); | - |
| 703 | if ((| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 19346 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
c == QLatin1Char('%'))| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 19346 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
| 1880-19346 |
| 704 | && !inPlaceholder| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | never evaluated |
) { | 0-1880 |
| 705 | if ((| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | never evaluated |
i + 1 < pattern.size())| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | never evaluated |
| 0-1880 |
| 706 | && pattern.at(i + 1) == QLatin1Char('{')| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | never evaluated |
) { | 0-1880 |
| 707 | | - |
| 708 | if (!lexeme.isEmpty()| TRUE | evaluated 528 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 1352 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 528-1352 |
| 709 | lexemes.append(lexeme); | - |
| 710 | lexeme.clear(); | - |
| 711 | }executed 528 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 528 |
| 712 | inPlaceholder = true; | - |
| 713 | }executed 1880 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 1880 |
| 714 | }executed 1880 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 1880 |
| 715 | | - |
| 716 | lexeme.append(c); | - |
| 717 | | - |
| 718 | if ((c == QLatin1Char('}')| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 19346 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
&& inPlaceholder| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | never evaluated |
)) { | 0-19346 |
| 719 | | - |
| 720 | lexemes.append(lexeme); | - |
| 721 | lexeme.clear(); | - |
| 722 | inPlaceholder = false; | - |
| 723 | }executed 1880 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 1880 |
| 724 | }executed 21226 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 21226 |
| 725 | if (!lexeme.isEmpty()| TRUE | evaluated 13 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 444 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 13-444 |
| 726 | lexemes.append(lexeme);executed 13 times by 1 test: lexemes.append(lexeme);Executed by:- tst_qlogging - unknown status
| 13 |
| 727 | | - |
| 728 | | - |
| 729 | QVarLengthArray<const char*> literalsVar; | - |
| 730 | tokens = new const char*[lexemes.size() + 1]; | - |
| 731 | tokens[lexemes.size()] = 0; | - |
| 732 | | - |
| 733 | bool nestedIfError = false; | - |
| 734 | bool inIf = false; | - |
| 735 | QString error; | - |
| 736 | | - |
| 737 | for (int i = 0; i < lexemes.size()| TRUE | evaluated 2421 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 457 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
; ++i) { | 457-2421 |
| 738 | const QString lexeme = lexemes.at(i); | - |
| 739 | if (lexeme.startsWith(QLatin1String("%{"))| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 541 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
| 541-1880 |
| 740 | && lexeme.endsWith(QLatin1Char('}'))| TRUE | evaluated 1880 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | never evaluated |
) { | 0-1880 |
| 741 | | - |
| 742 | if (lexeme == QLatin1String(typeTokenC)| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 1877 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 3-1877 |
| 743 | tokens[i] = typeTokenC; | - |
| 744 | }executed 3 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (lexeme == QLatin1String(categoryTokenC)| TRUE | evaluated 442 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 1435 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 3-1435 |
| 745 | tokens[i] = categoryTokenC;executed 442 times by 106 tests: tokens[i] = categoryTokenC;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 442 |
| 746 | else if (lexeme == QLatin1String(messageTokenC)| TRUE | evaluated 455 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 980 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 455-980 |
| 747 | tokens[i] = messageTokenC;executed 455 times by 106 tests: tokens[i] = messageTokenC;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 455 |
| 748 | else if (lexeme == QLatin1String(fileTokenC)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 979 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-979 |
| 749 | tokens[i] = fileTokenC;executed 1 time by 1 test: tokens[i] = fileTokenC; | 1 |
| 750 | else if (lexeme == QLatin1String(lineTokenC)| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 977 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 2-977 |
| 751 | tokens[i] = lineTokenC;executed 2 times by 2 tests: tokens[i] = lineTokenC;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 2 |
| 752 | else if (lexeme == QLatin1String(functionTokenC)| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 975 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 2-975 |
| 753 | tokens[i] = functionTokenC;executed 2 times by 2 tests: tokens[i] = functionTokenC;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 2 |
| 754 | else if (lexeme == QLatin1String(pidTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 974 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-974 |
| 755 | tokens[i] = pidTokenC;executed 1 time by 1 test: tokens[i] = pidTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 756 | else if (lexeme == QLatin1String(appnameTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 973 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-973 |
| 757 | tokens[i] = appnameTokenC;executed 1 time by 1 test: tokens[i] = appnameTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 758 | else if (lexeme == QLatin1String(threadidTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 972 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-972 |
| 759 | tokens[i] = threadidTokenC;executed 1 time by 1 test: tokens[i] = threadidTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 760 | else if (lexeme == QLatin1String(qthreadptrTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 971 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-971 |
| 761 | tokens[i] = qthreadptrTokenC;executed 1 time by 1 test: tokens[i] = qthreadptrTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 762 | else if (lexeme.startsWith(QLatin1String(timeTokenC))| TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 965 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 6-965 |
| 763 | tokens[i] = timeTokenC; | - |
| 764 | int spaceIdx = lexeme.indexOf(QChar::fromLatin1(' ')); | - |
| 765 | if (spaceIdx > 0| TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) | 0-6 |
| 766 | timeArgs.append(lexeme.mid(spaceIdx + 1, lexeme.length() - spaceIdx - 2));executed 6 times by 1 test: timeArgs.append(lexeme.mid(spaceIdx + 1, lexeme.length() - spaceIdx - 2));Executed by:- tst_qlogging - unknown status
| 6 |
| 767 | else | - |
| 768 | timeArgs.append(QString()); never executed: timeArgs.append(QString()); | 0 |
| 769 | } else if (lexeme.startsWith(QLatin1String(backtraceTokenC))| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 963 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 2-963 |
| 770 | | - |
| 771 | tokens[i] = backtraceTokenC; | - |
| 772 | QString backtraceSeparator = ([]() -> QString { enum { Size = sizeof(u"" "|")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "|" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}()); | 2 |
| 773 | int backtraceDepth = 5; | - |
| 774 | QRegularExpression depthRx(([]() -> QString { enum { Size = sizeof(u"" " depth=(?|\"([^\"]*)\"|([^ }]*))")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" " depth=(?|\"([^\"]*)\"|([^ }]*))" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}())); | 2 |
| 775 | QRegularExpression separatorRx(([]() -> QString { enum { Size = sizeof(u"" " separator=(?|\"([^\"]*)\"|([^ }]*))")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" " separator=(?|\"([^\"]*)\"|([^ }]*))" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}())); | 2 |
| 776 | QRegularExpressionMatch m = depthRx.match(lexeme); | - |
| 777 | if (m.hasMatch()| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 1 |
| 778 | int depth = m.capturedRef(1).toInt(); | - |
| 779 | if (depth <= 0| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 0-1 |
| 780 | error += QLatin1String("QT_MESSAGE_PATTERN: %{backtrace} depth must be a number greater than 0\n"); never executed: error += QLatin1String("QT_MESSAGE_PATTERN: %{backtrace} depth must be a number greater than 0\n"); | 0 |
| 781 | else | - |
| 782 | backtraceDepth = depth;executed 1 time by 1 test: backtraceDepth = depth;Executed by:- tst_qlogging - unknown status
| 1 |
| 783 | } | - |
| 784 | m = separatorRx.match(lexeme); | - |
| 785 | if (m.hasMatch()| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 1 |
| 786 | backtraceSeparator = m.captured(1);executed 1 time by 1 test: backtraceSeparator = m.captured(1);Executed by:- tst_qlogging - unknown status
| 1 |
| 787 | BacktraceParams backtraceParams; | - |
| 788 | backtraceParams.backtraceDepth = backtraceDepth; | - |
| 789 | backtraceParams.backtraceSeparator = backtraceSeparator; | - |
| 790 | backtraceArgs.append(backtraceParams); | - |
| 791 | | - |
| 792 | | - |
| 793 | | - |
| 794 | | - |
| 795 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 2 |
| 796 | else if (lexeme == QLatin1String(ifCategoryTokenC)| TRUE | evaluated 442 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 521 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { if (inIf| TRUE | never evaluated | | FALSE | evaluated 442 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) nestedIfError = true;never executed: nestedIfError = true; tokens[i] = ifCategoryTokenC; inIf = true; }executed 442 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 0-521 |
| 797 | else if (lexeme == QLatin1String(ifDebugTokenC)| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 512 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { if (inIf| TRUE | never evaluated | | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) nestedIfError = true;never executed: nestedIfError = true; tokens[i] = ifDebugTokenC; inIf = true; }executed 9 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 0-512 |
| 798 | else if (lexeme == QLatin1String(ifInfoTokenC)| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 506 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { if (inIf| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) nestedIfError = true;never executed: nestedIfError = true; tokens[i] = ifInfoTokenC; inIf = true; }executed 6 times by 1 test: end of block | 0-506 |
| 799 | else if (lexeme == QLatin1String(ifWarningTokenC)| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 496 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { if (inIf| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) nestedIfError = true;executed 1 time by 1 test: nestedIfError = true;Executed by:- tst_qlogging - unknown status
tokens[i] = ifWarningTokenC; inIf = true; }executed 10 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 1-496 |
| 800 | else if (lexeme == QLatin1String(ifCriticalTokenC)| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 489 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { if (inIf| TRUE | never evaluated | | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) nestedIfError = true;never executed: nestedIfError = true; tokens[i] = ifCriticalTokenC; inIf = true; }executed 7 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 0-489 |
| 801 | else if (lexeme == QLatin1String(ifFatalTokenC)| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 482 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { if (inIf| TRUE | never evaluated | | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
|
) nestedIfError = true;never executed: nestedIfError = true; tokens[i] = ifFatalTokenC; inIf = true; }executed 7 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 0-482 |
| 802 | | - |
| 803 | else if (lexeme == QLatin1String(endifTokenC)| TRUE | evaluated 480 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 2-480 |
| 804 | tokens[i] = endifTokenC; | - |
| 805 | if (!inIf| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 479 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
&& !nestedIfError| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) | 0-479 |
| 806 | error += QLatin1String("QT_MESSAGE_PATTERN: %{endif} without an %{if-*}\n");executed 1 time by 1 test: error += QLatin1String("QT_MESSAGE_PATTERN: %{endif} without an %{if-*}\n");Executed by:- tst_qlogging - unknown status
| 1 |
| 807 | inIf = false; | - |
| 808 | }executed 480 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
else { | 480 |
| 809 | tokens[i] = emptyTokenC; | - |
| 810 | error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: Unknown placeholder %1\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: Unknown placeholder %1\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}()) | 2 |
| 811 | .arg(lexeme); | - |
| 812 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 2 |
| 813 | } else { | - |
| 814 | char *literal = new char[lexeme.size() + 1]; | - |
| 815 | strncpy(literal, lexeme.toLatin1().constData(), lexeme.size()); | - |
| 816 | literal[lexeme.size()] = '\0'; | - |
| 817 | literalsVar.append(literal); | - |
| 818 | tokens[i] = literal; | - |
| 819 | }executed 541 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 541 |
| 820 | } | - |
| 821 | if (nestedIfError| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 456 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-456 |
| 822 | error += QLatin1String("QT_MESSAGE_PATTERN: %{if-*} cannot be nested\n");executed 1 time by 1 test: error += QLatin1String("QT_MESSAGE_PATTERN: %{if-*} cannot be nested\n");Executed by:- tst_qlogging - unknown status
| 1 |
| 823 | else if (inIf| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 455 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 1-455 |
| 824 | error += QLatin1String("QT_MESSAGE_PATTERN: missing %{endif}\n");executed 1 time by 1 test: error += QLatin1String("QT_MESSAGE_PATTERN: missing %{endif}\n");Executed by:- tst_qlogging - unknown status
| 1 |
| 825 | if (!error.isEmpty()| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 454 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 3-454 |
| 826 | { | - |
| 827 | fprintf(stderr, "%s", error.toLocal8Bit().constData()); | - |
| 828 | fflush(stderr); | - |
| 829 | } | - |
| 830 | }executed 3 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 3 |
| 831 | literals = new const char*[literalsVar.size() + 1]; | - |
| 832 | literals[literalsVar.size()] = 0; | - |
| 833 | memcpy(literals, literalsVar.constData(), literalsVar.size() * sizeof(const char*)); | - |
| 834 | }executed 457 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 457 |
| 835 | static QStringList backtraceFramesForLogMessage(int frameCount) | - |
| 836 | { | - |
| 837 | QStringList result; | - |
| 838 | if (frameCount == 0| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 0-16 |
| 839 | return never executed: return result; result;never executed: return result; | 0 |
| 840 | | - |
| 841 | | - |
| 842 | | - |
| 843 | | - |
| 844 | | - |
| 845 | | - |
| 846 | static QRegularExpression rx(([]() -> QString { enum { Size = sizeof(u"" "^(?:[^(]*/)?([^(/]+)\\(([^+]*)(?:[\\+[a-f0-9x]*)?\\) \\[[a-f0-9x]*\\]$")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "^(?:[^(]*/)?([^(/]+)\\(([^+]*)(?:[\\+[a-f0-9x]*)?\\) \\[[a-f0-9x]*\\]$" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()), | - |
| 847 | QRegularExpression::OptimizeOnFirstUsageOption); | - |
| 848 | | - |
| 849 | QVarLengthArray<void*, 32> buffer(7 + frameCount); | - |
| 850 | int n = backtrace(buffer.data(), buffer.size()); | - |
| 851 | if (n > 0| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) { | 0-16 |
| 852 | int numberPrinted = 0; | - |
| 853 | for (int i = 0; i < n| TRUE | evaluated 156 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
&& numberPrinted < frameCount| TRUE | evaluated 156 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
; ++i) { | 0-156 |
| 854 | QScopedPointer<char*, QScopedPointerPodDeleter> strings(backtrace_symbols(buffer.data() + i, 1)); | - |
| 855 | QString trace = QString::fromLatin1(strings.data()[0]); | - |
| 856 | QRegularExpressionMatch m = rx.match(trace); | - |
| 857 | if (m.hasMatch()| TRUE | evaluated 156 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) { | 0-156 |
| 858 | QString library = m.captured(1); | - |
| 859 | QString function = m.captured(2); | - |
| 860 | | - |
| 861 | | - |
| 862 | if (!numberPrinted| TRUE | evaluated 128 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
&& library.contains(QLatin1String("Qt5Core"))| TRUE | evaluated 112 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
| 16-128 |
| 863 | && (function.isEmpty()| TRUE | evaluated 76 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 36 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
|| function.contains(QLatin1String("Message"), Qt::CaseInsensitive)| TRUE | evaluated 32 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
| 4-76 |
| 864 | || function.contains(QLatin1String("QDebug"))| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
)) { | 0-4 |
| 865 | continue;executed 112 times by 1 test: continue;Executed by:- tst_qlogging - unknown status
| 112 |
| 866 | } | - |
| 867 | | - |
| 868 | if (function.startsWith(QLatin1String("_Z"))| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 36 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 8-36 |
| 869 | QScopedPointer<char, QScopedPointerPodDeleter> demangled( | - |
| 870 | abi::__cxa_demangle(function.toUtf8(), 0, 0, 0)); | - |
| 871 | if (demangled| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) | 0-8 |
| 872 | function = QString::fromUtf8(qCleanupFuncinfo(demangled.data()));executed 8 times by 1 test: function = QString::fromUtf8(qCleanupFuncinfo(demangled.data()));Executed by:- tst_qlogging - unknown status
| 8 |
| 873 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 8 |
| 874 | | - |
| 875 | if (function.isEmpty()| TRUE | evaluated 10 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 34 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 10-34 |
| 876 | result.append(QLatin1Char('?') + library + QLatin1Char('?')); | - |
| 877 | }executed 10 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else { | 10 |
| 878 | result.append(function); | - |
| 879 | }executed 34 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 34 |
| 880 | } else { | - |
| 881 | if (numberPrinted == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 882 | | - |
| 883 | continue; never executed: continue; | 0 |
| 884 | } | - |
| 885 | result.append(([]() -> QString { enum { Size = sizeof(u"" "???")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "???" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }())); | 0 |
| 886 | } never executed: end of block | 0 |
| 887 | numberPrinted++; | - |
| 888 | }executed 44 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 44 |
| 889 | }executed 16 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 16 |
| 890 | returnexecuted 16 times by 1 test: return result;Executed by:- tst_qlogging - unknown status
result;executed 16 times by 1 test: return result;Executed by:- tst_qlogging - unknown status
| 16 |
| 891 | } | - |
| 892 | | - |
| 893 | static QString formatBacktraceForLogMessage(const QMessagePattern::BacktraceParams backtraceParams, | - |
| 894 | const char *function) | - |
| 895 | { | - |
| 896 | QString backtraceSeparator = backtraceParams.backtraceSeparator; | - |
| 897 | int backtraceDepth = backtraceParams.backtraceDepth; | - |
| 898 | | - |
| 899 | QStringList frames = backtraceFramesForLogMessage(backtraceDepth); | - |
| 900 | if (frames.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 0-16 |
| 901 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 902 | | - |
| 903 | | - |
| 904 | if (function| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
&& frames.at(0).startsWith(QLatin1Char('?'))| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 0-16 |
| 905 | frames[0] = QString::fromUtf8(qCleanupFuncinfo(function)); never executed: frames[0] = QString::fromUtf8(qCleanupFuncinfo(function)); | 0 |
| 906 | | - |
| 907 | returnexecuted 16 times by 1 test: return frames.join(backtraceSeparator);Executed by:- tst_qlogging - unknown status
frames.join(backtraceSeparator);executed 16 times by 1 test: return frames.join(backtraceSeparator);Executed by:- tst_qlogging - unknown status
| 16 |
| 908 | } | - |
| 909 | namespace { namespace Q_QGS_qMessagePattern { typedef QMessagePattern Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 380 times by 108 testsEvaluated by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 380 times by 108 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
}executed 380 times by 108 tests: end of blockExecuted by:- tst_gestures - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- tst_qcolor - unknown status
- tst_qcolumnview - unknown status
- tst_qdatastream - unknown status
- tst_qdatetime - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdirmodel - unknown status
- tst_qdrag - unknown status
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 254330 times by 106 tests: return &holder.value;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
&holder.value;executed 254330 times by 106 tests: return &holder.value;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
} } } static QGlobalStatic<QMessagePattern, Q_QGS_qMessagePattern::innerFunction, Q_QGS_qMessagePattern::guard> qMessagePattern; | 0-254330 |
| 910 | QString qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &str) | - |
| 911 | { | - |
| 912 | QString message; | - |
| 913 | | - |
| 914 | QMutexLocker lock(&QMessagePattern::mutex); | - |
| 915 | | - |
| 916 | QMessagePattern *pattern = qMessagePattern(); | - |
| 917 | if (!pattern| TRUE | never evaluated | | FALSE | evaluated 254286 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 0-254286 |
| 918 | | - |
| 919 | message.append(str); | - |
| 920 | return never executed: return message; message;never executed: return message; | 0 |
| 921 | } | - |
| 922 | | - |
| 923 | bool skip = false; | - |
| 924 | | - |
| 925 | | - |
| 926 | int timeArgsIdx = 0; | - |
| 927 | | - |
| 928 | int backtraceArgsIdx = 0; | - |
| 929 | | - |
| 930 | | - |
| 931 | | - |
| 932 | | - |
| 933 | for (int i = 0; pattern->tokens[i] != 0| TRUE | evaluated 1271809 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 254286 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
; ++i) { | 254286-1271809 |
| 934 | const char *token = pattern->tokens[i]; | - |
| 935 | if (token == endifTokenC| TRUE | evaluated 254276 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 1017533 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 254276-1017533 |
| 936 | skip = false; | - |
| 937 | }executed 254276 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
else if (skip| TRUE | evaluated 508439 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 509094 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 254276-509094 |
| 938 | | - |
| 939 | | - |
| 940 | | - |
| 941 | if (token == timeTokenC| TRUE | evaluated 10 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 508429 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 10-508429 |
| 942 | timeArgsIdx++;executed 10 times by 1 test: timeArgsIdx++;Executed by:- tst_qlogging - unknown status
| 10 |
| 943 | | - |
| 944 | else if (token == backtraceTokenC| TRUE | never evaluated | | FALSE | evaluated 508429 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) | 0-508429 |
| 945 | backtraceArgsIdx++; never executed: backtraceArgsIdx++; | 0 |
| 946 | | - |
| 947 | | - |
| 948 | }executed 508439 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
else if (token == messageTokenC| TRUE | evaluated 254276 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 254818 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 254276-508439 |
| 949 | message.append(str); | - |
| 950 | }executed 254276 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
else if (token == categoryTokenC| TRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 254815 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 3-254815 |
| 951 | message.append(QLatin1String(context.category)); | - |
| 952 | }executed 3 times by 3 tests: end of blockExecuted by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
else if (token == typeTokenC| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 254801 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 3-254801 |
| 953 | switch (type) { | - |
| 954 | caseexecuted 6 times by 2 tests: case QtDebugMsg:Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
QtDebugMsg:executed 6 times by 2 tests: case QtDebugMsg:Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
message.append(QLatin1String("debug")); break;executed 6 times by 2 tests: break;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 6 |
| 955 | caseexecuted 2 times by 1 test: case QtInfoMsg:Executed by:- tst_qlogging - unknown status
QtInfoMsg:executed 2 times by 1 test: case QtInfoMsg:Executed by:- tst_qlogging - unknown status
message.append(QLatin1String("info")); break;executed 2 times by 1 test: break;Executed by:- tst_qlogging - unknown status
| 2 |
| 956 | caseexecuted 4 times by 1 test: case QtWarningMsg:Executed by:- tst_qlogging - unknown status
QtWarningMsg:executed 4 times by 1 test: case QtWarningMsg:Executed by:- tst_qlogging - unknown status
message.append(QLatin1String("warning")); break;executed 4 times by 1 test: break;Executed by:- tst_qlogging - unknown status
| 4 |
| 957 | caseexecuted 2 times by 1 test: case QtCriticalMsg:Executed by:- tst_qlogging - unknown status
QtCriticalMsg:executed 2 times by 1 test: case QtCriticalMsg:Executed by:- tst_qlogging - unknown status
message.append(QLatin1String("critical")); break;executed 2 times by 1 test: break;Executed by:- tst_qlogging - unknown status
| 2 |
| 958 | case never executed: case QtFatalMsg: QtFatalMsg:never executed: case QtFatalMsg: message.append(QLatin1String("fatal")); break;never executed: break; | 0 |
| 959 | } | - |
| 960 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (token == fileTokenC| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 254800 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 1-254800 |
| 961 | if (context.file| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 962 | message.append(QLatin1String(context.file));executed 1 time by 1 test: message.append(QLatin1String(context.file)); | 1 |
| 963 | else | - |
| 964 | message.append(QLatin1String("unknown")); never executed: message.append(QLatin1String("unknown")); | 0 |
| 965 | } else if (token == lineTokenC| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 254791 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 9-254791 |
| 966 | message.append(QString::number(context.line)); | - |
| 967 | }executed 9 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (token == functionTokenC| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 254782 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 9-254782 |
| 968 | if (context.function| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | never evaluated |
) | 0-9 |
| 969 | message.append(QString::fromLatin1(qCleanupFuncinfo(context.function)));executed 9 times by 2 tests: message.append(QString::fromLatin1(qCleanupFuncinfo(context.function)));Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 9 |
| 970 | else | - |
| 971 | message.append(QLatin1String("unknown")); never executed: message.append(QLatin1String("unknown")); | 0 |
| 972 | | - |
| 973 | } else if (token == pidTokenC| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 254774 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 8-254774 |
| 974 | message.append(QString::number(QCoreApplication::applicationPid())); | - |
| 975 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else if (token == appnameTokenC| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 254766 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 8-254766 |
| 976 | message.append(QCoreApplication::applicationName()); | - |
| 977 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else if (token == threadidTokenC| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 254758 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 8-254758 |
| 978 | | - |
| 979 | message.append(QString::number(qt_gettid())); | - |
| 980 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else if (token == qthreadptrTokenC| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 254750 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 8-254750 |
| 981 | message.append(QLatin1String("0x")); | - |
| 982 | message.append(QString::number(qlonglong(QThread::currentThread()->currentThread()), 16)); | - |
| 983 | | - |
| 984 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else if (token == backtraceTokenC| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 254734 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 8-254734 |
| 985 | QMessagePattern::BacktraceParams backtraceParams = pattern->backtraceArgs.at(backtraceArgsIdx); | - |
| 986 | backtraceArgsIdx++; | - |
| 987 | message.append(formatBacktraceForLogMessage(backtraceParams, context.function)); | - |
| 988 | | - |
| 989 | }executed 16 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else if (token == timeTokenC| TRUE | evaluated 38 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 254696 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
) { | 16-254696 |
| 990 | QString timeFormat = pattern->timeArgs.at(timeArgsIdx); | - |
| 991 | timeArgsIdx++; | - |
| 992 | if (timeFormat == QLatin1String("process")| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 30 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 8-30 |
| 993 | quint64 ms = pattern->timer.elapsed(); | - |
| 994 | message.append(QString::asprintf("%6d.%03d", uint(ms / 1000), uint(ms % 1000))); | - |
| 995 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
else if (timeFormat == QLatin1String("boot")| TRUE | never evaluated | | FALSE | evaluated 30 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 0-30 |
| 996 | | - |
| 997 | | - |
| 998 | QElapsedTimer now; | - |
| 999 | now.start(); | - |
| 1000 | uint ms = now.msecsSinceReference(); | - |
| 1001 | message.append(QString::asprintf("%6d.%03d", uint(ms / 1000), uint(ms % 1000))); | - |
| 1002 | } never executed: end of block else if (timeFormat.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 30 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) { | 0-30 |
| 1003 | message.append(QDateTime::currentDateTime().toString(Qt::ISODate)); | - |
| 1004 | } never executed: end of block else { | 0 |
| 1005 | message.append(QDateTime::currentDateTime().toString(timeFormat)); | - |
| 1006 | }executed 30 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 30 |
| 1007 | | - |
| 1008 | } else if (token == ifCategoryTokenC| TRUE | evaluated 254182 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 514 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { | 514-254182 |
| 1009 | if (!context.category| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 254177 times by 106 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
|| (| TRUE | evaluated 254174 times by 105 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
strcmp(context.category, "default") == 0)| TRUE | evaluated 254174 times by 105 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| | FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 3-254177 |
| 1010 | skip = true;executed 254179 times by 106 tests: skip = true;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 254179 |
| 1011 | | - |
| 1012 | | - |
| 1013 | | - |
| 1014 | }executed 254182 times by 106 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
else if (token == ifDebugTokenC| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 484 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { skip = type != QtDebugMsg; | 30-254182 |
| 1015 | }executed 30 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (token == ifInfoTokenC| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 478 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { skip = type != QtInfoMsg; | 6-478 |
| 1016 | }executed 6 times by 1 test: end of block else if (token == ifWarningTokenC| TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 444 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { skip = type != QtWarningMsg; | 6-444 |
| 1017 | }executed 34 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (token == ifCriticalTokenC| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 430 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { skip = type != QtCriticalMsg; | 14-430 |
| 1018 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (token == ifFatalTokenC| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 416 times by 3 testsEvaluated by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) { skip = type != QtFatalMsg; | 14-416 |
| 1019 | | - |
| 1020 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else { | 14 |
| 1021 | message.append(QLatin1String(token)); | - |
| 1022 | }executed 416 times by 3 tests: end of blockExecuted by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
| 416 |
| 1023 | } | - |
| 1024 | returnexecuted 254286 times by 106 tests: return message;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
message;executed 254286 times by 106 tests: return message;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 254286 |
| 1025 | } | - |
| 1026 | | - |
| 1027 | | - |
| 1028 | | - |
| 1029 | typedef void (*QtMsgHandler)(QtMsgType, const char *); | - |
| 1030 | __attribute__((visibility("default"))) QtMsgHandler qInstallMsgHandler(QtMsgHandler); | - |
| 1031 | | - |
| 1032 | | - |
| 1033 | static void qDefaultMsgHandler(QtMsgType type, const char *buf); | - |
| 1034 | static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &buf); | - |
| 1035 | | - |
| 1036 | | - |
| 1037 | static QBasicAtomicPointer<void (QtMsgType, const char*)> msgHandler = { qDefaultMsgHandler }; | - |
| 1038 | | - |
| 1039 | static QBasicAtomicPointer<void (QtMsgType, const QMessageLogContext &, const QString &)> messageHandler = { qDefaultMessageHandler }; | - |
| 1040 | static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &context, | - |
| 1041 | const QString &buf) | - |
| 1042 | { | - |
| 1043 | QString logMessage = qFormatLogMessage(type, context, buf); | - |
| 1044 | | - |
| 1045 | | - |
| 1046 | | - |
| 1047 | if (logMessage.isNull()| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 120 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
|
) | 2-120 |
| 1048 | return;executed 2 times by 1 test: return;Executed by:- tst_qlogging - unknown status
| 2 |
| 1049 | | - |
| 1050 | if (!qt_logging_to_console()| TRUE | never evaluated | | FALSE | evaluated 120 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
|
) { | 0-120 |
| 1051 | } never executed: end of block | 0 |
| 1052 | fprintf(stderr, "%s\n", logMessage.toLocal8Bit().constData()); | - |
| 1053 | fflush(stderr); | - |
| 1054 | }executed 120 times by 4 tests: end of blockExecuted by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| 120 |
| 1055 | | - |
| 1056 | | - |
| 1057 | | - |
| 1058 | | - |
| 1059 | static void qDefaultMsgHandler(QtMsgType type, const char *buf) | - |
| 1060 | { | - |
| 1061 | QMessageLogContext emptyContext; | - |
| 1062 | qDefaultMessageHandler(type, emptyContext, QString::fromLocal8Bit(buf)); | - |
| 1063 | } never executed: end of block | 0 |
| 1064 | | - |
| 1065 | | - |
| 1066 | | - |
| 1067 | static thread_local bool msgHandlerGrabbed = false; | - |
| 1068 | | - |
| 1069 | static bool grabMessageHandler() | - |
| 1070 | { | - |
| 1071 | if (msgHandlerGrabbed| TRUE | never evaluated | | FALSE | evaluated 267571 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
|
) | 0-267571 |
| 1072 | return never executed: return false; false;never executed: return false; | 0 |
| 1073 | | - |
| 1074 | msgHandlerGrabbed = true; | - |
| 1075 | returnexecuted 267571 times by 161 tests: return true;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
true;executed 267571 times by 161 tests: return true;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| 267571 |
| 1076 | } | - |
| 1077 | | - |
| 1078 | static void ungrabMessageHandler() | - |
| 1079 | { | - |
| 1080 | msgHandlerGrabbed = false; | - |
| 1081 | }executed 267571 times by 162 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| 267571 |
| 1082 | | - |
| 1083 | | - |
| 1084 | | - |
| 1085 | | - |
| 1086 | | - |
| 1087 | | - |
| 1088 | static void qt_message_print(QtMsgType msgType, const QMessageLogContext &context, const QString &message) | - |
| 1089 | { | - |
| 1090 | | - |
| 1091 | | - |
| 1092 | if (!context.category| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 267581 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
|
|| (| TRUE | evaluated 255497 times by 159 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| | FALSE | evaluated 12084 times by 6 testsEvaluated by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QNoDebug
- tst_QSslCertificate
- tst_QSslSocket
- tst_qlogging - unknown status
|
strcmp(context.category, "default") == 0)| TRUE | evaluated 255497 times by 159 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| | FALSE | evaluated 12084 times by 6 testsEvaluated by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QNoDebug
- tst_QSslCertificate
- tst_QSslSocket
- tst_qlogging - unknown status
|
) { | 2-267581 |
| 1093 | if (QLoggingCategory *defaultCategory = QLoggingCategory::defaultCategory()| TRUE | evaluated 255499 times by 159 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| | FALSE | never evaluated |
) { | 0-255499 |
| 1094 | if (!defaultCategory->isEnabled(msgType)| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 255487 times by 159 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
|
) | 12-255487 |
| 1095 | return;executed 12 times by 1 test: return; | 12 |
| 1096 | }executed 255487 times by 159 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| 255487 |
| 1097 | }executed 255487 times by 159 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| 255487 |
| 1098 | | - |
| 1099 | | - |
| 1100 | | - |
| 1101 | | - |
| 1102 | if (grabMessageHandler()| TRUE | evaluated 267571 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| | FALSE | never evaluated |
) { | 0-267571 |
| 1103 | | - |
| 1104 | if (msgHandler.load() == qDefaultMsgHandler| TRUE | evaluated 267569 times by 161 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| | FALSE | evaluated 2 times by 1 test |
| 2-267569 |
| 1105 | || messageHandler.load() != qDefaultMessageHandler| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) { | 1 |
| 1106 | (*messageHandler.load())(msgType, context, message); | - |
| 1107 | }executed 267570 times by 162 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
else { | 267570 |
| 1108 | (*msgHandler.load())(msgType, message.toLocal8Bit().constData()); | - |
| 1109 | }executed 1 time by 1 test: end of block | 1 |
| 1110 | ungrabMessageHandler(); | - |
| 1111 | }executed 267571 times by 162 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
else { | 267571 |
| 1112 | fprintf(stderr, "%s\n", message.toLocal8Bit().constData()); | - |
| 1113 | } never executed: end of block | 0 |
| 1114 | } | - |
| 1115 | | - |
| 1116 | static void qt_message_fatal(QtMsgType, const QMessageLogContext &context, const QString &message) | - |
| 1117 | { | - |
| 1118 | (void)context;; | - |
| 1119 | (void)message;; | - |
| 1120 | | - |
| 1121 | | - |
| 1122 | | - |
| 1123 | abort();executed 55 times by 2 tests: abort();Executed by:- tst_qnetworkreply - unknown status
- tst_selftests - unknown status
| 55 |
| 1124 | | - |
| 1125 | | - |
| 1126 | | - |
| 1127 | } | - |
| 1128 | | - |
| 1129 | | - |
| 1130 | | - |
| 1131 | | - |
| 1132 | | - |
| 1133 | void qt_message_output(QtMsgType msgType, const QMessageLogContext &context, const QString &message) | - |
| 1134 | { | - |
| 1135 | qt_message_print(msgType, context, message); | - |
| 1136 | if (isFatal(msgType)| TRUE | never evaluated | | FALSE | 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
- ...
|
) | 0-15351 |
| 1137 | qt_message_fatal(msgType, context, message); never executed: qt_message_fatal(msgType, context, message); | 0 |
| 1138 | }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 |
| 1139 | | - |
| 1140 | void qErrnoWarning(const char *msg, ...) | - |
| 1141 | { | - |
| 1142 | | - |
| 1143 | | - |
| 1144 | va_list ap; | - |
| 1145 | __builtin_va_start(ap,msg); | - |
| 1146 | QString buf = QString::vasprintf(msg, ap); | - |
| 1147 | __builtin_va_end(ap); | - |
| 1148 | | - |
| 1149 | buf += QLatin1String(" (") + qt_error_string(-1) + QLatin1Char(')'); | - |
| 1150 | QMessageLogContext context; | - |
| 1151 | qt_message_output(QtCriticalMsg, context, buf); | - |
| 1152 | } never executed: end of block | 0 |
| 1153 | | - |
| 1154 | void qErrnoWarning(int code, const char *msg, ...) | - |
| 1155 | { | - |
| 1156 | | - |
| 1157 | | - |
| 1158 | va_list ap; | - |
| 1159 | __builtin_va_start(ap,msg); | - |
| 1160 | QString buf = QString::vasprintf(msg, ap); | - |
| 1161 | __builtin_va_end(ap); | - |
| 1162 | | - |
| 1163 | buf += QLatin1String(" (") + qt_error_string(code) + QLatin1Char(')'); | - |
| 1164 | QMessageLogContext context; | - |
| 1165 | qt_message_output(QtCriticalMsg, context, buf); | - |
| 1166 | } never executed: end of block | 0 |
| 1167 | QtMessageHandler qInstallMessageHandler(QtMessageHandler h) | - |
| 1168 | { | - |
| 1169 | if (!h| TRUE | evaluated 172 times by 2 testsEvaluated by:- tst_QDebug
- tst_qmessagehandler
| | FALSE | evaluated 2953 times by 507 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) | 172-2953 |
| 1170 | h = qDefaultMessageHandler;executed 172 times by 2 tests: h = qDefaultMessageHandler;Executed by:- tst_QDebug
- tst_qmessagehandler
| 172 |
| 1171 | | - |
| 1172 | returnexecuted 3125 times by 507 tests: return messageHandler.fetchAndStoreRelaxed(h);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
messageHandler.fetchAndStoreRelaxed(h);executed 3125 times by 507 tests: return messageHandler.fetchAndStoreRelaxed(h);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 3125 |
| 1173 | } | - |
| 1174 | | - |
| 1175 | QtMsgHandler qInstallMsgHandler(QtMsgHandler h) | - |
| 1176 | { | - |
| 1177 | if (!h| TRUE | evaluated 169 times by 1 test | | FALSE | evaluated 3 times by 1 test |
) | 3-169 |
| 1178 | h = qDefaultMsgHandler;executed 169 times by 1 test: h = qDefaultMsgHandler; | 169 |
| 1179 | | - |
| 1180 | returnexecuted 172 times by 1 test: return msgHandler.fetchAndStoreRelaxed(h); msgHandler.fetchAndStoreRelaxed(h);executed 172 times by 1 test: return msgHandler.fetchAndStoreRelaxed(h); | 172 |
| 1181 | } | - |
| 1182 | | - |
| 1183 | void qSetMessagePattern(const QString &pattern) | - |
| 1184 | { | - |
| 1185 | QMutexLocker lock(&QMessagePattern::mutex); | - |
| 1186 | | - |
| 1187 | if (!qMessagePattern()->fromEnvironment| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 26 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 9-26 |
| 1188 | qMessagePattern()->setPattern(pattern);executed 9 times by 2 tests: qMessagePattern()->setPattern(pattern);Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 9 |
| 1189 | }executed 35 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 35 |
| 1190 | | - |
| 1191 | | - |
| 1192 | | - |
| 1193 | | - |
| 1194 | | - |
| 1195 | | - |
| 1196 | void QMessageLogContext::copy(const QMessageLogContext &logContext) | - |
| 1197 | { | - |
| 1198 | this->category = logContext.category; | - |
| 1199 | this->file = logContext.file; | - |
| 1200 | this->line = logContext.line; | - |
| 1201 | this->function = logContext.function; | - |
| 1202 | }executed 15349 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
- ...
| 15349 |
| 1203 | | - |
| | |