| 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 150915 times by 112 tests: end of blockExecuted 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
- ...
| 150915 |
| 18 | | - |
| 19 | inline bool hasNext() { | - |
| 20 | while (m_pos < m_len| TRUE | evaluated 953577 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 73060 times by 84 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_splitChar| TRUE | evaluated 368164 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 585413 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
- ...
|
) | 73060-953577 |
| 21 | ++executed 368164 times by 112 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 368164 times by 112 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
- ...
| 368164 |
| 22 | returnexecuted 658473 times by 112 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 658473 times by 112 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
- ...
| 658473 |
| 23 | } | - |
| 24 | | - |
| 25 | inline QStringRef next() { | - |
| 26 | int start = m_pos; | - |
| 27 | while (m_pos < m_len| TRUE | evaluated 3961329 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 43130 times by 90 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_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
&& m_data[m_pos] != m_splitChar| TRUE | evaluated 3636295 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 325034 times by 105 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
- ...
|
) | 43130-3961329 |
| 28 | ++executed 3636295 times by 112 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 3636295 times by 112 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
- ...
| 3636295 |
| 29 | returnexecuted 368164 times by 112 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 368164 times by 112 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
- ...
| 368164 |
| 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 1574670 times by 112 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 1574670 times by 112 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
- ...
} | 1574670 |
| 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 blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 16 |
| 57 | inline QResourceRoot(const uchar *t, const uchar *n, const uchar *d) { setSource(t, n, d); }executed 2579 times by 196 tests: end of blockExecuted 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
- ...
| 2579 |
| 58 | virtual ~QResourceRoot() { } | - |
| 59 | int findNode(const QString &path, const QLocale &locale=QLocale()) const; | - |
| 60 | inline bool isContainer(int node) const { returnexecuted 37103 times by 84 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 37103 times by 84 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
- ...
} | 37103 |
| 61 | inline bool isCompressed(int node) const { returnexecuted 36149 times by 84 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 36149 times by 84 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
- ...
} | 36149 |
| 62 | const uchar *data(int node, qint64 *size) const; | - |
| 63 | QStringList children(int node) const; | - |
| 64 | virtual QString mappingRoot() const { returnexecuted 262587 times by 112 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 262587 times by 112 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
- ...
} | 262587 |
| 65 | bool mappingRootSubdir(const QString &path, QString *match=0) const; | - |
| 66 | inline bool operator==(const QResourceRoot &other) const | - |
| 67 | { returnexecuted 1395 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| TRUE | evaluated 539 times by 185 testsEvaluated 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
- ...
| | FALSE | evaluated 856 times by 183 testsEvaluated by:- tst_QApplication
- 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
- tst_qcommandlinkbutton - unknown status
- ...
|
&& names == other.names| TRUE | evaluated 539 times by 185 testsEvaluated 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
- ...
| | FALSE | never evaluated |
&& payloads == other.payloads| TRUE | evaluated 539 times by 185 testsEvaluated 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
- ...
| | FALSE | never evaluated |
;executed 1395 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
- ...
} | 0-1395 |
| 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 2595 times by 198 tests: end of blockExecuted 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
- ...
| 2595 |
| 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 50384 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
- ...
|
) | 0-50384 |
| 87 | path.remove(0, 1); never executed: path.remove(0, 1); | 0 |
| 88 | returnexecuted 50384 times by 112 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 50384 times by 112 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
- ...
| 50384 |
| 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::Initialized| TRUE | 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 51890 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 51890 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-51890 |
| 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::Initialized| TRUE | 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 57362 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 57362 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-57362 |
| 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::Initialized| TRUE | evaluated 5 times by 5 testsEvaluated by:- tst_qimagereader - unknown status
- tst_qmovie - unknown status
- tst_qresourceengine - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 5 times by 5 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_qimagereader - unknown status
- tst_qmovie - unknown status
- tst_qresourceengine - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
}executed 5 times by 5 tests: end of blockExecuted by:- tst_qimagereader - unknown status
- tst_qmovie - unknown status
- tst_qresourceengine - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 88 times by 5 tests: return &holder.value;Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
- tst_QWidget_window
&holder.value;executed 88 times by 5 tests: return &holder.value;Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
- tst_QWidget_window
} } } static QGlobalStatic<QStringList, Q_QGS_resourceSearchPaths::innerFunction, Q_QGS_resourceSearchPaths::guard> resourceSearchPaths; | 0-88 |
| 99 | class QResourcePrivate { | - |
| 100 | public: | - |
| 101 | inline QResourcePrivate(QResource *_q) : q_ptr(_q) { clear(); }executed 44852 times by 112 tests: end of blockExecuted 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
- ...
| 44852 |
| 102 | inline ~QResourcePrivate() { clear(); }executed 44852 times by 113 tests: end of blockExecuted 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
- ...
| 44852 |
| 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 37103 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 134554 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) { | 37103-134554 |
| 133 | QResourceRoot *root = related.at(i); | - |
| 134 | if(!root->ref.deref()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 37102 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
- ...
|
) | 1-37102 |
| 135 | delete root;executed 1 time by 1 test: delete root; | 1 |
| 136 | }executed 37103 times by 85 tests: end of blockExecuted 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
- ...
| 37103 |
| 137 | related.clear(); | - |
| 138 | }executed 134554 times by 113 tests: end of blockExecuted 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
- ...
| 134554 |
| 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 150852 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 50211 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
- ...
|
; ++i) { | 50211-150852 |
| 148 | QResourceRoot *res = list->at(i); | - |
| 149 | const int node = res->findNode(cleaned, locale); | - |
| 150 | if(node != -1| TRUE | evaluated 37103 times by 84 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 113749 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
- ...
|
) { | 37103-113749 |
| 151 | if(related.isEmpty()| TRUE | evaluated 36894 times by 84 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 209 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QResourceEngine
|
) { | 209-36894 |
| 152 | container = res->isContainer(node); | - |
| 153 | if(!container| TRUE | evaluated 36149 times by 84 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 745 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 745-36149 |
| 154 | data = res->data(node, &size); | - |
| 155 | compressed = res->isCompressed(node); | - |
| 156 | }executed 36149 times by 84 tests: end of blockExecuted 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 { | 36149 |
| 157 | data = 0; | - |
| 158 | size = 0; | - |
| 159 | compressed = 0; | - |
| 160 | }executed 745 times by 8 tests: end of blockExecuted by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 745 |
| 161 | } else if(res->isContainer(node) != container| TRUE | never evaluated | | FALSE | evaluated 209 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QResourceEngine
|
) { | 0-209 |
| 162 | QMessageLogger(__FILE__, 272, __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 37103 times by 84 tests: end of blockExecuted 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 113749 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
- ...
|
) { | 0-113749 |
| 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 150852 times by 112 tests: end of blockExecuted 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
- ...
| 150852 |
| 175 | returnexecuted 50211 times by 112 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 50211 times by 112 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
- ...
| 50211 |
| 176 | } | - |
| 177 | | - |
| 178 | void | - |
| 179 | QResourcePrivate::ensureInitialized() const | - |
| 180 | { | - |
| 181 | if(!related.isEmpty()| TRUE | evaluated 387642 times by 84 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 50207 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
- ...
|
) | 50207-387642 |
| 182 | return;executed 387642 times by 84 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
- ...
| 387642 |
| 183 | QResourcePrivate *that = const_cast<QResourcePrivate *>(this); | - |
| 184 | if(fileName == QLatin1String(":")| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QDir
- tst_QResourceEngine
| | FALSE | evaluated 50196 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
- ...
|
) | 11-50196 |
| 185 | that->fileName += QLatin1Char('/');executed 11 times by 2 tests: that->fileName += QLatin1Char('/');Executed by:- tst_QDir
- tst_QResourceEngine
| 11 |
| 186 | that->absoluteFilePath = fileName; | - |
| 187 | if(!that->absoluteFilePath.startsWith(QLatin1Char(':'))| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 50205 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
- ...
|
) | 2-50205 |
| 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 50205 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 2 times by 1 test |
) | 2-50205 |
| 192 | path = path.mid(1);executed 50205 times by 112 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
- ...
| 50205 |
| 193 | | - |
| 194 | if(path.startsWith(QLatin1Char('/'))| TRUE | evaluated 50121 times by 110 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 86 times by 5 testsEvaluated by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
- tst_QWidget_window
|
) { | 86-50121 |
| 195 | that->load(path); | - |
| 196 | }executed 50121 times by 110 tests: end of blockExecuted 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 { | 50121 |
| 197 | QMutexLocker lock(resourceMutex()); | - |
| 198 | QStringList searchPaths = *resourceSearchPaths(); | - |
| 199 | searchPaths << QLatin1String(""); | - |
| 200 | for(int i = 0; i < searchPaths.size()| TRUE | evaluated 90 times by 5 testsEvaluated by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
- tst_QWidget_window
| | FALSE | evaluated 4 times by 1 test |
; ++i) { | 4-90 |
| 201 | const QString searchPath(searchPaths.at(i) + QLatin1Char('/') + path); | - |
| 202 | if(that->load(searchPath)| TRUE | evaluated 82 times by 4 testsEvaluated by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_QWidget_window
|
) { | 8-82 |
| 203 | that->absoluteFilePath = QLatin1Char(':') + searchPath; | - |
| 204 | break;executed 82 times by 4 tests: break;Executed by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
| 82 |
| 205 | } | - |
| 206 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_QResourceEngine
- tst_QWidget_window
| 8 |
| 207 | }executed 86 times by 5 tests: end of blockExecuted by:- tst_QImageReader
- tst_QMovie
- tst_QResourceEngine
- tst_QWidget
- tst_QWidget_window
| 86 |
| 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
|
|| !container| TRUE | 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 != -1| TRUE | 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 blockExecuted by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 511 |
| 239 | }executed 605 times by 6 tests: end of blockExecuted by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 605 |
| 240 | }executed 205 times by 6 tests: end of blockExecuted by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 205 |
| 241 | }executed 205 times by 6 tests: end of blockExecuted by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 205 |
| 242 | } | - |
| 243 | }executed 173 times by 6 tests: end of blockExecuted 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 44852 times by 112 tests: end of blockExecuted 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
- ...
| 44852 |
| 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 44849 times by 112 tests: end of blockExecuted 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
- ...
| 44849 |
| 279 | QString QResource::fileName() const | - |
| 280 | { | - |
| 281 | const QResourcePrivate * const d = d_func(); | - |
| 282 | d->ensureInitialized(); | - |
| 283 | returnexecuted 33453 times by 83 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 33453 times by 83 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
- ...
| 33453 |
| 284 | } | - |
| 285 | QString QResource::absoluteFilePath() const | - |
| 286 | { | - |
| 287 | const QResourcePrivate * const d = d_func(); | - |
| 288 | d->ensureInitialized(); | - |
| 289 | returnexecuted 1808 times by 46 tests: return d->absoluteFilePath;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
d->absoluteFilePath;executed 1808 times by 46 tests: return d->absoluteFilePath;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
| 1808 |
| 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 130130 times by 111 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 130130 times by 111 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
- ...
| 130130 |
| 303 | } | - |
| 304 | bool QResource::isCompressed() const | - |
| 305 | { | - |
| 306 | const QResourcePrivate * const d = d_func(); | - |
| 307 | d->ensureInitialized(); | - |
| 308 | returnexecuted 158193 times by 112 tests: return d->compressed;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->compressed;executed 158193 times by 112 tests: return d->compressed;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
- ...
| 158193 |
| 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 99540 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_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
d->size;executed 99540 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_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 99540 |
| 322 | } | - |
| 323 | const uchar *QResource::data() const | - |
| 324 | { | - |
| 325 | const QResourcePrivate * const d = d_func(); | - |
| 326 | d->ensureInitialized(); | - |
| 327 | returnexecuted 12720 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_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
d->data;executed 12720 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_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 12720 |
| 328 | } | - |
| 329 | bool QResource::isDir() const | - |
| 330 | { | - |
| 331 | const QResourcePrivate * const d = d_func(); | - |
| 332 | d->ensureInitialized(); | - |
| 333 | returnexecuted 1832 times by 42 tests: return d->container;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
d->container;executed 1832 times by 42 tests: return d->container;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 1832 |
| 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__, 554, __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(!node| TRUE | never evaluated | | FALSE | evaluated 955175 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
- ...
|
) | 0-955175 |
| 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 955175 times by 112 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 955175 times by 112 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
- ...
| 955175 |
| 368 | (names[name_offset+2] << 8) + (names[name_offset+3] << 0);executed 955175 times by 112 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
- ...
| 955175 |
| 369 | } | - |
| 370 | inline QString QResourceRoot::name(int node) const | - |
| 371 | { | - |
| 372 | if(!node| TRUE | never evaluated | | FALSE | evaluated 255247 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-255247 |
| 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*2| TRUE | evaluated 2843589 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 255247 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
- ...
|
; i+=2) { | 255247-2843589 |
| 387 | QChar c(names[name_offset+i+1], names[name_offset+i]); | - |
| 388 | *strData = c; | - |
| 389 | ++strData; | - |
| 390 | }executed 2843589 times by 85 tests: end of blockExecuted 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
- ...
| 2843589 |
| 391 | returnexecuted 255247 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 255247 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
- ...
| 255247 |
| 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 1068 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 149989 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
- ...
|
) { | 1068-149989 |
| 400 | if(root == path| TRUE | evaluated 65 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 1003 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 65-1003 |
| 401 | path = QLatin1Char('/'); | - |
| 402 | }executed 65 times by 2 tests: end of blockExecuted by:- tst_QResourceEngine
- tst_rcc
else { | 65 |
| 403 | if(!root.endsWith(QLatin1Char('/'))| TRUE | evaluated 1003 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | never evaluated |
) | 0-1003 |
| 404 | root += QLatin1Char('/');executed 1003 times by 2 tests: root += QLatin1Char('/');Executed by:- tst_QResourceEngine
- tst_rcc
| 1003 |
| 405 | if(path.size() >= root.size()| TRUE | evaluated 885 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 118 times by 1 test |
&& path.startsWith(root)| TRUE | evaluated 602 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 283 times by 1 test |
) | 118-885 |
| 406 | path = path.mid(root.length()-1);executed 602 times by 2 tests: path = path.mid(root.length()-1);Executed by:- tst_QResourceEngine
- tst_rcc
| 602 |
| 407 | if(path.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 1003 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 0-1003 |
| 408 | path = QLatin1Char('/'); never executed: path = QLatin1Char('/'); | 0 |
| 409 | }executed 1003 times by 2 tests: end of blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 1003 |
| 410 | } | - |
| 411 | } | - |
| 412 | | - |
| 413 | | - |
| 414 | | - |
| 415 | | - |
| 416 | if(path == QLatin1String("/")| TRUE | evaluated 142 times by 5 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 150915 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
- ...
|
) | 142-150915 |
| 417 | returnexecuted 142 times by 5 tests: return 0;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_rcc
0;executed 142 times by 5 tests: return 0;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_rcc
| 142 |
| 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_count| TRUE | evaluated 403831 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 | never evaluated |
&& splitter.hasNext()| TRUE | evaluated 368164 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 35667 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_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-403831 |
| 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 != l| TRUE | evaluated 261040 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 328096 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
- ...
|
) { | 261040-328096 |
| 444 | const uint sub_node_hash = hash(child+sub_node); | - |
| 445 | if(h == sub_node_hash| TRUE | evaluated 40068 times by 72 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 220972 times by 72 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
- ...
|
) | 40068-220972 |
| 446 | break;executed 40068 times by 72 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
- ...
| 40068 |
| 447 | else if(h < sub_node_hash| TRUE | evaluated 138355 times by 72 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 82617 times by 67 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
- ...
|
) | 82617-138355 |
| 448 | r = sub_node - 1;executed 138355 times by 72 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
- ...
| 138355 |
| 449 | else | - |
| 450 | l = sub_node;executed 82617 times by 67 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
- ...
| 82617 |
| 451 | sub_node = (l + r + 1) / 2; | - |
| 452 | }executed 220972 times by 72 tests: end of blockExecuted 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
- ...
| 220972 |
| 453 | sub_node += child; | - |
| 454 | | - |
| 455 | | - |
| 456 | bool found = false; | - |
| 457 | if(hash(sub_node) == h| TRUE | evaluated 254448 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 113716 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
- ...
|
) { | 113716-254448 |
| 458 | while(sub_node > child| TRUE | evaluated 40138 times by 72 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 214450 times by 84 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) == h| TRUE | evaluated 140 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 39998 times by 72 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-214450 |
| 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_count| TRUE | evaluated 285833 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 4476 times by 37 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) == h| TRUE | evaluated 254642 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 31191 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_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) { | 4476-285833 |
| 461 | if(name(sub_node) == segment| TRUE | evaluated 254642 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-254642 |
| 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 37393 times by 84 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 217249 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_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) { | 37393-217249 |
| 474 | if(!(flags & Directory)| TRUE | evaluated 36435 times by 84 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 958 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 958-36435 |
| 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 629 times by 7 testsEvaluated by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_rcc
- tst_selftests - unknown status
| | FALSE | evaluated 35806 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_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 574 times by 7 testsEvaluated by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_rcc
- tst_selftests - unknown status
| | FALSE | evaluated 55 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 55-35806 |
| 486 | | - |
| 487 | | - |
| 488 | | - |
| 489 | returnexecuted 574 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 574 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
| 574 |
| 490 | } else if((country == QLocale::AnyCountry| TRUE | evaluated 35787 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_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 74 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 35732 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_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-35787 |
| 491 | (country == QLocale::AnyCountry| TRUE | evaluated 35732 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_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 74 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
&& language == QLocale::C| TRUE | evaluated 35626 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_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 106 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
&& node == -1| TRUE | evaluated 35590 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_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-35732 |
| 492 | node = sub_node; | - |
| 493 | }executed 35645 times by 79 tests: end of blockExecuted 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
- ...
| 35645 |
| 494 | continue;executed 35861 times by 79 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
- ...
| 35861 |
| 495 | } else { | - |
| 496 | | - |
| 497 | | - |
| 498 | | - |
| 499 | | - |
| 500 | returnexecuted 958 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 958 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
| 958 |
| 501 | } | - |
| 502 | } | - |
| 503 | | - |
| 504 | if(!(flags & Directory)| TRUE | never evaluated | | FALSE | evaluated 217249 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_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- ...
|
) | 0-217249 |
| 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 217249 times by 79 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
- ...
| 217249 |
| 513 | } | - |
| 514 | } never executed: end of block | 0 |
| 515 | }executed 252916 times by 85 tests: end of blockExecuted 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
- ...
| 252916 |
| 516 | if(!found| TRUE | evaluated 113716 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 252916 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
- ...
|
) | 113716-252916 |
| 517 | break;executed 113716 times by 112 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
- ...
| 113716 |
| 518 | }executed 252916 times by 85 tests: end of blockExecuted 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
- ...
| 252916 |
| 519 | | - |
| 520 | | - |
| 521 | | - |
| 522 | returnexecuted 149383 times by 112 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 149383 times by 112 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
- ...
| 149383 |
| 523 | } | - |
| 524 | short QResourceRoot::flags(int node) const | - |
| 525 | { | - |
| 526 | if(node == -1| TRUE | never evaluated | | FALSE | evaluated 73252 times by 84 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-73252 |
| 527 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 528 | const int offset = findOffset(node) + 4; | - |
| 529 | returnexecuted 73252 times by 84 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 73252 times by 84 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
- ...
| 73252 |
| 530 | } | - |
| 531 | const uchar *QResourceRoot::data(int node, qint64 *size) const | - |
| 532 | { | - |
| 533 | if(node == -1| TRUE | never evaluated | | FALSE | evaluated 36149 times by 84 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-36149 |
| 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 36149 times by 84 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-36149 |
| 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 36149 times by 84 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 36149 times by 84 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
- ...
| 36149 |
| 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 == -1| TRUE | 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 & Directory| TRUE | 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_count| 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
|
; ++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 blockExecuted 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 367 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 113590 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
- ...
|
) { | 367-113590 |
| 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 88 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 279 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) { | 88-279 |
| 585 | int matched = 0; | - |
| 586 | for(int i = 0; i < path_segments.size()| TRUE | evaluated 85 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
; ++i) { | 18-85 |
| 587 | if(root_segments[i] != path_segments[i]| TRUE | evaluated 70 times by 1 test | | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
) | 15-70 |
| 588 | break;executed 70 times by 1 test: break; | 70 |
| 589 | ++matched; | - |
| 590 | }executed 15 times by 2 tests: end of blockExecuted 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 70 times by 1 test |
) { | 18-70 |
| 592 | if(match| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | never evaluated |
&& root_segments.size() > matched| TRUE | 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 70 times by 1 test: end of block | 70 |
| 597 | }executed 349 times by 2 tests: end of blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 349 |
| 598 | returnexecuted 113939 times by 112 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 113939 times by 112 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
- ...
| 113939 |
| 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 == 0x01| TRUE | evaluated 1202 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 1202 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-1202 |
| 606 | bool found = false; | - |
| 607 | QResourceRoot res(tree, name, data); | - |
| 608 | for(int i = 0; i < resourceList()->size()| TRUE | evaluated 497 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 1020 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) { | 497-1020 |
| 609 | if(*| TRUE | evaluated 182 times by 6 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
| | FALSE | evaluated 315 times by 5 testsEvaluated by:- tst_QApplication
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
resourceList()->at(i) == res| TRUE | evaluated 182 times by 6 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
| | FALSE | evaluated 315 times by 5 testsEvaluated by:- tst_QApplication
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 182-315 |
| 610 | found = true; | - |
| 611 | break;executed 182 times by 6 tests: break;Executed by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
| 182 |
| 612 | } | - |
| 613 | }executed 315 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 315 |
| 614 | if(!found| TRUE | evaluated 1020 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 182 times by 6 testsEvaluated by:- tst_QApplication
- tst_QMimeDatabase
- tst_QPrinter
- tst_qapplication - unknown status
- tst_qmimetype
- tst_qprocess - unknown status
|
) { | 182-1020 |
| 615 | QResourceRoot *root = new QResourceRoot(tree, name, data); | - |
| 616 | root->ref.ref(); | - |
| 617 | resourceList()->append(root); | - |
| 618 | }executed 1020 times by 15 tests: end of blockExecuted 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
| 1020 |
| 619 | returnexecuted 1202 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 1202 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
| 1202 |
| 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 == 0x01| TRUE | evaluated 357 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 357 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-357 |
| 629 | QResourceRoot res(tree, name, data); | - |
| 630 | for(int i = 0; i < resourceList()->size()| TRUE | evaluated 898 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 357 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
- ...
|
; ) { | 357-898 |
| 631 | if(*| TRUE | evaluated 357 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 541 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) == res| TRUE | evaluated 357 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 541 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
- ...
|
) { | 357-541 |
| 632 | QResourceRoot *root = resourceList()->takeAt(i); | - |
| 633 | if(!root->ref.deref()| TRUE | evaluated 357 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-357 |
| 634 | delete root;executed 357 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
- ...
| 357 |
| 635 | }executed 357 times by 181 tests: end of blockExecuted 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 { | 357 |
| 636 | ++i; | - |
| 637 | }executed 541 times by 181 tests: end of blockExecuted 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
- ...
| 541 |
| 638 | } | - |
| 639 | returnexecuted 357 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 357 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
- ...
| 357 |
| 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 blockExecuted 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 2447 times by 2 tests: return root;Executed by:- tst_QResourceEngine
- tst_rcc
root;executed 2447 times by 2 tests: return root;Executed by:- tst_QResourceEngine
- tst_rcc
} | 2447 |
| 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 >= 0| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | never evaluated |
&& size < 20| TRUE | 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 >= 0| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | never evaluated |
&& (tree_offset >= size| TRUE | never evaluated | | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| data_offset >= size| TRUE | never evaluated | | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
|
|| name_offset >= size| TRUE | 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 == 0x01| TRUE | 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 blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 16 |
| 718 | ~QDynamicFileResourceRoot() { | - |
| 719 | | - |
| 720 | if (unmapPointer| TRUE | 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 blockExecuted 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 >= 0| TRUE | 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 (ptr| TRUE | 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 blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 16 |
| 758 | }executed 16 times by 2 tests: end of blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 16 |
| 759 | ::close(fd); | - |
| 760 | }executed 16 times by 2 tests: end of blockExecuted by:- tst_QResourceEngine
- tst_rcc
| 16 |
| 761 | | - |
| 762 | if(!data| TRUE | 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 (!ok| TRUE | 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 (data| TRUE | 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(fromMM| TRUE | 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 blockExecuted 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 blockExecuted 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__, 1060, __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_File| TRUE | 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() == rccFilename| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QResourceEngine
- tst_rcc
| | FALSE | never evaluated |
&& root->mappingRoot() == r| TRUE | 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 blockExecuted 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__, 1131, __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_Buffer| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 874 | QDynamicBufferResourceRoot *root = reinterpret_cast<QDynamicBufferResourceRoot*>(res); | - |
| 875 | if (root->mappingBuffer() == rccData| TRUE | never evaluated | | FALSE | never evaluated |
&& root->mappingRoot() == r| TRUE | 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 | class QResourceFileEnginePrivate : public QAbstractFileEnginePrivate | - |
| 890 | { | - |
| 891 | protected: | - |
| 892 | 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; | - |
| 893 | private: | - |
| 894 | uchar *map(qint64 offset, qint64 size, QFile::MemoryMapFlags flags); | - |
| 895 | bool unmap(uchar *ptr); | - |
| 896 | qint64 offset; | - |
| 897 | QResource resource; | - |
| 898 | QByteArray uncompressed; | - |
| 899 | protected: | - |
| 900 | QResourceFileEnginePrivate() : offset(0) { }executed 44674 times by 112 tests: end of blockExecuted 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
- ...
| 44674 |
| 901 | }; | - |
| 902 | | - |
| 903 | bool QResourceFileEngine::mkdir(const QString &, bool) const | - |
| 904 | { | - |
| 905 | return never executed: return false; false;never executed: return false; | 0 |
| 906 | } | - |
| 907 | | - |
| 908 | bool QResourceFileEngine::rmdir(const QString &, bool) const | - |
| 909 | { | - |
| 910 | return never executed: return false; false;never executed: return false; | 0 |
| 911 | } | - |
| 912 | | - |
| 913 | bool QResourceFileEngine::setSize(qint64) | - |
| 914 | { | - |
| 915 | return never executed: return false; false;never executed: return false; | 0 |
| 916 | } | - |
| 917 | | - |
| 918 | QStringList QResourceFileEngine::entryList(QDir::Filters filters, const QStringList &filterNames) const | - |
| 919 | { | - |
| 920 | return never executed: return QAbstractFileEngine::entryList(filters, filterNames); QAbstractFileEngine::entryList(filters, filterNames);never executed: return QAbstractFileEngine::entryList(filters, filterNames); | 0 |
| 921 | } | - |
| 922 | | - |
| 923 | bool QResourceFileEngine::caseSensitive() const | - |
| 924 | { | - |
| 925 | return never executed: return true; true;never executed: return true; | 0 |
| 926 | } | - |
| 927 | | - |
| 928 | QResourceFileEngine::QResourceFileEngine(const QString &file) : | - |
| 929 | QAbstractFileEngine(*new QResourceFileEnginePrivate) | - |
| 930 | { | - |
| 931 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 932 | d->resource.setFileName(file); | - |
| 933 | if(d->resource.isCompressed()| TRUE | evaluated 663 times by 9 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| | FALSE | evaluated 44011 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
- ...
|
&& d->resource.size()| TRUE | evaluated 663 times by 9 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| | FALSE | never evaluated |
) { | 0-44011 |
| 934 | | - |
| 935 | d->uncompressed = qUncompress(d->resource.data(), d->resource.size()); | - |
| 936 | | - |
| 937 | | - |
| 938 | | - |
| 939 | }executed 663 times by 9 tests: end of blockExecuted by:- tst_QDirIterator
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| 663 |
| 940 | }executed 44674 times by 112 tests: end of blockExecuted 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
- ...
| 44674 |
| 941 | | - |
| 942 | QResourceFileEngine::~QResourceFileEngine() | - |
| 943 | { | - |
| 944 | } | - |
| 945 | | - |
| 946 | void QResourceFileEngine::setFileName(const QString &file) | - |
| 947 | { | - |
| 948 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 949 | d->resource.setFileName(file); | - |
| 950 | }executed 174 times by 6 tests: end of blockExecuted by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 174 |
| 951 | | - |
| 952 | bool QResourceFileEngine::open(QIODevice::OpenMode flags) | - |
| 953 | { | - |
| 954 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 955 | if (d->resource.fileName().isEmpty()| TRUE | never evaluated | | FALSE | evaluated 12301 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
- ...
|
) { | 0-12301 |
| 956 | QMessageLogger(__FILE__, 1250, __PRETTY_FUNCTION__).warning("QResourceFileEngine::open: Missing file name"); | - |
| 957 | return never executed: return false; false;never executed: return false; | 0 |
| 958 | } | - |
| 959 | if(flags & QIODevice::WriteOnly| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 12298 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
- ...
|
) | 3-12298 |
| 960 | returnexecuted 3 times by 1 test: return false; false;executed 3 times by 1 test: return false; | 3 |
| 961 | 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 12086 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
- ...
|
) { | 212-12086 |
| 962 | d->errorString = qt_error_string(2); | - |
| 963 | 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 |
| 964 | } | - |
| 965 | returnexecuted 12086 times by 80 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 12086 times by 80 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
- ...
| 12086 |
| 966 | } | - |
| 967 | | - |
| 968 | bool QResourceFileEngine::close() | - |
| 969 | { | - |
| 970 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 971 | d->offset = 0; | - |
| 972 | d->uncompressed.clear(); | - |
| 973 | returnexecuted 12086 times by 80 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 12086 times by 80 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
- ...
| 12086 |
| 974 | } | - |
| 975 | | - |
| 976 | bool QResourceFileEngine::flush() | - |
| 977 | { | - |
| 978 | returnexecuted 12086 times by 80 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 12086 times by 80 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
- ...
| 12086 |
| 979 | } | - |
| 980 | | - |
| 981 | qint64 QResourceFileEngine::read(char *data, qint64 len) | - |
| 982 | { | - |
| 983 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 984 | if(len > size()-d->offset| TRUE | evaluated 27845 times by 77 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 1709 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
|
) | 1709-27845 |
| 985 | len = size()-d->offset;executed 27845 times by 77 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
- ...
| 27845 |
| 986 | if(len <= 0| TRUE | evaluated 16479 times by 7 testsEvaluated by:- tst_QFile
- tst_QGraphicsScene
- tst_QImageReader
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkReply
- tst_QTemporaryFile
| | FALSE | evaluated 13075 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
- ...
|
) | 13075-16479 |
| 987 | returnexecuted 16479 times by 7 tests: return 0;Executed by:- tst_QFile
- tst_QGraphicsScene
- tst_QImageReader
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkReply
- tst_QTemporaryFile
0;executed 16479 times by 7 tests: return 0;Executed by:- tst_QFile
- tst_QGraphicsScene
- tst_QImageReader
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkReply
- tst_QTemporaryFile
| 16479 |
| 988 | if(d->resource.isCompressed()| TRUE | evaluated 1024 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| | FALSE | evaluated 12051 times by 78 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
- ...
|
) | 1024-12051 |
| 989 | memcpy(data, d->uncompressed.constData()+d->offset, len);executed 1024 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
| 1024 |
| 990 | else | - |
| 991 | memcpy(data, d->resource.data()+d->offset, len);executed 12051 times by 78 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
- ...
| 12051 |
| 992 | d->offset += len; | - |
| 993 | returnexecuted 13075 times by 80 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 13075 times by 80 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
- ...
| 13075 |
| 994 | } | - |
| 995 | | - |
| 996 | qint64 QResourceFileEngine::write(const char *, qint64) | - |
| 997 | { | - |
| 998 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 999 | } | - |
| 1000 | | - |
| 1001 | bool QResourceFileEngine::remove() | - |
| 1002 | { | - |
| 1003 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 1004 | } | - |
| 1005 | | - |
| 1006 | bool QResourceFileEngine::copy(const QString &) | - |
| 1007 | { | - |
| 1008 | returnexecuted 32 times by 3 tests: return false;Executed by:- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
false;executed 32 times by 3 tests: return false;Executed by:- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
| 32 |
| 1009 | } | - |
| 1010 | | - |
| 1011 | bool QResourceFileEngine::rename(const QString &) | - |
| 1012 | { | - |
| 1013 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 1014 | } | - |
| 1015 | | - |
| 1016 | bool QResourceFileEngine::link(const QString &) | - |
| 1017 | { | - |
| 1018 | return never executed: return false; false;never executed: return false; | 0 |
| 1019 | } | - |
| 1020 | | - |
| 1021 | qint64 QResourceFileEngine::size() const | - |
| 1022 | { | - |
| 1023 | const QResourceFileEnginePrivate * const d = d_func(); | - |
| 1024 | if(!d->resource.isValid()| TRUE | never evaluated | | FALSE | evaluated 100438 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
- ...
|
) | 0-100438 |
| 1025 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1026 | if(d->resource.isCompressed()| TRUE | evaluated 2231 times by 8 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_Selftests
- tst_rcc
| | FALSE | evaluated 98207 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_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
|
) | 2231-98207 |
| 1027 | returnexecuted 2231 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 2231 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
| 2231 |
| 1028 | returnexecuted 98207 times by 79 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 98207 times by 79 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
- ...
| 98207 |
| 1029 | } | - |
| 1030 | | - |
| 1031 | qint64 QResourceFileEngine::pos() const | - |
| 1032 | { | - |
| 1033 | const QResourceFileEnginePrivate * const d = d_func(); | - |
| 1034 | return never executed: return d->offset; d->offset;never executed: return d->offset; | 0 |
| 1035 | } | - |
| 1036 | | - |
| 1037 | bool QResourceFileEngine::atEnd() const | - |
| 1038 | { | - |
| 1039 | const QResourceFileEnginePrivate * const d = d_func(); | - |
| 1040 | if(!d->resource.isValid()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1041 | return never executed: return true; true;never executed: return true; | 0 |
| 1042 | return never executed: return d->offset == size(); d->offset == size();never executed: return d->offset == size(); | 0 |
| 1043 | } | - |
| 1044 | | - |
| 1045 | bool QResourceFileEngine::seek(qint64 pos) | - |
| 1046 | { | - |
| 1047 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 1048 | if(!d->resource.isValid()| TRUE | never evaluated | | FALSE | evaluated 10388 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_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-10388 |
| 1049 | return never executed: return false; false;never executed: return false; | 0 |
| 1050 | | - |
| 1051 | if(d->offset > size()| TRUE | never evaluated | | FALSE | evaluated 10388 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_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-10388 |
| 1052 | return never executed: return false; false;never executed: return false; | 0 |
| 1053 | d->offset = pos; | - |
| 1054 | returnexecuted 10388 times by 68 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 10388 times by 68 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
- ...
| 10388 |
| 1055 | } | - |
| 1056 | | - |
| 1057 | bool QResourceFileEngine::isSequential() const | - |
| 1058 | { | - |
| 1059 | returnexecuted 52510 times by 80 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 52510 times by 80 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
- ...
| 52510 |
| 1060 | } | - |
| 1061 | | - |
| 1062 | QAbstractFileEngine::FileFlags QResourceFileEngine::fileFlags(QAbstractFileEngine::FileFlags type) const | - |
| 1063 | { | - |
| 1064 | const QResourceFileEnginePrivate * const d = d_func(); | - |
| 1065 | QAbstractFileEngine::FileFlags ret = 0; | - |
| 1066 | if(!d->resource.isValid()| TRUE | evaluated 4832 times by 59 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 1993 times by 46 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
|
) | 1993-4832 |
| 1067 | returnexecuted 4832 times by 59 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 4832 times by 59 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
- ...
| 4832 |
| 1068 | | - |
| 1069 | if(type & PermsMask| TRUE | evaluated 117 times by 6 testsEvaluated by:- tst_QFile
- tst_QFileInfo
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTranslator
| | FALSE | evaluated 1876 times by 46 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
|
) | 117-1876 |
| 1070 | ret |= QAbstractFileEngine::FileFlags(ReadOwnerPerm|ReadUserPerm|ReadGroupPerm|ReadOtherPerm);executed 117 times by 6 tests: ret |= QAbstractFileEngine::FileFlags(ReadOwnerPerm|ReadUserPerm|ReadGroupPerm|ReadOtherPerm);Executed by:- tst_QFile
- tst_QFileInfo
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTranslator
| 117 |
| 1071 | if(type & TypesMask| TRUE | evaluated 1832 times by 42 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| | FALSE | evaluated 161 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
|
) { | 161-1832 |
| 1072 | if(d->resource.isDir()| TRUE | evaluated 282 times by 7 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_rcc
| | FALSE | evaluated 1550 times by 42 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
|
) | 282-1550 |
| 1073 | ret |= DirectoryType;executed 282 times by 7 tests: ret |= DirectoryType;Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSelector
- tst_QIcon
- tst_QResourceEngine
- tst_rcc
| 282 |
| 1074 | else | - |
| 1075 | ret |= FileType;executed 1550 times by 42 tests: ret |= FileType;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 1550 |
| 1076 | } | - |
| 1077 | if(type & FlagsMask| TRUE | evaluated 1806 times by 46 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
| | FALSE | evaluated 187 times by 8 testsEvaluated by:- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QTranslator
- tst_rcc
|
) { | 187-1806 |
| 1078 | ret |= ExistsFlag; | - |
| 1079 | if(d->resource.absoluteFilePath() == QLatin1String(":/")| TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QResourceEngine
| | FALSE | evaluated 1802 times by 46 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
|
) | 4-1802 |
| 1080 | ret |= RootFlag;executed 4 times by 3 tests: ret |= RootFlag;Executed by:- tst_QDir
- tst_QFileInfo
- tst_QResourceEngine
| 4 |
| 1081 | }executed 1806 times by 46 tests: end of blockExecuted by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
| 1806 |
| 1082 | returnexecuted 1993 times by 46 tests: return ret;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
ret;executed 1993 times by 46 tests: return ret;Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QKeySequence
- tst_QLineEdit
- tst_QMdiSubWindow
- ...
| 1993 |
| 1083 | } | - |
| 1084 | | - |
| 1085 | bool QResourceFileEngine::setPermissions(uint) | - |
| 1086 | { | - |
| 1087 | return never executed: return false; false;never executed: return false; | 0 |
| 1088 | } | - |
| 1089 | | - |
| 1090 | QString QResourceFileEngine::fileName(FileName file) const | - |
| 1091 | { | - |
| 1092 | const QResourceFileEnginePrivate * const d = d_func(); | - |
| 1093 | if(file == BaseName| TRUE | never evaluated | | FALSE | evaluated 21154 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_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- ...
|
) { | 0-21154 |
| 1094 | int slash = d->resource.fileName().lastIndexOf(QLatin1Char('/')); | - |
| 1095 | if (slash == -1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1096 | return never executed: return d->resource.fileName(); d->resource.fileName();never executed: return d->resource.fileName(); | 0 |
| 1097 | 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 |
| 1098 | } else if(file == PathName| TRUE | never evaluated | | FALSE | evaluated 21154 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_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- ...
|
|| file == AbsolutePathName| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 21153 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_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-21154 |
| 1099 | 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 |
| 1100 | const int slash = path.lastIndexOf(QLatin1Char('/')); | - |
| 1101 | if (slash == -1| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 1102 | return never executed: return QLatin1String(":"); QLatin1String(":");never executed: return QLatin1String(":"); | 0 |
| 1103 | else if (slash <= 1| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 1104 | return never executed: return QLatin1String(":/"); QLatin1String(":/");never executed: return QLatin1String(":/"); | 0 |
| 1105 | returnexecuted 1 time by 1 test: return path.left(slash); path.left(slash);executed 1 time by 1 test: return path.left(slash); | 1 |
| 1106 | | - |
| 1107 | } else if(file == CanonicalName| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 21152 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_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 == CanonicalPathName| TRUE | never evaluated | | FALSE | evaluated 21152 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_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-21152 |
| 1108 | const QString absoluteFilePath = d->resource.absoluteFilePath(); | - |
| 1109 | if(file == CanonicalPathName| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) { | 0-1 |
| 1110 | const int slash = absoluteFilePath.lastIndexOf(QLatin1Char('/')); | - |
| 1111 | if (slash != -1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1112 | return never executed: return absoluteFilePath.left(slash); absoluteFilePath.left(slash);never executed: return absoluteFilePath.left(slash); | 0 |
| 1113 | } never executed: end of block | 0 |
| 1114 | returnexecuted 1 time by 1 test: return absoluteFilePath; absoluteFilePath;executed 1 time by 1 test: return absoluteFilePath; | 1 |
| 1115 | } | - |
| 1116 | returnexecuted 21152 times by 69 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 21152 times by 69 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
- ...
| 21152 |
| 1117 | } | - |
| 1118 | | - |
| 1119 | bool QResourceFileEngine::isRelativePath() const | - |
| 1120 | { | - |
| 1121 | 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 |
| 1122 | } | - |
| 1123 | | - |
| 1124 | uint QResourceFileEngine::ownerId(FileOwner) const | - |
| 1125 | { | - |
| 1126 | static const uint nobodyID = (uint) -2; | - |
| 1127 | return never executed: return nobodyID; nobodyID;never executed: return nobodyID; | 0 |
| 1128 | } | - |
| 1129 | | - |
| 1130 | QString QResourceFileEngine::owner(FileOwner) const | - |
| 1131 | { | - |
| 1132 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 1133 | } | - |
| 1134 | | - |
| 1135 | QDateTime QResourceFileEngine::fileTime(FileTime) const | - |
| 1136 | { | - |
| 1137 | returnexecuted 1007 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 1007 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
- ...
| 1007 |
| 1138 | } | - |
| 1139 | | - |
| 1140 | | - |
| 1141 | | - |
| 1142 | | - |
| 1143 | QAbstractFileEngine::Iterator *QResourceFileEngine::beginEntryList(QDir::Filters filters, | - |
| 1144 | const QStringList &filterNames) | - |
| 1145 | { | - |
| 1146 | 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 |
| 1147 | } | - |
| 1148 | | - |
| 1149 | | - |
| 1150 | | - |
| 1151 | | - |
| 1152 | QAbstractFileEngine::Iterator *QResourceFileEngine::endEntryList() | - |
| 1153 | { | - |
| 1154 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1155 | } | - |
| 1156 | | - |
| 1157 | bool QResourceFileEngine::extension(Extension extension, const ExtensionOption *option, ExtensionReturn *output) | - |
| 1158 | { | - |
| 1159 | QResourceFileEnginePrivate * const d = d_func(); | - |
| 1160 | if (extension == MapExtension| TRUE | evaluated 10 times by 2 tests | | FALSE | evaluated 9 times by 1 test |
) { | 9-10 |
| 1161 | const MapExtensionOption *options = (const MapExtensionOption*)(option); | - |
| 1162 | MapExtensionReturn *returnValue = static_cast<MapExtensionReturn*>(output); | - |
| 1163 | returnValue->address = d->map(options->offset, options->size, options->flags); | - |
| 1164 | returnexecuted 10 times by 2 tests: return (returnValue->address != 0); (returnValue->address != 0);executed 10 times by 2 tests: return (returnValue->address != 0); | 10 |
| 1165 | } | - |
| 1166 | if (extension == UnMapExtension| TRUE | evaluated 9 times by 1 test | | FALSE | never evaluated |
) { | 0-9 |
| 1167 | const UnMapExtensionOption *options = (const UnMapExtensionOption*)option; | - |
| 1168 | 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 |
| 1169 | } | - |
| 1170 | return never executed: return false; false;never executed: return false; | 0 |
| 1171 | } | - |
| 1172 | | - |
| 1173 | bool QResourceFileEngine::supportsExtension(Extension extension) const | - |
| 1174 | { | - |
| 1175 | returnexecuted 320 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| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 311 times by 6 testsEvaluated by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkReply
|
|| extension == MapExtension| TRUE | evaluated 10 times by 2 tests | | FALSE | evaluated 301 times by 5 testsEvaluated by:- tst_QFile
- tst_QFileInfo
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkReply
|
);executed 320 times by 6 tests: return (extension == UnMapExtension || extension == MapExtension);Executed by:- tst_QFile
- tst_QFileInfo
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkReply
| 9-320 |
| 1176 | } | - |
| 1177 | | - |
| 1178 | uchar *QResourceFileEnginePrivate::map(qint64 offset, qint64 size, QFile::MemoryMapFlags flags) | - |
| 1179 | { | - |
| 1180 | QResourceFileEngine * const q = q_func(); | - |
| 1181 | (void)flags;; | - |
| 1182 | if (offset < 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 8 times by 2 tests |
|| size <= 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 2 tests |
|| !resource.isValid()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3 times by 2 tests |
|| offset + size > resource.size()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 2 tests |
) { | 1-8 |
| 1183 | q->setError(QFile::UnspecifiedError, QString()); | - |
| 1184 | returnexecuted 8 times by 1 test: return 0; 0;executed 8 times by 1 test: return 0; | 8 |
| 1185 | } | - |
| 1186 | uchar *address = const_cast<uchar *>(resource.data()); | - |
| 1187 | returnexecuted 2 times by 2 tests: return (address + offset); (address + offset);executed 2 times by 2 tests: return (address + offset); | 2 |
| 1188 | } | - |
| 1189 | | - |
| 1190 | bool QResourceFileEnginePrivate::unmap(uchar *ptr) | - |
| 1191 | { | - |
| 1192 | (void)ptr;; | - |
| 1193 | returnexecuted 9 times by 1 test: return true; true;executed 9 times by 1 test: return true; | 9 |
| 1194 | } | - |
| 1195 | | - |
| 1196 | | - |
| | |