| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | typedef ssize_t SignedIOType; | - |
| 16 | typedef size_t UnsignedIOType; | - |
| 17 | static_assert(bool(sizeof(SignedIOType) == sizeof(UnsignedIOType)), "Unsupported: read/write return a type with different size as the len parameter") | - |
| 18 | ; | - |
| 19 | QFSFileEnginePrivate::QFSFileEnginePrivate() : QAbstractFileEnginePrivate() | - |
| 20 | { | - |
| 21 | init(); | - |
| 22 | }executed 49634 times by 211 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 49634 |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | void QFSFileEnginePrivate::init() | - |
| 28 | { | - |
| 29 | is_sequential = 0; | - |
| 30 | tried_stat = 0; | - |
| 31 | | - |
| 32 | need_lstat = 1; | - |
| 33 | is_link = 0; | - |
| 34 | | - |
| 35 | openMode = QIODevice::NotOpen; | - |
| 36 | fd = -1; | - |
| 37 | fh = 0; | - |
| 38 | lastIOCommand = IOFlushCommand; | - |
| 39 | lastFlushFailed = false; | - |
| 40 | closeFileHandle = false; | - |
| 41 | }executed 49888 times by 211 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 49888 |
| 42 | | - |
| 43 | | - |
| 44 | | - |
| 45 | | - |
| 46 | QFSFileEngine::QFSFileEngine(const QString &file) | - |
| 47 | : QAbstractFileEngine(*new QFSFileEnginePrivate) | - |
| 48 | { | - |
| 49 | QFSFileEnginePrivate * const d = d_func(); | - |
| 50 | d->fileEntry = QFileSystemEntry(file); | - |
| 51 | }executed 47082 times by 207 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 47082 |
| 52 | | - |
| 53 | | - |
| 54 | | - |
| 55 | | - |
| 56 | QFSFileEngine::QFSFileEngine() : QAbstractFileEngine(*new QFSFileEnginePrivate) | - |
| 57 | { | - |
| 58 | }executed 2552 times by 31 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDBusMarshall
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPdfWriter
- tst_QPixmap
- tst_QPrinterInfo
- tst_QSaveFile
- tst_QSettings
- tst_QStorageInfo
- ...
| 2552 |
| 59 | | - |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | QFSFileEngine::QFSFileEngine(QFSFileEnginePrivate &dd) | - |
| 64 | : QAbstractFileEngine(dd) | - |
| 65 | { | - |
| 66 | } never executed: end of block | 0 |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | QFSFileEngine::~QFSFileEngine() | - |
| 72 | { | - |
| 73 | QFSFileEnginePrivate * const d = d_func(); | - |
| 74 | if (d->closeFileHandle| TRUE | evaluated 30589 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| | FALSE | evaluated 19035 times by 119 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- ...
|
) { | 19035-30589 |
| 75 | if (d->fh| TRUE | never evaluated | | FALSE | evaluated 30589 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
) { | 0-30589 |
| 76 | fclose(d->fh); | - |
| 77 | } never executed: end of block else if (d->fd != -1| TRUE | never evaluated | | FALSE | evaluated 30589 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
) { | 0-30589 |
| 78 | qt_safe_close(d->fd); | - |
| 79 | } never executed: end of block | 0 |
| 80 | }executed 30589 times by 208 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 30589 |
| 81 | d->unmapAll(); | - |
| 82 | }executed 49624 times by 244 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 49624 |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | void QFSFileEngine::setFileName(const QString &file) | - |
| 88 | { | - |
| 89 | QFSFileEnginePrivate * const d = d_func(); | - |
| 90 | d->init(); | - |
| 91 | d->fileEntry = QFileSystemEntry(file); | - |
| 92 | }executed 254 times by 16 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
| 254 |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | bool QFSFileEngine::open(QIODevice::OpenMode openMode) | - |
| 98 | { | - |
| 99 | QFSFileEnginePrivate * const d = d_func(); | - |
| 100 | if (d->fileEntry.isEmpty()| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QFile
- tst_QNetworkDiskCache
| | FALSE | evaluated 32417 times by 185 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
|
) { | 3-32417 |
| 101 | QMessageLogger(__FILE__, 206, __PRETTY_FUNCTION__).warning("QFSFileEngine::open: No file name specified"); | - |
| 102 | setError(QFile::OpenError, QLatin1String("No file name specified")); | - |
| 103 | returnexecuted 3 times by 2 tests: return false;Executed by:- tst_QFile
- tst_QNetworkDiskCache
false;executed 3 times by 2 tests: return false;Executed by:- tst_QFile
- tst_QNetworkDiskCache
| 3 |
| 104 | } | - |
| 105 | | - |
| 106 | | - |
| 107 | if (openMode & QFile::Append| TRUE | evaluated 257 times by 6 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QFile
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_qfileopenevent
- tst_qmakelib
| | FALSE | evaluated 32160 times by 185 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
|
) | 257-32160 |
| 108 | openMode |= QFile::WriteOnly;executed 257 times by 6 tests: openMode |= QFile::WriteOnly;Executed by:- tst_QAbstractFileEngine
- tst_QFile
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_qfileopenevent
- tst_qmakelib
| 257 |
| 109 | | - |
| 110 | | - |
| 111 | if ((openMode & QFile::WriteOnly) && !(openMode & (QFile::ReadOnly | QFile::Append))| TRUE | evaluated 1528 times by 38 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- tst_QPixmap
- tst_QPrinter
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- ...
| | FALSE | evaluated 892 times by 20 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QNetworkDiskCache
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextStream
- tst_languageChange
- tst_qfileopenevent
- tst_qmakelib
|
) | 892-1528 |
| 112 | openMode |= QFile::Truncate;executed 1528 times by 38 tests: openMode |= QFile::Truncate;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- tst_QPixmap
- tst_QPrinter
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- ...
| 1528 |
| 113 | | - |
| 114 | d->openMode = openMode; | - |
| 115 | d->lastFlushFailed = false; | - |
| 116 | d->tried_stat = 0; | - |
| 117 | d->fh = 0; | - |
| 118 | d->fd = -1; | - |
| 119 | | - |
| 120 | returnexecuted 32417 times by 185 tests: return d->nativeOpen(openMode);Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
d->nativeOpen(openMode);executed 32417 times by 185 tests: return d->nativeOpen(openMode);Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 32417 |
| 121 | } | - |
| 122 | | - |
| 123 | | - |
| 124 | | - |
| 125 | | - |
| 126 | | - |
| 127 | bool QFSFileEngine::open(QIODevice::OpenMode openMode, FILE *fh) | - |
| 128 | { | - |
| 129 | return never executed: return open(openMode, fh, QFile::DontCloseHandle); open(openMode, fh, QFile::DontCloseHandle);never executed: return open(openMode, fh, QFile::DontCloseHandle); | 0 |
| 130 | } | - |
| 131 | | - |
| 132 | bool QFSFileEngine::open(QIODevice::OpenMode openMode, FILE *fh, QFile::FileHandleFlags handleFlags) | - |
| 133 | { | - |
| 134 | QFSFileEnginePrivate * const d = d_func(); | - |
| 135 | | - |
| 136 | | - |
| 137 | if (openMode & QFile::Append| TRUE | never evaluated | | FALSE | evaluated 364 times by 5 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
) | 0-364 |
| 138 | openMode |= QFile::WriteOnly; never executed: openMode |= QFile::WriteOnly; | 0 |
| 139 | | - |
| 140 | | - |
| 141 | if ((openMode & QFile::WriteOnly) && !(openMode & (QFile::ReadOnly | QFile::Append))| TRUE | evaluated 212 times by 4 testsEvaluated by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QFile
- tst_qnetworkreply - unknown status
|
) | 9-212 |
| 142 | openMode |= QFile::Truncate;executed 212 times by 4 tests: openMode |= QFile::Truncate;Executed by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| 212 |
| 143 | | - |
| 144 | d->openMode = openMode; | - |
| 145 | d->lastFlushFailed = false; | - |
| 146 | d->closeFileHandle = (handleFlags & QFile::AutoCloseHandle); | - |
| 147 | d->fileEntry.clear(); | - |
| 148 | d->tried_stat = 0; | - |
| 149 | d->fd = -1; | - |
| 150 | | - |
| 151 | returnexecuted 364 times by 5 tests: return d->openFh(openMode, fh);Executed by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
d->openFh(openMode, fh);executed 364 times by 5 tests: return d->openFh(openMode, fh);Executed by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| 364 |
| 152 | } | - |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | bool QFSFileEnginePrivate::openFh(QIODevice::OpenMode openMode, FILE *fh) | - |
| 158 | { | - |
| 159 | QFSFileEngine * const q = q_func(); | - |
| 160 | this->fh = fh; | - |
| 161 | fd = -1; | - |
| 162 | | - |
| 163 | | - |
| 164 | if (openMode & QIODevice::Append| TRUE | never evaluated | | FALSE | evaluated 364 times by 5 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
) { | 0-364 |
| 165 | int ret; | - |
| 166 | do { | - |
| 167 | ret = ::fseeko64(fh, 0, 2); | - |
| 168 | } never executed: end of block while (ret != 0| TRUE | never evaluated | | FALSE | never evaluated |
&& (*| TRUE | never evaluated | | FALSE | never evaluated |
__errno_location ()) == 4| TRUE | never evaluated | | FALSE | never evaluated |
); | 0 |
| 169 | | - |
| 170 | if (ret != 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 171 | q->setError((*__errno_location ()) == 24 ? QFile::ResourceError : QFile::OpenError, | - |
| 172 | qt_error_string(int((*__errno_location ())))); | - |
| 173 | | - |
| 174 | this->openMode = QIODevice::NotOpen; | - |
| 175 | this->fh = 0; | - |
| 176 | | - |
| 177 | return never executed: return false; false;never executed: return false; | 0 |
| 178 | } | - |
| 179 | } never executed: end of block | 0 |
| 180 | | - |
| 181 | returnexecuted 364 times by 5 tests: return true;Executed by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
true;executed 364 times by 5 tests: return true;Executed by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| 364 |
| 182 | } | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | | - |
| 187 | | - |
| 188 | bool QFSFileEngine::open(QIODevice::OpenMode openMode, int fd) | - |
| 189 | { | - |
| 190 | return never executed: return open(openMode, fd, QFile::DontCloseHandle); open(openMode, fd, QFile::DontCloseHandle);never executed: return open(openMode, fd, QFile::DontCloseHandle); | 0 |
| 191 | } | - |
| 192 | | - |
| 193 | bool QFSFileEngine::open(QIODevice::OpenMode openMode, int fd, QFile::FileHandleFlags handleFlags) | - |
| 194 | { | - |
| 195 | QFSFileEnginePrivate * const d = d_func(); | - |
| 196 | | - |
| 197 | | - |
| 198 | if (openMode & QFile::Append| TRUE | never evaluated | | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
|
) | 0-29 |
| 199 | openMode |= QFile::WriteOnly; never executed: openMode |= QFile::WriteOnly; | 0 |
| 200 | | - |
| 201 | | - |
| 202 | if ((openMode & QFile::WriteOnly) && !(openMode & (QFile::ReadOnly | QFile::Append))| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1-4 |
| 203 | openMode |= QFile::Truncate;executed 4 times by 1 test: openMode |= QFile::Truncate; | 4 |
| 204 | | - |
| 205 | d->openMode = openMode; | - |
| 206 | d->lastFlushFailed = false; | - |
| 207 | d->closeFileHandle = (handleFlags & QFile::AutoCloseHandle); | - |
| 208 | d->fileEntry.clear(); | - |
| 209 | d->fh = 0; | - |
| 210 | d->fd = -1; | - |
| 211 | d->tried_stat = 0; | - |
| 212 | | - |
| 213 | returnexecuted 29 times by 3 tests: return d->openFd(openMode, fd);Executed by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
d->openFd(openMode, fd);executed 29 times by 3 tests: return d->openFd(openMode, fd);Executed by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
| 29 |
| 214 | } | - |
| 215 | | - |
| 216 | | - |
| 217 | | - |
| 218 | | - |
| 219 | | - |
| 220 | | - |
| 221 | bool QFSFileEnginePrivate::openFd(QIODevice::OpenMode openMode, int fd) | - |
| 222 | { | - |
| 223 | QFSFileEngine * const q = q_func(); | - |
| 224 | this->fd = fd; | - |
| 225 | fh = 0; | - |
| 226 | | - |
| 227 | | - |
| 228 | if (openMode & QFile::Append| TRUE | never evaluated | | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
|
) { | 0-29 |
| 229 | int ret; | - |
| 230 | do { | - |
| 231 | ret = ::lseek64(fd, 0, 2); | - |
| 232 | } never executed: end of block while (ret == -1| TRUE | never evaluated | | FALSE | never evaluated |
&& (*| TRUE | never evaluated | | FALSE | never evaluated |
__errno_location ()) == 4| TRUE | never evaluated | | FALSE | never evaluated |
); | 0 |
| 233 | | - |
| 234 | if (ret == -1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 235 | q->setError((*__errno_location ()) == 24 ? QFile::ResourceError : QFile::OpenError, | - |
| 236 | qt_error_string(int((*__errno_location ())))); | - |
| 237 | | - |
| 238 | this->openMode = QIODevice::NotOpen; | - |
| 239 | this->fd = -1; | - |
| 240 | | - |
| 241 | return never executed: return false; false;never executed: return false; | 0 |
| 242 | } | - |
| 243 | } never executed: end of block | 0 |
| 244 | | - |
| 245 | returnexecuted 29 times by 3 tests: return true;Executed by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
true;executed 29 times by 3 tests: return true;Executed by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
| 29 |
| 246 | } | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | bool QFSFileEngine::close() | - |
| 252 | { | - |
| 253 | QFSFileEnginePrivate * const d = d_func(); | - |
| 254 | d->openMode = QIODevice::NotOpen; | - |
| 255 | returnexecuted 33415 times by 208 tests: return d->nativeClose();Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
d->nativeClose();executed 33415 times by 208 tests: return d->nativeClose();Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 33415 |
| 256 | } | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | bool QFSFileEnginePrivate::closeFdFh() | - |
| 262 | { | - |
| 263 | QFSFileEngine * const q = q_func(); | - |
| 264 | if (fd == -1| TRUE | evaluated 2314 times by 30 testsEvaluated by:- tst_LargeFile
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- tst_QSettings
- tst_QStorageInfo
- tst_QTemporaryFile
- tst_languageChange
- ...
| | FALSE | evaluated 31101 times by 207 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
&& !fh| TRUE | evaluated 1950 times by 26 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- tst_QSettings
- tst_QStorageInfo
- tst_QTemporaryFile
- tst_languageChange
- tst_qdbusmarshall - unknown status
- ...
| | FALSE | evaluated 364 times by 5 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
) | 364-31101 |
| 265 | returnexecuted 1950 times by 26 tests: return false;Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- tst_QSettings
- tst_QStorageInfo
- tst_QTemporaryFile
- tst_languageChange
- tst_qdbusmarshall - unknown status
- ...
false;executed 1950 times by 26 tests: return false;Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- tst_QSettings
- tst_QStorageInfo
- tst_QTemporaryFile
- tst_languageChange
- tst_qdbusmarshall - unknown status
- ...
| 1950 |
| 266 | | - |
| 267 | | - |
| 268 | bool flushed = !fh| TRUE | evaluated 31101 times by 207 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| | FALSE | evaluated 364 times by 5 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
|| (!lastFlushFailed| TRUE | evaluated 364 times by 5 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| | FALSE | never evaluated |
&& q->flush()| TRUE | evaluated 364 times by 5 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| | FALSE | never evaluated |
); | 0-31101 |
| 269 | bool closed = true; | - |
| 270 | tried_stat = 0; | - |
| 271 | | - |
| 272 | | - |
| 273 | if (closeFileHandle| TRUE | evaluated 31074 times by 207 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| | FALSE | evaluated 391 times by 6 testsEvaluated by:- tst_LargeFile
- tst_QFile
- tst_QPrinterInfo
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
) { | 391-31074 |
| 274 | int ret; | - |
| 275 | | - |
| 276 | if (fh| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 31073 times by 207 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
) { | 1-31073 |
| 277 | | - |
| 278 | ret = fclose(fh); | - |
| 279 | }executed 1 time by 1 test: end of block else { | 1 |
| 280 | | - |
| 281 | ret = qt_safe_close(fd); | - |
| 282 | }executed 31073 times by 207 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 31073 |
| 283 | | - |
| 284 | | - |
| 285 | | - |
| 286 | fh = 0; | - |
| 287 | fd = -1; | - |
| 288 | closed = (ret == 0); | - |
| 289 | }executed 31074 times by 207 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 31074 |
| 290 | | - |
| 291 | | - |
| 292 | if (!flushed| TRUE | never evaluated | | FALSE | evaluated 31465 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
|| !closed| TRUE | never evaluated | | FALSE | evaluated 31465 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
) { | 0-31465 |
| 293 | if (flushed| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 294 | | - |
| 295 | q->setError(QFile::UnspecifiedError, qt_error_string((*__errno_location ()))); | - |
| 296 | } never executed: end of block | 0 |
| 297 | return never executed: return false; false;never executed: return false; | 0 |
| 298 | } | - |
| 299 | | - |
| 300 | returnexecuted 31465 times by 208 tests: return true;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
true;executed 31465 times by 208 tests: return true;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 31465 |
| 301 | } | - |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | bool QFSFileEngine::flush() | - |
| 307 | { | - |
| 308 | QFSFileEnginePrivate * const d = d_func(); | - |
| 309 | if ((| TRUE | evaluated 189324 times by 200 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| | FALSE | evaluated 28697 times by 53 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
|
d->openMode & QIODevice::WriteOnly) == 0| TRUE | evaluated 189324 times by 200 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| | FALSE | evaluated 28697 times by 53 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
|
) { | 28697-189324 |
| 310 | | - |
| 311 | | - |
| 312 | returnexecuted 189324 times by 200 tests: return true;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
true;executed 189324 times by 200 tests: return true;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 189324 |
| 313 | } | - |
| 314 | returnexecuted 28697 times by 53 tests: return d->nativeFlush();Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
d->nativeFlush();executed 28697 times by 53 tests: return d->nativeFlush();Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
| 28697 |
| 315 | } | - |
| 316 | | - |
| 317 | | - |
| 318 | | - |
| 319 | | - |
| 320 | bool QFSFileEngine::syncToDisk() | - |
| 321 | { | - |
| 322 | QFSFileEnginePrivate * const d = d_func(); | - |
| 323 | if ((| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 574 times by 7 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
|
d->openMode & QIODevice::WriteOnly) == 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 574 times by 7 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
|
) | 2-574 |
| 324 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 325 | returnexecuted 574 times by 7 tests: return d->nativeSyncToDisk();Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
d->nativeSyncToDisk();executed 574 times by 7 tests: return d->nativeSyncToDisk();Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
| 574 |
| 326 | } | - |
| 327 | | - |
| 328 | | - |
| 329 | | - |
| 330 | | - |
| 331 | bool QFSFileEnginePrivate::flushFh() | - |
| 332 | { | - |
| 333 | QFSFileEngine * const q = q_func(); | - |
| 334 | | - |
| 335 | | - |
| 336 | | - |
| 337 | if (lastFlushFailed| TRUE | never evaluated | | FALSE | evaluated 459 times by 4 testsEvaluated by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
) | 0-459 |
| 338 | return never executed: return false; false;never executed: return false; | 0 |
| 339 | | - |
| 340 | int ret = fflush(fh); | - |
| 341 | | - |
| 342 | lastFlushFailed = (ret != 0); | - |
| 343 | lastIOCommand = QFSFileEnginePrivate::IOFlushCommand; | - |
| 344 | | - |
| 345 | if (ret != 0| TRUE | never evaluated | | FALSE | evaluated 459 times by 4 testsEvaluated by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
) { | 0-459 |
| 346 | q->setError((*__errno_location ()) == 28 ? QFile::ResourceError : QFile::WriteError, | - |
| 347 | qt_error_string((*__errno_location ()))); | - |
| 348 | return never executed: return false; false;never executed: return false; | 0 |
| 349 | } | - |
| 350 | returnexecuted 459 times by 4 tests: return true;Executed by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
true;executed 459 times by 4 tests: return true;Executed by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| 459 |
| 351 | } | - |
| 352 | | - |
| 353 | | - |
| 354 | | - |
| 355 | | - |
| 356 | qint64 QFSFileEngine::size() const | - |
| 357 | { | - |
| 358 | const QFSFileEnginePrivate * const d = d_func(); | - |
| 359 | returnexecuted 133807 times by 159 tests: return d->nativeSize();Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
d->nativeSize();executed 133807 times by 159 tests: return d->nativeSize();Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
| 133807 |
| 360 | } | - |
| 361 | | - |
| 362 | | - |
| 363 | | - |
| 364 | | - |
| 365 | void QFSFileEnginePrivate::unmapAll() | - |
| 366 | { | - |
| 367 | if (!maps.isEmpty()| TRUE | evaluated 1563 times by 152 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | evaluated 50574 times by 156 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- ...
|
) { | 1563-50574 |
| 368 | const QList<uchar*> keys = maps.keys(); | - |
| 369 | for (int i = 0; i < keys.count()| TRUE | evaluated 1566 times by 152 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | evaluated 1563 times by 152 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
; ++i) | 1563-1566 |
| 370 | unmap(keys.at(i));executed 1566 times by 152 tests: unmap(keys.at(i));Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 1566 |
| 371 | }executed 1563 times by 152 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 1563 |
| 372 | }executed 52137 times by 244 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 52137 |
| 373 | | - |
| 374 | | - |
| 375 | | - |
| 376 | | - |
| 377 | | - |
| 378 | qint64 QFSFileEnginePrivate::sizeFdFh() const | - |
| 379 | { | - |
| 380 | const QFSFileEngine * const q = q_func(); | - |
| 381 | const_cast<QFSFileEngine *>(q)->flush(); | - |
| 382 | | - |
| 383 | tried_stat = 0; | - |
| 384 | metaData.clearFlags(QFileSystemMetaData::SizeAttribute); | - |
| 385 | if (!doStat(QFileSystemMetaData::SizeAttribute)| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QFile
- tst_QNetworkDiskCache
| | FALSE | evaluated 133804 times by 159 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
|
) | 3-133804 |
| 386 | returnexecuted 3 times by 2 tests: return 0;Executed by:- tst_QFile
- tst_QNetworkDiskCache
0;executed 3 times by 2 tests: return 0;Executed by:- tst_QFile
- tst_QNetworkDiskCache
| 3 |
| 387 | returnexecuted 133804 times by 159 tests: return metaData.size();Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
metaData.size();executed 133804 times by 159 tests: return metaData.size();Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- 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_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
| 133804 |
| 388 | } | - |
| 389 | | - |
| 390 | | - |
| 391 | | - |
| 392 | | - |
| 393 | | - |
| 394 | qint64 QFSFileEngine::pos() const | - |
| 395 | { | - |
| 396 | const QFSFileEnginePrivate * const d = d_func(); | - |
| 397 | returnexecuted 282 times by 7 tests: return d->nativePos();Executed by:- tst_QAbstractFileEngine
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTemporaryFile
d->nativePos();executed 282 times by 7 tests: return d->nativePos();Executed by:- tst_QAbstractFileEngine
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTemporaryFile
| 282 |
| 398 | } | - |
| 399 | | - |
| 400 | | - |
| 401 | | - |
| 402 | | - |
| 403 | qint64 QFSFileEnginePrivate::posFdFh() const | - |
| 404 | { | - |
| 405 | if (fh| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 281 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTemporaryFile
|
) | 1-281 |
| 406 | returnexecuted 1 time by 1 test: return qint64(::ftello64(fh)); qint64(::ftello64(fh));executed 1 time by 1 test: return qint64(::ftello64(fh)); | 1 |
| 407 | returnexecuted 281 times by 7 tests: return ::lseek64(fd, 0, 1);Executed by:- tst_QAbstractFileEngine
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTemporaryFile
::lseek64(fd, 0, 1);executed 281 times by 7 tests: return ::lseek64(fd, 0, 1);Executed by:- tst_QAbstractFileEngine
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTemporaryFile
| 281 |
| 408 | } | - |
| 409 | | - |
| 410 | | - |
| 411 | | - |
| 412 | | - |
| 413 | bool QFSFileEngine::seek(qint64 pos) | - |
| 414 | { | - |
| 415 | QFSFileEnginePrivate * const d = d_func(); | - |
| 416 | returnexecuted 224254 times by 50 tests: return d->nativeSeek(pos);Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
d->nativeSeek(pos);executed 224254 times by 50 tests: return d->nativeSeek(pos);Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
| 224254 |
| 417 | } | - |
| 418 | | - |
| 419 | | - |
| 420 | | - |
| 421 | | - |
| 422 | bool QFSFileEnginePrivate::seekFdFh(qint64 pos) | - |
| 423 | { | - |
| 424 | QFSFileEngine * const q = q_func(); | - |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | | - |
| 429 | if (lastIOCommand != QFSFileEnginePrivate::IOFlushCommand| TRUE | evaluated 7797 times by 41 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- ...
| | FALSE | evaluated 216457 times by 33 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcoImageFormat
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPdfWriter
- tst_QPixmap
- tst_QRawFont
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- ...
|
&& !q->flush()| TRUE | never evaluated | | FALSE | evaluated 7797 times by 41 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- ...
|
) | 0-216457 |
| 430 | return never executed: return false; false;never executed: return false; | 0 |
| 431 | | - |
| 432 | if (pos < 0| TRUE | never evaluated | | FALSE | evaluated 224254 times by 50 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
|
|| pos != qint64(off64_t(pos))| TRUE | never evaluated | | FALSE | evaluated 224254 times by 50 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
|
) | 0-224254 |
| 433 | return never executed: return false; false;never executed: return false; | 0 |
| 434 | | - |
| 435 | if (fh| TRUE | evaluated 19 times by 2 tests | | FALSE | evaluated 224235 times by 50 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
|
) { | 19-224235 |
| 436 | | - |
| 437 | int ret; | - |
| 438 | do { | - |
| 439 | ret = ::fseeko64(fh, off64_t(pos), 0); | - |
| 440 | }executed 19 times by 2 tests: end of block while (ret != 0| TRUE | never evaluated | | FALSE | evaluated 19 times by 2 tests |
&& (*| TRUE | never evaluated | | FALSE | never evaluated |
__errno_location ()) == 4| TRUE | never evaluated | | FALSE | never evaluated |
); | 0-19 |
| 441 | | - |
| 442 | if (ret != 0| TRUE | never evaluated | | FALSE | evaluated 19 times by 2 tests |
) { | 0-19 |
| 443 | q->setError(QFile::ReadError, qt_error_string(int((*__errno_location ())))); | - |
| 444 | return never executed: return false; false;never executed: return false; | 0 |
| 445 | } | - |
| 446 | }executed 19 times by 2 tests: end of block else { | 19 |
| 447 | | - |
| 448 | if (::| TRUE | never evaluated | | FALSE | evaluated 224235 times by 50 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
|
lseek64(fd, off64_t(pos), 0) == -1| TRUE | never evaluated | | FALSE | evaluated 224235 times by 50 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
|
) { | 0-224235 |
| 449 | QMessageLogger(__FILE__, 554, __PRETTY_FUNCTION__).warning() << "QFile::at: Cannot set file position" << pos; | - |
| 450 | q->setError(QFile::PositionError, qt_error_string((*__errno_location ()))); | - |
| 451 | return never executed: return false; false;never executed: return false; | 0 |
| 452 | } | - |
| 453 | }executed 224235 times by 50 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
| 224235 |
| 454 | returnexecuted 224254 times by 50 tests: return true;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
true;executed 224254 times by 50 tests: return true;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QComboBox
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLockFile
- tst_QMimeDatabase
- ...
| 224254 |
| 455 | } | - |
| 456 | | - |
| 457 | | - |
| 458 | | - |
| 459 | | - |
| 460 | int QFSFileEngine::handle() const | - |
| 461 | { | - |
| 462 | const QFSFileEnginePrivate * const d = d_func(); | - |
| 463 | returnexecuted 57 times by 13 tests: return d->nativeHandle();Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLockFile
- tst_QSettings
- tst_QTemporaryFile
- tst_QTranslator
- tst_languageChange
- tst_qlockfile - unknown status
d->nativeHandle();executed 57 times by 13 tests: return d->nativeHandle();Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLockFile
- tst_QSettings
- tst_QTemporaryFile
- tst_QTranslator
- tst_languageChange
- tst_qlockfile - unknown status
| 57 |
| 464 | } | - |
| 465 | | - |
| 466 | | - |
| 467 | | - |
| 468 | | - |
| 469 | qint64 QFSFileEngine::read(char *data, qint64 maxlen) | - |
| 470 | { | - |
| 471 | QFSFileEnginePrivate * const d = d_func(); | - |
| 472 | | - |
| 473 | | - |
| 474 | | - |
| 475 | | - |
| 476 | if (d->lastIOCommand != QFSFileEnginePrivate::IOReadCommand| TRUE | evaluated 24029 times by 103 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | evaluated 62883 times by 44 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QChar
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QFrame
- tst_QGraphicsScene
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QPixmapFilter
- ...
|
) { | 24029-62883 |
| 477 | flush(); | - |
| 478 | d->lastIOCommand = QFSFileEnginePrivate::IOReadCommand; | - |
| 479 | }executed 24029 times by 103 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 24029 |
| 480 | | - |
| 481 | returnexecuted 86912 times by 103 tests: return d->nativeRead(data, maxlen);Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
d->nativeRead(data, maxlen);executed 86912 times by 103 tests: return d->nativeRead(data, maxlen);Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 86912 |
| 482 | } | - |
| 483 | | - |
| 484 | | - |
| 485 | | - |
| 486 | | - |
| 487 | qint64 QFSFileEnginePrivate::readFdFh(char *data, qint64 len) | - |
| 488 | { | - |
| 489 | QFSFileEngine * const q = q_func(); | - |
| 490 | | - |
| 491 | if (len < 0| TRUE | never evaluated | | FALSE | evaluated 86523 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
|| len != qint64(size_t(len))| TRUE | never evaluated | | FALSE | evaluated 86523 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 0-86523 |
| 492 | q->setError(QFile::ReadError, qt_error_string(22)); | - |
| 493 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 494 | } | - |
| 495 | | - |
| 496 | qint64 readBytes = 0; | - |
| 497 | bool eof = false; | - |
| 498 | | - |
| 499 | if (fh| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 86518 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 5-86518 |
| 500 | | - |
| 501 | | - |
| 502 | size_t result; | - |
| 503 | bool retry = true; | - |
| 504 | do { | - |
| 505 | result = fread(data + readBytes, 1, size_t(len - readBytes), fh); | - |
| 506 | eof = feof(fh); | - |
| 507 | if (retry| TRUE | evaluated 5 times by 1 test | | FALSE | never evaluated |
&& eof| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 1 time by 1 test |
&& result == 0| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-5 |
| 508 | | - |
| 509 | | - |
| 510 | | - |
| 511 | ::fseeko64(fh, ::ftello64(fh), 0); | - |
| 512 | retry = false; | - |
| 513 | continue; never executed: continue; | 0 |
| 514 | } | - |
| 515 | readBytes += result; | - |
| 516 | }executed 5 times by 1 test: end of block while (!eof| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 4 times by 1 test |
&& (| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
result == 0 ? (*__errno_location ()) == 4 : readBytes < len)| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
); | 0-5 |
| 517 | | - |
| 518 | }executed 5 times by 1 test: end of block else if (fd != -1| TRUE | evaluated 86518 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | never evaluated |
) { | 0-86518 |
| 519 | | - |
| 520 | | - |
| 521 | SignedIOType result; | - |
| 522 | do { | - |
| 523 | | - |
| 524 | | - |
| 525 | | - |
| 526 | quint64 wantedBytes = quint64(len) - quint64(readBytes); | - |
| 527 | UnsignedIOType chunkSize = std::numeric_limits<SignedIOType>::max(); | - |
| 528 | if (chunkSize > wantedBytes| TRUE | evaluated 113071 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | never evaluated |
) | 0-113071 |
| 529 | chunkSize = wantedBytes;executed 113071 times by 102 tests: chunkSize = wantedBytes;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 113071 |
| 530 | result = qt_safe_read(fd, data + readBytes, chunkSize); | - |
| 531 | }executed 113071 times by 102 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
while (result > 0| TRUE | evaluated 41490 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | evaluated 71581 times by 86 testsEvaluated by:- tst_LargeFile
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
&& (| TRUE | evaluated 26553 times by 86 testsEvaluated by:- tst_LargeFile
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| | FALSE | evaluated 14937 times by 63 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
readBytes += result) < len| TRUE | evaluated 26553 times by 86 testsEvaluated by:- tst_LargeFile
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| | FALSE | evaluated 14937 times by 63 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
); | 14937-113071 |
| 532 | | - |
| 533 | eof = !(result == -1); | - |
| 534 | }executed 86518 times by 102 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 86518 |
| 535 | | - |
| 536 | if (!eof| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 86522 times by 102 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
&& readBytes == 0| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) { | 0-86522 |
| 537 | readBytes = -1; | - |
| 538 | q->setError(QFile::ReadError, qt_error_string((*__errno_location ()))); | - |
| 539 | } never executed: end of block | 0 |
| 540 | | - |
| 541 | returnexecuted 86523 times by 102 tests: return readBytes;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
readBytes;executed 86523 times by 102 tests: return readBytes;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 86523 |
| 542 | } | - |
| 543 | | - |
| 544 | | - |
| 545 | | - |
| 546 | | - |
| 547 | qint64 QFSFileEngine::readLine(char *data, qint64 maxlen) | - |
| 548 | { | - |
| 549 | QFSFileEnginePrivate * const d = d_func(); | - |
| 550 | | - |
| 551 | | - |
| 552 | | - |
| 553 | | - |
| 554 | if (d->lastIOCommand != QFSFileEnginePrivate::IOReadCommand| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 4 |
| 555 | flush(); | - |
| 556 | d->lastIOCommand = QFSFileEnginePrivate::IOReadCommand; | - |
| 557 | }executed 4 times by 1 test: end of block | 4 |
| 558 | | - |
| 559 | returnexecuted 8 times by 1 test: return d->nativeReadLine(data, maxlen); d->nativeReadLine(data, maxlen);executed 8 times by 1 test: return d->nativeReadLine(data, maxlen); | 8 |
| 560 | } | - |
| 561 | | - |
| 562 | | - |
| 563 | | - |
| 564 | | - |
| 565 | qint64 QFSFileEnginePrivate::readLineFdFh(char *data, qint64 maxlen) | - |
| 566 | { | - |
| 567 | QFSFileEngine * const q = q_func(); | - |
| 568 | if (!fh| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) | 0-8 |
| 569 | returnexecuted 8 times by 1 test: return q->QAbstractFileEngine::readLine(data, maxlen); q->QAbstractFileEngine::readLine(data, maxlen);executed 8 times by 1 test: return q->QAbstractFileEngine::readLine(data, maxlen); | 8 |
| 570 | | - |
| 571 | off64_t oldPos = 0; | - |
| 572 | | - |
| 573 | | - |
| 574 | | - |
| 575 | | - |
| 576 | oldPos = ::ftello64(fh); | - |
| 577 | | - |
| 578 | | - |
| 579 | | - |
| 580 | | - |
| 581 | | - |
| 582 | if (!fgets(data, int(maxlen + 1), fh)| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 583 | if (!feof(fh)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 584 | q->setError(QFile::ReadError, qt_error_string(int((*__errno_location ())))); never executed: q->setError(QFile::ReadError, qt_error_string(int((*__errno_location ())))); | 0 |
| 585 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 586 | } | - |
| 587 | | - |
| 588 | | - |
| 589 | | - |
| 590 | | - |
| 591 | | - |
| 592 | | - |
| 593 | qint64 lineLength = ::ftello64(fh) - oldPos; | - |
| 594 | return never executed: return lineLength > 0 ? lineLength : qstrlen(data); lineLength > 0 ? lineLength : qstrlen(data);never executed: return lineLength > 0 ? lineLength : qstrlen(data); | 0 |
| 595 | } | - |
| 596 | | - |
| 597 | | - |
| 598 | | - |
| 599 | | - |
| 600 | qint64 QFSFileEngine::write(const char *data, qint64 len) | - |
| 601 | { | - |
| 602 | QFSFileEnginePrivate * const d = d_func(); | - |
| 603 | | - |
| 604 | | - |
| 605 | | - |
| 606 | | - |
| 607 | if (d->lastIOCommand != QFSFileEnginePrivate::IOWriteCommand| TRUE | evaluated 2396 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| | FALSE | evaluated 16743 times by 15 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDataStream
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QTextStream
|
) { | 2396-16743 |
| 608 | flush(); | - |
| 609 | d->lastIOCommand = QFSFileEnginePrivate::IOWriteCommand; | - |
| 610 | }executed 2396 times by 46 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 2396 |
| 611 | | - |
| 612 | returnexecuted 19139 times by 46 tests: return d->nativeWrite(data, len);Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
d->nativeWrite(data, len);executed 19139 times by 46 tests: return d->nativeWrite(data, len);Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 19139 |
| 613 | } | - |
| 614 | | - |
| 615 | | - |
| 616 | | - |
| 617 | | - |
| 618 | qint64 QFSFileEnginePrivate::writeFdFh(const char *data, qint64 len) | - |
| 619 | { | - |
| 620 | QFSFileEngine * const q = q_func(); | - |
| 621 | | - |
| 622 | if (len < 0| TRUE | never evaluated | | FALSE | evaluated 19139 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
|
|| len != qint64(size_t(len))| TRUE | never evaluated | | FALSE | evaluated 19139 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
|
) { | 0-19139 |
| 623 | q->setError(QFile::WriteError, qt_error_string(22)); | - |
| 624 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 625 | } | - |
| 626 | | - |
| 627 | qint64 writtenBytes = 0; | - |
| 628 | | - |
| 629 | if (len| TRUE | evaluated 19136 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| | FALSE | evaluated 3 times by 1 test |
) { | 3-19136 |
| 630 | | - |
| 631 | if (fh| TRUE | evaluated 210 times by 4 testsEvaluated by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
| | FALSE | evaluated 18926 times by 43 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
|
) { | 210-18926 |
| 632 | | - |
| 633 | | - |
| 634 | size_t result; | - |
| 635 | do { | - |
| 636 | result = fwrite(data + writtenBytes, 1, size_t(len - writtenBytes), fh); | - |
| 637 | writtenBytes += result; | - |
| 638 | }executed 210 times by 4 tests: end of blockExecuted by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
while (result == 0| TRUE | never evaluated | | FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
? (*__errno_location ()) == 4 : writtenBytes < len| TRUE | never evaluated | | FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
|
); | 0-210 |
| 639 | | - |
| 640 | }executed 210 times by 4 tests: end of blockExecuted by:- tst_QFile
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
else if (fd != -1| TRUE | evaluated 18926 times by 43 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| | FALSE | never evaluated |
) { | 0-18926 |
| 641 | | - |
| 642 | | - |
| 643 | SignedIOType result; | - |
| 644 | do { | - |
| 645 | | - |
| 646 | | - |
| 647 | | - |
| 648 | quint64 wantedBytes = quint64(len) - quint64(writtenBytes); | - |
| 649 | UnsignedIOType chunkSize = std::numeric_limits<SignedIOType>::max(); | - |
| 650 | if (chunkSize > wantedBytes| TRUE | evaluated 18926 times by 43 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| | FALSE | never evaluated |
) | 0-18926 |
| 651 | chunkSize = wantedBytes;executed 18926 times by 43 tests: chunkSize = wantedBytes;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 18926 |
| 652 | result = qt_safe_write(fd, data + writtenBytes, chunkSize); | - |
| 653 | }executed 18926 times by 43 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
while (result > 0| TRUE | evaluated 18920 times by 43 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| | FALSE | evaluated 6 times by 1 test |
&& (| TRUE | never evaluated | | FALSE | evaluated 18920 times by 43 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
|
writtenBytes += result) < len| TRUE | never evaluated | | FALSE | evaluated 18920 times by 43 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
|
); | 0-18926 |
| 654 | }executed 18926 times by 43 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 18926 |
| 655 | | - |
| 656 | }executed 19136 times by 46 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 19136 |
| 657 | | - |
| 658 | if (len| TRUE | evaluated 19136 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| | FALSE | evaluated 3 times by 1 test |
&& writtenBytes == 0| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 19130 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
|
) { | 3-19136 |
| 659 | writtenBytes = -1; | - |
| 660 | q->setError((*__errno_location ()) == 28 ? QFile::ResourceError : QFile::WriteError, qt_error_string((*__errno_location ()))); | - |
| 661 | }executed 6 times by 1 test: end of block else { | 6 |
| 662 | | - |
| 663 | metaData.clearFlags(QFileSystemMetaData::SizeAttribute); | - |
| 664 | }executed 19133 times by 46 tests: end of blockExecuted by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 19133 |
| 665 | | - |
| 666 | returnexecuted 19139 times by 46 tests: return writtenBytes;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
writtenBytes;executed 19139 times by 46 tests: return writtenBytes;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPainterPath
- ...
| 19139 |
| 667 | } | - |
| 668 | | - |
| 669 | | - |
| 670 | | - |
| 671 | | - |
| 672 | | - |
| 673 | QAbstractFileEngine::Iterator *QFSFileEngine::beginEntryList(QDir::Filters filters, const QStringList &filterNames) | - |
| 674 | { | - |
| 675 | return never executed: return new QFSFileEngineIterator(filters, filterNames); new QFSFileEngineIterator(filters, filterNames);never executed: return new QFSFileEngineIterator(filters, filterNames); | 0 |
| 676 | } | - |
| 677 | | - |
| 678 | | - |
| 679 | | - |
| 680 | | - |
| 681 | QAbstractFileEngine::Iterator *QFSFileEngine::endEntryList() | - |
| 682 | { | - |
| 683 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 684 | } | - |
| 685 | | - |
| 686 | | - |
| 687 | | - |
| 688 | | - |
| 689 | | - |
| 690 | QStringList QFSFileEngine::entryList(QDir::Filters filters, const QStringList &filterNames) const | - |
| 691 | { | - |
| 692 | return never executed: return QAbstractFileEngine::entryList(filters, filterNames); QAbstractFileEngine::entryList(filters, filterNames);never executed: return QAbstractFileEngine::entryList(filters, filterNames); | 0 |
| 693 | } | - |
| 694 | | - |
| 695 | | - |
| 696 | | - |
| 697 | | - |
| 698 | bool QFSFileEngine::isSequential() const | - |
| 699 | { | - |
| 700 | const QFSFileEnginePrivate * const d = d_func(); | - |
| 701 | if (d->is_sequential == 0| TRUE | evaluated 26550 times by 109 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 18450 times by 58 testsEvaluated by:- tst_LargeFile
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIODevice
- tst_QIcoImageFormat
- ...
|
) | 18450-26550 |
| 702 | d->is_sequential = d->nativeIsSequential()| TRUE | evaluated 360 times by 8 testsEvaluated by:- tst_QFile
- tst_QPrinterInfo
- tst_QRawFont
- tst_QUuid
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
- tst_quuid - unknown status
| | FALSE | evaluated 26190 times by 104 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
|
? 1 : 2;executed 26550 times by 109 tests: d->is_sequential = d->nativeIsSequential() ? 1 : 2;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| 360-26550 |
| 703 | returnexecuted 45000 times by 109 tests: return d->is_sequential == 1;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
d->is_sequential == 1;executed 45000 times by 109 tests: return d->is_sequential == 1;Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| 45000 |
| 704 | } | - |
| 705 | | - |
| 706 | | - |
| 707 | | - |
| 708 | | - |
| 709 | | - |
| 710 | bool QFSFileEnginePrivate::isSequentialFdFh() const | - |
| 711 | { | - |
| 712 | if (doStat(QFileSystemMetaData::SequentialType)| TRUE | evaluated 26944 times by 109 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| | FALSE | never evaluated |
) | 0-26944 |
| 713 | returnexecuted 26944 times by 109 tests: return metaData.isSequential();Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
metaData.isSequential();executed 26944 times by 109 tests: return metaData.isSequential();Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| 26944 |
| 714 | return never executed: return true; true;never executed: return true; | 0 |
| 715 | } | - |
| 716 | | - |
| 717 | | - |
| 718 | | - |
| 719 | | - |
| 720 | | - |
| 721 | bool QFSFileEngine::extension(Extension extension, const ExtensionOption *option, ExtensionReturn *output) | - |
| 722 | { | - |
| 723 | QFSFileEnginePrivate * const d = d_func(); | - |
| 724 | if (extension == AtEndExtension| TRUE | never evaluated | | FALSE | evaluated 67184 times by 121 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
|
&& d->fh| TRUE | never evaluated | | FALSE | never evaluated |
&& isSequential()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-67184 |
| 725 | return never executed: return feof(d->fh); feof(d->fh);never executed: return feof(d->fh); | 0 |
| 726 | | - |
| 727 | if (extension == MapExtension| TRUE | evaluated 34379 times by 121 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| | FALSE | evaluated 32805 times by 2 tests |
) { | 32805-34379 |
| 728 | const MapExtensionOption *options = (const MapExtensionOption*)(option); | - |
| 729 | MapExtensionReturn *returnValue = static_cast<MapExtensionReturn*>(output); | - |
| 730 | returnValue->address = d->map(options->offset, options->size, options->flags); | - |
| 731 | returnexecuted 34379 times by 121 tests: return (returnValue->address != 0);Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
(returnValue->address != 0);executed 34379 times by 121 tests: return (returnValue->address != 0);Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| 34379 |
| 732 | } | - |
| 733 | if (extension == UnMapExtension| TRUE | evaluated 32805 times by 2 tests | | FALSE | never evaluated |
) { | 0-32805 |
| 734 | const UnMapExtensionOption *options = (const UnMapExtensionOption*)option; | - |
| 735 | returnexecuted 32805 times by 2 tests: return d->unmap(options->address); d->unmap(options->address);executed 32805 times by 2 tests: return d->unmap(options->address); | 32805 |
| 736 | } | - |
| 737 | | - |
| 738 | return never executed: return false; false;never executed: return false; | 0 |
| 739 | } | - |
| 740 | | - |
| 741 | | - |
| 742 | | - |
| 743 | | - |
| 744 | bool QFSFileEngine::supportsExtension(Extension extension) const | - |
| 745 | { | - |
| 746 | const QFSFileEnginePrivate * const d = d_func(); | - |
| 747 | if (extension == AtEndExtension| TRUE | evaluated 4194 times by 44 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- 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_QImageReader
- tst_QLayout
- tst_QLoggingRegistry
- ...
| | FALSE | evaluated 67831 times by 128 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- ...
|
&& d->fh| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4190 times by 44 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- 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_QImageReader
- tst_QLayout
- tst_QLoggingRegistry
- ...
|
&& isSequential()| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) | 0-67831 |
| 748 | return never executed: return true; true;never executed: return true; | 0 |
| 749 | if (extension == FastReadLineExtension| TRUE | evaluated 647 times by 37 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 71378 times by 136 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
|
&& d->fh| TRUE | never evaluated | | FALSE | evaluated 647 times by 37 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
- ...
|
) | 0-71378 |
| 750 | return never executed: return true; true;never executed: return true; | 0 |
| 751 | if (extension == FastReadLineExtension| TRUE | evaluated 647 times by 37 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 71378 times by 136 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
|
&& d->fd != -1| TRUE | evaluated 647 times by 37 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 | never evaluated |
&& isSequential()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 639 times by 37 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
- ...
|
) | 0-71378 |
| 752 | returnexecuted 8 times by 1 test: return true; true;executed 8 times by 1 test: return true; | 8 |
| 753 | if (extension == UnMapExtension| TRUE | evaluated 32805 times by 2 tests | | FALSE | evaluated 39212 times by 138 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
|
|| extension == MapExtension| TRUE | evaluated 34379 times by 121 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| | FALSE | evaluated 4833 times by 49 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- 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
- ...
|
) | 4833-39212 |
| 754 | returnexecuted 67184 times by 121 tests: return true;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
true;executed 67184 times by 121 tests: return true;Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| 67184 |
| 755 | returnexecuted 4833 times by 49 tests: return false;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- 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
- ...
false;executed 4833 times by 49 tests: return false;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- 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
- ...
| 4833 |
| 756 | } | - |
| 757 | | - |
| | |