| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | static void checkWarnMessage(const QIODevice *device, const char *function, const char *what) | - |
| 10 | { | - |
| 11 | | - |
| 12 | QDebug d = QMessageLogger(__FILE__, 8793, __PRETTY_FUNCTION__).warning(); | - |
| 13 | d.noquote(); | - |
| 14 | d.nospace(); | - |
| 15 | d << "QIODevice::" << function; | - |
| 16 | | - |
| 17 | d << " (" << device->metaObject()->className(); | - |
| 18 | if (!device->objectName().isEmpty()) | - |
| 19 | d << ", \"" << device->objectName() << '"'; | - |
| 20 | if (const QFile *f = qobject_cast<const QFile *>(device)) | - |
| 21 | d << ", \"" << QDir::toNativeSeparators(f->fileName()) << '"'; | - |
| 22 | d << ')'; | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | d << ": " << what; | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | } | - |
| 33 | QIODevicePrivate::QIODevicePrivate() | - |
| 34 | : openMode(QIODevice::NotOpen), | - |
| 35 | buffer(static_cast<long long>(16384LL)),pos(0), devicePos(0), | - |
| 36 | readChannelCount(0), | - |
| 37 | writeChannelCount(0), | - |
| 38 | currentReadChannel(0), | - |
| 39 | currentWriteChannel(0), | - |
| 40 | readBufferChunkSize(16384), | - |
| 41 | writeBufferChunkSize(0), | - |
| 42 | transactionPos(0), | - |
| 43 | transactionStarted(false) | - |
| 44 | , baseReadLineDataCalled(false) | - |
| 45 | , accessMode(Unset) | - |
| 46 | | - |
| 47 | | - |
| 48 | | - |
| 49 | { | - |
| 50 | }executed 89060 times by 265 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSocket
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- ...
| 89060 |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | | - |
| 55 | QIODevicePrivate::~QIODevicePrivate() | - |
| 56 | { | - |
| 57 | } | - |
| 58 | QIODevice::QIODevice() | - |
| 59 | : QObject(*new QIODevicePrivate, 0) | - |
| 60 | { | - |
| 61 | | - |
| 62 | | - |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | } | - |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | QIODevice::QIODevice(QObject *parent) | - |
| 73 | : QObject(*new QIODevicePrivate, parent) | - |
| 74 | { | - |
| 75 | | - |
| 76 | | - |
| 77 | | - |
| 78 | } | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | QIODevice::QIODevice(QIODevicePrivate &dd, QObject *parent) | - |
| 84 | : QObject(dd, parent) | - |
| 85 | { | - |
| 86 | } | - |
| 87 | QIODevice::~QIODevice() | - |
| 88 | { | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | } | - |
| 93 | bool QIODevice::isSequential() const | - |
| 94 | { | - |
| 95 | return false; | - |
| 96 | } | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | | - |
| 102 | | - |
| 103 | | - |
| 104 | QIODevice::OpenMode QIODevice::openMode() const | - |
| 105 | { | - |
| 106 | return d_func()->openMode; | - |
| 107 | } | - |
| 108 | void QIODevice::setOpenMode(OpenMode openMode) | - |
| 109 | { | - |
| 110 | QIODevicePrivate * const d = d_func(); | - |
| 111 | | - |
| 112 | | - |
| 113 | | - |
| 114 | d->openMode = openMode; | - |
| 115 | d->accessMode = QIODevicePrivate::Unset; | - |
| 116 | if (!d->setReadChannelCount(isReadable())() ? qMax(d->buffer.clear();readChannelCount, 1) : 0); | - |
| 117 | d->setWriteChannelCount(isWritable() ? qMax(d->writeChannelCount, 1) : 0); | - |
| 118 | }executed 770 times by 12 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QFileDialog2
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTemporaryFile
- tst_Spdy
| 770 |
| 119 | void QIODevice::setTextModeEnabled(bool enabled) | - |
| 120 | { | - |
| 121 | QIODevicePrivate * const d = d_func(); | - |
| 122 | if (!isOpen()) { | - |
| 123 | checkWarnMessage(this, "setTextModeEnabled", "The device is not open"); | - |
| 124 | return; | - |
| 125 | } | - |
| 126 | if (enabled) | - |
| 127 | d->openMode |= Text; | - |
| 128 | else | - |
| 129 | d->openMode &= ~Text; | - |
| 130 | } | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | | - |
| 136 | | - |
| 137 | bool QIODevice::isTextModeEnabled() const | - |
| 138 | { | - |
| 139 | return d_func()->openMode & Text; | - |
| 140 | } | - |
| 141 | bool QIODevice::isOpen() const | - |
| 142 | { | - |
| 143 | return d_func()->openMode != NotOpen; | - |
| 144 | } | - |
| 145 | bool QIODevice::isReadable() const | - |
| 146 | { | - |
| 147 | return (openMode() & ReadOnly) != 0; | - |
| 148 | } | - |
| 149 | bool QIODevice::isWritable() const | - |
| 150 | { | - |
| 151 | return (openMode() & WriteOnly) != 0; | - |
| 152 | } | - |
| 153 | int QIODevice::readChannelCount() const | - |
| 154 | { | - |
| 155 | returnexecuted 776 times by 9 tests: return d_func()->readChannelCount;Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
d_func()->readChannelCount;executed 776 times by 9 tests: return d_func()->readChannelCount;Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
| 776 |
| 156 | } | - |
| 157 | int QIODevice::writeChannelCount() const | - |
| 158 | { | - |
| 159 | returnexecuted 776 times by 9 tests: return d_func()->writeChannelCount;Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
d_func()->writeChannelCount;executed 776 times by 9 tests: return d_func()->writeChannelCount;Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
| 776 |
| 160 | } | - |
| 161 | int QIODevice::currentReadChannel() const | - |
| 162 | { | - |
| 163 | return never executed: return d_func()->currentReadChannel; d_func()->currentReadChannel;never executed: return d_func()->currentReadChannel; | 0 |
| 164 | } | - |
| 165 | void QIODevice::setCurrentReadChannel(int channel) | - |
| 166 | { | - |
| 167 | QIODevicePrivate * const d = d_func(); | - |
| 168 | | - |
| 169 | if (d->transactionStarted| TRUE | never evaluated | | FALSE | evaluated 5181 times by 18 testsEvaluated by:- tst_Lancelot
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QProcess
- tst_QSharedPointer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUuid
- tst_Selftests
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- tst_qmakelib
- tst_qmessagehandler
- tst_qprocess - unknown status
- tst_rcc
- tst_uic
|
) { | 0-5181 |
| 170 | checkWarnMessage(this, "setReadChannel", "Failed due to read transaction being in progress"); | - |
| 171 | return; never executed: return; | 0 |
| 172 | } | - |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | d->setCurrentReadChannel(channel); | - |
| 180 | }executed 5181 times by 18 tests: end of blockExecuted by:- tst_Lancelot
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QProcess
- tst_QSharedPointer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUuid
- tst_Selftests
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- tst_qmakelib
- tst_qmessagehandler
- tst_qprocess - unknown status
- tst_rcc
- tst_uic
| 5181 |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | void QIODevicePrivate::setReadChannelCount(int count) | - |
| 186 | { | - |
| 187 | if (count > readBuffers.size()| TRUE | evaluated 66663 times by 233 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 77495 times by 253 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) { | 66663-77495 |
| 188 | readBuffers.insert(readBuffers.end(), count - readBuffers.size(), | - |
| 189 | QRingBuffer(readBufferChunkSize)); | - |
| 190 | }executed 66663 times by 233 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
else { | 66663 |
| 191 | readBuffers.resize(count); | - |
| 192 | }executed 77495 times by 253 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 77495 |
| 193 | readChannelCount = count; | - |
| 194 | setCurrentReadChannel(currentReadChannel); | - |
| 195 | }executed 144158 times by 273 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 144158 |
| 196 | int QIODevice::currentWriteChannel() const | - |
| 197 | { | - |
| 198 | return never executed: return d_func()->currentWriteChannel; d_func()->currentWriteChannel;never executed: return d_func()->currentWriteChannel; | 0 |
| 199 | } | - |
| 200 | void QIODevice::setCurrentWriteChannel(int channel) | - |
| 201 | { | - |
| 202 | QIODevicePrivate * const d = d_func(); | - |
| 203 | | - |
| 204 | | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | | - |
| 209 | d->setCurrentWriteChannel(channel); | - |
| 210 | } never executed: end of block | 0 |
| 211 | | - |
| 212 | | - |
| 213 | | - |
| 214 | | - |
| 215 | void QIODevicePrivate::setWriteChannelCount(int count) | - |
| 216 | { | - |
| 217 | if (count > writeBuffers.size()| TRUE | evaluated 24805 times by 144 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- ...
| | FALSE | evaluated 74019 times by 210 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- ...
|
) { | 24805-74019 |
| 218 | | - |
| 219 | | - |
| 220 | if (writeBufferChunkSize| TRUE | evaluated 17771 times by 100 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| | FALSE | evaluated 7034 times by 70 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QHostAddress
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| TRUE | evaluated 17771 times by 100 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| | FALSE | evaluated 7034 times by 70 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QHostAddress
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
!= 0| TRUE | evaluated 17771 times by 100 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| | FALSE | evaluated 7034 times by 70 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QHostAddress
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
) { | 7034-17771 |
| 221 | writeBuffers.insert(writeBuffers.end(), count - writeBuffers.size(), | - |
| 222 | QRingBuffer(writeBufferChunkSize)); | - |
| 223 | }executed 17771 times by 100 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 17771 |
| 224 | }executed 24805 times by 144 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- ...
else { | 24805 |
| 225 | writeBuffers.resize(count); | - |
| 226 | }executed 74019 times by 210 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- ...
| 74019 |
| 227 | writeChannelCount = count; | - |
| 228 | setCurrentWriteChannel(currentWriteChannel); | - |
| 229 | }executed 98824 times by 237 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 98824 |
| 230 | bool QIODevice::open(OpenMode mode) | - |
| 231 | { | - |
| 232 | QIODevicePrivate * const d = d_func(); | - |
| 233 | d->openMode = mode; | - |
| 234 | d->pos = (| TRUE | evaluated 285 times by 10 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QBuffer
- tst_QFile
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QLocalSocket
- tst_QMetaObjectBuilder
- tst_QPrinter
- tst_qfileopenevent
- tst_qmakelib
| | FALSE | evaluated 70920 times by 235 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
|
mode & Append)| TRUE | evaluated 285 times by 10 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QBuffer
- tst_QFile
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QLocalSocket
- tst_QMetaObjectBuilder
- tst_QPrinter
- tst_qfileopenevent
- tst_qmakelib
| | FALSE | evaluated 70920 times by 235 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
|
? size() : qint64(0); | 285-70920 |
| 235 | d->buffer.clear();d->accessMode = QIODevicePrivate::Unset; | - |
| 236 | d->readBuffers.clear(); | - |
| 237 | d->writeBuffers.clear(); | - |
| 238 | d->setReadChannelCount(isReadable() ? 1 : 0); | - |
| 239 | d->setWriteChannelCount(isWritable() ? 1 : 0); | - |
| 240 | | - |
| 241 | | - |
| 242 | | - |
| 243 | returnexecuted 71205 times by 235 tests: return true;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
true;executed 71205 times by 235 tests: return true;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 71205 |
| 244 | } | - |
| 245 | | - |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | | - |
| 252 | void QIODevice::close() | - |
| 253 | { | - |
| 254 | QIODevicePrivate * const d = d_func(); | - |
| 255 | if (d->openMode == NotOpen| TRUE | evaluated 1937 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextEdit
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| | FALSE | evaluated 55374 times by 233 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 1937-55374 |
| 256 | return;executed 1937 times by 18 tests: return;Executed by:- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextEdit
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| 1937 |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | aboutToClose(); | - |
| 264 | | - |
| 265 | d->openMode = NotOpen; | - |
| 266 | d->errorString.clear(); | - |
| 267 | d->pos = 0; | - |
| 268 | d->buffer.clear();transactionStarted = false; | - |
| 269 | d->transactionPos = 0; | - |
| 270 | d->setReadChannelCount(0); | - |
| 271 | | - |
| 272 | d->writeChannelCount = 0; | - |
| 273 | }executed 55374 times by 233 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 55374 |
| 274 | qint64 QIODevice::pos() const | - |
| 275 | { | - |
| 276 | const QIODevicePrivate * const d = d_func(); | - |
| 277 | | - |
| 278 | | - |
| 279 | | - |
| 280 | return d->pos; | - |
| 281 | } | - |
| 282 | qint64 QIODevice::size() const | - |
| 283 | { | - |
| 284 | return d_func()->isSequential() ? bytesAvailable() : qint64(0); | - |
| 285 | } | - |
| 286 | bool QIODevice::seek(qint64 pos) | - |
| 287 | { | - |
| 288 | QIODevicePrivate * const d = d_func(); | - |
| 289 | if (d->isSequential()| TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
| | FALSE | evaluated 297795 times by 108 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) { | 12-297795 |
| 290 | checkWarnMessage(this, "seek", "Cannot call seek on a sequential device"); | - |
| 291 | returnexecuted 12 times by 3 tests: return false;Executed by:- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
false;executed 12 times by 3 tests: return false;Executed by:- tst_QIODevice
- tst_QNetworkReply
- tst_QSslSocket
| 12 |
| 292 | } | - |
| 293 | if (d->openMode == NotOpen| TRUE | never evaluated | | FALSE | evaluated 297795 times by 108 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) { | 0-297795 |
| 294 | checkWarnMessage(this, "seek", "The device is not open"); | - |
| 295 | return never executed: return false; false;never executed: return false; | 0 |
| 296 | } | - |
| 297 | if (pos < 0| TRUE | never evaluated | | FALSE | evaluated 297795 times by 108 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) { | 0-297795 |
| 298 | QMessageLogger(__FILE__, 654861, __PRETTY_FUNCTION__).warning("QIODevice::seek: Invalid pos: %lld", pos); | - |
| 299 | return never executed: return false; false;never executed: return false; | 0 |
| 300 | } | - |
| 301 | | - |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | | - |
| 307 | qint64 offset = pos -d->devicePos = pos; | - |
| 308 | d->seekBuffer(pos); | - |
| 309 | | - |
| 310 | | - |
| 311 | | - |
| 312 | | - |
| 313 | | - |
| 314 | returnexecuted 297795 times by 108 tests: return true;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
true;executed 297795 times by 108 tests: return true;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 297795 |
| 315 | } | - |
| 316 | | - |
| 317 | | - |
| 318 | | - |
| 319 | | - |
| 320 | void QIODevicePrivate::seekBuffer(qint64 newPos) | - |
| 321 | { | - |
| 322 | const qint64 offset = newPos - pos; | - |
| 323 | d->devicePos =pos = newPos; | - |
| 324 | | - |
| 325 | if (offset < 0| TRUE | evaluated 163179 times by 96 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 168725 times by 99 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
|| offset >= d->buffer.size()| TRUE | evaluated 168244 times by 99 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| | FALSE | evaluated 481 times by 8 testsEvaluated by:- tst_LargeFile
- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QTextStream
|
) d->{ | 481-168725 |
| 326 | | - |
| 327 | | - |
| 328 | | - |
| 329 | buffer.clear(); | - |
| 330 | }executed 331423 times by 109 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
else if (!d->buffer.isEmpty()) | 331423 |
| d->{ | |
| 331 | buffer.skipfree(offset); | - |
| 332 | return true;}executed 481 times by 8 tests: end of blockExecuted by:- tst_LargeFile
- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QTextStream
| 481 |
| 333 | } | - |
| 334 | bool QIODevice::atEnd() const | - |
| 335 | { | - |
| 336 | const QIODevicePrivate * const d = d_func(); | - |
| 337 | const bool result = (d->openMode == NotOpen| TRUE | evaluated 7 times by 3 testsEvaluated by:- tst_QBuffer
- tst_QProcess
- tst_QSslSocket
| | FALSE | evaluated 6887 times by 30 testsEvaluated by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QKeySequence
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPixmap
- tst_QPrinter
- tst_QProcess
- tst_QStandardItemModel
- ...
|
|| (d->buffer.isEmptyisBufferEmpty()| TRUE | evaluated 6188 times by 30 testsEvaluated by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QKeySequence
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPixmap
- tst_QPrinter
- tst_QProcess
- tst_QStandardItemModel
- ...
| | FALSE | evaluated 699 times by 5 testsEvaluated by:- tst_QDataStream
- tst_QIODevice
- tst_QImageReader
- tst_QProcess
- tst_QTcpSocket
|
| 7-6887 |
| 338 | && bytesAvailable() == 0| TRUE | evaluated 2201 times by 25 testsEvaluated by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGuiVariant
- tst_QIODevice
- tst_QImageReader
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QStandardItemModel
- tst_QTcpSocket
- tst_QTextStream
- tst_QTranslator
- tst_QXmlStream
- tst_qmakelib
| | FALSE | evaluated 3987 times by 24 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QKeySequence
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPixmap
- tst_QPrinter
- tst_QStandardItemModel
- tst_QTcpSocket
- tst_QTextStream
- tst_QTranslator
- tst_qmakelib
|
)); | 2201-3987 |
| 339 | | - |
| 340 | | - |
| 341 | | - |
| 342 | | - |
| 343 | returnexecuted 6894 times by 31 tests: return result;Executed by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QKeySequence
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPixmap
- tst_QPrinter
- tst_QProcess
- tst_QSslSocket
- ...
result;executed 6894 times by 31 tests: return result;Executed by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QKeySequence
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPixmap
- tst_QPrinter
- tst_QProcess
- tst_QSslSocket
- ...
| 6894 |
| 344 | } | - |
| 345 | bool QIODevice::reset() | - |
| 346 | { | - |
| 347 | | - |
| 348 | | - |
| 349 | | - |
| 350 | return seek(0); | - |
| 351 | } | - |
| 352 | qint64 QIODevice::bytesAvailable() const | - |
| 353 | { | - |
| 354 | const QIODevicePrivate * const d = d_func(); | - |
| 355 | if (!d->isSequential()| TRUE | evaluated 9984 times by 58 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| | FALSE | evaluated 106572 times by 28 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- ...
|
) | 9984-106572 |
| 356 | returnexecuted 9984 times by 58 tests: return qMax(size() - d->pos, qint64(0));Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
qMax(size() - d->pos, qint64(0));executed 9984 times by 58 tests: return qMax(size() - d->pos, qint64(0));Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 9984 |
| 357 | returnexecuted 106572 times by 28 tests: return d->buffer.size() - d->transactionPos;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- ...
d->buffer.size();() - d->transactionPos;executed 106572 times by 28 tests: return d->buffer.size() - d->transactionPos;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- ...
| 106572 |
| 358 | } | - |
| 359 | qint64 QIODevice::bytesToWrite() const | - |
| 360 | { | - |
| 361 | returnexecuted 41893 times by 17 tests: return d_func()->writeBuffer.size();Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qdbusxml2cpp
- tst_spdy - unknown status
qint64(0);d_func()->writeBuffer.size();executed 41893 times by 17 tests: return d_func()->writeBuffer.size();Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qdbusxml2cpp
- tst_spdy - unknown status
| 41893 |
| 362 | } | - |
| 363 | qint64 QIODevice::read(char *data, qint64 maxSize) | - |
| 364 | { | - |
| 365 | QIODevicePrivate * const d = d_func(); | - |
| 366 | | - |
| 367 | | - |
| 368 | | - |
| 369 | | - |
| 370 | | - |
| 371 | | - |
| 372 | const bool sequential = d->isSequential(); | - |
| 373 | const bool keepDataInBuffer = sequential| TRUE | evaluated 622589 times by 51 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QRawFont
- tst_QSharedPointer
- ...
| | FALSE | evaluated 48080659 times by 168 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- ...
|
&& d->transactionStarted| TRUE | evaluated 11432 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Spdy
| | FALSE | evaluated 611157 times by 51 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QRawFont
- tst_QSharedPointer
- ...
|
; | 11432-48080659 |
| 374 | | - |
| 375 | | - |
| 376 | if (maxSize == 1| TRUE | evaluated 47672997 times by 86 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- ...
| | FALSE | evaluated 1030251 times by 186 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- ...
|
&& !keepDataInBuffer| TRUE | evaluated 47671065 times by 86 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- ...
| | FALSE | evaluated 1932 times by 7 testsEvaluated by:- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
|
) { | 1932-47672997 |
| 377 | int chint; | - |
| 378 | while ((| TRUE | evaluated 42998528 times by 56 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- ...
| | FALSE | evaluated 4672538 times by 80 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- ...
|
chint = d->buffer.getChar()) != -1| TRUE | evaluated 42998528 times by 56 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- ...
| | FALSE | evaluated 4672538 times by 80 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- ...
|
) { | 4672538-42998528 |
| 379 | if (!sequential| TRUE | evaluated 42599224 times by 47 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- ...
| | FALSE | evaluated 399304 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlSimpleReader
- tst_Spdy
|
) | 399304-42599224 |
| 380 | ++executed 42599224 times by 47 tests: ++d->pos;Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- ...
d->pos;executed 42599224 times by 47 tests: ++d->pos;Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- ...
| 42599224 |
| 381 | | - |
| 382 | char c = char(uchar(chint)); | - |
| 383 | if (c == '\r'| TRUE | evaluated 27926 times by 15 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTime
- tst_QFile
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QTimeZone
- tst_QXmlSimpleReader
- tst_Spdy
| | FALSE | evaluated 42970602 times by 56 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- ...
|
&& (d->openMode & Text)) | 27926-42970602 |
| 384 | continue;executed 1 time by 1 test: continue; | 1 |
| 385 | *data = c; | - |
| 386 | | - |
| 387 | | - |
| 388 | | - |
| 389 | | - |
| 390 | if (d->buffer.isEmpty()| TRUE | evaluated 3665 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDateTime
- tst_QFile
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPixmap
- tst_QProcess
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_QXmlSimpleReader
- tst_Spdy
| | FALSE | evaluated 42994862 times by 55 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- ...
|
) | 3665-42994862 |
| 391 | readData(data, 0);executed 3665 times by 22 tests: readData(data, 0);Executed by:- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QDataStream
- tst_QDateTime
- tst_QFile
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPixmap
- tst_QProcess
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_QXmlSimpleReader
- tst_Spdy
| 3665 |
| 392 | returnexecuted 42998527 times by 56 tests: return qint64(1);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- ...
qint64(1);executed 42998527 times by 56 tests: return qint64(1);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- ...
| 42998527 |
| 393 | } | - |
| 394 | }executed 4672538 times by 80 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- ...
| 4672538 |
| 395 | | - |
| 396 | do { if (maxSize < 0| TRUE | never evaluated | | FALSE | evaluated 5704721 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
|
) { checkWarnMessage(this, "read", "Called with maxSize < 0"); returnnever executed: return qint64(-1); qint64(-1);never executed: return qint64(-1); } } while (0); | 0-5704721 |
| 397 | qint64 readSoFar = 0; | - |
| 398 | bool madeBufferReadsOnly = true; | - |
| 399 | bool deviceAtEof = false; | - |
| 400 | char *readPtr = data; | - |
| 401 | for(;;) { | - |
| 402 | | - |
| 403 | qint64 bufferReadChunkSize = keepDataInBuffer| TRUE | evaluated 15488 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Spdy
| | FALSE | evaluated 7775691 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
|
| 15488-7775691 |
| 404 | ? d->buffer.peek(data, maxSize, d->transactionPos) | - |
| 405 | : d->buffer.read(data, maxSize); | - |
| 406 | if (bufferReadChunkSize > 0| TRUE | evaluated 837056 times by 143 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
| | FALSE | evaluated 6954123 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
|
) { | 837056-6954123 |
| 407 | if (keepDataInBuffer| TRUE | evaluated 11882 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Spdy
| | FALSE | evaluated 825174 times by 143 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
|
) | 11882-825174 |
| 408 | d->transactionPos += bufferReadChunkSize;executed 11882 times by 13 tests: d->transactionPos += bufferReadChunkSize;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Spdy
| 11882 |
| 409 | else if (!sequential| TRUE | evaluated 774216 times by 122 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| | FALSE | evaluated 50958 times by 39 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 50958-774216 |
| 410 | d->pos += bufferReadChunkSize;executed 774216 times by 122 tests: d->pos += bufferReadChunkSize;Executed by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 774216 |
| 411 | readSoFar += bufferReadChunkSize; | - |
| 412 | data += bufferReadChunkSize; | - |
| 413 | maxSize -= bufferReadChunkSize; | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | }executed 837056 times by 143 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
else { | 837056 |
| 419 | do { if ((| TRUE | evaluated 111 times by 7 testsEvaluated by:- tst_QBuffer
- tst_QFile
- tst_QNetworkReply
- tst_QProcess
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
| | FALSE | evaluated 6954012 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
|
d->openMode & ReadOnly) == 0| TRUE | evaluated 111 times by 7 testsEvaluated by:- tst_QBuffer
- tst_QFile
- tst_QNetworkReply
- tst_QProcess
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
| | FALSE | evaluated 6954012 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
|
) { if (d->openMode == NotOpen| TRUE | evaluated 109 times by 6 testsEvaluated by:- tst_QBuffer
- tst_QNetworkReply
- tst_QProcess
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
| | FALSE | evaluated 2 times by 2 tests |
) { checkWarnMessage(this, "read", "device not open"); returnexecuted 109 times by 6 tests: return qint64(-1);Executed by:- tst_QBuffer
- tst_QNetworkReply
- tst_QProcess
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
qint64(-1);executed 109 times by 6 tests: return qint64(-1);Executed by:- tst_QBuffer
- tst_QNetworkReply
- tst_QProcess
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
} checkWarnMessage(this, "read", "WriteOnly device"); returnexecuted 2 times by 2 tests: return qint64(-1); qint64(-1);executed 2 times by 2 tests: return qint64(-1); } } while (0); | 2-6954012 |
| 420 | }executed 6954012 times by 192 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
| 6954012 |
| 421 | | - |
| 422 | if (maxSize > 0| TRUE | evaluated 4975009 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
| | FALSE | evaluated 2816059 times by 136 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- ...
|
&& !deviceAtEof| TRUE | evaluated 4969329 times by 192 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
| | FALSE | evaluated 5680 times by 41 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QMovie
- ...
|
) { | 5680-4975009 |
| 423 | qint64 readFromDevice = 0; | - |
| 424 | | - |
| 425 | if (sequential| TRUE | evaluated 178186 times by 51 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QRawFont
- tst_QSharedPointer
- ...
| | FALSE | evaluated 4791143 times by 168 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- ...
|
|| d->pos == d->devicePos| TRUE | evaluated 4768137 times by 168 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- ...
| | FALSE | evaluated 23006 times by 86 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBitArray
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- ...
|
|| seek(d->pos)| TRUE | evaluated 23006 times by 86 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBitArray
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- ...
| | FALSE | never evaluated |
) { | 0-4791143 |
| 426 | madeBufferReadsOnly = false; | - |
| 427 | if (((maxSize >= static_cast<long long>(16384LL)d->readBufferChunkSize| TRUE | evaluated 32516 times by 91 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 4936813 times by 182 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- ...
|
|| (d->openMode & Unbuffered)) | 32516-4936813 |
| 428 | && !keepDataInBuffer| TRUE | evaluated 4809281 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- ...
| | FALSE | evaluated 3970 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_Spdy
|
) { | 3970-4809281 |
| 429 | | - |
| 430 | readFromDevice = readData(data, maxSize); | - |
| 431 | deviceAtEof = (readFromDevice != maxSize); | - |
| 432 | | - |
| 433 | | - |
| 434 | | - |
| 435 | | - |
| 436 | if (readFromDevice > 0| TRUE | evaluated 4788007 times by 120 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| | FALSE | evaluated 21274 times by 56 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHeaderView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaType
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinterInfo
- ...
|
) { | 21274-4788007 |
| 437 | readSoFar += readFromDevice; | - |
| 438 | data += readFromDevice; | - |
| 439 | maxSize -= readFromDevice; | - |
| 440 | if (!sequential| TRUE | evaluated 4650749 times by 110 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 137258 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkReply
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRawFont
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUuid
- tst_Spdy
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
- tst_quuid - unknown status
|
) { | 137258-4650749 |
| 441 | d->pos += readFromDevice; | - |
| 442 | d->devicePos += readFromDevice; | - |
| 443 | }executed 4650749 times by 110 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| 4650749 |
| 444 | }executed 4788007 times by 120 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| 4788007 |
| 445 | }executed 4809281 times by 136 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- ...
else { | 4809281 |
| 446 | | - |
| 447 | const qint64 bytesToBuffer = static_cast<long long>(16384LL(| TRUE | evaluated 3959 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_Spdy
| | FALSE | evaluated 156089 times by 143 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- ...
|
| TRUE | evaluated 3959 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_Spdy
| | FALSE | evaluated 156089 times by 143 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- ...
|
d->openMode & Unbuffered)| TRUE | evaluated 3959 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_Spdy
| | FALSE | evaluated 156089 times by 143 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- ...
|
| 3959-156089 |
| 448 | ? qMin(maxSize, qint64(d->readBufferChunkSize)) | - |
| 449 | : qint64(d->readBufferChunkSize); | - |
| 450 | | - |
| 451 | readFromDevice = readData(d->buffer.reserve(bytesToBuffer), bytesToBuffer); | - |
| 452 | deviceAtEof = (readFromDevice != bytesToBuffer); | - |
| 453 | d->buffer.chop(bytesToBuffer - qMax(static_cast<long long>(0LL), readFromDevice)); | - |
| 454 | if (readFromDevice > 0| TRUE | evaluated 84201 times by 124 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| | FALSE | evaluated 75847 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCryptographicHash
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QGraphicsScene
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLocalSocket
- tst_QLockFile
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- ...
|
) { | 75847-84201 |
| 455 | if (!sequential| TRUE | evaluated 77630 times by 121 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| | FALSE | evaluated 6571 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSslSocket
- tst_QTcpSocket
- tst_QXmlStream
- tst_Spdy
|
) | 6571-77630 |
| 456 | d->devicePos += readFromDevice;executed 77630 times by 121 tests: d->devicePos += readFromDevice;Executed by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| 77630 |
| 457 | | - |
| 458 | | - |
| 459 | | - |
| 460 | | - |
| 461 | continue;executed 84201 times by 124 tests: continue;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 84201 |
| 462 | } | - |
| 463 | }executed 75847 times by 50 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCryptographicHash
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QGraphicsScene
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLocalSocket
- tst_QLockFile
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- ...
| 75847 |
| 464 | } else { | - |
| 465 | readFromDevice = -1; | - |
| 466 | } never executed: end of block | 0 |
| 467 | | - |
| 468 | if (readFromDevice < 0| TRUE | evaluated 7792 times by 30 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QUuid
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- ...
| | FALSE | evaluated 4877336 times by 135 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFile
- ...
|
&& readSoFar == 0| TRUE | evaluated 6695 times by 30 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QUuid
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- ...
| | FALSE | evaluated 1097 times by 20 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFont
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QTcpSocket
- tst_QUuid
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- tst_qmakelib
- tst_qmessagehandler
- tst_uic
|
) { | 1097-4877336 |
| 469 | | - |
| 470 | returnexecuted 6695 times by 30 tests: return qint64(-1);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QUuid
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- ...
qint64(-1);executed 6695 times by 30 tests: return qint64(-1);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFont
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QUuid
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- ...
| 6695 |
| 471 | } | - |
| 472 | }executed 4878433 times by 141 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- ...
| 4878433 |
| 473 | | - |
| 474 | if ((d->openMode & Text) && readPtr < data| TRUE | evaluated 2002257 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 2002126 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
|
) { | 2002126-2002257 |
| 475 | const char *endPtr = data; | - |
| 476 | | - |
| 477 | | - |
| 478 | while (*| TRUE | evaluated 43209181 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 315 times by 3 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QSslCertificate
|
readPtr != '\r'| TRUE | evaluated 43209181 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 315 times by 3 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QSslCertificate
|
) { | 315-43209181 |
| 479 | if (++| TRUE | evaluated 2001942 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 41207239 times by 13 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
|
readPtr == endPtr| TRUE | evaluated 2001942 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 41207239 times by 13 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
|
) | 2001942-41207239 |
| 480 | break;executed 2001942 times by 14 tests: break;Executed by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| 2001942 |
| 481 | }executed 41207239 times by 13 tests: end of blockExecuted by:- tst_QCssParser
- tst_QFile
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| 41207239 |
| 482 | | - |
| 483 | char *writePtr = readPtr; | - |
| 484 | | - |
| 485 | while (readPtr < endPtr| TRUE | evaluated 5790 times by 3 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QSslCertificate
| | FALSE | evaluated 2002257 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
|
) { | 5790-2002257 |
| 486 | char ch = *readPtr++; | - |
| 487 | if (ch != '\r'| TRUE | evaluated 5408 times by 2 testsEvaluated by:- tst_QFile
- tst_QSslCertificate
| | FALSE | evaluated 382 times by 3 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QSslCertificate
|
) | 382-5408 |
| 488 | *executed 5408 times by 2 tests: *writePtr++ = ch;Executed by:- tst_QFile
- tst_QSslCertificate
writePtr++ = ch;executed 5408 times by 2 tests: *writePtr++ = ch;Executed by:- tst_QFile
- tst_QSslCertificate
| 5408 |
| 489 | else { | - |
| 490 | --readSoFar; | - |
| 491 | --data; | - |
| 492 | ++maxSize; | - |
| 493 | }executed 382 times by 3 tests: end of blockExecuted by:- tst_QFile
- tst_QIODevice
- tst_QSslCertificate
| 382 |
| 494 | } | - |
| 495 | | - |
| 496 | | - |
| 497 | | - |
| 498 | | - |
| 499 | readPtr = data; | - |
| 500 | continue;executed 2002257 times by 14 tests: continue;Executed by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
- tst_uic
| 2002257 |
| 501 | } | - |
| 502 | | - |
| 503 | break;executed 5697915 times by 191 tests: break;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
| 5697915 |
| 504 | } | - |
| 505 | | - |
| 506 | | - |
| 507 | | - |
| 508 | | - |
| 509 | | - |
| 510 | | - |
| 511 | | - |
| 512 | if (madeBufferReadsOnly| TRUE | evaluated 735577 times by 110 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| | FALSE | evaluated 4962338 times by 191 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
|
&& d->buffer.isEmptyisBufferEmpty()| TRUE | evaluated 36654 times by 102 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| | FALSE | evaluated 698923 times by 96 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 36654-4962338 |
| 513 | { | 36654 |
| d->buffer.clear();readData(data, 0);executed 36654 times by 102 tests: readData(data, 0);Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| |
| 514 | | - |
| 515 | }returnexecuted 5697915 times by 191 tests: return readSoFar;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
readSoFar;executed 5697915 times by 191 tests: return readSoFar;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- ...
| 5697915 |
| 516 | } | - |
| 517 | QByteArray QIODevice::read(qint64 maxSize) | - |
| 518 | { | - |
| 519 | QIODevicePrivate * const d = d_func(); | - |
| 520 | QByteArray result; | - |
| 521 | | - |
| 522 | do { if (maxSize < 0| TRUE | never evaluated | | FALSE | evaluated 69121 times by 92 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) { checkWarnMessage(this, "read", "Called with maxSize < 0"); returnnever executed: return result; result;never executed: return result; } } while (0); | 0-69121 |
| 523 | (void)d;;do { if (maxSize >= MaxByteArraySize| TRUE | never evaluated | | FALSE | evaluated 69121 times by 92 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) { checkWarnMessage(this, "read", "maxSize argument exceeds QByteArray size limit"); maxSize = MaxByteArraySize - 1; }never executed: end of block } while (0); | 0-69121 |
| 524 | | - |
| 525 | | - |
| 526 | | - |
| 527 | | - |
| 528 | | - |
| 529 | | - |
| 530 | qint64 readBytes = 0; | - |
| 531 | if (maxSize| TRUE | evaluated 69120 times by 92 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| | FALSE | evaluated 1 time by 1 test |
) { | 1-69120 |
| 532 | result.resize(int(maxSize)); | - |
| 533 | if (!result.size()| TRUE | never evaluated | | FALSE | evaluated 69120 times by 92 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) { | 0-69120 |
| 534 | | - |
| 535 | qint64 readResult; | - |
| 536 | do { | - |
| 537 | result.resize(int(qMin(maxSize, qint64(result.size() + static_cast<long long>(16384LLd->readBufferChunkSize)))); | - |
| 538 | readResult = read(result.data() + readBytes, result.size() - readBytes); | - |
| 539 | if (readResult > 0| TRUE | never evaluated | | FALSE | never evaluated |
|| readBytes == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 540 | readBytes += readResult; never executed: readBytes += readResult; | 0 |
| 541 | } never executed: end of block while (readResult == static_cast<long long>(16384LL));d->readBufferChunkSize| TRUE | never evaluated | | FALSE | never evaluated |
); | 0 |
| 542 | } never executed: end of block else { | 0 |
| 543 | readBytes = read(result.data(), result.size()); | - |
| 544 | }executed 69120 times by 92 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 69120 |
| 545 | } | - |
| 546 | | - |
| 547 | if (readBytes <= 0| TRUE | evaluated 98 times by 7 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QMovie
- tst_QPixmap
- tst_QSslSocket
| | FALSE | evaluated 69023 times by 92 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 98-69023 |
| 548 | result.clear();executed 98 times by 7 tests: result.clear();Executed by:- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QMovie
- tst_QPixmap
- tst_QSslSocket
| 98 |
| 549 | else | - |
| 550 | result.resize(int(readBytes));executed 69023 times by 92 tests: result.resize(int(readBytes));Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 69023 |
| 551 | | - |
| 552 | returnexecuted 69121 times by 92 tests: return result;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
result;executed 69121 times by 92 tests: return result;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 69121 |
| 553 | } | - |
| 554 | QByteArray QIODevice::readAll() | - |
| 555 | { | - |
| 556 | QIODevicePrivate * const d = d_func(); | - |
| 557 | | - |
| 558 | | - |
| 559 | | - |
| 560 | | - |
| 561 | | - |
| 562 | QByteArray result; | - |
| 563 | qint64 readBytes = (d->isSequential()| TRUE | evaluated 14488 times by 37 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUuid
- ...
| | FALSE | evaluated 16656 times by 75 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
|
? static_cast<long long>(0LL) : size()); | 14488-16656 |
| 564 | if (readBytes == 0| TRUE | evaluated 14508 times by 39 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
| | FALSE | evaluated 16636 times by 75 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
|
) { | 14508-16636 |
| 565 | | - |
| 566 | qint64 readChunkSize = qMax(qint64(d->readBufferChunkSize), | - |
| 567 | d->isSequential() ? (d->buffer.size(), static_cast<long long>(16384LL));() - d->transactionPos) | - |
| 568 | : d->buffer.size()); | - |
| 569 | qint64 readResult; | - |
| 570 | do { | - |
| 571 | if (readBytes + readChunkSize >= MaxByteArraySize| TRUE | never evaluated | | FALSE | evaluated 27495 times by 39 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
|
) { | 0-27495 |
| 572 | | - |
| 573 | break; never executed: break; | 0 |
| 574 | } | - |
| 575 | result.resize(readBytes + readChunkSize); | - |
| 576 | readResult = read(result.data() + readBytes, readChunkSize); | - |
| 577 | if (readResult > 0| TRUE | evaluated 12987 times by 35 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUuid
- tst_Selftests
- ...
| | FALSE | evaluated 14508 times by 39 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
|
|| readBytes == 0| TRUE | evaluated 2477 times by 25 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- tst_qmakelib
- tst_qnetworkreply - unknown status
- tst_qprocess - unknown status
- tst_rcc
- tst_uic
| | FALSE | evaluated 12031 times by 35 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUuid
- tst_Selftests
- ...
|
) { | 2477-14508 |
| 578 | readBytes += readResult; | - |
| 579 | readChunkSize = static_cast<long long>(16384LL);d->readBufferChunkSize; | - |
| 580 | }executed 15464 times by 39 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
| 15464 |
| 581 | }executed 27495 times by 39 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
while (readResult > 0| TRUE | evaluated 12987 times by 35 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUuid
- tst_Selftests
- ...
| | FALSE | evaluated 14508 times by 39 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
|
); | 12987-27495 |
| 582 | }executed 14508 times by 39 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFont
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSharedPointer
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- ...
else { | 14508 |
| 583 | | - |
| 584 | | - |
| 585 | readBytes -= d->pos; | - |
| 586 | if (readBytes >= MaxByteArraySize| TRUE | never evaluated | | FALSE | evaluated 16636 times by 75 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
|
) | 0-16636 |
| 587 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
| 588 | result.resize(readBytes); | - |
| 589 | readBytes = read(result.data(), readBytes); | - |
| 590 | }executed 16636 times by 75 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
| 16636 |
| 591 | | - |
| 592 | if (readBytes <= 0| TRUE | evaluated 3698 times by 25 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- tst_qmakelib
- tst_qnetworkreply - unknown status
- tst_qprocess - unknown status
- tst_rcc
- tst_uic
| | FALSE | evaluated 27446 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFontDialog
- ...
|
) | 3698-27446 |
| 593 | result.clear();executed 3698 times by 25 tests: result.clear();Executed by:- tst_QAbstractNetworkCache
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QFile
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QProcess
- tst_QSharedPointer
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qdbusxml2cpp
- tst_qmake
- tst_qmakelib
- tst_qnetworkreply - unknown status
- tst_qprocess - unknown status
- tst_rcc
- tst_uic
| 3698 |
| 594 | else | - |
| 595 | result.resize(int(readBytes));executed 27446 times by 97 tests: result.resize(int(readBytes));Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFontDialog
- ...
| 27446 |
| 596 | | - |
| 597 | returnexecuted 31144 times by 98 tests: return result;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFontDialog
- ...
result;executed 31144 times by 98 tests: return result;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFontDialog
- ...
| 31144 |
| 598 | } | - |
| 599 | qint64 QIODevice::readLine(char *data, qint64 maxSize) | - |
| 600 | { | - |
| 601 | QIODevicePrivate * const d = d_func(); | - |
| 602 | if (maxSize < 2| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QIODevice
- tst_QSslSocket
| | FALSE | evaluated 107424 times by 46 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- ...
|
) { | 10-107424 |
| 603 | checkWarnMessage(this, "readLine", "Called with maxSize < 2"); | - |
| 604 | returnexecuted 10 times by 2 tests: return qint64(-1);Executed by:- tst_QIODevice
- tst_QSslSocket
qint64(-1);executed 10 times by 2 tests: return qint64(-1);Executed by:- tst_QIODevice
- tst_QSslSocket
| 10 |
| 605 | } | - |
| 606 | | - |
| 607 | | - |
| 608 | | - |
| 609 | | - |
| 610 | | - |
| 611 | | - |
| 612 | | - |
| 613 | --maxSize; | - |
| 614 | | - |
| 615 | const bool sequential = d->isSequential(); | - |
| 616 | const bool keepDataInBuffer = sequential| TRUE | evaluated 5971 times by 12 testsEvaluated by:- tst_QFile
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
| | FALSE | evaluated 101453 times by 39 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
&& d->transactionStarted| TRUE | never evaluated | | FALSE | evaluated 5971 times by 12 testsEvaluated by:- tst_QFile
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
|
; | 0-101453 |
| 617 | | - |
| 618 | qint64 readSoFar = 0; | - |
| 619 | if (keepDataInBuffer| TRUE | never evaluated | | FALSE | evaluated 107424 times by 46 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- ...
|
) { | 0-107424 |
| 620 | if (d->transactionPos < d->buffer.size()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 621 | | - |
| 622 | const qint64 i = d->buffer.indexOf('\n', maxSize, d->transactionPos); | - |
| 623 | readSoFar = d->buffer.peek(data, i >= 0 ? (i - d->transactionPos + 1) : maxSize, | - |
| 624 | d->transactionPos); | - |
| 625 | d->transactionPos += readSoFar; | - |
| 626 | if (d->transactionPos == d->buffer.size()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 627 | readData(data, 0); never executed: readData(data, 0); | 0 |
| 628 | } never executed: end of block | 0 |
| 629 | } never executed: end of block else if (!d->buffer.isEmpty()| TRUE | evaluated 101031 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| | FALSE | evaluated 6393 times by 42 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
) { | 0-101031 |
| 630 | | - |
| 631 | readSoFar = d->buffer.readLine(data, maxSize + 1); | - |
| 632 | if (d->buffer.isEmpty()| TRUE | evaluated 5236 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| | FALSE | evaluated 95795 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
) | 5236-95795 |
| 633 | readData(data,0);executed 5236 times by 41 tests: readData(data,0);Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 5236 |
| 634 | if (!sequential| TRUE | evaluated 95165 times by 35 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- ...
| | FALSE | evaluated 5866 times by 9 testsEvaluated by:- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QTcpSocket
- tst_QXmlInputSource
|
) | 5866-95165 |
| 635 | d->pos += readSoFar;executed 95165 times by 35 tests: d->pos += readSoFar;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- ...
| 95165 |
| 636 | }executed 101031 times by 41 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 101031 |
| 637 | | - |
| 638 | if (readSoFar&&| TRUE | evaluated 101031 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| | FALSE | evaluated 6393 times by 42 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
) { | 6393-101031 |
| 639 | | - |
| 640 | | - |
| 641 | | - |
| 642 | | - |
| 643 | | - |
| 644 | if (data[readSoFar - 1] == '\n'| TRUE | evaluated 100535 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| | FALSE | evaluated 496 times by 10 testsEvaluated by:- tst_QChar
- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextStream
- tst_QXmlInputSource
|
) { | 496-100535 |
| 645 | if (d->openMode & Text| TRUE | evaluated 36 times by 3 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QProcess
| | FALSE | evaluated 100499 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
) { | 36-100499 |
| 646 | | - |
| 647 | if (readSoFar > 1| TRUE | evaluated 36 times by 3 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QProcess
| | FALSE | never evaluated |
&& data[readSoFar - 2] == '\r'| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 35 times by 3 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QProcess
|
) { | 0-36 |
| 648 | --readSoFar; | - |
| 649 | data[readSoFar - 1] = '\n'; | - |
| 650 | }executed 1 time by 1 test: end of block | 1 |
| 651 | }executed 36 times by 3 tests: end of blockExecuted by:- tst_QCssParser
- tst_QFile
- tst_QProcess
| 36 |
| 652 | data[readSoFar] = '\0'; | - |
| 653 | returnexecuted 100535 times by 41 tests: return readSoFar;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
readSoFar;executed 100535 times by 41 tests: return readSoFar;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 100535 |
| 654 | } | - |
| 655 | }executed 496 times by 10 tests: end of blockExecuted by:- tst_QChar
- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextStream
- tst_QXmlInputSource
| 496 |
| 656 | | - |
| 657 | if (d->pos != d->devicePos| TRUE | evaluated 112 times by 3 testsEvaluated by:- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
| | FALSE | evaluated 6777 times by 43 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
&& !sequential| TRUE | evaluated 112 times by 3 testsEvaluated by:- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
| | FALSE | never evaluated |
&& !seek(d->pos)| TRUE | never evaluated | | FALSE | evaluated 112 times by 3 testsEvaluated by:- tst_QIODevice
- tst_QImageReader
- tst_QNetworkReply
|
) | 0-6777 |
| 658 | return never executed: return qint64(-1); qint64(-1);never executed: return qint64(-1); | 0 |
| 659 | d->baseReadLineDataCalled = false; | - |
| 660 | | - |
| 661 | | - |
| 662 | qint64 readBytes = keepDataInBuffer| TRUE | never evaluated | | FALSE | evaluated 6889 times by 43 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
| 0-6889 |
| 663 | ? QIODevice::readLineData(data + readSoFar, maxSize - readSoFar) | - |
| 664 | : readLineData(data + readSoFar, maxSize - readSoFar); | - |
| 665 | | - |
| 666 | | - |
| 667 | | - |
| 668 | | - |
| 669 | | - |
| 670 | | - |
| 671 | | - |
| 672 | if (readBytes < 0| TRUE | evaluated 354 times by 10 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QLockFile
- tst_QNetworkReply
- tst_QPixmap
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
| | FALSE | evaluated 6535 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
) { | 354-6535 |
| 673 | data[readSoFar] = '\0'; | - |
| 674 | returnexecuted 354 times by 10 tests: return readSoFar ? readSoFar : -1;Executed by:- tst_QFile
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QLockFile
- tst_QNetworkReply
- tst_QPixmap
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
readSoFar ? readSoFar : -1;executed 354 times by 10 tests: return readSoFar ? readSoFar : -1;Executed by:- tst_QFile
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QLockFile
- tst_QNetworkReply
- tst_QPixmap
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
| 354 |
| 675 | } | - |
| 676 | readSoFar += readBytes; | - |
| 677 | if (!d->baseReadLineDataCalled| TRUE | never evaluated | | FALSE | evaluated 6535 times by 41 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
|
&& !sequential| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-6535 |
| 678 | d->pos += readBytes; | - |
| 679 | | - |
| 680 | | - |
| 681 | d->devicePos = qint64(-1); | - |
| 682 | } never executed: end of block | 0 |
| 683 | data[readSoFar] = '\0'; | - |
| 684 | | - |
| 685 | if (d->openMode & Text| TRUE | evaluated 411 times by 4 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QProcess
| | FALSE | evaluated 6124 times by 39 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- ...
|
) { | 411-6124 |
| 686 | if (readSoFar > 1| TRUE | evaluated 333 times by 4 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QProcess
| | FALSE | evaluated 78 times by 1 test |
&& data[readSoFar - 1] == '\n'| TRUE | evaluated 227 times by 4 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QProcess
| | FALSE | evaluated 106 times by 1 test |
&& data[readSoFar - 2] == '\r'| TRUE | never evaluated | | FALSE | evaluated 227 times by 4 testsEvaluated by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QProcess
|
) { | 0-333 |
| 687 | data[readSoFar - 2] = '\n'; | - |
| 688 | data[readSoFar - 1] = '\0'; | - |
| 689 | --readSoFar; | - |
| 690 | } never executed: end of block | 0 |
| 691 | }executed 411 times by 4 tests: end of blockExecuted by:- tst_QCssParser
- tst_QFile
- tst_QIODevice
- tst_QProcess
| 411 |
| 692 | | - |
| 693 | | - |
| 694 | | - |
| 695 | | - |
| 696 | | - |
| 697 | | - |
| 698 | returnexecuted 6535 times by 41 tests: return readSoFar;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
readSoFar;executed 6535 times by 41 tests: return readSoFar;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- ...
| 6535 |
| 699 | } | - |
| 700 | QByteArray QIODevice::readLine(qint64 maxSize) | - |
| 701 | { | - |
| 702 | QIODevicePrivate * const d = d_func(); | - |
| 703 | QByteArray result; | - |
| 704 | | - |
| 705 | do { if (maxSize < 0| TRUE | never evaluated | | FALSE | evaluated 50903 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
|
) { checkWarnMessage(this, "readLine", "Called with maxSize < 0"); returnnever executed: return result; result;never executed: return result; } } while (0); | 0-50903 |
| 706 | (void)d;;do { if (maxSize >= MaxByteArraySize| TRUE | never evaluated | | FALSE | evaluated 50903 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
|
) { QMessageLoggercheckWarnMessage(__FILE__this,1170 "readLine",__PRETTY_FUNCTION__).warning("QIODevice::read: maxSize"maxSize argument exceeds QByteArray size limit"); maxSize = MaxByteArraySize - 1; }never executed: end of block } while (0); | 0-50903 |
| 707 | | - |
| 708 | | - |
| 709 | | - |
| 710 | | - |
| 711 | | - |
| 712 | | - |
| 713 | result.resize(int(maxSize)); | - |
| 714 | qint64 readBytes = 0; | - |
| 715 | if (!result.size()| TRUE | evaluated 50894 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| | FALSE | evaluated 9 times by 1 test |
) { | 9-50894 |
| 716 | | - |
| 717 | if (maxSize == 0| TRUE | evaluated 50894 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| | FALSE | never evaluated |
) | 0-50894 |
| 718 | maxSize = MaxByteArraySize - 1;executed 50894 times by 40 tests: maxSize = MaxByteArraySize - 1;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| 50894 |
| 719 | | - |
| 720 | | - |
| 721 | result.resize(1); | - |
| 722 | | - |
| 723 | qint64 readResult; | - |
| 724 | do { | - |
| 725 | result.resize(int(qMin(maxSize, qint64(result.size() + static_cast<long long>(16384LLd->readBufferChunkSize)))); | - |
| 726 | readResult = readLine(result.data() + readBytes, result.size() - readBytes); | - |
| 727 | if (readResult > 0| TRUE | evaluated 50855 times by 39 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| | FALSE | evaluated 111 times by 6 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QLockFile
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QUdpSocket
|
|| readBytes == 0| TRUE | evaluated 111 times by 6 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QLockFile
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QUdpSocket
| | FALSE | never evaluated |
) | 0-50855 |
| 728 | readBytes += readResult;executed 50966 times by 40 tests: readBytes += readResult;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| 50966 |
| 729 | }executed 50966 times by 40 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
while (readResult == static_cast<long long>(16384LL)d->readBufferChunkSize| TRUE | evaluated 80 times by 2 testsEvaluated by:- tst_QIODevice
- tst_QNetworkReply
| | FALSE | evaluated 50886 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
|
| 80-50966 |
| 730 | && result[int(readBytes - 1)] != '\n'| TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_QIODevice
- tst_QNetworkReply
| | FALSE | evaluated 8 times by 1 test |
); | 8-72 |
| 731 | }executed 50894 times by 40 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
else | 50894 |
| 732 | readBytes = readLine(result.data(), result.size());executed 9 times by 1 test: readBytes = readLine(result.data(), result.size()); | 9 |
| 733 | | - |
| 734 | if (readBytes <= 0| TRUE | evaluated 111 times by 6 testsEvaluated by:- tst_QFile
- tst_QIODevice
- tst_QLockFile
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QUdpSocket
| | FALSE | evaluated 50792 times by 39 testsEvaluated by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
|
) | 111-50792 |
| 735 | result.clear();executed 111 times by 6 tests: result.clear();Executed by:- tst_QFile
- tst_QIODevice
- tst_QLockFile
- tst_QNetworkReply
- tst_QTcpSocket
- tst_QUdpSocket
| 111 |
| 736 | else | - |
| 737 | result.resize(readBytes);executed 50792 times by 39 tests: result.resize(readBytes);Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| 50792 |
| 738 | | - |
| 739 | returnexecuted 50903 times by 40 tests: return result;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
result;executed 50903 times by 40 tests: return result;Executed by:- tst_QAccessibility
- tst_QBuffer
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcon
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- ...
| 50903 |
| 740 | } | - |
| 741 | qint64 QIODevice::readLineData(char *data, qint64 maxSize) | - |
| 742 | { | - |
| 743 | QIODevicePrivate * const d = d_func(); | - |
| 744 | qint64 readSoFar = 0; | - |
| 745 | char c; | - |
| 746 | int lastReadReturn = 0; | - |
| 747 | d->baseReadLineDataCalled = true; | - |
| 748 | | - |
| 749 | while (readSoFar < maxSize && (lastReadReturn = read(&c, 1)) == 1) { | - |
| 750 | *data++ = c; | - |
| 751 | ++readSoFar; | - |
| 752 | if (c == '\n') | - |
| 753 | break; | - |
| 754 | } | - |
| 755 | | - |
| 756 | | - |
| 757 | | - |
| 758 | | - |
| 759 | | - |
| 760 | if (lastReadReturn != 1 && readSoFar == 0) | - |
| 761 | return isSequential() ? lastReadReturn : -1; | - |
| 762 | return readSoFar; | - |
| 763 | } | - |
| 764 | bool QIODevice::canReadLine() const | - |
| 765 | { | - |
| 766 | const QIODevicePrivate * const d = d_func(); | - |
| 767 | returnexecuted 10381 times by 12 tests: return d->buffer.indexOf('\n', d->buffer.size(), d->isSequential() ? d->transactionPos : static_cast<long long>(0LL)) >= 0;Executed by:- tst_QBuffer
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlSimpleReader
d->buffer.indexOf('\n', d->buffer.size(),executed 10381 times by 12 tests: return d->buffer.indexOf('\n', d->buffer.size(), d->isSequential() ? d->transactionPos : static_cast<long long>(0LL)) >= 0;Executed by:- tst_QBuffer
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlSimpleReader
| 10381 |
| 768 | d->isSequential() ? d->transactionPos : static_cast<long long>(0LL)) >= 0;executed 10381 times by 12 tests: return d->buffer.indexOf('\n', d->buffer.size(), d->isSequential() ? d->transactionPos : static_cast<long long>(0LL)) >= 0;Executed by:- tst_QBuffer
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlSimpleReader
| 10381 |
| 769 | } | - |
| 770 | void QIODevice::startTransaction() | - |
| 771 | { | - |
| 772 | QIODevicePrivate * const d = d_func()->(); | - |
| 773 | if (d->transactionStarted| TRUE | never evaluated | | FALSE | evaluated 38871 times by 85 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
|
) { | 0-38871 |
| 774 | checkWarnMessage(this, "startTransaction", "Called while transaction already in progress"); | - |
| 775 | return; never executed: return; | 0 |
| 776 | } | - |
| 777 | d->transactionPos = d->pos; | - |
| 778 | d->transactionStarted = true; | - |
| 779 | }executed 38871 times by 85 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
| 38871 |
| 780 | void QIODevice::commitTransaction() | - |
| 781 | { | - |
| 782 | QIODevicePrivate * const d = d_func(); | - |
| 783 | if (!d->transactionStarted| TRUE | never evaluated | | FALSE | evaluated 653 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QIODevice
|
) { | 0-653 |
| 784 | checkWarnMessage(this, "commitTransaction", "Called while no transaction in progress"); | - |
| 785 | return; never executed: return; | 0 |
| 786 | } | - |
| 787 | if (d->isSequential()| TRUE | evaluated 456 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QIODevice
| | FALSE | evaluated 197 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QIODevice
|
) | 197-456 |
| 788 | d->executed 456 times by 2 tests: d->buffer.free(d->transactionPos);Executed by:- tst_QDataStream
- tst_QIODevice
executed 456 times by 2 tests: d->buffer.free(d->transactionPos);Executed by:- tst_QDataStream
- tst_QIODevice
buffer.canReadLinefree(d->transactionPos);executed 456 times by 2 tests: d->buffer.free(d->transactionPos);Executed by:- tst_QDataStream
- tst_QIODevice
| 456 |
| 789 | d->transactionStarted = false; | - |
| 790 | d->transactionPos = 0; | - |
| 791 | }executed 653 times by 2 tests: end of blockExecuted by:- tst_QDataStream
- tst_QIODevice
| 653 |
| 792 | void QIODevice::rollbackTransaction() | - |
| 793 | { | - |
| 794 | QIODevicePrivate * const d = d_func(); | - |
| 795 | if (!d->transactionStarted| TRUE | never evaluated | | FALSE | evaluated 38218 times by 85 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
|
) { | 0-38218 |
| 796 | checkWarnMessage(this, "rollbackTransaction", "Called while no transaction in progress"); | - |
| 797 | return; never executed: return; | 0 |
| 798 | } | - |
| 799 | if (!d->isSequential()| TRUE | evaluated 34109 times by 75 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
| | FALSE | evaluated 4109 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QHttpNetworkConnection
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Spdy
|
) | 4109-34109 |
| 800 | d->seekBuffer(d->transactionPos);executed 34109 times by 75 tests: d->seekBuffer(d->transactionPos);Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
| 34109 |
| 801 | d->transactionStarted = false; | - |
| 802 | d->transactionPos = 0; | - |
| 803 | }executed 38218 times by 85 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
| 38218 |
| 804 | bool QIODevice::isTransactionStarted() const | - |
| 805 | { | - |
| 806 | returnexecuted 5030 times by 29 tests: return d_func()->transactionStarted;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBrush
- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaObjectBuilder
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPen
- tst_QSettings
- tst_QSplitter
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- ...
d_func()->transactionStarted;executed 5030 times by 29 tests: return d_func()->transactionStarted;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QBrush
- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaObjectBuilder
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPen
- tst_QSettings
- tst_QSplitter
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- ...
| 5030 |
| 807 | } | - |
| 808 | qint64 QIODevice::write(const char *data, qint64 maxSize) | - |
| 809 | { | - |
| 810 | QIODevicePrivate * const d = d_func(); | - |
| 811 | do { if ((| TRUE | evaluated 35 times by 5 testsEvaluated by:- tst_QFile
- tst_QProcess
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
| | FALSE | evaluated 1012161 times by 117 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- ...
|
d->openMode & WriteOnly) == 0| TRUE | evaluated 35 times by 5 testsEvaluated by:- tst_QFile
- tst_QProcess
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
| | FALSE | evaluated 1012161 times by 117 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- ...
|
) { if (d->openMode == NotOpen| TRUE | evaluated 34 times by 4 testsEvaluated by:- tst_QProcess
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
| | FALSE | evaluated 1 time by 1 test |
) { checkWarnMessage(this, "write", "device not open"); returnexecuted 34 times by 4 tests: return qint64(-1);Executed by:- tst_QProcess
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
qint64(-1);executed 34 times by 4 tests: return qint64(-1);Executed by:- tst_QProcess
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
} checkWarnMessage(this, "write", "ReadOnly device"); returnexecuted 1 time by 1 test: return qint64(-1); qint64(-1);executed 1 time by 1 test: return qint64(-1); } } while (0); | 1-1012161 |
| 812 | do { if (maxSize < 0| TRUE | never evaluated | | FALSE | evaluated 1012161 times by 117 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- ...
|
) { checkWarnMessage(this, "write", "Called with maxSize < 0"); returnnever executed: return qint64(-1); qint64(-1);never executed: return qint64(-1); } } while (0); | 0-1012161 |
| 813 | | - |
| 814 | const bool sequential = d->isSequential(); | - |
| 815 | | - |
| 816 | if (d->pos != d->devicePos| TRUE | evaluated 54 times by 7 testsEvaluated by:- tst_QFile
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_qmakelib
| | FALSE | evaluated 1012107 times by 117 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- ...
|
&& !sequential| TRUE | evaluated 54 times by 7 testsEvaluated by:- tst_QFile
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_qmakelib
| | FALSE | never evaluated |
&& !seek(d->pos)| TRUE | never evaluated | | FALSE | evaluated 54 times by 7 testsEvaluated by:- tst_QFile
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_qmakelib
|
) | 0-1012107 |
| 817 | return never executed: return qint64(-1); qint64(-1);never executed: return qint64(-1); | 0 |
| 818 | qint64 written = writeData(data, maxSize); | - |
| 819 | if ((!sequential| TRUE | evaluated 349534 times by 92 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
| | FALSE | evaluated 662627 times by 36 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFile
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLocalSocket
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProcess
- tst_QProcess_and_GuiEventLoop
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
&& written > 0) {| TRUE | evaluated 347302 times by 92 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
| | FALSE | evaluated 2232 times by 12 testsEvaluated by:- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBuffer
- tst_QDataStream
- tst_QFile
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSharedPointer
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlStream
- tst_qmakelib
|
| 2232-662627 |
| if (!sequential| TRUE | evaluated 347302 times by 92 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
| | FALSE | evaluated 2232 times by 12 testsEvaluated by:- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBuffer
- tst_QDataStream
- tst_QFile
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSharedPointer
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlStream
- tst_qmakelib
|
) { | |
| 820 | d->pos += written; | - |
| 821 | d->devicePos += written; | - |
| 822 | } | - |
| if (!d->buffer.isEmpty() && !sequential)d->buffer.skip(written); | |
| 823 | }executed 347302 times by 92 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
| 347302 |
| 824 | returnexecuted 1012161 times by 117 tests: return written;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- ...
written;executed 1012161 times by 117 tests: return written;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QBrush
- tst_QBuffer
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDockWidget
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- ...
| 1012161 |
| 825 | } | - |
| 826 | qint64 QIODevice::write(const char *data) | - |
| 827 | { | - |
| 828 | return write(data, qstrlen(data)); | - |
| 829 | } | - |
| 830 | void QIODevice::ungetChar(char c) | - |
| 831 | { | - |
| 832 | QIODevicePrivate * const d = d_func(); | - |
| 833 | do { if ((| TRUE | never evaluated | | FALSE | evaluated 36238 times by 8 testsEvaluated by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QTcpSocket
|
d->openMode & ReadOnly) == 0| TRUE | never evaluated | | FALSE | evaluated 36238 times by 8 testsEvaluated by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QTcpSocket
|
) { if (d->openMode == NotOpen| TRUE | never evaluated | | FALSE | never evaluated |
) { checkWarnMessage(this, "read", "device not open"); returnnever executed: return ; ;never executed: return ; } checkWarnMessage(this, "read", "WriteOnly device"); returnnever executed: return ; ;never executed: return ; } } while (0); | 0-36238 |
| 834 | | - |
| 835 | if (d->transactionStarted| TRUE | never evaluated | | FALSE | evaluated 36238 times by 8 testsEvaluated by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QTcpSocket
|
) { | 0-36238 |
| 836 | checkWarnMessage(this, "ungetChar", "Called while transaction is in progress"); | - |
| 837 | return; never executed: return; | 0 |
| 838 | } | - |
| 839 | | - |
| 840 | | - |
| 841 | | - |
| 842 | | - |
| 843 | | - |
| 844 | d->buffer.ungetChar(c); | - |
| 845 | if (!d->isSequential()| TRUE | evaluated 35727 times by 5 testsEvaluated by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
| | FALSE | evaluated 511 times by 5 testsEvaluated by:- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QProcess
- tst_QTcpSocket
|
) | 511-35727 |
| 846 | --executed 35727 times by 5 tests: --d->pos;Executed by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
d->pos;executed 35727 times by 5 tests: --d->pos;Executed by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QImageReader
- tst_QImageWriter
| 35727 |
| 847 | }executed 36238 times by 8 tests: end of blockExecuted by:- tst_QBuffer
- tst_QFile
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QTcpSocket
| 36238 |
| 848 | bool QIODevice::putChar(char c) | - |
| 849 | { | - |
| 850 | return d_func()->putCharHelper(c); | - |
| 851 | } | - |
| 852 | | - |
| 853 | | - |
| 854 | | - |
| 855 | | - |
| 856 | bool QIODevicePrivate::putCharHelper(char c) | - |
| 857 | { | - |
| 858 | return q_func()->write(&c, 1) == 1; | - |
| 859 | } | - |
| 860 | | - |
| 861 | | - |
| 862 | | - |
| 863 | | - |
| 864 | qint64 QIODevicePrivate::peek(char *data, qint64 maxSize) | - |
| 865 | { | - |
| 866 | QIODevice * const q = q_func(); | - |
| 867 | | - |
| 868 | if (transactionStarted| TRUE | never evaluated | | FALSE | evaluated 17550 times by 82 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
|
) { | 0-17550 |
| 869 | const qint64 savedTransactionPos = transactionPos; | - |
| 870 | const qint64 savedPos = pos; | - |
| 871 | | - |
| 872 | qint64 readBytes = q_func()->q->read(data, maxSize); | - |
| 873 | | - |
| 874 | | - |
| 875 | if (readBytes <= 0)isSequential()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 876 | transactionPos = savedTransactionPos; never executed: transactionPos = savedTransactionPos; | 0 |
| 877 | else | - |
| 878 | seekBuffer(savedPos); never executed: seekBuffer(savedPos); | 0 |
| 879 | return never executed: return readBytes; readBytes;never executed: return readBytes; | 0 |
| 880 | buffer.ungetBlock} | - |
| 881 | | - |
| 882 | q->startTransaction(); | - |
| 883 | qint64 readBytes = q->read(data, readBytesmaxSize); | - |
| 884 | if (!isSequential()) | - |
| pos -= readBytes;q->rollbackTransaction(); | |
| 885 | | - |
| 886 | returnexecuted 17550 times by 82 tests: return readBytes;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
readBytes;executed 17550 times by 82 tests: return readBytes;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
| 17550 |
| 887 | } | - |
| 888 | | - |
| 889 | | - |
| 890 | | - |
| 891 | | - |
| 892 | QByteArray QIODevicePrivate::peek(qint64 maxSize) | - |
| 893 | { | - |
| 894 | QIODevice * const q = q_func(); | - |
| 895 | | - |
| 896 | if (transactionStarted| TRUE | never evaluated | | FALSE | evaluated 19982 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
|
) { | 0-19982 |
| 897 | const qint64 savedTransactionPos = transactionPos; | - |
| 898 | const qint64 savedPos = pos; | - |
| 899 | | - |
| 900 | QByteArray result = q_func()->q->read(maxSize); | - |
| 901 | | - |
| 902 | | - |
| 903 | if (result.isEmptyisSequential| TRUE | never evaluated | | FALSE | never evaluated |
()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 904 | return resulttransactionPos = savedTransactionPos never executed: transactionPos = savedTransactionPos; ;never executed: transactionPos = savedTransactionPos; | 0 |
| 905 | buffer.ungetBlockelse | - |
| 906 | seekBuffer never executed: seekBuffer(savedPos); never executed: seekBuffer(savedPos); (result.constData(),savedPos);never executed: seekBuffer(savedPos); | 0 |
| 907 | return never executed: return result; never executed: return result; never executed: return result; result.size());never executed: return result; | 0 |
| if (!isSequential()) never executed: return result; | |
| pos -= never executed: return result; never executed: return result; ;never executed: return result; | |
| 908 | } | - |
| 909 | | - |
| 910 | q->startTransaction(); | - |
| 911 | QByteArray result .size= q->read(maxSize); | - |
| 912 | q->rollbackTransaction(); | - |
| 913 | | - |
| 914 | returnexecuted 19982 times by 77 tests: return result;Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
result;executed 19982 times by 77 tests: return result;Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
| 19982 |
| 915 | } | - |
| 916 | bool QIODevice::getChar(char *c) | - |
| 917 | { | - |
| 918 | | - |
| 919 | char ch; | - |
| 920 | return (1 == read(c ? c : &ch, 1)); | - |
| 921 | } | - |
| 922 | qint64 QIODevice::peek(char *data, qint64 maxSize) | - |
| 923 | { | - |
| 924 | return d_func()->peek(data, maxSize); | - |
| 925 | } | - |
| 926 | QByteArray QIODevice::peek(qint64 maxSize) | - |
| 927 | { | - |
| 928 | return d_func()->peek(maxSize); | - |
| 929 | } | - |
| 930 | bool QIODevice::waitForReadyRead(int msecs) | - |
| 931 | { | - |
| 932 | (void)msecs;; | - |
| 933 | return false; | - |
| 934 | } | - |
| 935 | bool QIODevice::waitForBytesWritten(int msecs) | - |
| 936 | { | - |
| 937 | (void)msecs;; | - |
| 938 | return false; | - |
| 939 | } | - |
| 940 | | - |
| 941 | | - |
| 942 | | - |
| 943 | | - |
| 944 | | - |
| 945 | | - |
| 946 | | - |
| 947 | void QIODevice::setErrorString(const QString &str) | - |
| 948 | { | - |
| 949 | d_func()->errorString = str; | - |
| 950 | } | - |
| 951 | | - |
| 952 | | - |
| 953 | | - |
| 954 | | - |
| 955 | | - |
| 956 | | - |
| 957 | | - |
| 958 | QString QIODevice::errorString() const | - |
| 959 | { | - |
| 960 | const QIODevicePrivate * const d = d_func(); | - |
| 961 | if (d->errorString.isEmpty()) { | - |
| 962 | | - |
| 963 | | - |
| 964 | | - |
| 965 | return tr("Unknown error"); | - |
| 966 | | - |
| 967 | } | - |
| 968 | return d->errorString; | - |
| 969 | } | - |
| 970 | int qt_subtract_from_timeout(int timeout, int elapsed) | - |
| 971 | { | - |
| 972 | if (timeout == -1) | - |
| 973 | return -1; | - |
| 974 | | - |
| 975 | timeout = timeout - elapsed; | - |
| 976 | return timeout < 0 ? 0 : timeout; | - |
| 977 | } | - |
| 978 | | - |
| 979 | | - |
| 980 | | - |
| 981 | QDebug operator<<(QDebug debug, QIODevice::OpenMode modes) | - |
| 982 | { | - |
| 983 | debug << "OpenMode("; | - |
| 984 | QStringList modeList; | - |
| 985 | if (modes == QIODevice::NotOpen) { | - |
| 986 | modeList << QLatin1String("NotOpen"); | - |
| 987 | } else { | - |
| 988 | if (modes & QIODevice::ReadOnly) | - |
| 989 | modeList << QLatin1String("ReadOnly"); | - |
| 990 | if (modes & QIODevice::WriteOnly) | - |
| 991 | modeList << QLatin1String("WriteOnly"); | - |
| 992 | if (modes & QIODevice::Append) | - |
| 993 | modeList << QLatin1String("Append"); | - |
| 994 | if (modes & QIODevice::Truncate) | - |
| 995 | modeList << QLatin1String("Truncate"); | - |
| 996 | if (modes & QIODevice::Text) | - |
| 997 | modeList << QLatin1String("Text"); | - |
| 998 | if (modes & QIODevice::Unbuffered) | - |
| 999 | modeList << QLatin1String("Unbuffered"); | - |
| 1000 | } | - |
| 1001 | std::sort(modeList.begin(), modeList.end()); | - |
| 1002 | debug << modeList.join(QLatin1Char('|')); | - |
| 1003 | debug << ')'; | - |
| 1004 | return debug; | - |
| 1005 | } | - |
| 1006 | | - |
| 1007 | | - |
| 1008 | | - |
| | |