| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | #include "qfilesystemengine_p.h" | - |
| 35 | #include <QtCore/qdir.h> | - |
| 36 | #include <QtCore/qset.h> | - |
| 37 | #include <QtCore/qstringbuilder.h> | - |
| 38 | #include <QtCore/private/qabstractfileengine_p.h> | - |
| 39 | #ifdef QT_BUILD_CORE_LIB | - |
| 40 | #include <QtCore/private/qresource_p.h> | - |
| 41 | #endif | - |
| 42 | | - |
| 43 | QT_BEGIN_NAMESPACE | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | | - |
| 49 | | - |
| 50 | | - |
| 51 | QString QFileSystemEngine::slowCanonicalized(const QString &path) | - |
| 52 | { | - |
| 53 | if (path.isEmpty())| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 54 | return path; never executed: return path; | 0 |
| 55 | | - |
| 56 | QFileInfo fi; | - |
| 57 | const QChar slash(QLatin1Char('/')); | - |
| 58 | QString tmpPath = path; | - |
| 59 | int separatorPos = 0; | - |
| 60 | QSet<QString> nonSymlinks; | - |
| 61 | QSet<QString> known; | - |
| 62 | | - |
| 63 | known.insert(path); | - |
| 64 | do { | - |
| 65 | #ifdef Q_OS_WIN | - |
| 66 | if (separatorPos == 0) { | - |
| 67 | if (tmpPath.size() >= 2 && tmpPath.at(0) == slash && tmpPath.at(1) == slash) { | - |
| 68 | | - |
| 69 | separatorPos = tmpPath.indexOf(slash, 2); | - |
| 70 | } else if (tmpPath.size() >= 3 && tmpPath.at(1) == QLatin1Char(':') && tmpPath.at(2) == slash) { | - |
| 71 | | - |
| 72 | separatorPos = 2; | - |
| 73 | } | - |
| 74 | } | - |
| 75 | if (separatorPos != -1) | - |
| 76 | #endif | - |
| 77 | separatorPos = tmpPath.indexOf(slash, separatorPos + 1); | - |
| 78 | QString prefix = separatorPos == -1 ? tmpPath : tmpPath.left(separatorPos);| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 79 | if (!nonSymlinks.contains(prefix)) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 80 | fi.setFile(prefix); | - |
| 81 | if (fi.isSymLink()) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 82 | QString target = fi.symLinkTarget(); | - |
| 83 | if(QFileInfo(target).isRelative())| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 84 | target = fi.absolutePath() + slash + target; never executed: target = fi.absolutePath() + slash + target; | 0 |
| 85 | if (separatorPos != -1) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 86 | if (fi.isDir() && !target.endsWith(slash))| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 87 | target.append(slash); never executed: target.append(slash); | 0 |
| 88 | target.append(tmpPath.mid(separatorPos)); | - |
| 89 | } never executed: end of block | 0 |
| 90 | tmpPath = QDir::cleanPath(target); | - |
| 91 | separatorPos = 0; | - |
| 92 | | - |
| 93 | if (known.contains(tmpPath))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 94 | return QString(); never executed: return QString(); | 0 |
| 95 | known.insert(tmpPath); | - |
| 96 | } else { never executed: end of block | 0 |
| 97 | nonSymlinks.insert(prefix); | - |
| 98 | } never executed: end of block | 0 |
| 99 | } | - |
| 100 | } while (separatorPos != -1); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 101 | | - |
| 102 | return QDir::cleanPath(tmpPath); never executed: return QDir::cleanPath(tmpPath); | 0 |
| 103 | } | - |
| 104 | | - |
| 105 | static inline bool _q_checkEntry(QFileSystemEntry &entry, QFileSystemMetaData &data, bool resolvingEntry) | - |
| 106 | { | - |
| 107 | if (resolvingEntry) {| TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
| | FALSE | evaluated 544969 times by 300 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
|
| 46-544969 |
| 108 | if (!QFileSystemEngine::fillMetaData(entry, data, QFileSystemMetaData::ExistsAttribute)| TRUE | never evaluated | | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
| 0-46 |
| 109 | || !data.exists()) {| TRUE | never evaluated | | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
| 0-46 |
| 110 | data.clear(); | - |
| 111 | return false; never executed: return false; | 0 |
| 112 | } | - |
| 113 | }executed 46 times by 2 tests: end of blockExecuted by:- tst_QDir
- tst_QNetworkReply
| 46 |
| 114 | | - |
| 115 | return true;executed 545015 times by 300 tests: return true;Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 545015 |
| 116 | } | - |
| 117 | | - |
| 118 | static inline bool _q_checkEntry(QAbstractFileEngine *&engine, bool resolvingEntry) | - |
| 119 | { | - |
| 120 | if (resolvingEntry) {| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 44726 times by 112 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
| 1-44726 |
| 121 | if (!(engine->fileFlags(QAbstractFileEngine::FlagsMask) & QAbstractFileEngine::ExistsFlag)) {| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 122 | delete engine; | - |
| 123 | engine = 0; | - |
| 124 | return false; never executed: return false; | 0 |
| 125 | } | - |
| 126 | }executed 1 time by 1 test: end of block | 1 |
| 127 | | - |
| 128 | return true;executed 44727 times by 112 tests: return true;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 44727 |
| 129 | } | - |
| 130 | | - |
| 131 | static bool _q_resolveEntryAndCreateLegacyEngine_recursive(QFileSystemEntry &entry, QFileSystemMetaData &data, | - |
| 132 | QAbstractFileEngine *&engine, bool resolvingEntry = false) | - |
| 133 | { | - |
| 134 | QString const &filePath = entry.filePath(); | - |
| 135 | if ((engine = qt_custom_file_engine_handler_create(filePath)))| TRUE | evaluated 53 times by 3 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDirIterator
- tst_QFile
| | FALSE | evaluated 589768 times by 302 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
|
| 53-589768 |
| 136 | return _q_checkEntry(engine, resolvingEntry);executed 53 times by 3 tests: return _q_checkEntry(engine, resolvingEntry);Executed by:- tst_QAbstractFileEngine
- tst_QDirIterator
- tst_QFile
| 53 |
| 137 | | - |
| 138 | #if defined(QT_BUILD_CORE_LIB) | - |
| 139 | for (int prefixSeparator = 0; prefixSeparator < filePath.size(); ++prefixSeparator) {| TRUE | evaluated 2156379 times by 302 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 122542 times by 223 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 122542-2156379 |
| 140 | QChar const ch = filePath[prefixSeparator]; | - |
| 141 | if (ch == QLatin1Char('/'))| TRUE | evaluated 422471 times by 295 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| | FALSE | evaluated 1733908 times by 237 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 422471-1733908 |
| 142 | break;executed 422471 times by 295 tests: break;Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 422471 |
| 143 | | - |
| 144 | if (ch == QLatin1Char(':')) {| TRUE | evaluated 44755 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| | FALSE | evaluated 1689153 times by 234 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 44755-1689153 |
| 145 | if (prefixSeparator == 0) {| TRUE | evaluated 44674 times by 112 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| | FALSE | evaluated 81 times by 5 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
|
| 81-44674 |
| 146 | engine = new QResourceFileEngine(filePath); | - |
| 147 | return _q_checkEntry(engine, resolvingEntry);executed 44674 times by 112 tests: return _q_checkEntry(engine, resolvingEntry);Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 44674 |
| 148 | } | - |
| 149 | | - |
| 150 | if (prefixSeparator == 1)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 79 times by 5 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
|
| 2-79 |
| 151 | break;executed 2 times by 1 test: break; | 2 |
| 152 | | - |
| 153 | const QStringList &paths = QDir::searchPaths(filePath.left(prefixSeparator)); | - |
| 154 | for (int i = 0; i < paths.count(); i++) {| TRUE | evaluated 47 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
| | FALSE | evaluated 32 times by 5 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
|
| 32-47 |
| 155 | entry = QFileSystemEntry(QDir::cleanPath(paths.at(i) % QLatin1Char('/') % filePath.midRef(prefixSeparator + 1))); | - |
| 156 | | - |
| 157 | if (_q_resolveEntryAndCreateLegacyEngine_recursive(entry, data, engine, true))| TRUE | evaluated 47 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
| | FALSE | never evaluated |
| 0-47 |
| 158 | return true;executed 47 times by 2 tests: return true;Executed by:- tst_QDir
- tst_QNetworkReply
| 47 |
| 159 | } never executed: end of block | 0 |
| 160 | | - |
| 161 | | - |
| 162 | return false;executed 32 times by 5 tests: return false;Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
| 32 |
| 163 | } | - |
| 164 | | - |
| 165 | | - |
| 166 | | - |
| 167 | | - |
| 168 | | - |
| 169 | | - |
| 170 | | - |
| 171 | }executed 1689153 times by 234 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- 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_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 1689153 |
| 172 | #endif // defined(QT_BUILD_CORE_LIB) | - |
| 173 | | - |
| 174 | return _q_checkEntry(entry, data, resolvingEntry);executed 545015 times by 300 tests: return _q_checkEntry(entry, data, resolvingEntry);Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 545015 |
| 175 | } | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | | - |
| 187 | QAbstractFileEngine *QFileSystemEngine::resolveEntryAndCreateLegacyEngine( | - |
| 188 | QFileSystemEntry &entry, QFileSystemMetaData &data) { | - |
| 189 | QFileSystemEntry copy = entry; | - |
| 190 | QAbstractFileEngine *engine = 0; | - |
| 191 | | - |
| 192 | if (_q_resolveEntryAndCreateLegacyEngine_recursive(copy, data, engine))| TRUE | evaluated 589742 times by 302 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 32 times by 5 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
|
| 32-589742 |
| 193 | | - |
| 194 | entry = copy;executed 589742 times by 302 tests: entry = copy;Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 589742 |
| 195 | else | - |
| 196 | data.clear();executed 32 times by 5 tests: data.clear();Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
| 32 |
| 197 | | - |
| 198 | return engine;executed 589774 times by 302 tests: return engine;Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 589774 |
| 199 | } | - |
| 200 | | - |
| 201 | | - |
| 202 | | - |
| 203 | #ifdef Q_OS_UNIX | - |
| 204 | | - |
| 205 | bool QFileSystemEngine::fillMetaData(int fd, QFileSystemMetaData &data) | - |
| 206 | { | - |
| 207 | data.entryFlags &= ~QFileSystemMetaData::PosixStatFlags; | - |
| 208 | data.knownFlagsMask |= QFileSystemMetaData::PosixStatFlags; | - |
| 209 | | - |
| 210 | QT_STATBUF statBuffer; | - |
| 211 | if (QT_FSTAT(fd, &statBuffer) == 0) {| TRUE | evaluated 180608 times by 168 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 | never evaluated |
| 0-180608 |
| 212 | data.fillFromStatBuf(statBuffer); | - |
| 213 | return true;executed 180608 times by 168 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
- ...
| 180608 |
| 214 | } | - |
| 215 | | - |
| 216 | return false; never executed: return false; | 0 |
| 217 | } | - |
| 218 | | - |
| 219 | #if defined(_DEXTRA_FIRST) | - |
| 220 | static void fillStat64fromStat32(struct stat64 *statBuf64, const struct stat &statBuf32) | - |
| 221 | { | - |
| 222 | statBuf64->st_mode = statBuf32.st_mode; | - |
| 223 | statBuf64->st_size = statBuf32.st_size; | - |
| 224 | statBuf64->st_ctime = statBuf32.st_ctime; | - |
| 225 | statBuf64->st_mtime = statBuf32.st_mtime; | - |
| 226 | statBuf64->st_atime = statBuf32.st_atime; | - |
| 227 | statBuf64->st_uid = statBuf32.st_uid; | - |
| 228 | statBuf64->st_gid = statBuf32.st_gid; | - |
| 229 | } | - |
| 230 | #endif | - |
| 231 | | - |
| 232 | void QFileSystemMetaData::fillFromStatBuf(const QT_STATBUF &statBuffer) | - |
| 233 | { | - |
| 234 | | - |
| 235 | if (statBuffer.st_mode & S_IRUSR)| TRUE | evaluated 239257 times by 232 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 27 times by 6 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QFileSystemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkReply
|
| 27-239257 |
| 236 | entryFlags |= QFileSystemMetaData::OwnerReadPermission;executed 239257 times by 232 tests: entryFlags |= QFileSystemMetaData::OwnerReadPermission;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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 239257 |
| 237 | if (statBuffer.st_mode & S_IWUSR)| TRUE | evaluated 239135 times by 232 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 149 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_languageChange
|
| 149-239135 |
| 238 | entryFlags |= QFileSystemMetaData::OwnerWritePermission;executed 239135 times by 232 tests: entryFlags |= QFileSystemMetaData::OwnerWritePermission;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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 239135 |
| 239 | if (statBuffer.st_mode & S_IXUSR)| TRUE | evaluated 19117 times by 197 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- ...
| | FALSE | evaluated 220167 times by 181 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
- ...
|
| 19117-220167 |
| 240 | entryFlags |= QFileSystemMetaData::OwnerExecutePermission;executed 19117 times by 197 tests: entryFlags |= QFileSystemMetaData::OwnerExecutePermission;Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- ...
| 19117 |
| 241 | | - |
| 242 | if (statBuffer.st_mode & S_IRGRP)| TRUE | evaluated 234699 times by 210 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 4585 times by 60 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinterInfo
- tst_QSaveFile
- tst_QSharedPointer
- tst_QSql
- tst_QStorageInfo
- tst_QTemporaryDir
- ...
|
| 4585-234699 |
| 243 | entryFlags |= QFileSystemMetaData::GroupReadPermission;executed 234699 times by 210 tests: entryFlags |= QFileSystemMetaData::GroupReadPermission;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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 234699 |
| 244 | if (statBuffer.st_mode & S_IWGRP)| TRUE | evaluated 710 times by 17 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLocalSocket
- tst_QProcess
- tst_QRawFont
- tst_QSidebar
- tst_QTemporaryFile
- tst_QUuid
- tst_languageChange
- tst_qstandardpaths
- tst_quuid - unknown status
| | FALSE | evaluated 238574 times by 231 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
| 710-238574 |
| 245 | entryFlags |= QFileSystemMetaData::GroupWritePermission;executed 710 times by 17 tests: entryFlags |= QFileSystemMetaData::GroupWritePermission;Executed by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLocalSocket
- tst_QProcess
- tst_QRawFont
- tst_QSidebar
- tst_QTemporaryFile
- tst_QUuid
- tst_languageChange
- tst_qstandardpaths
- tst_quuid - unknown status
| 710 |
| 246 | if (statBuffer.st_mode & S_IXGRP)| TRUE | evaluated 17072 times by 177 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- ...
| | FALSE | evaluated 222212 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
- ...
|
| 17072-222212 |
| 247 | entryFlags |= QFileSystemMetaData::GroupExecutePermission;executed 17072 times by 177 tests: entryFlags |= QFileSystemMetaData::GroupExecutePermission;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- ...
| 17072 |
| 248 | | - |
| 249 | if (statBuffer.st_mode & S_IROTH)| TRUE | evaluated 231092 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 8192 times by 62 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinterInfo
- tst_QSaveFile
- tst_QSharedMemory
- tst_QSharedPointer
- tst_QSql
- tst_QStorageInfo
- ...
|
| 8192-231092 |
| 250 | entryFlags |= QFileSystemMetaData::OtherReadPermission;executed 231092 times by 209 tests: entryFlags |= QFileSystemMetaData::OtherReadPermission;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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 231092 |
| 251 | if (statBuffer.st_mode & S_IWOTH)| TRUE | evaluated 548 times by 17 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLocalSocket
- tst_QProcess
- tst_QRawFont
- tst_QSidebar
- tst_QTemporaryFile
- tst_QUuid
- tst_languageChange
- tst_qstandardpaths
- tst_quuid - unknown status
| | FALSE | evaluated 238736 times by 231 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
| 548-238736 |
| 252 | entryFlags |= QFileSystemMetaData::OtherWritePermission;executed 548 times by 17 tests: entryFlags |= QFileSystemMetaData::OtherWritePermission;Executed by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLocalSocket
- tst_QProcess
- tst_QRawFont
- tst_QSidebar
- tst_QTemporaryFile
- tst_QUuid
- tst_languageChange
- tst_qstandardpaths
- tst_quuid - unknown status
| 548 |
| 253 | if (statBuffer.st_mode & S_IXOTH)| TRUE | evaluated 17073 times by 177 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- ...
| | FALSE | evaluated 222211 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
- ...
|
| 17073-222211 |
| 254 | entryFlags |= QFileSystemMetaData::OtherExecutePermission;executed 17073 times by 177 tests: entryFlags |= QFileSystemMetaData::OtherExecutePermission;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- ...
| 17073 |
| 255 | | - |
| 256 | | - |
| 257 | if ((statBuffer.st_mode & S_IFMT) == S_IFREG)| TRUE | evaluated 223090 times by 195 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 16194 times by 183 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
|
| 16194-223090 |
| 258 | entryFlags |= QFileSystemMetaData::FileType;executed 223090 times by 195 tests: entryFlags |= QFileSystemMetaData::FileType;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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 223090 |
| 259 | else if ((statBuffer.st_mode & S_IFMT) == S_IFDIR)| TRUE | evaluated 15610 times by 178 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| | FALSE | evaluated 584 times by 13 testsEvaluated by:- tst_QFile
- tst_QFileSystemModel
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinterInfo
- tst_QProcess
- tst_QRawFont
- tst_QUuid
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
- tst_quuid - unknown status
|
| 584-15610 |
| 260 | entryFlags |= QFileSystemMetaData::DirectoryType;executed 15610 times by 178 tests: entryFlags |= QFileSystemMetaData::DirectoryType;Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| 15610 |
| 261 | else if ((statBuffer.st_mode & S_IFMT) != S_IFBLK)| TRUE | evaluated 566 times by 13 testsEvaluated by:- tst_QFile
- tst_QFileSystemModel
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinterInfo
- tst_QProcess
- tst_QRawFont
- tst_QUuid
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
- tst_quuid - unknown status
| | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_QFileSystemModel
- tst_QItemModel
|
| 18-566 |
| 262 | entryFlags |= QFileSystemMetaData::SequentialType;executed 566 times by 13 tests: entryFlags |= QFileSystemMetaData::SequentialType;Executed by:- tst_QFile
- tst_QFileSystemModel
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinterInfo
- tst_QProcess
- tst_QRawFont
- tst_QUuid
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qnetworkreply - unknown status
- tst_quuid - unknown status
| 566 |
| 263 | | - |
| 264 | | - |
| 265 | entryFlags |= QFileSystemMetaData::ExistsAttribute; | - |
| 266 | size_ = statBuffer.st_size; | - |
| 267 | #if defined(Q_OS_DARWIN) | - |
| 268 | if (statBuffer.st_flags & UF_HIDDEN) { | - |
| 269 | entryFlags |= QFileSystemMetaData::HiddenAttribute; | - |
| 270 | knownFlagsMask |= QFileSystemMetaData::HiddenAttribute; | - |
| 271 | } | - |
| 272 | #endif | - |
| 273 | | - |
| 274 | | - |
| 275 | creationTime_ = statBuffer.st_ctime ? statBuffer.st_ctime : statBuffer.st_mtime;| TRUE | evaluated 239281 times by 232 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 3 times by 1 test |
| 3-239281 |
| 276 | modificationTime_ = statBuffer.st_mtime; | - |
| 277 | accessTime_ = statBuffer.st_atime; | - |
| 278 | userId_ = statBuffer.st_uid; | - |
| 279 | groupId_ = statBuffer.st_gid; | - |
| 280 | }executed 239284 times by 232 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 239284 |
| 281 | | - |
| 282 | void QFileSystemMetaData::fillFromDirEnt(const QT_DIRENT &entry) | - |
| 283 | { | - |
| 284 | #if defined(_DEXTRA_FIRST) | - |
| 285 | knownFlagsMask = 0; | - |
| 286 | entryFlags = 0; | - |
| 287 | for (dirent_extra *extra = _DEXTRA_FIRST(&entry); _DEXTRA_VALID(extra, &entry); | - |
| 288 | extra = _DEXTRA_NEXT(extra)) { | - |
| 289 | if (extra->d_type == _DTYPE_STAT || extra->d_type == _DTYPE_LSTAT) { | - |
| 290 | | - |
| 291 | const struct dirent_extra_stat * const extra_stat = | - |
| 292 | reinterpret_cast<struct dirent_extra_stat *>(extra); | - |
| 293 | | - |
| 294 | | - |
| 295 | if (extra->d_type == _DTYPE_LSTAT) { | - |
| 296 | knownFlagsMask |= QFileSystemMetaData::LinkType; | - |
| 297 | if (S_ISLNK(extra_stat->d_stat.st_mode)) | - |
| 298 | entryFlags |= QFileSystemMetaData::LinkType; | - |
| 299 | } | - |
| 300 | | - |
| 301 | | - |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | if (S_ISLNK(extra_stat->d_stat.st_mode) && extra->d_type == _DTYPE_LSTAT) | - |
| 307 | continue; | - |
| 308 | | - |
| 309 | #if defined(QT_USE_XOPEN_LFS_EXTENSIONS) && defined(QT_LARGEFILE_SUPPORT) | - |
| 310 | | - |
| 311 | | - |
| 312 | struct stat64 statBuf; | - |
| 313 | fillStat64fromStat32(&statBuf, extra_stat->d_stat); | - |
| 314 | fillFromStatBuf(statBuf); | - |
| 315 | #else | - |
| 316 | fillFromStatBuf(extra_stat->d_stat); | - |
| 317 | #endif | - |
| 318 | knownFlagsMask |= QFileSystemMetaData::PosixStatFlags; | - |
| 319 | if (!S_ISLNK(extra_stat->d_stat.st_mode)) { | - |
| 320 | knownFlagsMask |= QFileSystemMetaData::ExistsAttribute; | - |
| 321 | entryFlags |= QFileSystemMetaData::ExistsAttribute; | - |
| 322 | } | - |
| 323 | } | - |
| 324 | } | - |
| 325 | #elif defined(_DIRENT_HAVE_D_TYPE) || defined(Q_OS_BSD4) | - |
| 326 | | - |
| 327 | | - |
| 328 | | - |
| 329 | switch (entry.d_type) | - |
| 330 | { | - |
| 331 | case DT_DIR:executed 26197 times by 164 tests: case DT_DIR:Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 26197 |
| 332 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 333 | | QFileSystemMetaData::FileType | - |
| 334 | | QFileSystemMetaData::DirectoryType | - |
| 335 | | QFileSystemMetaData::SequentialType | - |
| 336 | | QFileSystemMetaData::ExistsAttribute; | - |
| 337 | | - |
| 338 | entryFlags = QFileSystemMetaData::DirectoryType | - |
| 339 | | QFileSystemMetaData::ExistsAttribute; | - |
| 340 | | - |
| 341 | break;executed 26197 times by 164 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 26197 |
| 342 | | - |
| 343 | case DT_BLK:executed 16 times by 2 tests: case DT_BLK:Executed by:- tst_QFileSystemModel
- tst_QItemModel
| 16 |
| 344 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 345 | | QFileSystemMetaData::FileType | - |
| 346 | | QFileSystemMetaData::DirectoryType | - |
| 347 | | QFileSystemMetaData::BundleType | - |
| 348 | | QFileSystemMetaData::AliasType | - |
| 349 | | QFileSystemMetaData::SequentialType | - |
| 350 | | QFileSystemMetaData::ExistsAttribute; | - |
| 351 | | - |
| 352 | entryFlags = QFileSystemMetaData::ExistsAttribute; | - |
| 353 | | - |
| 354 | break;executed 16 times by 2 tests: break;Executed by:- tst_QFileSystemModel
- tst_QItemModel
| 16 |
| 355 | | - |
| 356 | case DT_CHR:executed 279 times by 2 tests: case DT_CHR:Executed by:- tst_QFileSystemModel
- tst_QItemModel
| 279 |
| 357 | case DT_FIFO:executed 6 times by 3 tests: case DT_FIFO:Executed by:- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
| 6 |
| 358 | case DT_SOCK:executed 3 times by 1 test: case DT_SOCK: | 3 |
| 359 | | - |
| 360 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 361 | | QFileSystemMetaData::FileType | - |
| 362 | | QFileSystemMetaData::DirectoryType | - |
| 363 | | QFileSystemMetaData::BundleType | - |
| 364 | | QFileSystemMetaData::AliasType | - |
| 365 | | QFileSystemMetaData::SequentialType | - |
| 366 | | QFileSystemMetaData::ExistsAttribute; | - |
| 367 | | - |
| 368 | entryFlags = QFileSystemMetaData::SequentialType | - |
| 369 | | QFileSystemMetaData::ExistsAttribute; | - |
| 370 | | - |
| 371 | break;executed 288 times by 3 tests: break;Executed by:- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
| 288 |
| 372 | | - |
| 373 | case DT_LNK:executed 57916 times by 28 tests: case DT_LNK:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSaveFile
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- ...
| 57916 |
| 374 | knownFlagsMask = QFileSystemMetaData::LinkType; | - |
| 375 | entryFlags = QFileSystemMetaData::LinkType; | - |
| 376 | break;executed 57916 times by 28 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSaveFile
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- ...
| 57916 |
| 377 | | - |
| 378 | case DT_REG:executed 15794 times by 147 tests: case DT_REG:Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- 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_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 15794 |
| 379 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 380 | | QFileSystemMetaData::FileType | - |
| 381 | | QFileSystemMetaData::DirectoryType | - |
| 382 | | QFileSystemMetaData::BundleType | - |
| 383 | | QFileSystemMetaData::SequentialType | - |
| 384 | | QFileSystemMetaData::ExistsAttribute; | - |
| 385 | | - |
| 386 | entryFlags = QFileSystemMetaData::FileType | - |
| 387 | | QFileSystemMetaData::ExistsAttribute; | - |
| 388 | | - |
| 389 | break;executed 15794 times by 147 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- 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_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 15794 |
| 390 | | - |
| 391 | case DT_UNKNOWN: never executed: case DT_UNKNOWN: | 0 |
| 392 | default: never executed: default: | 0 |
| 393 | clear(); | - |
| 394 | } never executed: end of block | 0 |
| 395 | #else | - |
| 396 | Q_UNUSED(entry) | - |
| 397 | #endif | - |
| 398 | } | - |
| 399 | | - |
| 400 | #endif | - |
| 401 | | - |
| 402 | | - |
| 403 | QString QFileSystemEngine::resolveUserName(const QFileSystemEntry &entry, QFileSystemMetaData &metaData) | - |
| 404 | { | - |
| 405 | #if defined(Q_OS_WIN) | - |
| 406 | Q_UNUSED(metaData); | - |
| 407 | return QFileSystemEngine::owner(entry, QAbstractFileEngine::OwnerUser); | - |
| 408 | #else //(Q_OS_UNIX) | - |
| 409 | if (!metaData.hasFlags(QFileSystemMetaData::UserId))| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 410 | QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::UserId); never executed: QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::UserId); | 0 |
| 411 | return resolveUserName(metaData.userId());executed 1 time by 1 test: return resolveUserName(metaData.userId()); | 1 |
| 412 | #endif | - |
| 413 | } | - |
| 414 | | - |
| 415 | | - |
| 416 | QString QFileSystemEngine::resolveGroupName(const QFileSystemEntry &entry, QFileSystemMetaData &metaData) | - |
| 417 | { | - |
| 418 | #if defined(Q_OS_WIN) | - |
| 419 | Q_UNUSED(metaData); | - |
| 420 | return QFileSystemEngine::owner(entry, QAbstractFileEngine::OwnerGroup); | - |
| 421 | #else //(Q_OS_UNIX) | - |
| 422 | if (!metaData.hasFlags(QFileSystemMetaData::GroupId))| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 423 | QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::GroupId); never executed: QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::GroupId); | 0 |
| 424 | return resolveGroupName(metaData.groupId());executed 1 time by 1 test: return resolveGroupName(metaData.groupId()); | 1 |
| 425 | #endif | - |
| 426 | } | - |
| 427 | | - |
| 428 | QT_END_NAMESPACE | - |
| | |