| 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 651 times by 110 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 651 times by 110 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 651 times by 110 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-651 |
| 15 | ulong i, hs = 0, hp = 0, delta = s_len - p_len; | - |
| 16 | | - |
| 17 | for (i = 0; i < p_len| TRUE | evaluated 7812 times by 110 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 651 times by 110 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) { | 651-7812 |
| 18 | hs += s[delta + i]; | - |
| 19 | hp += pattern[i]; | - |
| 20 | }executed 7812 times by 110 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
- ...
| 7812 |
| 21 | i = delta; | - |
| 22 | for (;;) { | - |
| 23 | if (hs == hp| TRUE | evaluated 664 times by 110 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 174960 times by 110 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 651 times by 110 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-174960 |
| 24 | returnexecuted 651 times by 110 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 651 times by 110 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
- ...
| 651 |
| 25 | if (i == 0| TRUE | never evaluated | | FALSE | evaluated 174973 times by 110 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-174973 |
| 26 | break; never executed: break; | 0 |
| 27 | --i; | - |
| 28 | hs -= s[i + p_len]; | - |
| 29 | hs += s[i]; | - |
| 30 | }executed 174973 times by 110 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
- ...
| 174973 |
| 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 1346 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-1346 |
| 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__, 234, __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 1346 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-1346 |
| 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 1343 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
- ...
|
|| r == QElfParser::NotElf| TRUE | evaluated 691 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 652 times by 110 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-1343 |
| 69 | if (lib| TRUE | evaluated 694 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 |
&& qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 694 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-694 |
| 70 | QMessageLogger(__FILE__, 263, __PRETTY_FUNCTION__).warning("QElfParser: %s",QString(lib->errorString).toLocal8Bit().constData()); | - |
| 71 | } never executed: end of block | 0 |
| 72 | returnexecuted 694 times by 111 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 694 times by 111 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
- ...
| 694 |
| 73 | } else if (r == QElfParser::QtMetaDataSection| TRUE | evaluated 651 times by 110 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-651 |
| 74 | long rel = qt_find_pattern(filedata + pos, fdlen, pattern, plen); | - |
| 75 | if (rel < 0| TRUE | never evaluated | | FALSE | evaluated 651 times by 110 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-651 |
| 76 | pos = -1; never executed: pos = -1; | 0 |
| 77 | else | - |
| 78 | pos += rel;executed 651 times by 110 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
- ...
| 651 |
| 79 | hasMetaData = true; | - |
| 80 | }executed 651 times by 110 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
- ...
| 651 |
| 81 | bool ret = false; | - |
| 82 | | - |
| 83 | if (pos >= 0| TRUE | evaluated 652 times by 110 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-652 |
| 84 | if (hasMetaData| TRUE | evaluated 651 times by 110 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-651 |
| 85 | const char *data = filedata + pos; | - |
| 86 | QJsonDocument doc = QLibraryPrivate::fromRawMetaData(data); | - |
| 87 | lib->metaData = doc.object(); | - |
| 88 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 651 times by 110 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-651 |
| 89 | QMessageLogger(__FILE__, 308, __PRETTY_FUNCTION__).warning("Found metadata in lib %s, metadata=\n%s\n", never executed: QMessageLogger(__FILE__, 308, __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__, 308, __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 651 times by 110 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
- ...
| 651 |
| 93 | }executed 652 times by 110 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
- ...
| 652 |
| 94 | | - |
| 95 | if (!ret| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 651 times by 110 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-651 |
| 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 652 times by 110 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 652 times by 110 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
- ...
| 652 |
| 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 514 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-514 |
| 106 | if (ret >= 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 107 | QMessageLogger(__FILE__, 340, __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__, 343, __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 514 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
- ...
| 514 |
| 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__,391) : 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 (QForeachContainer<typename QtPrivate::remove_reference<decltype(data->libraryMap)>::type> _container_((data->libraryMap)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QLibraryPrivate *lib = *_container_.i; _container_.control; _container_.control = 0) { | - |
| 177 | if (lib| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 178 | QMessageLogger(__FILE__, 411, __PRETTY_FUNCTION__).debug() << "On QtCore unload," << lib->fileName << "was leaked, with" never executed: QMessageLogger(__FILE__, 411, __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__, 411, __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 72 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 5998 times by 378 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
- ...
|
) { | 72-5998 |
| 196 | | - |
| 197 | qt_library_data = new QLibraryStore; | - |
| 198 | qt_library_data_once = true; | - |
| 199 | }executed 72 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
- ...
| 72 |
| 200 | returnexecuted 6070 times by 378 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 6070 times by 378 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
- ...
| 6070 |
| 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 1855 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-1855 |
| 212 | lib = data->libraryMap.value(fileName); | - |
| 213 | if (lib| TRUE | evaluated 359 times by 23 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| | FALSE | evaluated 1496 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
- ...
|
) | 359-1496 |
| 214 | lib->mergeLoadHints(loadHints);executed 359 times by 23 tests: lib->mergeLoadHints(loadHints);Executed by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| 359 |
| 215 | }executed 1855 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
- ...
| 1855 |
| 216 | if (!lib| TRUE | evaluated 1496 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 359 times by 23 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
|
) | 359-1496 |
| 217 | lib = new QLibraryPrivate(fileName, version, loadHints);executed 1496 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
- ...
| 1496 |
| 218 | | - |
| 219 | | - |
| 220 | if (__builtin_expect(!!(data), true)| TRUE | evaluated 1855 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 1849 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-1855 |
| 221 | data->libraryMap.insert(fileName, lib);executed 1849 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
- ...
| 1849 |
| 222 | | - |
| 223 | lib->libraryRefCount.ref(); | - |
| 224 | returnexecuted 1855 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 1855 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
- ...
| 1855 |
| 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 463 times by 61 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFtp
- tst_QGraphicsView
- 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
- ...
| | FALSE | evaluated 3752 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
- ...
|
) { | 463-3752 |
| 233 | | - |
| 234 | return;executed 463 times by 61 tests: return;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFtp
- tst_QGraphicsView
- 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
- ...
| 463 |
| 235 | } | - |
| 236 | | - |
| 237 | | - |
| 238 | ((!(lib->libraryUnloadCount.load() == 0)) ? qt_assert("lib->libraryUnloadCount.load() == 0",__FILE__,471) : qt_noop()); | - |
| 239 | | - |
| 240 | if (__builtin_expect(!!(data), true)| TRUE | evaluated 3752 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 3746 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-3752 |
| 241 | QLibraryPrivate *that = data->libraryMap.take(lib->fileName); | - |
| 242 | ((!(lib == that)) ? qt_assert("lib == that",__FILE__,475) : qt_noop()); | - |
| 243 | (void)that;; | - |
| 244 | }executed 3746 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
- ...
| 3746 |
| 245 | delete lib; | - |
| 246 | }executed 3752 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
- ...
| 3752 |
| 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 1490 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-1490 |
| 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 1496 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
- ...
| 1496 |
| 256 | | - |
| 257 | QLibraryPrivate *QLibraryPrivate::findOrCreate(const QString &fileName, const QString &version, | - |
| 258 | QLibrary::LoadHints loadHints) | - |
| 259 | { | - |
| 260 | returnexecuted 1855 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 1855 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
- ...
| 1855 |
| 261 | } | - |
| 262 | | - |
| 263 | QLibraryPrivate::~QLibraryPrivate() | - |
| 264 | { | - |
| 265 | } | - |
| 266 | | - |
| 267 | void QLibraryPrivate::mergeLoadHints(QLibrary::LoadHints lh) | - |
| 268 | { | - |
| 269 | | - |
| 270 | if (pHnd| TRUE | evaluated 407 times by 23 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| | FALSE | evaluated 664 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
- ...
|
) | 407-664 |
| 271 | return;executed 407 times by 23 tests: return;Executed by:- tst_QBrush
- tst_QDataStream
- tst_QFactoryLoader
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLibrary
- tst_QPainter
- tst_QPixmap
- tst_QPluginLoader
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
| 407 |
| 272 | | - |
| 273 | loadHintsInt.store(lh); | - |
| 274 | }executed 664 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
- ...
| 664 |
| 275 | | - |
| 276 | QFunctionPointer QLibraryPrivate::resolve(const char *symbol) | - |
| 277 | { | - |
| 278 | if (!pHnd| TRUE | never evaluated | | FALSE | evaluated 12867 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-12867 |
| 279 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 280 | returnexecuted 12867 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 12867 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
- ...
| 12867 |
| 281 | } | - |
| 282 | | - |
| 283 | void QLibraryPrivate::setLoadHints(QLibrary::LoadHints lh) | - |
| 284 | { | - |
| 285 | | - |
| 286 | QMutexLocker lock(&qt_library_mutex); | - |
| 287 | mergeLoadHints(lh); | - |
| 288 | }executed 712 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
- ...
| 712 |
| 289 | | - |
| 290 | bool QLibraryPrivate::load() | - |
| 291 | { | - |
| 292 | if (pHnd| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QLibrary
- tst_QPluginLoader
| | FALSE | evaluated 520 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-520 |
| 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 520 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-520 |
| 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 520 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-520 |
| 301 | QMessageLogger(__FILE__, 534, __PRETTY_FUNCTION__).debug() << "loaded library" << fileName; never executed: QMessageLogger(__FILE__, 534, __PRETTY_FUNCTION__).debug() << "loaded library" << fileName; | 0 |
| 302 | if (ret| TRUE | evaluated 514 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-514 |
| 303 | | - |
| 304 | | - |
| 305 | libraryUnloadCount.ref(); | - |
| 306 | libraryRefCount.ref(); | - |
| 307 | installCoverageTool(this); | - |
| 308 | }executed 514 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
- ...
| 514 |
| 309 | | - |
| 310 | returnexecuted 520 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 520 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
- ...
| 520 |
| 311 | } | - |
| 312 | | - |
| 313 | bool QLibraryPrivate::unload(UnloadFlag flag) | - |
| 314 | { | - |
| 315 | if (!pHnd| TRUE | evaluated 2013 times by 228 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 1065 times by 249 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
- ...
|
) | 1065-2013 |
| 316 | returnexecuted 2013 times by 228 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 2013 times by 228 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
- ...
| 2013 |
| 317 | if (libraryUnloadCount.load() > 0| TRUE | evaluated 1065 times by 249 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 1062 times by 249 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-1065 |
| 318 | delete inst.data(); | - |
| 319 | if (flag == NoUnloadSys| TRUE | never evaluated | | FALSE | evaluated 1062 times by 249 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 1062 times by 249 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-1062 |
| 320 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | evaluated 1062 times by 249 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-1062 |
| 321 | QMessageLogger(__FILE__, 554, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::unload succeeded on" << fileName never executed: QMessageLogger(__FILE__, 554, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::unload succeeded on" << fileName << (flag == NoUnloadSys ? "(faked)" : ""); | 0 |
| 322 | << (flag == NoUnloadSys ? "(faked)" : ""); never executed: QMessageLogger(__FILE__, 554, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::unload succeeded on" << fileName << (flag == NoUnloadSys ? "(faked)" : ""); | 0 |
| 323 | | - |
| 324 | | - |
| 325 | libraryRefCount.deref(); | - |
| 326 | pHnd = 0; | - |
| 327 | instance = 0; | - |
| 328 | }executed 1062 times by 249 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
- ...
| 1062 |
| 329 | }executed 1062 times by 249 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
- ...
| 1062 |
| 330 | | - |
| 331 | returnexecuted 1065 times by 249 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 1065 times by 249 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
- ...
| 1065 |
| 332 | } | - |
| 333 | | - |
| 334 | void QLibraryPrivate::release() | - |
| 335 | { | - |
| 336 | QLibraryStore::releaseLibrary(this); | - |
| 337 | }executed 4215 times by 378 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
- ...
| 4215 |
| 338 | | - |
| 339 | bool QLibraryPrivate::loadPlugin() | - |
| 340 | { | - |
| 341 | if (instance| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 390 times by 110 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-390 |
| 342 | libraryUnloadCount.ref(); | - |
| 343 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
| 344 | } | - |
| 345 | if (pluginState == IsNotAPlugin| TRUE | never evaluated | | FALSE | evaluated 390 times by 110 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-390 |
| 346 | return never executed: return false; false;never executed: return false; | 0 |
| 347 | if (load()| TRUE | evaluated 390 times by 110 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-390 |
| 348 | instance = (QtPluginInstanceFunction)resolve("qt_plugin_instance"); | - |
| 349 | returnexecuted 390 times by 110 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 390 times by 110 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
- ...
| 390 |
| 350 | } | - |
| 351 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 352 | QMessageLogger(__FILE__, 585, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::loadPlugin failed on" << fileName << ":" << errorString; never executed: QMessageLogger(__FILE__, 585, __PRETTY_FUNCTION__).warning() << "QLibraryPrivate::loadPlugin failed on" << fileName << ":" << errorString; | 0 |
| 353 | pluginState = IsNotAPlugin; | - |
| 354 | return never executed: return false; false;never executed: return false; | 0 |
| 355 | } | - |
| 356 | bool QLibrary::isLibrary(const QString &fileName) | - |
| 357 | { | - |
| 358 | | - |
| 359 | | - |
| 360 | | - |
| 361 | QString completeSuffix = QFileInfo(fileName).completeSuffix(); | - |
| 362 | if (completeSuffix.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
|
) | 0-16 |
| 363 | return never executed: return false; false;never executed: return false; | 0 |
| 364 | QStringList suffixes = completeSuffix.split(QLatin1Char('.')); | - |
| 365 | QStringList validSuffixList; | - |
| 366 | validSuffixList << QLatin1String("so"); | - |
| 367 | int suffix; | - |
| 368 | int suffixPos = -1; | - |
| 369 | 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 |
| 370 | 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 |
| 371 | | - |
| 372 | bool valid = suffixPos != -1; | - |
| 373 | 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 |
| 374 | if (i != suffixPos| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QPlugin
- tst_qlibrary - unknown status
| | FALSE | never evaluated |
) | 0-6 |
| 375 | 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 |
| 376 | 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 |
| 377 | | - |
| 378 | | - |
| 379 | | - |
| 380 | } | - |
| 381 | | - |
| 382 | typedef const char * (*QtPluginQueryVerificationDataFunction)(); | - |
| 383 | | - |
| 384 | static bool qt_get_metadata(QtPluginQueryVerificationDataFunction pfn, QLibraryPrivate *priv) | - |
| 385 | { | - |
| 386 | const char *szData = 0; | - |
| 387 | if (!pfn| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2 |
| 388 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 389 | | - |
| 390 | szData = pfn(); | - |
| 391 | if (!szData| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 392 | return never executed: return false; false;never executed: return false; | 0 |
| 393 | | - |
| 394 | QJsonDocument doc = QLibraryPrivate::fromRawMetaData(szData); | - |
| 395 | if (doc.isNull()| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 396 | return never executed: return false; false;never executed: return false; | 0 |
| 397 | priv->metaData = doc.object(); | - |
| 398 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 399 | } | - |
| 400 | | - |
| 401 | bool QLibraryPrivate::isPlugin() | - |
| 402 | { | - |
| 403 | if (pluginState == MightBeAPlugin| TRUE | evaluated 1327 times by 110 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-1327 |
| 404 | updatePluginState();executed 1327 times by 110 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
- ...
| 1327 |
| 405 | | - |
| 406 | returnexecuted 1393 times by 112 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 1393 times by 112 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
- ...
| 1393 |
| 407 | } | - |
| 408 | | - |
| 409 | void QLibraryPrivate::updatePluginState() | - |
| 410 | { | - |
| 411 | errorString.clear(); | - |
| 412 | if (pluginState != MightBeAPlugin| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1350 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
- ...
|
) | 2-1350 |
| 413 | return;executed 2 times by 1 test: return; | 2 |
| 414 | | - |
| 415 | bool success = false; | - |
| 416 | | - |
| 417 | | - |
| 418 | if (fileName.endsWith(QLatin1String(".debug"))| TRUE | never evaluated | | FALSE | evaluated 1350 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-1350 |
| 419 | | - |
| 420 | | - |
| 421 | | - |
| 422 | | - |
| 423 | | - |
| 424 | | - |
| 425 | errorString = QLibrary::tr("The shared library was not found."); | - |
| 426 | pluginState = IsNotAPlugin; | - |
| 427 | return; never executed: return; | 0 |
| 428 | } | - |
| 429 | | - |
| 430 | | - |
| 431 | if (!pHnd| TRUE | evaluated 1346 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 4 times by 1 test |
) { | 4-1346 |
| 432 | | - |
| 433 | success = findPatternUnloaded(fileName, this); | - |
| 434 | }executed 1346 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
- ...
else { | 1346 |
| 435 | | - |
| 436 | | - |
| 437 | QtPluginQueryVerificationDataFunction getMetaData = __null; | - |
| 438 | getMetaData = (QtPluginQueryVerificationDataFunction) resolve("qt_plugin_query_metadata"); | - |
| 439 | success = qt_get_metadata(getMetaData, this); | - |
| 440 | }executed 4 times by 1 test: end of block | 4 |
| 441 | | - |
| 442 | if (!success| TRUE | evaluated 697 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 653 times by 110 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
- ...
|
) { | 653-697 |
| 443 | if (errorString.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 697 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-697 |
| 444 | if (fileName.isEmpty()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 445 | errorString = QLibrary::tr("The shared library was not found."); never executed: errorString = QLibrary::tr("The shared library was not found."); | 0 |
| 446 | else | - |
| 447 | 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 |
| 448 | } | - |
| 449 | pluginState = IsNotAPlugin; | - |
| 450 | return;executed 697 times by 111 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
- ...
| 697 |
| 451 | } | - |
| 452 | | - |
| 453 | pluginState = IsNotAPlugin; | - |
| 454 | | - |
| 455 | uint qt_version = (uint)metaData.value(QLatin1String("version")).toDouble(); | - |
| 456 | bool debug = metaData.value(QLatin1String("debug")).toBool(); | - |
| 457 | if ((| TRUE | never evaluated | | FALSE | evaluated 653 times by 110 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)|(6<<8)|(4)) & 0x00ff00)| TRUE | never evaluated | | FALSE | evaluated 653 times by 110 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 653 times by 110 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)|(6<<8)|(4)) & 0xff0000)| TRUE | never evaluated | | FALSE | evaluated 653 times by 110 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-653 |
| 458 | if (qt_debug_component()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 459 | QMessageLogger(__FILE__, 743, __PRETTY_FUNCTION__).warning("In %s:\n" | - |
| 460 | " Plugin uses incompatible Qt library (%d.%d.%d) [%s]", | - |
| 461 | (const char*) QFile::encodeName(fileName), | - |
| 462 | (qt_version&0xff0000) >> 16, (qt_version&0xff00) >> 8, qt_version&0xff, | - |
| 463 | debug ? "debug" : "release"); | - |
| 464 | } never executed: end of block | 0 |
| 465 | errorString = QLibrary::tr("The plugin '%1' uses incompatible Qt library. (%2.%3.%4) [%5]") | - |
| 466 | .arg(fileName) | - |
| 467 | .arg((qt_version&0xff0000) >> 16) | - |
| 468 | .arg((qt_version&0xff00) >> 8) | - |
| 469 | .arg(qt_version&0xff) | - |
| 470 | .arg(debug ? QLatin1String("debug") : QLatin1String("release")); | - |
| 471 | | - |
| 472 | | - |
| 473 | | - |
| 474 | | - |
| 475 | | - |
| 476 | | - |
| 477 | } never executed: end of block else { | 0 |
| 478 | pluginState = IsAPlugin; | - |
| 479 | }executed 653 times by 110 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
- ...
| 653 |
| 480 | } | - |
| 481 | bool QLibrary::load() | - |
| 482 | { | - |
| 483 | if (!d| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 132 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
|
) | 1-132 |
| 484 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 485 | if (did_load| TRUE | never evaluated | | FALSE | evaluated 132 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
|
) | 0-132 |
| 486 | return never executed: return d->pHnd; d->pHnd;never executed: return d->pHnd; | 0 |
| 487 | did_load = true; | - |
| 488 | returnexecuted 132 times by 46 tests: return d->load();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
d->load();executed 132 times by 46 tests: return d->load();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| 132 |
| 489 | } | - |
| 490 | bool QLibrary::unload() | - |
| 491 | { | - |
| 492 | 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 |
| 493 | did_load = false; | - |
| 494 | 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 |
| 495 | } | - |
| 496 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 497 | } | - |
| 498 | | - |
| 499 | | - |
| 500 | | - |
| 501 | | - |
| 502 | | - |
| 503 | | - |
| 504 | bool QLibrary::isLoaded() const | - |
| 505 | { | - |
| 506 | returnexecuted 12514 times by 46 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_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
d| TRUE | evaluated 12513 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| | FALSE | evaluated 1 time by 1 test |
&& d->pHnd| TRUE | evaluated 12469 times by 45 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| | FALSE | evaluated 44 times by 10 testsEvaluated by:- tst_QGraphicsView
- tst_QLabel
- tst_QLibrary
- tst_QPluginLoader
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qlibrary - unknown status
|
;executed 12514 times by 46 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_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| 1-12514 |
| 507 | } | - |
| 508 | | - |
| 509 | | - |
| 510 | | - |
| 511 | | - |
| 512 | | - |
| 513 | QLibrary::QLibrary(QObject *parent) | - |
| 514 | :QObject(parent), d(0), did_load(false) | - |
| 515 | { | - |
| 516 | }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 |
| 517 | QLibrary::QLibrary(const QString& fileName, QObject *parent) | - |
| 518 | :QObject(parent), d(0), did_load(false) | - |
| 519 | { | - |
| 520 | setFileName(fileName); | - |
| 521 | }executed 38 times by 3 tests: end of blockExecuted by:- tst_QLibrary
- tst_QPluginLoader
- tst_qlibrary - unknown status
| 38 |
| 522 | QLibrary::QLibrary(const QString& fileName, int verNum, QObject *parent) | - |
| 523 | :QObject(parent), d(0), did_load(false) | - |
| 524 | { | - |
| 525 | setFileNameAndVersion(fileName, verNum); | - |
| 526 | }executed 352 times by 14 tests: end of blockExecuted by:- tst_QApplication
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QLabel
- tst_QLibrary
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qapplication - unknown status
- tst_qlibrary - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 352 |
| 527 | QLibrary::QLibrary(const QString& fileName, const QString &version, QObject *parent) | - |
| 528 | :QObject(parent), d(0), did_load(false) | - |
| 529 | { | - |
| 530 | setFileNameAndVersion(fileName, version); | - |
| 531 | } never executed: end of block | 0 |
| 532 | QLibrary::~QLibrary() | - |
| 533 | { | - |
| 534 | if (d| TRUE | evaluated 454 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| | FALSE | evaluated 4 times by 1 test |
) | 4-454 |
| 535 | d->release();executed 454 times by 46 tests: d->release();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| 454 |
| 536 | }executed 458 times by 46 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| 458 |
| 537 | void QLibrary::setFileName(const QString &fileName) | - |
| 538 | { | - |
| 539 | QLibrary::LoadHints lh; | - |
| 540 | 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 |
| 541 | lh = d->loadHints(); | - |
| 542 | d->release(); | - |
| 543 | d = 0; | - |
| 544 | did_load = false; | - |
| 545 | }executed 3 times by 1 test: end of block | 3 |
| 546 | d = QLibraryPrivate::findOrCreate(fileName, QString(), lh); | - |
| 547 | }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 |
| 548 | | - |
| 549 | QString QLibrary::fileName() const | - |
| 550 | { | - |
| 551 | if (d| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 552 | returnexecuted 1 time by 1 test: return d->qualifiedFileName.isEmpty() ? d->fileName : d->qualifiedFileName; d->qualifiedFileName.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
? d->fileName : d->qualifiedFileName;executed 1 time by 1 test: return d->qualifiedFileName.isEmpty() ? d->fileName : d->qualifiedFileName; | 0-1 |
| 553 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 554 | } | - |
| 555 | void QLibrary::setFileNameAndVersion(const QString &fileName, int verNum) | - |
| 556 | { | - |
| 557 | QLibrary::LoadHints lh; | - |
| 558 | if (d| TRUE | never evaluated | | FALSE | evaluated 352 times by 14 testsEvaluated by:- tst_QApplication
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QLabel
- tst_QLibrary
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qapplication - unknown status
- tst_qlibrary - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-352 |
| 559 | lh = d->loadHints(); | - |
| 560 | d->release(); | - |
| 561 | d = 0; | - |
| 562 | did_load = false; | - |
| 563 | } never executed: end of block | 0 |
| 564 | d = QLibraryPrivate::findOrCreate(fileName, verNum >= 0 ? QString::number(verNum) : QString(), lh); | - |
| 565 | }executed 352 times by 14 tests: end of blockExecuted by:- tst_QApplication
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QLabel
- tst_QLibrary
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qapplication - unknown status
- tst_qlibrary - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 352 |
| 566 | void QLibrary::setFileNameAndVersion(const QString &fileName, const QString &version) | - |
| 567 | { | - |
| 568 | QLibrary::LoadHints lh; | - |
| 569 | 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 |
| 570 | lh = d->loadHints(); | - |
| 571 | d->release(); | - |
| 572 | d = 0; | - |
| 573 | did_load = false; | - |
| 574 | } never executed: end of block | 0 |
| 575 | d = QLibraryPrivate::findOrCreate(fileName, version, lh); | - |
| 576 | }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 |
| 577 | QFunctionPointer QLibrary::resolve(const char *symbol) | - |
| 578 | { | - |
| 579 | if (!isLoaded()| TRUE | evaluated 20 times by 8 testsEvaluated by:- tst_QGraphicsView
- tst_QLabel
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qlibrary - unknown status
| | FALSE | evaluated 12454 times by 45 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
|
&& !load()| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qlibrary - unknown status
| | FALSE | evaluated 19 times by 8 testsEvaluated by:- tst_QGraphicsView
- tst_QLabel
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_qlibrary - unknown status
|
) | 1-12454 |
| 580 | 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 |
| 581 | returnexecuted 12473 times by 46 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_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
d->resolve(symbol);executed 12473 times by 46 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_QGraphicsView
- 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_QProgressBar
- tst_QPushButton
- ...
| 12473 |
| 582 | } | - |
| 583 | QFunctionPointer QLibrary::resolve(const QString &fileName, const char *symbol) | - |
| 584 | { | - |
| 585 | QLibrary library(fileName); | - |
| 586 | return never executed: return library.resolve(symbol); library.resolve(symbol);never executed: return library.resolve(symbol); | 0 |
| 587 | } | - |
| 588 | QFunctionPointer QLibrary::resolve(const QString &fileName, int verNum, const char *symbol) | - |
| 589 | { | - |
| 590 | QLibrary library(fileName, verNum); | - |
| 591 | returnexecuted 216 times by 7 tests: return library.resolve(symbol);Executed by:- tst_QGraphicsView
- tst_QLabel
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
library.resolve(symbol);executed 216 times by 7 tests: return library.resolve(symbol);Executed by:- tst_QGraphicsView
- tst_QLabel
- tst_QProgressBar
- tst_QPushButton
- tst_QStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 216 |
| 592 | } | - |
| 593 | QFunctionPointer QLibrary::resolve(const QString &fileName, const QString &version, const char *symbol) | - |
| 594 | { | - |
| 595 | QLibrary library(fileName, version); | - |
| 596 | return never executed: return library.resolve(symbol); library.resolve(symbol);never executed: return library.resolve(symbol); | 0 |
| 597 | } | - |
| 598 | | - |
| 599 | | - |
| 600 | | - |
| 601 | | - |
| 602 | | - |
| 603 | | - |
| 604 | | - |
| 605 | QString QLibrary::errorString() const | - |
| 606 | { | - |
| 607 | 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| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
|| d->errorString.isEmpty()| TRUE | evaluated 17 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
| | FALSE | evaluated 3 times by 1 test |
) ? 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
| 1-21 |
| 608 | } | - |
| 609 | void QLibrary::setLoadHints(LoadHints hints) | - |
| 610 | { | - |
| 611 | if (!d| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 3 times by 1 test |
) { | 3 |
| 612 | d = QLibraryPrivate::findOrCreate(QString()); | - |
| 613 | d->errorString.clear(); | - |
| 614 | }executed 3 times by 1 test: end of block | 3 |
| 615 | d->setLoadHints(hints); | - |
| 616 | }executed 6 times by 1 test: end of block | 6 |
| 617 | | - |
| 618 | QLibrary::LoadHints QLibrary::loadHints() const | - |
| 619 | { | - |
| 620 | returnexecuted 15 times by 1 test: return d ? d->loadHints() : QLibrary::LoadHints(); d| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 6 times by 1 test |
? d->loadHints() : QLibrary::LoadHints();executed 15 times by 1 test: return d ? d->loadHints() : QLibrary::LoadHints(); | 6-15 |
| 621 | } | - |
| 622 | | - |
| 623 | | - |
| 624 | bool qt_debug_component() | - |
| 625 | { | - |
| 626 | static int debug_env = ::qEnvironmentVariableIntValue("QT_DEBUG_PLUGINS"); | - |
| 627 | returnexecuted 6961 times by 413 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 6961 times by 413 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
- ...
| 6961 |
| 628 | } | - |
| 629 | | - |
| 630 | | - |
| | |