| 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 | | - |
| 41 | | - |
| 42 | | - |
| 43 | | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | | - |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | | - |
| 59 | | - |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | | - |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | | - |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | #include "qdiriterator.h" | - |
| 89 | #include "qdir_p.h" | - |
| 90 | #include "qabstractfileengine_p.h" | - |
| 91 | | - |
| 92 | #include <QtCore/qset.h> | - |
| 93 | #include <QtCore/qstack.h> | - |
| 94 | #include <QtCore/qvariant.h> | - |
| 95 | | - |
| 96 | #include <QtCore/private/qfilesystemiterator_p.h> | - |
| 97 | #include <QtCore/private/qfilesystementry_p.h> | - |
| 98 | #include <QtCore/private/qfilesystemmetadata_p.h> | - |
| 99 | #include <QtCore/private/qfilesystemengine_p.h> | - |
| 100 | #include <QtCore/private/qfileinfo_p.h> | - |
| 101 | | - |
| 102 | QT_BEGIN_NAMESPACE | - |
| 103 | | - |
| 104 | template <class Iterator> | - |
| 105 | class QDirIteratorPrivateIteratorStack : public QStack<Iterator *> | - |
| 106 | { | - |
| 107 | public: | - |
| 108 | ~QDirIteratorPrivateIteratorStack() | - |
| 109 | { | - |
| 110 | qDeleteAll(*this); | - |
| 111 | }executed 10310 times by 169 tests: end of blockExecuted 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
- ...
| 10310 |
| 112 | }; | - |
| 113 | | - |
| 114 | class QDirIteratorPrivate | - |
| 115 | { | - |
| 116 | public: | - |
| 117 | QDirIteratorPrivate(const QFileSystemEntry &entry, const QStringList &nameFilters, | - |
| 118 | QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine = true); | - |
| 119 | | - |
| 120 | void advance(); | - |
| 121 | | - |
| 122 | bool entryMatches(const QString & fileName, const QFileInfo &fileInfo); | - |
| 123 | void pushDirectory(const QFileInfo &fileInfo); | - |
| 124 | void checkAndPushDirectory(const QFileInfo &); | - |
| 125 | bool matchesFilters(const QString &fileName, const QFileInfo &fi) const; | - |
| 126 | | - |
| 127 | QScopedPointer<QAbstractFileEngine> engine; | - |
| 128 | | - |
| 129 | QFileSystemEntry dirEntry; | - |
| 130 | const QStringList nameFilters; | - |
| 131 | const QDir::Filters filters; | - |
| 132 | const QDirIterator::IteratorFlags iteratorFlags; | - |
| 133 | | - |
| 134 | #ifndef QT_NO_REGEXP | - |
| 135 | QVector<QRegExp> nameRegExps; | - |
| 136 | #endif | - |
| 137 | | - |
| 138 | QDirIteratorPrivateIteratorStack<QAbstractFileEngineIterator> fileEngineIterators; | - |
| 139 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 140 | QDirIteratorPrivateIteratorStack<QFileSystemIterator> nativeIterators; | - |
| 141 | #endif | - |
| 142 | | - |
| 143 | QFileInfo currentFileInfo; | - |
| 144 | QFileInfo nextFileInfo; | - |
| 145 | | - |
| 146 | | - |
| 147 | QSet<QString> visitedLinks; | - |
| 148 | }; | - |
| 149 | | - |
| 150 | | - |
| 151 | | - |
| 152 | | - |
| 153 | QDirIteratorPrivate::QDirIteratorPrivate(const QFileSystemEntry &entry, const QStringList &nameFilters, | - |
| 154 | QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine) | - |
| 155 | : dirEntry(entry) | - |
| 156 | , nameFilters(nameFilters.contains(QLatin1String("*")) ? QStringList() : nameFilters) | - |
| 157 | , filters(QDir::NoFilter == filters ? QDir::AllEntries : filters) | - |
| 158 | , iteratorFlags(flags) | - |
| 159 | { | - |
| 160 | #ifndef QT_NO_REGEXP | - |
| 161 | nameRegExps.reserve(nameFilters.size()); | - |
| 162 | for (int i = 0; i < nameFilters.size(); ++i)| TRUE | evaluated 2477 times by 136 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_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
- ...
| | FALSE | evaluated 5155 times by 169 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_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
- ...
|
| 2477-5155 |
| 163 | nameRegExps.append(executed 2477 times by 136 tests: nameRegExps.append( QRegExp(nameFilters.at(i), (filters & QDir::CaseSensitive) ? Qt::CaseSensitive : Qt::CaseInsensitive, QRegExp::Wildcard));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
- ...
| 2477 |
| 164 | QRegExp(nameFilters.at(i),executed 2477 times by 136 tests: nameRegExps.append( QRegExp(nameFilters.at(i), (filters & QDir::CaseSensitive) ? Qt::CaseSensitive : Qt::CaseInsensitive, QRegExp::Wildcard));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
- ...
| 2477 |
| 165 | (filters & QDir::CaseSensitive) ? Qt::CaseSensitive : Qt::CaseInsensitive,executed 2477 times by 136 tests: nameRegExps.append( QRegExp(nameFilters.at(i), (filters & QDir::CaseSensitive) ? Qt::CaseSensitive : Qt::CaseInsensitive, QRegExp::Wildcard));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
- ...
| 2477 |
| 166 | QRegExp::Wildcard));executed 2477 times by 136 tests: nameRegExps.append( QRegExp(nameFilters.at(i), (filters & QDir::CaseSensitive) ? Qt::CaseSensitive : Qt::CaseInsensitive, QRegExp::Wildcard));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
- ...
| 2477 |
| 167 | #endif | - |
| 168 | QFileSystemMetaData metaData; | - |
| 169 | if (resolveEngine)| TRUE | evaluated 4609 times by 169 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_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
- ...
| | FALSE | evaluated 546 times by 9 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_qmakelib
|
| 546-4609 |
| 170 | engine.reset(QFileSystemEngine::resolveEntryAndCreateLegacyEngine(dirEntry, metaData));executed 4609 times by 169 tests: engine.reset(QFileSystemEngine::resolveEntryAndCreateLegacyEngine(dirEntry, metaData));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
- ...
| 4609 |
| 171 | QFileInfo fileInfo(new QFileInfoPrivate(dirEntry, metaData)); | - |
| 172 | | - |
| 173 | | - |
| 174 | pushDirectory(fileInfo); | - |
| 175 | advance(); | - |
| 176 | }executed 5155 times by 169 tests: end of blockExecuted 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
- ...
| 5155 |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | void QDirIteratorPrivate::pushDirectory(const QFileInfo &fileInfo) | - |
| 182 | { | - |
| 183 | QString path = fileInfo.filePath(); | - |
| 184 | | - |
| 185 | #ifdef Q_OS_WIN | - |
| 186 | if (fileInfo.isSymLink()) | - |
| 187 | path = fileInfo.canonicalFilePath(); | - |
| 188 | #endif | - |
| 189 | | - |
| 190 | if (iteratorFlags & QDirIterator::FollowSymlinks)| TRUE | evaluated 277 times by 4 testsEvaluated by:- tst_QDirIterator
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
| | FALSE | evaluated 7278 times by 169 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_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
- ...
|
| 277-7278 |
| 191 | visitedLinks << fileInfo.canonicalFilePath();executed 277 times by 4 tests: visitedLinks << fileInfo.canonicalFilePath();Executed by:- tst_QDirIterator
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
| 277 |
| 192 | | - |
| 193 | if (engine) {| TRUE | evaluated 177 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 7378 times by 166 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_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
- ...
|
| 177-7378 |
| 194 | engine->setFileName(path); | - |
| 195 | QAbstractFileEngineIterator *it = engine->beginEntryList(filters, nameFilters); | - |
| 196 | if (it) {| TRUE | evaluated 176 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 1 time by 1 test |
| 1-176 |
| 197 | it->setPath(path); | - |
| 198 | fileEngineIterators << it; | - |
| 199 | } else {executed 176 times by 7 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 176 |
| 200 | | - |
| 201 | }executed 1 time by 1 test: end of block | 1 |
| 202 | } else { | - |
| 203 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 204 | QFileSystemIterator *it = new QFileSystemIterator(fileInfo.d_ptr->fileEntry, | - |
| 205 | filters, nameFilters, iteratorFlags); | - |
| 206 | nativeIterators << it; | - |
| 207 | #endif | - |
| 208 | }executed 7378 times by 166 tests: end of blockExecuted 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
- ...
| 7378 |
| 209 | } | - |
| 210 | | - |
| 211 | inline bool QDirIteratorPrivate::entryMatches(const QString & fileName, const QFileInfo &fileInfo) | - |
| 212 | { | - |
| 213 | checkAndPushDirectory(fileInfo); | - |
| 214 | | - |
| 215 | if (matchesFilters(fileName, fileInfo)) {| TRUE | evaluated 47325 times by 159 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_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
- ...
| | FALSE | evaluated 53725 times by 166 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_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
- ...
|
| 47325-53725 |
| 216 | currentFileInfo = nextFileInfo; | - |
| 217 | nextFileInfo = fileInfo; | - |
| 218 | | - |
| 219 | | - |
| 220 | return true;executed 47325 times by 159 tests: return true;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
- ...
| 47325 |
| 221 | } | - |
| 222 | | - |
| 223 | return false;executed 53725 times by 166 tests: return false;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
- ...
| 53725 |
| 224 | } | - |
| 225 | | - |
| 226 | | - |
| 227 | | - |
| 228 | | - |
| 229 | void QDirIteratorPrivate::advance() | - |
| 230 | { | - |
| 231 | if (engine) {| TRUE | evaluated 493 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 51970 times by 166 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_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
- ...
|
| 493-51970 |
| 232 | while (!fileEngineIterators.isEmpty()) {| TRUE | evaluated 562 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 107 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
| 107-562 |
| 233 | | - |
| 234 | QAbstractFileEngineIterator *it; | - |
| 235 | while (it = fileEngineIterators.top(), it->hasNext()) {| TRUE | evaluated 518 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 176 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
| 176-518 |
| 236 | it->next(); | - |
| 237 | if (entryMatches(it->currentFileName(), it->currentFileInfo()))| TRUE | evaluated 386 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 132 times by 3 testsEvaluated by:- tst_QDir
- tst_QResourceEngine
- tst_rcc
|
| 132-386 |
| 238 | return;executed 386 times by 7 tests: return;Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 386 |
| 239 | }executed 132 times by 3 tests: end of blockExecuted by:- tst_QDir
- tst_QResourceEngine
- tst_rcc
| 132 |
| 240 | | - |
| 241 | fileEngineIterators.pop(); | - |
| 242 | delete it; | - |
| 243 | }executed 176 times by 7 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 176 |
| 244 | } else {executed 107 times by 7 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 107 |
| 245 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 246 | QFileSystemEntry nextEntry; | - |
| 247 | QFileSystemMetaData nextMetaData; | - |
| 248 | | - |
| 249 | while (!nativeIterators.isEmpty()) {| TRUE | evaluated 54299 times by 166 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_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
- ...
| | FALSE | evaluated 5031 times by 161 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_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
- ...
|
| 5031-54299 |
| 250 | | - |
| 251 | QFileSystemIterator *it; | - |
| 252 | while (it = nativeIterators.top(), it->advance(nextEntry, nextMetaData)) {| TRUE | evaluated 100532 times by 165 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_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
- ...
| | FALSE | evaluated 7360 times by 161 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_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
- ...
|
| 7360-100532 |
| 253 | QFileInfo info(new QFileInfoPrivate(nextEntry, nextMetaData)); | - |
| 254 | | - |
| 255 | if (entryMatches(nextEntry.fileName(), info))| TRUE | evaluated 46939 times by 156 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_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
- ...
| | FALSE | evaluated 53593 times by 165 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_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
- ...
|
| 46939-53593 |
| 256 | return;executed 46939 times by 156 tests: return;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
- ...
| 46939 |
| 257 | }executed 53593 times by 165 tests: end of blockExecuted 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
- ...
| 53593 |
| 258 | | - |
| 259 | nativeIterators.pop(); | - |
| 260 | delete it; | - |
| 261 | }executed 7360 times by 161 tests: end of blockExecuted 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
- ...
| 7360 |
| 262 | #endif | - |
| 263 | }executed 5031 times by 161 tests: end of blockExecuted 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
- ...
| 5031 |
| 264 | | - |
| 265 | currentFileInfo = nextFileInfo; | - |
| 266 | nextFileInfo = QFileInfo(); | - |
| 267 | }executed 5138 times by 164 tests: end of blockExecuted 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
- ...
| 5138 |
| 268 | | - |
| 269 | | - |
| 270 | | - |
| 271 | | - |
| 272 | void QDirIteratorPrivate::checkAndPushDirectory(const QFileInfo &fileInfo) | - |
| 273 | { | - |
| 274 | | - |
| 275 | if (!(iteratorFlags & QDirIterator::Subdirectories))| TRUE | evaluated 90650 times by 167 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_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
- ...
| | FALSE | evaluated 10400 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
|
| 10400-90650 |
| 276 | return;executed 90650 times by 167 tests: return;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
- ...
| 90650 |
| 277 | | - |
| 278 | | - |
| 279 | if (!fileInfo.isDir())| TRUE | evaluated 2928 times by 6 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
| | FALSE | evaluated 7472 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
|
| 2928-7472 |
| 280 | return;executed 2928 times by 6 tests: return;Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
| 2928 |
| 281 | | - |
| 282 | | - |
| 283 | if (!(iteratorFlags & QDirIterator::FollowSymlinks) && fileInfo.isSymLink())| TRUE | evaluated 6939 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_rcc
| | FALSE | evaluated 533 times by 2 testsEvaluated by:- tst_QDirIterator
- tst_QSslCertificate
|
| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 6938 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_rcc
|
| 1-6939 |
| 284 | return;executed 1 time by 1 test: return; | 1 |
| 285 | | - |
| 286 | | - |
| 287 | QString fileName = fileInfo.fileName(); | - |
| 288 | if (QLatin1String(".") == fileName || QLatin1String("..") == fileName)| TRUE | evaluated 2487 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
| | FALSE | evaluated 4984 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
|
| TRUE | evaluated 2489 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
| | FALSE | evaluated 2495 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
|
| 2487-4984 |
| 289 | return;executed 4976 times by 5 tests: return;Executed by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
| 4976 |
| 290 | | - |
| 291 | | - |
| 292 | if (!(filters & QDir::AllDirs) && !(filters & QDir::Hidden) && fileInfo.isHidden())| TRUE | evaluated 767 times by 5 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QSslCertificate
- tst_rcc
| | FALSE | evaluated 1728 times by 3 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkDiskCache
- tst_QNetworkReply
|
| TRUE | evaluated 755 times by 5 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QSslCertificate
- tst_rcc
| | FALSE | evaluated 12 times by 1 test |
| TRUE | evaluated 84 times by 2 testsEvaluated by:- tst_QDirIterator
- tst_QSslCertificate
| | FALSE | evaluated 671 times by 5 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QSslCertificate
- tst_rcc
|
| 12-1728 |
| 293 | return;executed 84 times by 2 tests: return;Executed by:- tst_QDirIterator
- tst_QSslCertificate
| 84 |
| 294 | | - |
| 295 | | - |
| 296 | if (!visitedLinks.isEmpty() &&| TRUE | evaluated 127 times by 2 testsEvaluated by:- tst_QDirIterator
- tst_QSslCertificate
| | FALSE | evaluated 2284 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_rcc
|
| 127-2284 |
| 297 | visitedLinks.contains(fileInfo.canonicalFilePath()))| TRUE | evaluated 11 times by 1 test | | FALSE | evaluated 116 times by 2 testsEvaluated by:- tst_QDirIterator
- tst_QSslCertificate
|
| 11-116 |
| 298 | return;executed 11 times by 1 test: return; | 11 |
| 299 | | - |
| 300 | pushDirectory(fileInfo); | - |
| 301 | }executed 2400 times by 7 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
| 2400 |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | | - |
| 307 | | - |
| 308 | | - |
| 309 | | - |
| 310 | | - |
| 311 | | - |
| 312 | | - |
| 313 | | - |
| 314 | bool QDirIteratorPrivate::matchesFilters(const QString &fileName, const QFileInfo &fi) const | - |
| 315 | { | - |
| 316 | Q_ASSERT(!fileName.isEmpty()); | - |
| 317 | | - |
| 318 | | - |
| 319 | const int fileNameSize = fileName.size(); | - |
| 320 | const bool dotOrDotDot = fileName[0] == QLatin1Char('.')| TRUE | evaluated 16421 times by 165 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_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
- ...
| | FALSE | evaluated 84629 times by 159 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_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
- ...
|
| 16421-84629 |
| 321 | && ((fileNameSize == 1)| TRUE | evaluated 6901 times by 165 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_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
- ...
| | FALSE | evaluated 9520 times by 165 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_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
- ...
|
| 6901-9520 |
| 322 | ||(fileNameSize == 2 && fileName[1] == QLatin1Char('.')));| TRUE | evaluated 7092 times by 165 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_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
- ...
| | FALSE | evaluated 2428 times by 16 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSharedPointer
- tst_QSslCertificate
- tst_QUrl
- tst_languageChange
- tst_qfileinfo - unknown status
- tst_uic
|
| TRUE | evaluated 6904 times by 165 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_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
- ...
| | FALSE | evaluated 188 times by 1 test |
| 188-7092 |
| 323 | if ((filters & QDir::NoDot) && dotOrDotDot && fileNameSize == 1)| TRUE | evaluated 11458 times by 55 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- ...
| | FALSE | evaluated 15863 times by 45 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- ...
|
| TRUE | evaluated 5729 times by 55 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- ...
| | FALSE | evaluated 5729 times by 55 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- ...
|
| 5729-15863 |
| 324 | return false;executed 5729 times by 55 tests: return false;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- ...
| 5729 |
| 325 | if ((filters & QDir::NoDotDot) && dotOrDotDot && fileNameSize == 2)| TRUE | evaluated 5734 times by 56 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- ...
| | FALSE | evaluated 15876 times by 46 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- ...
|
| TRUE | evaluated 5730 times by 56 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- ...
| | FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDirIterator
- tst_QFileSystemModel
- tst_QUrl
|
| 4-15876 |
| 326 | return false;executed 5730 times by 56 tests: return false;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- ...
| 5730 |
| 327 | | - |
| 328 | | - |
| 329 | #ifndef QT_NO_REGEXP | - |
| 330 | | - |
| 331 | if (!nameFilters.isEmpty() && !((filters & QDir::AllDirs) && fi.isDir())) {| TRUE | evaluated 60150 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- ...
| | FALSE | evaluated 29441 times by 148 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_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
- ...
|
| TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
|
| 7-60150 |
| 332 | bool matched = false; | - |
| 333 | for (QVector<QRegExp>::const_iterator iter = nameRegExps.constBegin(), | - |
| 334 | end = nameRegExps.constEnd(); | - |
| 335 | iter != end; ++iter) {| TRUE | evaluated 98761 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- ...
| | FALSE | evaluated 39992 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
|
| 39992-98761 |
| 336 | | - |
| 337 | QRegExp copy = *iter; | - |
| 338 | if (copy.exactMatch(fileName)) {| TRUE | evaluated 20151 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 78610 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
|
| 20151-78610 |
| 339 | matched = true; | - |
| 340 | break;executed 20151 times by 25 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
| 20151 |
| 341 | } | - |
| 342 | }executed 78610 times by 25 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
| 78610 |
| 343 | if (!matched)| TRUE | evaluated 39992 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
| | FALSE | evaluated 20151 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
|
| 20151-39992 |
| 344 | return false;executed 39992 times by 25 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
| 39992 |
| 345 | }executed 20151 times by 25 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qmakelib
- tst_rcc
- tst_uic
| 20151 |
| 346 | #endif | - |
| 347 | | - |
| 348 | const bool skipSymlinks = (filters & QDir::NoSymLinks); | - |
| 349 | const bool includeSystem = (filters & QDir::System); | - |
| 350 | if(skipSymlinks && fi.isSymLink()) {| TRUE | evaluated 90 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
| | FALSE | evaluated 49509 times by 159 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_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
- ...
|
| TRUE | evaluated 17 times by 1 test | | FALSE | evaluated 73 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
|
| 17-49509 |
| 351 | | - |
| 352 | if(!includeSystem || fi.exists())| TRUE | evaluated 17 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-17 |
| 353 | return false;executed 17 times by 1 test: return false; | 17 |
| 354 | } never executed: end of block | 0 |
| 355 | | - |
| 356 | | - |
| 357 | const bool includeHidden = (filters & QDir::Hidden); | - |
| 358 | if (!includeHidden && !dotOrDotDot && fi.isHidden())| TRUE | evaluated 38150 times by 139 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_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
- ...
| | FALSE | evaluated 11432 times by 46 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- ...
|
| TRUE | evaluated 37203 times by 138 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_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
- ...
| | FALSE | evaluated 947 times by 121 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_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_QFileDialog2
- ...
|
| TRUE | evaluated 831 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFiledialog
- tst_QItemModel
- tst_QSslCertificate
- tst_QUrl
| | FALSE | evaluated 36372 times by 138 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_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
- ...
|
| 831-38150 |
| 359 | return false;executed 831 times by 8 tests: return false;Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFiledialog
- tst_QItemModel
- tst_QSslCertificate
- tst_QUrl
| 831 |
| 360 | | - |
| 361 | | - |
| 362 | if (!includeSystem && (!(fi.isFile() || fi.isDir() || fi.isSymLink())| TRUE | evaluated 38162 times by 139 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_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
- ...
| | FALSE | evaluated 10589 times by 44 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- ...
|
| TRUE | evaluated 29407 times by 137 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_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
- ...
| | FALSE | evaluated 8755 times by 127 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_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
- ...
|
| TRUE | evaluated 8271 times by 127 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_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
- ...
| | FALSE | evaluated 484 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QItemModel
- tst_rcc
|
| TRUE | evaluated 306 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QItemModel
| | FALSE | evaluated 178 times by 2 tests |
| 178-38162 |
| 363 | || (!fi.exists() && fi.isSymLink())))| TRUE | evaluated 129 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
| | FALSE | evaluated 37855 times by 139 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_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
- ...
|
| TRUE | evaluated 129 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
| | FALSE | never evaluated |
| 0-37855 |
| 364 | return false;executed 307 times by 5 tests: return false;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QItemModel
- tst_rcc
| 307 |
| 365 | | - |
| 366 | | - |
| 367 | const bool skipDirs = !(filters & (QDir::Dirs | QDir::AllDirs)); | - |
| 368 | if (skipDirs && fi.isDir())| TRUE | evaluated 6448 times by 130 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| | FALSE | evaluated 41996 times by 55 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- ...
|
| TRUE | evaluated 1000 times by 119 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| | FALSE | evaluated 5448 times by 130 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 1000-41996 |
| 369 | return false;executed 1000 times by 119 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1000 |
| 370 | | - |
| 371 | | - |
| 372 | const bool skipFiles = !(filters & QDir::Files); | - |
| 373 | if (skipFiles && fi.isFile())| TRUE | evaluated 499 times by 6 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
| | FALSE | evaluated 46945 times by 158 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_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
- ...
|
| TRUE | evaluated 117 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
| | FALSE | evaluated 382 times by 6 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
|
| 117-46945 |
| 374 | | - |
| 375 | return false;executed 117 times by 5 tests: return false;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
| 117 |
| 376 | | - |
| 377 | | - |
| 378 | const bool filterPermissions = ((filters & QDir::PermissionMask) | - |
| 379 | && (filters & QDir::PermissionMask) != QDir::PermissionMask);| TRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| | FALSE | never evaluated |
| 0-109 |
| 380 | const bool doWritable = !filterPermissions || (filters & QDir::Writable);| TRUE | evaluated 47218 times by 158 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_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
- ...
| | FALSE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
| 109-47218 |
| 381 | const bool doExecutable = !filterPermissions || (filters & QDir::Executable);| TRUE | evaluated 47218 times by 158 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_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
- ...
| | FALSE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
| 109-47218 |
| 382 | const bool doReadable = !filterPermissions || (filters & QDir::Readable);| TRUE | evaluated 47218 times by 158 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_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
- ...
| | FALSE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
| 109-47218 |
| 383 | if (filterPermissions| TRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| | FALSE | evaluated 47218 times by 158 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_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
- ...
|
| 109-47218 |
| 384 | && ((doReadable && !fi.isReadable())| TRUE | evaluated 102 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| | FALSE | evaluated 7 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
| 0-102 |
| 385 | || (doWritable && !fi.isWritable())| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 5 times by 1 test |
| 2-102 |
| 386 | || (doExecutable && !fi.isExecutable()))) {| TRUE | never evaluated | | FALSE | evaluated 107 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-107 |
| 387 | return false;executed 2 times by 1 test: return false; | 2 |
| 388 | } | - |
| 389 | | - |
| 390 | return true;executed 47325 times by 159 tests: return true;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
- ...
| 47325 |
| 391 | } | - |
| 392 | | - |
| 393 | | - |
| 394 | | - |
| 395 | | - |
| 396 | | - |
| 397 | | - |
| 398 | | - |
| 399 | | - |
| 400 | | - |
| 401 | | - |
| 402 | | - |
| 403 | | - |
| 404 | | - |
| 405 | | - |
| 406 | | - |
| 407 | | - |
| 408 | QDirIterator::QDirIterator(const QDir &dir, IteratorFlags flags) | - |
| 409 | { | - |
| 410 | const QDirPrivate *other = dir.d_ptr.constData(); | - |
| 411 | d.reset(new QDirIteratorPrivate(other->dirEntry, other->nameFilters, other->filters, flags, !other->fileEngine.isNull())); | - |
| 412 | }executed 552 times by 10 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_qmakelib
| 552 |
| 413 | | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | | - |
| 419 | | - |
| 420 | | - |
| 421 | | - |
| 422 | | - |
| 423 | | - |
| 424 | | - |
| 425 | | - |
| 426 | | - |
| 427 | QDirIterator::QDirIterator(const QString &path, QDir::Filters filters, IteratorFlags flags) | - |
| 428 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), QStringList(), filters, flags)) | - |
| 429 | { | - |
| 430 | }executed 3160 times by 61 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QSslCertificate
- tst_QSslSocket
- ...
| 3160 |
| 431 | | - |
| 432 | | - |
| 433 | | - |
| 434 | | - |
| 435 | | - |
| 436 | | - |
| 437 | | - |
| 438 | | - |
| 439 | | - |
| 440 | | - |
| 441 | | - |
| 442 | | - |
| 443 | | - |
| 444 | QDirIterator::QDirIterator(const QString &path, IteratorFlags flags) | - |
| 445 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), QStringList(), QDir::NoFilter, flags)) | - |
| 446 | { | - |
| 447 | }executed 5 times by 3 tests: end of blockExecuted by:- tst_QDirIterator
- tst_QFileInfo
- tst_QUrl
| 5 |
| 448 | | - |
| 449 | | - |
| 450 | | - |
| 451 | | - |
| 452 | | - |
| 453 | | - |
| 454 | | - |
| 455 | | - |
| 456 | | - |
| 457 | | - |
| 458 | | - |
| 459 | | - |
| 460 | | - |
| 461 | | - |
| 462 | QDirIterator::QDirIterator(const QString &path, const QStringList &nameFilters, | - |
| 463 | QDir::Filters filters, IteratorFlags flags) | - |
| 464 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), nameFilters, filters, flags)) | - |
| 465 | { | - |
| 466 | }executed 1438 times by 134 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 1438 |
| 467 | | - |
| 468 | | - |
| 469 | | - |
| 470 | | - |
| 471 | QDirIterator::~QDirIterator() | - |
| 472 | { | - |
| 473 | } | - |
| 474 | | - |
| 475 | | - |
| 476 | | - |
| 477 | | - |
| 478 | | - |
| 479 | | - |
| 480 | | - |
| 481 | | - |
| 482 | | - |
| 483 | | - |
| 484 | | - |
| 485 | QString QDirIterator::next() | - |
| 486 | { | - |
| 487 | d->advance(); | - |
| 488 | return filePath();executed 47308 times by 154 tests: return filePath();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
- ...
| 47308 |
| 489 | } | - |
| 490 | | - |
| 491 | | - |
| 492 | | - |
| 493 | | - |
| 494 | | - |
| 495 | | - |
| 496 | | - |
| 497 | bool QDirIterator::hasNext() const | - |
| 498 | { | - |
| 499 | if (d->engine)| TRUE | evaluated 494 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| | FALSE | evaluated 51968 times by 166 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_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
- ...
|
| 494-51968 |
| 500 | return !d->fileEngineIterators.isEmpty();executed 494 times by 7 tests: return !d->fileEngineIterators.isEmpty();Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 494 |
| 501 | else | - |
| 502 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 503 | return !d->nativeIterators.isEmpty();executed 51968 times by 166 tests: return !d->nativeIterators.isEmpty();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
- ...
| 51968 |
| 504 | #else | - |
| 505 | return false; | - |
| 506 | #endif | - |
| 507 | } | - |
| 508 | | - |
| 509 | | - |
| 510 | | - |
| 511 | | - |
| 512 | | - |
| 513 | | - |
| 514 | | - |
| 515 | | - |
| 516 | | - |
| 517 | | - |
| 518 | | - |
| 519 | QString QDirIterator::fileName() const | - |
| 520 | { | - |
| 521 | return d->currentFileInfo.fileName();executed 64 times by 2 tests: return d->currentFileInfo.fileName(); | 64 |
| 522 | } | - |
| 523 | | - |
| 524 | | - |
| 525 | | - |
| 526 | | - |
| 527 | | - |
| 528 | | - |
| 529 | QString QDirIterator::filePath() const | - |
| 530 | { | - |
| 531 | return d->currentFileInfo.filePath();executed 50745 times by 154 tests: return d->currentFileInfo.filePath();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
- ...
| 50745 |
| 532 | } | - |
| 533 | | - |
| 534 | | - |
| 535 | | - |
| 536 | | - |
| 537 | | - |
| 538 | | - |
| 539 | QFileInfo QDirIterator::fileInfo() const | - |
| 540 | { | - |
| 541 | return d->currentFileInfo;executed 43994 times by 153 tests: return d->currentFileInfo;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
- ...
| 43994 |
| 542 | } | - |
| 543 | | - |
| 544 | | - |
| 545 | | - |
| 546 | | - |
| 547 | QString QDirIterator::path() const | - |
| 548 | { | - |
| 549 | return d->dirEntry.filePath();executed 44 times by 1 test: return d->dirEntry.filePath(); | 44 |
| 550 | } | - |
| 551 | | - |
| 552 | QT_END_NAMESPACE | - |
| | |