| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | static long qt_find_pattern(const char *s, ulong s_len, | - |
| 12 | const char *pattern, ulong p_len) | - |
| 13 | { | - |
| 14 | if (! s| TRUE | never evaluated | | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
|| ! pattern| TRUE | never evaluated | | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
|| p_len > s_len| TRUE | never evaluated | | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) returnnever executed: return -1; -1;never executed: return -1; | 0-676 |
| 15 | ulong i, hs = 0, hp = 0, delta = s_len - p_len; | - |
| 16 | | - |
| 17 | for (i = 0; i < p_len| TRUE | evaluated 8112 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
; ++i) { | 676-8112 |
| 18 | hs += s[delta + i]; | - |
| 19 | hp += pattern[i]; | - |
| 20 | }executed 8112 times by 111 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 8112 |
| 21 | i = delta; | - |
| 22 | for (;;) { | - |
| 23 | if (hs == hp| TRUE | evaluated 689 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 182131 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
&& qstrncmp(s + i, pattern, p_len) == 0| TRUE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 13 times by 9 testsEvaluated by:- tst_QGuiApplication
- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlThread
|
) | 13-182131 |
| 24 | returnexecuted 676 times by 111 tests: return i;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
i;executed 676 times by 111 tests: return i;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 676 |
| 25 | if (i == 0| TRUE | never evaluated | | FALSE | evaluated 182144 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) | 0-182144 |
| 26 | break; never executed: break; | 0 |
| 27 | --i; | - |
| 28 | hs -= s[i + p_len]; | - |
| 29 | hs += s[i]; | - |
| 30 | }executed 182144 times by 111 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 182144 |
| 31 | | - |
| 32 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 33 | } | - |
| 34 | static bool findPatternUnloaded(const QString &library, QLibraryPrivate *lib) | - |
| 35 | { | - |
| 36 | QFile file(library); | - |
| 37 | if (!file.open(QIODevice::ReadOnly)| TRUE | never evaluated | | FALSE | evaluated 1396 times by 113 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 0-1396 |
| 38 | if (lib| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 39 | lib->errorString = file.errorString(); never executed: lib->errorString = file.errorString(); | 0 |
| 40 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 41 | QMessageLogger(__FILE__, 240, __PRETTY_FUNCTION__).warning("%s: %s", (const char*) QFile::encodeName(library), | - |
| 42 | QString(qt_error_string((*__errno_location ()))).toLocal8Bit().constData()); | - |
| 43 | } never executed: end of block | 0 |
| 44 | return never executed: return false; false;never executed: return false; | 0 |
| 45 | } | - |
| 46 | | - |
| 47 | QByteArray data; | - |
| 48 | const char *filedata = 0; | - |
| 49 | ulong fdlen = file.size(); | - |
| 50 | filedata = (char *) file.map(0, fdlen); | - |
| 51 | if (filedata == 0| TRUE | never evaluated | | FALSE | evaluated 1396 times by 113 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 0-1396 |
| 52 | | - |
| 53 | data = file.readAll(); | - |
| 54 | filedata = data.constData(); | - |
| 55 | fdlen = data.size(); | - |
| 56 | } never executed: end of block | 0 |
| 57 | | - |
| 58 | | - |
| 59 | | - |
| 60 | | - |
| 61 | bool hasMetaData = false; | - |
| 62 | long pos = 0; | - |
| 63 | char pattern[] = "qTMETADATA "; | - |
| 64 | pattern[0] = 'Q'; | - |
| 65 | const ulong plen = qstrlen(pattern); | - |
| 66 | | - |
| 67 | int r = QElfParser().parse(filedata, fdlen, library, lib, &pos, &fdlen); | - |
| 68 | if (r == QElfParser::Corrupt| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 1393 times by 113 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
|| r == QElfParser::NotElf| TRUE | evaluated 716 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 677 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 3-1393 |
| 69 | if (lib| TRUE | evaluated 719 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | never evaluated |
&& qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 719 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 0-719 |
| 70 | QMessageLogger(__FILE__, 269, __PRETTY_FUNCTION__).warning("QElfParser: %s",QString(lib->errorString).toLocal8Bit().constData()); | - |
| 71 | } never executed: end of block | 0 |
| 72 | returnexecuted 719 times by 112 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
false;executed 719 times by 112 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 719 |
| 73 | } else if (r == QElfParser::QtMetaDataSection| TRUE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 1 time by 1 test |
) { | 1-676 |
| 74 | long rel = qt_find_pattern(filedata + pos, fdlen, pattern, plen); | - |
| 75 | if (rel < 0| TRUE | never evaluated | | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) | 0-676 |
| 76 | pos = -1; never executed: pos = -1; | 0 |
| 77 | else | - |
| 78 | pos += rel;executed 676 times by 111 tests: pos += rel;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 676 |
| 79 | hasMetaData = true; | - |
| 80 | }executed 676 times by 111 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 676 |
| 81 | bool ret = false; | - |
| 82 | | - |
| 83 | if (pos >= 0| TRUE | evaluated 677 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | never evaluated |
) { | 0-677 |
| 84 | if (hasMetaData| TRUE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 1 time by 1 test |
) { | 1-676 |
| 85 | const char *data = filedata + pos; | - |
| 86 | QJsonDocument doc = qJsonFromRawLibraryMetaData(data); | - |
| 87 | lib->metaData = doc.object(); | - |
| 88 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) | 0-676 |
| 89 | QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("Found metadata in lib %s, metadata=\n%s\n", never executed: QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("Found metadata in lib %s, metadata=\n%s\n", library.toLocal8Bit().constData(), doc.toJson().constData()); | 0 |
| 90 | library.toLocal8Bit().constData(), doc.toJson().constData()); never executed: QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("Found metadata in lib %s, metadata=\n%s\n", library.toLocal8Bit().constData(), doc.toJson().constData()); | 0 |
| 91 | ret = !doc.isNull(); | - |
| 92 | }executed 676 times by 111 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 676 |
| 93 | }executed 677 times by 111 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 677 |
| 94 | | - |
| 95 | if (!ret| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 676 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
&& lib| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-676 |
| 96 | lib->errorString = QLibrary::tr("Failed to extract plugin meta data from '%1'").arg(library);executed 1 time by 1 test: lib->errorString = QLibrary::tr("Failed to extract plugin meta data from '%1'").arg(library); | 1 |
| 97 | file.close(); | - |
| 98 | returnexecuted 677 times by 111 tests: return ret;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
ret;executed 677 times by 111 tests: return ret;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 677 |
| 99 | } | - |
| 100 | | - |
| 101 | static void installCoverageTool(QLibraryPrivate *libPrivate) | - |
| 102 | { | - |
| 103 | int ret = __coveragescanner_register_library(libPrivate->fileName.toLocal8Bit()); | - |
| 104 | | - |
| 105 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 524 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) { | 0-524 |
| 106 | if (ret >= 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 107 | QMessageLogger(__FILE__, 346, __PRETTY_FUNCTION__).debug("coverage data for %s registered", | - |
| 108 | QString(libPrivate->fileName).toLocal8Bit().constData()); | - |
| 109 | } never executed: end of block else { | 0 |
| 110 | QMessageLogger(__FILE__, 349, __PRETTY_FUNCTION__).warning("could not register %s: error %d; coverage data may be incomplete", | - |
| 111 | QString(libPrivate->fileName).toLocal8Bit().constData(), | - |
| 112 | ret); | - |
| 113 | } never executed: end of block | 0 |
| 114 | } | - |
| 115 | | - |
| 116 | | - |
| 117 | | - |
| 118 | }executed 524 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 524 |
| 119 | | - |
| 120 | class QLibraryStore | - |
| 121 | { | - |
| 122 | public: | - |
| 123 | inline ~QLibraryStore(); | - |
| 124 | static inline QLibraryPrivate *findOrCreate(const QString &fileName, const QString &version, QLibrary::LoadHints loadHints); | - |
| 125 | static inline void releaseLibrary(QLibraryPrivate *lib); | - |
| 126 | | - |
| 127 | static inline void cleanup(); | - |
| 128 | | - |
| 129 | private: | - |
| 130 | static inline QLibraryStore *instance(); | - |
| 131 | | - |
| 132 | | - |
| 133 | typedef QMap<QString, QLibraryPrivate*> LibraryMap; | - |
| 134 | LibraryMap libraryMap; | - |
| 135 | }; | - |
| 136 | | - |
| 137 | static QBasicMutex qt_library_mutex; | - |
| 138 | static QLibraryStore *qt_library_data = 0; | - |
| 139 | static bool qt_library_data_once; | - |
| 140 | | - |
| 141 | QLibraryStore::~QLibraryStore() | - |
| 142 | { | - |
| 143 | qt_library_data = 0; | - |
| 144 | } never executed: end of block | 0 |
| 145 | | - |
| 146 | inline void QLibraryStore::cleanup() | - |
| 147 | { | - |
| 148 | QLibraryStore *data = qt_library_data; | - |
| 149 | if (!data| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 150 | return; never executed: return; | 0 |
| 151 | | - |
| 152 | | - |
| 153 | LibraryMap::Iterator it = data->libraryMap.begin(); | - |
| 154 | for (; it != data->libraryMap.end()| TRUE | never evaluated | | FALSE | never evaluated |
; ++it) { | 0 |
| 155 | QLibraryPrivate *lib = it.value(); | - |
| 156 | if (lib->libraryRefCount.load() == 1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 157 | if (lib->libraryUnloadCount.load() > 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 158 | ((!(lib->pHnd)) ? qt_assert("lib->pHnd",__FILE__,397) : qt_noop()); | - |
| 159 | lib->libraryUnloadCount.store(1); | - |
| 160 | | - |
| 161 | | - |
| 162 | | - |
| 163 | | - |
| 164 | lib->unload(QLibraryPrivate::NoUnloadSys); | - |
| 165 | | - |
| 166 | | - |
| 167 | | - |
| 168 | } never executed: end of block | 0 |
| 169 | delete lib; | - |
| 170 | it.value() = 0; | - |
| 171 | } never executed: end of block | 0 |
| 172 | } never executed: end of block | 0 |
| 173 | | - |
| 174 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 175 | | - |
| 176 | for (QLibraryPrivate *lib : qAsConst(data->libraryMap)) { | - |
| 177 | if (lib| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 178 | QMessageLogger(__FILE__, 417, __PRETTY_FUNCTION__).debug() << "On QtCore unload," << lib->fileName << "was leaked, with" never executed: QMessageLogger(__FILE__, 417, __PRETTY_FUNCTION__).debug() << "On QtCore unload," << lib->fileName << "was leaked, with" << lib->libraryRefCount.load() << "users"; | 0 |
| 179 | << lib->libraryRefCount.load() << "users"; never executed: QMessageLogger(__FILE__, 417, __PRETTY_FUNCTION__).debug() << "On QtCore unload," << lib->fileName << "was leaked, with" << lib->libraryRefCount.load() << "users"; | 0 |
| 180 | } never executed: end of block | 0 |
| 181 | } never executed: end of block | 0 |
| 182 | | - |
| 183 | delete data; | - |
| 184 | } never executed: end of block | 0 |
| 185 | | - |
| 186 | static void qlibraryCleanup() | - |
| 187 | { | - |
| 188 | QLibraryStore::cleanup(); | - |
| 189 | } never executed: end of block | 0 |
| 190 | namespace { static const struct qlibraryCleanup_dtor_class_ { inline qlibraryCleanup_dtor_class_() { } inline ~ qlibraryCleanup_dtor_class_() { qlibraryCleanup(); } never executed: end of block } qlibraryCleanup_dtor_instance_; } | 0 |
| 191 | | - |
| 192 | | - |
| 193 | QLibraryStore *QLibraryStore::instance() | - |
| 194 | { | - |
| 195 | if (__builtin_expect(!!(!qt_library_data_once && !qt_library_data), false)| TRUE | evaluated 77 times by 48 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImage
- tst_QNetworkAccessManager
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPlugin
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- ...
| | FALSE | evaluated 5254 times by 377 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) { | 77-5254 |
| 196 | | - |
| 197 | qt_library_data = new QLibraryStore; | - |
| 198 | qt_library_data_once = true; | - |
| 199 | }executed 77 times by 48 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImage
- tst_QNetworkAccessManager
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPlugin
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- ...
| 77 |
| 200 | returnexecuted 5331 times by 377 tests: return qt_library_data;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
qt_library_data;executed 5331 times by 377 tests: return qt_library_data;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 5331 |
| 201 | } | - |
| 202 | | - |
| 203 | inline QLibraryPrivate *QLibraryStore::findOrCreate(const QString &fileName, const QString &version, | - |
| 204 | QLibrary::LoadHints loadHints) | - |
| 205 | { | - |
| 206 | QMutexLocker locker(&qt_library_mutex); | - |
| 207 | QLibraryStore *data = instance(); | - |
| 208 | | - |
| 209 | | - |
| 210 | QLibraryPrivate *lib = 0; | - |
| 211 | if (__builtin_expect(!!(data), true)| TRUE | evaluated 1600 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
) { | 0-1600 |
| 212 | lib = data->libraryMap.value(fileName); | - |
| 213 | if (lib| TRUE | evaluated 62 times by 19 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| | FALSE | evaluated 1538 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) | 62-1538 |
| 214 | lib->mergeLoadHints(loadHints);executed 62 times by 19 tests: lib->mergeLoadHints(loadHints);Executed by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| 62 |
| 215 | }executed 1600 times by 136 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 1600 |
| 216 | if (!lib| TRUE | evaluated 1538 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 62 times by 19 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
|
) | 62-1538 |
| 217 | lib = new QLibraryPrivate(fileName, version, loadHints);executed 1538 times by 136 tests: lib = new QLibraryPrivate(fileName, version, loadHints);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 1538 |
| 218 | | - |
| 219 | | - |
| 220 | if (__builtin_expect(!!(data), true)| TRUE | evaluated 1600 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
&& !fileName.isEmpty()| TRUE | evaluated 1594 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
|
) | 0-1600 |
| 221 | data->libraryMap.insert(fileName, lib);executed 1594 times by 136 tests: data->libraryMap.insert(fileName, lib);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 1594 |
| 222 | | - |
| 223 | lib->libraryRefCount.ref(); | - |
| 224 | returnexecuted 1600 times by 136 tests: return lib;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
lib;executed 1600 times by 136 tests: return lib;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 1600 |
| 225 | } | - |
| 226 | | - |
| 227 | inline void QLibraryStore::releaseLibrary(QLibraryPrivate *lib) | - |
| 228 | { | - |
| 229 | QMutexLocker locker(&qt_library_mutex); | - |
| 230 | QLibraryStore *data = instance(); | - |
| 231 | | - |
| 232 | if (lib->libraryRefCount.deref()| TRUE | evaluated 158 times by 57 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPlugin
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- ...
| | FALSE | evaluated 3573 times by 355 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 158-3573 |
| 233 | | - |
| 234 | return;executed 158 times by 57 tests: return;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPlugin
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- ...
| 158 |
| 235 | } | - |
| 236 | | - |
| 237 | | - |
| 238 | ((!(lib->libraryUnloadCount.load() == 0)) ? qt_assert("lib->libraryUnloadCount.load() == 0",__FILE__,477) : qt_noop()); | - |
| 239 | | - |
| 240 | if (__builtin_expect(!!(data), true)| TRUE | evaluated 3573 times by 355 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | never evaluated |
&& !lib->fileName.isEmpty()| TRUE | evaluated 3567 times by 355 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
|
) { | 0-3573 |
| 241 | QLibraryPrivate *that = data->libraryMap.take(lib->fileName); | - |
| 242 | ((!(lib == that)) ? qt_assert("lib == that",__FILE__,481) : qt_noop()); | - |
| 243 | (void)that;; | - |
| 244 | }executed 3567 times by 355 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 3567 |
| 245 | delete lib; | - |
| 246 | }executed 3573 times by 355 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 3573 |
| 247 | | - |
| 248 | QLibraryPrivate::QLibraryPrivate(const QString &canonicalFileName, const QString &version, QLibrary::LoadHints loadHints) | - |
| 249 | : pHnd(0), fileName(canonicalFileName), fullVersion(version), instance(0), | - |
| 250 | libraryRefCount(0), libraryUnloadCount(0), pluginState(MightBeAPlugin) | - |
| 251 | { | - |
| 252 | loadHintsInt.store(loadHints); | - |
| 253 | if (canonicalFileName.isEmpty()| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
| | FALSE | evaluated 1532 times by 136 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) | 6-1532 |
| 254 | errorString = QLibrary::tr("The shared library was not found.");executed 6 times by 2 tests: errorString = QLibrary::tr("The shared library was not found.");Executed by:- tst_QLibrary
- tst_QPluginLoader
| 6 |
| 255 | }executed 1538 times by 136 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 1538 |
| 256 | | - |
| 257 | QLibraryPrivate *QLibraryPrivate::findOrCreate(const QString &fileName, const QString &version, | - |
| 258 | QLibrary::LoadHints loadHints) | - |
| 259 | { | - |
| 260 | returnexecuted 1600 times by 136 tests: return QLibraryStore::findOrCreate(fileName, version, loadHints);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
QLibraryStore::findOrCreate(fileName, version, loadHints);executed 1600 times by 136 tests: return QLibraryStore::findOrCreate(fileName, version, loadHints);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 1600 |
| 261 | } | - |
| 262 | | - |
| 263 | QLibraryPrivate::~QLibraryPrivate() | - |
| 264 | { | - |
| 265 | } | - |
| 266 | | - |
| 267 | void QLibraryPrivate::mergeLoadHints(QLibrary::LoadHints lh) | - |
| 268 | { | - |
| 269 | | - |
| 270 | if (pHnd| TRUE | evaluated 110 times by 19 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| | FALSE | evaluated 689 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) | 110-689 |
| 271 | return;executed 110 times by 19 tests: return;Executed by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| 110 |
| 272 | | - |
| 273 | loadHintsInt.store(lh); | - |
| 274 | }executed 689 times by 112 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 689 |
| 275 | | - |
| 276 | QFunctionPointer QLibraryPrivate::resolve(const char *symbol) | - |
| 277 | { | - |
| 278 | if (!pHnd| TRUE | never evaluated | | FALSE | evaluated 3627 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) | 0-3627 |
| 279 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 280 | returnexecuted 3627 times by 134 tests: return resolve_sys(symbol);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
resolve_sys(symbol);executed 3627 times by 134 tests: return resolve_sys(symbol);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 3627 |
| 281 | } | - |
| 282 | | - |
| 283 | void QLibraryPrivate::setLoadHints(QLibrary::LoadHints lh) | - |
| 284 | { | - |
| 285 | | - |
| 286 | QMutexLocker lock(&qt_library_mutex); | - |
| 287 | mergeLoadHints(lh); | - |
| 288 | }executed 737 times by 114 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 737 |
| 289 | | - |
| 290 | bool QLibraryPrivate::load() | - |
| 291 | { | - |
| 292 | if (pHnd| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
| | FALSE | evaluated 530 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) { | 2-530 |
| 293 | libraryUnloadCount.ref(); | - |
| 294 | returnexecuted 2 times by 2 tests: return true;Executed by:- tst_QLibrary
- tst_QPluginLoader
true;executed 2 times by 2 tests: return true;Executed by:- tst_QLibrary
- tst_QPluginLoader
| 2 |
| 295 | } | - |
| 296 | if (fileName.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 530 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) | 0-530 |
| 297 | return never executed: return false; false;never executed: return false; | 0 |
| 298 | | - |
| 299 | bool ret = load_sys(); | - |
| 300 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 530 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
) { | 0-530 |
| 301 | if (ret| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 302 | QMessageLogger(__FILE__, 541, __PRETTY_FUNCTION__).debug() << "loaded library" << fileName; | - |
| 303 | } never executed: end of block else { | 0 |
| 304 | QMessageLogger(__FILE__, 543, __PRETTY_FUNCTION__).debug() << QString(errorString).toUtf8().constData(); | - |
| 305 | } never executed: end of block | 0 |
| 306 | } | - |
| 307 | if (ret| TRUE | evaluated 524 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
) { | 6-524 |
| 308 | | - |
| 309 | | - |
| 310 | libraryUnloadCount.ref(); | - |
| 311 | libraryRefCount.ref(); | - |
| 312 | installCoverageTool(this); | - |
| 313 | }executed 524 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 524 |
| 314 | | - |
| 315 | returnexecuted 530 times by 134 tests: return ret;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
ret;executed 530 times by 134 tests: return ret;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 530 |
| 316 | } | - |
| 317 | | - |
| 318 | bool QLibraryPrivate::unload(UnloadFlag flag) | - |
| 319 | { | - |
| 320 | if (!pHnd| TRUE | evaluated 1795 times by 227 testsEvaluated by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qclipboard - unknown status
- tst_qcolor - unknown status
- tst_qcolordialog - unknown status
- ...
| | FALSE | evaluated 1079 times by 248 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
|
) | 1079-1795 |
| 321 | returnexecuted 1795 times by 227 tests: return false;Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qclipboard - unknown status
- tst_qcolor - unknown status
- tst_qcolordialog - unknown status
- ...
false;executed 1795 times by 227 tests: return false;Executed by:- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qclipboard - unknown status
- tst_qcolor - unknown status
- tst_qcolordialog - unknown status
- ...
| 1795 |
| 322 | if (libraryUnloadCount.load() > 0| TRUE | evaluated 1079 times by 248 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| | FALSE | never evaluated |
&& !libraryUnloadCount.deref()| TRUE | evaluated 1076 times by 248 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
|
) { | 0-1079 |
| 323 | delete inst.data(); | - |
| 324 | if (flag == NoUnloadSys| TRUE | never evaluated | | FALSE | evaluated 1076 times by 248 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
|
|| unload_sys()| TRUE | evaluated 1076 times by 248 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| | FALSE | never evaluated |
) { | 0-1076 |
| 325 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 1076 times by 248 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
|
) | 0-1076 |
| 326 | QMessageLogger(__FILE__, 565, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::unload succeeded on" << fileName never executed: QMessageLogger(__FILE__, 565, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::unload succeeded on" << fileName << (flag == NoUnloadSys ? "(faked)" : ""); | 0 |
| 327 | << (flag == NoUnloadSys ? "(faked)" : ""); never executed: QMessageLogger(__FILE__, 565, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::unload succeeded on" << fileName << (flag == NoUnloadSys ? "(faked)" : ""); | 0 |
| 328 | | - |
| 329 | | - |
| 330 | libraryRefCount.deref(); | - |
| 331 | pHnd = 0; | - |
| 332 | instance = 0; | - |
| 333 | }executed 1076 times by 248 tests: end of blockExecuted by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| 1076 |
| 334 | }executed 1076 times by 248 tests: end of blockExecuted by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| 1076 |
| 335 | | - |
| 336 | returnexecuted 1079 times by 248 tests: return (pHnd == 0);Executed by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
(pHnd == 0);executed 1079 times by 248 tests: return (pHnd == 0);Executed by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| 1079 |
| 337 | } | - |
| 338 | | - |
| 339 | void QLibraryPrivate::release() | - |
| 340 | { | - |
| 341 | QLibraryStore::releaseLibrary(this); | - |
| 342 | }executed 3731 times by 377 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 3731 |
| 343 | | - |
| 344 | bool QLibraryPrivate::loadPlugin() | - |
| 345 | { | - |
| 346 | if (instance| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 408 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 1-408 |
| 347 | libraryUnloadCount.ref(); | - |
| 348 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
| 349 | } | - |
| 350 | if (pluginState == IsNotAPlugin| TRUE | never evaluated | | FALSE | evaluated 408 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) | 0-408 |
| 351 | return never executed: return false; false;never executed: return false; | 0 |
| 352 | if (load()| TRUE | evaluated 408 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | never evaluated |
) { | 0-408 |
| 353 | instance = (QtPluginInstanceFunction)resolve("qt_plugin_instance"); | - |
| 354 | returnexecuted 408 times by 111 tests: return instance;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
instance;executed 408 times by 111 tests: return instance;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 408 |
| 355 | } | - |
| 356 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 357 | QMessageLogger(__FILE__, 596, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::loadPlugin failed on" << fileName << ":" << errorString; never executed: QMessageLogger(__FILE__, 596, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::loadPlugin failed on" << fileName << ":" << errorString; | 0 |
| 358 | pluginState = IsNotAPlugin; | - |
| 359 | return never executed: return false; false;never executed: return false; | 0 |
| 360 | } | - |
| 361 | bool QLibrary::isLibrary(const QString &fileName) | - |
| 362 | { | - |
| 363 | | - |
| 364 | | - |
| 365 | | - |
| 366 | QString completeSuffix = QFileInfo(fileName).completeSuffix(); | - |
| 367 | if (completeSuffix.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
|
) | 0-16 |
| 368 | return never executed: return false; false;never executed: return false; | 0 |
| 369 | QStringList suffixes = completeSuffix.split(QLatin1Char('.')); | - |
| 370 | QStringList validSuffixList; | - |
| 371 | validSuffixList << QLatin1String("so"); | - |
| 372 | int suffix; | - |
| 373 | int suffixPos = -1; | - |
| 374 | for (suffix = 0; suffix < validSuffixList.count()| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
| | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
|
&& suffixPos == -1| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
| | FALSE | never evaluated |
; ++suffix) | 0-16 |
| 375 | suffixPos = suffixes.indexOf(validSuffixList.at(suffix));executed 16 times by 2 tests: suffixPos = suffixes.indexOf(validSuffixList.at(suffix));Executed by:- tst_QPlugin
- tst_qlibrary - unknown status
| 16 |
| 376 | | - |
| 377 | bool valid = suffixPos != -1; | - |
| 378 | for (int i = suffixPos + 1; i < suffixes.count()| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
|
&& valid| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qlibrary - unknown status
|
; ++i) | 6-14 |
| 379 | if (i != suffixPos| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
| | FALSE | never evaluated |
) | 0-6 |
| 380 | suffixes.at(i).toInt(&valid);executed 6 times by 2 tests: suffixes.at(i).toInt(&valid);Executed by:- tst_QPlugin
- tst_qlibrary - unknown status
| 6 |
| 381 | returnexecuted 16 times by 2 tests: return valid;Executed by:- tst_QPlugin
- tst_qlibrary - unknown status
valid;executed 16 times by 2 tests: return valid;Executed by:- tst_QPlugin
- tst_qlibrary - unknown status
| 16 |
| 382 | | - |
| 383 | | - |
| 384 | | - |
| 385 | } | - |
| 386 | | - |
| 387 | typedef const char * (*QtPluginQueryVerificationDataFunction)(); | - |
| 388 | | - |
| 389 | static bool qt_get_metadata(QtPluginQueryVerificationDataFunction pfn, QLibraryPrivate *priv) | - |
| 390 | { | - |
| 391 | const char *szData = 0; | - |
| 392 | if (!pfn| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2 |
| 393 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 394 | | - |
| 395 | szData = pfn(); | - |
| 396 | if (!szData| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 397 | return never executed: return false; false;never executed: return false; | 0 |
| 398 | | - |
| 399 | QJsonDocument doc = qJsonFromRawLibraryMetaData(szData); | - |
| 400 | if (doc.isNull()| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 401 | return never executed: return false; false;never executed: return false; | 0 |
| 402 | priv->metaData = doc.object(); | - |
| 403 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 404 | } | - |
| 405 | | - |
| 406 | bool QLibraryPrivate::isPlugin() | - |
| 407 | { | - |
| 408 | if (pluginState == MightBeAPlugin| TRUE | evaluated 1377 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 66 times by 17 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QPainter
- tst_QPixmap
- tst_QPlugin
- tst_QPluginLoader
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
|
) | 66-1377 |
| 409 | updatePluginState();executed 1377 times by 111 tests: updatePluginState();Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 1377 |
| 410 | | - |
| 411 | returnexecuted 1443 times by 113 tests: return pluginState == IsAPlugin;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
pluginState == IsAPlugin;executed 1443 times by 113 tests: return pluginState == IsAPlugin;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 1443 |
| 412 | } | - |
| 413 | | - |
| 414 | void QLibraryPrivate::updatePluginState() | - |
| 415 | { | - |
| 416 | errorString.clear(); | - |
| 417 | if (pluginState != MightBeAPlugin| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1400 times by 113 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) | 2-1400 |
| 418 | return;executed 2 times by 1 test: return; | 2 |
| 419 | | - |
| 420 | bool success = false; | - |
| 421 | | - |
| 422 | | - |
| 423 | if (fileName.endsWith(QLatin1String(".debug"))| TRUE | never evaluated | | FALSE | evaluated 1400 times by 113 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 0-1400 |
| 424 | | - |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | | - |
| 429 | | - |
| 430 | errorString = QLibrary::tr("The shared library was not found."); | - |
| 431 | pluginState = IsNotAPlugin; | - |
| 432 | return; never executed: return; | 0 |
| 433 | } | - |
| 434 | | - |
| 435 | | - |
| 436 | if (!pHnd| TRUE | evaluated 1396 times by 113 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 4 times by 1 test |
) { | 4-1396 |
| 437 | | - |
| 438 | success = findPatternUnloaded(fileName, this); | - |
| 439 | }executed 1396 times by 113 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
else { | 1396 |
| 440 | | - |
| 441 | | - |
| 442 | QtPluginQueryVerificationDataFunction getMetaData = __null; | - |
| 443 | getMetaData = (QtPluginQueryVerificationDataFunction) resolve("qt_plugin_query_metadata"); | - |
| 444 | success = qt_get_metadata(getMetaData, this); | - |
| 445 | }executed 4 times by 1 test: end of block | 4 |
| 446 | | - |
| 447 | if (!success| TRUE | evaluated 722 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 678 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 678-722 |
| 448 | if (errorString.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 722 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
){ | 0-722 |
| 449 | if (fileName.isEmpty()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 450 | errorString = QLibrary::tr("The shared library was not found."); never executed: errorString = QLibrary::tr("The shared library was not found."); | 0 |
| 451 | else | - |
| 452 | errorString = QLibrary::tr("The file '%1' is not a valid Qt plugin.").arg(fileName); never executed: errorString = QLibrary::tr("The file '%1' is not a valid Qt plugin.").arg(fileName); | 0 |
| 453 | } | - |
| 454 | pluginState = IsNotAPlugin; | - |
| 455 | return;executed 722 times by 112 tests: return;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 722 |
| 456 | } | - |
| 457 | | - |
| 458 | pluginState = IsNotAPlugin; | - |
| 459 | | - |
| 460 | uint qt_version = (uint)metaData.value(QLatin1String("version")).toDouble(); | - |
| 461 | bool debug = metaData.value(QLatin1String("debug")).toBool(); | - |
| 462 | if ((| TRUE | never evaluated | | FALSE | evaluated 678 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
qt_version & 0x00ff00) > (((5<<16)|(7<<8)|(1)) & 0x00ff00)| TRUE | never evaluated | | FALSE | evaluated 678 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
|| (| TRUE | never evaluated | | FALSE | evaluated 678 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
qt_version & 0xff0000) != (((5<<16)|(7<<8)|(1)) & 0xff0000)| TRUE | never evaluated | | FALSE | evaluated 678 times by 111 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
) { | 0-678 |
| 463 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 464 | QMessageLogger(__FILE__, 754, __PRETTY_FUNCTION__).warning("In %s:\n" | - |
| 465 | " Plugin uses incompatible Qt library (%d.%d.%d) [%s]", | - |
| 466 | (const char*) QFile::encodeName(fileName), | - |
| 467 | (qt_version&0xff0000) >> 16, (qt_version&0xff00) >> 8, qt_version&0xff, | - |
| 468 | debug ? "debug" : "release"); | - |
| 469 | } never executed: end of block | 0 |
| 470 | errorString = QLibrary::tr("The plugin '%1' uses incompatible Qt library. (%2.%3.%4) [%5]") | - |
| 471 | .arg(fileName) | - |
| 472 | .arg((qt_version&0xff0000) >> 16) | - |
| 473 | .arg((qt_version&0xff00) >> 8) | - |
| 474 | .arg(qt_version&0xff) | - |
| 475 | .arg(debug ? QLatin1String("debug") : QLatin1String("release")); | - |
| 476 | | - |
| 477 | | - |
| 478 | | - |
| 479 | | - |
| 480 | | - |
| 481 | | - |
| 482 | } never executed: end of block else { | 0 |
| 483 | pluginState = IsAPlugin; | - |
| 484 | }executed 678 times by 111 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 678 |
| 485 | } | - |
| 486 | bool QLibrary::load() | - |
| 487 | { | - |
| 488 | if (!d| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 124 times by 42 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
|
) | 1-124 |
| 489 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 490 | if (did_load| TRUE | never evaluated | | FALSE | evaluated 124 times by 42 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
|
) | 0-124 |
| 491 | return never executed: return d->pHnd; d->pHnd;never executed: return d->pHnd; | 0 |
| 492 | did_load = true; | - |
| 493 | returnexecuted 124 times by 42 tests: return d->load();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
d->load();executed 124 times by 42 tests: return d->load();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
| 124 |
| 494 | } | - |
| 495 | bool QLibrary::unload() | - |
| 496 | { | - |
| 497 | if (did_load| TRUE | evaluated 26 times by 3 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
- tst_qlibrary - unknown status
| | FALSE | evaluated 1 time by 1 test |
) { | 1-26 |
| 498 | did_load = false; | - |
| 499 | returnexecuted 26 times by 3 tests: return d->unload();Executed by:- tst_QLibrary
- tst_QPluginLoader
- tst_qlibrary - unknown status
d->unload();executed 26 times by 3 tests: return d->unload();Executed by:- tst_QLibrary
- tst_QPluginLoader
- tst_qlibrary - unknown status
| 26 |
| 500 | } | - |
| 501 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 502 | } | - |
| 503 | | - |
| 504 | | - |
| 505 | | - |
| 506 | | - |
| 507 | | - |
| 508 | | - |
| 509 | bool QLibrary::isLoaded() const | - |
| 510 | { | - |
| 511 | returnexecuted 3256 times by 42 tests: return d && d->pHnd;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
d && d->pHnd;executed 3256 times by 42 tests: return d && d->pHnd;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
| 3256 |
| 512 | } | - |
| 513 | | - |
| 514 | | - |
| 515 | | - |
| 516 | | - |
| 517 | | - |
| 518 | QLibrary::QLibrary(QObject *parent) | - |
| 519 | :QObject(parent), d(0), did_load(false) | - |
| 520 | { | - |
| 521 | }executed 68 times by 32 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
| 68 |
| 522 | QLibrary::QLibrary(const QString& fileName, QObject *parent) | - |
| 523 | :QObject(parent), d(0), did_load(false) | - |
| 524 | { | - |
| 525 | setFileName(fileName); | - |
| 526 | }executed 38 times by 3 tests: end of blockExecuted by:- tst_QLibrary
- tst_QPluginLoader
- tst_qlibrary - unknown status
| 38 |
| 527 | QLibrary::QLibrary(const QString& fileName, int verNum, QObject *parent) | - |
| 528 | :QObject(parent), d(0), did_load(false) | - |
| 529 | { | - |
| 530 | setFileNameAndVersion(fileName, verNum); | - |
| 531 | }executed 47 times by 10 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_QLabel
- tst_QLibrary
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qapplication - unknown status
- tst_qlibrary - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 47 |
| 532 | QLibrary::QLibrary(const QString& fileName, const QString &version, QObject *parent) | - |
| 533 | :QObject(parent), d(0), did_load(false) | - |
| 534 | { | - |
| 535 | setFileNameAndVersion(fileName, version); | - |
| 536 | } never executed: end of block | 0 |
| 537 | QLibrary::~QLibrary() | - |
| 538 | { | - |
| 539 | if (d| TRUE | evaluated 149 times by 42 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
| | FALSE | evaluated 4 times by 1 test |
) | 4-149 |
| 540 | d->release();executed 149 times by 42 tests: d->release();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
| 149 |
| 541 | }executed 153 times by 42 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
| 153 |
| 542 | void QLibrary::setFileName(const QString &fileName) | - |
| 543 | { | - |
| 544 | QLibrary::LoadHints lh; | - |
| 545 | if (d| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 67 times by 28 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- ...
|
) { | 3-67 |
| 546 | lh = d->loadHints(); | - |
| 547 | d->release(); | - |
| 548 | d = 0; | - |
| 549 | did_load = false; | - |
| 550 | }executed 3 times by 1 test: end of block | 3 |
| 551 | d = QLibraryPrivate::findOrCreate(fileName, QString(), lh); | - |
| 552 | }executed 70 times by 28 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- ...
| 70 |
| 553 | | - |
| 554 | QString QLibrary::fileName() const | - |
| 555 | { | - |
| 556 | if (d| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 557 | returnexecuted 1 time by 1 test: return d->qualifiedFileName.isEmpty() ? d->fileName : d->qualifiedFileName; d->qualifiedFileName.isEmpty() ? d->fileName : d->qualifiedFileName;executed 1 time by 1 test: return d->qualifiedFileName.isEmpty() ? d->fileName : d->qualifiedFileName; | 1 |
| 558 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 559 | } | - |
| 560 | void QLibrary::setFileNameAndVersion(const QString &fileName, int verNum) | - |
| 561 | { | - |
| 562 | QLibrary::LoadHints lh; | - |
| 563 | if (d| TRUE | never evaluated | | FALSE | evaluated 47 times by 10 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_QLabel
- tst_QLibrary
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qapplication - unknown status
- tst_qlibrary - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-47 |
| 564 | lh = d->loadHints(); | - |
| 565 | d->release(); | - |
| 566 | d = 0; | - |
| 567 | did_load = false; | - |
| 568 | } never executed: end of block | 0 |
| 569 | d = QLibraryPrivate::findOrCreate(fileName, verNum >= 0 ? QString::number(verNum) : QString(), lh); | - |
| 570 | }executed 47 times by 10 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_QLabel
- tst_QLibrary
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qapplication - unknown status
- tst_qlibrary - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 47 |
| 571 | void QLibrary::setFileNameAndVersion(const QString &fileName, const QString &version) | - |
| 572 | { | - |
| 573 | QLibrary::LoadHints lh; | - |
| 574 | if (d| TRUE | never evaluated | | FALSE | evaluated 32 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
|
) { | 0-32 |
| 575 | lh = d->loadHints(); | - |
| 576 | d->release(); | - |
| 577 | d = 0; | - |
| 578 | did_load = false; | - |
| 579 | } never executed: end of block | 0 |
| 580 | d = QLibraryPrivate::findOrCreate(fileName, version, lh); | - |
| 581 | }executed 32 times by 16 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
| 32 |
| 582 | QFunctionPointer QLibrary::resolve(const char *symbol) | - |
| 583 | { | - |
| 584 | if (!isLoaded()| TRUE | evaluated 7 times by 4 testsEvaluated by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qlibrary - unknown status
| | FALSE | evaluated 3209 times by 41 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
|
&& !load()| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlibrary - unknown status
| | FALSE | evaluated 6 times by 4 testsEvaluated by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qlibrary - unknown status
|
) | 1-3209 |
| 585 | returnexecuted 1 time by 1 test: return 0;Executed by:- tst_qlibrary - unknown status
0;executed 1 time by 1 test: return 0;Executed by:- tst_qlibrary - unknown status
| 1 |
| 586 | returnexecuted 3215 times by 42 tests: return d->resolve(symbol);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
d->resolve(symbol);executed 3215 times by 42 tests: return d->resolve(symbol);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslEllipticCurve
- ...
| 3215 |
| 587 | } | - |
| 588 | QFunctionPointer QLibrary::resolve(const QString &fileName, const char *symbol) | - |
| 589 | { | - |
| 590 | QLibrary library(fileName); | - |
| 591 | return never executed: return library.resolve(symbol); library.resolve(symbol);never executed: return library.resolve(symbol); | 0 |
| 592 | } | - |
| 593 | QFunctionPointer QLibrary::resolve(const QString &fileName, int verNum, const char *symbol) | - |
| 594 | { | - |
| 595 | QLibrary library(fileName, verNum); | - |
| 596 | returnexecuted 11 times by 3 tests: return library.resolve(symbol);Executed by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
library.resolve(symbol);executed 11 times by 3 tests: return library.resolve(symbol);Executed by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 11 |
| 597 | } | - |
| 598 | QFunctionPointer QLibrary::resolve(const QString &fileName, const QString &version, const char *symbol) | - |
| 599 | { | - |
| 600 | QLibrary library(fileName, version); | - |
| 601 | return never executed: return library.resolve(symbol); library.resolve(symbol);never executed: return library.resolve(symbol); | 0 |
| 602 | } | - |
| 603 | | - |
| 604 | | - |
| 605 | | - |
| 606 | | - |
| 607 | | - |
| 608 | | - |
| 609 | | - |
| 610 | QString QLibrary::errorString() const | - |
| 611 | { | - |
| 612 | returnexecuted 21 times by 2 tests: return (!d || d->errorString.isEmpty()) ? tr("Unknown error") : d->errorString;Executed by:- tst_QLibrary
- tst_qlibrary - unknown status
(!d || d->errorString.isEmpty()) ? tr("Unknown error") : d->errorString;executed 21 times by 2 tests: return (!d || d->errorString.isEmpty()) ? tr("Unknown error") : d->errorString;Executed by:- tst_QLibrary
- tst_qlibrary - unknown status
| 21 |
| 613 | } | - |
| 614 | void QLibrary::setLoadHints(LoadHints hints) | - |
| 615 | { | - |
| 616 | if (!d| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 3 times by 1 test |
) { | 3 |
| 617 | d = QLibraryPrivate::findOrCreate(QString()); | - |
| 618 | d->errorString.clear(); | - |
| 619 | }executed 3 times by 1 test: end of block | 3 |
| 620 | d->setLoadHints(hints); | - |
| 621 | }executed 6 times by 1 test: end of block | 6 |
| 622 | | - |
| 623 | QLibrary::LoadHints QLibrary::loadHints() const | - |
| 624 | { | - |
| 625 | returnexecuted 15 times by 1 test: return d ? d->loadHints() : QLibrary::LoadHints(); d ? d->loadHints() : QLibrary::LoadHints();executed 15 times by 1 test: return d ? d->loadHints() : QLibrary::LoadHints(); | 15 |
| 626 | } | - |
| 627 | | - |
| 628 | | - |
| 629 | bool qt_debug_component() | - |
| 630 | { | - |
| 631 | static int debug_env = ::qEnvironmentVariableIntValue("QT_DEBUG_PLUGINS"); | - |
| 632 | returnexecuted 7191 times by 411 tests: return debug_env != 0;Executed by:- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- ...
debug_env != 0;executed 7191 times by 411 tests: return debug_env != 0;Executed by:- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- ...
| 7191 |
| 633 | } | - |
| 634 | | - |
| 635 | | - |
| | |