| 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 | #include "qdiriterator.h" | - |
| 83 | #include "qdir_p.h" | - |
| 84 | #include "qabstractfileengine_p.h" | - |
| 85 | | - |
| 86 | #include <QtCore/qset.h> | - |
| 87 | #include <QtCore/qstack.h> | - |
| 88 | #include <QtCore/qvariant.h> | - |
| 89 | | - |
| 90 | #include <QtCore/private/qfilesystemiterator_p.h> | - |
| 91 | #include <QtCore/private/qfilesystementry_p.h> | - |
| 92 | #include <QtCore/private/qfilesystemmetadata_p.h> | - |
| 93 | #include <QtCore/private/qfilesystemengine_p.h> | - |
| 94 | #include <QtCore/private/qfileinfo_p.h> | - |
| 95 | | - |
| 96 | QT_BEGIN_NAMESPACE | - |
| 97 | | - |
| 98 | template <class Iterator> | - |
| 99 | class QDirIteratorPrivateIteratorStack : public QStack<Iterator *> | - |
| 100 | { | - |
| 101 | public: | - |
| 102 | ~QDirIteratorPrivateIteratorStack() | - |
| 103 | { | - |
| 104 | qDeleteAll(*this); | - |
| 105 | }executed 10308 times by 168 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
- ...
| 10308 |
| 106 | }; | - |
| 107 | | - |
| 108 | class QDirIteratorPrivate | - |
| 109 | { | - |
| 110 | public: | - |
| 111 | QDirIteratorPrivate(const QFileSystemEntry &entry, const QStringList &nameFilters, | - |
| 112 | QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine = true); | - |
| 113 | | - |
| 114 | void advance(); | - |
| 115 | | - |
| 116 | bool entryMatches(const QString & fileName, const QFileInfo &fileInfo); | - |
| 117 | void pushDirectory(const QFileInfo &fileInfo); | - |
| 118 | void checkAndPushDirectory(const QFileInfo &); | - |
| 119 | bool matchesFilters(const QString &fileName, const QFileInfo &fi) const; | - |
| 120 | | - |
| 121 | QScopedPointer<QAbstractFileEngine> engine; | - |
| 122 | | - |
| 123 | QFileSystemEntry dirEntry; | - |
| 124 | const QStringList nameFilters; | - |
| 125 | const QDir::Filters filters; | - |
| 126 | const QDirIterator::IteratorFlags iteratorFlags; | - |
| 127 | | - |
| 128 | #ifndef QT_NO_REGEXP | - |
| 129 | QVector<QRegExp> nameRegExps; | - |
| 130 | #endif | - |
| 131 | | - |
| 132 | QDirIteratorPrivateIteratorStack<QAbstractFileEngineIterator> fileEngineIterators; | - |
| 133 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 134 | QDirIteratorPrivateIteratorStack<QFileSystemIterator> nativeIterators; | - |
| 135 | #endif | - |
| 136 | | - |
| 137 | QFileInfo currentFileInfo; | - |
| 138 | QFileInfo nextFileInfo; | - |
| 139 | | - |
| 140 | | - |
| 141 | QSet<QString> visitedLinks; | - |
| 142 | }; | - |
| 143 | | - |
| 144 | | - |
| 145 | | - |
| 146 | | - |
| 147 | QDirIteratorPrivate::QDirIteratorPrivate(const QFileSystemEntry &entry, const QStringList &nameFilters, | - |
| 148 | QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine) | - |
| 149 | : dirEntry(entry) | - |
| 150 | , nameFilters(nameFilters.contains(QLatin1String("*")) ? QStringList() : nameFilters) | - |
| 151 | , filters(QDir::NoFilter == filters ? QDir::AllEntries : filters) | - |
| 152 | , iteratorFlags(flags) | - |
| 153 | { | - |
| 154 | #ifndef QT_NO_REGEXP | - |
| 155 | nameRegExps.reserve(nameFilters.size()); | - |
| 156 | for (int i = 0; i < nameFilters.size(); ++i)| TRUE | evaluated 2488 times by 135 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 5154 times by 168 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
- ...
|
| 2488-5154 |
| 157 | nameRegExps.append(executed 2488 times by 135 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
- ...
| 2488 |
| 158 | QRegExp(nameFilters.at(i),executed 2488 times by 135 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
- ...
| 2488 |
| 159 | (filters & QDir::CaseSensitive) ? Qt::CaseSensitive : Qt::CaseInsensitive,executed 2488 times by 135 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
- ...
| 2488 |
| 160 | QRegExp::Wildcard));executed 2488 times by 135 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
- ...
| 2488 |
| 161 | #endif | - |
| 162 | QFileSystemMetaData metaData; | - |
| 163 | if (resolveEngine)| TRUE | evaluated 4609 times by 168 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 545 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
|
| 545-4609 |
| 164 | engine.reset(QFileSystemEngine::resolveEntryAndCreateLegacyEngine(dirEntry, metaData));executed 4609 times by 168 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 |
| 165 | QFileInfo fileInfo(new QFileInfoPrivate(dirEntry, metaData)); | - |
| 166 | | - |
| 167 | | - |
| 168 | pushDirectory(fileInfo); | - |
| 169 | advance(); | - |
| 170 | }executed 5154 times by 168 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
- ...
| 5154 |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | | - |
| 175 | void QDirIteratorPrivate::pushDirectory(const QFileInfo &fileInfo) | - |
| 176 | { | - |
| 177 | QString path = fileInfo.filePath(); | - |
| 178 | | - |
| 179 | #ifdef Q_OS_WIN | - |
| 180 | if (fileInfo.isSymLink()) | - |
| 181 | path = fileInfo.canonicalFilePath(); | - |
| 182 | #endif | - |
| 183 | | - |
| 184 | if (iteratorFlags & QDirIterator::FollowSymlinks)| TRUE | evaluated 277 times by 4 testsEvaluated by:- tst_QDirIterator
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
| | FALSE | evaluated 7277 times by 168 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-7277 |
| 185 | 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 |
| 186 | | - |
| 187 | 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 7377 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
- ...
|
| 177-7377 |
| 188 | engine->setFileName(path); | - |
| 189 | QAbstractFileEngineIterator *it = engine->beginEntryList(filters, nameFilters); | - |
| 190 | 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 |
| 191 | it->setPath(path); | - |
| 192 | fileEngineIterators << it; | - |
| 193 | } 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 |
| 194 | | - |
| 195 | }executed 1 time by 1 test: end of block | 1 |
| 196 | } else { | - |
| 197 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 198 | QFileSystemIterator *it = new QFileSystemIterator(fileInfo.d_ptr->fileEntry, | - |
| 199 | filters, nameFilters, iteratorFlags); | - |
| 200 | nativeIterators << it; | - |
| 201 | #endif | - |
| 202 | }executed 7377 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
- ...
| 7377 |
| 203 | } | - |
| 204 | | - |
| 205 | inline bool QDirIteratorPrivate::entryMatches(const QString & fileName, const QFileInfo &fileInfo) | - |
| 206 | { | - |
| 207 | checkAndPushDirectory(fileInfo); | - |
| 208 | | - |
| 209 | if (matchesFilters(fileName, fileInfo)) {| TRUE | evaluated 47035 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 53694 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
- ...
|
| 47035-53694 |
| 210 | currentFileInfo = nextFileInfo; | - |
| 211 | nextFileInfo = fileInfo; | - |
| 212 | | - |
| 213 | | - |
| 214 | return true;executed 47035 times by 158 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
- ...
| 47035 |
| 215 | } | - |
| 216 | | - |
| 217 | return false;executed 53694 times by 165 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
- ...
| 53694 |
| 218 | } | - |
| 219 | | - |
| 220 | | - |
| 221 | | - |
| 222 | | - |
| 223 | void QDirIteratorPrivate::advance() | - |
| 224 | { | - |
| 225 | 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 51679 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
- ...
|
| 493-51679 |
| 226 | 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 |
| 227 | | - |
| 228 | QAbstractFileEngineIterator *it; | - |
| 229 | 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 |
| 230 | it->next(); | - |
| 231 | 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 |
| 232 | 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 |
| 233 | }executed 132 times by 3 tests: end of blockExecuted by:- tst_QDir
- tst_QResourceEngine
- tst_rcc
| 132 |
| 234 | | - |
| 235 | fileEngineIterators.pop(); | - |
| 236 | delete it; | - |
| 237 | }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 |
| 238 | } 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 |
| 239 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 240 | QFileSystemEntry nextEntry; | - |
| 241 | QFileSystemMetaData nextMetaData; | - |
| 242 | | - |
| 243 | while (!nativeIterators.isEmpty()) {| TRUE | evaluated 54008 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 5030 times by 160 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
- ...
|
| 5030-54008 |
| 244 | | - |
| 245 | QFileSystemIterator *it; | - |
| 246 | while (it = nativeIterators.top(), it->advance(nextEntry, nextMetaData)) {| TRUE | evaluated 100211 times by 164 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 7359 times by 160 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
- ...
|
| 7359-100211 |
| 247 | QFileInfo info(new QFileInfoPrivate(nextEntry, nextMetaData)); | - |
| 248 | | - |
| 249 | if (entryMatches(nextEntry.fileName(), info))| TRUE | evaluated 46649 times by 155 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 53562 times by 164 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
- ...
|
| 46649-53562 |
| 250 | return;executed 46649 times by 155 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
- ...
| 46649 |
| 251 | }executed 53562 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
- ...
| 53562 |
| 252 | | - |
| 253 | nativeIterators.pop(); | - |
| 254 | delete it; | - |
| 255 | }executed 7359 times by 160 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
- ...
| 7359 |
| 256 | #endif | - |
| 257 | }executed 5030 times by 160 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
- ...
| 5030 |
| 258 | | - |
| 259 | currentFileInfo = nextFileInfo; | - |
| 260 | nextFileInfo = QFileInfo(); | - |
| 261 | }executed 5137 times by 163 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
- ...
| 5137 |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | | - |
| 266 | void QDirIteratorPrivate::checkAndPushDirectory(const QFileInfo &fileInfo) | - |
| 267 | { | - |
| 268 | | - |
| 269 | if (!(iteratorFlags & QDirIterator::Subdirectories))| TRUE | evaluated 90329 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 10400 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
|
| 10400-90329 |
| 270 | return;executed 90329 times by 166 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
- ...
| 90329 |
| 271 | | - |
| 272 | | - |
| 273 | 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 |
| 274 | return;executed 2928 times by 6 tests: return;Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
| 2928 |
| 275 | | - |
| 276 | | - |
| 277 | 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 |
| 278 | return;executed 1 time by 1 test: return; | 1 |
| 279 | | - |
| 280 | | - |
| 281 | QString fileName = fileInfo.fileName(); | - |
| 282 | 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 |
| 283 | return;executed 4976 times by 5 tests: return;Executed by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
| 4976 |
| 284 | | - |
| 285 | | - |
| 286 | 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 |
| 287 | return;executed 84 times by 2 tests: return;Executed by:- tst_QDirIterator
- tst_QSslCertificate
| 84 |
| 288 | | - |
| 289 | | - |
| 290 | 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 |
| 291 | 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 |
| 292 | return;executed 11 times by 1 test: return; | 11 |
| 293 | | - |
| 294 | pushDirectory(fileInfo); | - |
| 295 | }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 |
| 296 | | - |
| 297 | | - |
| 298 | | - |
| 299 | | - |
| 300 | | - |
| 301 | | - |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | | - |
| 307 | | - |
| 308 | bool QDirIteratorPrivate::matchesFilters(const QString &fileName, const QFileInfo &fi) const | - |
| 309 | { | - |
| 310 | Q_ASSERT(!fileName.isEmpty()); | - |
| 311 | | - |
| 312 | | - |
| 313 | const int fileNameSize = fileName.size(); | - |
| 314 | const bool dotOrDotDot = fileName[0] == QLatin1Char('.')| TRUE | evaluated 16354 times by 164 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 84375 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
- ...
|
| 16354-84375 |
| 315 | && ((fileNameSize == 1)| TRUE | evaluated 6906 times by 164 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 9448 times by 164 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
- ...
|
| 6906-9448 |
| 316 | ||(fileNameSize == 2 && fileName[1] == QLatin1Char('.')));| TRUE | evaluated 7098 times by 164 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 2350 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSslCertificate
- tst_QUrl
- tst_languageChange
- tst_qfileinfo - unknown status
- tst_uic
|
| TRUE | evaluated 6909 times by 164 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 189 times by 1 test |
| 189-7098 |
| 317 | if ((filters & QDir::NoDot) && dotOrDotDot && fileNameSize == 1)| TRUE | evaluated 11450 times by 54 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- ...
| | FALSE | evaluated 15606 times by 43 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_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
- tst_qfileinfo - unknown status
- ...
|
| TRUE | evaluated 5725 times by 54 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- ...
| | FALSE | evaluated 5725 times by 54 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- ...
|
| 5725-15606 |
| 318 | return false;executed 5725 times by 54 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- ...
| 5725 |
| 319 | if ((filters & QDir::NoDotDot) && dotOrDotDot && fileNameSize == 2)| TRUE | evaluated 5730 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- tst_QXmlStream
- ...
| | FALSE | evaluated 15619 times by 44 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_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- ...
|
| TRUE | evaluated 5726 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- tst_QXmlStream
- ...
| | FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDirIterator
- tst_QFileSystemModel
- tst_QUrl
|
| 4-15619 |
| 320 | return false;executed 5726 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_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QUrl
- tst_QXmlStream
- ...
| 5726 |
| 321 | | - |
| 322 | | - |
| 323 | #ifndef QT_NO_REGEXP | - |
| 324 | | - |
| 325 | if (!nameFilters.isEmpty() && !((filters & QDir::AllDirs) && fi.isDir())) {| TRUE | evaluated 60132 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 29146 times by 147 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-60132 |
| 326 | bool matched = false; | - |
| 327 | for (QVector<QRegExp>::const_iterator iter = nameRegExps.constBegin(), | - |
| 328 | end = nameRegExps.constEnd(); | - |
| 329 | iter != end; ++iter) {| TRUE | evaluated 98743 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 39977 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
|
| 39977-98743 |
| 330 | | - |
| 331 | QRegExp copy = *iter; | - |
| 332 | if (copy.exactMatch(fileName)) {| TRUE | evaluated 20148 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 78595 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
|
| 20148-78595 |
| 333 | matched = true; | - |
| 334 | break;executed 20148 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
| 20148 |
| 335 | } | - |
| 336 | }executed 78595 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
| 78595 |
| 337 | if (!matched)| TRUE | evaluated 39977 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 20148 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
|
| 20148-39977 |
| 338 | return false;executed 39977 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
| 39977 |
| 339 | }executed 20148 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
| 20148 |
| 340 | #endif | - |
| 341 | | - |
| 342 | const bool skipSymlinks = (filters & QDir::NoSymLinks); | - |
| 343 | const bool includeSystem = (filters & QDir::System); | - |
| 344 | if(skipSymlinks && fi.isSymLink()) {| TRUE | evaluated 90 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
| | FALSE | evaluated 49211 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
- ...
|
| TRUE | evaluated 17 times by 1 test | | FALSE | evaluated 73 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
|
| 17-49211 |
| 345 | | - |
| 346 | if(!includeSystem || fi.exists())| TRUE | evaluated 17 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-17 |
| 347 | return false;executed 17 times by 1 test: return false; | 17 |
| 348 | } never executed: end of block | 0 |
| 349 | | - |
| 350 | | - |
| 351 | const bool includeHidden = (filters & QDir::Hidden); | - |
| 352 | if (!includeHidden && !dotOrDotDot && fi.isHidden())| TRUE | evaluated 37927 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 11357 times by 44 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_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
- ...
|
| TRUE | evaluated 36958 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| | FALSE | evaluated 969 times by 120 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 799 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFiledialog
- tst_QItemModel
- tst_QSslCertificate
- tst_QUrl
| | FALSE | evaluated 36159 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
|
| 799-37927 |
| 353 | return false;executed 799 times by 8 tests: return false;Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFiledialog
- tst_QItemModel
- tst_QSslCertificate
- tst_QUrl
| 799 |
| 354 | | - |
| 355 | | - |
| 356 | if (!includeSystem && (!(fi.isFile() || fi.isDir() || fi.isSymLink())| TRUE | evaluated 37935 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 10550 times by 42 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- 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
- tst_qimagewriter - unknown status
- ...
|
| TRUE | evaluated 29177 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_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| | FALSE | evaluated 8758 times by 126 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 8274 times by 126 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-37935 |
| 357 | || (!fi.exists() && fi.isSymLink())))| TRUE | evaluated 129 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
| | FALSE | evaluated 37628 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
- ...
|
| TRUE | evaluated 129 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
| | FALSE | never evaluated |
| 0-37628 |
| 358 | return false;executed 307 times by 5 tests: return false;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QItemModel
- tst_rcc
| 307 |
| 359 | | - |
| 360 | | - |
| 361 | const bool skipDirs = !(filters & (QDir::Dirs | QDir::AllDirs)); | - |
| 362 | if (skipDirs && fi.isDir())| TRUE | evaluated 6419 times by 129 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 41759 times by 53 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_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QSslCertificate
- ...
|
| TRUE | evaluated 1024 times by 118 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 5395 times by 129 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
- ...
|
| 1024-41759 |
| 363 | return false;executed 1024 times by 118 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
- ...
| 1024 |
| 364 | | - |
| 365 | | - |
| 366 | const bool skipFiles = !(filters & QDir::Files); | - |
| 367 | 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 46655 times by 157 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-46655 |
| 368 | | - |
| 369 | return false;executed 117 times by 5 tests: return false;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
| 117 |
| 370 | | - |
| 371 | | - |
| 372 | const bool filterPermissions = ((filters & QDir::PermissionMask) | - |
| 373 | && (filters & QDir::PermissionMask) != QDir::PermissionMask);| TRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| | FALSE | never evaluated |
| 0-109 |
| 374 | const bool doWritable = !filterPermissions || (filters & QDir::Writable);| TRUE | evaluated 46928 times by 157 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-46928 |
| 375 | const bool doExecutable = !filterPermissions || (filters & QDir::Executable);| TRUE | evaluated 46928 times by 157 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-46928 |
| 376 | const bool doReadable = !filterPermissions || (filters & QDir::Readable);| TRUE | evaluated 46928 times by 157 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-46928 |
| 377 | if (filterPermissions| TRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| | FALSE | evaluated 46928 times by 157 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-46928 |
| 378 | && ((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 |
| 379 | || (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 |
| 380 | || (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 |
| 381 | return false;executed 2 times by 1 test: return false; | 2 |
| 382 | } | - |
| 383 | | - |
| 384 | return true;executed 47035 times by 158 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
- ...
| 47035 |
| 385 | } | - |
| 386 | | - |
| 387 | | - |
| 388 | | - |
| 389 | | - |
| 390 | | - |
| 391 | | - |
| 392 | | - |
| 393 | | - |
| 394 | | - |
| 395 | | - |
| 396 | | - |
| 397 | | - |
| 398 | | - |
| 399 | | - |
| 400 | | - |
| 401 | | - |
| 402 | QDirIterator::QDirIterator(const QDir &dir, IteratorFlags flags) | - |
| 403 | { | - |
| 404 | const QDirPrivate *other = dir.d_ptr.constData(); | - |
| 405 | d.reset(new QDirIteratorPrivate(other->dirEntry, other->nameFilters, other->filters, flags, !other->fileEngine.isNull())); | - |
| 406 | }executed 551 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
| 551 |
| 407 | | - |
| 408 | | - |
| 409 | | - |
| 410 | | - |
| 411 | | - |
| 412 | | - |
| 413 | | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | | - |
| 419 | | - |
| 420 | | - |
| 421 | QDirIterator::QDirIterator(const QString &path, QDir::Filters filters, IteratorFlags flags) | - |
| 422 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), QStringList(), filters, flags)) | - |
| 423 | { | - |
| 424 | }executed 3148 times by 60 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_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
- tst_QSslSocket_onDemandCertificates_static
- ...
| 3148 |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | | - |
| 429 | | - |
| 430 | | - |
| 431 | | - |
| 432 | | - |
| 433 | | - |
| 434 | | - |
| 435 | | - |
| 436 | | - |
| 437 | | - |
| 438 | QDirIterator::QDirIterator(const QString &path, IteratorFlags flags) | - |
| 439 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), QStringList(), QDir::NoFilter, flags)) | - |
| 440 | { | - |
| 441 | }executed 5 times by 3 tests: end of blockExecuted by:- tst_QDirIterator
- tst_QFileInfo
- tst_QUrl
| 5 |
| 442 | | - |
| 443 | | - |
| 444 | | - |
| 445 | | - |
| 446 | | - |
| 447 | | - |
| 448 | | - |
| 449 | | - |
| 450 | | - |
| 451 | | - |
| 452 | | - |
| 453 | | - |
| 454 | | - |
| 455 | | - |
| 456 | QDirIterator::QDirIterator(const QString &path, const QStringList &nameFilters, | - |
| 457 | QDir::Filters filters, IteratorFlags flags) | - |
| 458 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), nameFilters, filters, flags)) | - |
| 459 | { | - |
| 460 | }executed 1450 times by 133 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
- ...
| 1450 |
| 461 | | - |
| 462 | | - |
| 463 | | - |
| 464 | | - |
| 465 | QDirIterator::~QDirIterator() | - |
| 466 | { | - |
| 467 | } | - |
| 468 | | - |
| 469 | | - |
| 470 | | - |
| 471 | | - |
| 472 | | - |
| 473 | | - |
| 474 | | - |
| 475 | | - |
| 476 | | - |
| 477 | | - |
| 478 | | - |
| 479 | QString QDirIterator::next() | - |
| 480 | { | - |
| 481 | d->advance(); | - |
| 482 | return filePath();executed 47018 times by 153 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
- ...
| 47018 |
| 483 | } | - |
| 484 | | - |
| 485 | | - |
| 486 | | - |
| 487 | | - |
| 488 | | - |
| 489 | | - |
| 490 | | - |
| 491 | bool QDirIterator::hasNext() const | - |
| 492 | { | - |
| 493 | 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 51677 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
- ...
|
| 494-51677 |
| 494 | 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 |
| 495 | else | - |
| 496 | #ifndef QT_NO_FILESYSTEMITERATOR | - |
| 497 | return !d->nativeIterators.isEmpty();executed 51677 times by 165 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
- ...
| 51677 |
| 498 | #else | - |
| 499 | return false; | - |
| 500 | #endif | - |
| 501 | } | - |
| 502 | | - |
| 503 | | - |
| 504 | | - |
| 505 | | - |
| 506 | | - |
| 507 | | - |
| 508 | | - |
| 509 | | - |
| 510 | | - |
| 511 | | - |
| 512 | | - |
| 513 | QString QDirIterator::fileName() const | - |
| 514 | { | - |
| 515 | return d->currentFileInfo.fileName();executed 64 times by 2 tests: return d->currentFileInfo.fileName(); | 64 |
| 516 | } | - |
| 517 | | - |
| 518 | | - |
| 519 | | - |
| 520 | | - |
| 521 | | - |
| 522 | | - |
| 523 | QString QDirIterator::filePath() const | - |
| 524 | { | - |
| 525 | return d->currentFileInfo.filePath();executed 50414 times by 153 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
- ...
| 50414 |
| 526 | } | - |
| 527 | | - |
| 528 | | - |
| 529 | | - |
| 530 | | - |
| 531 | | - |
| 532 | | - |
| 533 | QFileInfo QDirIterator::fileInfo() const | - |
| 534 | { | - |
| 535 | return d->currentFileInfo;executed 43704 times by 152 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
- ...
| 43704 |
| 536 | } | - |
| 537 | | - |
| 538 | | - |
| 539 | | - |
| 540 | | - |
| 541 | QString QDirIterator::path() const | - |
| 542 | { | - |
| 543 | return d->dirEntry.filePath();executed 44 times by 1 test: return d->dirEntry.filePath(); | 44 |
| 544 | } | - |
| 545 | | - |
| 546 | QT_END_NAMESPACE | - |
| | |