| 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 227099 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-227099 |
| 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 227060 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-227060 |
| 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 211553 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 15507 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 15507 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-211553 |
| 37 | static bool fatalWarnings = !qEnvironmentVariableIsEmpty("QT_FATAL_WARNINGS"); | - |
| 38 | returnexecuted 211553 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 211553 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
- ...
| 211553 |
| 39 | } | - |
| 40 | | - |
| 41 | returnexecuted 15507 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 15507 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
- ...
| 15507 |
| 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 23 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-23 |
| 49 | returnexecuted 23 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 23 times by 4 tests: return envcontrol;Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| 23 |
| 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 119 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 119 times by 4 tests: return logToConsole;Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| 119 |
| 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 212037 times by 138 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 212037 times by 138 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
- ...
| 212037 |
| 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 558 times by 28 testsEvaluated by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QArrayData
- tst_QArrayData_StrictIterators
- 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
- tst_qprocess - unknown status
- ...
|
) | 0-558 |
| 93 | qt_message_fatal(QtDebugMsg, context, message); never executed: qt_message_fatal(QtDebugMsg, context, message); | 0 |
| 94 | }executed 558 times by 28 tests: end of blockExecuted by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QArrayData
- tst_QArrayData_StrictIterators
- 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
- tst_qprocess - unknown status
- ...
| 558 |
| 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 83 times by 3 testsEvaluated by:- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
|
) | 0-83 |
| 103 | qt_message_fatal(QtInfoMsg, context, message); never executed: qt_message_fatal(QtInfoMsg, context, message); | 0 |
| 104 | }executed 83 times by 3 tests: end of blockExecuted by:- tst_QLogging
- tst_qlogging - unknown status
- tst_selftests - unknown status
| 83 |
| 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 14851 times by 54 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_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- ...
dbg;executed 14851 times by 54 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_QFileSystemWatcher
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMdiSubWindow
- tst_QMetaObject
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- ...
| 14851 |
| 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 211328 times by 125 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-211328 |
| 263 | qt_message_fatal(QtWarningMsg, context, message); never executed: qt_message_fatal(QtWarningMsg, context, message); | 0 |
| 264 | }executed 211328 times by 125 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
- ...
| 211328 |
| 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 224 times by 20 tests: return dbg;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QDebug
- tst_QFile
- tst_QGuiApplication
- tst_QIODevice
- tst_QLogging
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QProcess
- tst_QSqlQueryModel
- tst_QSslSocket
- tst_QStandardItemModel
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_qlogging - unknown status
dbg;executed 224 times by 20 tests: return dbg;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QDebug
- tst_QFile
- tst_QGuiApplication
- tst_QIODevice
- tst_QLogging
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QNoDebug
- tst_QObject
- tst_QProcess
- tst_QSqlQueryModel
- tst_QSslSocket
- tst_QStandardItemModel
- tst_QString
- tst_QTcpSocket
- tst_QUdpSocket
- tst_qlogging - unknown status
| 224 |
| 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 382 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-382 |
| 667 | setPattern(QLatin1String(defaultPattern)); | - |
| 668 | }executed 382 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 { | 382 |
| 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 342 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 335 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) | 335-342 |
| 677 | delete [] literals[i];executed 342 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
- ...
| 342 |
| 678 | delete [] literals; | - |
| 679 | literals = 0; | - |
| 680 | delete [] tokens; | - |
| 681 | tokens = 0; | - |
| 682 | }executed 335 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
- ...
| 335 |
| 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 395 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-395 |
| 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 | | - |
| 693 | | - |
| 694 | QList<QString> lexemes; | - |
| 695 | QString lexeme; | - |
| 696 | bool inPlaceholder = false; | - |
| 697 | for (int i = 0; i < pattern.size()| TRUE | evaluated 18841 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 404 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) { | 404-18841 |
| 698 | const QChar c = pattern.at(i); | - |
| 699 | if ((| TRUE | evaluated 1668 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 17173 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 1668 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 17173 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
- ...
|
| 1668-17173 |
| 700 | && !inPlaceholder| TRUE | evaluated 1668 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-1668 |
| 701 | if ((| TRUE | evaluated 1668 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 1668 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-1668 |
| 702 | && pattern.at(i + 1) == QLatin1Char('{')| TRUE | evaluated 1668 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-1668 |
| 703 | | - |
| 704 | if (!lexeme.isEmpty()| TRUE | evaluated 475 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 1193 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
- ...
|
) { | 475-1193 |
| 705 | lexemes.append(lexeme); | - |
| 706 | lexeme.clear(); | - |
| 707 | }executed 475 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
- ...
| 475 |
| 708 | inPlaceholder = true; | - |
| 709 | }executed 1668 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
- ...
| 1668 |
| 710 | }executed 1668 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
- ...
| 1668 |
| 711 | | - |
| 712 | lexeme.append(c); | - |
| 713 | | - |
| 714 | if ((c == QLatin1Char('}')| TRUE | evaluated 1668 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 17173 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 1668 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-17173 |
| 715 | | - |
| 716 | lexemes.append(lexeme); | - |
| 717 | lexeme.clear(); | - |
| 718 | inPlaceholder = false; | - |
| 719 | }executed 1668 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
- ...
| 1668 |
| 720 | }executed 18841 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
- ...
| 18841 |
| 721 | if (!lexeme.isEmpty()| TRUE | evaluated 13 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 391 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-391 |
| 722 | lexemes.append(lexeme);executed 13 times by 1 test: lexemes.append(lexeme);Executed by:- tst_qlogging - unknown status
| 13 |
| 723 | | - |
| 724 | | - |
| 725 | QVarLengthArray<const char*> literalsVar; | - |
| 726 | tokens = new const char*[lexemes.size() + 1]; | - |
| 727 | tokens[lexemes.size()] = 0; | - |
| 728 | | - |
| 729 | bool nestedIfError = false; | - |
| 730 | bool inIf = false; | - |
| 731 | QString error; | - |
| 732 | | - |
| 733 | for (int i = 0; i < lexemes.size()| TRUE | evaluated 2156 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 404 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) { | 404-2156 |
| 734 | const QString lexeme = lexemes.at(i); | - |
| 735 | if (lexeme.startsWith(QLatin1String("%{"))| TRUE | evaluated 1668 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 488 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
- ...
|
| 488-1668 |
| 736 | && lexeme.endsWith(QLatin1Char('}'))| TRUE | evaluated 1668 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-1668 |
| 737 | | - |
| 738 | if (lexeme == QLatin1String(typeTokenC)| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 1665 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-1665 |
| 739 | tokens[i] = typeTokenC; | - |
| 740 | }executed 3 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else if (lexeme == QLatin1String(categoryTokenC)| TRUE | evaluated 389 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 1276 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-1276 |
| 741 | tokens[i] = categoryTokenC;executed 389 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
- ...
| 389 |
| 742 | else if (lexeme == QLatin1String(messageTokenC)| TRUE | evaluated 402 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 874 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
- ...
|
) | 402-874 |
| 743 | tokens[i] = messageTokenC;executed 402 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
- ...
| 402 |
| 744 | else if (lexeme == QLatin1String(fileTokenC)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 873 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-873 |
| 745 | tokens[i] = fileTokenC;executed 1 time by 1 test: tokens[i] = fileTokenC; | 1 |
| 746 | else if (lexeme == QLatin1String(lineTokenC)| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 871 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-871 |
| 747 | tokens[i] = lineTokenC;executed 2 times by 2 tests: tokens[i] = lineTokenC;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 2 |
| 748 | else if (lexeme == QLatin1String(functionTokenC)| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 869 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-869 |
| 749 | tokens[i] = functionTokenC;executed 2 times by 2 tests: tokens[i] = functionTokenC;Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 2 |
| 750 | else if (lexeme == QLatin1String(pidTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 868 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-868 |
| 751 | tokens[i] = pidTokenC;executed 1 time by 1 test: tokens[i] = pidTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 752 | else if (lexeme == QLatin1String(appnameTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 867 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-867 |
| 753 | tokens[i] = appnameTokenC;executed 1 time by 1 test: tokens[i] = appnameTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 754 | else if (lexeme == QLatin1String(threadidTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 866 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-866 |
| 755 | tokens[i] = threadidTokenC;executed 1 time by 1 test: tokens[i] = threadidTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 756 | else if (lexeme == QLatin1String(qthreadptrTokenC)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 865 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-865 |
| 757 | tokens[i] = qthreadptrTokenC;executed 1 time by 1 test: tokens[i] = qthreadptrTokenC;Executed by:- tst_qlogging - unknown status
| 1 |
| 758 | else if (lexeme.startsWith(QLatin1String(timeTokenC))| TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 859 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-859 |
| 759 | tokens[i] = timeTokenC; | - |
| 760 | int spaceIdx = lexeme.indexOf(QChar::fromLatin1(' ')); | - |
| 761 | if (spaceIdx > 0| TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) | 0-6 |
| 762 | 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 |
| 763 | else | - |
| 764 | timeArgs.append(QString()); never executed: timeArgs.append(QString()); | 0 |
| 765 | } else if (lexeme.startsWith(QLatin1String(backtraceTokenC))| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 857 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-857 |
| 766 | | - |
| 767 | tokens[i] = backtraceTokenC; | - |
| 768 | 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 |
| 769 | int backtraceDepth = 5; | - |
| 770 | 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 |
| 771 | 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 |
| 772 | QRegularExpressionMatch m = depthRx.match(lexeme); | - |
| 773 | 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 |
| 774 | int depth = m.capturedRef(1).toInt(); | - |
| 775 | if (depth <= 0| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 0-1 |
| 776 | error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: %{backtrace} depth must be a number greater than 0\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: %{backtrace} depth must be a number greater than 0\n" }; 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; }());never executed: error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: %{backtrace} depth must be a number greater than 0\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: %{backtrace} depth must be a number greater than 0\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 0 |
| 777 | else | - |
| 778 | backtraceDepth = depth;executed 1 time by 1 test: backtraceDepth = depth;Executed by:- tst_qlogging - unknown status
| 1 |
| 779 | } | - |
| 780 | m = separatorRx.match(lexeme); | - |
| 781 | 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 |
| 782 | backtraceSeparator = m.captured(1);executed 1 time by 1 test: backtraceSeparator = m.captured(1);Executed by:- tst_qlogging - unknown status
| 1 |
| 783 | BacktraceParams backtraceParams; | - |
| 784 | backtraceParams.backtraceDepth = backtraceDepth; | - |
| 785 | backtraceParams.backtraceSeparator = backtraceSeparator; | - |
| 786 | backtraceArgs.append(backtraceParams); | - |
| 787 | | - |
| 788 | | - |
| 789 | | - |
| 790 | | - |
| 791 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 2 |
| 792 | else if (lexeme == QLatin1String(ifCategoryTokenC)| TRUE | evaluated 389 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 468 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 389 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 389 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-468 |
| 793 | else if (lexeme == QLatin1String(ifDebugTokenC)| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 459 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-459 |
| 794 | else if (lexeme == QLatin1String(ifInfoTokenC)| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 453 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-453 |
| 795 | else if (lexeme == QLatin1String(ifWarningTokenC)| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 443 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-443 |
| 796 | else if (lexeme == QLatin1String(ifCriticalTokenC)| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 436 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-436 |
| 797 | else if (lexeme == QLatin1String(ifFatalTokenC)| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 429 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-429 |
| 798 | | - |
| 799 | else if (lexeme == QLatin1String(endifTokenC)| TRUE | evaluated 427 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-427 |
| 800 | tokens[i] = endifTokenC; | - |
| 801 | if (!inIf| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 426 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-426 |
| 802 | error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: %{endif} without an %{if-*}\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: %{endif} without an %{if-*}\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 1 time by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 1 time by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}());executed 1 time by 1 test: error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: %{endif} without an %{if-*}\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: %{endif} without an %{if-*}\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }());Executed by:- tst_qlogging - unknown status
| 1 |
| 803 | inIf = false; | - |
| 804 | }executed 427 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 { | 427 |
| 805 | tokens[i] = emptyTokenC; | - |
| 806 | 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 |
| 807 | .arg(lexeme); | - |
| 808 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 2 |
| 809 | } else { | - |
| 810 | char *literal = new char[lexeme.size() + 1]; | - |
| 811 | strncpy(literal, lexeme.toLatin1().constData(), lexeme.size()); | - |
| 812 | literal[lexeme.size()] = '\0'; | - |
| 813 | literalsVar.append(literal); | - |
| 814 | tokens[i] = literal; | - |
| 815 | }executed 488 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
- ...
| 488 |
| 816 | } | - |
| 817 | if (nestedIfError| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 403 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-403 |
| 818 | error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: %{if-*} cannot be nested\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: %{if-*} cannot be nested\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 1 time by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 1 time by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}());executed 1 time by 1 test: error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: %{if-*} cannot be nested\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: %{if-*} cannot be nested\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }());Executed by:- tst_qlogging - unknown status
| 1 |
| 819 | else if (inIf| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 402 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-402 |
| 820 | error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: missing %{endif}\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: missing %{endif}\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 1 time by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
qstring_literal_temp;executed 1 time by 1 test: return qstring_literal_temp;Executed by:- tst_qlogging - unknown status
}());executed 1 time by 1 test: error += ([]() -> QString { enum { Size = sizeof(u"" "QT_MESSAGE_PATTERN: missing %{endif}\n")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QT_MESSAGE_PATTERN: missing %{endif}\n" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }());Executed by:- tst_qlogging - unknown status
| 1 |
| 821 | if (!error.isEmpty()| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 401 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-401 |
| 822 | { | - |
| 823 | fprintf(stderr, "%s", error.toLocal8Bit().constData()); | - |
| 824 | fflush(stderr); | - |
| 825 | } | - |
| 826 | }executed 3 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 3 |
| 827 | literals = new const char*[literalsVar.size() + 1]; | - |
| 828 | literals[literalsVar.size()] = 0; | - |
| 829 | memcpy(literals, literalsVar.constData(), literalsVar.size() * sizeof(const char*)); | - |
| 830 | }executed 404 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
- ...
| 404 |
| 831 | 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 335 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 335 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 335 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 213926 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 213926 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-213926 |
| 832 | QString qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &str) | - |
| 833 | { | - |
| 834 | QString message; | - |
| 835 | | - |
| 836 | QMutexLocker lock(&QMessagePattern::mutex); | - |
| 837 | | - |
| 838 | QMessagePattern *pattern = qMessagePattern(); | - |
| 839 | if (!pattern| TRUE | never evaluated | | FALSE | evaluated 213882 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-213882 |
| 840 | | - |
| 841 | message.append(str); | - |
| 842 | return never executed: return message; message;never executed: return message; | 0 |
| 843 | } | - |
| 844 | | - |
| 845 | bool skip = false; | - |
| 846 | | - |
| 847 | | - |
| 848 | int timeArgsIdx = 0; | - |
| 849 | | - |
| 850 | int backtraceArgsIdx = 0; | - |
| 851 | | - |
| 852 | | - |
| 853 | | - |
| 854 | | - |
| 855 | for (int i = 0; pattern->tokens[i] != 0| TRUE | evaluated 1069789 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 213882 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) { | 213882-1069789 |
| 856 | const char *token = pattern->tokens[i]; | - |
| 857 | if (token == endifTokenC| TRUE | evaluated 213872 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 855917 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
- ...
|
) { | 213872-855917 |
| 858 | skip = false; | - |
| 859 | }executed 213872 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 427631 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 428286 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
- ...
|
) { | 213872-428286 |
| 860 | | - |
| 861 | | - |
| 862 | | - |
| 863 | if (token == timeTokenC| TRUE | evaluated 10 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 427621 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-427621 |
| 864 | timeArgsIdx++;executed 10 times by 1 test: timeArgsIdx++;Executed by:- tst_qlogging - unknown status
| 10 |
| 865 | | - |
| 866 | else if (token == backtraceTokenC| TRUE | never evaluated | | FALSE | evaluated 427621 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-427621 |
| 867 | backtraceArgsIdx++; never executed: backtraceArgsIdx++; | 0 |
| 868 | | - |
| 869 | | - |
| 870 | }executed 427631 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 213872 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 214414 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
- ...
|
) { | 213872-427631 |
| 871 | message.append(str); | - |
| 872 | }executed 213872 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 214411 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-214411 |
| 873 | message.append(QLatin1String(context.category)); | - |
| 874 | }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 214397 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-214397 |
| 875 | switch (type) { | - |
| 876 | 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 |
| 877 | 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 |
| 878 | 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 |
| 879 | 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 |
| 880 | case never executed: case QtFatalMsg: QtFatalMsg:never executed: case QtFatalMsg: message.append(QLatin1String("fatal")); break;never executed: break; | 0 |
| 881 | } | - |
| 882 | }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 214396 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-214396 |
| 883 | if (context.file| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 884 | message.append(QLatin1String(context.file));executed 1 time by 1 test: message.append(QLatin1String(context.file)); | 1 |
| 885 | else | - |
| 886 | message.append(QLatin1String("unknown")); never executed: message.append(QLatin1String("unknown")); | 0 |
| 887 | } else if (token == lineTokenC| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | evaluated 214387 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-214387 |
| 888 | message.append(QString::number(context.line)); | - |
| 889 | }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 214378 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-214378 |
| 890 | if (context.function| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qlogging - unknown status
- tst_qmessagehandler
| | FALSE | never evaluated |
) | 0-9 |
| 891 | 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 |
| 892 | else | - |
| 893 | message.append(QLatin1String("unknown")); never executed: message.append(QLatin1String("unknown")); | 0 |
| 894 | | - |
| 895 | } else if (token == pidTokenC| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 214370 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-214370 |
| 896 | message.append(QString::number(QCoreApplication::applicationPid())); | - |
| 897 | }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 214362 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-214362 |
| 898 | message.append(QCoreApplication::applicationName()); | - |
| 899 | }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 214354 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-214354 |
| 900 | | - |
| 901 | message.append(QString::number(qt_gettid())); | - |
| 902 | }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 214346 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-214346 |
| 903 | message.append(QLatin1String("0x")); | - |
| 904 | message.append(QString::number(qlonglong(QThread::currentThread()->currentThread()), 16)); | - |
| 905 | | - |
| 906 | }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 214330 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-214330 |
| 907 | QMessagePattern::BacktraceParams backtraceParams = pattern->backtraceArgs.at(backtraceArgsIdx); | - |
| 908 | QString backtraceSeparator = backtraceParams.backtraceSeparator; | - |
| 909 | int backtraceDepth = backtraceParams.backtraceDepth; | - |
| 910 | backtraceArgsIdx++; | - |
| 911 | QVarLengthArray<void*, 32> buffer(7 + backtraceDepth); | - |
| 912 | int n = backtrace(buffer.data(), buffer.size()); | - |
| 913 | if (n > 0| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) { | 0-16 |
| 914 | int numberPrinted = 0; | - |
| 915 | for (int i = 0; i < n| TRUE | evaluated 134 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
&& numberPrinted < backtraceDepth| TRUE | evaluated 124 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
; ++i) { | 6-134 |
| 916 | QScopedPointer<char*, QScopedPointerPodDeleter> strings(backtrace_symbols(buffer.data() + i, 1)); | - |
| 917 | QString trace = QString::fromLatin1(strings.data()[0]); | - |
| 918 | | - |
| 919 | | - |
| 920 | | - |
| 921 | | - |
| 922 | | - |
| 923 | 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; }()), | - |
| 924 | QRegularExpression::OptimizeOnFirstUsageOption); | - |
| 925 | | - |
| 926 | QRegularExpressionMatch m = rx.match(trace); | - |
| 927 | if (m.hasMatch()| TRUE | evaluated 124 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) { | 0-124 |
| 928 | | - |
| 929 | QString library = m.captured(1); | - |
| 930 | QString function = m.captured(2); | - |
| 931 | if (!numberPrinted| TRUE | evaluated 96 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 80 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
| 16-96 |
| 932 | && (function.isEmpty()| TRUE | evaluated 44 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-44 |
| 933 | || function.contains(QLatin1String("QDebug"))| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
)) { | 0-4 |
| 934 | continue;executed 80 times by 1 test: continue;Executed by:- tst_qlogging - unknown status
| 80 |
| 935 | } | - |
| 936 | | - |
| 937 | 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 |
| 938 | QScopedPointer<char, QScopedPointerPodDeleter> demangled( | - |
| 939 | abi::__cxa_demangle(function.toUtf8(), 0, 0, 0)); | - |
| 940 | if (demangled| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | never evaluated |
) | 0-8 |
| 941 | 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 |
| 942 | }executed 8 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 8 |
| 943 | | - |
| 944 | if (numberPrinted > 0| TRUE | evaluated 28 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
) | 16-28 |
| 945 | message.append(backtraceSeparator);executed 28 times by 1 test: message.append(backtraceSeparator);Executed by:- tst_qlogging - unknown status
| 28 |
| 946 | | - |
| 947 | 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 |
| 948 | if (numberPrinted == 0| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qlogging - unknown status
|
&& context.function| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-10 |
| 949 | message += QString::fromUtf8(qCleanupFuncinfo(context.function)); never executed: message += QString::fromUtf8(qCleanupFuncinfo(context.function)); | 0 |
| 950 | else | - |
| 951 | message += QLatin1Char('?') + library + QLatin1Char('?');executed 10 times by 1 test: message += QLatin1Char('?') + library + QLatin1Char('?');Executed by:- tst_qlogging - unknown status
| 10 |
| 952 | } else { | - |
| 953 | message += function; | - |
| 954 | }executed 34 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 34 |
| 955 | | - |
| 956 | } else { | - |
| 957 | if (numberPrinted == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 958 | continue; never executed: continue; | 0 |
| 959 | message += backtraceSeparator + QLatin1String("???"); | - |
| 960 | } never executed: end of block | 0 |
| 961 | numberPrinted++; | - |
| 962 | }executed 44 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 44 |
| 963 | }executed 16 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 16 |
| 964 | | - |
| 965 | }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 214292 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-214292 |
| 966 | QString timeFormat = pattern->timeArgs.at(timeArgsIdx); | - |
| 967 | timeArgsIdx++; | - |
| 968 | 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 |
| 969 | quint64 ms = pattern->timer.elapsed(); | - |
| 970 | message.append(QString::asprintf("%6d.%03d", uint(ms / 1000), uint(ms % 1000))); | - |
| 971 | }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 |
| 972 | | - |
| 973 | | - |
| 974 | QElapsedTimer now; | - |
| 975 | now.start(); | - |
| 976 | uint ms = now.msecsSinceReference(); | - |
| 977 | message.append(QString::asprintf("%6d.%03d", uint(ms / 1000), uint(ms % 1000))); | - |
| 978 | } 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 |
| 979 | message.append(QDateTime::currentDateTime().toString(Qt::ISODate)); | - |
| 980 | } never executed: end of block else { | 0 |
| 981 | message.append(QDateTime::currentDateTime().toString(timeFormat)); | - |
| 982 | }executed 30 times by 1 test: end of blockExecuted by:- tst_qlogging - unknown status
| 30 |
| 983 | | - |
| 984 | } else if (token == ifCategoryTokenC| TRUE | evaluated 213778 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-213778 |
| 985 | if (!context.category| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 213773 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 213770 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 213770 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-213773 |
| 986 | skip = true;executed 213775 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
- ...
| 213775 |
| 987 | | - |
| 988 | | - |
| 989 | | - |
| 990 | }executed 213778 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-213778 |
| 991 | }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 |
| 992 | }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 |
| 993 | }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 |
| 994 | }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 |
| 995 | | - |
| 996 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
else { | 14 |
| 997 | message.append(QLatin1String(token)); | - |
| 998 | }executed 416 times by 3 tests: end of blockExecuted by:- tst_QSslSocket
- tst_qlogging - unknown status
- tst_qmessagehandler
| 416 |
| 999 | } | - |
| 1000 | returnexecuted 213882 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 213882 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
- ...
| 213882 |
| 1001 | } | - |
| 1002 | | - |
| 1003 | | - |
| 1004 | | - |
| 1005 | typedef void (*QtMsgHandler)(QtMsgType, const char *); | - |
| 1006 | __attribute__((visibility("default"))) QtMsgHandler qInstallMsgHandler(QtMsgHandler); | - |
| 1007 | | - |
| 1008 | | - |
| 1009 | static void qDefaultMsgHandler(QtMsgType type, const char *buf); | - |
| 1010 | static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &buf); | - |
| 1011 | | - |
| 1012 | | - |
| 1013 | static QBasicAtomicPointer<void (QtMsgType, const char*)> msgHandler = { qDefaultMsgHandler }; | - |
| 1014 | | - |
| 1015 | static QBasicAtomicPointer<void (QtMsgType, const QMessageLogContext &, const QString &)> messageHandler = { qDefaultMessageHandler }; | - |
| 1016 | static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &context, | - |
| 1017 | const QString &buf) | - |
| 1018 | { | - |
| 1019 | QString logMessage = qFormatLogMessage(type, context, buf); | - |
| 1020 | | - |
| 1021 | | - |
| 1022 | | - |
| 1023 | if (logMessage.isNull()| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qlogging - unknown status
| | FALSE | evaluated 119 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
|
) | 2-119 |
| 1024 | return;executed 2 times by 1 test: return;Executed by:- tst_qlogging - unknown status
| 2 |
| 1025 | | - |
| 1026 | if (!qt_logging_to_console()| TRUE | never evaluated | | FALSE | evaluated 119 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
|
) { | 0-119 |
| 1027 | } never executed: end of block | 0 |
| 1028 | fprintf(stderr, "%s\n", logMessage.toLocal8Bit().constData()); | - |
| 1029 | fflush(stderr); | - |
| 1030 | }executed 119 times by 4 tests: end of blockExecuted by:- tst_qdbusabstractadaptor - unknown status
- tst_qlogging - unknown status
- tst_qprocess - unknown status
- tst_qsystemsemaphore - unknown status
| 119 |
| 1031 | | - |
| 1032 | | - |
| 1033 | | - |
| 1034 | | - |
| 1035 | static void qDefaultMsgHandler(QtMsgType type, const char *buf) | - |
| 1036 | { | - |
| 1037 | QMessageLogContext emptyContext; | - |
| 1038 | qDefaultMessageHandler(type, emptyContext, QString::fromLocal8Bit(buf)); | - |
| 1039 | } never executed: end of block | 0 |
| 1040 | | - |
| 1041 | | - |
| 1042 | | - |
| 1043 | static thread_local bool msgHandlerGrabbed = false; | - |
| 1044 | | - |
| 1045 | static bool grabMessageHandler() | - |
| 1046 | { | - |
| 1047 | if (msgHandlerGrabbed| TRUE | never evaluated | | FALSE | evaluated 227134 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-227134 |
| 1048 | return never executed: return false; false;never executed: return false; | 0 |
| 1049 | | - |
| 1050 | msgHandlerGrabbed = true; | - |
| 1051 | returnexecuted 227134 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 227134 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
- ...
| 227134 |
| 1052 | } | - |
| 1053 | | - |
| 1054 | static void ungrabMessageHandler() | - |
| 1055 | { | - |
| 1056 | msgHandlerGrabbed = false; | - |
| 1057 | }executed 227134 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
- ...
| 227134 |
| 1058 | | - |
| 1059 | | - |
| 1060 | | - |
| 1061 | | - |
| 1062 | | - |
| 1063 | | - |
| 1064 | static void qt_message_print(QtMsgType msgType, const QMessageLogContext &context, const QString &message) | - |
| 1065 | { | - |
| 1066 | | - |
| 1067 | | - |
| 1068 | if (!context.category| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 227114 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 215047 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 12097 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 215047 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 12097 times by 6 testsEvaluated by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QNoDebug
- tst_QSslCertificate
- tst_QSslSocket
- tst_qlogging - unknown status
|
) { | 2-227114 |
| 1069 | if (QLoggingCategory *defaultCategory = QLoggingCategory::defaultCategory()| TRUE | evaluated 215049 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-215049 |
| 1070 | if (!defaultCategory->isEnabled(msgType)| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 215037 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-215037 |
| 1071 | return;executed 12 times by 1 test: return; | 12 |
| 1072 | }executed 215037 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
- ...
| 215037 |
| 1073 | }executed 215037 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
- ...
| 215037 |
| 1074 | | - |
| 1075 | | - |
| 1076 | | - |
| 1077 | | - |
| 1078 | if (grabMessageHandler()| TRUE | evaluated 227134 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-227134 |
| 1079 | | - |
| 1080 | if (msgHandler.load() == qDefaultMsgHandler| TRUE | evaluated 227132 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-227132 |
| 1081 | || messageHandler.load() != qDefaultMessageHandler| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) { | 1 |
| 1082 | (*messageHandler.load())(msgType, context, message); | - |
| 1083 | }executed 227133 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 { | 227133 |
| 1084 | (*msgHandler.load())(msgType, message.toLocal8Bit().constData()); | - |
| 1085 | }executed 1 time by 1 test: end of block | 1 |
| 1086 | ungrabMessageHandler(); | - |
| 1087 | }executed 227134 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 { | 227134 |
| 1088 | fprintf(stderr, "%s\n", message.toLocal8Bit().constData()); | - |
| 1089 | } never executed: end of block | 0 |
| 1090 | } | - |
| 1091 | | - |
| 1092 | static void qt_message_fatal(QtMsgType, const QMessageLogContext &context, const QString &message) | - |
| 1093 | { | - |
| 1094 | (void)context;; | - |
| 1095 | (void)message;; | - |
| 1096 | | - |
| 1097 | | - |
| 1098 | | - |
| 1099 | abort();executed 47 times by 2 tests: abort();Executed by:- tst_qnetworkreply - unknown status
- tst_selftests - unknown status
| 47 |
| 1100 | | - |
| 1101 | | - |
| 1102 | | - |
| 1103 | } | - |
| 1104 | | - |
| 1105 | | - |
| 1106 | | - |
| 1107 | | - |
| 1108 | | - |
| 1109 | void qt_message_output(QtMsgType msgType, const QMessageLogContext &context, const QString &message) | - |
| 1110 | { | - |
| 1111 | qt_message_print(msgType, context, message); | - |
| 1112 | if (isFatal(msgType)| TRUE | never evaluated | | FALSE | evaluated 15109 times by 66 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_QGuiApplication
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- tst_QLogging
- ...
|
) | 0-15109 |
| 1113 | qt_message_fatal(msgType, context, message); never executed: qt_message_fatal(msgType, context, message); | 0 |
| 1114 | }executed 15109 times by 66 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_QGuiApplication
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- tst_QLogging
- ...
| 15109 |
| 1115 | | - |
| 1116 | void qErrnoWarning(const char *msg, ...) | - |
| 1117 | { | - |
| 1118 | | - |
| 1119 | | - |
| 1120 | va_list ap; | - |
| 1121 | __builtin_va_start(ap,msg); | - |
| 1122 | QString buf = QString::vasprintf(msg, ap); | - |
| 1123 | __builtin_va_end(ap); | - |
| 1124 | | - |
| 1125 | buf += QLatin1String(" (") + qt_error_string(-1) + QLatin1Char(')'); | - |
| 1126 | QMessageLogContext context; | - |
| 1127 | qt_message_output(QtCriticalMsg, context, buf); | - |
| 1128 | } never executed: end of block | 0 |
| 1129 | | - |
| 1130 | void qErrnoWarning(int code, const char *msg, ...) | - |
| 1131 | { | - |
| 1132 | | - |
| 1133 | | - |
| 1134 | va_list ap; | - |
| 1135 | __builtin_va_start(ap,msg); | - |
| 1136 | QString buf = QString::vasprintf(msg, ap); | - |
| 1137 | __builtin_va_end(ap); | - |
| 1138 | | - |
| 1139 | buf += QLatin1String(" (") + qt_error_string(code) + QLatin1Char(')'); | - |
| 1140 | QMessageLogContext context; | - |
| 1141 | qt_message_output(QtCriticalMsg, context, buf); | - |
| 1142 | } never executed: end of block | 0 |
| 1143 | QtMessageHandler qInstallMessageHandler(QtMessageHandler h) | - |
| 1144 | { | - |
| 1145 | if (!h| TRUE | evaluated 172 times by 2 testsEvaluated by:- tst_QDebug
- tst_qmessagehandler
| | FALSE | evaluated 2787 times by 540 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-2787 |
| 1146 | h = qDefaultMessageHandler;executed 172 times by 2 tests: h = qDefaultMessageHandler;Executed by:- tst_QDebug
- tst_qmessagehandler
| 172 |
| 1147 | | - |
| 1148 | returnexecuted 2959 times by 540 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 2959 times by 540 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
- ...
| 2959 |
| 1149 | } | - |
| 1150 | | - |
| 1151 | QtMsgHandler qInstallMsgHandler(QtMsgHandler h) | - |
| 1152 | { | - |
| 1153 | if (!h| TRUE | evaluated 169 times by 1 test | | FALSE | evaluated 3 times by 1 test |
) | 3-169 |
| 1154 | h = qDefaultMsgHandler;executed 169 times by 1 test: h = qDefaultMsgHandler; | 169 |
| 1155 | | - |
| 1156 | returnexecuted 172 times by 1 test: return msgHandler.fetchAndStoreRelaxed(h); msgHandler.fetchAndStoreRelaxed(h);executed 172 times by 1 test: return msgHandler.fetchAndStoreRelaxed(h); | 172 |
| 1157 | } | - |
| 1158 | | - |
| 1159 | void qSetMessagePattern(const QString &pattern) | - |
| 1160 | { | - |
| 1161 | QMutexLocker lock(&QMessagePattern::mutex); | - |
| 1162 | | - |
| 1163 | 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 |
| 1164 | qMessagePattern()->setPattern(pattern);executed 9 times by 2 tests: qMessagePattern()->setPattern(pattern);Executed by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 9 |
| 1165 | }executed 35 times by 2 tests: end of blockExecuted by:- tst_qlogging - unknown status
- tst_qmessagehandler
| 35 |
| 1166 | | - |
| 1167 | | - |
| 1168 | | - |
| 1169 | | - |
| 1170 | | - |
| 1171 | | - |
| 1172 | void QMessageLogContext::copy(const QMessageLogContext &logContext) | - |
| 1173 | { | - |
| 1174 | this->category = logContext.category; | - |
| 1175 | this->file = logContext.file; | - |
| 1176 | this->line = logContext.line; | - |
| 1177 | this->function = logContext.function; | - |
| 1178 | }executed 15107 times by 66 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_QGuiApplication
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QLocalSocket
- tst_QLogging
- ...
| 15107 |
| 1179 | | - |
| | |