| Line | Source | Count | 
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 |  | - | 
| 8 |  | - | 
| 9 |  | - | 
| 10 |  | - | 
| 11 | QFilePrivate::QFilePrivate() | - | 
| 12 | { | - | 
| 13 | } | - | 
| 14 |  | - | 
| 15 | QFilePrivate::~QFilePrivate() | - | 
| 16 | { | - | 
| 17 | } | - | 
| 18 |  | - | 
| 19 | bool | - | 
| 20 | QFilePrivate::openExternalFile(int flags, int fd, QFile::FileHandleFlags handleFlags) | - | 
| 21 | { | - | 
| 22 |  | - | 
| 23 |  | - | 
| 24 |  | - | 
| 25 |  | - | 
| 26 |  | - | 
| 27 |     delete fileEngine; | - | 
| 28 |     fileEngine = 0; | - | 
| 29 |     QFSFileEngine *fe = new QFSFileEngine; | - | 
| 30 |     fileEngine = fe; | - | 
| 31 |     returnexecuted 29 times by 3 tests:  return fe->open(QIODevice::OpenMode(flags), fd, handleFlags);Executed by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
    fe->open(QIODevice::OpenMode(flags), fd, handleFlags);executed 29 times by 3 tests:  return fe->open(QIODevice::OpenMode(flags), fd, handleFlags);Executed by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
    | 29 | 
| 32 |  | - | 
| 33 | } | - | 
| 34 |  | - | 
| 35 | bool | - | 
| 36 | QFilePrivate::openExternalFile(int flags, FILE *fh, QFile::FileHandleFlags handleFlags) | - | 
| 37 | { | - | 
| 38 |  | - | 
| 39 |  | - | 
| 40 |  | - | 
| 41 |  | - | 
| 42 |  | - | 
| 43 |     delete fileEngine; | - | 
| 44 |     fileEngine = 0; | - | 
| 45 |     QFSFileEngine *fe = new QFSFileEngine; | - | 
| 46 |     fileEngine = fe; | - | 
| 47 |     returnexecuted 364 times by 5 tests:  return fe->open(QIODevice::OpenMode(flags), fh, handleFlags);Executed by:- tst_LargeFile
 - tst_QFile
 - tst_qdbuscpp2xml - unknown status
 - tst_qdbusxml2cpp - unknown status
 - tst_qnetworkreply - unknown status
 
    fe->open(QIODevice::OpenMode(flags), fh, handleFlags);executed 364 times by 5 tests:  return fe->open(QIODevice::OpenMode(flags), fh, handleFlags);Executed by:- tst_LargeFile
 - tst_QFile
 - tst_qdbuscpp2xml - unknown status
 - tst_qdbusxml2cpp - unknown status
 - tst_qnetworkreply - unknown status
 
    | 364 | 
| 48 |  | - | 
| 49 | } | - | 
| 50 |  | - | 
| 51 | QAbstractFileEngine *QFilePrivate::engine() const | - | 
| 52 | { | - | 
| 53 |     if (!fileEngine| TRUE | evaluated 55449 times by 209 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
 - ...
 
   |  | FALSE | evaluated 257290 times by 165 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
 - ...
 
   |  
  ) | 55449-257290 | 
| 54 |         fileEngine = QAbstractFileEngine::create(fileName);executed 55449 times by 209 tests:  fileEngine = QAbstractFileEngine::create(fileName);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
 - ...
 
    | 55449 | 
| 55 |     returnexecuted 312739 times by 209 tests:  return fileEngine;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
 - ...
 
    fileEngine;executed 312739 times by 209 tests:  return fileEngine;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
 - ...
 
    | 312739 | 
| 56 | } | - | 
| 57 | QFile::QFile() | - | 
| 58 |     : QFileDevice(*new QFilePrivate, 0) | - | 
| 59 | { | - | 
| 60 | }executed 846 times by 47 tests:  end of blockExecuted by:- tst_LargeFile
 - tst_QAbstractItemView
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileSystemModel
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QIODevice
 - tst_QIcon
 - tst_QImageIOHandler
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLabel
 - tst_QLineEdit
 - tst_QMessageBox
 - tst_QMetaType
 - ...
 
    | 846 | 
| 61 |  | - | 
| 62 |  | - | 
| 63 |  | - | 
| 64 | QFile::QFile(QObject *parent) | - | 
| 65 |     : QFileDevice(*new QFilePrivate, parent) | - | 
| 66 | { | - | 
| 67 | }executed 8 times by 2 tests:  end of block  | 8 | 
| 68 |  | - | 
| 69 |  | - | 
| 70 |  | - | 
| 71 | QFile::QFile(const QString &name) | - | 
| 72 |     : QFileDevice(*new QFilePrivate, 0) | - | 
| 73 | { | - | 
| 74 |     QFilePrivate * const d = d_func(); | - | 
| 75 |     d->fileName = name; | - | 
| 76 | }executed 55560 times by 210 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
 - ...
 
    | 55560 | 
| 77 |  | - | 
| 78 |  | - | 
| 79 |  | - | 
| 80 |  | - | 
| 81 | QFile::QFile(const QString &name, QObject *parent) | - | 
| 82 |     : QFileDevice(*new QFilePrivate, parent) | - | 
| 83 | { | - | 
| 84 |     QFilePrivate * const d = d_func(); | - | 
| 85 |     d->fileName = name; | - | 
| 86 | }executed 1 time by 1 test:  end of block  | 1 | 
| 87 |  | - | 
| 88 |  | - | 
| 89 |  | - | 
| 90 | QFile::QFile(QFilePrivate &dd, QObject *parent) | - | 
| 91 |     : QFileDevice(dd, parent) | - | 
| 92 | { | - | 
| 93 | }executed 1579 times by 24 tests:  end of blockExecuted by:- tst_QAbstractNetworkCache
 - tst_QColorDialog
 - tst_QDir
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLockFile
 - tst_QMetaType
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QPdfWriter
 - tst_QPixmap
 - tst_QSettings
 - tst_QStorageInfo
 - tst_QTemporaryFile
 - tst_languageChange
 - tst_qlockfile - unknown status
 
    | 1579 | 
