Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | template <class Iterator> | - |
7 | class QDirIteratorPrivateIteratorStack : public QStack<Iterator *> | - |
8 | { | - |
9 | public: | - |
10 | ~QDirIteratorPrivateIteratorStack() | - |
11 | { | - |
12 | qDeleteAll(*this); | - |
13 | }executed 10310 times by 169 tests: end of block 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
- ...
| 10310 |
14 | }; | - |
15 | | - |
16 | class QDirIteratorPrivate | - |
17 | { | - |
18 | public: | - |
19 | QDirIteratorPrivate(const QFileSystemEntry &entry, const QStringList &nameFilters, | - |
20 | QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine = true); | - |
21 | | - |
22 | void advance(); | - |
23 | | - |
24 | bool entryMatches(const QString & fileName, const QFileInfo &fileInfo); | - |
25 | void pushDirectory(const QFileInfo &fileInfo); | - |
26 | void checkAndPushDirectory(const QFileInfo &); | - |
27 | bool matchesFilters(const QString &fileName, const QFileInfo &fi) const; | - |
28 | | - |
29 | QScopedPointer<QAbstractFileEngine> engine; | - |
30 | | - |
31 | QFileSystemEntry dirEntry; | - |
32 | const QStringList nameFilters; | - |
33 | const QDir::Filters filters; | - |
34 | const QDirIterator::IteratorFlags iteratorFlags; | - |
35 | | - |
36 | | - |
37 | QVector<QRegExp> nameRegExps; | - |
38 | | - |
39 | | - |
40 | QDirIteratorPrivateIteratorStack<QAbstractFileEngineIterator> fileEngineIterators; | - |
41 | | - |
42 | QDirIteratorPrivateIteratorStack<QFileSystemIterator> nativeIterators; | - |
43 | | - |
44 | | - |
45 | QFileInfo currentFileInfo; | - |
46 | QFileInfo nextFileInfo; | - |
47 | | - |
48 | | - |
49 | QSet<QString> visitedLinks; | - |
50 | }; | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | QDirIteratorPrivate::QDirIteratorPrivate(const QFileSystemEntry &entry, const QStringList &nameFilters, | - |
56 | QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine) | - |
57 | : dirEntry(entry) | - |
58 | , nameFilters(nameFilters.contains(QLatin1String("*")) ? QStringList() : nameFilters) | - |
59 | , filters(QDir::NoFilter == filters ? QDir::AllEntries : filters) | - |
60 | , iteratorFlags(flags) | - |
61 | { | - |
62 | | - |
63 | nameRegExps.reserve(nameFilters.size()); | - |
64 | for (int i = 0; i < nameFilters.size()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
- ...
|
; ++i) | 2477-5155 |
65 | 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 |
66 | 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 |
67 | (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 |
68 | 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 |
69 | | - |
70 | QFileSystemMetaData metaData; | - |
71 | if (resolveEngineTRUE | 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 |
72 | 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 |
73 | QFileInfo fileInfo(new QFileInfoPrivate(dirEntry, metaData)); | - |
74 | | - |
75 | | - |
76 | pushDirectory(fileInfo); | - |
77 | advance(); | - |
78 | }executed 5155 times by 169 tests: end of block 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
- ...
| 5155 |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | void QDirIteratorPrivate::pushDirectory(const QFileInfo &fileInfo) | - |
84 | { | - |
85 | QString path = fileInfo.filePath(); | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | if (iteratorFlags & QDirIterator::FollowSymlinksTRUE | 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 |
93 | 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 |
94 | | - |
95 | if (engineTRUE | 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 |
96 | engine->setFileName(path); | - |
97 | QAbstractFileEngineIterator *it = engine->beginEntryList(filters, nameFilters); | - |
98 | if (itTRUE | 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 |
99 | it->setPath(path); | - |
100 | fileEngineIterators << it; | - |
101 | }executed 176 times by 7 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
else { | 176 |
102 | | - |
103 | }executed 1 time by 1 test: end of block | 1 |
104 | } else { | - |
105 | | - |
106 | QFileSystemIterator *it = new QFileSystemIterator(fileInfo.d_ptr->fileEntry, | - |
107 | filters, nameFilters, iteratorFlags); | - |
108 | nativeIterators << it; | - |
109 | | - |
110 | }executed 7378 times by 166 tests: end of block 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
- ...
| 7378 |
111 | } | - |
112 | | - |
113 | inline bool QDirIteratorPrivate::entryMatches(const QString & fileName, const QFileInfo &fileInfo) | - |
114 | { | - |
115 | checkAndPushDirectory(fileInfo); | - |
116 | | - |
117 | 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 |
118 | currentFileInfo = nextFileInfo; | - |
119 | nextFileInfo = fileInfo; | - |
120 | | - |
121 | | - |
122 | returnexecuted 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
- ...
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 |
123 | } | - |
124 | | - |
125 | returnexecuted 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
- ...
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 |
126 | } | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | void QDirIteratorPrivate::advance() | - |
132 | { | - |
133 | if (engineTRUE | 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 |
134 | 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 |
135 | | - |
136 | QAbstractFileEngineIterator *it; | - |
137 | 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 |
138 | it->next(); | - |
139 | 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 |
140 | 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 |
141 | }executed 132 times by 3 tests: end of block Executed by:- tst_QDir
- tst_QResourceEngine
- tst_rcc
| 132 |
142 | | - |
143 | fileEngineIterators.pop(); | - |
144 | delete it; | - |
145 | }executed 176 times by 7 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 176 |
146 | }executed 107 times by 7 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
else { | 107 |
147 | | - |
148 | QFileSystemEntry nextEntry; | - |
149 | QFileSystemMetaData nextMetaData; | - |
150 | | - |
151 | 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 |
152 | | - |
153 | QFileSystemIterator *it; | - |
154 | 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 |
155 | QFileInfo info(new QFileInfoPrivate(nextEntry, nextMetaData)); | - |
156 | | - |
157 | 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 |
158 | 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 |
159 | }executed 53593 times by 165 tests: end of block 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
- ...
| 53593 |
160 | | - |
161 | nativeIterators.pop(); | - |
162 | delete it; | - |
163 | }executed 7360 times by 161 tests: end of block 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
- ...
| 7360 |
164 | | - |
165 | }executed 5031 times by 161 tests: end of block 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
- ...
| 5031 |
166 | | - |
167 | currentFileInfo = nextFileInfo; | - |
168 | nextFileInfo = QFileInfo(); | - |
169 | }executed 5138 times by 164 tests: end of block 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
- ...
| 5138 |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | void QDirIteratorPrivate::checkAndPushDirectory(const QFileInfo &fileInfo) | - |
175 | { | - |
176 | | - |
177 | 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 |
178 | 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 |
179 | | - |
180 | | - |
181 | 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 |
182 | return;executed 2928 times by 6 tests: return; Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
| 2928 |
183 | | - |
184 | | - |
185 | if (!(iteratorFlags & QDirIterator::FollowSymlinks)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
|
&& fileInfo.isSymLink()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 |
186 | return;executed 1 time by 1 test: return; | 1 |
187 | | - |
188 | | - |
189 | QString fileName = fileInfo.fileName(); | - |
190 | if (QLatin1String(".") == fileNameTRUE | 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
|
|| QLatin1String("..") == fileNameTRUE | 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 |
191 | return;executed 4976 times by 5 tests: return; Executed by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
| 4976 |
192 | | - |
193 | | - |
194 | if (!(filters & QDir::AllDirs)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
|
&& !(filters & QDir::Hidden)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 |
&& fileInfo.isHidden()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 |
195 | return;executed 84 times by 2 tests: return; Executed by:- tst_QDirIterator
- tst_QSslCertificate
| 84 |
196 | | - |
197 | | - |
198 | 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 |
199 | 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 |
200 | return;executed 11 times by 1 test: return; | 11 |
201 | | - |
202 | pushDirectory(fileInfo); | - |
203 | }executed 2400 times by 7 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDirIterator
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSslCertificate
- tst_rcc
| 2400 |
204 | bool QDirIteratorPrivate::matchesFilters(const QString &fileName, const QFileInfo &fi) const | - |
205 | { | - |
206 | ((!(!fileName.isEmpty())) ? qt_assert("!fileName.isEmpty()",__FILE__,316) : qt_noop()); | - |
207 | | - |
208 | | - |
209 | const int fileNameSize = fileName.size(); | - |
210 | 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 |
211 | && ((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
- ...
|
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 |
212 | ||(fileNameSize == 2TRUE | 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
|
&& fileName[1] == QLatin1Char('.')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 |
213 | if ((filters & QDir::NoDot) && dotOrDotDotTRUE | 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
- ...
|
&& fileNameSize == 1TRUE | 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 |
214 | returnexecuted 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
- ...
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 |
215 | if ((filters & QDir::NoDotDot) && dotOrDotDotTRUE | 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
- ...
|
&& fileNameSize == 2TRUE | 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 |
216 | returnexecuted 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
- ...
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 |
217 | | - |
218 | | - |
219 | | - |
220 | | - |
221 | if (!nameFilters.isEmpty()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
- ...
|
&& !((filters & QDir::AllDirs) && fi.isDir()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 |
222 | bool matched = false; | - |
223 | for (QVector<QRegExp>::const_iterator iter = nameRegExps.constBegin(), | - |
224 | end = nameRegExps.constEnd(); | - |
225 | iter != endTRUE | 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
|
; ++iter) { | 39992-98761 |
226 | | - |
227 | QRegExp copy = *iter; | - |
228 | 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 |
229 | matched = true; | - |
230 | 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 |
231 | } | - |
232 | }executed 78610 times by 25 tests: end of block 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
| 78610 |
233 | if (!matchedTRUE | 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 |
234 | returnexecuted 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
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 |
235 | }executed 20151 times by 25 tests: end of block 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 |
236 | | - |
237 | | - |
238 | const bool skipSymlinks = (filters & QDir::NoSymLinks); | - |
239 | const bool includeSystem = (filters & QDir::System); | - |
240 | if(skipSymlinksTRUE | 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
- ...
|
&& fi.isSymLink()TRUE | evaluated 17 times by 1 test | FALSE | evaluated 73 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
|
) { | 17-49509 |
241 | | - |
242 | if(!includeSystemTRUE | evaluated 17 times by 1 test | FALSE | never evaluated |
|| fi.exists()TRUE | never evaluated | FALSE | never evaluated |
) | 0-17 |
243 | returnexecuted 17 times by 1 test: return false; false;executed 17 times by 1 test: return false; | 17 |
244 | } never executed: end of block | 0 |
245 | | - |
246 | | - |
247 | const bool includeHidden = (filters & QDir::Hidden); | - |
248 | if (!includeHiddenTRUE | 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
- ...
|
&& !dotOrDotDotTRUE | 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
- ...
|
&& fi.isHidden()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 |
249 | returnexecuted 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
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 |
250 | | - |
251 | | - |
252 | if (!includeSystemTRUE | 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
- ...
|
&& (!(fi.isFile()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
- ...
|
|| fi.isDir()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
|
|| fi.isSymLink()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 |
253 | || (!fi.exists()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
- ...
|
&& fi.isSymLink()TRUE | evaluated 129 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
| FALSE | never evaluated |
))) | 0-37855 |
254 | returnexecuted 307 times by 5 tests: return false; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QItemModel
- tst_rcc
false;executed 307 times by 5 tests: return false; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QItemModel
- tst_rcc
| 307 |
255 | | - |
256 | | - |
257 | const bool skipDirs = !(filters & (QDir::Dirs | QDir::AllDirs)); | - |
258 | if (skipDirsTRUE | 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
- ...
|
&& fi.isDir()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 |
259 | returnexecuted 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
- ...
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 |
260 | | - |
261 | | - |
262 | const bool skipFiles = !(filters & QDir::Files); | - |
263 | if (skipFilesTRUE | 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
- ...
|
&& fi.isFile()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 |
264 | | - |
265 | returnexecuted 117 times by 5 tests: return false; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
false;executed 117 times by 5 tests: return false; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
| 117 |
266 | | - |
267 | | - |
268 | const bool filterPermissions = ((filters & QDir::PermissionMask) | - |
269 | && (TRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| FALSE | never evaluated |
filters & QDir::PermissionMask) != QDir::PermissionMaskTRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| FALSE | never evaluated |
); | 0-109 |
270 | const bool doWritable = !filterPermissionsTRUE | 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
|
|| (filters & QDir::Writable); | 109-47218 |
271 | const bool doExecutable = !filterPermissionsTRUE | 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
|
|| (filters & QDir::Executable); | 109-47218 |
272 | const bool doReadable = !filterPermissionsTRUE | 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
|
|| (filters & QDir::Readable); | 109-47218 |
273 | if (filterPermissionsTRUE | 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 |
274 | && ((doReadableTRUE | evaluated 102 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
| FALSE | evaluated 7 times by 1 test |
&& !fi.isReadable()TRUE | never evaluated | FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
) | 0-102 |
275 | || (doWritableTRUE | evaluated 7 times by 1 test | FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
&& !fi.isWritable()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 5 times by 1 test |
) | 2-102 |
276 | || (doExecutableTRUE | never evaluated | FALSE | evaluated 107 times by 3 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
|
&& !fi.isExecutable()TRUE | never evaluated | FALSE | never evaluated |
))) { | 0-107 |
277 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
278 | } | - |
279 | | - |
280 | returnexecuted 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
- ...
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 |
281 | } | - |
282 | QDirIterator::QDirIterator(const QDir &dir, IteratorFlags flags) | - |
283 | { | - |
284 | const QDirPrivate *other = dir.d_ptr.constData(); | - |
285 | d.reset(new QDirIteratorPrivate(other->dirEntry, other->nameFilters, other->filters, flags, !other->fileEngine.isNull())); | - |
286 | }executed 552 times by 10 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_qmakelib
| 552 |
287 | QDirIterator::QDirIterator(const QString &path, QDir::Filters filters, IteratorFlags flags) | - |
288 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), QStringList(), filters, flags)) | - |
289 | { | - |
290 | }executed 3160 times by 61 tests: end of block Executed 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 |
291 | QDirIterator::QDirIterator(const QString &path, IteratorFlags flags) | - |
292 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), QStringList(), QDir::NoFilter, flags)) | - |
293 | { | - |
294 | }executed 5 times by 3 tests: end of block Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_QUrl
| 5 |
295 | QDirIterator::QDirIterator(const QString &path, const QStringList &nameFilters, | - |
296 | QDir::Filters filters, IteratorFlags flags) | - |
297 | : d(new QDirIteratorPrivate(QFileSystemEntry(path), nameFilters, filters, flags)) | - |
298 | { | - |
299 | }executed 1438 times by 134 tests: end of block 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 1438 |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | QDirIterator::~QDirIterator() | - |
305 | { | - |
306 | } | - |
307 | QString QDirIterator::next() | - |
308 | { | - |
309 | d->advance(); | - |
310 | returnexecuted 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
- ...
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 |
311 | } | - |
312 | | - |
313 | | - |
314 | | - |
315 | | - |
316 | | - |
317 | | - |
318 | | - |
319 | bool QDirIterator::hasNext() const | - |
320 | { | - |
321 | if (d->engineTRUE | 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 |
322 | returnexecuted 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
!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 |
323 | else | - |
324 | | - |
325 | returnexecuted 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
- ...
!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 |
326 | | - |
327 | | - |
328 | | - |
329 | } | - |
330 | QString QDirIterator::fileName() const | - |
331 | { | - |
332 | returnexecuted 64 times by 2 tests: return d->currentFileInfo.fileName(); d->currentFileInfo.fileName();executed 64 times by 2 tests: return d->currentFileInfo.fileName(); | 64 |
333 | } | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | QString QDirIterator::filePath() const | - |
341 | { | - |
342 | returnexecuted 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
- ...
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 |
343 | } | - |
344 | | - |
345 | | - |
346 | | - |
347 | | - |
348 | | - |
349 | | - |
350 | QFileInfo QDirIterator::fileInfo() const | - |
351 | { | - |
352 | returnexecuted 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
- ...
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 |
353 | } | - |
354 | | - |
355 | | - |
356 | | - |
357 | | - |
358 | QString QDirIterator::path() const | - |
359 | { | - |
360 | returnexecuted 44 times by 1 test: return d->dirEntry.filePath(); d->dirEntry.filePath();executed 44 times by 1 test: return d->dirEntry.filePath(); | 44 |
361 | } | - |
362 | | - |
363 | | - |
| | |