Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | class QStringSplitter | - |
11 | { | - |
12 | public: | - |
13 | QStringSplitter(const QString &s) | - |
14 | : m_string(s), m_data(m_string.constData()), m_len(s.length()), m_pos(0) | - |
15 | { | - |
16 | m_splitChar = QLatin1Char('/'); | - |
17 | }executed 69404 times by 113 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 69404 |
18 | | - |
19 | inline bool hasNext() { | - |
20 | while (m_pos < m_lenTRUE | evaluated 442270 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 37737 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
&& m_data[m_pos] == m_splitCharTRUE | evaluated 170558 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 271712 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 37737-442270 |
21 | ++executed 170558 times by 113 tests: ++m_pos; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
m_pos;executed 170558 times by 113 tests: ++m_pos; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 170558 |
22 | returnexecuted 309449 times by 113 tests: return m_pos < m_len; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
m_pos < m_len;executed 309449 times by 113 tests: return m_pos < m_len; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 309449 |
23 | } | - |
24 | | - |
25 | inline QStringRef next() { | - |
26 | int start = m_pos; | - |
27 | while (m_pos < m_lenTRUE | evaluated 1867672 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 23411 times by 87 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
&& m_data[m_pos] != m_splitCharTRUE | evaluated 1720525 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 147147 times by 107 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 23411-1867672 |
28 | ++executed 1720525 times by 113 tests: ++m_pos; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
m_pos;executed 1720525 times by 113 tests: ++m_pos; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 1720525 |
29 | returnexecuted 170558 times by 113 tests: return QStringRef(&m_string, start, m_pos - start); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
QStringRef(&m_string, start, m_pos - start);executed 170558 times by 113 tests: return QStringRef(&m_string, start, m_pos - start); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 170558 |
30 | } | - |
31 | | - |
32 | QString m_string; | - |
33 | const QChar *m_data; | - |
34 | QChar m_splitChar; | - |
35 | int m_len; | - |
36 | int m_pos; | - |
37 | }; | - |
38 | | - |
39 | | - |
40 | | - |
41 | class QResourceRoot | - |
42 | { | - |
43 | enum Flags | - |
44 | { | - |
45 | Compressed = 0x01, | - |
46 | Directory = 0x02 | - |
47 | }; | - |
48 | const uchar *tree, *names, *payloads; | - |
49 | inline int findOffset(int node) const { returnexecuted 751346 times by 113 tests: return node * 14; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
node * 14;executed 751346 times by 113 tests: return node * 14; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
} | 751346 |
50 | uint hash(int node) const; | - |
51 | QString name(int node) const; | - |
52 | short flags(int node) const; | - |
53 | public: | - |
54 | mutable QAtomicInt ref; | - |
55 | | - |
56 | inline QResourceRoot(): tree(0), names(0), payloads(0) {}executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
57 | inline QResourceRoot(const uchar *t, const uchar *n, const uchar *d) { setSource(t, n, d); }executed 2828 times by 196 tests: end of block Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- ...
| 2828 |
58 | virtual ~QResourceRoot() { } | - |
59 | int findNode(const QString &path, const QLocale &locale=QLocale()) const; | - |
60 | inline bool isContainer(int node) const { returnexecuted 19164 times by 85 tests: return flags(node) & Directory; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
flags(node) & Directory;executed 19164 times by 85 tests: return flags(node) & Directory; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
} | 19164 |
61 | inline bool isCompressed(int node) const { returnexecuted 18648 times by 85 tests: return flags(node) & Compressed; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
flags(node) & Compressed;executed 18648 times by 85 tests: return flags(node) & Compressed; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
} | 18648 |
62 | const uchar *data(int node, qint64 *size) const; | - |
63 | QStringList children(int node) const; | - |
64 | virtual QString mappingRoot() const { returnexecuted 117967 times by 113 tests: return QString(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
QString();executed 117967 times by 113 tests: return QString(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
} | 117967 |
65 | bool mappingRootSubdir(const QString &path, QString *match=0) const; | - |
66 | inline bool operator==(const QResourceRoot &other) const | - |
67 | { returnexecuted 1412 times by 185 tests: return tree == other.tree && names == other.names && payloads == other.payloads; Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- ...
tree == other.tree && names == other.names && payloads == other.payloads;executed 1412 times by 185 tests: return tree == other.tree && names == other.names && payloads == other.payloads; Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- ...
} | 1412 |
68 | inline bool operator!=(const QResourceRoot &other) const | - |
69 | { return never executed: return !operator==(other); !operator==(other);never executed: return !operator==(other); } | 0 |
70 | enum ResourceRootType { Resource_Builtin, Resource_File, Resource_Buffer }; | - |
71 | virtual ResourceRootType type() const { returnexecuted 20 times by 2 tests: return Resource_Builtin; Executed by:- tst_QResourceEngine
- tst_rcc
Resource_Builtin;executed 20 times by 2 tests: return Resource_Builtin; Executed by:- tst_QResourceEngine
- tst_rcc
} | 20 |
72 | | - |
73 | protected: | - |
74 | inline void setSource(const uchar *t, const uchar *n, const uchar *d) { | - |
75 | tree = t; | - |
76 | names = n; | - |
77 | payloads = d; | - |
78 | }executed 2844 times by 198 tests: end of block Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- ...
| 2844 |
79 | }; | - |
80 | | - |
81 | static QString cleanPath(const QString &_path) | - |
82 | { | - |
83 | QString path = QDir::cleanPath(_path); | - |
84 | | - |
85 | | - |
86 | if (path.startsWith(QLatin1String("//"))TRUE | never evaluated | FALSE | evaluated 24621 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 0-24621 |
87 | path.remove(0, 1); never executed: path.remove(0, 1); | 0 |
88 | returnexecuted 24621 times by 113 tests: return path; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
path;executed 24621 times by 113 tests: return path; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 24621 |
89 | } | - |
90 | | - |
91 | template<> class QTypeInfo<QResourceRoot > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QResourceRoot)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QResourceRoot >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QResourceRoot) }; static inline const char *name() { return "QResourceRoot"; } }; | - |
92 | | - |
93 | namespace { namespace Q_QGS_resourceMutex { typedef QMutex Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | never evaluated | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);never executed: guard.store(QtGlobalStatic::Destroyed); }never executed: end of block }; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type (QMutex::Recursive))) : value (QMutex::Recursive) { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 26193 times by 294 tests: return &holder.value; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
&holder.value;executed 26193 times by 294 tests: return &holder.value; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
} } } static QGlobalStatic<QMutex, Q_QGS_resourceMutex::innerFunction, Q_QGS_resourceMutex::guard> resourceMutex; | 0-26193 |
94 | | - |
95 | typedef QList<QResourceRoot*> ResourceList; | - |
96 | namespace { namespace Q_QGS_resourceList { typedef ResourceList Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | never evaluated | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);never executed: guard.store(QtGlobalStatic::Destroyed); }never executed: end of block }; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 32007 times by 294 tests: return &holder.value; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
&holder.value;executed 32007 times by 294 tests: return &holder.value; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
} } } static QGlobalStatic<ResourceList, Q_QGS_resourceList::innerFunction, Q_QGS_resourceList::guard> resourceList; | 0-32007 |
97 | | - |
98 | namespace { namespace Q_QGS_resourceSearchPaths { typedef QStringList Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 4 times by 4 testsEvaluated by:- tst_qimagereader - unknown status
- tst_qmovie - unknown status
- tst_qresourceengine - unknown status
- tst_qwidget - unknown status
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 4 times by 4 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_qimagereader - unknown status
- tst_qmovie - unknown status
- tst_qresourceengine - unknown status
- tst_qwidget - unknown status
}executed 4 times by 4 tests: end of block Executed by:- tst_qimagereader - unknown status
- tst_qmovie - unknown status
- tst_qresourceengine - unknown status
- tst_qwidget - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 28 times by 4 tests: return &holder.value; Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
&holder.value;executed 28 times by 4 tests: return &holder.value; Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
} } } static QGlobalStatic<QStringList, Q_QGS_resourceSearchPaths::innerFunction, Q_QGS_resourceSearchPaths::guard> resourceSearchPaths; | 0-28 |
99 | class QResourcePrivate { | - |
100 | public: | - |
101 | inline QResourcePrivate(QResource *_q) : q_ptr(_q) { clear(); }executed 49175 times by 114 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 49175 |
102 | inline ~QResourcePrivate() { clear(); }executed 49175 times by 115 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 49175 |
103 | | - |
104 | void ensureInitialized() const; | - |
105 | void ensureChildren() const; | - |
106 | | - |
107 | bool load(const QString &file); | - |
108 | void clear(); | - |
109 | | - |
110 | QLocale locale; | - |
111 | QString fileName, absoluteFilePath; | - |
112 | QList<QResourceRoot*> related; | - |
113 | uint container : 1; | - |
114 | mutable uint compressed : 1; | - |
115 | mutable qint64 size; | - |
116 | mutable const uchar *data; | - |
117 | mutable QStringList children; | - |
118 | | - |
119 | QResource *q_ptr; | - |
120 | inline QResource* q_func() { return static_cast<QResource *>(q_ptr); } inline const QResource* q_func() const { return static_cast<const QResource *>(q_ptr); } friend class QResource; | - |
121 | }; | - |
122 | | - |
123 | void | - |
124 | QResourcePrivate::clear() | - |
125 | { | - |
126 | absoluteFilePath.clear(); | - |
127 | compressed = 0; | - |
128 | data = 0; | - |
129 | size = 0; | - |
130 | children.clear(); | - |
131 | container = 0; | - |
132 | for(int i = 0; i < related.size()TRUE | evaluated 19164 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 147523 times by 115 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
; ++i) { | 19164-147523 |
133 | QResourceRoot *root = related.at(i); | - |
134 | if(!root->ref.deref()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 19163 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 1-19163 |
135 | delete root;executed 1 time by 1 test: delete root; | 1 |
136 | }executed 19164 times by 86 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 19164 |
137 | related.clear(); | - |
138 | }executed 147523 times by 115 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 147523 |
139 | | - |
140 | bool | - |
141 | QResourcePrivate::load(const QString &file) | - |
142 | { | - |
143 | related.clear(); | - |
144 | QMutexLocker lock(resourceMutex()); | - |
145 | const ResourceList *list = resourceList(); | - |
146 | QString cleaned = cleanPath(file); | - |
147 | for(int i = 0; i < list->size()TRUE | evaluated 69274 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 24448 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
; ++i) { | 24448-69274 |
148 | QResourceRoot *res = list->at(i); | - |
149 | const int node = res->findNode(cleaned, locale); | - |
150 | if(node != -1TRUE | evaluated 19164 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 50110 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) { | 19164-50110 |
151 | if(related.isEmpty()TRUE | evaluated 19036 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 128 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QResourceEngine
|
) { | 128-19036 |
152 | container = res->isContainer(node); | - |
153 | if(!containerTRUE | evaluated 18648 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 388 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 388-18648 |
154 | data = res->data(node, &size); | - |
155 | compressed = res->isCompressed(node); | - |
156 | }executed 18648 times by 85 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
else { | 18648 |
157 | data = 0; | - |
158 | size = 0; | - |
159 | compressed = 0; | - |
160 | }executed 388 times by 8 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 388 |
161 | } else if(res->isContainer(node) != containerTRUE | never evaluated | FALSE | evaluated 128 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QResourceEngine
|
) { | 0-128 |
162 | QMessageLogger(__FILE__, 278, __PRETTY_FUNCTION__).warning("QResourceInfo: Resource [%s] has both data and children!", file.toLatin1().constData()); | - |
163 | } never executed: end of block | 0 |
164 | res->ref.ref(); | - |
165 | related.append(res); | - |
166 | }executed 19164 times by 85 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
else if(res->mappingRootSubdir(file)TRUE | never evaluated | FALSE | evaluated 50110 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) { | 0-50110 |
167 | container = true; | - |
168 | data = 0; | - |
169 | size = 0; | - |
170 | compressed = 0; | - |
171 | res->ref.ref(); | - |
172 | related.append(res); | - |
173 | } never executed: end of block | 0 |
174 | }executed 69274 times by 113 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 69274 |
175 | returnexecuted 24448 times by 113 tests: return !related.isEmpty(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
!related.isEmpty();executed 24448 times by 113 tests: return !related.isEmpty(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 24448 |
176 | } | - |
177 | | - |
178 | void | - |
179 | QResourcePrivate::ensureInitialized() const | - |
180 | { | - |
181 | if(!related.isEmpty()TRUE | evaluated 719083 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 24444 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 24444-719083 |
182 | return;executed 719083 times by 85 tests: return; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 719083 |
183 | QResourcePrivate *that = const_cast<QResourcePrivate *>(this); | - |
184 | if(fileName == QLatin1String(":")TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QDir
- tst_QResourceEngine
| FALSE | evaluated 24440 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 4-24440 |
185 | that->fileName += QLatin1Char('/');executed 4 times by 2 tests: that->fileName += QLatin1Char('/'); Executed by:- tst_QDir
- tst_QResourceEngine
| 4 |
186 | that->absoluteFilePath = fileName; | - |
187 | if(!that->absoluteFilePath.startsWith(QLatin1Char(':'))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24442 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 2-24442 |
188 | that->absoluteFilePath.prepend(QLatin1Char(':'));executed 2 times by 1 test: that->absoluteFilePath.prepend(QLatin1Char(':')); | 2 |
189 | | - |
190 | QString path = fileName; | - |
191 | if(path.startsWith(QLatin1Char(':'))TRUE | evaluated 24442 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 2 times by 1 test |
) | 2-24442 |
192 | path = path.mid(1);executed 24442 times by 113 tests: path = path.mid(1); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 24442 |
193 | | - |
194 | if(path.startsWith(QLatin1Char('/'))TRUE | evaluated 24418 times by 112 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 26 times by 4 testsEvaluated by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
|
) { | 26-24418 |
195 | that->load(path); | - |
196 | }executed 24418 times by 112 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
else { | 24418 |
197 | QMutexLocker lock(resourceMutex()); | - |
198 | QStringList searchPaths = *resourceSearchPaths(); | - |
199 | searchPaths << QLatin1String(""); | - |
200 | for(int i = 0; i < searchPaths.size()TRUE | evaluated 30 times by 4 testsEvaluated by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
| FALSE | never evaluated |
; ++i) { | 0-30 |
201 | const QString searchPath(searchPaths.at(i) + QLatin1Char('/') + path); | - |
202 | if(that->load(searchPath)TRUE | evaluated 26 times by 4 testsEvaluated by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
| FALSE | evaluated 4 times by 1 test |
) { | 4-26 |
203 | that->absoluteFilePath = QLatin1Char(':') + searchPath; | - |
204 | break;executed 26 times by 4 tests: break; Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
| 26 |
205 | } | - |
206 | }executed 4 times by 1 test: end of block | 4 |
207 | }executed 26 times by 4 tests: end of block Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
| 26 |
208 | } | - |
209 | | - |
210 | void | - |
211 | QResourcePrivate::ensureChildren() const | - |
212 | { | - |
213 | ensureInitialized(); | - |
214 | if(!children.isEmpty()TRUE | never evaluated | FALSE | evaluated 173 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
|| !containerTRUE | never evaluated | FALSE | evaluated 173 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
|| related.isEmpty()TRUE | never evaluated | FALSE | evaluated 173 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) | 0-173 |
215 | return; never executed: return; | 0 |
216 | | - |
217 | QString path = absoluteFilePath, k; | - |
218 | if(path.startsWith(QLatin1Char(':'))TRUE | evaluated 173 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | never evaluated |
) | 0-173 |
219 | path = path.mid(1);executed 173 times by 6 tests: path = path.mid(1); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 173 |
220 | QSet<QString> kids; | - |
221 | QString cleaned = cleanPath(path); | - |
222 | for(int i = 0; i < related.size()TRUE | evaluated 208 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 173 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
; ++i) { | 173-208 |
223 | QResourceRoot *res = related.at(i); | - |
224 | if(res->mappingRootSubdir(path, &k)TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 190 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
&& !k.isEmpty()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 3-190 |
225 | if(!kids.contains(k)TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
) { | 0-3 |
226 | children += k; | - |
227 | kids.insert(k); | - |
228 | }executed 3 times by 1 test: end of block | 3 |
229 | }executed 3 times by 1 test: end of block else { | 3 |
230 | const int node = res->findNode(cleaned); | - |
231 | if(node != -1TRUE | evaluated 205 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | never evaluated |
) { | 0-205 |
232 | QStringList related_children = res->children(node); | - |
233 | for(int kid = 0; kid < related_children.size()TRUE | evaluated 605 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 205 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
; ++kid) { | 205-605 |
234 | k = related_children.at(kid); | - |
235 | if(!kids.contains(k)TRUE | evaluated 511 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 94 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 94-511 |
236 | children += k; | - |
237 | kids.insert(k); | - |
238 | }executed 511 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 511 |
239 | }executed 605 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 605 |
240 | }executed 205 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 205 |
241 | }executed 205 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 205 |
242 | } | - |
243 | }executed 173 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 173 |
244 | QResource::QResource(const QString &file, const QLocale &locale) : d_ptr(new QResourcePrivate(this)) | - |
245 | { | - |
246 | QResourcePrivate * const d = d_func(); | - |
247 | d->fileName = file; | - |
248 | d->locale = locale; | - |
249 | }executed 49175 times by 114 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 49175 |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | QResource::~QResource() | - |
255 | { | - |
256 | } | - |
257 | void QResource::setLocale(const QLocale &locale) | - |
258 | { | - |
259 | QResourcePrivate * const d = d_func(); | - |
260 | d->clear(); | - |
261 | d->locale = locale; | - |
262 | }executed 1 time by 1 test: end of block | 1 |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | QLocale QResource::locale() const | - |
269 | { | - |
270 | const QResourcePrivate * const d = d_func(); | - |
271 | return never executed: return d->locale; d->locale;never executed: return d->locale; | 0 |
272 | } | - |
273 | void QResource::setFileName(const QString &file) | - |
274 | { | - |
275 | QResourcePrivate * const d = d_func(); | - |
276 | d->clear(); | - |
277 | d->fileName = file; | - |
278 | }executed 49172 times by 114 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 49172 |
279 | QString QResource::fileName() const | - |
280 | { | - |
281 | const QResourcePrivate * const d = d_func(); | - |
282 | d->ensureInitialized(); | - |
283 | returnexecuted 40850 times by 84 tests: return d->fileName; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
d->fileName;executed 40850 times by 84 tests: return d->fileName; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 40850 |
284 | } | - |
285 | QString QResource::absoluteFilePath() const | - |
286 | { | - |
287 | const QResourcePrivate * const d = d_func(); | - |
288 | d->ensureInitialized(); | - |
289 | returnexecuted 4211 times by 53 tests: return d->absoluteFilePath; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
d->absoluteFilePath;executed 4211 times by 53 tests: return d->absoluteFilePath; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
| 4211 |
290 | } | - |
291 | | - |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | bool QResource::isValid() const | - |
299 | { | - |
300 | const QResourcePrivate * const d = d_func(); | - |
301 | d->ensureInitialized(); | - |
302 | returnexecuted 233625 times by 113 tests: return !d->related.isEmpty(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
!d->related.isEmpty();executed 233625 times by 113 tests: return !d->related.isEmpty(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 233625 |
303 | } | - |
304 | bool QResource::isCompressed() const | - |
305 | { | - |
306 | const QResourcePrivate * const d = d_func(); | - |
307 | d->ensureInitialized(); | - |
308 | returnexecuted 240197 times by 84 tests: return d->compressed; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
d->compressed;executed 240197 times by 84 tests: return d->compressed; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 240197 |
309 | } | - |
310 | | - |
311 | | - |
312 | | - |
313 | | - |
314 | | - |
315 | | - |
316 | | - |
317 | qint64 QResource::size() const | - |
318 | { | - |
319 | const QResourcePrivate * const d = d_func(); | - |
320 | d->ensureInitialized(); | - |
321 | returnexecuted 177991 times by 82 tests: return d->size; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
d->size;executed 177991 times by 82 tests: return d->size; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 177991 |
322 | } | - |
323 | const uchar *QResource::data() const | - |
324 | { | - |
325 | const QResourcePrivate * const d = d_func(); | - |
326 | d->ensureInitialized(); | - |
327 | returnexecuted 42245 times by 82 tests: return d->data; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
d->data;executed 42245 times by 82 tests: return d->data; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 42245 |
328 | } | - |
329 | bool QResource::isDir() const | - |
330 | { | - |
331 | const QResourcePrivate * const d = d_func(); | - |
332 | d->ensureInitialized(); | - |
333 | returnexecuted 4235 times by 49 tests: return d->container; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- ...
d->container;executed 4235 times by 49 tests: return d->container; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 4235 |
334 | } | - |
335 | QStringList QResource::children() const | - |
336 | { | - |
337 | const QResourcePrivate * const d = d_func(); | - |
338 | d->ensureChildren(); | - |
339 | returnexecuted 173 times by 6 tests: return d->children; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
d->children;executed 173 times by 6 tests: return d->children; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 173 |
340 | } | - |
341 | void | - |
342 | QResource::addSearchPath(const QString &path) | - |
343 | { | - |
344 | if (!path.startsWith(QLatin1Char('/'))TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
345 | QMessageLogger(__FILE__, 560, __PRETTY_FUNCTION__).warning("QResource::addResourceSearchPath: Search paths must be absolute (start with /) [%s]", | - |
346 | path.toLocal8Bit().data()); | - |
347 | return; never executed: return; | 0 |
348 | } | - |
349 | QMutexLocker lock(resourceMutex()); | - |
350 | resourceSearchPaths()->prepend(path); | - |
351 | }executed 2 times by 1 test: end of block | 2 |
352 | QStringList | - |
353 | QResource::searchPaths() | - |
354 | { | - |
355 | QMutexLocker lock(resourceMutex()); | - |
356 | return never executed: return *resourceSearchPaths(); *resourceSearchPaths();never executed: return *resourceSearchPaths(); | 0 |
357 | } | - |
358 | | - |
359 | inline uint QResourceRoot::hash(int node) const | - |
360 | { | - |
361 | if(!nodeTRUE | never evaluated | FALSE | evaluated 452748 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 0-452748 |
362 | return never executed: return 0; 0;never executed: return 0; | 0 |
363 | const int offset = findOffset(node); | - |
364 | int name_offset = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
365 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
366 | name_offset += 2; | - |
367 | returnexecuted 452748 times by 113 tests: return (names[name_offset+0] << 24) + (names[name_offset+1] << 16) + (names[name_offset+2] << 8) + (names[name_offset+3] << 0); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
(names[name_offset+0] << 24) + (names[name_offset+1] << 16) +executed 452748 times by 113 tests: return (names[name_offset+0] << 24) + (names[name_offset+1] << 16) + (names[name_offset+2] << 8) + (names[name_offset+3] << 0); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 452748 |
368 | (names[name_offset+2] << 8) + (names[name_offset+3] << 0);executed 452748 times by 113 tests: return (names[name_offset+0] << 24) + (names[name_offset+1] << 16) + (names[name_offset+2] << 8) + (names[name_offset+3] << 0); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 452748 |
369 | } | - |
370 | inline QString QResourceRoot::name(int node) const | - |
371 | { | - |
372 | if(!nodeTRUE | never evaluated | FALSE | evaluated 121269 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 0-121269 |
373 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
374 | const int offset = findOffset(node); | - |
375 | | - |
376 | QString ret; | - |
377 | int name_offset = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
378 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
379 | const short name_length = (names[name_offset+0] << 8) + | - |
380 | (names[name_offset+1] << 0); | - |
381 | name_offset += 2; | - |
382 | name_offset += 4; | - |
383 | | - |
384 | ret.resize(name_length); | - |
385 | QChar *strData = ret.data(); | - |
386 | for(int i = 0; i < name_length*2TRUE | evaluated 1362287 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 121269 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
; i+=2) { | 121269-1362287 |
387 | QChar c(names[name_offset+i+1], names[name_offset+i]); | - |
388 | *strData = c; | - |
389 | ++strData; | - |
390 | }executed 1362287 times by 86 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 1362287 |
391 | returnexecuted 121269 times by 86 tests: return ret; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
ret;executed 121269 times by 86 tests: return ret; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 121269 |
392 | } | - |
393 | | - |
394 | int QResourceRoot::findNode(const QString &_path, const QLocale &locale) const | - |
395 | { | - |
396 | QString path = _path; | - |
397 | { | - |
398 | QString root = mappingRoot(); | - |
399 | if(!root.isEmpty()TRUE | evaluated 848 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 68631 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) { | 848-68631 |
400 | if(root == pathTRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 814 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 34-814 |
401 | path = QLatin1Char('/'); | - |
402 | }executed 34 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
else { | 34 |
403 | if(!root.endsWith(QLatin1Char('/'))TRUE | evaluated 814 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) | 0-814 |
404 | root += QLatin1Char('/');executed 814 times by 2 tests: root += QLatin1Char('/'); Executed by:- tst_QResourceEngine
- tst_rcc
| 814 |
405 | if(path.size() >= root.size()TRUE | evaluated 752 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 62 times by 1 test |
&& path.startsWith(root)TRUE | evaluated 535 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 217 times by 1 test |
) | 62-752 |
406 | path = path.mid(root.length()-1);executed 535 times by 2 tests: path = path.mid(root.length()-1); Executed by:- tst_QResourceEngine
- tst_rcc
| 535 |
407 | if(path.isEmpty()TRUE | never evaluated | FALSE | evaluated 814 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 0-814 |
408 | path = QLatin1Char('/'); never executed: path = QLatin1Char('/'); | 0 |
409 | }executed 814 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 814 |
410 | } | - |
411 | } | - |
412 | | - |
413 | | - |
414 | | - |
415 | | - |
416 | if(path == QLatin1String("/")TRUE | evaluated 75 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 69404 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) | 75-69404 |
417 | returnexecuted 75 times by 5 tests: return 0; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_rcc
0;executed 75 times by 5 tests: return 0; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_rcc
| 75 |
418 | | - |
419 | | - |
420 | int child_count = (tree[6] << 24) + (tree[7] << 16) + | - |
421 | (tree[8] << 8) + (tree[9] << 0); | - |
422 | int child = (tree[10] << 24) + (tree[11] << 16) + | - |
423 | (tree[12] << 8) + (tree[13] << 0); | - |
424 | | - |
425 | | - |
426 | int node = -1; | - |
427 | | - |
428 | QStringSplitter splitter(path); | - |
429 | while (child_countTRUE | evaluated 188785 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | never evaluated |
&& splitter.hasNext()TRUE | evaluated 170558 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 18227 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
|
) { | 0-188785 |
430 | QStringRef segment = splitter.next(); | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
437 | | - |
438 | const uint h = qt_hash(segment); | - |
439 | | - |
440 | | - |
441 | int l = 0, r = child_count-1; | - |
442 | int sub_node = (l+r+1)/2; | - |
443 | while(r != lTRUE | evaluated 125817 times by 74 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 150997 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) { | 125817-150997 |
444 | const uint sub_node_hash = hash(child+sub_node); | - |
445 | if(h == sub_node_hashTRUE | evaluated 19561 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 106256 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
|
) | 19561-106256 |
446 | break;executed 19561 times by 73 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| 19561 |
447 | else if(h < sub_node_hashTRUE | evaluated 64913 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 41343 times by 68 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- ...
|
) | 41343-64913 |
448 | r = sub_node - 1;executed 64913 times by 73 tests: r = sub_node - 1; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| 64913 |
449 | else | - |
450 | l = sub_node;executed 41343 times by 68 tests: l = sub_node; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- ...
| 41343 |
451 | sub_node = (l + r + 1) / 2; | - |
452 | }executed 106256 times by 73 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| 106256 |
453 | sub_node += child; | - |
454 | | - |
455 | | - |
456 | bool found = false; | - |
457 | if(hash(sub_node) == hTRUE | evaluated 120470 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 50088 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) { | 50088-120470 |
458 | while(sub_node > childTRUE | evaluated 19631 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 100979 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
&& hash(sub_node-1) == hTRUE | evaluated 140 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 19491 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- ...
|
) | 140-100979 |
459 | --executed 140 times by 2 tests: --sub_node; Executed by:- tst_QResourceEngine
- tst_rcc
sub_node;executed 140 times by 2 tests: --sub_node; Executed by:- tst_QResourceEngine
- tst_rcc
| 140 |
460 | for(; sub_node < child+child_countTRUE | evaluated 136742 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 2149 times by 38 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAccessibility
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- ...
|
&& hash(sub_node) == hTRUE | evaluated 120664 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 16078 times by 69 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
|
; ++sub_node) { | 2149-136742 |
461 | if(name(sub_node) == segmentTRUE | evaluated 120664 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | never evaluated |
) { | 0-120664 |
462 | found = true; | - |
463 | int offset = findOffset(sub_node); | - |
464 | | - |
465 | | - |
466 | | - |
467 | offset += 4; | - |
468 | | - |
469 | const short flags = (tree[offset+0] << 8) + | - |
470 | (tree[offset+1] << 0); | - |
471 | offset += 2; | - |
472 | | - |
473 | if(!splitter.hasNext()TRUE | evaluated 19510 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 101154 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) { | 19510-101154 |
474 | if(!(flags & Directory)TRUE | evaluated 18923 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | evaluated 587 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 587-18923 |
475 | const short country = (tree[offset+0] << 8) + | - |
476 | (tree[offset+1] << 0); | - |
477 | offset += 2; | - |
478 | | - |
479 | const short language = (tree[offset+0] << 8) + | - |
480 | (tree[offset+1] << 0); | - |
481 | offset += 2; | - |
482 | | - |
483 | | - |
484 | | - |
485 | if(country == locale.country()TRUE | evaluated 554 times by 7 testsEvaluated by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 18369 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
|
&& language == locale.language()TRUE | evaluated 502 times by 7 testsEvaluated by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 52 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 52-18369 |
486 | | - |
487 | | - |
488 | | - |
489 | returnexecuted 502 times by 7 tests: return sub_node; Executed by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_rcc
- tst_selftests - unknown status
sub_node;executed 502 times by 7 tests: return sub_node; Executed by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_rcc
- tst_selftests - unknown status
| 502 |
490 | } else if((country == QLocale::AnyCountryTRUE | evaluated 18350 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| FALSE | evaluated 71 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
&& language == locale.language()TRUE | evaluated 55 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 18295 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
|
) || | 55-18350 |
491 | (country == QLocale::AnyCountryTRUE | evaluated 18295 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| FALSE | evaluated 71 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
&& language == QLocale::CTRUE | evaluated 18197 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| FALSE | evaluated 98 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
&& node == -1TRUE | evaluated 18161 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
)) { | 36-18295 |
492 | node = sub_node; | - |
493 | }executed 18216 times by 80 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 18216 |
494 | continue;executed 18421 times by 80 tests: continue; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 18421 |
495 | } else { | - |
496 | | - |
497 | | - |
498 | | - |
499 | | - |
500 | returnexecuted 587 times by 8 tests: return sub_node; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
sub_node;executed 587 times by 8 tests: return sub_node; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 587 |
501 | } | - |
502 | } | - |
503 | | - |
504 | if(!(flags & Directory)TRUE | never evaluated | FALSE | evaluated 101154 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 0-101154 |
505 | return never executed: return -1; -1;never executed: return -1; | 0 |
506 | | - |
507 | child_count = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
508 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
509 | offset += 4; | - |
510 | child = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
511 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
512 | break;executed 101154 times by 80 tests: break; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 101154 |
513 | } | - |
514 | } never executed: end of block | 0 |
515 | }executed 119381 times by 86 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 119381 |
516 | if(!foundTRUE | evaluated 50088 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| FALSE | evaluated 119381 times by 86 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 50088-119381 |
517 | break;executed 50088 times by 113 tests: break; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 50088 |
518 | }executed 119381 times by 86 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 119381 |
519 | | - |
520 | | - |
521 | | - |
522 | returnexecuted 68315 times by 113 tests: return node; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
node;executed 68315 times by 113 tests: return node; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 68315 |
523 | } | - |
524 | short QResourceRoot::flags(int node) const | - |
525 | { | - |
526 | if(node == -1TRUE | never evaluated | FALSE | evaluated 37812 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 0-37812 |
527 | return never executed: return 0; 0;never executed: return 0; | 0 |
528 | const int offset = findOffset(node) + 4; | - |
529 | returnexecuted 37812 times by 85 tests: return (tree[offset+0] << 8) + (tree[offset+1] << 0); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
(tree[offset+0] << 8) + (tree[offset+1] << 0);executed 37812 times by 85 tests: return (tree[offset+0] << 8) + (tree[offset+1] << 0); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 37812 |
530 | } | - |
531 | const uchar *QResourceRoot::data(int node, qint64 *size) const | - |
532 | { | - |
533 | if(node == -1TRUE | never evaluated | FALSE | evaluated 18648 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) { | 0-18648 |
534 | *size = 0; | - |
535 | return never executed: return 0; 0;never executed: return 0; | 0 |
536 | } | - |
537 | int offset = findOffset(node) + 4; | - |
538 | | - |
539 | const short flags = (tree[offset+0] << 8) + (tree[offset+1] << 0); | - |
540 | offset += 2; | - |
541 | | - |
542 | offset += 4; | - |
543 | | - |
544 | if(!(flags & Directory)TRUE | evaluated 18648 times by 85 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| FALSE | never evaluated |
) { | 0-18648 |
545 | const int data_offset = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
546 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
547 | const uint data_length = (payloads[data_offset+0] << 24) + (payloads[data_offset+1] << 16) + | - |
548 | (payloads[data_offset+2] << 8) + (payloads[data_offset+3] << 0); | - |
549 | const uchar *ret = payloads+data_offset+4; | - |
550 | *size = data_length; | - |
551 | returnexecuted 18648 times by 85 tests: return ret; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
ret;executed 18648 times by 85 tests: return ret; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
| 18648 |
552 | } | - |
553 | *size = 0; | - |
554 | return never executed: return 0; 0;never executed: return 0; | 0 |
555 | } | - |
556 | QStringList QResourceRoot::children(int node) const | - |
557 | { | - |
558 | if(node == -1TRUE | never evaluated | FALSE | evaluated 205 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) | 0-205 |
559 | return never executed: return QStringList(); QStringList();never executed: return QStringList(); | 0 |
560 | int offset = findOffset(node) + 4; | - |
561 | | - |
562 | const short flags = (tree[offset+0] << 8) + (tree[offset+1] << 0); | - |
563 | offset += 2; | - |
564 | | - |
565 | QStringList ret; | - |
566 | if(flags & DirectoryTRUE | evaluated 205 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | never evaluated |
) { | 0-205 |
567 | const int child_count = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
568 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
569 | offset += 4; | - |
570 | const int child_off = (tree[offset+0] << 24) + (tree[offset+1] << 16) + | - |
571 | (tree[offset+2] << 8) + (tree[offset+3] << 0); | - |
572 | ret.reserve(child_count); | - |
573 | for(int i = child_off; i < child_off+child_countTRUE | evaluated 605 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 205 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
; ++i) | 205-605 |
574 | ret << name(i);executed 605 times by 6 tests: ret << name(i); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 605 |
575 | }executed 205 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 205 |
576 | returnexecuted 205 times by 6 tests: return ret; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
ret;executed 205 times by 6 tests: return ret; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 205 |
577 | } | - |
578 | bool QResourceRoot::mappingRootSubdir(const QString &path, QString *match) const | - |
579 | { | - |
580 | const QString root = mappingRoot(); | - |
581 | if(!root.isEmpty()TRUE | evaluated 297 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 50021 times by 113 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
|
) { | 297-50021 |
582 | const QVector<QStringRef> root_segments = root.splitRef(QLatin1Char('/'), QString::SkipEmptyParts), | - |
583 | path_segments = path.splitRef(QLatin1Char('/'), QString::SkipEmptyParts); | - |
584 | if(path_segments.size() <= root_segments.size()TRUE | evaluated 60 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 237 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 60-237 |
585 | int matched = 0; | - |
586 | for(int i = 0; i < path_segments.size()TRUE | evaluated 57 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
; ++i) { | 18-57 |
587 | if(root_segments[i] != path_segments[i]TRUE | evaluated 42 times by 1 test | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 15-42 |
588 | break;executed 42 times by 1 test: break; | 42 |
589 | ++matched; | - |
590 | }executed 15 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 15 |
591 | if(matched == path_segments.size()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 42 times by 1 test |
) { | 18-42 |
592 | if(matchTRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
&& root_segments.size() > matchedTRUE | evaluated 3 times by 1 test | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 0-18 |
593 | *executed 3 times by 1 test: *match = root_segments.at(matched).toString(); match = root_segments.at(matched).toString();executed 3 times by 1 test: *match = root_segments.at(matched).toString(); | 3 |
594 | returnexecuted 18 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
true;executed 18 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
| 18 |
595 | } | - |
596 | }executed 42 times by 1 test: end of block | 42 |
597 | }executed 279 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 279 |
598 | returnexecuted 50300 times by 113 tests: return false; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
false;executed 50300 times by 113 tests: return false; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 50300 |
599 | } | - |
600 | | - |
601 | __attribute__((visibility("default"))) bool qRegisterResourceData(int version, const unsigned char *tree, | - |
602 | const unsigned char *name, const unsigned char *data) | - |
603 | { | - |
604 | QMutexLocker lock(resourceMutex()); | - |
605 | if(version == 0x01TRUE | evaluated 1327 times by 19 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qmimetype
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& resourceList()TRUE | evaluated 1327 times by 19 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qmimetype
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-1327 |
606 | bool found = false; | - |
607 | QResourceRoot res(tree, name, data); | - |
608 | for(int i = 0; i < resourceList()->size()TRUE | evaluated 509 times by 7 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 1143 times by 15 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
|
; ++i) { | 509-1143 |
609 | if(*TRUE | evaluated 184 times by 6 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
| FALSE | evaluated 325 times by 5 testsEvaluated by:- tst_QApplication
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
resourceList()->at(i) == resTRUE | evaluated 184 times by 6 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
| FALSE | evaluated 325 times by 5 testsEvaluated by:- tst_QApplication
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 184-325 |
610 | found = true; | - |
611 | break;executed 184 times by 6 tests: break; Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
| 184 |
612 | } | - |
613 | }executed 325 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 325 |
614 | if(!foundTRUE | evaluated 1143 times by 15 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 184 times by 6 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
|
) { | 184-1143 |
615 | QResourceRoot *root = new QResourceRoot(tree, name, data); | - |
616 | root->ref.ref(); | - |
617 | resourceList()->append(root); | - |
618 | }executed 1143 times by 15 tests: end of block Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| 1143 |
619 | returnexecuted 1327 times by 19 tests: return true; Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qmimetype
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
true;executed 1327 times by 19 tests: return true; Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qmimetype
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| 1327 |
620 | } | - |
621 | return never executed: return false; false;never executed: return false; | 0 |
622 | } | - |
623 | | - |
624 | __attribute__((visibility("default"))) bool qUnregisterResourceData(int version, const unsigned char *tree, | - |
625 | const unsigned char *name, const unsigned char *data) | - |
626 | { | - |
627 | QMutexLocker lock(resourceMutex()); | - |
628 | if(version == 0x01TRUE | evaluated 358 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | never evaluated |
&& resourceList()TRUE | evaluated 358 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | never evaluated |
) { | 0-358 |
629 | QResourceRoot res(tree, name, data); | - |
630 | for(int i = 0; i < resourceList()->size()TRUE | evaluated 903 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | evaluated 358 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
|
; ) { | 358-903 |
631 | if(*TRUE | evaluated 358 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | evaluated 545 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
|
resourceList()->at(i) == resTRUE | evaluated 358 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | evaluated 545 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
|
) { | 358-545 |
632 | QResourceRoot *root = resourceList()->takeAt(i); | - |
633 | if(!root->ref.deref()TRUE | evaluated 358 times by 181 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | never evaluated |
) | 0-358 |
634 | delete root;executed 358 times by 181 tests: delete root; Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| 358 |
635 | }executed 358 times by 181 tests: end of block Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
else { | 358 |
636 | ++i; | - |
637 | }executed 545 times by 181 tests: end of block Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| 545 |
638 | } | - |
639 | returnexecuted 358 times by 181 tests: return true; Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
true;executed 358 times by 181 tests: return true; Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| 358 |
640 | } | - |
641 | return never executed: return false; false;never executed: return false; | 0 |
642 | } | - |
643 | | - |
644 | | - |
645 | | - |
646 | class QDynamicBufferResourceRoot: public QResourceRoot | - |
647 | { | - |
648 | QString root; | - |
649 | const uchar *buffer; | - |
650 | | - |
651 | public: | - |
652 | inline QDynamicBufferResourceRoot(const QString &_root) : root(_root), buffer(0) { }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
653 | inline ~QDynamicBufferResourceRoot() { } | - |
654 | inline const uchar *mappingBuffer() const { return never executed: return buffer; buffer;never executed: return buffer; } | 0 |
655 | virtual QString mappingRoot() const override { returnexecuted 1850 times by 2 tests: return root; Executed by:- tst_QResourceEngine
- tst_rcc
root;executed 1850 times by 2 tests: return root; Executed by:- tst_QResourceEngine
- tst_rcc
} | 1850 |
656 | virtual ResourceRootType type() const override { return never executed: return Resource_Buffer; Resource_Buffer;never executed: return Resource_Buffer; } | 0 |
657 | | - |
658 | | - |
659 | bool registerSelf(const uchar *b, int size) | - |
660 | { | - |
661 | | - |
662 | if (size >= 0TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
&& size < 20TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 0-16 |
663 | return never executed: return false; false;never executed: return false; | 0 |
664 | | - |
665 | | - |
666 | int offset = 0; | - |
667 | | - |
668 | | - |
669 | if(b[offset+0] != 'q'TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| b[offset+1] != 'r'TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| | 0-16 |
670 | b[offset+2] != 'e'TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| b[offset+3] != 's'TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 0-16 |
671 | return never executed: return false; false;never executed: return false; | 0 |
672 | } | - |
673 | offset += 4; | - |
674 | | - |
675 | const int version = (b[offset+0] << 24) + (b[offset+1] << 16) + | - |
676 | (b[offset+2] << 8) + (b[offset+3] << 0); | - |
677 | offset += 4; | - |
678 | | - |
679 | const int tree_offset = (b[offset+0] << 24) + (b[offset+1] << 16) + | - |
680 | (b[offset+2] << 8) + (b[offset+3] << 0); | - |
681 | offset += 4; | - |
682 | | - |
683 | const int data_offset = (b[offset+0] << 24) + (b[offset+1] << 16) + | - |
684 | (b[offset+2] << 8) + (b[offset+3] << 0); | - |
685 | offset += 4; | - |
686 | | - |
687 | const int name_offset = (b[offset+0] << 24) + (b[offset+1] << 16) + | - |
688 | (b[offset+2] << 8) + (b[offset+3] << 0); | - |
689 | offset += 4; | - |
690 | | - |
691 | | - |
692 | if (size >= 0TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
&& (tree_offset >= sizeTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| data_offset >= sizeTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| name_offset >= sizeTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
)) | 0-16 |
693 | return never executed: return false; false;never executed: return false; | 0 |
694 | | - |
695 | if(version == 0x01TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
696 | buffer = b; | - |
697 | setSource(b+tree_offset, b+name_offset, b+data_offset); | - |
698 | returnexecuted 16 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
true;executed 16 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
699 | } | - |
700 | return never executed: return false; false;never executed: return false; | 0 |
701 | } | - |
702 | }; | - |
703 | | - |
704 | | - |
705 | | - |
706 | | - |
707 | | - |
708 | | - |
709 | class QDynamicFileResourceRoot: public QDynamicBufferResourceRoot | - |
710 | { | - |
711 | QString fileName; | - |
712 | | - |
713 | uchar *unmapPointer; | - |
714 | unsigned int unmapLength; | - |
715 | | - |
716 | public: | - |
717 | inline QDynamicFileResourceRoot(const QString &_root) : QDynamicBufferResourceRoot(_root), unmapPointer(0), unmapLength(0) { }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
718 | ~QDynamicFileResourceRoot() { | - |
719 | | - |
720 | if (unmapPointerTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
721 | munmap((char*)unmapPointer, unmapLength); | - |
722 | unmapPointer = 0; | - |
723 | unmapLength = 0; | - |
724 | }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
else | 16 |
725 | | - |
726 | { | - |
727 | delete [] mappingBuffer(); | - |
728 | } never executed: end of block | 0 |
729 | } | - |
730 | QString mappingFile() const { returnexecuted 20 times by 2 tests: return fileName; Executed by:- tst_QResourceEngine
- tst_rcc
fileName;executed 20 times by 2 tests: return fileName; Executed by:- tst_QResourceEngine
- tst_rcc
} | 20 |
731 | virtual ResourceRootType type() const override { returnexecuted 20 times by 2 tests: return Resource_File; Executed by:- tst_QResourceEngine
- tst_rcc
Resource_File;executed 20 times by 2 tests: return Resource_File; Executed by:- tst_QResourceEngine
- tst_rcc
} | 20 |
732 | | - |
733 | bool registerSelf(const QString &f) { | - |
734 | bool fromMM = false; | - |
735 | uchar *data = 0; | - |
736 | unsigned int data_len = 0; | - |
737 | int fd = qt_safe_open(QFile::encodeName(f), 00, | - |
738 | | - |
739 | | - |
740 | | - |
741 | 0666 | - |
742 | | - |
743 | ); | - |
744 | if (fd >= 0TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
745 | struct stat64 st; | - |
746 | if (!::fstat64(fd, &st)TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
747 | uchar *ptr; | - |
748 | ptr = reinterpret_cast<uchar *>( | - |
749 | mmap(0, st.st_size, | - |
750 | 0x1, | - |
751 | 0 | 0x02, | - |
752 | fd, 0)); | - |
753 | if (ptrTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
&& ptr != reinterpret_cast<uchar *>(((void *) -1))TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
754 | data = ptr; | - |
755 | data_len = st.st_size; | - |
756 | fromMM = true; | - |
757 | }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
758 | }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
759 | ::close(fd); | - |
760 | }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
761 | | - |
762 | if(!dataTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 0-16 |
763 | QFile file(f); | - |
764 | if (!file.exists()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
765 | return never executed: return false; false;never executed: return false; | 0 |
766 | data_len = file.size(); | - |
767 | data = new uchar[data_len]; | - |
768 | | - |
769 | bool ok = false; | - |
770 | if (file.open(QIODevice::ReadOnly)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
771 | ok = (data_len == (uint)file.read((char*)data, data_len)); never executed: ok = (data_len == (uint)file.read((char*)data, data_len)); | 0 |
772 | if (!okTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
773 | delete [] data; | - |
774 | data = 0; | - |
775 | data_len = 0; | - |
776 | return never executed: return false; false;never executed: return false; | 0 |
777 | } | - |
778 | fromMM = false; | - |
779 | } never executed: end of block | 0 |
780 | if (dataTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
&& QDynamicBufferResourceRoot::registerSelf(data, data_len)TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
781 | if(fromMMTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
782 | unmapPointer = data; | - |
783 | unmapLength = data_len; | - |
784 | }executed 16 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
785 | fileName = f; | - |
786 | returnexecuted 16 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
true;executed 16 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
787 | } | - |
788 | return never executed: return false; false;never executed: return false; | 0 |
789 | } | - |
790 | }; | - |
791 | | - |
792 | static QString qt_resource_fixResourceRoot(QString r) { | - |
793 | if(!r.isEmpty()TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 2 times by 1 test |
) { | 2-30 |
794 | if(r.startsWith(QLatin1Char(':'))TRUE | never evaluated | FALSE | evaluated 30 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 0-30 |
795 | r = r.mid(1); never executed: r = r.mid(1); | 0 |
796 | if(!r.isEmpty()TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) | 0-30 |
797 | r = QDir::cleanPath(r);executed 30 times by 2 tests: r = QDir::cleanPath(r); Executed by:- tst_QResourceEngine
- tst_rcc
| 30 |
798 | }executed 30 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 30 |
799 | returnexecuted 32 times by 2 tests: return r; Executed by:- tst_QResourceEngine
- tst_rcc
r;executed 32 times by 2 tests: return r; Executed by:- tst_QResourceEngine
- tst_rcc
| 32 |
800 | } | - |
801 | bool | - |
802 | QResource::registerResource(const QString &rccFilename, const QString &resourceRoot) | - |
803 | { | - |
804 | QString r = qt_resource_fixResourceRoot(resourceRoot); | - |
805 | if(!r.isEmpty()TRUE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 1 time by 1 test |
&& r[0] != QLatin1Char('/')TRUE | never evaluated | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 0-15 |
806 | QMessageLogger(__FILE__, 1066, __PRETTY_FUNCTION__).warning("QDir::registerResource: Registering a resource [%s] must be rooted in an absolute path (start with /) [%s]", | - |
807 | rccFilename.toLocal8Bit().data(), resourceRoot.toLocal8Bit().data()); | - |
808 | return never executed: return false; false;never executed: return false; | 0 |
809 | } | - |
810 | | - |
811 | QDynamicFileResourceRoot *root = new QDynamicFileResourceRoot(r); | - |
812 | if(root->registerSelf(rccFilename)TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
) { | 0-16 |
813 | root->ref.ref(); | - |
814 | QMutexLocker lock(resourceMutex()); | - |
815 | resourceList()->append(root); | - |
816 | returnexecuted 16 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
true;executed 16 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
| 16 |
817 | } | - |
818 | delete root; | - |
819 | return never executed: return false; false;never executed: return false; | 0 |
820 | } | - |
821 | bool | - |
822 | QResource::unregisterResource(const QString &rccFilename, const QString &resourceRoot) | - |
823 | { | - |
824 | QString r = qt_resource_fixResourceRoot(resourceRoot); | - |
825 | | - |
826 | QMutexLocker lock(resourceMutex()); | - |
827 | ResourceList *list = resourceList(); | - |
828 | for(int i = 0; i < list->size()TRUE | evaluated 40 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
; ++i) { | 0-40 |
829 | QResourceRoot *res = list->at(i); | - |
830 | if(res->type() == QResourceRoot::Resource_FileTRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 20 |
831 | QDynamicFileResourceRoot *root = reinterpret_cast<QDynamicFileResourceRoot*>(res); | - |
832 | if (root->mappingFile() == rccFilenameTRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | never evaluated |
&& root->mappingRoot() == rTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 4 times by 1 test |
) { | 0-20 |
833 | resourceList()->removeAt(i); | - |
834 | if(!root->ref.deref()TRUE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 1 time by 1 test |
) { | 1-15 |
835 | delete root; | - |
836 | returnexecuted 15 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
true;executed 15 times by 2 tests: return true; Executed by:- tst_QResourceEngine
- tst_rcc
| 15 |
837 | } | - |
838 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
839 | } | - |
840 | }executed 4 times by 1 test: end of block | 4 |
841 | }executed 24 times by 2 tests: end of block Executed by:- tst_QResourceEngine
- tst_rcc
| 24 |
842 | return never executed: return false; false;never executed: return false; | 0 |
843 | } | - |
844 | bool | - |
845 | QResource::registerResource(const uchar *rccData, const QString &resourceRoot) | - |
846 | { | - |
847 | QString r = qt_resource_fixResourceRoot(resourceRoot); | - |
848 | if(!r.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
&& r[0] != QLatin1Char('/')TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
849 | QMessageLogger(__FILE__, 1137, __PRETTY_FUNCTION__).warning("QDir::registerResource: Registering a resource [%p] must be rooted in an absolute path (start with /) [%s]", | - |
850 | rccData, resourceRoot.toLocal8Bit().data()); | - |
851 | return never executed: return false; false;never executed: return false; | 0 |
852 | } | - |
853 | | - |
854 | QDynamicBufferResourceRoot *root = new QDynamicBufferResourceRoot(r); | - |
855 | if (root->registerSelf(rccData, -1)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
856 | root->ref.ref(); | - |
857 | QMutexLocker lock(resourceMutex()); | - |
858 | resourceList()->append(root); | - |
859 | return never executed: return true; true;never executed: return true; | 0 |
860 | } | - |
861 | delete root; | - |
862 | return never executed: return false; false;never executed: return false; | 0 |
863 | } | - |
864 | bool | - |
865 | QResource::unregisterResource(const uchar *rccData, const QString &resourceRoot) | - |
866 | { | - |
867 | QString r = qt_resource_fixResourceRoot(resourceRoot); | - |
868 | | - |
869 | QMutexLocker lock(resourceMutex()); | - |
870 | ResourceList *list = resourceList(); | - |
871 | for(int i = 0; i < list->size()TRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
872 | QResourceRoot *res = list->at(i); | - |
873 | if(res->type() == QResourceRoot::Resource_BufferTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
874 | QDynamicBufferResourceRoot *root = reinterpret_cast<QDynamicBufferResourceRoot*>(res); | - |
875 | if (root->mappingBuffer() == rccDataTRUE | never evaluated | FALSE | never evaluated |
&& root->mappingRoot() == rTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
876 | resourceList()->removeAt(i); | - |
877 | if(!root->ref.deref()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
878 | delete root; | - |
879 | return never executed: return true; true;never executed: return true; | 0 |
880 | } | - |
881 | return never executed: return false; false;never executed: return false; | 0 |
882 | } | - |
883 | } never executed: end of block | 0 |
884 | } never executed: end of block | 0 |
885 | return never executed: return false; false;never executed: return false; | 0 |
886 | } | - |
887 | | - |
888 | | - |
889 | | - |
890 | class QResourceFileEnginePrivate : public QAbstractFileEnginePrivate | - |
891 | { | - |
892 | protected: | - |
893 | inline QResourceFileEngine* q_func() { return static_cast<QResourceFileEngine *>(q_ptr); } inline const QResourceFileEngine* q_func() const { return static_cast<const QResourceFileEngine *>(q_ptr); } friend class QResourceFileEngine; | - |
894 | private: | - |
895 | uchar *map(qint64 offset, qint64 size, QFile::MemoryMapFlags flags); | - |
896 | bool unmap(uchar *ptr); | - |
897 | void uncompress() const; | - |
898 | qint64 offset; | - |
899 | QResource resource; | - |
900 | mutable QByteArray uncompressed; | - |
901 | protected: | - |
902 | QResourceFileEnginePrivate() : offset(0) { }executed 48997 times by 114 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 48997 |
903 | }; | - |
904 | | - |
905 | bool QResourceFileEngine::mkdir(const QString &, bool) const | - |
906 | { | - |
907 | return never executed: return false; false;never executed: return false; | 0 |
908 | } | - |
909 | | - |
910 | bool QResourceFileEngine::rmdir(const QString &, bool) const | - |
911 | { | - |
912 | return never executed: return false; false;never executed: return false; | 0 |
913 | } | - |
914 | | - |
915 | bool QResourceFileEngine::setSize(qint64) | - |
916 | { | - |
917 | return never executed: return false; false;never executed: return false; | 0 |
918 | } | - |
919 | | - |
920 | QStringList QResourceFileEngine::entryList(QDir::Filters filters, const QStringList &filterNames) const | - |
921 | { | - |
922 | return never executed: return QAbstractFileEngine::entryList(filters, filterNames); QAbstractFileEngine::entryList(filters, filterNames);never executed: return QAbstractFileEngine::entryList(filters, filterNames); | 0 |
923 | } | - |
924 | | - |
925 | bool QResourceFileEngine::caseSensitive() const | - |
926 | { | - |
927 | return never executed: return true; true;never executed: return true; | 0 |
928 | } | - |
929 | | - |
930 | QResourceFileEngine::QResourceFileEngine(const QString &file) : | - |
931 | QAbstractFileEngine(*new QResourceFileEnginePrivate) | - |
932 | { | - |
933 | QResourceFileEnginePrivate * const d = d_func(); | - |
934 | d->resource.setFileName(file); | - |
935 | }executed 48997 times by 114 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 48997 |
936 | | - |
937 | QResourceFileEngine::~QResourceFileEngine() | - |
938 | { | - |
939 | } | - |
940 | | - |
941 | void QResourceFileEngine::setFileName(const QString &file) | - |
942 | { | - |
943 | QResourceFileEnginePrivate * const d = d_func(); | - |
944 | d->resource.setFileName(file); | - |
945 | }executed 174 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 174 |
946 | | - |
947 | bool QResourceFileEngine::open(QIODevice::OpenMode flags) | - |
948 | { | - |
949 | QResourceFileEnginePrivate * const d = d_func(); | - |
950 | if (d->resource.fileName().isEmpty()TRUE | never evaluated | FALSE | evaluated 14854 times by 83 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) { | 0-14854 |
951 | QMessageLogger(__FILE__, 1251, __PRETTY_FUNCTION__).warning("QResourceFileEngine::open: Missing file name"); | - |
952 | return never executed: return false; false;never executed: return false; | 0 |
953 | } | - |
954 | if(flags & QIODevice::WriteOnlyTRUE | evaluated 3 times by 1 test | FALSE | evaluated 14851 times by 83 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) | 3-14851 |
955 | returnexecuted 3 times by 1 test: return false; false;executed 3 times by 1 test: return false; | 3 |
956 | d->uncompress(); | - |
957 | if (!d->resource.isValid()TRUE | evaluated 212 times by 7 testsEvaluated by:- tst_QFile
- tst_QImageReader
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_Selftests
| FALSE | evaluated 14639 times by 81 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) { | 212-14639 |
958 | d->errorString = qt_error_string(2); | - |
959 | returnexecuted 212 times by 7 tests: return false; Executed by:- tst_QFile
- tst_QImageReader
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_Selftests
false;executed 212 times by 7 tests: return false; Executed by:- tst_QFile
- tst_QImageReader
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_Selftests
| 212 |
960 | } | - |
961 | returnexecuted 14639 times by 81 tests: return true; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
true;executed 14639 times by 81 tests: return true; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 14639 |
962 | } | - |
963 | | - |
964 | bool QResourceFileEngine::close() | - |
965 | { | - |
966 | QResourceFileEnginePrivate * const d = d_func(); | - |
967 | d->offset = 0; | - |
968 | d->uncompressed.clear(); | - |
969 | returnexecuted 14639 times by 81 tests: return true; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
true;executed 14639 times by 81 tests: return true; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 14639 |
970 | } | - |
971 | | - |
972 | bool QResourceFileEngine::flush() | - |
973 | { | - |
974 | returnexecuted 14639 times by 81 tests: return true; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
true;executed 14639 times by 81 tests: return true; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 14639 |
975 | } | - |
976 | | - |
977 | qint64 QResourceFileEngine::read(char *data, qint64 len) | - |
978 | { | - |
979 | QResourceFileEnginePrivate * const d = d_func(); | - |
980 | if(len > size()-d->offsetTRUE | evaluated 57501 times by 78 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 1830 times by 12 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QFileInfo
- tst_QFontDialog
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QRawFont
- tst_QResourceEngine
- tst_QStyle
- tst_QWizard
- tst_Selftests
- tst_rcc
|
) | 1830-57501 |
981 | len = size()-d->offset;executed 57501 times by 78 tests: len = size()-d->offset; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsEffect
- ...
| 57501 |
982 | if(len <= 0TRUE | evaluated 16426 times by 7 testsEvaluated by:- tst_QFile
- tst_QGraphicsScene
- tst_QImageReader
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkReply
- tst_QTemporaryFile
| FALSE | evaluated 42905 times by 81 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) | 16426-42905 |
983 | returnexecuted 16426 times by 7 tests: return 0; Executed by:- tst_QFile
- tst_QGraphicsScene
- tst_QImageReader
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkReply
- tst_QTemporaryFile
0;executed 16426 times by 7 tests: return 0; Executed by:- tst_QFile
- tst_QGraphicsScene
- tst_QImageReader
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkReply
- tst_QTemporaryFile
| 16426 |
984 | if(d->resource.isCompressed()TRUE | evaluated 1286 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| FALSE | evaluated 41619 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsEffect
- ...
|
) | 1286-41619 |
985 | memcpy(data, d->uncompressed.constData()+d->offset, len);executed 1286 times by 8 tests: memcpy(data, d->uncompressed.constData()+d->offset, len); Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| 1286 |
986 | else | - |
987 | memcpy(data, d->resource.data()+d->offset, len);executed 41619 times by 79 tests: memcpy(data, d->resource.data()+d->offset, len); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsEffect
- ...
| 41619 |
988 | d->offset += len; | - |
989 | returnexecuted 42905 times by 81 tests: return len; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
len;executed 42905 times by 81 tests: return len; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 42905 |
990 | } | - |
991 | | - |
992 | qint64 QResourceFileEngine::write(const char *, qint64) | - |
993 | { | - |
994 | return never executed: return -1; -1;never executed: return -1; | 0 |
995 | } | - |
996 | | - |
997 | bool QResourceFileEngine::remove() | - |
998 | { | - |
999 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
1000 | } | - |
1001 | | - |
1002 | bool QResourceFileEngine::copy(const QString &) | - |
1003 | { | - |
1004 | returnexecuted 34 times by 4 tests: return false; Executed by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
false;executed 34 times by 4 tests: return false; Executed by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
| 34 |
1005 | } | - |
1006 | | - |
1007 | bool QResourceFileEngine::rename(const QString &) | - |
1008 | { | - |
1009 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
1010 | } | - |
1011 | | - |
1012 | bool QResourceFileEngine::link(const QString &) | - |
1013 | { | - |
1014 | return never executed: return false; false;never executed: return false; | 0 |
1015 | } | - |
1016 | | - |
1017 | qint64 QResourceFileEngine::size() const | - |
1018 | { | - |
1019 | const QResourceFileEnginePrivate * const d = d_func(); | - |
1020 | if(!d->resource.isValid()TRUE | never evaluated | FALSE | evaluated 179590 times by 81 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) | 0-179590 |
1021 | return never executed: return 0; 0;never executed: return 0; | 0 |
1022 | if (d->resource.isCompressed()TRUE | evaluated 2845 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| FALSE | evaluated 176745 times by 80 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) { | 2845-176745 |
1023 | d->uncompress(); | - |
1024 | returnexecuted 2845 times by 8 tests: return d->uncompressed.size(); Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
d->uncompressed.size();executed 2845 times by 8 tests: return d->uncompressed.size(); Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| 2845 |
1025 | } | - |
1026 | returnexecuted 176745 times by 80 tests: return d->resource.size(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
d->resource.size();executed 176745 times by 80 tests: return d->resource.size(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 176745 |
1027 | } | - |
1028 | | - |
1029 | qint64 QResourceFileEngine::pos() const | - |
1030 | { | - |
1031 | const QResourceFileEnginePrivate * const d = d_func(); | - |
1032 | return never executed: return d->offset; d->offset;never executed: return d->offset; | 0 |
1033 | } | - |
1034 | | - |
1035 | bool QResourceFileEngine::atEnd() const | - |
1036 | { | - |
1037 | const QResourceFileEnginePrivate * const d = d_func(); | - |
1038 | if(!d->resource.isValid()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1039 | return never executed: return true; true;never executed: return true; | 0 |
1040 | return never executed: return d->offset == size(); d->offset == size();never executed: return d->offset == size(); | 0 |
1041 | } | - |
1042 | | - |
1043 | bool QResourceFileEngine::seek(qint64 pos) | - |
1044 | { | - |
1045 | QResourceFileEnginePrivate * const d = d_func(); | - |
1046 | if(!d->resource.isValid()TRUE | never evaluated | FALSE | evaluated 29931 times by 69 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- ...
|
) | 0-29931 |
1047 | return never executed: return false; false;never executed: return false; | 0 |
1048 | | - |
1049 | if(d->offset > size()TRUE | never evaluated | FALSE | evaluated 29931 times by 69 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- ...
|
) | 0-29931 |
1050 | return never executed: return false; false;never executed: return false; | 0 |
1051 | d->offset = pos; | - |
1052 | returnexecuted 29931 times by 69 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- ...
true;executed 29931 times by 69 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- ...
| 29931 |
1053 | } | - |
1054 | | - |
1055 | bool QResourceFileEngine::isSequential() const | - |
1056 | { | - |
1057 | returnexecuted 52738 times by 81 tests: return false; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
false;executed 52738 times by 81 tests: return false; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 52738 |
1058 | } | - |
1059 | | - |
1060 | QAbstractFileEngine::FileFlags QResourceFileEngine::fileFlags(QAbstractFileEngine::FileFlags type) const | - |
1061 | { | - |
1062 | const QResourceFileEnginePrivate * const d = d_func(); | - |
1063 | QAbstractFileEngine::FileFlags ret = 0; | - |
1064 | if(!d->resource.isValid()TRUE | evaluated 4673 times by 60 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- ...
| FALSE | evaluated 4398 times by 53 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
|
) | 4398-4673 |
1065 | returnexecuted 4673 times by 60 tests: return ret; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- ...
ret;executed 4673 times by 60 tests: return ret; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- ...
| 4673 |
1066 | | - |
1067 | if(type & PermsMaskTRUE | evaluated 119 times by 7 testsEvaluated by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTranslator
| FALSE | evaluated 4279 times by 53 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
|
) | 119-4279 |
1068 | ret |= QAbstractFileEngine::FileFlags(ReadOwnerPerm|ReadUserPerm|ReadGroupPerm|ReadOtherPerm);executed 119 times by 7 tests: ret |= QAbstractFileEngine::FileFlags(ReadOwnerPerm|ReadUserPerm|ReadGroupPerm|ReadOtherPerm); Executed by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTranslator
| 119 |
1069 | if(type & TypesMaskTRUE | evaluated 4235 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| FALSE | evaluated 163 times by 11 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTemporaryFile
- tst_QTranslator
- tst_QWidget
|
) { | 163-4235 |
1070 | if(d->resource.isDir()TRUE | evaluated 283 times by 7 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_rcc
| FALSE | evaluated 3952 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- ...
|
) | 283-3952 |
1071 | ret |= DirectoryType;executed 283 times by 7 tests: ret |= DirectoryType; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_rcc
| 283 |
1072 | else | - |
1073 | ret |= FileType;executed 3952 times by 49 tests: ret |= FileType; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 3952 |
1074 | } | - |
1075 | if(type & FlagsMaskTRUE | evaluated 4209 times by 53 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
| FALSE | evaluated 189 times by 9 testsEvaluated by:- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTranslator
- tst_rcc
|
) { | 189-4209 |
1076 | ret |= ExistsFlag; | - |
1077 | if(d->resource.absoluteFilePath() == QLatin1String(":/")TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QResourceEngine
| FALSE | evaluated 4205 times by 53 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
|
) | 4-4205 |
1078 | ret |= RootFlag;executed 4 times by 3 tests: ret |= RootFlag; Executed by:- tst_QDir
- tst_QFileInfo
- tst_QResourceEngine
| 4 |
1079 | }executed 4209 times by 53 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
| 4209 |
1080 | returnexecuted 4398 times by 53 tests: return ret; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
ret;executed 4398 times by 53 tests: return ret; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- ...
| 4398 |
1081 | } | - |
1082 | | - |
1083 | bool QResourceFileEngine::setPermissions(uint) | - |
1084 | { | - |
1085 | return never executed: return false; false;never executed: return false; | 0 |
1086 | } | - |
1087 | | - |
1088 | QString QResourceFileEngine::fileName(FileName file) const | - |
1089 | { | - |
1090 | const QResourceFileEnginePrivate * const d = d_func(); | - |
1091 | if(file == BaseNameTRUE | never evaluated | FALSE | evaluated 25998 times by 71 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- ...
|
) { | 0-25998 |
1092 | int slash = d->resource.fileName().lastIndexOf(QLatin1Char('/')); | - |
1093 | if (slash == -1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1094 | return never executed: return d->resource.fileName(); d->resource.fileName();never executed: return d->resource.fileName(); | 0 |
1095 | return never executed: return d->resource.fileName().mid(slash + 1); d->resource.fileName().mid(slash + 1);never executed: return d->resource.fileName().mid(slash + 1); | 0 |
1096 | } else if(file == PathNameTRUE | never evaluated | FALSE | evaluated 25998 times by 71 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- ...
|
|| file == AbsolutePathNameTRUE | evaluated 1 time by 1 test | FALSE | evaluated 25997 times by 70 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
|
) { | 0-25998 |
1097 | const QString path = (TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
file == AbsolutePathName)TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
? d->resource.absoluteFilePath() : d->resource.fileName(); | 0-1 |
1098 | const int slash = path.lastIndexOf(QLatin1Char('/')); | - |
1099 | if (slash == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
1100 | return never executed: return QLatin1String(":"); QLatin1String(":");never executed: return QLatin1String(":"); | 0 |
1101 | else if (slash <= 1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
1102 | return never executed: return QLatin1String(":/"); QLatin1String(":/");never executed: return QLatin1String(":/"); | 0 |
1103 | returnexecuted 1 time by 1 test: return path.left(slash); path.left(slash);executed 1 time by 1 test: return path.left(slash); | 1 |
1104 | | - |
1105 | } else if(file == CanonicalNameTRUE | evaluated 1 time by 1 test | FALSE | evaluated 25996 times by 70 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
|
|| file == CanonicalPathNameTRUE | never evaluated | FALSE | evaluated 25996 times by 70 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
|
) { | 0-25996 |
1106 | const QString absoluteFilePath = d->resource.absoluteFilePath(); | - |
1107 | if(file == CanonicalPathNameTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) { | 0-1 |
1108 | const int slash = absoluteFilePath.lastIndexOf(QLatin1Char('/')); | - |
1109 | if (slash != -1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1110 | return never executed: return absoluteFilePath.left(slash); absoluteFilePath.left(slash);never executed: return absoluteFilePath.left(slash); | 0 |
1111 | } never executed: end of block | 0 |
1112 | returnexecuted 1 time by 1 test: return absoluteFilePath; absoluteFilePath;executed 1 time by 1 test: return absoluteFilePath; | 1 |
1113 | } | - |
1114 | returnexecuted 25996 times by 70 tests: return d->resource.fileName(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
d->resource.fileName();executed 25996 times by 70 tests: return d->resource.fileName(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- ...
| 25996 |
1115 | } | - |
1116 | | - |
1117 | bool QResourceFileEngine::isRelativePath() const | - |
1118 | { | - |
1119 | returnexecuted 14 times by 5 tests: return false; Executed by:- tst_QDir
- tst_QGuiApplication
- tst_QKeySequence
- tst_QTextBrowser
- tst_QTranslator
false;executed 14 times by 5 tests: return false; Executed by:- tst_QDir
- tst_QGuiApplication
- tst_QKeySequence
- tst_QTextBrowser
- tst_QTranslator
| 14 |
1120 | } | - |
1121 | | - |
1122 | uint QResourceFileEngine::ownerId(FileOwner) const | - |
1123 | { | - |
1124 | static const uint nobodyID = (uint) -2; | - |
1125 | return never executed: return nobodyID; nobodyID;never executed: return nobodyID; | 0 |
1126 | } | - |
1127 | | - |
1128 | QString QResourceFileEngine::owner(FileOwner) const | - |
1129 | { | - |
1130 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1131 | } | - |
1132 | | - |
1133 | QDateTime QResourceFileEngine::fileTime(FileTime) const | - |
1134 | { | - |
1135 | returnexecuted 998 times by 29 tests: return QDateTime(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
QDateTime();executed 998 times by 29 tests: return QDateTime(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| 998 |
1136 | } | - |
1137 | | - |
1138 | | - |
1139 | | - |
1140 | | - |
1141 | QAbstractFileEngine::Iterator *QResourceFileEngine::beginEntryList(QDir::Filters filters, | - |
1142 | const QStringList &filterNames) | - |
1143 | { | - |
1144 | returnexecuted 174 times by 6 tests: return new QResourceFileEngineIterator(filters, filterNames); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
new QResourceFileEngineIterator(filters, filterNames);executed 174 times by 6 tests: return new QResourceFileEngineIterator(filters, filterNames); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 174 |
1145 | } | - |
1146 | | - |
1147 | | - |
1148 | | - |
1149 | | - |
1150 | QAbstractFileEngine::Iterator *QResourceFileEngine::endEntryList() | - |
1151 | { | - |
1152 | return never executed: return 0; 0;never executed: return 0; | 0 |
1153 | } | - |
1154 | | - |
1155 | bool QResourceFileEngine::extension(Extension extension, const ExtensionOption *option, ExtensionReturn *output) | - |
1156 | { | - |
1157 | QResourceFileEnginePrivate * const d = d_func(); | - |
1158 | if (extension == MapExtensionTRUE | evaluated 11 times by 2 tests | FALSE | evaluated 9 times by 1 test |
) { | 9-11 |
1159 | const MapExtensionOption *options = (const MapExtensionOption*)(option); | - |
1160 | MapExtensionReturn *returnValue = static_cast<MapExtensionReturn*>(output); | - |
1161 | returnValue->address = d->map(options->offset, options->size, options->flags); | - |
1162 | returnexecuted 11 times by 2 tests: return (returnValue->address != 0); (returnValue->address != 0);executed 11 times by 2 tests: return (returnValue->address != 0); | 11 |
1163 | } | - |
1164 | if (extension == UnMapExtensionTRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
) { | 0-9 |
1165 | const UnMapExtensionOption *options = (const UnMapExtensionOption*)option; | - |
1166 | returnexecuted 9 times by 1 test: return d->unmap(options->address); d->unmap(options->address);executed 9 times by 1 test: return d->unmap(options->address); | 9 |
1167 | } | - |
1168 | return never executed: return false; false;never executed: return false; | 0 |
1169 | } | - |
1170 | | - |
1171 | bool QResourceFileEngine::supportsExtension(Extension extension) const | - |
1172 | { | - |
1173 | returnexecuted 331 times by 6 tests: return (extension == UnMapExtension || extension == MapExtension); Executed by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkReply
(extension == UnMapExtension || extension == MapExtension);executed 331 times by 6 tests: return (extension == UnMapExtension || extension == MapExtension); Executed by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkReply
| 331 |
1174 | } | - |
1175 | | - |
1176 | uchar *QResourceFileEnginePrivate::map(qint64 offset, qint64 size, QFile::MemoryMapFlags flags) | - |
1177 | { | - |
1178 | QResourceFileEngine * const q = q_func(); | - |
1179 | (void)flags;; | - |
1180 | if (offset < 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9 times by 2 tests |
|| size <= 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 5 times by 2 tests |
|| !resource.isValid()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 2 tests |
|| offset + size > resource.size()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 2 tests |
) { | 1-9 |
1181 | q->setError(QFile::UnspecifiedError, QString()); | - |
1182 | returnexecuted 8 times by 1 test: return 0; 0;executed 8 times by 1 test: return 0; | 8 |
1183 | } | - |
1184 | uchar *address = const_cast<uchar *>(resource.data()); | - |
1185 | returnexecuted 3 times by 2 tests: return (address + offset); (address + offset);executed 3 times by 2 tests: return (address + offset); | 3 |
1186 | } | - |
1187 | | - |
1188 | bool QResourceFileEnginePrivate::unmap(uchar *ptr) | - |
1189 | { | - |
1190 | (void)ptr;; | - |
1191 | returnexecuted 9 times by 1 test: return true; true;executed 9 times by 1 test: return true; | 9 |
1192 | } | - |
1193 | | - |
1194 | void QResourceFileEnginePrivate::uncompress() const | - |
1195 | { | - |
1196 | if (resource.isCompressed()TRUE | evaluated 3458 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| FALSE | evaluated 14238 times by 82 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
&& uncompressed.isEmpty()TRUE | evaluated 619 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| FALSE | evaluated 2839 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
|
&& resource.size()TRUE | evaluated 619 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| FALSE | never evaluated |
) { | 0-14238 |
1197 | | - |
1198 | uncompressed = qUncompress(resource.data(), resource.size()); | - |
1199 | | - |
1200 | | - |
1201 | | - |
1202 | }executed 619 times by 8 tests: end of block Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| 619 |
1203 | }executed 17696 times by 83 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 17696 |
1204 | | - |
1205 | | - |
1206 | | - |
1207 | | - |
| | |