| 94 |  | - | 
| 95 |  | - | 
| 96 |  | - | 
| 97 |  | - | 
| 98 |  | - | 
| 99 | QFile::~QFile() | - | 
| 100 | { | - | 
| 101 | } | - | 
| 102 |  | - | 
| 103 |  | - | 
| 104 |  | - | 
| 105 |  | - | 
| 106 |  | - | 
| 107 |  | - | 
| 108 |  | - | 
| 109 | QString QFile::fileName() const | - | 
| 110 | { | - | 
| 111 |     const QFilePrivate * const d = d_func(); | - | 
| 112 |     returnexecuted 23511 times by 89 tests:  return d->engine()->fileName(QAbstractFileEngine::DefaultName);Executed by:- tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAbstractScrollArea
 - tst_QAccessibility
 - tst_QButtonGroup
 - tst_QCalendarWidget
 - tst_QColorDialog
 - tst_QColumnView
 - tst_QComboBox
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDataStream
 - tst_QDateTimeEdit
 - tst_QDebug
 - tst_QDialog
 - tst_QDir
 - tst_QDoubleSpinBox
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QFiledialog
 - ...
 
    d->engine()->fileName(QAbstractFileEngine::DefaultName);executed 23511 times by 89 tests:  return d->engine()->fileName(QAbstractFileEngine::DefaultName);Executed by:- tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAbstractScrollArea
 - tst_QAccessibility
 - tst_QButtonGroup
 - tst_QCalendarWidget
 - tst_QColorDialog
 - tst_QColumnView
 - tst_QComboBox
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDataStream
 - tst_QDateTimeEdit
 - tst_QDebug
 - tst_QDialog
 - tst_QDir
 - tst_QDoubleSpinBox
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QFiledialog
 - ...
 
    | 23511 | 
| 113 | } | - | 
| 114 | void | - | 
| 115 | QFile::setFileName(const QString &name) | - | 
| 116 | { | - | 
| 117 |     QFilePrivate * const d = d_func(); | - | 
| 118 |     if (isOpen()| TRUE | never evaluated |  | FALSE | evaluated 3036 times by 43 testsEvaluated by:- tst_LargeFile
 - tst_QAbstractItemView
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileSystemModel
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QGraphicsWidget
 - tst_QIODevice
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QLabel
 - tst_QLineEdit
 - tst_QMessageBox
 - tst_QNetworkReply
 - ...
 
   |  
  ) { | 0-3036 | 
| 119 |         QMessageLogger(__FILE__, 318, __PRETTY_FUNCTION__).warning("QFile::setFileName: File (%s) is already opened", | - | 
| 120 |                  QString(fileName()).toLocal8Bit().constData()); | - | 
| 121 |         close(); | - | 
| 122 |     } never executed: end of block  | 0 | 
| 123 |     if(d->fileEngine| TRUE | evaluated 2445 times by 16 testsEvaluated by:- tst_LargeFile
 - tst_QDateTime
 - tst_QFile
 - tst_QGraphicsWidget
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QLabel
 - tst_QPixmap
 - tst_QRawFont
 - tst_QSharedPointer
 - tst_QSystemTrayIcon
 - tst_QTextBrowser
 - tst_QTextEdit
 - tst_QTimeZone
 - tst_QXmlSimpleReader
 
   |  | FALSE | evaluated 591 times by 35 testsEvaluated by:- tst_LargeFile
 - tst_QAbstractItemView
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileSystemModel
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QIODevice
 - tst_QIcon
 - tst_QLabel
 - tst_QLineEdit
 - tst_QMessageBox
 - tst_QNetworkReply
 - tst_QPlainTextEdit
 - tst_QPrinter
 - tst_QSidebar
 - ...
 
   |  
  ) { | 591-2445 | 
| 124 |         delete d->fileEngine; | - | 
| 125 |         d->fileEngine = 0; | - | 
| 126 |     }executed 2445 times by 16 tests:  end of blockExecuted by:- tst_LargeFile
 - tst_QDateTime
 - tst_QFile
 - tst_QGraphicsWidget
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QLabel
 - tst_QPixmap
 - tst_QRawFont
 - tst_QSharedPointer
 - tst_QSystemTrayIcon
 - tst_QTextBrowser
 - tst_QTextEdit
 - tst_QTimeZone
 - tst_QXmlSimpleReader
 
    | 2445 | 
| 127 |     d->fileName = name; | - | 
| 128 | }executed 3036 times by 43 tests:  end of blockExecuted by:- tst_LargeFile
 - tst_QAbstractItemView
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileSystemModel
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QGraphicsWidget
 - tst_QIODevice
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QLabel
 - tst_QLineEdit
 - tst_QMessageBox
 - tst_QNetworkReply
 - ...
 
    | 3036 | 
