Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | QFileSystemEntry QFileSystemEngine::getLinkTarget(const QFileSystemEntry &link, QFileSystemMetaData &data) | - |
11 | { | - |
12 | char s[4096 +1]; | - |
13 | int len = readlink(link.nativeFilePath().constData(), s, 4096); | - |
14 | | - |
15 | if (len > 0TRUE | evaluated 404 times by 10 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 1 time by 1 test |
) { | 1-404 |
16 | QString ret; | - |
17 | if (!data.hasFlags(QFileSystemMetaData::DirectoryType)TRUE | evaluated 399 times by 8 testsEvaluated by:- tst_QApplication
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 5 times by 4 testsEvaluated by:- tst_QDirModel
- tst_QFile
- tst_QItemModel
- tst_QSaveFile
|
) | 5-399 |
18 | fillMetaData(link, data, QFileSystemMetaData::DirectoryType);executed 399 times by 8 tests: fillMetaData(link, data, QFileSystemMetaData::DirectoryType); Executed by:- tst_QApplication
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 399 |
19 | if (data.isDirectory()TRUE | evaluated 2 times by 2 tests | FALSE | evaluated 402 times by 9 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
&& s[0] != '/'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-402 |
20 | QDir parent(link.filePath()); | - |
21 | parent.cdUp(); | - |
22 | ret = parent.path(); | - |
23 | if (!ret.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
&& !ret.endsWith(QLatin1Char('/'))TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
24 | ret += QLatin1Char('/');executed 1 time by 1 test: ret += QLatin1Char('/'); | 1 |
25 | }executed 1 time by 1 test: end of block | 1 |
26 | s[len] = '\0'; | - |
27 | ret += QFile::decodeName(QByteArray(s)); | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | if (!ret.startsWith(QLatin1Char('/'))TRUE | evaluated 5 times by 2 tests | FALSE | evaluated 399 times by 10 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 5-399 |
33 | if (link.filePath().startsWith(QLatin1Char('/'))TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 2 tests |
) { | 1-4 |
34 | ret.prepend(link.filePath().left(link.filePath().lastIndexOf(QLatin1Char('/'))) | - |
35 | + QLatin1Char('/')); | - |
36 | }executed 1 time by 1 test: end of block else { | 1 |
37 | ret.prepend(QDir::currentPath() + QLatin1Char('/')); | - |
38 | }executed 4 times by 2 tests: end of block | 4 |
39 | } | - |
40 | ret = QDir::cleanPath(ret); | - |
41 | if (ret.size() > 1TRUE | evaluated 404 times by 10 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& ret.endsWith(QLatin1Char('/'))TRUE | never evaluated | FALSE | evaluated 404 times by 10 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-404 |
42 | ret.chop(1); never executed: ret.chop(1); | 0 |
43 | returnexecuted 404 times by 10 tests: return QFileSystemEntry(ret); Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
QFileSystemEntry(ret);executed 404 times by 10 tests: return QFileSystemEntry(ret); Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 404 |
44 | } | - |
45 | returnexecuted 1 time by 1 test: return QFileSystemEntry(); QFileSystemEntry();executed 1 time by 1 test: return QFileSystemEntry(); | 1 |
46 | } | - |
47 | | - |
48 | | - |
49 | QFileSystemEntry QFileSystemEngine::canonicalName(const QFileSystemEntry &entry, QFileSystemMetaData &data) | - |
50 | { | - |
51 | if (entry.isEmpty()TRUE | never evaluated | FALSE | evaluated 25558 times by 145 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
|
|| entry.isRoot()TRUE | evaluated 34 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QStorageInfo
| FALSE | evaluated 25524 times by 145 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
|
) | 0-25558 |
52 | returnexecuted 34 times by 5 tests: return entry; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QStorageInfo
entry;executed 34 times by 5 tests: return entry; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QStorageInfo
| 34 |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | char *ret = 0; | - |
60 | ret = realpath(entry.nativeFilePath().constData(), (char*)0); | - |
61 | if (retTRUE | evaluated 24877 times by 145 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
| FALSE | evaluated 647 times by 8 testsEvaluated by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
|
) { | 647-24877 |
62 | data.knownFlagsMask |= QFileSystemMetaData::ExistsAttribute; | - |
63 | data.entryFlags |= QFileSystemMetaData::ExistsAttribute; | - |
64 | QString canonicalPath = QDir::cleanPath(QFile::decodeName(ret)); | - |
65 | free(ret); | - |
66 | returnexecuted 24877 times by 145 tests: return QFileSystemEntry(canonicalPath); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
QFileSystemEntry(canonicalPath);executed 24877 times by 145 tests: return QFileSystemEntry(canonicalPath); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
| 24877 |
67 | } else if ((*TRUE | evaluated 647 times by 8 testsEvaluated by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| FALSE | never evaluated |
__errno_location ()) == 2TRUE | evaluated 647 times by 8 testsEvaluated by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| FALSE | never evaluated |
) { | 0-647 |
68 | data.knownFlagsMask |= QFileSystemMetaData::ExistsAttribute; | - |
69 | data.entryFlags &= ~(QFileSystemMetaData::ExistsAttribute); | - |
70 | returnexecuted 647 times by 8 tests: return QFileSystemEntry(); Executed by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
QFileSystemEntry();executed 647 times by 8 tests: return QFileSystemEntry(); Executed by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| 647 |
71 | } | - |
72 | return never executed: return entry; entry;never executed: return entry; | 0 |
73 | | - |
74 | } | - |
75 | | - |
76 | | - |
77 | QFileSystemEntry QFileSystemEngine::absoluteName(const QFileSystemEntry &entry) | - |
78 | { | - |
79 | if (entry.isAbsolute()TRUE | evaluated 13123 times by 74 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 688 times by 27 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- ...
|
&& entry.isClean()TRUE | evaluated 9945 times by 74 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 3178 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
) | 688-13123 |
80 | returnexecuted 9945 times by 74 tests: return entry; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
entry;executed 9945 times by 74 tests: return entry; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 9945 |
81 | | - |
82 | QByteArray orig = entry.nativeFilePath(); | - |
83 | QByteArray result; | - |
84 | if (orig.isEmpty()TRUE | never evaluated | FALSE | evaluated 3866 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
|
|| !orig.startsWith('/')TRUE | evaluated 688 times by 27 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- ...
| FALSE | evaluated 3178 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
) { | 0-3866 |
85 | QFileSystemEntry cur(currentPath()); | - |
86 | result = cur.nativeFilePath(); | - |
87 | }executed 688 times by 27 tests: end of block Executed by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- ...
| 688 |
88 | if (!orig.isEmpty()TRUE | evaluated 3866 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
| FALSE | never evaluated |
&& !(orig.length() == 1TRUE | evaluated 259 times by 10 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 3607 times by 47 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
|
&& orig[0] == '.'TRUE | evaluated 258 times by 10 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 1 time by 1 test |
)) { | 0-3866 |
89 | if (!result.isEmpty()TRUE | evaluated 430 times by 23 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_qimagereader - unknown status
| FALSE | evaluated 3178 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
&& !result.endsWith('/')TRUE | evaluated 430 times by 23 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_qimagereader - unknown status
| FALSE | never evaluated |
) | 0-3178 |
90 | result.append('/');executed 430 times by 23 tests: result.append('/'); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_qimagereader - unknown status
| 430 |
91 | result.append(orig); | - |
92 | }executed 3608 times by 47 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 3608 |
93 | | - |
94 | if (result.length() == 1TRUE | never evaluated | FALSE | evaluated 3866 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
|
&& result[0] == '/'TRUE | never evaluated | FALSE | never evaluated |
) | 0-3866 |
95 | return never executed: return QFileSystemEntry(result, QFileSystemEntry::FromNativePath()); QFileSystemEntry(result, QFileSystemEntry::FromNativePath());never executed: return QFileSystemEntry(result, QFileSystemEntry::FromNativePath()); | 0 |
96 | const bool isDir = result.endsWith('/'); | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | QFileSystemEntry resultingEntry(result, QFileSystemEntry::FromNativePath()); | - |
103 | QString stringVersion = QDir::cleanPath(resultingEntry.filePath()); | - |
104 | if (isDirTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QFileInfo
- tst_QFiledialog
| FALSE | evaluated 3863 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
|
) | 3-3863 |
105 | stringVersion.append(QLatin1Char('/'));executed 3 times by 2 tests: stringVersion.append(QLatin1Char('/')); Executed by:- tst_QFileInfo
- tst_QFiledialog
| 3 |
106 | returnexecuted 3866 times by 49 tests: return QFileSystemEntry(stringVersion); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
QFileSystemEntry(stringVersion);executed 3866 times by 49 tests: return QFileSystemEntry(stringVersion); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
| 3866 |
107 | } | - |
108 | | - |
109 | | - |
110 | QByteArray QFileSystemEngine::id(const QFileSystemEntry &entry) | - |
111 | { | - |
112 | struct stat statResult; | - |
113 | if (stat(entry.nativeFilePath().constData(), &statResult)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
114 | qErrnoWarning("stat() failed for '%s'", entry.nativeFilePath().constData()); | - |
115 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
116 | } | - |
117 | QByteArray result = QByteArray::number(quint64(statResult.st_dev), 16); | - |
118 | result += ':'; | - |
119 | result += QByteArray::number(quint64(statResult.st_ino)); | - |
120 | return never executed: return result; result;never executed: return result; | 0 |
121 | } | - |
122 | | - |
123 | | - |
124 | QString QFileSystemEngine::resolveUserName(uint userId) | - |
125 | { | - |
126 | | - |
127 | int size_max = sysconf(_SC_GETPW_R_SIZE_MAX); | - |
128 | if (size_max == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
129 | size_max = 1024; never executed: size_max = 1024; | 0 |
130 | QVarLengthArray<char, 1024> buf(size_max); | - |
131 | | - |
132 | | - |
133 | | - |
134 | struct passwd *pw = 0; | - |
135 | | - |
136 | struct passwd entry; | - |
137 | getpwuid_r(userId, &entry, buf.data(), buf.size(), &pw); | - |
138 | | - |
139 | | - |
140 | | - |
141 | if (pwTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
142 | returnexecuted 1 time by 1 test: return QFile::decodeName(QByteArray(pw->pw_name)); QFile::decodeName(QByteArray(pw->pw_name));executed 1 time by 1 test: return QFile::decodeName(QByteArray(pw->pw_name)); | 1 |
143 | | - |
144 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
145 | } | - |
146 | | - |
147 | | - |
148 | QString QFileSystemEngine::resolveGroupName(uint groupId) | - |
149 | { | - |
150 | | - |
151 | int size_max = sysconf(_SC_GETPW_R_SIZE_MAX); | - |
152 | if (size_max == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
153 | size_max = 1024; never executed: size_max = 1024; | 0 |
154 | QVarLengthArray<char, 1024> buf(size_max); | - |
155 | | - |
156 | | - |
157 | | - |
158 | struct group *gr = 0; | - |
159 | | - |
160 | size_max = sysconf(_SC_GETGR_R_SIZE_MAX); | - |
161 | if (size_max == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
162 | size_max = 1024; never executed: size_max = 1024; | 0 |
163 | buf.resize(size_max); | - |
164 | struct group entry; | - |
165 | | - |
166 | | - |
167 | for (unsigned size = size_max; size < 256000TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
; size += size) | 0-1 |
168 | { | - |
169 | buf.resize(size); | - |
170 | | - |
171 | if (!getgrgid_r(groupId, &entry, buf.data(), buf.size(), &gr)TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
172 | || (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) != 34TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
173 | break;executed 1 time by 1 test: break; | 1 |
174 | } never executed: end of block | 0 |
175 | | - |
176 | | - |
177 | | - |
178 | if (grTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
179 | returnexecuted 1 time by 1 test: return QFile::decodeName(QByteArray(gr->gr_name)); QFile::decodeName(QByteArray(gr->gr_name));executed 1 time by 1 test: return QFile::decodeName(QByteArray(gr->gr_name)); | 1 |
180 | | - |
181 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
182 | } | - |
183 | bool QFileSystemEngine::fillMetaData(const QFileSystemEntry &entry, QFileSystemMetaData &data, | - |
184 | QFileSystemMetaData::MetaDataFlags what) | - |
185 | { | - |
186 | if (what & QFileSystemMetaData::PosixStatFlagsTRUE | evaluated 61593 times by 129 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 70135 times by 231 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) | 61593-70135 |
187 | what |= QFileSystemMetaData::PosixStatFlags;executed 61593 times by 129 tests: what |= QFileSystemMetaData::PosixStatFlags; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- ...
| 61593 |
188 | | - |
189 | if (what & QFileSystemMetaData::ExistsAttributeTRUE | evaluated 29606 times by 252 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 102122 times by 170 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
) { | 29606-102122 |
190 | | - |
191 | what |= QFileSystemMetaData::PosixStatFlags; | - |
192 | }executed 29606 times by 252 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 29606 |
193 | | - |
194 | data.entryFlags &= ~what; | - |
195 | | - |
196 | const char * nativeFilePath; | - |
197 | int nativeFilePathLength; | - |
198 | { | - |
199 | const QByteArray &path = entry.nativeFilePath(); | - |
200 | nativeFilePath = path.constData(); | - |
201 | nativeFilePathLength = path.size(); | - |
202 | (void)nativeFilePathLength;; | - |
203 | } | - |
204 | | - |
205 | bool entryExists = true; | - |
206 | | - |
207 | struct stat64 statBuffer; | - |
208 | bool statBufferValid = false; | - |
209 | if (what & QFileSystemMetaData::LinkTypeTRUE | evaluated 7469 times by 84 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| FALSE | evaluated 124259 times by 259 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) { | 7469-124259 |
210 | if (::TRUE | evaluated 6097 times by 79 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| FALSE | evaluated 1372 times by 21 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QIcon
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
|
lstat64(nativeFilePath, &statBuffer) == 0TRUE | evaluated 6097 times by 79 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| FALSE | evaluated 1372 times by 21 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QIcon
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
|
) { | 1372-6097 |
211 | if (((((TRUE | evaluated 1358 times by 26 testsEvaluated by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSaveFile
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- ...
| FALSE | evaluated 4739 times by 56 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- ...
|
statBuffer.st_mode)) & 0170000) == (0120000))TRUE | evaluated 1358 times by 26 testsEvaluated by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSaveFile
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- ...
| FALSE | evaluated 4739 times by 56 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- ...
|
) { | 1358-4739 |
212 | data.entryFlags |= QFileSystemMetaData::LinkType; | - |
213 | }executed 1358 times by 26 tests: end of block Executed by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSaveFile
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- ...
else { | 1358 |
214 | statBufferValid = true; | - |
215 | data.entryFlags &= ~QFileSystemMetaData::PosixStatFlags; | - |
216 | }executed 4739 times by 56 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- ...
| 4739 |
217 | } else { | - |
218 | entryExists = false; | - |
219 | }executed 1372 times by 21 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QIcon
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
| 1372 |
220 | | - |
221 | data.knownFlagsMask |= QFileSystemMetaData::LinkType; | - |
222 | }executed 7469 times by 84 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| 7469 |
223 | | - |
224 | if (statBufferValidTRUE | evaluated 4739 times by 56 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- ...
| FALSE | evaluated 126989 times by 259 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
|| (what & QFileSystemMetaData::PosixStatFlags)) { | 4739-126989 |
225 | if (entryExistsTRUE | evaluated 89580 times by 259 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 1248 times by 20 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QIcon
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
|
&& !statBufferValidTRUE | evaluated 84841 times by 259 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 4739 times by 56 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- ...
|
) | 1248-89580 |
226 | statBufferValid = (::stat64(nativeFilePath, &statBuffer) == 0);executed 84841 times by 259 tests: statBufferValid = (::stat64(nativeFilePath, &statBuffer) == 0); Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 84841 |
227 | | - |
228 | if (statBufferValidTRUE | evaluated 63905 times by 225 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| FALSE | evaluated 26923 times by 201 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
|
) | 26923-63905 |
229 | data.fillFromStatBuf(statBuffer);executed 63905 times by 225 tests: data.fillFromStatBuf(statBuffer); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 63905 |
230 | else { | - |
231 | entryExists = false; | - |
232 | data.creationTime_ = 0; | - |
233 | data.modificationTime_ = 0; | - |
234 | data.accessTime_ = 0; | - |
235 | data.size_ = 0; | - |
236 | data.userId_ = (uint) -2; | - |
237 | data.groupId_ = (uint) -2; | - |
238 | }executed 26923 times by 201 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
| 26923 |
239 | | - |
240 | | - |
241 | data.knownFlagsMask |= QFileSystemMetaData::PosixStatFlags | - |
242 | | QFileSystemMetaData::ExistsAttribute; | - |
243 | }executed 90828 times by 259 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 90828 |
244 | if (what & QFileSystemMetaData::UserPermissionsTRUE | evaluated 5819 times by 26 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- ...
| FALSE | evaluated 125909 times by 259 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) { | 5819-125909 |
245 | | - |
246 | | - |
247 | if (entryExistsTRUE | evaluated 5819 times by 26 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- ...
| FALSE | never evaluated |
) { | 0-5819 |
248 | if (what & QFileSystemMetaData::UserReadPermissionTRUE | evaluated 5333 times by 23 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 486 times by 14 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_languageChange
- tst_qstandardpaths
|
) { | 486-5333 |
249 | if (::TRUE | evaluated 5267 times by 23 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 66 times by 8 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QTranslator
- tst_languageChange
|
access(nativeFilePath, 4) == 0TRUE | evaluated 5267 times by 23 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 66 times by 8 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QTranslator
- tst_languageChange
|
) | 66-5267 |
250 | data.entryFlags |= QFileSystemMetaData::UserReadPermission;executed 5267 times by 23 tests: data.entryFlags |= QFileSystemMetaData::UserReadPermission; Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5267 |
251 | }executed 5333 times by 23 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5333 |
252 | if (what & QFileSystemMetaData::UserWritePermissionTRUE | evaluated 5671 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 148 times by 9 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QSslCertificate
- tst_QSslKey
- tst_QThreadStorage
- tst_QTranslator
- tst_qstandardpaths
|
) { | 148-5671 |
253 | if (::TRUE | evaluated 4708 times by 18 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 963 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QTemporaryDir
- tst_languageChange
|
access(nativeFilePath, 2) == 0TRUE | evaluated 4708 times by 18 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 963 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QTemporaryDir
- tst_languageChange
|
) | 963-4708 |
254 | data.entryFlags |= QFileSystemMetaData::UserWritePermission;executed 4708 times by 18 tests: data.entryFlags |= QFileSystemMetaData::UserWritePermission; Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 4708 |
255 | }executed 5671 times by 21 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5671 |
256 | if (what & QFileSystemMetaData::UserExecutePermissionTRUE | evaluated 5223 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 596 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTranslator
- tst_languageChange
|
) { | 596-5223 |
257 | if (::TRUE | evaluated 3759 times by 14 testsEvaluated by:- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_languageChange
- tst_qstandardpaths
| FALSE | evaluated 1464 times by 17 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
|
access(nativeFilePath, 1) == 0TRUE | evaluated 3759 times by 14 testsEvaluated by:- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_languageChange
- tst_qstandardpaths
| FALSE | evaluated 1464 times by 17 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
|
) | 1464-3759 |
258 | data.entryFlags |= QFileSystemMetaData::UserExecutePermission;executed 3759 times by 14 tests: data.entryFlags |= QFileSystemMetaData::UserExecutePermission; Executed by:- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_languageChange
- tst_qstandardpaths
| 3759 |
259 | }executed 5223 times by 21 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5223 |
260 | }executed 5819 times by 26 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- ...
| 5819 |
261 | data.knownFlagsMask |= (what & QFileSystemMetaData::UserPermissions); | - |
262 | }executed 5819 times by 26 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- ...
| 5819 |
263 | | - |
264 | if (what & QFileSystemMetaData::HiddenAttribute | - |
265 | && !data.isHidden()TRUE | evaluated 41197 times by 147 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| FALSE | never evaluated |
) { | 0-41197 |
266 | QString fileName = entry.fileName(); | - |
267 | if ((fileName.size() > 0TRUE | evaluated 41195 times by 147 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| FALSE | evaluated 2 times by 1 test |
&& fileName.at(0) == QLatin1Char('.')TRUE | evaluated 1235 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSslCertificate
- tst_QTemporaryFile
- tst_QUrl
- tst_languageChange
| FALSE | evaluated 39960 times by 147 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
|
) | 2-41195 |
268 | | - |
269 | | - |
270 | | - |
271 | ) | - |
272 | data.entryFlags |= QFileSystemMetaData::HiddenAttribute;executed 1235 times by 15 tests: data.entryFlags |= QFileSystemMetaData::HiddenAttribute; Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSslCertificate
- tst_QTemporaryFile
- tst_QUrl
- tst_languageChange
| 1235 |
273 | data.knownFlagsMask |= QFileSystemMetaData::HiddenAttribute; | - |
274 | }executed 41197 times by 147 tests: end of block Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| 41197 |
275 | if (!entryExistsTRUE | evaluated 27047 times by 201 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
| FALSE | evaluated 104681 times by 225 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
) { | 27047-104681 |
276 | data.clearFlags(what); | - |
277 | returnexecuted 27047 times by 201 tests: return false; Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
false;executed 27047 times by 201 tests: return false; Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
| 27047 |
278 | } | - |
279 | returnexecuted 104681 times by 225 tests: return data.hasFlags(what); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
data.hasFlags(what);executed 104681 times by 225 tests: return data.hasFlags(what); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 104681 |
280 | } | - |
281 | | - |
282 | | - |
283 | bool QFileSystemEngine::createDirectory(const QFileSystemEntry &entry, bool createParents) | - |
284 | { | - |
285 | QString dirName = entry.filePath(); | - |
286 | if (createParentsTRUE | evaluated 398 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 1425 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
|
) { | 398-1425 |
287 | dirName = QDir::cleanPath(dirName); | - |
288 | for (int oldslash = -1, slash=0; slash != -1TRUE | evaluated 3059 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | never evaluated |
; oldslash = slash) { | 0-3059 |
289 | slash = dirName.indexOf(QDir::separator(), oldslash+1); | - |
290 | if (slash == -1TRUE | evaluated 794 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 2265 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
|
) { | 794-2265 |
291 | if (oldslash == dirName.length()TRUE | evaluated 396 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 398 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
|
) | 396-398 |
292 | break;executed 396 times by 13 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 396 |
293 | slash = dirName.length(); | - |
294 | }executed 398 times by 13 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 398 |
295 | if (slashTRUE | evaluated 2266 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 397 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
|
) { | 397-2266 |
296 | const QByteArray chunk = QFile::encodeName(dirName.left(slash)); | - |
297 | if (::TRUE | evaluated 1769 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 497 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
|
mkdir(chunk.constData(), 0777) != 0TRUE | evaluated 1769 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 497 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
|
) { | 497-1769 |
298 | if ((*TRUE | evaluated 1769 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | never evaluated |
__errno_location ()) == 17TRUE | evaluated 1769 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | never evaluated |
| 0-1769 |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | ) { | - |
306 | struct stat64 st; | - |
307 | if (::TRUE | evaluated 1769 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | never evaluated |
stat64(chunk.constData(), &st) == 0TRUE | evaluated 1769 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | never evaluated |
&& (TRUE | evaluated 1767 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 2 times by 2 tests |
st.st_mode & 0170000) == 0040000TRUE | evaluated 1767 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 2 times by 2 tests |
) | 0-1769 |
308 | continue;executed 1767 times by 13 tests: continue; Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 1767 |
309 | }executed 2 times by 2 tests: end of block | 2 |
310 | returnexecuted 2 times by 2 tests: return false; false;executed 2 times by 2 tests: return false; | 2 |
311 | } | - |
312 | }executed 497 times by 13 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 497 |
313 | }executed 894 times by 13 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 894 |
314 | returnexecuted 396 times by 13 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
true;executed 396 times by 13 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 396 |
315 | } | - |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | returnexecuted 1425 times by 18 tests: return (::mkdir(QFile::encodeName(dirName).constData(), 0777) == 0); Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
(::mkdir(QFile::encodeName(dirName).constData(), 0777) == 0);executed 1425 times by 18 tests: return (::mkdir(QFile::encodeName(dirName).constData(), 0777) == 0); Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
| 1425 |
321 | } | - |
322 | | - |
323 | | - |
324 | bool QFileSystemEngine::removeDirectory(const QFileSystemEntry &entry, bool removeEmptyParents) | - |
325 | { | - |
326 | if (removeEmptyParentsTRUE | evaluated 79 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 2734 times by 55 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_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QXmlStream
- ...
|
) { | 79-2734 |
327 | QString dirName = QDir::cleanPath(entry.filePath()); | - |
328 | for (int oldslash = 0, slash=dirName.length(); slash > 0TRUE | evaluated 182 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | never evaluated |
; oldslash = slash) { | 0-182 |
329 | const QByteArray chunk = QFile::encodeName(dirName.left(slash)); | - |
330 | struct stat64 st; | - |
331 | if (::TRUE | evaluated 179 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 3 times by 1 test |
stat64(chunk.constData(), &st) != -1TRUE | evaluated 179 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 3 times by 1 test |
) { | 3-179 |
332 | if ((TRUE | never evaluated | FALSE | evaluated 179 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
st.st_mode & 0170000) != 0040000TRUE | never evaluated | FALSE | evaluated 179 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
) | 0-179 |
333 | return never executed: return false; false;never executed: return false; | 0 |
334 | if (::TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 103 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
rmdir(chunk.constData()) != 0TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 103 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
) | 76-103 |
335 | returnexecuted 76 times by 2 tests: return oldslash != 0; Executed by:- tst_QDir
- tst_selftests - unknown status
oldslash != 0;executed 76 times by 2 tests: return oldslash != 0; Executed by:- tst_QDir
- tst_selftests - unknown status
| 76 |
336 | }executed 103 times by 2 tests: end of block Executed by:- tst_QDir
- tst_selftests - unknown status
else { | 103 |
337 | returnexecuted 3 times by 1 test: return false; false;executed 3 times by 1 test: return false; | 3 |
338 | } | - |
339 | slash = dirName.lastIndexOf(QDir::separator(), oldslash-1); | - |
340 | }executed 103 times by 2 tests: end of block Executed by:- tst_QDir
- tst_selftests - unknown status
| 103 |
341 | return never executed: return true; true;never executed: return true; | 0 |
342 | } | - |
343 | returnexecuted 2734 times by 55 tests: return rmdir(QFile::encodeName(entry.filePath()).constData()) == 0; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- 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_QTemporaryFile
- tst_QXmlStream
- ...
rmdir(QFile::encodeName(entry.filePath()).constData()) == 0;executed 2734 times by 55 tests: return rmdir(QFile::encodeName(entry.filePath()).constData()) == 0; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- 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_QTemporaryFile
- tst_QXmlStream
- ...
| 2734 |
344 | } | - |
345 | | - |
346 | | - |
347 | bool QFileSystemEngine::createLink(const QFileSystemEntry &source, const QFileSystemEntry &target, QSystemError &error) | - |
348 | { | - |
349 | if (::TRUE | evaluated 161 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
| FALSE | never evaluated |
symlink(source.nativeFilePath().constData(), target.nativeFilePath().constData()) == 0TRUE | evaluated 161 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
| FALSE | never evaluated |
) | 0-161 |
350 | returnexecuted 161 times by 8 tests: return true; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
true;executed 161 times by 8 tests: return true; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
| 161 |
351 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | - |
352 | return never executed: return false; false;never executed: return false; | 0 |
353 | } | - |
354 | | - |
355 | | - |
356 | bool QFileSystemEngine::copyFile(const QFileSystemEntry &source, const QFileSystemEntry &target, QSystemError &error) | - |
357 | { | - |
358 | (void)source;; | - |
359 | (void)target;; | - |
360 | error = QSystemError(38, QSystemError::StandardLibraryError); | - |
361 | returnexecuted 100 times by 2 tests: return false; Executed by:- tst_QFile
- tst_QImageReader
false;executed 100 times by 2 tests: return false; Executed by:- tst_QFile
- tst_QImageReader
| 100 |
362 | } | - |
363 | | - |
364 | | - |
365 | bool QFileSystemEngine::renameFile(const QFileSystemEntry &source, const QFileSystemEntry &target, QSystemError &error) | - |
366 | { | - |
367 | if (::TRUE | evaluated 820 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 4 times by 4 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
|
rename(source.nativeFilePath().constData(), target.nativeFilePath().constData()) == 0TRUE | evaluated 820 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 4 times by 4 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
|
) | 4-820 |
368 | returnexecuted 820 times by 20 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
true;executed 820 times by 20 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| 820 |
369 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | - |
370 | returnexecuted 4 times by 4 tests: return false; Executed by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
false;executed 4 times by 4 tests: return false; Executed by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
| 4 |
371 | } | - |
372 | | - |
373 | | - |
374 | bool QFileSystemEngine::removeFile(const QFileSystemEntry &entry, QSystemError &error) | - |
375 | { | - |
376 | if (unlink(entry.nativeFilePath().constData()) == 0TRUE | evaluated 12669 times by 76 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- ...
| FALSE | evaluated 596 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedMemory
- tst_QTextStream
- tst_QXmlStream
- tst_qmake
- tst_qstandardpaths
- tst_selftests - unknown status
|
) | 596-12669 |
377 | returnexecuted 12669 times by 76 tests: return true; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- ...
true;executed 12669 times by 76 tests: return true; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- ...
| 12669 |
378 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | - |
379 | returnexecuted 596 times by 21 tests: return false; Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedMemory
- tst_QTextStream
- tst_QXmlStream
- tst_qmake
- tst_qstandardpaths
- tst_selftests - unknown status
false;executed 596 times by 21 tests: return false; Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedMemory
- tst_QTextStream
- tst_QXmlStream
- tst_qmake
- tst_qstandardpaths
- tst_selftests - unknown status
| 596 |
380 | | - |
381 | } | - |
382 | | - |
383 | | - |
384 | bool QFileSystemEngine::setPermissions(const QFileSystemEntry &entry, QFile::Permissions permissions, QSystemError &error, QFileSystemMetaData *data) | - |
385 | { | - |
386 | mode_t mode = 0; | - |
387 | if (permissions & (QFile::ReadOwner | QFile::ReadUser)TRUE | evaluated 1056 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 19 times by 7 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QLockFile
- tst_QNetworkReply
- tst_QSaveFile
|
) | 19-1056 |
388 | mode |= 0400;executed 1056 times by 20 tests: mode |= 0400; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1056 |
389 | if (permissions & (QFile::WriteOwner | QFile::WriteUser)TRUE | evaluated 965 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 110 times by 11 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QIcon
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QTemporaryDir
|
) | 110-965 |
390 | mode |= 0200;executed 965 times by 20 tests: mode |= 0200; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 965 |
391 | if (permissions & (QFile::ExeOwner | QFile::ExeUser)TRUE | evaluated 234 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QLockFile
- tst_QSaveFile
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 841 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
|
) | 234-841 |
392 | mode |= 0100;executed 234 times by 6 tests: mode |= 0100; Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QLockFile
- tst_QSaveFile
- tst_qmakelib
- tst_qstandardpaths
| 234 |
393 | if (permissions & QFile::ReadGroupTRUE | evaluated 761 times by 15 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 314 times by 10 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QLockFile
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_qstandardpaths
|
) | 314-761 |
394 | mode |= (0400 >> 3);executed 761 times by 15 tests: mode |= (0400 >> 3); Executed by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| 761 |
395 | if (permissions & QFile::WriteGroupTRUE | never evaluated | FALSE | evaluated 1075 times by 22 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) | 0-1075 |
396 | mode |= (0200 >> 3); never executed: mode |= (0200 >> 3); | 0 |
397 | if (permissions & QFile::ExeGroupTRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1073 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qstandardpaths
|
) | 2-1073 |
398 | mode |= (0100 >> 3);executed 2 times by 2 tests: mode |= (0100 >> 3); Executed by:- tst_qmakelib
- tst_qstandardpaths
| 2 |
399 | if (permissions & QFile::ReadOtherTRUE | evaluated 762 times by 15 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 313 times by 11 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QLockFile
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_qstandardpaths
|
) | 313-762 |
400 | mode |= ((0400 >> 3) >> 3);executed 762 times by 15 tests: mode |= ((0400 >> 3) >> 3); Executed by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| 762 |
401 | if (permissions & QFile::WriteOtherTRUE | evaluated 218 times by 2 testsEvaluated by:- tst_QFile
- tst_QFileSystemModel
| FALSE | evaluated 857 times by 22 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) | 218-857 |
402 | mode |= ((0200 >> 3) >> 3);executed 218 times by 2 tests: mode |= ((0200 >> 3) >> 3); Executed by:- tst_QFile
- tst_QFileSystemModel
| 218 |
403 | if (permissions & QFile::ExeOtherTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_qmakelib
| FALSE | evaluated 1071 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qstandardpaths
|
) | 4-1071 |
404 | mode |= ((0100 >> 3) >> 3);executed 4 times by 2 tests: mode |= ((0100 >> 3) >> 3); Executed by:- tst_QFileSystemWatcher
- tst_qmakelib
| 4 |
405 | | - |
406 | bool success = ::chmod(entry.nativeFilePath().constData(), mode) == 0; | - |
407 | if (successTRUE | evaluated 1074 times by 22 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1 time by 1 test |
&& dataTRUE | never evaluated | FALSE | evaluated 1074 times by 22 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) { | 0-1074 |
408 | data->entryFlags &= ~QFileSystemMetaData::Permissions; | - |
409 | data->entryFlags |= QFileSystemMetaData::MetaDataFlag(uint(permissions)); | - |
410 | data->knownFlagsMask |= QFileSystemMetaData::Permissions; | - |
411 | } never executed: end of block | 0 |
412 | if (!successTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1074 times by 22 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) | 1-1074 |
413 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError);executed 1 time by 1 test: error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | 1 |
414 | returnexecuted 1075 times by 22 tests: return success; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
success;executed 1075 times by 22 tests: return success; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1075 |
415 | } | - |
416 | | - |
417 | QString QFileSystemEngine::homePath() | - |
418 | { | - |
419 | QString home = QFile::decodeName(qgetenv("HOME")); | - |
420 | if (home.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4647 times by 68 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
|
) | 1-4647 |
421 | home = rootPath();executed 1 time by 1 test: home = rootPath(); | 1 |
422 | returnexecuted 4648 times by 68 tests: return QDir::cleanPath(home); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
QDir::cleanPath(home);executed 4648 times by 68 tests: return QDir::cleanPath(home); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
| 4648 |
423 | } | - |
424 | | - |
425 | QString QFileSystemEngine::rootPath() | - |
426 | { | - |
427 | returnexecuted 122 times by 16 tests: return QLatin1String("/"); Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_QStorageInfo
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
QLatin1String("/");executed 122 times by 16 tests: return QLatin1String("/"); Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_QStorageInfo
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| 122 |
428 | } | - |
429 | | - |
430 | QString QFileSystemEngine::tempPath() | - |
431 | { | - |
432 | | - |
433 | | - |
434 | | - |
435 | QString temp = QFile::decodeName(qgetenv("TMPDIR")); | - |
436 | if (temp.isEmpty()TRUE | evaluated 8783 times by 49 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- ...
| FALSE | never evaluated |
) { | 0-8783 |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | { | - |
443 | | - |
444 | temp = QLatin1String("/tmp"); | - |
445 | } | - |
446 | }executed 8783 times by 49 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- ...
| 8783 |
447 | returnexecuted 8783 times by 49 tests: return QDir::cleanPath(temp); Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- ...
QDir::cleanPath(temp);executed 8783 times by 49 tests: return QDir::cleanPath(temp); Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- ...
| 8783 |
448 | | - |
449 | } | - |
450 | | - |
451 | bool QFileSystemEngine::setCurrentPath(const QFileSystemEntry &path) | - |
452 | { | - |
453 | int r; | - |
454 | r = ::chdir(path.nativeFilePath().constData()); | - |
455 | returnexecuted 494 times by 25 tests: return r >= 0; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QApplication
- tst_QClipboard
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QIODevice
- tst_QLockFile
- tst_QObject
- tst_QProcess
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qlibrary - unknown status
- tst_qmake
- tst_qstandardpaths
- tst_rcc
r >= 0;executed 494 times by 25 tests: return r >= 0; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QApplication
- tst_QClipboard
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QIODevice
- tst_QLockFile
- tst_QObject
- tst_QProcess
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qlibrary - unknown status
- tst_qmake
- tst_qstandardpaths
- tst_rcc
| 494 |
456 | } | - |
457 | | - |
458 | QFileSystemEntry QFileSystemEngine::currentPath() | - |
459 | { | - |
460 | QFileSystemEntry result; | - |
461 | | - |
462 | | - |
463 | | - |
464 | | - |
465 | | - |
466 | | - |
467 | | - |
468 | char currentName[4096 +1]; | - |
469 | if (::TRUE | evaluated 2311 times by 56 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| FALSE | never evaluated |
getcwd(currentName, 4096)TRUE | evaluated 2311 times by 56 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| FALSE | never evaluated |
) { | 0-2311 |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | | - |
476 | | - |
477 | result = QFileSystemEntry(QByteArray(currentName), QFileSystemEntry::FromNativePath()); | - |
478 | }executed 2311 times by 56 tests: end of block Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| 2311 |
479 | | - |
480 | if (result.isEmpty()TRUE | never evaluated | FALSE | evaluated 2311 times by 56 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
|
) | 0-2311 |
481 | QMessageLogger(__FILE__, 757, __PRETTY_FUNCTION__).warning("QFileSystemEngine::currentPath: getcwd() failed"); never executed: QMessageLogger(__FILE__, 757, __PRETTY_FUNCTION__).warning("QFileSystemEngine::currentPath: getcwd() failed"); | 0 |
482 | | - |
483 | | - |
484 | returnexecuted 2311 times by 56 tests: return result; Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
result;executed 2311 times by 56 tests: return result; Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| 2311 |
485 | } | - |
486 | | - |
| | |