| 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 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #include "qfilesystemengine_p.h" | - |
| 41 | #include <QtCore/qdir.h> | - |
| 42 | #include <QtCore/qset.h> | - |
| 43 | #include <QtCore/qstringbuilder.h> | - |
| 44 | #include <QtCore/private/qabstractfileengine_p.h> | - |
| 45 | #ifdef QT_BUILD_CORE_LIB | - |
| 46 | #include <QtCore/private/qresource_p.h> | - |
| 47 | #endif | - |
| 48 | | - |
| 49 | QT_BEGIN_NAMESPACE | - |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | QString QFileSystemEngine::slowCanonicalized(const QString &path) | - |
| 58 | { | - |
| 59 | if (path.isEmpty())| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 60 | return path; never executed: return path; | 0 |
| 61 | | - |
| 62 | QFileInfo fi; | - |
| 63 | const QChar slash(QLatin1Char('/')); | - |
| 64 | QString tmpPath = path; | - |
| 65 | int separatorPos = 0; | - |
| 66 | QSet<QString> nonSymlinks; | - |
| 67 | QSet<QString> known; | - |
| 68 | | - |
| 69 | known.insert(path); | - |
| 70 | do { | - |
| 71 | #ifdef Q_OS_WIN | - |
| 72 | if (separatorPos == 0) { | - |
| 73 | if (tmpPath.size() >= 2 && tmpPath.at(0) == slash && tmpPath.at(1) == slash) { | - |
| 74 | | - |
| 75 | separatorPos = tmpPath.indexOf(slash, 2); | - |
| 76 | } else if (tmpPath.size() >= 3 && tmpPath.at(1) == QLatin1Char(':') && tmpPath.at(2) == slash) { | - |
| 77 | | - |
| 78 | separatorPos = 2; | - |
| 79 | } | - |
| 80 | } | - |
| 81 | if (separatorPos != -1) | - |
| 82 | #endif | - |
| 83 | separatorPos = tmpPath.indexOf(slash, separatorPos + 1); | - |
| 84 | QString prefix = separatorPos == -1 ? tmpPath : tmpPath.left(separatorPos);| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 85 | if (!nonSymlinks.contains(prefix)) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 86 | fi.setFile(prefix); | - |
| 87 | if (fi.isSymLink()) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 88 | QString target = fi.symLinkTarget(); | - |
| 89 | if(QFileInfo(target).isRelative())| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 90 | target = fi.absolutePath() + slash + target; never executed: target = fi.absolutePath() + slash + target; | 0 |
| 91 | if (separatorPos != -1) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 92 | if (fi.isDir() && !target.endsWith(slash))| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 93 | target.append(slash); never executed: target.append(slash); | 0 |
| 94 | target.append(tmpPath.mid(separatorPos)); | - |
| 95 | } never executed: end of block | 0 |
| 96 | tmpPath = QDir::cleanPath(target); | - |
| 97 | separatorPos = 0; | - |
| 98 | | - |
| 99 | if (known.contains(tmpPath))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 100 | return QString(); never executed: return QString(); | 0 |
| 101 | known.insert(tmpPath); | - |
| 102 | } else { never executed: end of block | 0 |
| 103 | nonSymlinks.insert(prefix); | - |
| 104 | } never executed: end of block | 0 |
| 105 | } | - |
| 106 | } while (separatorPos != -1); never executed: end of block | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 107 | | - |
| 108 | return QDir::cleanPath(tmpPath); never executed: return QDir::cleanPath(tmpPath); | 0 |
| 109 | } | - |
| 110 | | - |
| 111 | static inline bool _q_checkEntry(QFileSystemEntry &entry, QFileSystemMetaData &data, bool resolvingEntry) | - |
| 112 | { | - |
| 113 | if (resolvingEntry) {| TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
| | FALSE | evaluated 256739 times by 301 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-256739 |
| 114 | if (!QFileSystemEngine::fillMetaData(entry, data, QFileSystemMetaData::ExistsAttribute)| TRUE | never evaluated | | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
| 0-46 |
| 115 | || !data.exists()) {| TRUE | never evaluated | | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
| 0-46 |
| 116 | data.clear(); | - |
| 117 | return false; never executed: return false; | 0 |
| 118 | } | - |
| 119 | }executed 46 times by 2 tests: end of blockExecuted by:- tst_QDir
- tst_QNetworkReply
| 46 |
| 120 | | - |
| 121 | return true;executed 256785 times by 301 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
- ...
| 256785 |
| 122 | } | - |
| 123 | | - |
| 124 | static inline bool _q_checkEntry(QAbstractFileEngine *&engine, bool resolvingEntry) | - |
| 125 | { | - |
| 126 | if (resolvingEntry) {| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 49049 times by 114 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-49049 |
| 127 | if (!(engine->fileFlags(QAbstractFileEngine::FlagsMask) & QAbstractFileEngine::ExistsFlag)) {| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 128 | delete engine; | - |
| 129 | engine = 0; | - |
| 130 | return false; never executed: return false; | 0 |
| 131 | } | - |
| 132 | }executed 1 time by 1 test: end of block | 1 |
| 133 | | - |
| 134 | return true;executed 49050 times by 114 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
- ...
| 49050 |
| 135 | } | - |
| 136 | | - |
| 137 | static bool _q_resolveEntryAndCreateLegacyEngine_recursive(QFileSystemEntry &entry, QFileSystemMetaData &data, | - |
| 138 | QAbstractFileEngine *&engine, bool resolvingEntry = false) | - |
| 139 | { | - |
| 140 | QString const &filePath = entry.filePath(); | - |
| 141 | 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 305862 times by 303 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-305862 |
| 142 | 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 |
| 143 | | - |
| 144 | #if defined(QT_BUILD_CORE_LIB) | - |
| 145 | for (int prefixSeparator = 0; prefixSeparator < filePath.size(); ++prefixSeparator) {| TRUE | evaluated 699631 times by 303 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 21470 times by 224 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
- ...
|
| 21470-699631 |
| 146 | QChar const ch = filePath[prefixSeparator]; | - |
| 147 | if (ch == QLatin1Char('/'))| TRUE | evaluated 235313 times by 296 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 464318 times by 238 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
- ...
|
| 235313-464318 |
| 148 | break;executed 235313 times by 296 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
- ...
| 235313 |
| 149 | | - |
| 150 | if (ch == QLatin1Char(':')) {| TRUE | evaluated 49079 times by 115 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 415239 times by 235 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
- ...
|
| 49079-415239 |
| 151 | if (prefixSeparator == 0) {| TRUE | evaluated 48998 times by 114 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-48998 |
| 152 | engine = new QResourceFileEngine(filePath); | - |
| 153 | return _q_checkEntry(engine, resolvingEntry);executed 48997 times by 114 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
- ...
| 48997 |
| 154 | } | - |
| 155 | | - |
| 156 | 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 |
| 157 | break;executed 2 times by 1 test: break; | 2 |
| 158 | | - |
| 159 | const QStringList &paths = QDir::searchPaths(filePath.left(prefixSeparator)); | - |
| 160 | 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 |
| 161 | entry = QFileSystemEntry(QDir::cleanPath(paths.at(i) % QLatin1Char('/') % filePath.midRef(prefixSeparator + 1))); | - |
| 162 | | - |
| 163 | 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 |
| 164 | return true;executed 47 times by 2 tests: return true;Executed by:- tst_QDir
- tst_QNetworkReply
| 47 |
| 165 | } never executed: end of block | 0 |
| 166 | | - |
| 167 | | - |
| 168 | return false;executed 32 times by 5 tests: return false;Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
| 32 |
| 169 | } | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | }executed 415239 times by 235 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
- ...
| 415239 |
| 178 | #endif // defined(QT_BUILD_CORE_LIB) | - |
| 179 | | - |
| 180 | return _q_checkEntry(entry, data, resolvingEntry);executed 256785 times by 301 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
- ...
| 256785 |
| 181 | } | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | | - |
| 187 | | - |
| 188 | | - |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | QAbstractFileEngine *QFileSystemEngine::resolveEntryAndCreateLegacyEngine( | - |
| 194 | QFileSystemEntry &entry, QFileSystemMetaData &data) { | - |
| 195 | QFileSystemEntry copy = entry; | - |
| 196 | QAbstractFileEngine *engine = 0; | - |
| 197 | | - |
| 198 | if (_q_resolveEntryAndCreateLegacyEngine_recursive(copy, data, engine))| TRUE | evaluated 305835 times by 303 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-305835 |
| 199 | | - |
| 200 | entry = copy;executed 305835 times by 303 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
- ...
| 305835 |
| 201 | else | - |
| 202 | data.clear();executed 32 times by 5 tests: data.clear();Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
| 32 |
| 203 | | - |
| 204 | return engine;executed 305867 times by 303 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
- ...
| 305867 |
| 205 | } | - |
| 206 | | - |
| 207 | | - |
| 208 | | - |
| 209 | #ifdef Q_OS_UNIX | - |
| 210 | | - |
| 211 | bool QFileSystemEngine::fillMetaData(int fd, QFileSystemMetaData &data) | - |
| 212 | { | - |
| 213 | data.entryFlags &= ~QFileSystemMetaData::PosixStatFlags; | - |
| 214 | data.knownFlagsMask |= QFileSystemMetaData::PosixStatFlags; | - |
| 215 | | - |
| 216 | QT_STATBUF statBuffer; | - |
| 217 | if (QT_FSTAT(fd, &statBuffer) == 0) {| TRUE | evaluated 186381 times by 169 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-186381 |
| 218 | data.fillFromStatBuf(statBuffer); | - |
| 219 | return true;executed 186381 times by 169 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
- ...
| 186381 |
| 220 | } | - |
| 221 | | - |
| 222 | return false; never executed: return false; | 0 |
| 223 | } | - |
| 224 | | - |
| 225 | #if defined(_DEXTRA_FIRST) | - |
| 226 | static void fillStat64fromStat32(struct stat64 *statBuf64, const struct stat &statBuf32) | - |
| 227 | { | - |
| 228 | statBuf64->st_mode = statBuf32.st_mode; | - |
| 229 | statBuf64->st_size = statBuf32.st_size; | - |
| 230 | statBuf64->st_ctime = statBuf32.st_ctime; | - |
| 231 | statBuf64->st_mtime = statBuf32.st_mtime; | - |
| 232 | statBuf64->st_atime = statBuf32.st_atime; | - |
| 233 | statBuf64->st_uid = statBuf32.st_uid; | - |
| 234 | statBuf64->st_gid = statBuf32.st_gid; | - |
| 235 | } | - |
| 236 | #endif | - |
| 237 | | - |
| 238 | void QFileSystemMetaData::fillFromStatBuf(const QT_STATBUF &statBuffer) | - |
| 239 | { | - |
| 240 | | - |
| 241 | if (statBuffer.st_mode & S_IRUSR)| TRUE | evaluated 250257 times by 233 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 29 times by 6 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QFileSystemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkReply
|
| 29-250257 |
| 242 | entryFlags |= QFileSystemMetaData::OwnerReadPermission;executed 250257 times by 233 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
- ...
| 250257 |
| 243 | if (statBuffer.st_mode & S_IWUSR)| TRUE | evaluated 250130 times by 233 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 156 times by 16 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_languageChange
|
| 156-250130 |
| 244 | entryFlags |= QFileSystemMetaData::OwnerWritePermission;executed 250130 times by 233 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
- ...
| 250130 |
| 245 | if (statBuffer.st_mode & S_IXUSR)| TRUE | evaluated 20621 times by 199 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 229665 times by 182 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
- ...
|
| 20621-229665 |
| 246 | entryFlags |= QFileSystemMetaData::OwnerExecutePermission;executed 20621 times by 199 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
- ...
| 20621 |
| 247 | | - |
| 248 | if (statBuffer.st_mode & S_IRGRP)| TRUE | evaluated 245731 times by 212 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 4555 times by 61 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_QIcon
- 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
- ...
|
| 4555-245731 |
| 249 | entryFlags |= QFileSystemMetaData::GroupReadPermission;executed 245731 times by 212 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
- ...
| 245731 |
| 250 | if (statBuffer.st_mode & S_IWGRP)| TRUE | evaluated 712 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 249574 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
- ...
|
| 712-249574 |
| 251 | entryFlags |= QFileSystemMetaData::GroupWritePermission;executed 712 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
| 712 |
| 252 | if (statBuffer.st_mode & S_IXGRP)| TRUE | evaluated 18572 times by 179 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 231714 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
| 18572-231714 |
| 253 | entryFlags |= QFileSystemMetaData::GroupExecutePermission;executed 18572 times by 179 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
- ...
| 18572 |
| 254 | | - |
| 255 | if (statBuffer.st_mode & S_IROTH)| TRUE | evaluated 242124 times by 211 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 8162 times by 63 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_QIcon
- 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
- ...
|
| 8162-242124 |
| 256 | entryFlags |= QFileSystemMetaData::OtherReadPermission;executed 242124 times by 211 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
- ...
| 242124 |
| 257 | if (statBuffer.st_mode & S_IWOTH)| TRUE | evaluated 550 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 249736 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
- ...
|
| 550-249736 |
| 258 | entryFlags |= QFileSystemMetaData::OtherWritePermission;executed 550 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
| 550 |
| 259 | if (statBuffer.st_mode & S_IXOTH)| TRUE | evaluated 18573 times by 179 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 231713 times by 208 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
| 18573-231713 |
| 260 | entryFlags |= QFileSystemMetaData::OtherExecutePermission;executed 18573 times by 179 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
- ...
| 18573 |
| 261 | | - |
| 262 | | - |
| 263 | if ((statBuffer.st_mode & S_IFMT) == S_IFREG)| TRUE | evaluated 232855 times by 197 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 17431 times by 184 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
- ...
|
| 17431-232855 |
| 264 | entryFlags |= QFileSystemMetaData::FileType;executed 232855 times by 197 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
- ...
| 232855 |
| 265 | else if ((statBuffer.st_mode & S_IFMT) == S_IFDIR)| TRUE | evaluated 16847 times by 179 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-16847 |
| 266 | entryFlags |= QFileSystemMetaData::DirectoryType;executed 16847 times by 179 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
- ...
| 16847 |
| 267 | 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 |
| 268 | 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 |
| 269 | | - |
| 270 | | - |
| 271 | entryFlags |= QFileSystemMetaData::ExistsAttribute; | - |
| 272 | size_ = statBuffer.st_size; | - |
| 273 | #if defined(Q_OS_DARWIN) | - |
| 274 | if (statBuffer.st_flags & UF_HIDDEN) { | - |
| 275 | entryFlags |= QFileSystemMetaData::HiddenAttribute; | - |
| 276 | knownFlagsMask |= QFileSystemMetaData::HiddenAttribute; | - |
| 277 | } | - |
| 278 | #endif | - |
| 279 | | - |
| 280 | | - |
| 281 | creationTime_ = statBuffer.st_ctime ? statBuffer.st_ctime : statBuffer.st_mtime;| TRUE | evaluated 250283 times by 233 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-250283 |
| 282 | modificationTime_ = statBuffer.st_mtime; | - |
| 283 | accessTime_ = statBuffer.st_atime; | - |
| 284 | userId_ = statBuffer.st_uid; | - |
| 285 | groupId_ = statBuffer.st_gid; | - |
| 286 | }executed 250286 times by 233 tests: end of blockExecuted by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_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
- ...
| 250286 |
| 287 | | - |
| 288 | void QFileSystemMetaData::fillFromDirEnt(const QT_DIRENT &entry) | - |
| 289 | { | - |
| 290 | #if defined(_DEXTRA_FIRST) | - |
| 291 | knownFlagsMask = 0; | - |
| 292 | entryFlags = 0; | - |
| 293 | for (dirent_extra *extra = _DEXTRA_FIRST(&entry); _DEXTRA_VALID(extra, &entry); | - |
| 294 | extra = _DEXTRA_NEXT(extra)) { | - |
| 295 | if (extra->d_type == _DTYPE_STAT || extra->d_type == _DTYPE_LSTAT) { | - |
| 296 | | - |
| 297 | const struct dirent_extra_stat * const extra_stat = | - |
| 298 | reinterpret_cast<struct dirent_extra_stat *>(extra); | - |
| 299 | | - |
| 300 | | - |
| 301 | if (extra->d_type == _DTYPE_LSTAT) { | - |
| 302 | knownFlagsMask |= QFileSystemMetaData::LinkType; | - |
| 303 | if (S_ISLNK(extra_stat->d_stat.st_mode)) | - |
| 304 | entryFlags |= QFileSystemMetaData::LinkType; | - |
| 305 | } | - |
| 306 | | - |
| 307 | | - |
| 308 | | - |
| 309 | | - |
| 310 | | - |
| 311 | | - |
| 312 | if (S_ISLNK(extra_stat->d_stat.st_mode) && extra->d_type == _DTYPE_LSTAT) | - |
| 313 | continue; | - |
| 314 | | - |
| 315 | #if defined(QT_USE_XOPEN_LFS_EXTENSIONS) && defined(QT_LARGEFILE_SUPPORT) | - |
| 316 | | - |
| 317 | | - |
| 318 | struct stat64 statBuf; | - |
| 319 | fillStat64fromStat32(&statBuf, extra_stat->d_stat); | - |
| 320 | fillFromStatBuf(statBuf); | - |
| 321 | #else | - |
| 322 | fillFromStatBuf(extra_stat->d_stat); | - |
| 323 | #endif | - |
| 324 | knownFlagsMask |= QFileSystemMetaData::PosixStatFlags; | - |
| 325 | if (!S_ISLNK(extra_stat->d_stat.st_mode)) { | - |
| 326 | knownFlagsMask |= QFileSystemMetaData::ExistsAttribute; | - |
| 327 | entryFlags |= QFileSystemMetaData::ExistsAttribute; | - |
| 328 | } | - |
| 329 | } | - |
| 330 | } | - |
| 331 | #elif defined(_DIRENT_HAVE_D_TYPE) || defined(Q_OS_BSD4) | - |
| 332 | | - |
| 333 | | - |
| 334 | | - |
| 335 | switch (entry.d_type) | - |
| 336 | { | - |
| 337 | case DT_DIR:executed 26209 times by 165 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
- ...
| 26209 |
| 338 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 339 | | QFileSystemMetaData::FileType | - |
| 340 | | QFileSystemMetaData::DirectoryType | - |
| 341 | | QFileSystemMetaData::SequentialType | - |
| 342 | | QFileSystemMetaData::ExistsAttribute; | - |
| 343 | | - |
| 344 | entryFlags = QFileSystemMetaData::DirectoryType | - |
| 345 | | QFileSystemMetaData::ExistsAttribute; | - |
| 346 | | - |
| 347 | break;executed 26209 times by 165 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
- ...
| 26209 |
| 348 | | - |
| 349 | case DT_BLK:executed 16 times by 2 tests: case DT_BLK:Executed by:- tst_QFileSystemModel
- tst_QItemModel
| 16 |
| 350 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 351 | | QFileSystemMetaData::FileType | - |
| 352 | | QFileSystemMetaData::DirectoryType | - |
| 353 | | QFileSystemMetaData::BundleType | - |
| 354 | | QFileSystemMetaData::AliasType | - |
| 355 | | QFileSystemMetaData::SequentialType | - |
| 356 | | QFileSystemMetaData::ExistsAttribute; | - |
| 357 | | - |
| 358 | entryFlags = QFileSystemMetaData::ExistsAttribute; | - |
| 359 | | - |
| 360 | break;executed 16 times by 2 tests: break;Executed by:- tst_QFileSystemModel
- tst_QItemModel
| 16 |
| 361 | | - |
| 362 | case DT_CHR:executed 279 times by 2 tests: case DT_CHR:Executed by:- tst_QFileSystemModel
- tst_QItemModel
| 279 |
| 363 | case DT_FIFO:executed 6 times by 3 tests: case DT_FIFO:Executed by:- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
| 6 |
| 364 | case DT_SOCK:executed 3 times by 1 test: case DT_SOCK: | 3 |
| 365 | | - |
| 366 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 367 | | QFileSystemMetaData::FileType | - |
| 368 | | QFileSystemMetaData::DirectoryType | - |
| 369 | | QFileSystemMetaData::BundleType | - |
| 370 | | QFileSystemMetaData::AliasType | - |
| 371 | | QFileSystemMetaData::SequentialType | - |
| 372 | | QFileSystemMetaData::ExistsAttribute; | - |
| 373 | | - |
| 374 | entryFlags = QFileSystemMetaData::SequentialType | - |
| 375 | | QFileSystemMetaData::ExistsAttribute; | - |
| 376 | | - |
| 377 | break;executed 288 times by 3 tests: break;Executed by:- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
| 288 |
| 378 | | - |
| 379 | 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 |
| 380 | knownFlagsMask = QFileSystemMetaData::LinkType; | - |
| 381 | entryFlags = QFileSystemMetaData::LinkType; | - |
| 382 | 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 |
| 383 | | - |
| 384 | case DT_REG:executed 16103 times by 148 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
- ...
| 16103 |
| 385 | knownFlagsMask = QFileSystemMetaData::LinkType | - |
| 386 | | QFileSystemMetaData::FileType | - |
| 387 | | QFileSystemMetaData::DirectoryType | - |
| 388 | | QFileSystemMetaData::BundleType | - |
| 389 | | QFileSystemMetaData::SequentialType | - |
| 390 | | QFileSystemMetaData::ExistsAttribute; | - |
| 391 | | - |
| 392 | entryFlags = QFileSystemMetaData::FileType | - |
| 393 | | QFileSystemMetaData::ExistsAttribute; | - |
| 394 | | - |
| 395 | break;executed 16103 times by 148 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
- ...
| 16103 |
| 396 | | - |
| 397 | case DT_UNKNOWN: never executed: case DT_UNKNOWN: | 0 |
| 398 | default: never executed: default: | 0 |
| 399 | clear(); | - |
| 400 | } never executed: end of block | 0 |
| 401 | #else | - |
| 402 | Q_UNUSED(entry) | - |
| 403 | #endif | - |
| 404 | } | - |
| 405 | | - |
| 406 | #endif | - |
| 407 | | - |
| 408 | | - |
| 409 | QString QFileSystemEngine::resolveUserName(const QFileSystemEntry &entry, QFileSystemMetaData &metaData) | - |
| 410 | { | - |
| 411 | #if defined(Q_OS_WIN) | - |
| 412 | Q_UNUSED(metaData); | - |
| 413 | return QFileSystemEngine::owner(entry, QAbstractFileEngine::OwnerUser); | - |
| 414 | #else //(Q_OS_UNIX) | - |
| 415 | if (!metaData.hasFlags(QFileSystemMetaData::UserId))| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 416 | QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::UserId); never executed: QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::UserId); | 0 |
| 417 | return resolveUserName(metaData.userId());executed 1 time by 1 test: return resolveUserName(metaData.userId()); | 1 |
| 418 | #endif | - |
| 419 | } | - |
| 420 | | - |
| 421 | | - |
| 422 | QString QFileSystemEngine::resolveGroupName(const QFileSystemEntry &entry, QFileSystemMetaData &metaData) | - |
| 423 | { | - |
| 424 | #if defined(Q_OS_WIN) | - |
| 425 | Q_UNUSED(metaData); | - |
| 426 | return QFileSystemEngine::owner(entry, QAbstractFileEngine::OwnerGroup); | - |
| 427 | #else //(Q_OS_UNIX) | - |
| 428 | if (!metaData.hasFlags(QFileSystemMetaData::GroupId))| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 429 | QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::GroupId); never executed: QFileSystemEngine::fillMetaData(entry, metaData, QFileSystemMetaData::GroupId); | 0 |
| 430 | return resolveGroupName(metaData.groupId());executed 1 time by 1 test: return resolveGroupName(metaData.groupId()); | 1 |
| 431 | #endif | - |
| 432 | } | - |
| 433 | | - |
| 434 | QT_END_NAMESPACE | - |
| | |