| 129 | bool | - | 
| 130 | QFile::exists() const | - | 
| 131 | { | - | 
| 132 |     const QFilePrivate * const d = d_func(); | - | 
| 133 |  | - | 
| 134 |     returnexecuted 2405 times by 57 tests:  return (d->engine()->fileFlags(QAbstractFileEngine::FlagsMask | QAbstractFileEngine::FileFlag(0x1000000)) & QAbstractFileEngine::ExistsFlag);Executed by:- tst_LargeFile
 - tst_QAbstractFileEngine
 - tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QChar
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDateTimeEdit
 - tst_QDir
 - tst_QDirModel
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - ...
 
    (d->engine()->fileFlags(QAbstractFileEngine::FlagsMaskexecuted 2405 times by 57 tests:  return (d->engine()->fileFlags(QAbstractFileEngine::FlagsMask | QAbstractFileEngine::FileFlag(0x1000000)) & QAbstractFileEngine::ExistsFlag);Executed by:- tst_LargeFile
 - tst_QAbstractFileEngine
 - tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QChar
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDateTimeEdit
 - tst_QDir
 - tst_QDirModel
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - ...
 
    | 2405 | 
| 135 |                                     | QAbstractFileEngine::FileFlag(0x1000000)) & QAbstractFileEngine::ExistsFlag);executed 2405 times by 57 tests:  return (d->engine()->fileFlags(QAbstractFileEngine::FlagsMask | QAbstractFileEngine::FileFlag(0x1000000)) & QAbstractFileEngine::ExistsFlag);Executed by:- tst_LargeFile
 - tst_QAbstractFileEngine
 - tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAccessibility
 - tst_QCalendarWidget
 - tst_QChar
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QDateTimeEdit
 - tst_QDir
 - tst_QDirModel
 - tst_QErrorMessage
 - tst_QFile
 - tst_QFileDialog2
 - tst_QFileIconProvider
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QFiledialog
 - tst_QGraphicsProxyWidget
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - ...
 
    | 2405 | 
| 136 | } | - | 
| 137 | bool | - | 
| 138 | QFile::exists(const QString &fileName) | - | 
| 139 | { | - | 
| 140 |     returnexecuted 114113 times by 217 tests:  return QFileInfo::exists(fileName);Executed by:- tst_Gestures
 - tst_NetworkSelfTest
 - tst_QAbstractFileEngine
 - tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAbstractPrintDialog
 - tst_QAbstractScrollArea
 - tst_QAbstractSpinBox
 - tst_QAccessibility
 - tst_QAction
 - tst_QApplication
 - tst_QBackingStore
 - tst_QBrush
 - tst_QButtonGroup
 - tst_QByteArray
 - tst_QCalendarWidget
 - tst_QClipboard
 - tst_QColorDialog
 - tst_QColumnView
 - tst_QComboBox
 - tst_QCommandLineParser
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QCoreApplication
 - tst_QCryptographicHash
 - ...
 
    QFileInfo::exists(fileName);executed 114113 times by 217 tests:  return QFileInfo::exists(fileName);Executed by:- tst_Gestures
 - tst_NetworkSelfTest
 - tst_QAbstractFileEngine
 - tst_QAbstractItemView
 - tst_QAbstractNetworkCache
 - tst_QAbstractPrintDialog
 - tst_QAbstractScrollArea
 - tst_QAbstractSpinBox
 - tst_QAccessibility
 - tst_QAction
 - tst_QApplication
 - tst_QBackingStore
 - tst_QBrush
 - tst_QButtonGroup
 - tst_QByteArray
 - tst_QCalendarWidget
 - tst_QClipboard
 - tst_QColorDialog
 - tst_QColumnView
 - tst_QComboBox
 - tst_QCommandLineParser
 - tst_QCommandLinkButton
 - tst_QCompleter
 - tst_QCoreApplication
 - tst_QCryptographicHash
 - ...
 
    | 114113 | 
| 141 | } | - | 
| 142 | QString | - | 
| 143 | QFile::readLink() const | - | 
| 144 | { | - | 
| 145 |     const QFilePrivate * const d = d_func(); | - | 
| 146 |     returnexecuted 2 times by 1 test:  return d->engine()->fileName(QAbstractFileEngine::LinkName);  d->engine()->fileName(QAbstractFileEngine::LinkName);executed 2 times by 1 test:  return d->engine()->fileName(QAbstractFileEngine::LinkName);  | 2 | 
| 147 | } | - | 
| 148 | QString | - | 
| 149 | QFile::readLink(const QString &fileName) | - | 
| 150 | { | - | 
| 151 |     returnexecuted 1 time by 1 test:  return QFileInfo(fileName).readLink();  QFileInfo(fileName).readLink();executed 1 time by 1 test:  return QFileInfo(fileName).readLink();  | 1 | 
| 152 | } | - | 
| 153 | bool | - | 
| 154 | QFile::remove() | - | 
| 155 | { | - | 
| 156 |     QFilePrivate * const d = d_func(); | - | 
| 157 |     if (d->fileName.isEmpty()| TRUE | never evaluated |  | FALSE | evaluated 12710 times by 75 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_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - ...
 
   |  
  ) { | 0-12710 | 
| 158 |         QMessageLogger(__FILE__, 498, __PRETTY_FUNCTION__).warning("QFile::remove: Empty or null file name"); | - | 
| 159 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 160 |     } | - | 
| 161 |     unsetError(); | - | 
| 162 |     close(); | - | 
| 163 |     if(error() == QFile::NoError| TRUE | evaluated 12710 times by 75 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_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - ...
 
   |  | FALSE | never evaluated |  
  ) { | 0-12710 | 
| 164 |         if (d->engine()->remove()| TRUE | evaluated 12126 times by 75 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_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - ...
 
   |  | FALSE | evaluated 584 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemWatcher
 - tst_QIODevice
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QPrinter
 - tst_QSaveFile
 - tst_QSettings
 - tst_QSharedMemory
 - tst_QTextStream
 - tst_QXmlStream
 - tst_qmake
 - tst_qstandardpaths
 - tst_selftests - unknown status
 
   |  
  ) { | 584-12126 | 
| 165 |             unsetError(); | - | 
| 166 |             returnexecuted 12126 times by 75 tests:  return true;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_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - ...
 
    true;executed 12126 times by 75 tests:  return true;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_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - ...
 
    | 12126 | 
| 167 |         } | - | 
| 168 |         d->setError(QFile::RemoveError, d->fileEngine->errorString()); | - | 
| 169 |     }executed 584 times by 21 tests:  end of blockExecuted by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemWatcher
 - tst_QIODevice
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QPrinter
 - tst_QSaveFile
 - tst_QSettings
 - tst_QSharedMemory
 - tst_QTextStream
 - tst_QXmlStream
 - tst_qmake
 - tst_qstandardpaths
 - tst_selftests - unknown status
 
    | 584 | 
| 170 |     returnexecuted 584 times by 21 tests:  return false;Executed by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemWatcher
 - tst_QIODevice
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QPrinter
 - tst_QSaveFile
 - tst_QSettings
 - tst_QSharedMemory
 - tst_QTextStream
 - tst_QXmlStream
 - tst_qmake
 - tst_qstandardpaths
 - tst_selftests - unknown status
 
    false;executed 584 times by 21 tests:  return false;Executed by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemWatcher
 - tst_QIODevice
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QPrinter
 - tst_QSaveFile
 - tst_QSettings
 - tst_QSharedMemory
 - tst_QTextStream
 - tst_QXmlStream
 - tst_qmake
 - tst_qstandardpaths
 - tst_selftests - unknown status
 
    | 584 | 
| 171 | } | - | 
| 172 | bool | - | 
| 173 | QFile::remove(const QString &fileName) | - | 
| 174 | { | - | 
| 175 |     returnexecuted 11293 times by 66 tests:  return QFile(fileName).remove();Executed by:- 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_QImage
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QNetworkSession
 - tst_QPainter
 - ...
 
    QFile(fileName).remove();executed 11293 times by 66 tests:  return QFile(fileName).remove();Executed by:- 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_QImage
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QLockFile
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QNetworkSession
 - tst_QPainter
 - ...
 
    | 11293 | 
| 176 | } | - | 
| 177 | bool | - | 
| 178 | QFile::rename(const QString &newName) | - | 
| 179 | { | - | 
| 180 |     QFilePrivate * const d = d_func(); | - | 
| 181 |     if (d->fileName.isEmpty()| TRUE | never evaluated |  | FALSE | evaluated 257 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
   |  
  ) { | 0-257 | 
| 182 |         QMessageLogger(__FILE__, 551, __PRETTY_FUNCTION__).warning("QFile::rename: Empty or null file name"); | - | 
| 183 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 184 |     } | - | 
| 185 |     if (d->fileName == newName| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 256 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
   |  
  ) { | 1-256 | 
| 186 |         d->setError(QFile::RenameError, tr("Destination file is the same file.")); | - | 
| 187 |         returnexecuted 1 time by 1 test:  return false;  false;executed 1 time by 1 test:  return false;  | 1 | 
| 188 |     } | - | 
| 189 |     if (!exists()| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 254 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
   |  
  ) { | 2-254 | 
| 190 |         d->setError(QFile::RenameError, tr("Source file does not exist.")); | - | 
| 191 |         returnexecuted 2 times by 1 test:  return false;  false;executed 2 times by 1 test:  return false;  | 2 | 
| 192 |     } | - | 
| 193 |  | - | 
| 194 |  | - | 
| 195 |     if (QFile::exists(newName)| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 250 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
   |  
  ) { | 4-250 | 
| 196 |         if (d->fileName.compare(newName, Qt::CaseInsensitive)| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated |  
  | 0-4 | 
| 197 |             || QFileSystemEngine::id(QFileSystemEntry(d->fileName)) != QFileSystemEngine::id(QFileSystemEntry(newName))| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 198 |  | - | 
| 199 |  | - | 
| 200 |  | - | 
| 201 |             d->setError(QFile::RenameError, tr("Destination file exists")); | - | 
| 202 |             returnexecuted 4 times by 1 test:  return false;  false;executed 4 times by 1 test:  return false;  | 4 | 
| 203 |         } | - | 
| 204 |  | - | 
| 205 |  | - | 
| 206 |  | - | 
| 207 |  | - | 
| 208 |  | - | 
| 209 |         QTemporaryFile tempFile(d->fileName + ([]() -> QString { enum { Size = sizeof(u"" ".XXXXXX")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" ".XXXXXX" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp;  qstring_literal_temp;never executed: return qstring_literal_temp;  }())); | 0 | 
| 210 |         tempFile.setAutoRemove(false); | - | 
| 211 |         if (!tempFile.open(QIODevice::ReadWrite)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 212 |             d->setError(QFile::RenameError, tempFile.errorString()); | - | 
| 213 |             return never executed: return false;  false;never executed: return false;  | 0 | 
| 214 |         } | - | 
| 215 |         tempFile.close(); | - | 
| 216 |         if (!d->engine()->rename(tempFile.fileName())| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 217 |             d->setError(QFile::RenameError, tr("Error while renaming.")); | - | 
| 218 |             return never executed: return false;  false;never executed: return false;  | 0 | 
| 219 |         } | - | 
| 220 |         if (tempFile.rename(newName)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 221 |             d->fileEngine->setFileName(newName); | - | 
| 222 |             d->fileName = newName; | - | 
| 223 |             return never executed: return true;  true;never executed: return true;  | 0 | 
| 224 |         } | - | 
| 225 |         d->setError(QFile::RenameError, tempFile.errorString()); | - | 
| 226 |  | - | 
| 227 |         if (!tempFile.rename(d->fileName)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 228 |             d->setError(QFile::RenameError, errorString() + QLatin1Char('\n') | - | 
| 229 |                         + tr("Unable to restore from %1: %2"). | - | 
| 230 |                         arg(QDir::toNativeSeparators(tempFile.fileName()), tempFile.errorString())); | - | 
| 231 |         } never executed: end of block  | 0 | 
| 232 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 233 |  | - | 
| 234 |  | - | 
| 235 |     } | - | 
| 236 |     unsetError(); | - | 
| 237 |     close(); | - | 
| 238 |     if(error() == QFile::NoError| TRUE | evaluated 250 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
   |  | FALSE | never evaluated |  
  ) { | 0-250 | 
| 239 |         if (d->engine()->rename(newName)| TRUE | evaluated 246 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
   |  | FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
   |  
  ) { | 4-246 | 
| 240 |             unsetError(); | - | 
| 241 |  | - | 
| 242 |             d->fileEngine->setFileName(newName); | - | 
| 243 |             d->fileName = newName; | - | 
| 244 |             returnexecuted 246 times by 13 tests:  return true;Executed by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
    true;executed 246 times by 13 tests:  return true;Executed by:- tst_QAbstractNetworkCache
 - tst_QDir
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QMimeDatabase
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_QTemporaryFile
 
    | 246 | 
| 245 |         } | - | 
| 246 |  | - | 
| 247 |         if (isSequential()| TRUE | never evaluated |  | FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
   |  
  ) { | 0-4 | 
| 248 |             d->setError(QFile::RenameError, tr("Will not rename sequential file using block copy")); | - | 
| 249 |             return never executed: return false;  false;never executed: return false;  | 0 | 
| 250 |         } | - | 
| 251 |  | - | 
| 252 |         QFile out(newName); | - | 
| 253 |         if (open(QIODevice::ReadOnly)| TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
   |  | FALSE | never evaluated |  
  ) { | 0-4 | 
| 254 |             if (out.open(QIODevice::WriteOnly | QIODevice::Truncate)| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
   |  
  ) { | 1-3 | 
| 255 |                 bool error = false; | - | 
| 256 |                 char block[4096]; | - | 
| 257 |                 qint64 bytes; | - | 
| 258 |                 while ((| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 1 time by 1 test |  
  bytes = read(block, sizeof(block))) > 0| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 1 time by 1 test |  
  ) { | 1 | 
| 259 |                     if (bytes != out.write(block, bytes)| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test |  
  ) { | 0-1 | 
| 260 |                         d->setError(QFile::RenameError, out.errorString()); | - | 
| 261 |                         error = true; | - | 
| 262 |                         break; never executed: break;  | 0 | 
| 263 |                     } | - | 
| 264 |                 }executed 1 time by 1 test:  end of block  | 1 | 
| 265 |                 if (bytes == -1| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test |  
  ) { | 0-1 | 
| 266 |                     d->setError(QFile::RenameError, errorString()); | - | 
| 267 |                     error = true; | - | 
| 268 |                 } never executed: end of block  | 0 | 
| 269 |                 if(!error| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated |  
  ) { | 0-1 | 
| 270 |                     if (!remove()| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated |  
  ) { | 0-1 | 
| 271 |                         d->setError(QFile::RenameError, tr("Cannot remove source file")); | - | 
| 272 |                         error = true; | - | 
| 273 |                     }executed 1 time by 1 test:  end of block  | 1 | 
| 274 |                 }executed 1 time by 1 test:  end of block  | 1 | 
| 275 |                 if (error| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated |  
  ) { | 0-1 | 
| 276 |                     out.remove(); | - | 
| 277 |                 }executed 1 time by 1 test:  end of block  else { | 1 | 
| 278 |                     d->fileEngine->setFileName(newName); | - | 
| 279 |                     setPermissions(permissions()); | - | 
| 280 |                     unsetError(); | - | 
| 281 |                     setFileName(newName); | - | 
| 282 |                 } never executed: end of block  | 0 | 
| 283 |                 close(); | - | 
| 284 |                 returnexecuted 1 time by 1 test:  return !error;  !error;executed 1 time by 1 test:  return !error;  | 1 | 
| 285 |             } | - | 
| 286 |             close(); | - | 
| 287 |         }executed 3 times by 3 tests:  end of blockExecuted by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
    | 3 | 
| 288 |         d->setError(QFile::RenameError, out.isOpen() ? errorString() : out.errorString()); | - | 
| 289 |     }executed 3 times by 3 tests:  end of blockExecuted by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
    | 3 | 
| 290 |     returnexecuted 3 times by 3 tests:  return false;Executed by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
    false;executed 3 times by 3 tests:  return false;Executed by:- tst_QDir
 - tst_QFile
 - tst_QTemporaryFile
 
    | 3 | 
| 291 | } | - | 
| 292 | bool | - | 
| 293 | QFile::rename(const QString &oldName, const QString &newName) | - | 
| 294 | { | - | 
| 295 |     returnexecuted 8 times by 3 tests:  return QFile(oldName).rename(newName);Executed by:- tst_QFile
 - tst_QFileSystemModel
 - tst_QSettings
 
    QFile(oldName).rename(newName);executed 8 times by 3 tests:  return QFile(oldName).rename(newName);Executed by:- tst_QFile
 - tst_QFileSystemModel
 - tst_QSettings
 
    | 8 | 
| 296 | } | - | 
| 297 | bool | - | 
| 298 | QFile::link(const QString &linkName) | - | 
| 299 | { | - | 
| 300 |     QFilePrivate * const d = d_func(); | - | 
| 301 |     if (d->fileName.isEmpty()| TRUE | never evaluated |  | FALSE | evaluated 161 times by 8 testsEvaluated by:- tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QMimeDatabase
 - tst_QSaveFile
 - tst_qstandardpaths
 
   |  
  ) { | 0-161 | 
| 302 |         QMessageLogger(__FILE__, 701, __PRETTY_FUNCTION__).warning("QFile::link: Empty or null file name"); | - | 
| 303 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 304 |     } | - | 
| 305 |     QFileInfo fi(linkName); | - | 
| 306 |     if (d->engine()->link(fi.absoluteFilePath())| TRUE | evaluated 161 times by 8 testsEvaluated by:- tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QMimeDatabase
 - tst_QSaveFile
 - tst_qstandardpaths
 
   |  | FALSE | never evaluated |  
  ) { | 0-161 | 
| 307 |         unsetError(); | - | 
| 308 |         returnexecuted 161 times by 8 tests:  return true;Executed by:- tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QMimeDatabase
 - tst_QSaveFile
 - tst_qstandardpaths
 
    true;executed 161 times by 8 tests:  return true;Executed by:- tst_QDir
 - tst_QDirIterator
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QMimeDatabase
 - tst_QSaveFile
 - tst_qstandardpaths
 
    | 161 | 
| 309 |     } | - | 
| 310 |     d->setError(QFile::RenameError, d->fileEngine->errorString()); | - | 
| 311 |     return never executed: return false;  false;never executed: return false;  | 0 | 
| 312 | } | - | 
| 313 | bool | - | 
| 314 | QFile::link(const QString &fileName, const QString &linkName) | - | 
| 315 | { | - | 
| 316 |     returnexecuted 151 times by 5 tests:  return QFile(fileName).link(linkName);Executed by:- tst_QDir
 - tst_QDirIterator
 - tst_QFile
 - tst_QMimeDatabase
 - tst_QSaveFile
 
    QFile(fileName).link(linkName);executed 151 times by 5 tests:  return QFile(fileName).link(linkName);Executed by:- tst_QDir
 - tst_QDirIterator
 - tst_QFile
 - tst_QMimeDatabase
 - tst_QSaveFile
 
    | 151 | 
| 317 | } | - | 
| 318 | bool | - | 
| 319 | QFile::copy(const QString &newName) | - | 
| 320 | { | - | 
| 321 |     QFilePrivate * const d = d_func(); | - | 
| 322 |     if (d->fileName.isEmpty()| TRUE | never evaluated |  | FALSE | evaluated 135 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-135 | 
| 323 |         QMessageLogger(__FILE__, 747, __PRETTY_FUNCTION__).warning("QFile::copy: Empty or null file name"); | - | 
| 324 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 325 |     } | - | 
| 326 |     if (QFile::exists(newName)| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 132 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 3-132 | 
| 327 |  | - | 
| 328 |  | - | 
| 329 |  | - | 
| 330 |         d->setError(QFile::CopyError, tr("Destination file exists")); | - | 
| 331 |         returnexecuted 3 times by 1 test:  return false;  false;executed 3 times by 1 test:  return false;  | 3 | 
| 332 |     } | - | 
| 333 |     unsetError(); | - | 
| 334 |     close(); | - | 
| 335 |     if(error() == QFile::NoError| TRUE | evaluated 132 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  | FALSE | never evaluated |  
  ) { | 0-132 | 
| 336 |         if (d->engine()->copy(newName)| TRUE | never evaluated |  | FALSE | evaluated 132 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-132 | 
| 337 |             unsetError(); | - | 
| 338 |             return never executed: return true;  true;never executed: return true;  | 0 | 
| 339 |         } else { | - | 
| 340 |             bool error = false; | - | 
| 341 |             if(!open(QFile::ReadOnly)| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 1-131 | 
| 342 |                 error = true; | - | 
| 343 |                 d->setError(QFile::CopyError, tr("Cannot open %1 for input").arg(d->fileName)); | - | 
| 344 |             }executed 1 time by 1 test:  end of block  else { | 1 | 
| 345 |                 QString fileTemplate = QLatin1String("%1/qt_temp.XXXXXX"); | - | 
| 346 |  | - | 
| 347 |  | - | 
| 348 |  | - | 
| 349 |  | - | 
| 350 |  | - | 
| 351 |                 QTemporaryFile out(fileTemplate.arg(QFileInfo(newName).path())); | - | 
| 352 |                 if (!out.open()| TRUE | never evaluated |  | FALSE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-131 | 
| 353 |                     out.setFileTemplate(fileTemplate.arg(QDir::tempPath())); | - | 
| 354 |                     if (!out.open()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 355 |                         error = true; never executed: error = true;  | 0 | 
| 356 |                 } never executed: end of block  | 0 | 
| 357 |  | - | 
| 358 |                 if (error| TRUE | never evaluated |  | FALSE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-131 | 
| 359 |                     out.close(); | - | 
| 360 |                     close(); | - | 
| 361 |                     d->setError(QFile::CopyError, tr("Cannot open for output")); | - | 
| 362 |                 } never executed: end of block  else { | 0 | 
| 363 |                     char block[4096]; | - | 
| 364 |                     qint64 totalRead = 0; | - | 
| 365 |                     while(!atEnd()| TRUE | evaluated 1269 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  | FALSE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 131-1269 | 
| 366 |                         qint64 in = read(block, sizeof(block)); | - | 
| 367 |                         if (in <= 0| TRUE | never evaluated |  | FALSE | evaluated 1269 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) | 0-1269 | 
| 368 |                             break; never executed: break;  | 0 | 
| 369 |                         totalRead += in; | - | 
| 370 |                         if(in != out.write(block, in)| TRUE | never evaluated |  | FALSE | evaluated 1269 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-1269 | 
| 371 |                             close(); | - | 
| 372 |                             d->setError(QFile::CopyError, tr("Failure to write block")); | - | 
| 373 |                             error = true; | - | 
| 374 |                             break; never executed: break;  | 0 | 
| 375 |                         } | - | 
| 376 |                     }executed 1269 times by 4 tests:  end of blockExecuted by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
    | 1269 | 
| 377 |  | - | 
| 378 |                     if (totalRead != size()| TRUE | never evaluated |  | FALSE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-131 | 
| 379 |  | - | 
| 380 |  | - | 
| 381 |                         error = true; | - | 
| 382 |                     } never executed: end of block  | 0 | 
| 383 |                     if (!error| TRUE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  | FALSE | never evaluated |  
   && !out.rename(newName)| TRUE | never evaluated |  | FALSE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  
  ) { | 0-131 | 
| 384 |                         error = true; | - | 
| 385 |                         close(); | - | 
| 386 |                         d->setError(QFile::CopyError, tr("Cannot create %1 for output").arg(newName)); | - | 
| 387 |                     } never executed: end of block  | 0 | 
| 388 |  | - | 
| 389 |  | - | 
| 390 |  | - | 
| 391 |  | - | 
| 392 |                     if (!error| TRUE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  | FALSE | never evaluated |  
  ) | 0-131 | 
| 393 |                         out.setAutoRemove(false);executed 131 times by 4 tests:  out.setAutoRemove(false);Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
    | 131 | 
| 394 |  | - | 
| 395 |                 }executed 131 times by 4 tests:  end of blockExecuted by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
    | 131 | 
| 396 |             } | - | 
| 397 |             if(!error| TRUE | evaluated 131 times by 4 testsEvaluated by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
   |  | FALSE | evaluated 1 time by 1 test |  
  ) { | 1-131 | 
| 398 |                 QFile::setPermissions(newName, permissions()); | - | 
| 399 |                 close(); | - | 
| 400 |                 unsetError(); | - | 
| 401 |                 returnexecuted 131 times by 4 tests:  return true;Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
    true;executed 131 times by 4 tests:  return true;Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 - tst_QMimeDatabase
 
    | 131 | 
| 402 |             } | - | 
| 403 |         }executed 1 time by 1 test:  end of block  | 1 | 
| 404 |     } | - | 
| 405 |     returnexecuted 1 time by 1 test:  return false;  false;executed 1 time by 1 test:  return false;  | 1 | 
| 406 | } | - | 
| 407 | bool | - | 
| 408 | QFile::copy(const QString &fileName, const QString &newName) | - | 
| 409 | { | - | 
| 410 |     returnexecuted 101 times by 3 tests:  return QFile(fileName).copy(newName);Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 
    QFile(fileName).copy(newName);executed 101 times by 3 tests:  return QFile(fileName).copy(newName);Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QImageReader
 
    | 101 | 
| 411 | } | - | 
| 412 | bool QFile::open(OpenMode mode) | - | 
| 413 | { | - | 
| 414 |     QFilePrivate * const d = d_func(); | - | 
| 415 |     if (isOpen()| TRUE | never evaluated |  | FALSE | evaluated 43318 times by 191 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
 - ...
 
   |  
  ) { | 0-43318 | 
| 416 |         QMessageLogger(__FILE__, 868, __PRETTY_FUNCTION__).warning("QFile::open: File (%s) already open", QString(fileName()).toLocal8Bit().constData()); | - | 
| 417 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 418 |     } | - | 
| 419 |     if (mode & Append| TRUE | evaluated 259 times by 6 testsEvaluated by:- tst_QAbstractFileEngine
 - tst_QFile
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_qfileopenevent
 - tst_qmakelib
 
   |  | FALSE | evaluated 43059 times by 191 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
 - ...
 
   |  
  ) | 259-43059 | 
| 420 |         mode |= WriteOnly;executed 259 times by 6 tests:  mode |= WriteOnly;Executed by:- tst_QAbstractFileEngine
 - tst_QFile
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_qfileopenevent
 - tst_qmakelib
 
    | 259 | 
| 421 |  | - | 
| 422 |     unsetError(); | - | 
| 423 |     if ((| TRUE | never evaluated |  | FALSE | evaluated 43318 times by 191 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
 - ...
 
   |  
  mode & (ReadOnly | WriteOnly)) == 0| TRUE | never evaluated |  | FALSE | evaluated 43318 times by 191 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
 - ...
 
   |  
  ) { | 0-43318 | 
| 424 |         QMessageLogger(__FILE__, 876, __PRETTY_FUNCTION__).warning("QIODevice::open: File access not specified"); | - | 
| 425 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 426 |     } | - | 
| 427 |  | - | 
| 428 |  | - | 
| 429 |     if (d->engine()->open(mode | QIODevice::Unbuffered)| TRUE | evaluated 39823 times by 175 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_QDBusMarshall
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - ...
 
   |  | FALSE | evaluated 3495 times by 52 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QApplication
 - tst_QCommandLineParser
 - tst_QCoreApplication
 - tst_QDBusConnectionNoBus
 - tst_QDBusConnectionNoLibDBus1
 - tst_QDBusConnection_Delayed
 - tst_QDateTime
 - tst_QDir
 - tst_QDnsLookup_Appless
 - tst_QFile
 - tst_QGlobal
 - tst_QGraphicsWidget
 - tst_QGuiApplication
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLabel
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkConfigurationManager
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QPixmap
 - ...
 
   |  
  ) { | 3495-39823 | 
| 430 |         QIODevice::open(mode); | - | 
| 431 |         if (mode & Append| TRUE | evaluated 258 times by 6 testsEvaluated by:- tst_QAbstractFileEngine
 - tst_QFile
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_qfileopenevent
 - tst_qmakelib
 
   |  | FALSE | evaluated 39565 times by 175 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_QDBusMarshall
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - ...
 
   |  
  ) | 258-39565 | 
| 432 |             seek(size());executed 258 times by 6 tests:  seek(size());Executed by:- tst_QAbstractFileEngine
 - tst_QFile
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_qfileopenevent
 - tst_qmakelib
 
    | 258 | 
| 433 |         returnexecuted 39823 times by 175 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_QDBusMarshall
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - ...
 
    true;executed 39823 times by 175 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_QDBusMarshall
 - tst_QDataStream
 - tst_QDateTime
 - tst_QDateTimeEdit
 - ...
 
    | 39823 | 
| 434 |     } | - | 
| 435 |     QFile::FileError err = d->fileEngine->error(); | - | 
| 436 |     if(err == QFile::UnspecifiedError| TRUE | evaluated 215 times by 8 testsEvaluated by:- tst_QFile
 - tst_QImageReader
 - tst_QPlainTextEdit
 - tst_QSettings
 - tst_QTextBrowser
 - tst_QTextDocument
 - tst_QTextEdit
 - tst_Selftests
 
   |  | FALSE | evaluated 3280 times by 49 testsEvaluated by:- tst_QAbstractNetworkCache
 - tst_QApplication
 - tst_QCommandLineParser
 - tst_QCoreApplication
 - tst_QDBusConnectionNoBus
 - tst_QDBusConnectionNoLibDBus1
 - tst_QDBusConnection_Delayed
 - tst_QDateTime
 - tst_QDir
 - tst_QDnsLookup_Appless
 - tst_QFile
 - tst_QGlobal
 - tst_QGraphicsWidget
 - tst_QGuiApplication
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLabel
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkConfigurationManager
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QPixmap
 - ...
 
   |  
  ) | 215-3280 | 
| 437 |         err = QFile::OpenError;executed 215 times by 8 tests:  err = QFile::OpenError;Executed by:- tst_QFile
 - tst_QImageReader
 - tst_QPlainTextEdit
 - tst_QSettings
 - tst_QTextBrowser
 - tst_QTextDocument
 - tst_QTextEdit
 - tst_Selftests
 
    | 215 | 
| 438 |     d->setError(err, d->fileEngine->errorString()); | - | 
| 439 |     returnexecuted 3495 times by 52 tests:  return false;Executed by:- tst_QAbstractNetworkCache
 - tst_QApplication
 - tst_QCommandLineParser
 - tst_QCoreApplication
 - tst_QDBusConnectionNoBus
 - tst_QDBusConnectionNoLibDBus1
 - tst_QDBusConnection_Delayed
 - tst_QDateTime
 - tst_QDir
 - tst_QDnsLookup_Appless
 - tst_QFile
 - tst_QGlobal
 - tst_QGraphicsWidget
 - tst_QGuiApplication
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLabel
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkConfigurationManager
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QPixmap
 - ...
 
    false;executed 3495 times by 52 tests:  return false;Executed by:- tst_QAbstractNetworkCache
 - tst_QApplication
 - tst_QCommandLineParser
 - tst_QCoreApplication
 - tst_QDBusConnectionNoBus
 - tst_QDBusConnectionNoLibDBus1
 - tst_QDBusConnection_Delayed
 - tst_QDateTime
 - tst_QDir
 - tst_QDnsLookup_Appless
 - tst_QFile
 - tst_QGlobal
 - tst_QGraphicsWidget
 - tst_QGuiApplication
 - tst_QIcon
 - tst_QImage
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLabel
 - tst_QLoggingRegistry
 - tst_QMimeDatabase
 - tst_QNetworkConfigurationManager
 - tst_QNetworkDiskCache
 - tst_QNetworkReply
 - tst_QPixmap
 - ...
 
    | 3495 | 
| 440 | } | - | 
| 441 | bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags) | - | 
| 442 | { | - | 
| 443 |     QFilePrivate * const d = d_func(); | - | 
| 444 |     if (isOpen()| 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 | 
| 445 |         QMessageLogger(__FILE__, 942, __PRETTY_FUNCTION__).warning("QFile::open: File (%s) already open", QString(fileName()).toLocal8Bit().constData()); | - | 
| 446 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 447 |     } | - | 
| 448 |     if (mode & 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 | 
| 449 |         mode |= WriteOnly; never executed: mode |= WriteOnly;  | 0 | 
| 450 |     unsetError(); | - | 
| 451 |     if ((| 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
 
   |  
  mode & (ReadOnly | WriteOnly)) == 0| 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 | 
| 452 |         QMessageLogger(__FILE__, 949, __PRETTY_FUNCTION__).warning("QFile::open: File access not specified"); | - | 
| 453 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 454 |     } | - | 
| 455 |     if (d->openExternalFile(mode, fh, handleFlags)| 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-364 | 
| 456 |         QIODevice::open(mode); | - | 
| 457 |         if (!(mode & Append)| 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 |  
   && !isSequential()| TRUE | evaluated 27 times by 2 tests |  | FALSE | evaluated 337 times by 4 testsEvaluated by:- tst_QFile
 - tst_qdbuscpp2xml - unknown status
 - tst_qdbusxml2cpp - unknown status
 - tst_qnetworkreply - unknown status
 
   |  
  ) { | 0-364 | 
| 458 |             qint64 pos = (qint64)::ftello64(fh); | - | 
| 459 |             if (pos != -1| TRUE | evaluated 27 times by 2 tests |  | FALSE | never evaluated |  
  ) { | 0-27 | 
| 460 |  | - | 
| 461 |                 QIODevice::seek(pos); | - | 
| 462 |             }executed 27 times by 2 tests:  end of block  | 27 | 
| 463 |         }executed 27 times by 2 tests:  end of block  | 27 | 
| 464 |         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 | 
| 465 |     } | - | 
| 466 |     return never executed: return false;  false;never executed: return false;  | 0 | 
| 467 | } | - | 
| 468 | bool QFile::open(int fd, OpenMode mode, FileHandleFlags handleFlags) | - | 
| 469 | { | - | 
| 470 |     QFilePrivate * const d = d_func(); | - | 
| 471 |     if (isOpen()| TRUE | never evaluated |  | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
   |  
  ) { | 0-29 | 
| 472 |         QMessageLogger(__FILE__, 1001, __PRETTY_FUNCTION__).warning("QFile::open: File (%s) already open", QString(fileName()).toLocal8Bit().constData()); | - | 
| 473 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 474 |     } | - | 
| 475 |     if (mode & Append| TRUE | never evaluated |  | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
   |  
  ) | 0-29 | 
| 476 |         mode |= WriteOnly; never executed: mode |= WriteOnly;  | 0 | 
| 477 |     unsetError(); | - | 
| 478 |     if ((| TRUE | never evaluated |  | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
   |  
  mode & (ReadOnly | WriteOnly)) == 0| TRUE | never evaluated |  | FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
   |  
  ) { | 0-29 | 
| 479 |         QMessageLogger(__FILE__, 1008, __PRETTY_FUNCTION__).warning("QFile::open: File access not specified"); | - | 
| 480 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 481 |     } | - | 
| 482 |     if (d->openExternalFile(mode, fd, handleFlags)| TRUE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
   |  | FALSE | never evaluated |  
  ) { | 0-29 | 
| 483 |         QIODevice::open(mode); | - | 
| 484 |         if (!(mode & Append)| TRUE | evaluated 29 times by 3 testsEvaluated by:- tst_LargeFile
 - tst_QFile
 - tst_QPrinterInfo
 
   |  | FALSE | never evaluated |  
   && !isSequential()| TRUE | evaluated 24 times by 2 tests |  | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QFile
 - tst_QPrinterInfo
 
   |  
  ) { | 0-29 | 
| 485 |             qint64 pos = (qint64)::lseek64(fd, off64_t(0), 1); | - | 
| 486 |             if (pos != -1| TRUE | evaluated 24 times by 2 tests |  | FALSE | never evaluated |  
  ) { | 0-24 | 
| 487 |  | - | 
| 488 |                 QIODevice::seek(pos); | - | 
| 489 |             }executed 24 times by 2 tests:  end of block  | 24 | 
| 490 |         }executed 24 times by 2 tests:  end of block  | 24 | 
| 491 |         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 | 
| 492 |     } | - | 
| 493 |     return never executed: return false;  false;never executed: return false;  | 0 | 
| 494 | } | - | 
| 495 |  | - | 
| 496 |  | - | 
| 497 |  | - | 
| 498 |  | - | 
| 499 | bool QFile::resize(qint64 sz) | - | 
| 500 | { | - | 
| 501 |     returnexecuted 295 times by 7 tests:  return QFileDevice::resize(sz);Executed by:- tst_QAbstractFileEngine
 - tst_QDirModel
 - tst_QFile
 - tst_QFileSystemModel
 - tst_QFiledialog
 - tst_QNetworkReply
 - tst_QTemporaryFile
 
    QFileDevice::resize(sz);executed 295 times by 7 tests:  return QFileDevice::resize(sz);Executed by:- tst_QAbstractFileEngine
 - tst_QDirModel
 - tst_QFile
 - tst_QFileSystemModel
 - tst_QFiledialog
 - tst_QNetworkReply
 - tst_QTemporaryFile
 
    | 295 | 
| 502 | } | - | 
| 503 | bool | - | 
| 504 | QFile::resize(const QString &fileName, qint64 sz) | - | 
| 505 | { | - | 
| 506 |     returnexecuted 3 times by 1 test:  return QFile(fileName).resize(sz);  QFile(fileName).resize(sz);executed 3 times by 1 test:  return QFile(fileName).resize(sz);  | 3 | 
| 507 | } | - | 
| 508 |  | - | 
| 509 |  | - | 
| 510 |  | - | 
| 511 |  | - | 
| 512 | QFile::Permissions QFile::permissions() const | - | 
| 513 | { | - | 
| 514 |     returnexecuted 198 times by 11 tests:  return QFileDevice::permissions();Executed by:- tst_QFile
 - tst_QFileDialog2
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QMimeDatabase
 - tst_QSaveFile
 - tst_qmakelib
 - tst_qstandardpaths
 
    QFileDevice::permissions();executed 198 times by 11 tests:  return QFileDevice::permissions();Executed by:- tst_QFile
 - tst_QFileDialog2
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLocalSocket
 - tst_QMimeDatabase
 - tst_QSaveFile
 - tst_qmakelib
 - tst_qstandardpaths
 
    | 198 | 
| 515 | } | - | 
| 516 | QFile::Permissions | - | 
| 517 | QFile::permissions(const QString &fileName) | - | 
| 518 | { | - | 
| 519 |     returnexecuted 11 times by 3 tests:  return QFile(fileName).permissions();Executed by:- tst_QFile
 - tst_QFileSystemModel
 - tst_QSaveFile
 
    QFile(fileName).permissions();executed 11 times by 3 tests:  return QFile(fileName).permissions();Executed by:- tst_QFile
 - tst_QFileSystemModel
 - tst_QSaveFile
 
    | 11 | 
| 520 | } | - | 
| 521 | bool QFile::setPermissions(Permissions permissions) | - | 
| 522 | { | - | 
| 523 |     returnexecuted 620 times by 16 tests:  return QFileDevice::setPermissions(permissions);Executed by:- tst_QDir
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLockFile
 - tst_QMimeDatabase
 - tst_QNetworkReply
 - tst_QSaveFile
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_qmakelib
 - tst_qstandardpaths
 
    QFileDevice::setPermissions(permissions);executed 620 times by 16 tests:  return QFileDevice::setPermissions(permissions);Executed by:- tst_QDir
 - tst_QDirModel
 - tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QFileSystemWatcher
 - tst_QImageReader
 - tst_QImageWriter
 - tst_QLockFile
 - tst_QMimeDatabase
 - tst_QNetworkReply
 - tst_QSaveFile
 - tst_QSettings
 - tst_QTemporaryDir
 - tst_qmakelib
 - tst_qstandardpaths
 
    | 620 | 
| 524 | } | - | 
| 525 |  | - | 
| 526 |  | - | 
| 527 |  | - | 
| 528 |  | - | 
| 529 |  | - | 
| 530 |  | - | 
| 531 |  | - | 
| 532 | bool | - | 
| 533 | QFile::setPermissions(const QString &fileName, Permissions permissions) | - | 
| 534 | { | - | 
| 535 |     returnexecuted 157 times by 5 tests:  return QFile(fileName).setPermissions(permissions);Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QImageReader
 - tst_QMimeDatabase
 
    QFile(fileName).setPermissions(permissions);executed 157 times by 5 tests:  return QFile(fileName).setPermissions(permissions);Executed by:- tst_QFile
 - tst_QFileInfo
 - tst_QFileSystemModel
 - tst_QImageReader
 - tst_QMimeDatabase
 
    | 157 | 
| 536 | } | - | 
| 537 |  | - | 
| 538 |  | - | 
| 539 |  | - | 
| 540 |  | - | 
| 541 | qint64 QFile::size() const | - | 
| 542 | { | - | 
| 543 |     returnexecuted 164647 times by 162 tests:  return QFileDevice::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
 - ...
 
    QFileDevice::size();executed 164647 times by 162 tests:  return QFileDevice::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
 - ...
 
    | 164647 | 
| 544 | } | - | 
| 545 |  | - | 
| 546 |  | - | 
 |  |  |