| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | int qFindString(const QChar *haystack, int haystackLen, int from, | - |
| 16 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs); | - |
| 17 | int qFindStringBoyerMoore(const QChar *haystack, int haystackLen, int from, | - |
| 18 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs); | - |
| 19 | static inline int qt_last_index_of(const QChar *haystack, int haystackLen, QChar needle, | - |
| 20 | int from, Qt::CaseSensitivity cs); | - |
| 21 | static inline int qt_string_count(const QChar *haystack, int haystackLen, | - |
| 22 | const QChar *needle, int needleLen, | - |
| 23 | Qt::CaseSensitivity cs); | - |
| 24 | static inline int qt_string_count(const QChar *haystack, int haystackLen, | - |
| 25 | QChar needle, Qt::CaseSensitivity cs); | - |
| 26 | static inline int qt_find_latin1_string(const QChar *hay, int size, QLatin1String needle, | - |
| 27 | int from, Qt::CaseSensitivity cs); | - |
| 28 | static inline bool qt_starts_with(const QChar *haystack, int haystackLen, | - |
| 29 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs); | - |
| 30 | static inline bool qt_starts_with(const QChar *haystack, int haystackLen, | - |
| 31 | QLatin1String needle, Qt::CaseSensitivity cs); | - |
| 32 | static inline bool qt_ends_with(const QChar *haystack, int haystackLen, | - |
| 33 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs); | - |
| 34 | static inline bool qt_ends_with(const QChar *haystack, int haystackLen, | - |
| 35 | QLatin1String needle, Qt::CaseSensitivity cs); | - |
| 36 | | - |
| 37 | | - |
| 38 | namespace { | - |
| 39 | template <uint MaxCount> struct UnrollTailLoop | - |
| 40 | { | - |
| 41 | template <typename RetType, typename Functor1, typename Functor2> | - |
| 42 | static inline RetType exec(int count, RetType returnIfExited, Functor1 loopCheck, Functor2 returnIfFailed, int i = 0) | - |
| 43 | { | - |
| 44 | if (!count| TRUE | evaluated 6490921 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| | FALSE | evaluated 32903230 times by 807 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) | 6490921-32903230 |
| 45 | returnexecuted 6490952 times by 720 tests: return returnIfExited;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
returnIfExited;executed 6490952 times by 720 tests: return returnIfExited;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 6490952 |
| 46 | | - |
| 47 | bool check = loopCheck(i); | - |
| 48 | if (check| TRUE | evaluated 1381261 times by 555 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- ...
| | FALSE | evaluated 31522028 times by 807 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 1381261-31522028 |
| 49 | const RetType &retval = returnIfFailed(i); | - |
| 50 | returnexecuted 1381261 times by 555 tests: return retval;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- ...
retval;executed 1381261 times by 555 tests: return retval;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- ...
| 1381261 |
| 51 | } | - |
| 52 | | - |
| 53 | returnexecuted 31510179 times by 807 tests: return UnrollTailLoop<MaxCount - 1>::exec(count - 1, returnIfExited, loopCheck, returnIfFailed, i + 1);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
UnrollTailLoop<MaxCount - 1>::exec(count - 1, returnIfExited, loopCheck, returnIfFailed, i + 1);executed 31510179 times by 807 tests: return UnrollTailLoop<MaxCount - 1>::exec(count - 1, returnIfExited, loopCheck, returnIfFailed, i + 1);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 31510179 |
| 54 | } | - |
| 55 | | - |
| 56 | template <typename Functor> | - |
| 57 | static inline void exec(int count, Functor code) | - |
| 58 | { | - |
| 59 | | - |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | exec(count, 0, [=](int i) -> bool { code(i); returnexecuted 15984012 times by 719 tests: return false;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
false;executed 15984012 times by 719 tests: return false;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
}, [](int) { returnnever executed: return 0; 0;never executed: return 0; }); | 0-15984012 |
| 64 | }executed 2504564 times by 720 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 2504564 |
| 65 | }; | - |
| 66 | template <> template <typename RetType, typename Functor1, typename Functor2> | - |
| 67 | inline RetType UnrollTailLoop<0>::exec(int, RetType returnIfExited, Functor1, Functor2, int) | - |
| 68 | { | - |
| 69 | returnexecuted 523506 times by 484 tests: return returnIfExited;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
returnIfExited;executed 523506 times by 484 tests: return returnIfExited;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 523506 |
| 70 | } | - |
| 71 | } | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | void qt_from_latin1(ushort *dst, const char *str, size_t size) noexcept | - |
| 76 | { | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | const char *e = str + size; | - |
| 83 | qptrdiff offset = 0; | - |
| 84 | | - |
| 85 | | - |
| 86 | for ( ; str + offset + 15 < e| TRUE | evaluated 1567911 times by 550 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| | FALSE | evaluated 2214904 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
; offset += 16) { | 1567911-2214904 |
| 87 | const __m128i chunk = _mm_loadu_si128((const __m128i*)(str + offset)); | - |
| 88 | | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | const __m128i nullMask = _mm_set1_epi32(0); | - |
| 96 | | - |
| 97 | | - |
| 98 | const __m128i firstHalf = _mm_unpacklo_epi8(chunk, nullMask); | - |
| 99 | _mm_storeu_si128((__m128i*)(dst + offset), firstHalf); | - |
| 100 | | - |
| 101 | | - |
| 102 | const __m128i secondHalf = _mm_unpackhi_epi8 (chunk, nullMask); | - |
| 103 | _mm_storeu_si128((__m128i*)(dst + offset + 8), secondHalf); | - |
| 104 | | - |
| 105 | }executed 1567911 times by 550 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 1567911 |
| 106 | | - |
| 107 | size = size % 16; | - |
| 108 | dst += offset; | - |
| 109 | str += offset; | - |
| 110 | | - |
| 111 | returnexecuted 2214904 times by 720 tests: return UnrollTailLoop<15>::exec(int(size), [=](int i) { dst[i] = (uchar)str[i]; });Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
UnrollTailLoop<15>::exec(int(size), [=](int i) { dst[i] = (uchar)str[i]; });executed 2214904 times by 720 tests: return UnrollTailLoop<15>::exec(int(size), [=](int i) { dst[i] = (uchar)str[i]; });Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 2214904-14559810 |
| 112 | while dead code: while (size--) *dst++ = (uchar)*str++; (size--)dead code: while (size--) *dst++ = (uchar)*str++; | - |
| 113 | *dst++ = (uchar)*str++; dead code: while (size--) *dst++ = (uchar)*str++; | - |
| 114 | | - |
| 115 | } | - |
| 116 | | - |
| 117 | | - |
| 118 | static inline __m128i mergeQuestionMarks(__m128i chunk) | - |
| 119 | { | - |
| 120 | const __m128i questionMark = _mm_set1_epi16('?'); | - |
| 121 | const __m128i signedBitOffset = _mm_set1_epi16(short(0x8000)); | - |
| 122 | const __m128i thresholdMask = _mm_set1_epi16(short(0xff + 0x8000)); | - |
| 123 | | - |
| 124 | const __m128i signedChunk = _mm_add_epi16(chunk, signedBitOffset); | - |
| 125 | const __m128i offLimitMask = _mm_cmpgt_epi16(signedChunk, thresholdMask); | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | const __m128i offLimitQuestionMark = _mm_and_si128(offLimitMask, questionMark); | - |
| 134 | | - |
| 135 | | - |
| 136 | | - |
| 137 | const __m128i correctBytes = _mm_andnot_si128(offLimitMask, chunk); | - |
| 138 | | - |
| 139 | | - |
| 140 | chunk = _mm_or_si128(correctBytes, offLimitQuestionMark); | - |
| 141 | | - |
| 142 | | - |
| 143 | returnexecuted 767416 times by 380 tests: return chunk;Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- ...
chunk;executed 767416 times by 380 tests: return chunk;Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- ...
| 767416 |
| 144 | } | - |
| 145 | | - |
| 146 | | - |
| 147 | static void qt_to_latin1(uchar *dst, const ushort *src, int length) | - |
| 148 | { | - |
| 149 | | - |
| 150 | uchar *e = dst + length; | - |
| 151 | qptrdiff offset = 0; | - |
| 152 | | - |
| 153 | | - |
| 154 | for ( ; dst + offset + 15 < e| TRUE | evaluated 383708 times by 380 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- ...
| | FALSE | evaluated 289660 times by 448 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
; offset += 16) { | 289660-383708 |
| 155 | __m128i chunk1 = _mm_loadu_si128((const __m128i*)(src + offset)); | - |
| 156 | chunk1 = mergeQuestionMarks(chunk1); | - |
| 157 | | - |
| 158 | __m128i chunk2 = _mm_loadu_si128((const __m128i*)(src + offset + 8)); | - |
| 159 | chunk2 = mergeQuestionMarks(chunk2); | - |
| 160 | | - |
| 161 | | - |
| 162 | const __m128i result = _mm_packus_epi16(chunk1, chunk2); | - |
| 163 | _mm_storeu_si128((__m128i*)(dst + offset), result); | - |
| 164 | }executed 383708 times by 380 tests: end of blockExecuted by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- ...
| 383708 |
| 165 | | - |
| 166 | length = length % 16; | - |
| 167 | dst += offset; | - |
| 168 | src += offset; | - |
| 169 | | - |
| 170 | | - |
| 171 | returnexecuted 289660 times by 448 tests: return UnrollTailLoop<15>::exec(length, [=](int i) { dst[i] = (src[i]>0xff) ? '?' : (uchar) src[i]; });Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
UnrollTailLoop<15>::exec(length, [=](int i) { dst[i] = (| TRUE | evaluated 11 times by 2 tests | | FALSE | evaluated 1424191 times by 447 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
src[i]>0xff)| TRUE | evaluated 11 times by 2 tests | | FALSE | evaluated 1424191 times by 447 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
? '?' : (uchar) src[i]; });executed 289660 times by 448 tests: return UnrollTailLoop<15>::exec(length, [=](int i) { dst[i] = (src[i]>0xff) ? '?' : (uchar) src[i]; });Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 11-1424202 |
| 172 | while dead code: while (length--) { *dst++ = (*src>0xff) ? '?' : (uchar) *src; ++src; } (length--) {dead code: while (length--) { *dst++ = (*src>0xff) ? '?' : (uchar) *src; ++src; } | - |
| 173 | *dst++ = (*src>0xff) ? '?' : (uchar) *src; dead code: while (length--) { *dst++ = (*src>0xff) ? '?' : (uchar) *src; ++src; } | - |
| 174 | ++src; dead code: while (length--) { *dst++ = (*src>0xff) ? '?' : (uchar) *src; ++src; } | - |
| 175 | } dead code: while (length--) { *dst++ = (*src>0xff) ? '?' : (uchar) *src; ++src; } | - |
| 176 | | - |
| 177 | } | - |
| 178 | | - |
| 179 | | - |
| 180 | static int ucstricmp(const ushort *a, const ushort *ae, const ushort *b, const ushort *be) | - |
| 181 | { | - |
| 182 | if (a == b| TRUE | evaluated 4625 times by 125 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 488665 times by 164 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
) | 4625-488665 |
| 183 | returnexecuted 4625 times by 125 tests: return (ae - be);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
(ae - be);executed 4625 times by 125 tests: return (ae - be);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 4625 |
| 184 | if (a == 0| TRUE | never evaluated | | FALSE | evaluated 488665 times by 164 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
) | 0-488665 |
| 185 | return never executed: return 1; 1;never executed: return 1; | 0 |
| 186 | if (b == 0| TRUE | never evaluated | | FALSE | evaluated 488665 times by 164 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
) | 0-488665 |
| 187 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 188 | | - |
| 189 | const ushort *e = ae; | - |
| 190 | if (be - b < ae - a| TRUE | evaluated 226096 times by 134 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| | FALSE | evaluated 262569 times by 164 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
) | 226096-262569 |
| 191 | e = a + (be - b);executed 226096 times by 134 tests: e = a + (be - b);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 226096 |
| 192 | | - |
| 193 | uint alast = 0; | - |
| 194 | uint blast = 0; | - |
| 195 | while (a < e| TRUE | evaluated 1637572 times by 164 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| | FALSE | evaluated 71226 times by 162 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
) { | 71226-1637572 |
| 196 | | - |
| 197 | | - |
| 198 | | - |
| 199 | int diff = foldCase(*a, alast) - foldCase(*b, blast); | - |
| 200 | if ((| TRUE | evaluated 417439 times by 154 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| | FALSE | evaluated 1220133 times by 163 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
diff)| TRUE | evaluated 417439 times by 154 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| | FALSE | evaluated 1220133 times by 163 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
) | 417439-1220133 |
| 201 | returnexecuted 417439 times by 154 tests: return diff;Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
diff;executed 417439 times by 154 tests: return diff;Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 417439 |
| 202 | ++a; | - |
| 203 | ++b; | - |
| 204 | }executed 1220133 times by 163 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| 1220133 |
| 205 | if (a == ae| TRUE | evaluated 66587 times by 162 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| | FALSE | evaluated 4639 times by 126 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 4639-66587 |
| 206 | if (b == be| TRUE | evaluated 57463 times by 162 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| | FALSE | evaluated 9124 times by 126 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 9124-57463 |
| 207 | returnexecuted 57463 times by 162 tests: return 0;Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
0;executed 57463 times by 162 tests: return 0;Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| 57463 |
| 208 | returnexecuted 9124 times by 126 tests: return -1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
-1;executed 9124 times by 126 tests: return -1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 9124 |
| 209 | } | - |
| 210 | returnexecuted 4639 times by 126 tests: return 1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
1;executed 4639 times by 126 tests: return 1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 4639 |
| 211 | } | - |
| 212 | | - |
| 213 | | - |
| 214 | static int ucstricmp(const ushort *a, const ushort *ae, const uchar *b, const uchar *be) | - |
| 215 | { | - |
| 216 | if (a == 0| TRUE | never evaluated | | FALSE | evaluated 16802 times by 48 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
|
) { | 0-16802 |
| 217 | if (b == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 218 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 219 | return never executed: return 1; 1;never executed: return 1; | 0 |
| 220 | } | - |
| 221 | if (b == 0| TRUE | never evaluated | | FALSE | evaluated 16802 times by 48 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
|
) | 0-16802 |
| 222 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 223 | | - |
| 224 | const ushort *e = ae; | - |
| 225 | if (be - b < ae - a| TRUE | evaluated 3984 times by 24 testsEvaluated by:- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
- tst_QXmlStream
- tst_qmakelib
| | FALSE | evaluated 12818 times by 48 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
|
) | 3984-12818 |
| 226 | e = a + (be - b);executed 3984 times by 24 tests: e = a + (be - b);Executed by:- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
- tst_QXmlStream
- tst_qmakelib
| 3984 |
| 227 | | - |
| 228 | while (a < e| TRUE | evaluated 68943 times by 48 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
| | FALSE | evaluated 4472 times by 41 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
|
) { | 4472-68943 |
| 229 | int diff = foldCase(*a) - foldCase(*b); | - |
| 230 | if ((| TRUE | evaluated 12330 times by 35 testsEvaluated by:- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QStaticText
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
| | FALSE | evaluated 56613 times by 41 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
|
diff)| TRUE | evaluated 12330 times by 35 testsEvaluated by:- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QStaticText
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
| | FALSE | evaluated 56613 times by 41 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
|
) | 12330-56613 |
| 231 | returnexecuted 12330 times by 35 tests: return diff;Executed by:- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QStaticText
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
diff;executed 12330 times by 35 tests: return diff;Executed by:- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QStaticText
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
| 12330 |
| 232 | ++a; | - |
| 233 | ++b; | - |
| 234 | }executed 56613 times by 41 tests: end of blockExecuted by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
| 56613 |
| 235 | if (a == ae| TRUE | evaluated 4322 times by 41 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
| | FALSE | evaluated 150 times by 13 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlStream
|
) { | 150-4322 |
| 236 | if (b == be| TRUE | evaluated 3753 times by 41 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
| | FALSE | evaluated 569 times by 14 testsEvaluated by:- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QWidget
|
) | 569-3753 |
| 237 | returnexecuted 3753 times by 41 tests: return 0;Executed by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
0;executed 3753 times by 41 tests: return 0;Executed by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDockWidget
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- ...
| 3753 |
| 238 | returnexecuted 569 times by 14 tests: return -1;Executed by:- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QWidget
-1;executed 569 times by 14 tests: return -1;Executed by:- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QWidget
| 569 |
| 239 | } | - |
| 240 | returnexecuted 150 times by 13 tests: return 1;Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlStream
1;executed 150 times by 13 tests: return 1;Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlStream
| 150 |
| 241 | } | - |
| 242 | static int ucstrncmp(const QChar *a, const QChar *b, int l) | - |
| 243 | { | - |
| 244 | const char *ptr = reinterpret_cast<const char*>(a); | - |
| 245 | qptrdiff distance = reinterpret_cast<const char*>(b) - ptr; | - |
| 246 | a += l & ~7; | - |
| 247 | b += l & ~7; | - |
| 248 | l &= 7; | - |
| 249 | | - |
| 250 | | - |
| 251 | for ( ; ptr + 15 < reinterpret_cast<const char *>(a)| TRUE | evaluated 6243664 times by 602 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| | FALSE | evaluated 3882046 times by 616 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
; ptr += 16) { | 3882046-6243664 |
| 252 | __m128i a_data = _mm_loadu_si128((const __m128i*)ptr); | - |
| 253 | __m128i b_data = _mm_loadu_si128((const __m128i*)(ptr + distance)); | - |
| 254 | __m128i result = _mm_cmpeq_epi16(a_data, b_data); | - |
| 255 | uint mask = ~_mm_movemask_epi8(result); | - |
| 256 | if (ushort(mask)| TRUE | evaluated 1473564 times by 468 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| | FALSE | evaluated 4770100 times by 601 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) { | 1473564-4770100 |
| 257 | | - |
| 258 | uint idx = uint(__bsfd(mask)); | - |
| 259 | returnexecuted 1473564 times by 468 tests: return reinterpret_cast<const QChar *>(ptr + idx)->unicode() - reinterpret_cast<const QChar *>(ptr + distance + idx)->unicode();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
reinterpret_cast<const QChar *>(ptr + idx)->unicode()executed 1473564 times by 468 tests: return reinterpret_cast<const QChar *>(ptr + idx)->unicode() - reinterpret_cast<const QChar *>(ptr + distance + idx)->unicode();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| 1473564 |
| 260 | - reinterpret_cast<const QChar *>(ptr + distance + idx)->unicode();executed 1473564 times by 468 tests: return reinterpret_cast<const QChar *>(ptr + idx)->unicode() - reinterpret_cast<const QChar *>(ptr + distance + idx)->unicode();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| 1473564 |
| 261 | } | - |
| 262 | }executed 4770100 times by 601 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 4770100 |
| 263 | | - |
| 264 | const auto &lambda = [=](int i) -> int { | - |
| 265 | returnexecuted 13023200 times by 615 tests: return reinterpret_cast<const QChar *>(ptr)[i].unicode() - reinterpret_cast<const QChar *>(ptr + distance)[i].unicode();Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
reinterpret_cast<const QChar *>(ptr)[i].unicode()executed 13023200 times by 615 tests: return reinterpret_cast<const QChar *>(ptr)[i].unicode() - reinterpret_cast<const QChar *>(ptr + distance)[i].unicode();Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 13023200 |
| 266 | - reinterpret_cast<const QChar *>(ptr + distance)[i].unicode();executed 13023200 times by 615 tests: return reinterpret_cast<const QChar *>(ptr)[i].unicode() - reinterpret_cast<const QChar *>(ptr + distance)[i].unicode();Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 13023200 |
| 267 | }; | - |
| 268 | returnexecuted 3882046 times by 616 tests: return UnrollTailLoop<7>::exec(l, 0, lambda, lambda);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
UnrollTailLoop<7>::exec(l, 0, lambda, lambda);executed 3882046 times by 616 tests: return UnrollTailLoop<7>::exec(l, 0, lambda, lambda);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 3882046 |
| 269 | | - |
| 270 | | - |
| 271 | if dead code: if (!l) return 0; (!l)dead code: if (!l) return 0; | - |
| 272 | return 0; dead code: if (!l) return 0; | - |
| 273 | | - |
| 274 | | - |
| 275 | if dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) {dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 276 | | - |
| 277 | if (reinterpret_cast<quintptr>(a) & 2) { dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 278 | | - |
| 279 | | - |
| 280 | if (*a != *b) dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 281 | return a->unicode() - b->unicode(); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 282 | --l; dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 283 | ++a; dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 284 | ++b; dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 285 | | - |
| 286 | | - |
| 287 | } dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 288 | | - |
| 289 | | - |
| 290 | | - |
| 291 | const quint32 *da = reinterpret_cast<const quint32 *>(a); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 292 | const quint32 *db = reinterpret_cast<const quint32 *>(b); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 293 | const quint32 *e = da + (l >> 1); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 294 | for ( ; da != e; ++da, ++db) { dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 295 | if (*da != *db) { dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 296 | a = reinterpret_cast<const QChar *>(da); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 297 | b = reinterpret_cast<const QChar *>(db); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 298 | if (*a != *b) dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 299 | return a->unicode() - b->unicode(); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 300 | return a[1].unicode() - b[1].unicode(); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 301 | } dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 302 | } dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 303 | | - |
| 304 | | - |
| 305 | a = reinterpret_cast<const QChar *>(da); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 306 | b = reinterpret_cast<const QChar *>(db); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 307 | return (l & 1) ? a->unicode() - b->unicode() : 0; dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 308 | } else { dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 309 | | - |
| 310 | const QChar *e = a + l; dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 311 | for ( ; a != e; ++a, ++b) { dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 312 | if (*a != *b) dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 313 | return a->unicode() - b->unicode(); dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 314 | } dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 315 | } dead code: if ((reinterpret_cast<quintptr>(a) & 2) == (reinterpret_cast<quintptr>(b) & 2)) { if (reinterpret_cast<quintptr>(a) & 2) { if (*a != *b) return a->unicode() - b->unicode(); --l; ++a; ++b; } const quint32 *da = reinterpret_cast<const quint32 *>(a); const q...e(); } } a = reinterpret_cast<const QChar *>(da); b = reinterpret_cast<const QChar *>(db); return (l & 1) ? a->unicode() - b->unicode() : 0; } else { const QChar *e = a + l; for ( ; a != e; ++a, ++b) { if (*a != *b) return a->unicode() - b->unicode(); } } | - |
| 316 | return dead code: return 0; 0;dead code: return 0; | - |
| 317 | } | - |
| 318 | | - |
| 319 | static int ucstrncmp(const QChar *a, const uchar *c, int l) | - |
| 320 | { | - |
| 321 | const ushort *uc = reinterpret_cast<const ushort *>(a); | - |
| 322 | const ushort *e = uc + l; | - |
| 323 | | - |
| 324 | | - |
| 325 | __m128i nullmask = _mm_setzero_si128(); | - |
| 326 | qptrdiff offset = 0; | - |
| 327 | | - |
| 328 | | - |
| 329 | | - |
| 330 | for ( ; uc + offset + 15 < e| TRUE | evaluated 49948 times by 343 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| | FALSE | evaluated 1099422 times by 460 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
; offset += 16) { | 49948-1099422 |
| 331 | | - |
| 332 | | - |
| 333 | __m128i chunk = _mm_loadu_si128((const __m128i*)(c + offset)); | - |
| 334 | __m128i firstHalf = _mm_unpacklo_epi8(chunk, nullmask); | - |
| 335 | __m128i secondHalf = _mm_unpackhi_epi8(chunk, nullmask); | - |
| 336 | | - |
| 337 | | - |
| 338 | __m128i ucdata1 = _mm_loadu_si128((const __m128i*)(uc + offset)); | - |
| 339 | __m128i ucdata2 = _mm_loadu_si128((const __m128i*)(uc + offset + 8)); | - |
| 340 | __m128i result1 = _mm_cmpeq_epi16(firstHalf, ucdata1); | - |
| 341 | __m128i result2 = _mm_cmpeq_epi16(secondHalf, ucdata2); | - |
| 342 | | - |
| 343 | uint mask = ~(_mm_movemask_epi8(result1) | _mm_movemask_epi8(result2) << 16); | - |
| 344 | | - |
| 345 | if (mask| TRUE | evaluated 19712 times by 60 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- ...
| | FALSE | evaluated 30236 times by 342 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) { | 19712-30236 |
| 346 | | - |
| 347 | uint idx = uint(__bsfd(mask)); | - |
| 348 | returnexecuted 19712 times by 60 tests: return uc[offset + idx / 2] - c[offset + idx / 2];Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- ...
uc[offset + idx / 2] - c[offset + idx / 2];executed 19712 times by 60 tests: return uc[offset + idx / 2] - c[offset + idx / 2];Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- ...
| 19712 |
| 349 | } | - |
| 350 | }executed 30236 times by 342 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 30236 |
| 351 | | - |
| 352 | | - |
| 353 | enum { MaxTailLength = 7 }; | - |
| 354 | | - |
| 355 | if (uc + offset + 7 < e| TRUE | evaluated 361043 times by 254 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- ...
| | FALSE | evaluated 738379 times by 455 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) { | 361043-738379 |
| 356 | | - |
| 357 | __m128i chunk = _mm_cvtsi64_si128(qFromUnaligned<long long>(c + offset)); | - |
| 358 | __m128i secondHalf = _mm_unpacklo_epi8(chunk, nullmask); | - |
| 359 | | - |
| 360 | __m128i ucdata = _mm_loadu_si128((const __m128i*)(uc + offset)); | - |
| 361 | __m128i result = _mm_cmpeq_epi16(secondHalf, ucdata); | - |
| 362 | uint mask = ~_mm_movemask_epi8(result); | - |
| 363 | if (ushort(mask)| TRUE | evaluated 80759 times by 228 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 280284 times by 244 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- ...
|
) { | 80759-280284 |
| 364 | | - |
| 365 | uint idx = uint(__bsfd(mask)); | - |
| 366 | returnexecuted 80759 times by 228 tests: return uc[offset + idx / 2] - c[offset + idx / 2];Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
uc[offset + idx / 2] - c[offset + idx / 2];executed 80759 times by 228 tests: return uc[offset + idx / 2] - c[offset + idx / 2];Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| 80759 |
| 367 | } | - |
| 368 | | - |
| 369 | | - |
| 370 | offset += 8; | - |
| 371 | }executed 280284 times by 244 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- ...
| 280284 |
| 372 | | - |
| 373 | | - |
| 374 | | - |
| 375 | | - |
| 376 | | - |
| 377 | | - |
| 378 | | - |
| 379 | uc += offset; | - |
| 380 | c += offset; | - |
| 381 | | - |
| 382 | | - |
| 383 | const auto &lambda = [=](int i) { returnexecuted 2969312 times by 459 tests: return uc[i] - ushort(c[i]);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
uc[i] - ushort(c[i]);executed 2969312 times by 459 tests: return uc[i] - ushort(c[i]);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
}; | 2969312 |
| 384 | returnexecuted 1018663 times by 459 tests: return UnrollTailLoop<MaxTailLength>::exec(e - uc, 0, lambda, lambda);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
UnrollTailLoop<MaxTailLength>::exec(e - uc, 0, lambda, lambda);executed 1018663 times by 459 tests: return UnrollTailLoop<MaxTailLength>::exec(e - uc, 0, lambda, lambda);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 1018663 |
| 385 | | - |
| 386 | | - |
| 387 | | - |
| 388 | while dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } (uc < e) {dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } | - |
| 389 | int diff = *uc - *c; dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } | - |
| 390 | if (diff) dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } | - |
| 391 | return diff; dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } | - |
| 392 | uc++, c++; dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } | - |
| 393 | } dead code: while (uc < e) { int diff = *uc - *c; if (diff) return diff; uc++, c++; } | - |
| 394 | | - |
| 395 | return dead code: return 0; 0;dead code: return 0; | - |
| 396 | } | - |
| 397 | | - |
| 398 | | - |
| 399 | static int ucstrcmp(const QChar *a, int alen, const QChar *b, int blen) | - |
| 400 | { | - |
| 401 | if (a == b| TRUE | evaluated 80470 times by 428 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataStream
- ...
| | FALSE | evaluated 2253452 times by 463 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
|
&& alen == blen| TRUE | evaluated 80469 times by 428 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataStream
- ...
| | FALSE | evaluated 1 time by 1 test |
) | 1-2253452 |
| 402 | returnexecuted 80469 times by 428 tests: return 0;Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataStream
- ...
0;executed 80469 times by 428 tests: return 0;Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataStream
- ...
| 80469 |
| 403 | int l = qMin(alen, blen); | - |
| 404 | int cmp = ucstrncmp(a, b, l); | - |
| 405 | returnexecuted 2253777 times by 463 tests: return cmp ? cmp : (alen-blen);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
cmp| TRUE | evaluated 2072105 times by 443 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| | FALSE | evaluated 181672 times by 207 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
? cmp : (alen-blen);executed 2253777 times by 463 tests: return cmp ? cmp : (alen-blen);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| 181672-2253777 |
| 406 | } | - |
| 407 | | - |
| 408 | | - |
| 409 | static int ucstrnicmp(const ushort *a, const ushort *b, int l) | - |
| 410 | { | - |
| 411 | returnexecuted 1171 times by 13 tests: return ucstricmp(a, a + l, b, b + l);Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTime
- tst_qlogging - unknown status
ucstricmp(a, a + l, b, b + l);executed 1171 times by 13 tests: return ucstricmp(a, a + l, b, b + l);Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTime
- tst_qlogging - unknown status
| 1171 |
| 412 | } | - |
| 413 | | - |
| 414 | static bool qMemEquals(const quint16 *a, const quint16 *b, int length) | - |
| 415 | { | - |
| 416 | if (a == b| TRUE | evaluated 921446 times by 461 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 3030930 times by 400 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
|| !length| TRUE | evaluated 220559 times by 132 testsEvaluated by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDBusServiceWatcher
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- ...
| | FALSE | evaluated 2810371 times by 399 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) | 220559-3030930 |
| 417 | returnexecuted 1142005 times by 474 tests: return true;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
true;executed 1142005 times by 474 tests: return true;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 1142005 |
| 418 | | - |
| 419 | returnexecuted 2810371 times by 399 tests: return ucstrncmp(reinterpret_cast<const QChar *>(a), reinterpret_cast<const QChar *>(b), length) == 0;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
ucstrncmp(reinterpret_cast<const QChar *>(a), reinterpret_cast<const QChar *>(b), length) == 0;executed 2810371 times by 399 tests: return ucstrncmp(reinterpret_cast<const QChar *>(a), reinterpret_cast<const QChar *>(b), length) == 0;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 2810371 |
| 420 | } | - |
| 421 | | - |
| 422 | static int ucstrcmp(const QChar *a, int alen, const uchar *b, int blen) | - |
| 423 | { | - |
| 424 | int l = qMin(alen, blen); | - |
| 425 | int cmp = ucstrncmp(a, b, l); | - |
| 426 | returnexecuted 518239 times by 443 tests: return cmp ? cmp : (alen-blen);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
cmp| TRUE | evaluated 222479 times by 221 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| | FALSE | evaluated 295760 times by 440 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
? cmp : (alen-blen);executed 518239 times by 443 tests: return cmp ? cmp : (alen-blen);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 222479-518239 |
| 427 | } | - |
| 428 | static int findChar(const QChar *str, int len, QChar ch, int from, | - |
| 429 | Qt::CaseSensitivity cs) | - |
| 430 | { | - |
| 431 | const ushort *s = (const ushort *)str; | - |
| 432 | ushort c = ch.unicode(); | - |
| 433 | if (from < 0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1387889 times by 325 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- ...
|
) | 1-1387889 |
| 434 | from = qMax(from + len, 0);executed 1 time by 1 test: from = qMax(from + len, 0); | 1 |
| 435 | if (from < len| TRUE | evaluated 1384399 times by 321 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- ...
| | FALSE | evaluated 3491 times by 63 testsEvaluated by:- tst_QAbstractButton
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBrush
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- ...
|
) { | 3491-1384399 |
| 436 | const ushort *n = s + from; | - |
| 437 | const ushort *e = s + len; | - |
| 438 | if (cs == Qt::CaseSensitive| TRUE | evaluated 1383938 times by 320 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
| | FALSE | evaluated 461 times by 6 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_qmakelib
|
) { | 461-1383938 |
| 439 | | - |
| 440 | __m128i mch = _mm_set1_epi32(c | (c << 16)); | - |
| 441 | | - |
| 442 | | - |
| 443 | for (const ushort *next = n + 8; next <= e| TRUE | evaluated 1050720 times by 312 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 992185 times by 309 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
|
; n = next, next += 8) { | 992185-1050720 |
| 444 | __m128i data = _mm_loadu_si128((const __m128i*)n); | - |
| 445 | __m128i result = _mm_cmpeq_epi16(data, mch); | - |
| 446 | uint mask = _mm_movemask_epi8(result); | - |
| 447 | if (ushort(mask)| TRUE | evaluated 391753 times by 270 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 658967 times by 297 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
|
) { | 391753-658967 |
| 448 | | - |
| 449 | | - |
| 450 | returnexecuted 391753 times by 270 tests: return (reinterpret_cast<const char *>(n) - reinterpret_cast<const char *>(s) + __bsfd(mask)) >> 1;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
(reinterpret_cast<const char *>(n) - reinterpret_cast<const char *>(s)executed 391753 times by 270 tests: return (reinterpret_cast<const char *>(n) - reinterpret_cast<const char *>(s) + __bsfd(mask)) >> 1;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 391753 |
| 451 | + __bsfd(mask)) >> 1;executed 391753 times by 270 tests: return (reinterpret_cast<const char *>(n) - reinterpret_cast<const char *>(s) + __bsfd(mask)) >> 1;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 391753 |
| 452 | } | - |
| 453 | }executed 658967 times by 297 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
| 658967 |
| 454 | | - |
| 455 | | - |
| 456 | returnexecuted 992185 times by 309 tests: return UnrollTailLoop<7>::exec(e - n, -1, [=](int i) { return n[i] == c; }, [=](int i) { return n - s + i; });Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
UnrollTailLoop<7>::exec(e - n, -1,executed 992185 times by 309 tests: return UnrollTailLoop<7>::exec(e - n, -1, [=](int i) { return n[i] == c; }, [=](int i) { return n - s + i; });Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
| 992185 |
| 457 | [=](int i) { returnexecuted 2236993 times by 307 tests: return n[i] == c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
n[i] == c;executed 2236993 times by 307 tests: return n[i] == c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
},executed 992185 times by 309 tests: return UnrollTailLoop<7>::exec(e - n, -1, [=](int i) { return n[i] == c; }, [=](int i) { return n - s + i; });Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
| 992185-2236993 |
| 458 | [=](int i) { returnexecuted 71033 times by 138 tests: return n - s + i;Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QCollator
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- ...
n - s + i;executed 71033 times by 138 tests: return n - s + i;Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QCollator
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- ...
});executed 992185 times by 309 tests: return UnrollTailLoop<7>::exec(e - n, -1, [=](int i) { return n[i] == c; }, [=](int i) { return n - s + i; });Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- ...
| 71033-992185 |
| 459 | | - |
| 460 | | - |
| 461 | -- dead code: --n; n;dead code: --n; | - |
| 462 | while dead code: while (++n != e) if (*n == c) return n - s; (++n != e)dead code: while (++n != e) if (*n == c) return n - s; | - |
| 463 | if (*n == c) dead code: while (++n != e) if (*n == c) return n - s; | - |
| 464 | return n - s; dead code: while (++n != e) if (*n == c) return n - s; | - |
| 465 | } else { | - |
| 466 | c = foldCase(c); | - |
| 467 | --n; | - |
| 468 | while (++| TRUE | evaluated 800 times by 6 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_qmakelib
| | FALSE | evaluated 125 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
|
n != e| TRUE | evaluated 800 times by 6 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_qmakelib
| | FALSE | evaluated 125 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
|
) | 125-800 |
| 469 | if (foldCase(*n) == c| TRUE | evaluated 336 times by 6 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_qmakelib
| | FALSE | evaluated 464 times by 5 testsEvaluated by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_qmakelib
|
) | 336-464 |
| 470 | returnexecuted 336 times by 6 tests: return n - s;Executed by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_qmakelib
n - s;executed 336 times by 6 tests: return n - s;Executed by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_qmakelib
| 336 |
| 471 | }executed 125 times by 4 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
| 125 |
| 472 | } | - |
| 473 | returnexecuted 3616 times by 66 tests: return -1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBrush
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
-1;executed 3616 times by 66 tests: return -1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBrush
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataStream
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
| 3616 |
| 474 | } | - |
| 475 | | - |
| 476 | | - |
| 477 | | - |
| 478 | | - |
| 479 | | - |
| 480 | | - |
| 481 | inline bool qIsUpper(char ch) | - |
| 482 | { | - |
| 483 | returnexecuted 114903 times by 50 tests: return ch >= 'A' && ch <= 'Z';Executed by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
ch >= 'A'| TRUE | evaluated 114903 times by 50 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
| | FALSE | never evaluated |
&& ch <= 'Z'| TRUE | evaluated 4992 times by 1 test | | FALSE | evaluated 109911 times by 50 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
|
;executed 114903 times by 50 tests: return ch >= 'A' && ch <= 'Z';Executed by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
| 0-114903 |
| 484 | } | - |
| 485 | | - |
| 486 | inline bool qIsDigit(char ch) | - |
| 487 | { | - |
| 488 | returnexecuted 420370 times by 110 tests: return ch >= '0' && ch <= '9';Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
ch >= '0'| TRUE | evaluated 411001 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| | FALSE | evaluated 9369 times by 9 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
|
&& ch <= '9'| TRUE | evaluated 56329 times by 23 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QPrinter
- tst_QRegExp
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QTime
- tst_QUdpSocket
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 354672 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
;executed 420370 times by 110 tests: return ch >= '0' && ch <= '9';Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| 9369-420370 |
| 489 | } | - |
| 490 | | - |
| 491 | inline char qToLower(char ch) | - |
| 492 | { | - |
| 493 | if (ch >= 'A'| TRUE | evaluated 114903 times by 50 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
| | FALSE | never evaluated |
&& ch <= 'Z'| TRUE | evaluated 4992 times by 1 test | | FALSE | evaluated 109911 times by 50 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
|
) | 0-114903 |
| 494 | returnexecuted 4992 times by 1 test: return ch - 'A' + 'a'; ch - 'A' + 'a';executed 4992 times by 1 test: return ch - 'A' + 'a'; | 4992 |
| 495 | else | - |
| 496 | returnexecuted 109911 times by 50 tests: return ch;Executed by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
ch;executed 109911 times by 50 tests: return ch;Executed by:- tst_PlatformSocketEngine
- tst_QAlgorithms
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QPageSize
- ...
| 109911 |
| 497 | } | - |
| 498 | | - |
| 499 | | - |
| 500 | const QString::Null QString::null = { }; | - |
| 501 | int QString::toUcs4_helper(const ushort *uc, int length, uint *out) | - |
| 502 | { | - |
| 503 | int count = 0; | - |
| 504 | | - |
| 505 | QStringIterator i(reinterpret_cast<const QChar *>(uc), reinterpret_cast<const QChar *>(uc + length)); | - |
| 506 | while (i.hasNext()| TRUE | evaluated 44 times by 1 test | | FALSE | evaluated 12 times by 1 test |
) | 12-44 |
| 507 | out[count++] = i.next();executed 44 times by 1 test: out[count++] = i.next(); | 44 |
| 508 | | - |
| 509 | returnexecuted 12 times by 1 test: return count; count;executed 12 times by 1 test: return count; | 12 |
| 510 | } | - |
| 511 | QString::QString(const QChar *unicode, int size) | - |
| 512 | { | - |
| 513 | if (!unicode| TRUE | evaluated 3143 times by 9 testsEvaluated by:- tst_QItemModel
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStringMatcher
- tst_QTextBoundaryFinder
| | FALSE | evaluated 13159949 times by 546 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 3143-13159949 |
| 514 | d = Data::sharedNull(); | - |
| 515 | }executed 3143 times by 9 tests: end of blockExecuted by:- tst_QItemModel
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStringMatcher
- tst_QTextBoundaryFinder
else { | 3143 |
| 516 | if (size < 0| TRUE | evaluated 101050 times by 9 testsEvaluated by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
| | FALSE | evaluated 13058899 times by 546 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 101050-13058899 |
| 517 | size = 0; | - |
| 518 | while (!unicode[size].isNull()| TRUE | evaluated 3080963 times by 9 testsEvaluated by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
| | FALSE | evaluated 101050 times by 9 testsEvaluated by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
|
) | 101050-3080963 |
| 519 | ++executed 3080963 times by 9 tests: ++size;Executed by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
size;executed 3080963 times by 9 tests: ++size;Executed by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
| 3080963 |
| 520 | }executed 101050 times by 9 tests: end of blockExecuted by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
| 101050 |
| 521 | if (!size| TRUE | evaluated 421779 times by 400 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 12738170 times by 421 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 421779-12738170 |
| 522 | d = Data::allocate(0); | - |
| 523 | }executed 421779 times by 400 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- ...
else { | 421779 |
| 524 | d = Data::allocate(size + 1); | - |
| 525 | do { if (!(d)| TRUE | never evaluated | | FALSE | evaluated 12738170 times by 421 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-12738170 |
| 526 | d->size = size; | - |
| 527 | memcpy(d->data(), unicode, size * sizeof(QChar)); | - |
| 528 | d->data()[size] = '\0'; | - |
| 529 | }executed 12738170 times by 421 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 12738170 |
| 530 | } | - |
| 531 | } | - |
| 532 | | - |
| 533 | | - |
| 534 | | - |
| 535 | | - |
| 536 | | - |
| 537 | | - |
| 538 | | - |
| 539 | QString::QString(int size, QChar ch) | - |
| 540 | { | - |
| 541 | if (size <= 0| TRUE | evaluated 201 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QDBusXmlParser
- tst_QXmlSimpleReader
| | FALSE | evaluated 249846 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
|
) { | 201-249846 |
| 542 | d = Data::allocate(0); | - |
| 543 | }executed 201 times by 3 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QDBusXmlParser
- tst_QXmlSimpleReader
else { | 201 |
| 544 | d = Data::allocate(size + 1); | - |
| 545 | do { if (!(d)| TRUE | never evaluated | | FALSE | evaluated 249846 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-249846 |
| 546 | d->size = size; | - |
| 547 | d->data()[size] = '\0'; | - |
| 548 | ushort *i = d->data() + size; | - |
| 549 | ushort *b = d->data(); | - |
| 550 | const ushort value = ch.unicode(); | - |
| 551 | while (i != b| TRUE | evaluated 404828 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
| | FALSE | evaluated 249846 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
|
) | 249846-404828 |
| 552 | *--executed 404828 times by 43 tests: *--i = value;Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
i = value;executed 404828 times by 43 tests: *--i = value;Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
| 404828 |
| 553 | }executed 249846 times by 43 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QPlainTextEdit
- tst_QSignalSpy
- ...
| 249846 |
| 554 | } | - |
| 555 | | - |
| 556 | | - |
| 557 | | - |
| 558 | | - |
| 559 | | - |
| 560 | | - |
| 561 | | - |
| 562 | QString::QString(int size, Qt::Initialization) | - |
| 563 | { | - |
| 564 | d = Data::allocate(size + 1); | - |
| 565 | do { if (!(d)| TRUE | never evaluated | | FALSE | evaluated 60792734 times by 594 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-60792734 |
| 566 | d->size = size; | - |
| 567 | d->data()[size] = '\0'; | - |
| 568 | }executed 60792734 times by 594 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 60792734 |
| 569 | QString::QString(QChar ch) | - |
| 570 | { | - |
| 571 | d = Data::allocate(2); | - |
| 572 | do { if (!(d)| TRUE | never evaluated | | FALSE | evaluated 488750 times by 265 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-488750 |
| 573 | d->size = 1; | - |
| 574 | d->data()[0] = ch.unicode(); | - |
| 575 | d->data()[1] = '\0'; | - |
| 576 | }executed 488750 times by 265 tests: end of blockExecuted by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 488750 |
| 577 | void QString::resize(int size) | - |
| 578 | { | - |
| 579 | if (size < 0| TRUE | evaluated 28 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QString
| | FALSE | evaluated 87220402 times by 559 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) | 28-87220402 |
| 580 | size = 0;executed 28 times by 4 tests: size = 0;Executed by:- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QString
| 28 |
| 581 | | - |
| 582 | if (((| TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QDateTimeEdit
- tst_QString
- tst_qmakelib
| | FALSE | evaluated 87220520 times by 559 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
d)->offset != sizeof(QStringData))| TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QDateTimeEdit
- tst_QString
- tst_qmakelib
| | FALSE | evaluated 87220520 times by 559 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
&& !d->ref.isShared()| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QString
| | FALSE | evaluated 2 times by 1 test |
&& size < d->size| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QString
| | FALSE | never evaluated |
) { | 0-87220520 |
| 583 | d->size = size; | - |
| 584 | return;executed 2 times by 2 tests: return;Executed by:- tst_QDateTimeEdit
- tst_QString
| 2 |
| 585 | } | - |
| 586 | | - |
| 587 | if (d->ref.isShared()| TRUE | evaluated 1778203 times by 447 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- ...
| | FALSE | evaluated 85442319 times by 544 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
|| uint(size) + 1u > d->alloc| TRUE | evaluated 227704 times by 168 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 85214615 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) | 227704-85442319 |
| 588 | reallocData(uint(size) + 1u, true);executed 2005907 times by 460 tests: reallocData(uint(size) + 1u, true);Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 2005907 |
| 589 | if (d->alloc| TRUE | evaluated 87220522 times by 559 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| | FALSE | never evaluated |
) { | 0-87220522 |
| 590 | d->size = size; | - |
| 591 | d->data()[size] = '\0'; | - |
| 592 | }executed 87220522 times by 559 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 87220522 |
| 593 | }executed 87220522 times by 559 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 87220522 |
| 594 | void QString::reallocData(uint alloc, bool grow) | - |
| 595 | { | - |
| 596 | if (grow| TRUE | evaluated 3837956 times by 541 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
| | FALSE | evaluated 1038742 times by 311 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 1038742-3837956 |
| 597 | if (alloc > (uint(MaxAllocSize) - sizeof(Data)) / sizeof(QChar)| TRUE | never evaluated | | FALSE | evaluated 3837956 times by 541 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
|
) | 0-3837956 |
| 598 | qBadAlloc(); never executed: qBadAlloc(); | 0 |
| 599 | alloc = qAllocMore(alloc * sizeof(QChar), sizeof(Data)) / sizeof(QChar); | - |
| 600 | }executed 3837956 times by 541 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
| 3837956 |
| 601 | | - |
| 602 | if (d->ref.isShared()| TRUE | evaluated 3633906 times by 538 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
| | FALSE | evaluated 1242792 times by 503 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
|| ((| TRUE | evaluated 8376 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| | FALSE | evaluated 1234416 times by 503 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
d)->offset != sizeof(QStringData))| TRUE | evaluated 8376 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| | FALSE | evaluated 1234416 times by 503 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) { | 8376-3633906 |
| 603 | Data::AllocationOptions allocOptions(d->capacityReserved ? Data::CapacityReserved : 0); | - |
| 604 | Data *x = Data::allocate(alloc, allocOptions); | - |
| 605 | do { if (!(x)| TRUE | never evaluated | | FALSE | evaluated 3642282 times by 538 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-3642282 |
| 606 | x->size = qMin(int(alloc) - 1, d->size); | - |
| 607 | ::memcpy(x->data(), d->data(), x->size * sizeof(QChar)); | - |
| 608 | x->data()[x->size] = 0; | - |
| 609 | if (!d->ref.deref()| TRUE | evaluated 8376 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| | FALSE | evaluated 3633906 times by 538 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
|
) | 8376-3633906 |
| 610 | Data::deallocate(d);executed 8376 times by 14 tests: Data::deallocate(d);Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| 8376 |
| 611 | d = x; | - |
| 612 | }executed 3642282 times by 538 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
else { | 3642282 |
| 613 | Data *p = static_cast<Data *>(::realloc(d, sizeof(Data) + alloc * sizeof(QChar))); | - |
| 614 | do { if (!(p)| TRUE | never evaluated | | FALSE | evaluated 1234416 times by 503 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-1234416 |
| 615 | d = p; | - |
| 616 | d->alloc = alloc; | - |
| 617 | d->offset = sizeof(QStringData); | - |
| 618 | }executed 1234416 times by 503 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 1234416 |
| 619 | } | - |
| 620 | | - |
| 621 | void QString::expand(int i) | - |
| 622 | { | - |
| 623 | int sz = d->size; | - |
| 624 | resize(qMax(i + 1, sz)); | - |
| 625 | if (d->size - 1 > sz| TRUE | evaluated 699856 times by 100 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QEventLoop
- ...
| | FALSE | evaluated 780777 times by 425 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) { | 699856-780777 |
| 626 | ushort *n = d->data() + d->size - 1; | - |
| 627 | ushort *e = d->data() + sz; | - |
| 628 | while (n != e| TRUE | evaluated 5687733 times by 100 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QEventLoop
- ...
| | FALSE | evaluated 699856 times by 100 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QEventLoop
- ...
|
) | 699856-5687733 |
| 629 | *executed 5687733 times by 100 tests: * --n = ' ';Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QEventLoop
- ...
--n = ' ';executed 5687733 times by 100 tests: * --n = ' ';Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QEventLoop
- ...
| 5687733 |
| 630 | }executed 699856 times by 100 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QEventLoop
- ...
| 699856 |
| 631 | }executed 1480633 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 1480633 |
| 632 | QString &QString::operator=(const QString &other) noexcept | - |
| 633 | { | - |
| 634 | other.d->ref.ref(); | - |
| 635 | if (!d->ref.deref()| TRUE | evaluated 849156 times by 263 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- ...
| | FALSE | evaluated 7023579 times by 448 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
) | 849156-7023579 |
| 636 | Data::deallocate(d);executed 849156 times by 263 tests: Data::deallocate(d);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- ...
| 849156 |
| 637 | d = other.d; | - |
| 638 | returnexecuted 7872735 times by 454 tests: return *this;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
*this;executed 7872735 times by 454 tests: return *this;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 7872735 |
| 639 | } | - |
| 640 | QString &QString::operator=(QLatin1String other) | - |
| 641 | { | - |
| 642 | if (isDetached()| TRUE | evaluated 152758 times by 657 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| | FALSE | evaluated 199496 times by 544 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
&& other.size() <= capacity()| TRUE | evaluated 147839 times by 492 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| | FALSE | evaluated 4919 times by 641 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
) { | 4919-199496 |
| 643 | d->size = other.size(); | - |
| 644 | d->data()[other.size()] = 0; | - |
| 645 | qt_from_latin1(d->data(), other.latin1(), other.size()); | - |
| 646 | }executed 147839 times by 492 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
else { | 147839 |
| 647 | *this = fromLatin1(other.latin1(), other.size()); | - |
| 648 | }executed 204415 times by 690 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 204415 |
| 649 | returnexecuted 352254 times by 690 tests: return *this;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
*this;executed 352254 times by 690 tests: return *this;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 352254 |
| 650 | } | - |
| 651 | QString &QString::operator=(QChar ch) | - |
| 652 | { | - |
| 653 | if (isDetached()| TRUE | evaluated 697 times by 162 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 75330 times by 107 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontMetrics
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
|
&& capacity() >= 1| TRUE | evaluated 696 times by 162 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 1 time by 1 test |
) { | 1-75330 |
| 654 | | - |
| 655 | ushort *dat = d->data(); | - |
| 656 | dat[0] = ch.unicode(); | - |
| 657 | dat[1] = 0; | - |
| 658 | d->size = 1; | - |
| 659 | }executed 696 times by 162 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
else { | 696 |
| 660 | operator=(QString(ch)); | - |
| 661 | }executed 75331 times by 107 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontMetrics
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
| 75331 |
| 662 | returnexecuted 76027 times by 218 tests: return *this;Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
*this;executed 76027 times by 218 tests: return *this;Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 76027 |
| 663 | } | - |
| 664 | QString &QString::insert(int i, QLatin1String str) | - |
| 665 | { | - |
| 666 | const char *s = str.latin1(); | - |
| 667 | if (i < 0| TRUE | never evaluated | | FALSE | evaluated 18042 times by 56 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- ...
|
|| !s| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 18034 times by 56 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- ...
|
|| !(*s)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 18026 times by 56 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- ...
|
) | 0-18042 |
| 668 | returnexecuted 16 times by 1 test: return *this; *this;executed 16 times by 1 test: return *this; | 16 |
| 669 | | - |
| 670 | int len = str.size(); | - |
| 671 | expand(qMax(d->size, i) + len - 1); | - |
| 672 | | - |
| 673 | ::memmove(d->data() + i + len, d->data() + i, (d->size - i - len) * sizeof(QChar)); | - |
| 674 | qt_from_latin1(d->data() + i, s, uint(len)); | - |
| 675 | returnexecuted 18026 times by 56 tests: return *this;Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- ...
*this;executed 18026 times by 56 tests: return *this;Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- ...
| 18026 |
| 676 | } | - |
| 677 | QString& QString::insert(int i, const QChar *unicode, int size) | - |
| 678 | { | - |
| 679 | if (i < 0| TRUE | never evaluated | | FALSE | evaluated 984787 times by 84 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- ...
|
|| size <= 0| TRUE | evaluated 279220 times by 45 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
| | FALSE | evaluated 705567 times by 68 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- ...
|
) | 0-984787 |
| 680 | returnexecuted 279220 times by 45 tests: return *this;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
*this;executed 279220 times by 45 tests: return *this;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- ...
| 279220 |
| 681 | | - |
| 682 | const ushort *s = (const ushort *)unicode; | - |
| 683 | if (s >= d->data()| TRUE | evaluated 150314 times by 61 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- ...
| | FALSE | evaluated 555253 times by 63 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- ...
|
&& s < d->data() + d->alloc| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| | FALSE | evaluated 150311 times by 61 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- ...
|
) { | 3-555253 |
| 684 | | - |
| 685 | ushort *tmp = static_cast<ushort *>(::malloc(size * sizeof(QChar))); | - |
| 686 | do { if (!(tmp)| TRUE | never evaluated | | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-3 |
| 687 | memcpy(tmp, s, size * sizeof(QChar)); | - |
| 688 | insert(i, reinterpret_cast<const QChar *>(tmp), size); | - |
| 689 | ::free(tmp); | - |
| 690 | returnexecuted 3 times by 2 tests: return *this;Executed by:- tst_Collections
- tst_QString
*this;executed 3 times by 2 tests: return *this;Executed by:- tst_Collections
- tst_QString
| 3 |
| 691 | } | - |
| 692 | | - |
| 693 | expand(qMax(d->size, i) + size - 1); | - |
| 694 | | - |
| 695 | ::memmove(d->data() + i + size, d->data() + i, (d->size - i - size) * sizeof(QChar)); | - |
| 696 | memcpy(d->data() + i, s, size * sizeof(QChar)); | - |
| 697 | returnexecuted 705564 times by 68 tests: return *this;Executed by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- ...
*this;executed 705564 times by 68 tests: return *this;Executed by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusType
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDoubleSpinBox
- ...
| 705564 |
| 698 | } | - |
| 699 | QString& QString::insert(int i, QChar ch) | - |
| 700 | { | - |
| 701 | if (i < 0| TRUE | never evaluated | | FALSE | evaluated 730500 times by 421 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) | 0-730500 |
| 702 | i += d->size; never executed: i += d->size; | 0 |
| 703 | if (i < 0| TRUE | never evaluated | | FALSE | evaluated 730500 times by 421 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) | 0-730500 |
| 704 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 705 | expand(qMax(i, d->size)); | - |
| 706 | ::memmove(d->data() + i + 1, d->data() + i, (d->size - i - 1) * sizeof(QChar)); | - |
| 707 | d->data()[i] = ch.unicode(); | - |
| 708 | returnexecuted 730500 times by 421 tests: return *this;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
*this;executed 730500 times by 421 tests: return *this;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 730500 |
| 709 | } | - |
| 710 | QString &QString::append(const QString &str) | - |
| 711 | { | - |
| 712 | if (str.d != Data::sharedNull()| TRUE | evaluated 44864085 times by 528 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| | FALSE | evaluated 41338 times by 135 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
|
) { | 41338-44864085 |
| 713 | if (d == Data::sharedNull()| TRUE | evaluated 560528 times by 266 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBitArray
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 44303557 times by 510 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- ...
|
) { | 560528-44303557 |
| 714 | operator=(str); | - |
| 715 | }executed 560528 times by 266 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBitArray
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
else { | 560528 |
| 716 | if (d->ref.isShared()| TRUE | evaluated 474489 times by 300 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- ...
| | FALSE | evaluated 43829068 times by 499 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
|
|| uint(d->size + str.d->size) + 1u > d->alloc| TRUE | evaluated 642292 times by 457 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- tst_QBoxLayout
- ...
| | FALSE | evaluated 43186776 times by 483 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
|
) | 474489-43829068 |
| 717 | reallocData(uint(d->size + str.d->size) + 1u, true);executed 1116781 times by 499 tests: reallocData(uint(d->size + str.d->size) + 1u, true);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- ...
| 1116781 |
| 718 | memcpy(d->data() + d->size, str.d->data(), str.d->size * sizeof(QChar)); | - |
| 719 | d->size += str.d->size; | - |
| 720 | d->data()[d->size] = '\0'; | - |
| 721 | }executed 44303557 times by 510 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- ...
| 44303557 |
| 722 | } | - |
| 723 | returnexecuted 44905423 times by 528 tests: return *this;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
*this;executed 44905423 times by 528 tests: return *this;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 44905423 |
| 724 | } | - |
| 725 | | - |
| 726 | | - |
| 727 | | - |
| 728 | | - |
| 729 | | - |
| 730 | | - |
| 731 | | - |
| 732 | QString &QString::append(const QChar *str, int len) | - |
| 733 | { | - |
| 734 | if (str| TRUE | evaluated 261951 times by 99 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- ...
| | FALSE | evaluated 1 time by 1 test |
&& len > 0| TRUE | evaluated 259145 times by 99 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- ...
| | FALSE | evaluated 2806 times by 10 testsEvaluated by:- tst_QDBusXmlParser
- tst_QDebug
- tst_QDnsLookup
- tst_QGuiVariant
- tst_QNetworkInterface
- tst_QString
- tst_QTextStream
- tst_QVariant
- tst_QXmlSimpleReader
- tst_Selftests
|
) { | 1-261951 |
| 735 | if (d->ref.isShared()| TRUE | evaluated 54210 times by 80 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- ...
| | FALSE | evaluated 204935 times by 91 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- tst_QFtp
- tst_QGraphicsAnchorLayout
- ...
|
|| uint(d->size + len) + 1u > d->alloc| TRUE | evaluated 36484 times by 68 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QFile
- tst_QFileSystemWatcher
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QHostInfo
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- ...
| | FALSE | evaluated 168451 times by 90 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- tst_QFtp
- tst_QGraphicsAnchorLayout
- ...
|
) | 36484-204935 |
| 736 | reallocData(uint(d->size + len) + 1u, true);executed 90694 times by 86 tests: reallocData(uint(d->size + len) + 1u, true);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
| 90694 |
| 737 | memcpy(d->data() + d->size, str, len * sizeof(QChar)); | - |
| 738 | d->size += len; | - |
| 739 | d->data()[d->size] = '\0'; | - |
| 740 | }executed 259145 times by 99 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- ...
| 259145 |
| 741 | returnexecuted 261952 times by 99 tests: return *this;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- ...
*this;executed 261952 times by 99 tests: return *this;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontCache
- ...
| 261952 |
| 742 | } | - |
| 743 | | - |
| 744 | | - |
| 745 | | - |
| 746 | | - |
| 747 | | - |
| 748 | | - |
| 749 | QString &QString::append(QLatin1String str) | - |
| 750 | { | - |
| 751 | const char *s = str.latin1(); | - |
| 752 | if (s| TRUE | evaluated 116300 times by 149 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- ...
| | FALSE | evaluated 57 times by 2 testsEvaluated by:- tst_QString
- tst_QXmlStream
|
) { | 57-116300 |
| 753 | int len = str.size(); | - |
| 754 | if (d->ref.isShared()| TRUE | evaluated 12945 times by 106 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup
- ...
| | FALSE | evaluated 103355 times by 110 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSelector
- ...
|
|| uint(d->size + len) + 1u > d->alloc| TRUE | evaluated 25238 times by 93 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- ...
| | FALSE | evaluated 78117 times by 80 testsEvaluated by:- tst_QAccessibility
- tst_QAction
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
|
) | 12945-103355 |
| 755 | reallocData(uint(d->size + len) + 1u, true);executed 38183 times by 142 tests: reallocData(uint(d->size + len) + 1u, true);Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- ...
| 38183 |
| 756 | ushort *i = d->data() + d->size; | - |
| 757 | qt_from_latin1(i, s, uint(len)); | - |
| 758 | i[len] = '\0'; | - |
| 759 | d->size += len; | - |
| 760 | }executed 116300 times by 149 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- ...
| 116300 |
| 761 | returnexecuted 116357 times by 149 tests: return *this;Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- ...
*this;executed 116357 times by 149 tests: return *this;Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDBusXmlParser
- ...
| 116357 |
| 762 | } | - |
| 763 | QString &QString::append(QChar ch) | - |
| 764 | { | - |
| 765 | if (d->ref.isShared()| TRUE | evaluated 146081 times by 174 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- ...
| | FALSE | evaluated 428586 times by 204 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- ...
|
|| uint(d->size) + 2u > d->alloc| TRUE | evaluated 36013 times by 171 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- ...
| | FALSE | evaluated 392573 times by 188 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- ...
|
) | 36013-428586 |
| 766 | reallocData(uint(d->size) + 2u, true);executed 182094 times by 202 tests: reallocData(uint(d->size) + 2u, true);Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- ...
| 182094 |
| 767 | d->data()[d->size++] = ch.unicode(); | - |
| 768 | d->data()[d->size] = '\0'; | - |
| 769 | returnexecuted 574667 times by 221 tests: return *this;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- ...
*this;executed 574667 times by 221 tests: return *this;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- ...
| 574667 |
| 770 | } | - |
| 771 | QString &QString::remove(int pos, int len) | - |
| 772 | { | - |
| 773 | if (pos < 0| TRUE | never evaluated | | FALSE | evaluated 173831 times by 149 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
|
) | 0-173831 |
| 774 | pos += d->size; never executed: pos += d->size; | 0 |
| 775 | if (uint(pos) >= uint(d->size)| TRUE | never evaluated | | FALSE | evaluated 173739 times by 149 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
|
) { | 0-173739 |
| 776 | | - |
| 777 | } never executed: end of block else if (len >= d->size - pos| TRUE | evaluated 50029 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QAction
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextPieceTable
- tst_QTreeWidget
- tst_QUndoStack
- tst_QUrlInternal
- tst_QXmlSimpleReader
| | FALSE | evaluated 123802 times by 149 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
|
) { | 0-123802 |
| 778 | resize(pos); | - |
| 779 | }executed 50029 times by 24 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QAction
- tst_QCalendarWidget
- tst_QChar
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextPieceTable
- tst_QTreeWidget
- tst_QUndoStack
- tst_QUrlInternal
- tst_QXmlSimpleReader
else if (len > 0| TRUE | evaluated 123801 times by 149 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
| | FALSE | evaluated 1 time by 1 test |
) { | 1-123801 |
| 780 | detach(); | - |
| 781 | memmove(d->data() + pos, d->data() + pos + len, | - |
| 782 | (d->size - pos - len + 1) * sizeof(ushort)); | - |
| 783 | d->size -= len; | - |
| 784 | }executed 123801 times by 149 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
| 123801 |
| 785 | returnexecuted 173831 times by 149 tests: return *this;Executed by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
*this;executed 173831 times by 149 tests: return *this;Executed by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- ...
| 173831 |
| 786 | } | - |
| 787 | QString &QString::remove(const QString &str, Qt::CaseSensitivity cs) | - |
| 788 | { | - |
| 789 | if (str.d->size| TRUE | evaluated 24569 times by 12 testsEvaluated by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QMessageBox
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
| | FALSE | evaluated 4 times by 1 test |
) { | 4-24569 |
| 790 | int i = 0; | - |
| 791 | while ((| TRUE | evaluated 18 times by 2 tests | | FALSE | evaluated 24569 times by 12 testsEvaluated by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QMessageBox
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
|
i = indexOf(str, i, cs)) != -1| TRUE | evaluated 18 times by 2 tests | | FALSE | evaluated 24569 times by 12 testsEvaluated by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QMessageBox
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
|
) | 18-24569 |
| 792 | remove(i, str.d->size);executed 18 times by 2 tests: remove(i, str.d->size); | 18 |
| 793 | }executed 24569 times by 12 tests: end of blockExecuted by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QMessageBox
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
| 24569 |
| 794 | returnexecuted 24573 times by 12 tests: return *this;Executed by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QMessageBox
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
*this;executed 24573 times by 12 tests: return *this;Executed by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QMessageBox
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
| 24573 |
| 795 | } | - |
| 796 | QString &QString::remove(QChar ch, Qt::CaseSensitivity cs) | - |
| 797 | { | - |
| 798 | int i = 0; | - |
| 799 | ushort c = ch.unicode(); | - |
| 800 | if (cs == Qt::CaseSensitive| TRUE | evaluated 30147 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
- ...
| | FALSE | evaluated 11 times by 1 test |
) { | 11-30147 |
| 801 | while (i < d->size| TRUE | evaluated 760913 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
| | FALSE | evaluated 30147 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
- ...
|
) | 30147-760913 |
| 802 | if (d->data()[i] == ch| TRUE | evaluated 48434 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QLogging
- tst_QSpinBox
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
| | FALSE | evaluated 712479 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
|
) | 48434-712479 |
| 803 | remove(i, 1);executed 48434 times by 11 tests: remove(i, 1);Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QLogging
- tst_QSpinBox
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
| 48434 |
| 804 | else | - |
| 805 | i++;executed 712479 times by 25 tests: i++;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
| 712479 |
| 806 | }executed 30147 times by 26 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
- ...
else { | 30147 |
| 807 | c = foldCase(c); | - |
| 808 | while (i < d->size| TRUE | evaluated 36 times by 1 test | | FALSE | evaluated 11 times by 1 test |
) | 11-36 |
| 809 | if (foldCase(d->data()[i]) == c| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 22 times by 1 test |
) | 14-22 |
| 810 | remove(i, 1);executed 14 times by 1 test: remove(i, 1); | 14 |
| 811 | else | - |
| 812 | i++;executed 22 times by 1 test: i++; | 22 |
| 813 | }executed 11 times by 1 test: end of block | 11 |
| 814 | returnexecuted 30158 times by 26 tests: return *this;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
- ...
*this;executed 30158 times by 26 tests: return *this;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSpinBox
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentFragment
- tst_Selftests
- tst_languageChange
- tst_qdbuscpp2xml
- tst_rcc
- ...
| 30158 |
| 815 | } | - |
| 816 | QString &QString::replace(int pos, int len, const QString &after) | - |
| 817 | { | - |
| 818 | QString copy = after; | - |
| 819 | returnexecuted 2003365 times by 18 tests: return replace(pos, len, copy.constData(), copy.length());Executed by:- tst_Collections
- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QTranslator
- tst_qmakelib
replace(pos, len, copy.constData(), copy.length());executed 2003365 times by 18 tests: return replace(pos, len, copy.constData(), copy.length());Executed by:- tst_Collections
- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QTranslator
- tst_qmakelib
| 2003365 |
| 820 | } | - |
| 821 | QString &QString::replace(int pos, int len, const QChar *unicode, int size) | - |
| 822 | { | - |
| 823 | if (uint(pos) > uint(d->size)| TRUE | never evaluated | | FALSE | evaluated 2109496 times by 23 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTime
- tst_QTranslator
- tst_QUrl
- tst_QUrlInternal
- tst_qmakelib
|
) | 0-2109496 |
| 824 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 825 | if (len > d->size - pos| TRUE | evaluated 25 times by 1 test | | FALSE | evaluated 2109471 times by 23 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTime
- tst_QTranslator
- tst_QUrl
- tst_QUrlInternal
- tst_qmakelib
|
) | 25-2109471 |
| 826 | len = d->size - pos;executed 25 times by 1 test: len = d->size - pos; | 25 |
| 827 | | - |
| 828 | uint index = pos; | - |
| 829 | replace_helper(&index, 1, len, unicode, size); | - |
| 830 | returnexecuted 2109496 times by 23 tests: return *this;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTime
- tst_QTranslator
- tst_QUrl
- tst_QUrlInternal
- tst_qmakelib
*this;executed 2109496 times by 23 tests: return *this;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTime
- tst_QTranslator
- tst_QUrl
- tst_QUrlInternal
- tst_qmakelib
| 2109496 |
| 831 | } | - |
| 832 | QString &QString::replace(int pos, int len, QChar after) | - |
| 833 | { | - |
| 834 | returnexecuted 12 times by 3 tests: return replace(pos, len, &after, 1);Executed by:- tst_QCssParser
- tst_QString
- tst_QTextList
replace(pos, len, &after, 1);executed 12 times by 3 tests: return replace(pos, len, &after, 1);Executed by:- tst_QCssParser
- tst_QString
- tst_QTextList
| 12 |
| 835 | } | - |
| 836 | QString &QString::replace(const QString &before, const QString &after, Qt::CaseSensitivity cs) | - |
| 837 | { | - |
| 838 | returnexecuted 164573 times by 19 tests: return replace(before.constData(), before.size(), after.constData(), after.size(), cs);Executed by:- tst_Collections
- tst_QCommandLineParser
- tst_QFileInfo
- tst_QFont
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
replace(before.constData(), before.size(), after.constData(), after.size(), cs);executed 164573 times by 19 tests: return replace(before.constData(), before.size(), after.constData(), after.size(), cs);Executed by:- tst_Collections
- tst_QCommandLineParser
- tst_QFileInfo
- tst_QFont
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
| 164573 |
| 839 | } | - |
| 840 | | - |
| 841 | namespace { | - |
| 842 | QChar *textCopy(const QChar *start, int len) | - |
| 843 | { | - |
| 844 | const size_t size = len * sizeof(QChar); | - |
| 845 | QChar *const copy = static_cast<QChar *>(::malloc(size)); | - |
| 846 | do { if (!(copy)| TRUE | never evaluated | | FALSE | evaluated 25 times by 4 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-25 |
| 847 | ::memcpy(copy, start, size); | - |
| 848 | returnexecuted 25 times by 4 tests: return copy;Executed by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
copy;executed 25 times by 4 tests: return copy;Executed by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| 25 |
| 849 | } | - |
| 850 | | - |
| 851 | bool pointsIntoRange(const QChar *ptr, const ushort *base, int len) | - |
| 852 | { | - |
| 853 | const QChar *const start = reinterpret_cast<const QChar *>(base); | - |
| 854 | returnexecuted 2111196 times by 51 tests: return start <= ptr && ptr < start + len;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- ...
start <= ptr| TRUE | evaluated 109438 times by 48 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QChar
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- ...
| | FALSE | evaluated 2001758 times by 21 testsEvaluated by:- tst_Collections
- tst_QCommandLineParser
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QTextDocument
- tst_QTime
- tst_QTranslator
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
|
&& ptr < start + len| TRUE | evaluated 25 times by 4 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| | FALSE | evaluated 109413 times by 47 testsEvaluated by:- tst_QAccessibility
- tst_QAction
- tst_QChar
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- ...
|
;executed 2111196 times by 51 tests: return start <= ptr && ptr < start + len;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- ...
| 25-2111196 |
| 855 | } | - |
| 856 | } | - |
| 857 | | - |
| 858 | | - |
| 859 | | - |
| 860 | | - |
| 861 | void QString::replace_helper(uint *indices, int nIndices, int blen, const QChar *after, int alen) | - |
| 862 | { | - |
| 863 | | - |
| 864 | | - |
| 865 | QChar *afterBuffer = 0; | - |
| 866 | if (pointsIntoRange(after, d->data(), d->size)| TRUE | evaluated 23 times by 4 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| | FALSE | evaluated 2111171 times by 51 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- ...
|
) | 23-2111171 |
| 867 | after = afterBuffer = textCopy(after, alen);executed 23 times by 4 tests: after = afterBuffer = textCopy(after, alen);Executed by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| 23 |
| 868 | | - |
| 869 | try { | - |
| 870 | if (blen == alen| TRUE | evaluated 2014274 times by 21 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 96920 times by 40 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- ...
|
) { | 96920-2014274 |
| 871 | | - |
| 872 | detach(); | - |
| 873 | for (int i = 0; i < nIndices| TRUE | evaluated 2014281 times by 21 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 2014274 times by 21 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QUrl
- tst_QUrlInternal
|
; ++i) | 2014274-2014281 |
| 874 | memcpy(d->data() + indices[i], after, alen * sizeof(QChar));executed 2014281 times by 21 tests: memcpy(d->data() + indices[i], after, alen * sizeof(QChar));Executed by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QUrl
- tst_QUrlInternal
| 2014281 |
| 875 | }executed 2014274 times by 21 tests: end of blockExecuted by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTime
- tst_QUrl
- tst_QUrlInternal
else if (alen < blen| TRUE | evaluated 10370 times by 16 testsEvaluated by:- tst_QChar
- tst_QCssParser
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
| | FALSE | evaluated 86550 times by 33 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- ...
|
) { | 10370-2014274 |
| 876 | | - |
| 877 | detach(); | - |
| 878 | uint to = indices[0]; | - |
| 879 | if (alen| TRUE | evaluated 10338 times by 16 testsEvaluated by:- tst_QChar
- tst_QCssParser
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
| | FALSE | evaluated 32 times by 2 tests |
) | 32-10338 |
| 880 | memcpy(d->data()+to, after, alen*sizeof(QChar));executed 10338 times by 16 tests: memcpy(d->data()+to, after, alen*sizeof(QChar));Executed by:- tst_QChar
- tst_QCssParser
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
| 10338 |
| 881 | to += alen; | - |
| 882 | uint movestart = indices[0] + blen; | - |
| 883 | for (int i = 1; i < nIndices| TRUE | evaluated 1031 times by 1 test | | FALSE | evaluated 10370 times by 16 testsEvaluated by:- tst_QChar
- tst_QCssParser
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
|
; ++i) { | 1031-10370 |
| 884 | int msize = indices[i] - movestart; | - |
| 885 | if (msize > 0| TRUE | evaluated 1029 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-1029 |
| 886 | memmove(d->data() + to, d->data() + movestart, msize * sizeof(QChar)); | - |
| 887 | to += msize; | - |
| 888 | }executed 1029 times by 1 test: end of block | 1029 |
| 889 | if (alen| TRUE | evaluated 1026 times by 1 test | | FALSE | evaluated 5 times by 1 test |
) { | 5-1026 |
| 890 | memcpy(d->data() + to, after, alen * sizeof(QChar)); | - |
| 891 | to += alen; | - |
| 892 | }executed 1026 times by 1 test: end of block | 1026 |
| 893 | movestart = indices[i] + blen; | - |
| 894 | }executed 1031 times by 1 test: end of block | 1031 |
| 895 | int msize = d->size - movestart; | - |
| 896 | if (msize > 0| TRUE | evaluated 1283 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QMdiArea
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
| | FALSE | evaluated 9087 times by 10 testsEvaluated by:- tst_QChar
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QProgressBar
- tst_QString
- tst_QStringList
- tst_QUrlInternal
- tst_qmakelib
|
) | 1283-9087 |
| 897 | memmove(d->data() + to, d->data() + movestart, msize * sizeof(QChar));executed 1283 times by 11 tests: memmove(d->data() + to, d->data() + movestart, msize * sizeof(QChar));Executed by:- tst_QCssParser
- tst_QMdiArea
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
| 1283 |
| 898 | resize(d->size - nIndices*(blen-alen)); | - |
| 899 | }executed 10370 times by 16 tests: end of blockExecuted by:- tst_QChar
- tst_QCssParser
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QProgressBar
- tst_QProgressDialog
- tst_QString
- tst_QStringList
- tst_QTextList
- tst_QTranslator
- tst_QUrlInternal
- tst_QWidget_window
- tst_Selftests
- tst_qmakelib
else { | 10370 |
| 900 | | - |
| 901 | int adjust = nIndices*(alen-blen); | - |
| 902 | int newLen = d->size + adjust; | - |
| 903 | int moveend = d->size; | - |
| 904 | resize(newLen); | - |
| 905 | | - |
| 906 | while (nIndices| TRUE | evaluated 86666 times by 33 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- ...
| | FALSE | evaluated 86550 times by 33 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- ...
|
) { | 86550-86666 |
| 907 | --nIndices; | - |
| 908 | int movestart = indices[nIndices] + blen; | - |
| 909 | int insertstart = indices[nIndices] + nIndices*(alen-blen); | - |
| 910 | int moveto = insertstart + alen; | - |
| 911 | memmove(d->data() + moveto, d->data() + movestart, | - |
| 912 | (moveend - movestart)*sizeof(QChar)); | - |
| 913 | memcpy(d->data() + insertstart, after, alen * sizeof(QChar)); | - |
| 914 | moveend = movestart-blen; | - |
| 915 | }executed 86666 times by 33 tests: end of blockExecuted by:- tst_Collections
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- ...
| 86666 |
| 916 | }executed 86550 times by 33 tests: end of blockExecuted by:- tst_Collections
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- ...
| 86550 |
| 917 | } catch (const std::bad_alloc &) { | - |
| 918 | ::free(afterBuffer); | - |
| 919 | throw; never executed: throw; | 0 |
| 920 | } | - |
| 921 | ::free(afterBuffer); | - |
| 922 | }executed 2111194 times by 51 tests: end of blockExecuted by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QChar
- tst_QCommandLineParser
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- ...
| 2111194 |
| 923 | QString &QString::replace(const QChar *before, int blen, | - |
| 924 | const QChar *after, int alen, | - |
| 925 | Qt::CaseSensitivity cs) | - |
| 926 | { | - |
| 927 | if (d->size == 0| TRUE | evaluated 1574 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qmakelib
| | FALSE | evaluated 174176 times by 73 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
) { | 1574-174176 |
| 928 | if (blen| TRUE | evaluated 1568 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qmakelib
| | FALSE | evaluated 6 times by 1 test |
) | 6-1568 |
| 929 | returnexecuted 1568 times by 17 tests: return *this;Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qmakelib
*this;executed 1568 times by 17 tests: return *this;Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qmakelib
| 1568 |
| 930 | }executed 6 times by 1 test: end of block else { | 6 |
| 931 | if (cs == Qt::CaseSensitive| TRUE | evaluated 174161 times by 73 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
&& before == after| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 174159 times by 73 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
&& blen == alen| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-174161 |
| 932 | returnexecuted 2 times by 1 test: return *this; *this;executed 2 times by 1 test: return *this; | 2 |
| 933 | }executed 174174 times by 73 tests: end of blockExecuted by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 174174 |
| 934 | if (alen == 0| TRUE | evaluated 21 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QString
| | FALSE | evaluated 174159 times by 73 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
&& blen == 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QString
|
) | 4-174159 |
| 935 | returnexecuted 4 times by 1 test: return *this; *this;executed 4 times by 1 test: return *this; | 4 |
| 936 | | - |
| 937 | QStringMatcher matcher(before, blen, cs); | - |
| 938 | QChar *beforeBuffer = 0, *afterBuffer = 0; | - |
| 939 | | - |
| 940 | int index = 0; | - |
| 941 | while (1) { | - |
| 942 | uint indices[1024]; | - |
| 943 | uint pos = 0; | - |
| 944 | while (pos < 1024| TRUE | evaluated 176988 times by 73 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| | FALSE | evaluated 1 time by 1 test |
) { | 1-176988 |
| 945 | index = matcher.indexIn(*this, index); | - |
| 946 | if (index == -1| TRUE | evaluated 174176 times by 73 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| | FALSE | evaluated 2812 times by 32 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
|
) | 2812-174176 |
| 947 | break;executed 174176 times by 73 tests: break;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 174176 |
| 948 | indices[pos++] = index; | - |
| 949 | if (blen| TRUE | evaluated 2802 times by 32 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
| | FALSE | evaluated 10 times by 1 test |
) | 10-2802 |
| 950 | index += blen;executed 2802 times by 32 tests: index += blen;Executed by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
| 2802 |
| 951 | else | - |
| 952 | index++;executed 10 times by 1 test: index++; | 10 |
| 953 | } | - |
| 954 | if (!pos| TRUE | evaluated 172504 times by 61 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QInputDialog
- tst_QItemModel
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- ...
| | FALSE | evaluated 1673 times by 32 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
|
) | 1673-172504 |
| 955 | break;executed 172504 times by 61 tests: break;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QInputDialog
- tst_QItemModel
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- ...
| 172504 |
| 956 | | - |
| 957 | if (__builtin_expect(!!(index != -1), false)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1672 times by 32 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
|
) { | 1-1672 |
| 958 | | - |
| 959 | | - |
| 960 | | - |
| 961 | | - |
| 962 | if (!afterBuffer| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
&& pointsIntoRange(after, d->data(), d->size)| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 963 | after = afterBuffer = textCopy(after, alen);executed 1 time by 1 test: after = afterBuffer = textCopy(after, alen); | 1 |
| 964 | | - |
| 965 | if (!beforeBuffer| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
&& pointsIntoRange(before, d->data(), d->size)| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) { | 0-1 |
| 966 | beforeBuffer = textCopy(before, blen); | - |
| 967 | matcher = QStringMatcher(beforeBuffer, blen, cs); | - |
| 968 | }executed 1 time by 1 test: end of block | 1 |
| 969 | }executed 1 time by 1 test: end of block | 1 |
| 970 | | - |
| 971 | replace_helper(indices, pos, blen, after, alen); | - |
| 972 | | - |
| 973 | if (__builtin_expect(!!(index == -1), true)| TRUE | evaluated 1672 times by 32 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
| | FALSE | evaluated 1 time by 1 test |
) | 1-1672 |
| 974 | break;executed 1672 times by 32 tests: break;Executed by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- ...
| 1672 |
| 975 | | - |
| 976 | index += pos*(alen-blen); | - |
| 977 | }executed 1 time by 1 test: end of block | 1 |
| 978 | ::free(afterBuffer); | - |
| 979 | ::free(beforeBuffer); | - |
| 980 | | - |
| 981 | returnexecuted 174176 times by 73 tests: return *this;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
*this;executed 174176 times by 73 tests: return *this;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 174176 |
| 982 | } | - |
| 983 | QString& QString::replace(QChar ch, const QString &after, Qt::CaseSensitivity cs) | - |
| 984 | { | - |
| 985 | if (after.d->size == 0| TRUE | evaluated 37 times by 1 test | | FALSE | evaluated 14856 times by 44 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- ...
|
) | 37-14856 |
| 986 | returnexecuted 37 times by 1 test: return remove(ch, cs); remove(ch, cs);executed 37 times by 1 test: return remove(ch, cs); | 37 |
| 987 | | - |
| 988 | if (after.d->size == 1| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 14834 times by 44 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- ...
|
) | 22-14834 |
| 989 | returnexecuted 22 times by 1 test: return replace(ch, after.d->data()[0], cs); replace(ch, after.d->data()[0], cs);executed 22 times by 1 test: return replace(ch, after.d->data()[0], cs); | 22 |
| 990 | | - |
| 991 | if (d->size == 0| TRUE | evaluated 1154 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_Spdy
| | FALSE | evaluated 13680 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
|
) | 1154-13680 |
| 992 | returnexecuted 1154 times by 11 tests: return *this;Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_Spdy
*this;executed 1154 times by 11 tests: return *this;Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_Spdy
| 1154 |
| 993 | | - |
| 994 | ushort cc = (cs == Qt::CaseSensitive| TRUE | evaluated 13676 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| | FALSE | evaluated 4 times by 1 test |
? ch.unicode() : ch.toCaseFolded().unicode()); | 4-13676 |
| 995 | | - |
| 996 | int index = 0; | - |
| 997 | while (1) { | - |
| 998 | uint indices[1024]; | - |
| 999 | uint pos = 0; | - |
| 1000 | if (cs == Qt::CaseSensitive| TRUE | evaluated 13698 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| | FALSE | evaluated 7 times by 1 test |
) { | 7-13698 |
| 1001 | while (pos < 1024| TRUE | evaluated 416523 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| | FALSE | never evaluated |
&& index < d->size| TRUE | evaluated 402825 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| | FALSE | evaluated 13698 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
|
) { | 0-416523 |
| 1002 | if (d->data()[index] == cc| TRUE | evaluated 32 times by 5 testsEvaluated by:- tst_Collections
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUrl
| | FALSE | evaluated 402793 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
|
) | 32-402793 |
| 1003 | indices[pos++] = index;executed 32 times by 5 tests: indices[pos++] = index;Executed by:- tst_Collections
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUrl
| 32 |
| 1004 | index++; | - |
| 1005 | }executed 402825 times by 42 tests: end of blockExecuted by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| 402825 |
| 1006 | }executed 13698 times by 42 tests: end of blockExecuted by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
else { | 13698 |
| 1007 | while (pos < 1024| TRUE | evaluated 29 times by 1 test | | FALSE | never evaluated |
&& index < d->size| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 7 times by 1 test |
) { | 0-29 |
| 1008 | if (QChar::toCaseFolded(d->data()[index]) == cc| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 14 times by 1 test |
) | 8-14 |
| 1009 | indices[pos++] = index;executed 8 times by 1 test: indices[pos++] = index; | 8 |
| 1010 | index++; | - |
| 1011 | }executed 22 times by 1 test: end of block | 22 |
| 1012 | }executed 7 times by 1 test: end of block | 7 |
| 1013 | if (!pos| TRUE | evaluated 13680 times by 42 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| | FALSE | evaluated 25 times by 5 testsEvaluated by:- tst_Collections
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUrl
|
) | 25-13680 |
| 1014 | break;executed 13680 times by 42 tests: break;Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| 13680 |
| 1015 | | - |
| 1016 | replace_helper(indices, pos, 1, after.constData(), after.d->size); | - |
| 1017 | | - |
| 1018 | if (__builtin_expect(!!(index == -1), true)| TRUE | never evaluated | | FALSE | evaluated 25 times by 5 testsEvaluated by:- tst_Collections
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUrl
|
) | 0-25 |
| 1019 | break; never executed: break; | 0 |
| 1020 | | - |
| 1021 | index += pos*(after.d->size - 1); | - |
| 1022 | }executed 25 times by 5 tests: end of blockExecuted by:- tst_Collections
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUrl
| 25 |
| 1023 | returnexecuted 13680 times by 42 tests: return *this;Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
*this;executed 13680 times by 42 tests: return *this;Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| 13680 |
| 1024 | } | - |
| 1025 | QString& QString::replace(QChar before, QChar after, Qt::CaseSensitivity cs) | - |
| 1026 | { | - |
| 1027 | ushort a = after.unicode(); | - |
| 1028 | ushort b = before.unicode(); | - |
| 1029 | if (d->size| TRUE | evaluated 136058 times by 64 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
| | FALSE | evaluated 1311 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QTextDocument
- tst_QTreeView
- tst_languageChange
|
) { | 1311-136058 |
| 1030 | detach(); | - |
| 1031 | ushort *i = d->data(); | - |
| 1032 | const ushort *e = i + d->size; | - |
| 1033 | if (cs == Qt::CaseSensitive| TRUE | evaluated 136036 times by 64 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
| | FALSE | evaluated 22 times by 1 test |
) { | 22-136036 |
| 1034 | for (; i != e| TRUE | evaluated 1107344 times by 64 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
| | FALSE | evaluated 136036 times by 64 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
|
; ++i) | 136036-1107344 |
| 1035 | if (*| TRUE | evaluated 9865 times by 25 testsEvaluated by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCollator
- tst_QComplexText
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QListView
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmakelib
- tst_qnetworkreply - unknown status
| | FALSE | evaluated 1097479 times by 64 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
|
i == b| TRUE | evaluated 9865 times by 25 testsEvaluated by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCollator
- tst_QComplexText
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QListView
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmakelib
- tst_qnetworkreply - unknown status
| | FALSE | evaluated 1097479 times by 64 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
|
) | 9865-1097479 |
| 1036 | *executed 9865 times by 25 tests: *i = a;Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCollator
- tst_QComplexText
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QListView
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmakelib
- tst_qnetworkreply - unknown status
i = a;executed 9865 times by 25 tests: *i = a;Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCollator
- tst_QComplexText
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QListView
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmakelib
- tst_qnetworkreply - unknown status
| 9865 |
| 1037 | }executed 136036 times by 64 tests: end of blockExecuted by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
else { | 136036 |
| 1038 | b = foldCase(b); | - |
| 1039 | for (; i != e| TRUE | evaluated 58 times by 1 test | | FALSE | evaluated 22 times by 1 test |
; ++i) | 22-58 |
| 1040 | if (foldCase(*i) == b| TRUE | evaluated 30 times by 1 test | | FALSE | evaluated 28 times by 1 test |
) | 28-30 |
| 1041 | *executed 30 times by 1 test: *i = a; i = a;executed 30 times by 1 test: *i = a; | 30 |
| 1042 | }executed 22 times by 1 test: end of block | 22 |
| 1043 | } | - |
| 1044 | returnexecuted 137369 times by 64 tests: return *this;Executed by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
*this;executed 137369 times by 64 tests: return *this;Executed by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
| 137369 |
| 1045 | } | - |
| 1046 | QString &QString::replace(QLatin1String before, QLatin1String after, Qt::CaseSensitivity cs) | - |
| 1047 | { | - |
| 1048 | int alen = after.size(); | - |
| 1049 | int blen = before.size(); | - |
| 1050 | QVarLengthArray<ushort> a(alen); | - |
| 1051 | QVarLengthArray<ushort> b(blen); | - |
| 1052 | qt_from_latin1(a.data(), after.latin1(), alen); | - |
| 1053 | qt_from_latin1(b.data(), before.latin1(), blen); | - |
| 1054 | returnexecuted 1016 times by 43 tests: return replace((const QChar *)b.data(), blen, (const QChar *)a.data(), alen, cs);Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- ...
replace((const QChar *)b.data(), blen, (const QChar *)a.data(), alen, cs);executed 1016 times by 43 tests: return replace((const QChar *)b.data(), blen, (const QChar *)a.data(), alen, cs);Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- ...
| 1016 |
| 1055 | } | - |
| 1056 | QString &QString::replace(QLatin1String before, const QString &after, Qt::CaseSensitivity cs) | - |
| 1057 | { | - |
| 1058 | int blen = before.size(); | - |
| 1059 | QVarLengthArray<ushort> b(blen); | - |
| 1060 | qt_from_latin1(b.data(), before.latin1(), blen); | - |
| 1061 | returnexecuted 210 times by 3 tests: return replace((const QChar *)b.data(), blen, after.constData(), after.d->size, cs);Executed by:- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
replace((const QChar *)b.data(), blen, after.constData(), after.d->size, cs);executed 210 times by 3 tests: return replace((const QChar *)b.data(), blen, after.constData(), after.d->size, cs);Executed by:- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
| 210 |
| 1062 | } | - |
| 1063 | QString &QString::replace(const QString &before, QLatin1String after, Qt::CaseSensitivity cs) | - |
| 1064 | { | - |
| 1065 | int alen = after.size(); | - |
| 1066 | QVarLengthArray<ushort> a(alen); | - |
| 1067 | qt_from_latin1(a.data(), after.latin1(), alen); | - |
| 1068 | return never executed: return replace(before.constData(), before.d->size, (const QChar *)a.data(), alen, cs); replace(before.constData(), before.d->size, (const QChar *)a.data(), alen, cs);never executed: return replace(before.constData(), before.d->size, (const QChar *)a.data(), alen, cs); | 0 |
| 1069 | } | - |
| 1070 | QString &QString::replace(QChar c, QLatin1String after, Qt::CaseSensitivity cs) | - |
| 1071 | { | - |
| 1072 | int alen = after.size(); | - |
| 1073 | QVarLengthArray<ushort> a(alen); | - |
| 1074 | qt_from_latin1(a.data(), after.latin1(), alen); | - |
| 1075 | returnexecuted 9949 times by 35 tests: return replace(&c, 1, (const QChar *)a.data(), alen, cs);Executed by:- tst_QAccessibility
- tst_QAction
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- ...
replace(&c, 1, (const QChar *)a.data(), alen, cs);executed 9949 times by 35 tests: return replace(&c, 1, (const QChar *)a.data(), alen, cs);Executed by:- tst_QAccessibility
- tst_QAction
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- ...
| 9949 |
| 1076 | } | - |
| 1077 | bool operator==(const QString &s1, const QString &s2) | - |
| 1078 | { | - |
| 1079 | if (s1.d->size != s2.d->size| TRUE | evaluated 435387 times by 306 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- ...
| | FALSE | evaluated 2823015 times by 525 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) | 435387-2823015 |
| 1080 | returnexecuted 435387 times by 306 tests: return false;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- ...
false;executed 435387 times by 306 tests: return false;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- ...
| 435387 |
| 1081 | | - |
| 1082 | returnexecuted 2823015 times by 525 tests: return qMemEquals(s1.d->data(), s2.d->data(), s1.d->size);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
qMemEquals(s1.d->data(), s2.d->data(), s1.d->size);executed 2823015 times by 525 tests: return qMemEquals(s1.d->data(), s2.d->data(), s1.d->size);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 2823015 |
| 1083 | } | - |
| 1084 | | - |
| 1085 | | - |
| 1086 | | - |
| 1087 | | - |
| 1088 | | - |
| 1089 | | - |
| 1090 | bool QString::operator==(QLatin1String other) const | - |
| 1091 | { | - |
| 1092 | if (d->size != other.size()| TRUE | evaluated 1241903 times by 341 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- ...
| | FALSE | evaluated 281771 times by 442 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) | 281771-1241903 |
| 1093 | returnexecuted 1241903 times by 341 tests: return false;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- ...
false;executed 1241903 times by 341 tests: return false;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- ...
| 1241903 |
| 1094 | | - |
| 1095 | if (!other.size()| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 281767 times by 442 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) | 4-281767 |
| 1096 | returnexecuted 4 times by 1 test: return isEmpty(); isEmpty();executed 4 times by 1 test: return isEmpty(); | 4 |
| 1097 | | - |
| 1098 | returnexecuted 281767 times by 442 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) == 0;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
compare_helper(data(), size(), other, Qt::CaseSensitive) == 0;executed 281767 times by 442 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) == 0;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 281767 |
| 1099 | } | - |
| 1100 | bool operator<(const QString &s1, const QString &s2) | - |
| 1101 | { | - |
| 1102 | returnexecuted 1722682 times by 419 tests: return ucstrcmp(s1.constData(), s1.length(), s2.constData(), s2.length()) < 0;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- 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_QComplexText
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
ucstrcmp(s1.constData(), s1.length(), s2.constData(), s2.length()) < 0;executed 1722682 times by 419 tests: return ucstrcmp(s1.constData(), s1.length(), s2.constData(), s2.length()) < 0;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- 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_QComplexText
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
| 1722682 |
| 1103 | } | - |
| 1104 | | - |
| 1105 | | - |
| 1106 | | - |
| 1107 | | - |
| 1108 | | - |
| 1109 | | - |
| 1110 | bool QString::operator<(QLatin1String other) const | - |
| 1111 | { | - |
| 1112 | const uchar *c = (const uchar *) other.latin1(); | - |
| 1113 | if (!c| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 2322 times by 19 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWizard
|
|| *| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 2315 times by 19 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWizard
|
c == 0| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 2315 times by 19 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWizard
|
) | 5-2322 |
| 1114 | returnexecuted 12 times by 1 test: return false; false;executed 12 times by 1 test: return false; | 12 |
| 1115 | | - |
| 1116 | returnexecuted 2315 times by 19 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) < 0;Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWizard
compare_helper(data(), size(), other, Qt::CaseSensitive) < 0;executed 2315 times by 19 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) < 0;Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWizard
| 2315 |
| 1117 | } | - |
| 1118 | bool QString::operator>(QLatin1String other) const | - |
| 1119 | { | - |
| 1120 | const uchar *c = (const uchar *) other.latin1(); | - |
| 1121 | if (!c| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 232374 times by 129 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- ...
|
|| *| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 232367 times by 129 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- ...
|
c == '\0'| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 232367 times by 129 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- ...
|
) | 5-232374 |
| 1122 | returnexecuted 12 times by 1 test: return !isEmpty(); !isEmpty();executed 12 times by 1 test: return !isEmpty(); | 12 |
| 1123 | | - |
| 1124 | returnexecuted 232367 times by 129 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) > 0;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- ...
compare_helper(data(), size(), other, Qt::CaseSensitive) > 0;executed 232367 times by 129 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) > 0;Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- ...
| 232367 |
| 1125 | } | - |
| 1126 | int QString::indexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
| 1127 | { | - |
| 1128 | returnexecuted 902450 times by 89 tests: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);executed 902450 times by 89 tests: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 902450 |
| 1129 | } | - |
| 1130 | int QString::indexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
| 1131 | { | - |
| 1132 | returnexecuted 14855 times by 185 tests: return qt_find_latin1_string(unicode(), size(), str, from, cs);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
qt_find_latin1_string(unicode(), size(), str, from, cs);executed 14855 times by 185 tests: return qt_find_latin1_string(unicode(), size(), str, from, cs);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 14855 |
| 1133 | } | - |
| 1134 | | - |
| 1135 | int qFindString( | - |
| 1136 | const QChar *haystack0, int haystackLen, int from, | - |
| 1137 | const QChar *needle0, int needleLen, Qt::CaseSensitivity cs) | - |
| 1138 | { | - |
| 1139 | const int l = haystackLen; | - |
| 1140 | const int sl = needleLen; | - |
| 1141 | if (from < 0| TRUE | never evaluated | | FALSE | evaluated 1478944 times by 293 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- ...
|
) | 0-1478944 |
| 1142 | from += l; never executed: from += l; | 0 |
| 1143 | if (uint(sl + from) > (uint)l| TRUE | evaluated 47215 times by 89 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBrush
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | evaluated 1431729 times by 284 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- ...
|
) | 47215-1431729 |
| 1144 | returnexecuted 47215 times by 89 tests: return -1;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBrush
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
-1;executed 47215 times by 89 tests: return -1;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBrush
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 47215 |
| 1145 | if (!sl| TRUE | evaluated 392 times by 12 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QStateMachine
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 1431337 times by 284 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- ...
|
) | 392-1431337 |
| 1146 | returnexecuted 392 times by 12 tests: return from;Executed by:- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QStateMachine
- tst_QString
- tst_QStringRef
from;executed 392 times by 12 tests: return from;Executed by:- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingReply
- tst_QDBusThreading
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QStateMachine
- tst_QString
- tst_QStringRef
| 392 |
| 1147 | if (!l| TRUE | never evaluated | | FALSE | evaluated 1431337 times by 284 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- ...
|
) | 0-1431337 |
| 1148 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 1149 | | - |
| 1150 | if (sl == 1| TRUE | evaluated 526085 times by 271 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 905252 times by 210 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) | 526085-905252 |
| 1151 | returnexecuted 526085 times by 271 tests: return findChar(haystack0, haystackLen, needle0[0], from, cs);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
findChar(haystack0, haystackLen, needle0[0], from, cs);executed 526085 times by 271 tests: return findChar(haystack0, haystackLen, needle0[0], from, cs);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
| 526085 |
| 1152 | | - |
| 1153 | | - |
| 1154 | | - |
| 1155 | | - |
| 1156 | | - |
| 1157 | | - |
| 1158 | if (l > 500| TRUE | evaluated 195 times by 14 testsEvaluated by:- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 905057 times by 209 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
&& sl > 5| TRUE | evaluated 176 times by 12 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 19 times by 2 testsEvaluated by:- tst_QFiledialog
- tst_QImageReader
|
) | 19-905057 |
| 1159 | returnexecuted 176 times by 12 tests: return qFindStringBoyerMoore(haystack0, haystackLen, from, needle0, needleLen, cs);Executed by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
qFindStringBoyerMoore(haystack0, haystackLen, from,executed 176 times by 12 tests: return qFindStringBoyerMoore(haystack0, haystackLen, from, needle0, needleLen, cs);Executed by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
| 176 |
| 1160 | needle0, needleLen, cs);executed 176 times by 12 tests: return qFindStringBoyerMoore(haystack0, haystackLen, from, needle0, needleLen, cs);Executed by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
| 176 |
| 1161 | | - |
| 1162 | | - |
| 1163 | | - |
| 1164 | | - |
| 1165 | | - |
| 1166 | | - |
| 1167 | | - |
| 1168 | const ushort *needle = (const ushort *)needle0; | - |
| 1169 | const ushort *haystack = (const ushort *)haystack0 + from; | - |
| 1170 | const ushort *end = (const ushort *)haystack0 + (l-sl); | - |
| 1171 | const uint sl_minus_1 = sl - 1; | - |
| 1172 | uint hashNeedle = 0, hashHaystack = 0; | - |
| 1173 | int idx; | - |
| 1174 | | - |
| 1175 | if (cs == Qt::CaseSensitive| TRUE | evaluated 903757 times by 206 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 1319 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
) { | 1319-903757 |
| 1176 | for (idx = 0; idx < sl| TRUE | evaluated 4496626 times by 206 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 903757 times by 206 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
; ++idx) { | 903757-4496626 |
| 1177 | hashNeedle = ((hashNeedle<<1) + needle[idx]); | - |
| 1178 | hashHaystack = ((hashHaystack<<1) + haystack[idx]); | - |
| 1179 | }executed 4496626 times by 206 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 4496626 |
| 1180 | hashHaystack -= haystack[sl_minus_1]; | - |
| 1181 | | - |
| 1182 | while (haystack <= end| TRUE | evaluated 5110418 times by 206 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 612526 times by 193 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) { | 612526-5110418 |
| 1183 | hashHaystack += haystack[sl_minus_1]; | - |
| 1184 | if (hashHaystack == hashNeedle| TRUE | evaluated 291391 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlobal
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- ...
| | FALSE | evaluated 4819027 times by 205 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 291391-4819027 |
| 1185 | && ucstrncmp((const QChar *)needle, (const QChar *)haystack, sl) == 0| TRUE | evaluated 291231 times by 67 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QAction
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlobal
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QKeySequence
- ...
| | FALSE | evaluated 160 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QFiledialog
- tst_QFont
- tst_QFontMetrics
- tst_QImage
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QPluginLoader
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QTreeView
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
- tst_Selftests
|
) | 160-291231 |
| 1186 | returnexecuted 291231 times by 67 tests: return haystack - (const ushort *)haystack0;Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QAction
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlobal
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QKeySequence
- ...
haystack - (const ushort *)haystack0;executed 291231 times by 67 tests: return haystack - (const ushort *)haystack0;Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QAction
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFtp
- tst_QGlobal
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QKeySequence
- ...
| 291231 |
| 1187 | | - |
| 1188 | if (sl_minus_1 < sizeof(uint) * 8| TRUE | evaluated 4817693 times by 205 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 1494 times by 6 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
|
) hashHaystack -= uint(*haystack) << sl_minus_1;executed 4817693 times by 205 tests: hashHaystack -= uint(*haystack) << sl_minus_1;Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
hashHaystack <<= 1; | 1494-4817693 |
| 1189 | ++haystack; | - |
| 1190 | }executed 4819187 times by 205 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 4819187 |
| 1191 | }executed 612526 times by 193 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
else { | 612526 |
| 1192 | const ushort *haystack_start = (const ushort *)haystack0; | - |
| 1193 | for (idx = 0; idx < sl| TRUE | evaluated 4382 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| | FALSE | evaluated 1319 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
; ++idx) { | 1319-4382 |
| 1194 | hashNeedle = (hashNeedle<<1) + foldCase(needle + idx, needle); | - |
| 1195 | hashHaystack = (hashHaystack<<1) + foldCase(haystack + idx, haystack_start); | - |
| 1196 | }executed 4382 times by 19 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| 4382 |
| 1197 | hashHaystack -= foldCase(haystack + sl_minus_1, haystack_start); | - |
| 1198 | | - |
| 1199 | while (haystack <= end| TRUE | evaluated 3269 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| | FALSE | evaluated 220 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
) { | 220-3269 |
| 1200 | hashHaystack += foldCase(haystack + sl_minus_1, haystack_start); | - |
| 1201 | if (hashHaystack == hashNeedle| TRUE | evaluated 1102 times by 13 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTime
- tst_qlogging - unknown status
| | FALSE | evaluated 2167 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
&& ucstrnicmp(needle, haystack, sl) == 0| TRUE | evaluated 1099 times by 13 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTime
- tst_qlogging - unknown status
| | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 3-2167 |
| 1202 | returnexecuted 1099 times by 13 tests: return haystack - (const ushort *)haystack0;Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTime
- tst_qlogging - unknown status
haystack - (const ushort *)haystack0;executed 1099 times by 13 tests: return haystack - (const ushort *)haystack0;Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTime
- tst_qlogging - unknown status
| 1099 |
| 1203 | | - |
| 1204 | if (sl_minus_1 < sizeof(uint) * 8| TRUE | evaluated 1985 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| | FALSE | evaluated 185 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) hashHaystack -= uint(foldCase(haystack, haystack_start)) << sl_minus_1;executed 1985 times by 18 tests: hashHaystack -= uint(foldCase(haystack, haystack_start)) << sl_minus_1;Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
hashHaystack <<= 1; | 185-1985 |
| 1205 | ++haystack; | - |
| 1206 | }executed 2170 times by 18 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| 2170 |
| 1207 | }executed 220 times by 18 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| 220 |
| 1208 | returnexecuted 612746 times by 198 tests: return -1;Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
-1;executed 612746 times by 198 tests: return -1;Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 612746 |
| 1209 | } | - |
| 1210 | int QString::indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
| 1211 | { | - |
| 1212 | returnexecuted 810642 times by 282 tests: return findChar(unicode(), length(), ch, from, cs);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- ...
findChar(unicode(), length(), ch, from, cs);executed 810642 times by 282 tests: return findChar(unicode(), length(), ch, from, cs);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- ...
| 810642 |
| 1213 | } | - |
| 1214 | int QString::indexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
| 1215 | { | - |
| 1216 | returnexecuted 392 times by 2 tests: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);Executed by:- tst_QString
- tst_QStringRef
qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);executed 392 times by 2 tests: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);Executed by:- tst_QString
- tst_QStringRef
| 392 |
| 1217 | } | - |
| 1218 | | - |
| 1219 | static int lastIndexOfHelper(const ushort *haystack, int from, const ushort *needle, int sl, Qt::CaseSensitivity cs) | - |
| 1220 | { | - |
| 1221 | | - |
| 1222 | | - |
| 1223 | | - |
| 1224 | | - |
| 1225 | const ushort *end = haystack; | - |
| 1226 | haystack += from; | - |
| 1227 | const uint sl_minus_1 = sl - 1; | - |
| 1228 | const ushort *n = needle+sl_minus_1; | - |
| 1229 | const ushort *h = haystack+sl_minus_1; | - |
| 1230 | uint hashNeedle = 0, hashHaystack = 0; | - |
| 1231 | int idx; | - |
| 1232 | | - |
| 1233 | if (cs == Qt::CaseSensitive| TRUE | evaluated 85 times by 8 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 103 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
|
) { | 85-103 |
| 1234 | for (idx = 0; idx < sl| TRUE | evaluated 1125 times by 8 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 85 times by 8 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
|
; ++idx) { | 85-1125 |
| 1235 | hashNeedle = ((hashNeedle<<1) + *(n-idx)); | - |
| 1236 | hashHaystack = ((hashHaystack<<1) + *(h-idx)); | - |
| 1237 | }executed 1125 times by 8 tests: end of blockExecuted by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 1125 |
| 1238 | hashHaystack -= *haystack; | - |
| 1239 | | - |
| 1240 | while (haystack >= end| TRUE | evaluated 668 times by 8 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 18 times by 4 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QStringRef
- tst_QTextDocument
|
) { | 18-668 |
| 1241 | hashHaystack += *haystack; | - |
| 1242 | if (hashHaystack == hashNeedle| TRUE | evaluated 71 times by 8 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 597 times by 5 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QString
- tst_QStringRef
- tst_QTextDocument
|
| 71-597 |
| 1243 | && ucstrncmp((const QChar *)needle, (const QChar *)haystack, sl) == 0| TRUE | evaluated 67 times by 8 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 4-67 |
| 1244 | returnexecuted 67 times by 8 tests: return haystack - end;Executed by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
haystack - end;executed 67 times by 8 tests: return haystack - end;Executed by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 67 |
| 1245 | --haystack; | - |
| 1246 | if (sl_minus_1 < sizeof(uint) * 8| TRUE | evaluated 465 times by 5 testsEvaluated by:- tst_Collections
- tst_QMdiArea
- tst_QString
- tst_QStringRef
- tst_QTextDocument
| | FALSE | evaluated 136 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) hashHaystack -= uint(haystack[sl]) << sl_minus_1;executed 465 times by 5 tests: hashHaystack -= uint(haystack[sl]) << sl_minus_1;Executed by:- tst_Collections
- tst_QMdiArea
- tst_QString
- tst_QStringRef
- tst_QTextDocument
hashHaystack <<= 1; | 136-465 |
| 1247 | }executed 601 times by 5 tests: end of blockExecuted by:- tst_Collections
- tst_QMdiArea
- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 601 |
| 1248 | }executed 18 times by 4 tests: end of blockExecuted by:- tst_Collections
- tst_QString
- tst_QStringRef
- tst_QTextDocument
else { | 18 |
| 1249 | for (idx = 0; idx < sl| TRUE | evaluated 1106 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| | FALSE | evaluated 103 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
|
; ++idx) { | 103-1106 |
| 1250 | hashNeedle = ((hashNeedle<<1) + foldCase(n-idx, needle)); | - |
| 1251 | hashHaystack = ((hashHaystack<<1) + foldCase(h-idx, end)); | - |
| 1252 | }executed 1106 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 1106 |
| 1253 | hashHaystack -= foldCase(haystack, end); | - |
| 1254 | | - |
| 1255 | while (haystack >= end| TRUE | evaluated 675 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| | FALSE | evaluated 38 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
|
) { | 38-675 |
| 1256 | hashHaystack += foldCase(haystack, end); | - |
| 1257 | if (hashHaystack == hashNeedle| TRUE | evaluated 69 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| | FALSE | evaluated 606 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
|
&& ucstrnicmp(needle, haystack, sl) == 0| TRUE | evaluated 65 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 4-606 |
| 1258 | returnexecuted 65 times by 3 tests: return haystack - end;Executed by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
haystack - end;executed 65 times by 3 tests: return haystack - end;Executed by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 65 |
| 1259 | --haystack; | - |
| 1260 | if (sl_minus_1 < sizeof(uint) * 8| TRUE | evaluated 474 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| | FALSE | evaluated 136 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) hashHaystack -= uint(foldCase(haystack + sl, end)) << sl_minus_1;executed 474 times by 3 tests: hashHaystack -= uint(foldCase(haystack + sl, end)) << sl_minus_1;Executed by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
hashHaystack <<= 1; | 136-474 |
| 1261 | }executed 610 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 610 |
| 1262 | }executed 38 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 38 |
| 1263 | returnexecuted 56 times by 4 tests: return -1;Executed by:- tst_Collections
- tst_QString
- tst_QStringRef
- tst_QTextDocument
-1;executed 56 times by 4 tests: return -1;Executed by:- tst_Collections
- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 56 |
| 1264 | } | - |
| 1265 | int QString::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
| 1266 | { | - |
| 1267 | const int sl = str.d->size; | - |
| 1268 | if (sl == 1| TRUE | evaluated 3232 times by 3 testsEvaluated by:- tst_QDataStream
- tst_QDir
- tst_QString
| | FALSE | evaluated 95 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
|
) | 95-3232 |
| 1269 | returnexecuted 3232 times by 3 tests: return lastIndexOf(QChar(str.d->data()[0]), from, cs);Executed by:- tst_QDataStream
- tst_QDir
- tst_QString
lastIndexOf(QChar(str.d->data()[0]), from, cs);executed 3232 times by 3 tests: return lastIndexOf(QChar(str.d->data()[0]), from, cs);Executed by:- tst_QDataStream
- tst_QDir
- tst_QString
| 3232 |
| 1270 | | - |
| 1271 | const int l = d->size; | - |
| 1272 | if (from < 0| TRUE | evaluated 64 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 31 times by 3 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
|
) | 31-64 |
| 1273 | from += l;executed 64 times by 5 tests: from += l;Executed by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 64 |
| 1274 | int delta = l-sl; | - |
| 1275 | if (from == l| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 89 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
|
&& sl == 0| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 3 times by 1 test |
) | 3-89 |
| 1276 | returnexecuted 3 times by 1 test: return from; from;executed 3 times by 1 test: return from; | 3 |
| 1277 | if (uint(from) >= uint(l)| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 76 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
|
|| delta < 0| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 67 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
|
) | 9-76 |
| 1278 | returnexecuted 25 times by 1 test: return -1; -1;executed 25 times by 1 test: return -1; | 25 |
| 1279 | if (from > delta| TRUE | evaluated 48 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| | FALSE | evaluated 19 times by 3 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
|
) | 19-48 |
| 1280 | from = delta;executed 48 times by 5 tests: from = delta;Executed by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 48 |
| 1281 | | - |
| 1282 | returnexecuted 67 times by 5 tests: return lastIndexOfHelper(d->data(), from, str.d->data(), str.d->size, cs);Executed by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
lastIndexOfHelper(d->data(), from, str.d->data(), str.d->size, cs);executed 67 times by 5 tests: return lastIndexOfHelper(d->data(), from, str.d->data(), str.d->size, cs);Executed by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 67 |
| 1283 | } | - |
| 1284 | int QString::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
| 1285 | { | - |
| 1286 | const int sl = str.size(); | - |
| 1287 | if (sl == 1| TRUE | never evaluated | | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
) | 0-13 |
| 1288 | return never executed: return lastIndexOf(QLatin1Char(str.latin1()[0]), from, cs); lastIndexOf(QLatin1Char(str.latin1()[0]), from, cs);never executed: return lastIndexOf(QLatin1Char(str.latin1()[0]), from, cs); | 0 |
| 1289 | | - |
| 1290 | const int l = d->size; | - |
| 1291 | if (from < 0| TRUE | never evaluated | | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
) | 0-13 |
| 1292 | from += l; never executed: from += l; | 0 |
| 1293 | int delta = l-sl; | - |
| 1294 | if (from == l| TRUE | never evaluated | | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
&& sl == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-13 |
| 1295 | return never executed: return from; from;never executed: return from; | 0 |
| 1296 | if (uint(from) >= uint(l)| TRUE | never evaluated | | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
|| delta < 0| TRUE | never evaluated | | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
) | 0-13 |
| 1297 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 1298 | if (from > delta| TRUE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
| | FALSE | never evaluated |
) | 0-13 |
| 1299 | from = delta;executed 13 times by 2 tests: from = delta;Executed by:- tst_QMdiArea
- tst_QMdiSubWindow
| 13 |
| 1300 | | - |
| 1301 | QVarLengthArray<ushort> s(sl); | - |
| 1302 | qt_from_latin1(s.data(), str.latin1(), sl); | - |
| 1303 | | - |
| 1304 | returnexecuted 13 times by 2 tests: return lastIndexOfHelper(d->data(), from, s.data(), sl, cs);Executed by:- tst_QMdiArea
- tst_QMdiSubWindow
lastIndexOfHelper(d->data(), from, s.data(), sl, cs);executed 13 times by 2 tests: return lastIndexOfHelper(d->data(), from, s.data(), sl, cs);Executed by:- tst_QMdiArea
- tst_QMdiSubWindow
| 13 |
| 1305 | } | - |
| 1306 | | - |
| 1307 | | - |
| 1308 | | - |
| 1309 | | - |
| 1310 | | - |
| 1311 | | - |
| 1312 | | - |
| 1313 | int QString::lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
| 1314 | { | - |
| 1315 | returnexecuted 259457 times by 303 tests: return qt_last_index_of(unicode(), size(), ch, from, cs);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
qt_last_index_of(unicode(), size(), ch, from, cs);executed 259457 times by 303 tests: return qt_last_index_of(unicode(), size(), ch, from, cs);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| 259457 |
| 1316 | } | - |
| 1317 | int QString::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
| 1318 | { | - |
| 1319 | const int sl = str.size(); | - |
| 1320 | if (sl == 1| TRUE | evaluated 86 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 62 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 62-86 |
| 1321 | returnexecuted 86 times by 2 tests: return lastIndexOf(str.at(0), from, cs);Executed by:- tst_QString
- tst_QStringRef
lastIndexOf(str.at(0), from, cs);executed 86 times by 2 tests: return lastIndexOf(str.at(0), from, cs);Executed by:- tst_QString
- tst_QStringRef
| 86 |
| 1322 | | - |
| 1323 | const int l = d->size; | - |
| 1324 | if (from < 0| TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 14-48 |
| 1325 | from += l;executed 48 times by 2 tests: from += l;Executed by:- tst_QString
- tst_QStringRef
| 48 |
| 1326 | int delta = l - sl; | - |
| 1327 | if (from == l| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 58 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
&& sl == 0| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 2-58 |
| 1328 | returnexecuted 2 times by 2 tests: return from;Executed by:- tst_QString
- tst_QStringRef
from;executed 2 times by 2 tests: return from;Executed by:- tst_QString
- tst_QStringRef
| 2 |
| 1329 | if (uint(from) >= uint(l)| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 48 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
|| delta < 0| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 40 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 8-48 |
| 1330 | returnexecuted 20 times by 2 tests: return -1;Executed by:- tst_QString
- tst_QStringRef
-1;executed 20 times by 2 tests: return -1;Executed by:- tst_QString
- tst_QStringRef
| 20 |
| 1331 | if (from > delta| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 10-30 |
| 1332 | from = delta;executed 30 times by 2 tests: from = delta;Executed by:- tst_QString
- tst_QStringRef
| 30 |
| 1333 | | - |
| 1334 | returnexecuted 40 times by 2 tests: return lastIndexOfHelper(d->data(), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs);Executed by:- tst_QString
- tst_QStringRef
lastIndexOfHelper(d->data(), from, reinterpret_cast<const ushort*>(str.unicode()),executed 40 times by 2 tests: return lastIndexOfHelper(d->data(), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs);Executed by:- tst_QString
- tst_QStringRef
| 40 |
| 1335 | str.size(), cs);executed 40 times by 2 tests: return lastIndexOfHelper(d->data(), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs);Executed by:- tst_QString
- tst_QStringRef
| 40 |
| 1336 | } | - |
| 1337 | | - |
| 1338 | | - |
| 1339 | | - |
| 1340 | struct QStringCapture | - |
| 1341 | { | - |
| 1342 | int pos; | - |
| 1343 | int len; | - |
| 1344 | int no; | - |
| 1345 | }; | - |
| 1346 | template<> class QTypeInfo<QStringCapture > { public: enum { isComplex = (((Q_PRIMITIVE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_PRIMITIVE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_PRIMITIVE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QStringCapture)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QStringCapture >::value, isDummy = (((Q_PRIMITIVE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QStringCapture) }; static inline const char *name() { return "QStringCapture"; } }; | - |
| 1347 | QString& QString::replace(const QRegExp &rx, const QString &after) | - |
| 1348 | { | - |
| 1349 | QRegExp rx2(rx); | - |
| 1350 | | - |
| 1351 | if (isEmpty()| TRUE | evaluated 51979 times by 2 testsEvaluated by:- tst_QString
- tst_QXmlSimpleReader
| | FALSE | evaluated 90586 times by 15 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
|
&& rx2.indexIn(*this) == -1| TRUE | evaluated 51961 times by 2 testsEvaluated by:- tst_QString
- tst_QXmlSimpleReader
| | FALSE | evaluated 18 times by 1 test |
) | 18-90586 |
| 1352 | returnexecuted 51961 times by 2 tests: return *this;Executed by:- tst_QString
- tst_QXmlSimpleReader
*this;executed 51961 times by 2 tests: return *this;Executed by:- tst_QString
- tst_QXmlSimpleReader
| 51961 |
| 1353 | | - |
| 1354 | reallocData(uint(d->size) + 1u); | - |
| 1355 | | - |
| 1356 | int index = 0; | - |
| 1357 | int numCaptures = rx2.captureCount(); | - |
| 1358 | int al = after.length(); | - |
| 1359 | QRegExp::CaretMode caretMode = QRegExp::CaretAtZero; | - |
| 1360 | | - |
| 1361 | if (numCaptures > 0| TRUE | evaluated 27 times by 4 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 90577 times by 14 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
|
) { | 27-90577 |
| 1362 | const QChar *uc = after.unicode(); | - |
| 1363 | int numBackRefs = 0; | - |
| 1364 | | - |
| 1365 | for (int i = 0; i < al - 1| TRUE | evaluated 173 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 27 times by 4 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QStringList
- tst_qmakelib
|
; i++) { | 27-173 |
| 1366 | if (uc[i] == QLatin1Char('\\')| TRUE | evaluated 76 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 97 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
) { | 76-97 |
| 1367 | int no = uc[i + 1].digitValue(); | - |
| 1368 | if (no > 0| TRUE | evaluated 68 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 8 times by 2 tests |
&& no <= numCaptures| TRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 2 times by 1 test |
) | 2-68 |
| 1369 | numBackRefs++;executed 66 times by 3 tests: numBackRefs++;Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 66 |
| 1370 | }executed 76 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 76 |
| 1371 | }executed 173 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 173 |
| 1372 | | - |
| 1373 | | - |
| 1374 | | - |
| 1375 | | - |
| 1376 | if (numBackRefs > 0| TRUE | evaluated 21 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 6 times by 2 tests |
) { | 6-21 |
| 1377 | QVarLengthArray<QStringCapture, 16> captures(numBackRefs); | - |
| 1378 | int j = 0; | - |
| 1379 | | - |
| 1380 | for (int i = 0; i < al - 1| TRUE | evaluated 164 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 21 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
; i++) { | 21-164 |
| 1381 | if (uc[i] == QLatin1Char('\\')| TRUE | evaluated 72 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 92 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
) { | 72-92 |
| 1382 | int no = uc[i + 1].digitValue(); | - |
| 1383 | if (no > 0| TRUE | evaluated 67 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 5 times by 2 tests |
&& no <= numCaptures| TRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 1 time by 1 test |
) { | 1-67 |
| 1384 | QStringCapture capture; | - |
| 1385 | capture.pos = i; | - |
| 1386 | capture.len = 2; | - |
| 1387 | | - |
| 1388 | if (i < al - 2| TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
) { | 10-56 |
| 1389 | int secondDigit = uc[i + 2].digitValue(); | - |
| 1390 | if (secondDigit != -1| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 28 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
&& ((| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 22 times by 1 test |
no * 10) + secondDigit) <= numCaptures| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 22 times by 1 test |
) { | 6-28 |
| 1391 | no = (no * 10) + secondDigit; | - |
| 1392 | ++capture.len; | - |
| 1393 | }executed 6 times by 1 test: end of block | 6 |
| 1394 | }executed 56 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 56 |
| 1395 | | - |
| 1396 | capture.no = no; | - |
| 1397 | captures[j++] = capture; | - |
| 1398 | }executed 66 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 66 |
| 1399 | }executed 72 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 72 |
| 1400 | }executed 164 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 164 |
| 1401 | | - |
| 1402 | while (index <= length()| TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | never evaluated |
) { | 0-46 |
| 1403 | index = rx2.indexIn(*this, index, caretMode); | - |
| 1404 | if (index == -1| TRUE | evaluated 21 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
) | 21-25 |
| 1405 | break;executed 21 times by 3 tests: break;Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 21 |
| 1406 | | - |
| 1407 | QString after2(after); | - |
| 1408 | for (j = numBackRefs - 1; j >= 0| TRUE | evaluated 64 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
; j--) { | 25-64 |
| 1409 | const QStringCapture &capture = captures[j]; | - |
| 1410 | after2.replace(capture.pos, capture.len, rx2.cap(capture.no)); | - |
| 1411 | }executed 64 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 64 |
| 1412 | | - |
| 1413 | replace(index, rx2.matchedLength(), after2); | - |
| 1414 | index += after2.length(); | - |
| 1415 | | - |
| 1416 | | - |
| 1417 | if (rx2.matchedLength() == 0| TRUE | never evaluated | | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
) | 0-25 |
| 1418 | ++ never executed: ++index; index;never executed: ++index; | 0 |
| 1419 | | - |
| 1420 | caretMode = QRegExp::CaretWontMatch; | - |
| 1421 | }executed 25 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 25 |
| 1422 | returnexecuted 21 times by 3 tests: return *this;Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
*this;executed 21 times by 3 tests: return *this;Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 21 |
| 1423 | } | - |
| 1424 | }executed 6 times by 2 tests: end of block | 6 |
| 1425 | | - |
| 1426 | | - |
| 1427 | | - |
| 1428 | | - |
| 1429 | | - |
| 1430 | while (index != -1| TRUE | evaluated 90583 times by 15 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| | FALSE | evaluated 3642 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
|
) { | 3642-90583 |
| 1431 | struct { | - |
| 1432 | int pos; | - |
| 1433 | int length; | - |
| 1434 | } replacements[2048]; | - |
| 1435 | | - |
| 1436 | int pos = 0; | - |
| 1437 | int adjust = 0; | - |
| 1438 | while (pos < 2047| TRUE | evaluated 99581 times by 15 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| | FALSE | never evaluated |
) { | 0-99581 |
| 1439 | index = rx2.indexIn(*this, index, caretMode); | - |
| 1440 | if (index == -1| TRUE | evaluated 90583 times by 15 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| | FALSE | evaluated 8998 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
|
) | 8998-90583 |
| 1441 | break;executed 90583 times by 15 tests: break;Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| 90583 |
| 1442 | int ml = rx2.matchedLength(); | - |
| 1443 | replacements[pos].pos = index; | - |
| 1444 | replacements[pos++].length = ml; | - |
| 1445 | index += ml; | - |
| 1446 | adjust += al - ml; | - |
| 1447 | | - |
| 1448 | if (!ml| TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 8952 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
|
) | 46-8952 |
| 1449 | index++;executed 46 times by 3 tests: index++;Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| 46 |
| 1450 | }executed 8998 times by 12 tests: end of blockExecuted by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
| 8998 |
| 1451 | if (!pos| TRUE | evaluated 86941 times by 9 testsEvaluated by:- tst_QFontComboBox
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsystemsemaphore - unknown status
| | FALSE | evaluated 3642 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
|
) | 3642-86941 |
| 1452 | break;executed 86941 times by 9 tests: break;Executed by:- tst_QFontComboBox
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsystemsemaphore - unknown status
| 86941 |
| 1453 | replacements[pos].pos = d->size; | - |
| 1454 | int newlen = d->size + adjust; | - |
| 1455 | | - |
| 1456 | | - |
| 1457 | | - |
| 1458 | if (index != -1| TRUE | never evaluated | | FALSE | evaluated 3642 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
|
) | 0-3642 |
| 1459 | index += adjust; never executed: index += adjust; | 0 |
| 1460 | QString newstring; | - |
| 1461 | newstring.reserve(newlen + 1); | - |
| 1462 | QChar *newuc = newstring.data(); | - |
| 1463 | QChar *uc = newuc; | - |
| 1464 | int copystart = 0; | - |
| 1465 | int i = 0; | - |
| 1466 | while (i < pos| TRUE | evaluated 8998 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
| | FALSE | evaluated 3642 times by 12 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
|
) { | 3642-8998 |
| 1467 | int copyend = replacements[i].pos; | - |
| 1468 | int size = copyend - copystart; | - |
| 1469 | memcpy(uc, d->data() + copystart, size * sizeof(QChar)); | - |
| 1470 | uc += size; | - |
| 1471 | memcpy(uc, after.d->data(), al * sizeof(QChar)); | - |
| 1472 | uc += al; | - |
| 1473 | copystart = copyend + replacements[i].length; | - |
| 1474 | i++; | - |
| 1475 | }executed 8998 times by 12 tests: end of blockExecuted by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
| 8998 |
| 1476 | memcpy(uc, d->data() + copystart, (d->size - copystart) * sizeof(QChar)); | - |
| 1477 | newstring.resize(newlen); | - |
| 1478 | *this = newstring; | - |
| 1479 | caretMode = QRegExp::CaretWontMatch; | - |
| 1480 | }executed 3642 times by 12 tests: end of blockExecuted by:- tst_Lancelot
- tst_QRegExp
- tst_QSharedMemory
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_uic
| 3642 |
| 1481 | returnexecuted 90583 times by 15 tests: return *this;Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
*this;executed 90583 times by 15 tests: return *this;Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| 90583 |
| 1482 | } | - |
| 1483 | QString &QString::replace(const QRegularExpression &re, const QString &after) | - |
| 1484 | { | - |
| 1485 | if (!re.isValid()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 153 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) { | 2-153 |
| 1486 | QMessageLogger(__FILE__, 3535, __PRETTY_FUNCTION__).warning("QString::replace: invalid QRegularExpression object"); | - |
| 1487 | returnexecuted 2 times by 1 test: return *this; *this;executed 2 times by 1 test: return *this; | 2 |
| 1488 | } | - |
| 1489 | | - |
| 1490 | const QString copy(*this); | - |
| 1491 | QRegularExpressionMatchIterator iterator = re.globalMatch(copy); | - |
| 1492 | if (!iterator.hasNext()| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 141 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) | 12-141 |
| 1493 | returnexecuted 12 times by 2 tests: return *this;Executed by:- tst_QString
- tst_QStringList
*this;executed 12 times by 2 tests: return *this;Executed by:- tst_QString
- tst_QStringList
| 12 |
| 1494 | | - |
| 1495 | reallocData(uint(d->size) + 1u); | - |
| 1496 | | - |
| 1497 | int numCaptures = re.captureCount(); | - |
| 1498 | | - |
| 1499 | | - |
| 1500 | | - |
| 1501 | QVector<QStringCapture> backReferences; | - |
| 1502 | const int al = after.length(); | - |
| 1503 | const QChar *ac = after.unicode(); | - |
| 1504 | | - |
| 1505 | for (int i = 0; i < al - 1| TRUE | evaluated 138 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 141 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
; i++) { | 138-141 |
| 1506 | if (ac[i] == QLatin1Char('\\')| TRUE | evaluated 55 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 83 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 55-83 |
| 1507 | int no = ac[i + 1].digitValue(); | - |
| 1508 | if (no > 0| TRUE | evaluated 51 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 4 times by 1 test |
&& no <= numCaptures| TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 3 times by 1 test |
) { | 3-51 |
| 1509 | QStringCapture backReference; | - |
| 1510 | backReference.pos = i; | - |
| 1511 | backReference.len = 2; | - |
| 1512 | | - |
| 1513 | if (i < al - 2| TRUE | evaluated 43 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 5-43 |
| 1514 | int secondDigit = ac[i + 2].digitValue(); | - |
| 1515 | if (secondDigit != -1| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
&& ((| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 22 times by 1 test |
no * 10) + secondDigit) <= numCaptures| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 22 times by 1 test |
) { | 6-28 |
| 1516 | no = (no * 10) + secondDigit; | - |
| 1517 | ++backReference.len; | - |
| 1518 | }executed 6 times by 1 test: end of block | 6 |
| 1519 | }executed 43 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 43 |
| 1520 | | - |
| 1521 | backReference.no = no; | - |
| 1522 | backReferences.append(backReference); | - |
| 1523 | }executed 48 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 48 |
| 1524 | }executed 55 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 55 |
| 1525 | }executed 138 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 138 |
| 1526 | | - |
| 1527 | | - |
| 1528 | | - |
| 1529 | | - |
| 1530 | | - |
| 1531 | int newLength = 0; | - |
| 1532 | int lastEnd = 0; | - |
| 1533 | QVector<QStringRef> chunks; | - |
| 1534 | while (iterator.hasNext()| TRUE | evaluated 158 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
| | FALSE | evaluated 141 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) { | 141-158 |
| 1535 | QRegularExpressionMatch match = iterator.next(); | - |
| 1536 | int len; | - |
| 1537 | | - |
| 1538 | len = match.capturedStart() - lastEnd; | - |
| 1539 | if (len > 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 154 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) { | 4-154 |
| 1540 | chunks << copy.midRef(lastEnd, len); | - |
| 1541 | newLength += len; | - |
| 1542 | }executed 4 times by 1 test: end of block | 4 |
| 1543 | | - |
| 1544 | lastEnd = 0; | - |
| 1545 | | - |
| 1546 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(backReferences)>::type> _container_((backReferences)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (const QStringCapture &backReference = *_container_.i; _container_.control; _container_.control = 0) { | - |
| 1547 | | - |
| 1548 | len = backReference.pos - lastEnd; | - |
| 1549 | if (len > 0| TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 30 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 28-30 |
| 1550 | chunks << after.midRef(lastEnd, len); | - |
| 1551 | newLength += len; | - |
| 1552 | }executed 28 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 28 |
| 1553 | | - |
| 1554 | | - |
| 1555 | len = match.capturedLength(backReference.no); | - |
| 1556 | if (len > 0| TRUE | evaluated 57 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 1 time by 1 test |
) { | 1-57 |
| 1557 | chunks << copy.midRef(match.capturedStart(backReference.no), len); | - |
| 1558 | newLength += len; | - |
| 1559 | }executed 57 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 57 |
| 1560 | | - |
| 1561 | lastEnd = backReference.pos + backReference.len; | - |
| 1562 | }executed 58 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 58 |
| 1563 | | - |
| 1564 | | - |
| 1565 | len = after.length() - lastEnd; | - |
| 1566 | if (len > 0| TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 131 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) { | 27-131 |
| 1567 | chunks << after.midRef(lastEnd, len); | - |
| 1568 | newLength += len; | - |
| 1569 | }executed 27 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
| 27 |
| 1570 | | - |
| 1571 | lastEnd = match.capturedEnd(); | - |
| 1572 | }executed 158 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
| 158 |
| 1573 | | - |
| 1574 | | - |
| 1575 | if (copy.length() > lastEnd| TRUE | evaluated 127 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 14-127 |
| 1576 | chunks << copy.midRef(lastEnd); | - |
| 1577 | newLength += copy.length() - lastEnd; | - |
| 1578 | }executed 127 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
| 127 |
| 1579 | | - |
| 1580 | | - |
| 1581 | resize(newLength); | - |
| 1582 | int i = 0; | - |
| 1583 | QChar *uc = data(); | - |
| 1584 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(chunks)>::type> _container_((chunks)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (const QStringRef &chunk = *_container_.i; _container_.control; _container_.control = 0) { | - |
| 1585 | int len = chunk.length(); | - |
| 1586 | memcpy(uc + i, chunk.unicode(), len * sizeof(QChar)); | - |
| 1587 | i += len; | - |
| 1588 | }executed 243 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
| 243 |
| 1589 | | - |
| 1590 | returnexecuted 141 times by 3 tests: return *this;Executed by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
*this;executed 141 times by 3 tests: return *this;Executed by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
| 141 |
| 1591 | } | - |
| 1592 | int QString::count(const QString &str, Qt::CaseSensitivity cs) const | - |
| 1593 | { | - |
| 1594 | returnexecuted 12 times by 4 tests: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs);Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
qt_string_count(unicode(), size(), str.unicode(), str.size(), cs);executed 12 times by 4 tests: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs);Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
| 12 |
| 1595 | } | - |
| 1596 | int QString::count(QChar ch, Qt::CaseSensitivity cs) const | - |
| 1597 | { | - |
| 1598 | returnexecuted 10950 times by 11 tests: return qt_string_count(unicode(), size(), ch, cs);Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
qt_string_count(unicode(), size(), ch, cs);executed 10950 times by 11 tests: return qt_string_count(unicode(), size(), ch, cs);Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
| 10950 |
| 1599 | } | - |
| 1600 | int QString::count(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
| 1601 | { | - |
| 1602 | returnexecuted 4 times by 1 test: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs); qt_string_count(unicode(), size(), str.unicode(), str.size(), cs);executed 4 times by 1 test: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs); | 4 |
| 1603 | } | - |
| 1604 | int QString::indexOf(const QRegExp& rx, int from) const | - |
| 1605 | { | - |
| 1606 | QRegExp rx2(rx); | - |
| 1607 | returnexecuted 20349 times by 11 tests: return rx2.indexIn(*this, from);Executed by:- tst_ModelTest
- tst_QDBusInterface
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QProcess
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_qstandardpaths
rx2.indexIn(*this, from);executed 20349 times by 11 tests: return rx2.indexIn(*this, from);Executed by:- tst_ModelTest
- tst_QDBusInterface
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QProcess
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_qstandardpaths
| 20349 |
| 1608 | } | - |
| 1609 | int QString::indexOf(QRegExp& rx, int from) const | - |
| 1610 | { | - |
| 1611 | returnexecuted 323 times by 5 tests: return rx.indexIn(*this, from);Executed by:- tst_QDate
- tst_QDateTime
- tst_QFontComboBox
- tst_QString
- tst_QTime
rx.indexIn(*this, from);executed 323 times by 5 tests: return rx.indexIn(*this, from);Executed by:- tst_QDate
- tst_QDateTime
- tst_QFontComboBox
- tst_QString
- tst_QTime
| 323 |
| 1612 | } | - |
| 1613 | int QString::lastIndexOf(const QRegExp& rx, int from) const | - |
| 1614 | { | - |
| 1615 | QRegExp rx2(rx); | - |
| 1616 | returnexecuted 36 times by 1 test: return rx2.lastIndexIn(*this, from); rx2.lastIndexIn(*this, from);executed 36 times by 1 test: return rx2.lastIndexIn(*this, from); | 36 |
| 1617 | } | - |
| 1618 | int QString::lastIndexOf(QRegExp& rx, int from) const | - |
| 1619 | { | - |
| 1620 | returnexecuted 36 times by 1 test: return rx.lastIndexIn(*this, from); rx.lastIndexIn(*this, from);executed 36 times by 1 test: return rx.lastIndexIn(*this, from); | 36 |
| 1621 | } | - |
| 1622 | int QString::count(const QRegExp& rx) const | - |
| 1623 | { | - |
| 1624 | QRegExp rx2(rx); | - |
| 1625 | int count = 0; | - |
| 1626 | int index = -1; | - |
| 1627 | int len = length(); | - |
| 1628 | while (index < len - 1| TRUE | evaluated 5 times by 1 test | | FALSE | never evaluated |
) { | 0-5 |
| 1629 | index = rx2.indexIn(*this, index + 1); | - |
| 1630 | if (index == -1| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 3 times by 1 test |
) | 2-3 |
| 1631 | break;executed 2 times by 1 test: break; | 2 |
| 1632 | count++; | - |
| 1633 | }executed 3 times by 1 test: end of block | 3 |
| 1634 | returnexecuted 2 times by 1 test: return count; count;executed 2 times by 1 test: return count; | 2 |
| 1635 | } | - |
| 1636 | int QString::indexOf(const QRegularExpression& re, int from) const | - |
| 1637 | { | - |
| 1638 | returnexecuted 65 times by 1 test: return indexOf(re, from, nullptr); indexOf(re, from, nullptr);executed 65 times by 1 test: return indexOf(re, from, nullptr); | 65 |
| 1639 | } | - |
| 1640 | int QString::indexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const | - |
| 1641 | { | - |
| 1642 | if (!re.isValid()| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 196 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
) { | 3-196 |
| 1643 | QMessageLogger(__FILE__, 3895, __PRETTY_FUNCTION__).warning("QString::indexOf: invalid QRegularExpression object"); | - |
| 1644 | returnexecuted 3 times by 1 test: return -1; -1;executed 3 times by 1 test: return -1; | 3 |
| 1645 | } | - |
| 1646 | | - |
| 1647 | QRegularExpressionMatch match = re.match(*this, from); | - |
| 1648 | if (match.hasMatch()| TRUE | evaluated 109 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 87 times by 1 test |
) { | 87-109 |
| 1649 | const int ret = match.capturedStart(); | - |
| 1650 | if (rmatch| TRUE | evaluated 39 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 70 times by 1 test |
) | 39-70 |
| 1651 | *executed 39 times by 2 tests: *rmatch = std::move(match);Executed by:- tst_QString
- tst_QTextDocument
rmatch = std::move(match);executed 39 times by 2 tests: *rmatch = std::move(match);Executed by:- tst_QString
- tst_QTextDocument
| 39 |
| 1652 | returnexecuted 109 times by 2 tests: return ret;Executed by:- tst_QString
- tst_QTextDocument
ret;executed 109 times by 2 tests: return ret;Executed by:- tst_QString
- tst_QTextDocument
| 109 |
| 1653 | } | - |
| 1654 | | - |
| 1655 | returnexecuted 87 times by 1 test: return -1; -1;executed 87 times by 1 test: return -1; | 87 |
| 1656 | } | - |
| 1657 | int QString::lastIndexOf(const QRegularExpression &re, int from) const | - |
| 1658 | { | - |
| 1659 | returnexecuted 19 times by 1 test: return lastIndexOf(re, from, nullptr); lastIndexOf(re, from, nullptr);executed 19 times by 1 test: return lastIndexOf(re, from, nullptr); | 19 |
| 1660 | } | - |
| 1661 | int QString::lastIndexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const | - |
| 1662 | { | - |
| 1663 | if (!re.isValid()| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 57 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
) { | 3-57 |
| 1664 | QMessageLogger(__FILE__, 3946, __PRETTY_FUNCTION__).warning("QString::lastIndexOf: invalid QRegularExpression object"); | - |
| 1665 | returnexecuted 3 times by 1 test: return -1; -1;executed 3 times by 1 test: return -1; | 3 |
| 1666 | } | - |
| 1667 | | - |
| 1668 | int endpos = (| TRUE | evaluated 18 times by 1 test | | FALSE | evaluated 39 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
from < 0)| TRUE | evaluated 18 times by 1 test | | FALSE | evaluated 39 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
? (size() + from + 1) : (from + 1); | 18-39 |
| 1669 | QRegularExpressionMatchIterator iterator = re.globalMatch(*this); | - |
| 1670 | int lastIndex = -1; | - |
| 1671 | while (iterator.hasNext()| TRUE | evaluated 109 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 40 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
) { | 40-109 |
| 1672 | QRegularExpressionMatch match = iterator.next(); | - |
| 1673 | int start = match.capturedStart(); | - |
| 1674 | if (start < endpos| TRUE | evaluated 92 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
) { | 17-92 |
| 1675 | lastIndex = start; | - |
| 1676 | if (rmatch| TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 58 times by 1 test |
) | 34-58 |
| 1677 | *executed 34 times by 2 tests: *rmatch = std::move(match);Executed by:- tst_QString
- tst_QTextDocument
rmatch = std::move(match);executed 34 times by 2 tests: *rmatch = std::move(match);Executed by:- tst_QString
- tst_QTextDocument
| 34 |
| 1678 | }executed 92 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QTextDocument
else { | 92 |
| 1679 | break;executed 17 times by 2 tests: break;Executed by:- tst_QString
- tst_QTextDocument
| 17 |
| 1680 | } | - |
| 1681 | } | - |
| 1682 | | - |
| 1683 | returnexecuted 57 times by 2 tests: return lastIndex;Executed by:- tst_QString
- tst_QTextDocument
lastIndex;executed 57 times by 2 tests: return lastIndex;Executed by:- tst_QString
- tst_QTextDocument
| 57 |
| 1684 | } | - |
| 1685 | | - |
| 1686 | | - |
| 1687 | | - |
| 1688 | | - |
| 1689 | | - |
| 1690 | | - |
| 1691 | | - |
| 1692 | bool QString::contains(const QRegularExpression &re) const | - |
| 1693 | { | - |
| 1694 | returnexecuted 6 times by 2 tests: return contains(re, nullptr);Executed by:- tst_QString
- tst_QStringList
contains(re, nullptr);executed 6 times by 2 tests: return contains(re, nullptr);Executed by:- tst_QString
- tst_QStringList
| 6 |
| 1695 | } | - |
| 1696 | bool QString::contains(const QRegularExpression &re, QRegularExpressionMatch *match) const | - |
| 1697 | { | - |
| 1698 | if (!re.isValid()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 1-12 |
| 1699 | QMessageLogger(__FILE__, 3996, __PRETTY_FUNCTION__).warning("QString::contains: invalid QRegularExpression object"); | - |
| 1700 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
| 1701 | } | - |
| 1702 | QRegularExpressionMatch m = re.match(*this); | - |
| 1703 | bool hasMatch = m.hasMatch(); | - |
| 1704 | if (hasMatch| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
&& match| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) | 3-9 |
| 1705 | *executed 4 times by 1 test: *match = std::move(m); match = std::move(m);executed 4 times by 1 test: *match = std::move(m); | 4 |
| 1706 | returnexecuted 12 times by 2 tests: return hasMatch;Executed by:- tst_QString
- tst_QStringList
hasMatch;executed 12 times by 2 tests: return hasMatch;Executed by:- tst_QString
- tst_QStringList
| 12 |
| 1707 | } | - |
| 1708 | int QString::count(const QRegularExpression &re) const | - |
| 1709 | { | - |
| 1710 | if (!re.isValid()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 122 times by 2 testsEvaluated by:- tst_QString
- tst_qdbusxml2cpp
|
) { | 1-122 |
| 1711 | QMessageLogger(__FILE__, 4021, __PRETTY_FUNCTION__).warning("QString::count: invalid QRegularExpression object"); | - |
| 1712 | returnexecuted 1 time by 1 test: return 0; 0;executed 1 time by 1 test: return 0; | 1 |
| 1713 | } | - |
| 1714 | int count = 0; | - |
| 1715 | int index = -1; | - |
| 1716 | int len = length(); | - |
| 1717 | while (index < len - 1| TRUE | evaluated 245 times by 2 testsEvaluated by:- tst_QString
- tst_qdbusxml2cpp
| | FALSE | never evaluated |
) { | 0-245 |
| 1718 | QRegularExpressionMatch match = re.match(*this, index + 1); | - |
| 1719 | if (!match.hasMatch()| TRUE | evaluated 122 times by 2 testsEvaluated by:- tst_QString
- tst_qdbusxml2cpp
| | FALSE | evaluated 123 times by 2 testsEvaluated by:- tst_QString
- tst_qdbusxml2cpp
|
) | 122-123 |
| 1720 | break;executed 122 times by 2 tests: break;Executed by:- tst_QString
- tst_qdbusxml2cpp
| 122 |
| 1721 | index = match.capturedStart(); | - |
| 1722 | count++; | - |
| 1723 | }executed 123 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_qdbusxml2cpp
| 123 |
| 1724 | returnexecuted 122 times by 2 tests: return count;Executed by:- tst_QString
- tst_qdbusxml2cpp
count;executed 122 times by 2 tests: return count;Executed by:- tst_QString
- tst_qdbusxml2cpp
| 122 |
| 1725 | } | - |
| 1726 | QString QString::section(const QString &sep, int start, int end, SectionFlags flags) const | - |
| 1727 | { | - |
| 1728 | const QVector<QStringRef> sections = splitRef(sep, KeepEmptyParts, | - |
| 1729 | (flags & SectionCaseInsensitiveSeps) ? Qt::CaseInsensitive : Qt::CaseSensitive); | - |
| 1730 | const int sectionsSize = sections.size(); | - |
| 1731 | if (!(flags & SectionSkipEmpty)| TRUE | evaluated 230 times by 11 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
| | FALSE | evaluated 1992 times by 3 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_rcc
|
) { | 230-1992 |
| 1732 | if (start < 0| TRUE | evaluated 166 times by 8 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| | FALSE | evaluated 64 times by 4 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QString
- tst_qmakelib
|
) | 64-166 |
| 1733 | start += sectionsSize;executed 166 times by 8 tests: start += sectionsSize;Executed by:- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| 166 |
| 1734 | if (end < 0| TRUE | evaluated 171 times by 9 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
| | FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QString
- tst_qmakelib
|
) | 59-171 |
| 1735 | end += sectionsSize;executed 171 times by 9 tests: end += sectionsSize;Executed by:- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
| 171 |
| 1736 | }executed 230 times by 11 tests: end of blockExecuted by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
else { | 230 |
| 1737 | int skip = 0; | - |
| 1738 | for (int k = 0; k < sectionsSize| TRUE | evaluated 15024 times by 3 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_rcc
| | FALSE | evaluated 1992 times by 3 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_rcc
|
; ++k) { | 1992-15024 |
| 1739 | if (sections.at(k).isEmpty()| TRUE | evaluated 2048 times by 2 tests | | FALSE | evaluated 12976 times by 3 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_rcc
|
) | 2048-12976 |
| 1740 | skip++;executed 2048 times by 2 tests: skip++; | 2048 |
| 1741 | }executed 15024 times by 3 tests: end of blockExecuted by:- tst_QLayout
- tst_QString
- tst_rcc
| 15024 |
| 1742 | if (start < 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 1988 times by 3 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_rcc
|
) | 4-1988 |
| 1743 | start += sectionsSize - skip;executed 4 times by 1 test: start += sectionsSize - skip; | 4 |
| 1744 | if (end < 0| TRUE | evaluated 1794 times by 2 tests | | FALSE | evaluated 198 times by 2 tests |
) | 198-1794 |
| 1745 | end += sectionsSize - skip;executed 1794 times by 2 tests: end += sectionsSize - skip; | 1794 |
| 1746 | }executed 1992 times by 3 tests: end of blockExecuted by:- tst_QLayout
- tst_QString
- tst_rcc
| 1992 |
| 1747 | if (start >= sectionsSize| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2220 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
|
|| end < 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2218 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
|
|| start > end| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2216 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
|
) | 2-2220 |
| 1748 | returnexecuted 6 times by 1 test: return QString(); QString();executed 6 times by 1 test: return QString(); | 6 |
| 1749 | | - |
| 1750 | QString ret; | - |
| 1751 | int first_i = start, last_i = end; | - |
| 1752 | for (int x = 0, i = 0; x <= end| TRUE | evaluated 13295 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 2216 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
|
&& i < sectionsSize| TRUE | evaluated 13295 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| | FALSE | never evaluated |
; ++i) { | 0-13295 |
| 1753 | const QStringRef §ion = sections.at(i); | - |
| 1754 | const bool empty = section.isEmpty(); | - |
| 1755 | if (x >= start| TRUE | evaluated 2307 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 10988 times by 4 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_qmakelib
- tst_rcc
|
) { | 2307-10988 |
| 1756 | if(x == start| TRUE | evaluated 2262 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 45 times by 2 tests |
) | 45-2262 |
| 1757 | first_i = i;executed 2262 times by 13 tests: first_i = i;Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 2262 |
| 1758 | if(x == end| TRUE | evaluated 2264 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 43 times by 2 tests |
) | 43-2264 |
| 1759 | last_i = i;executed 2264 times by 13 tests: last_i = i;Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 2264 |
| 1760 | if (x > start| TRUE | evaluated 45 times by 2 tests | | FALSE | evaluated 2262 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
|
&& i > 0| TRUE | evaluated 43 times by 2 tests | | FALSE | evaluated 2 times by 1 test |
) | 2-2262 |
| 1761 | ret += sep;executed 43 times by 2 tests: ret += sep; | 43 |
| 1762 | ret += section; | - |
| 1763 | }executed 2307 times by 13 tests: end of blockExecuted by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 2307 |
| 1764 | if (!empty| TRUE | evaluated 13139 times by 13 testsEvaluated by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 156 times by 1 test |
|| !(flags & SectionSkipEmpty)| TRUE | evaluated 24 times by 1 test | | FALSE | evaluated 132 times by 1 test |
) | 24-13139 |
| 1765 | x++;executed 13163 times by 13 tests: x++;Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 13163 |
| 1766 | }executed 13295 times by 13 tests: end of blockExecuted by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 13295 |
| 1767 | if ((flags & SectionIncludeLeadingSep) && first_i > 0| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 10 times by 1 test |
) | 10-16 |
| 1768 | ret.prepend(sep);executed 16 times by 1 test: ret.prepend(sep); | 16 |
| 1769 | if ((flags & SectionIncludeTrailingSep) && last_i < sectionsSize - 1| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) | 4-16 |
| 1770 | ret += sep;executed 16 times by 1 test: ret += sep; | 16 |
| 1771 | returnexecuted 2216 times by 13 tests: return ret;Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
ret;executed 2216 times by 13 tests: return ret;Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 2216 |
| 1772 | } | - |
| 1773 | | - |
| 1774 | | - |
| 1775 | class qt_section_chunk { | - |
| 1776 | public: | - |
| 1777 | qt_section_chunk() {} | - |
| 1778 | qt_section_chunk(int l, QStringRef s) : length(l), string(std::move(s)) {}executed 638 times by 2 tests: end of block | 638 |
| 1779 | int length; | - |
| 1780 | QStringRef string; | - |
| 1781 | }; | - |
| 1782 | template<> class QTypeInfo<qt_section_chunk > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(qt_section_chunk)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< qt_section_chunk >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(qt_section_chunk) }; static inline const char *name() { return "qt_section_chunk"; } }; | - |
| 1783 | | - |
| 1784 | static QString extractSections(const QVector<qt_section_chunk> §ions, | - |
| 1785 | int start, | - |
| 1786 | int end, | - |
| 1787 | QString::SectionFlags flags) | - |
| 1788 | { | - |
| 1789 | const int sectionsSize = sections.size(); | - |
| 1790 | | - |
| 1791 | if (!(flags & QString::SectionSkipEmpty)| TRUE | evaluated 72 times by 2 tests | | FALSE | evaluated 18 times by 1 test |
) { | 18-72 |
| 1792 | if (start < 0| TRUE | evaluated 9 times by 2 tests | | FALSE | evaluated 63 times by 2 tests |
) | 9-63 |
| 1793 | start += sectionsSize;executed 9 times by 2 tests: start += sectionsSize; | 9 |
| 1794 | if (end < 0| TRUE | evaluated 18 times by 2 tests | | FALSE | evaluated 54 times by 1 test |
) | 18-54 |
| 1795 | end += sectionsSize;executed 18 times by 2 tests: end += sectionsSize; | 18 |
| 1796 | }executed 72 times by 2 tests: end of block else { | 72 |
| 1797 | int skip = 0; | - |
| 1798 | for (int k = 0; k < sectionsSize| TRUE | evaluated 324 times by 1 test | | FALSE | evaluated 18 times by 1 test |
; ++k) { | 18-324 |
| 1799 | const qt_section_chunk §ion = sections.at(k); | - |
| 1800 | if (section.length == section.string.length()| TRUE | evaluated 256 times by 1 test | | FALSE | evaluated 68 times by 1 test |
) | 68-256 |
| 1801 | skip++;executed 256 times by 1 test: skip++; | 256 |
| 1802 | }executed 324 times by 1 test: end of block | 324 |
| 1803 | if (start < 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 14 times by 1 test |
) | 4-14 |
| 1804 | start += sectionsSize - skip;executed 4 times by 1 test: start += sectionsSize - skip; | 4 |
| 1805 | if (end < 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 16 times by 1 test |
) | 2-16 |
| 1806 | end += sectionsSize - skip;executed 2 times by 1 test: end += sectionsSize - skip; | 2 |
| 1807 | }executed 18 times by 1 test: end of block | 18 |
| 1808 | if (start >= sectionsSize| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 86 times by 2 tests |
|| end < 0| TRUE | evaluated 3 times by 2 tests | | FALSE | evaluated 83 times by 2 tests |
|| start > end| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 81 times by 2 tests |
) | 2-86 |
| 1809 | returnexecuted 9 times by 2 tests: return QString(); QString();executed 9 times by 2 tests: return QString(); | 9 |
| 1810 | | - |
| 1811 | QString ret; | - |
| 1812 | int x = 0; | - |
| 1813 | int first_i = start, last_i = end; | - |
| 1814 | for (int i = 0; x <= end| TRUE | evaluated 365 times by 2 tests | | FALSE | evaluated 81 times by 2 tests |
&& i < sectionsSize| TRUE | evaluated 365 times by 2 tests | | FALSE | never evaluated |
; ++i) { | 0-365 |
| 1815 | const qt_section_chunk §ion = sections.at(i); | - |
| 1816 | const bool empty = (section.length == section.string.length()); | - |
| 1817 | if (x >= start| TRUE | evaluated 192 times by 2 tests | | FALSE | evaluated 173 times by 2 tests |
) { | 173-192 |
| 1818 | if (x == start| TRUE | evaluated 127 times by 2 tests | | FALSE | evaluated 65 times by 2 tests |
) | 65-127 |
| 1819 | first_i = i;executed 127 times by 2 tests: first_i = i; | 127 |
| 1820 | if (x == end| TRUE | evaluated 129 times by 2 tests | | FALSE | evaluated 63 times by 2 tests |
) | 63-129 |
| 1821 | last_i = i;executed 129 times by 2 tests: last_i = i; | 129 |
| 1822 | if (x != start| TRUE | evaluated 65 times by 2 tests | | FALSE | evaluated 127 times by 2 tests |
) | 65-127 |
| 1823 | ret += section.string;executed 65 times by 2 tests: ret += section.string; | 65 |
| 1824 | else | - |
| 1825 | ret += section.string.mid(section.length);executed 127 times by 2 tests: ret += section.string.mid(section.length); | 127 |
| 1826 | } | - |
| 1827 | if (!empty| TRUE | evaluated 183 times by 2 tests | | FALSE | evaluated 182 times by 2 tests |
|| !(flags & QString::SectionSkipEmpty)| TRUE | evaluated 50 times by 2 tests | | FALSE | evaluated 132 times by 1 test |
) | 50-183 |
| 1828 | x++;executed 233 times by 2 tests: x++; | 233 |
| 1829 | }executed 365 times by 2 tests: end of block | 365 |
| 1830 | | - |
| 1831 | if ((flags & QString::SectionIncludeLeadingSep) && first_i >= 0| TRUE | evaluated 44 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-44 |
| 1832 | const qt_section_chunk §ion = sections.at(first_i); | - |
| 1833 | ret.prepend(section.string.left(section.length)); | - |
| 1834 | }executed 44 times by 1 test: end of block | 44 |
| 1835 | | - |
| 1836 | if ((flags & QString::SectionIncludeTrailingSep) | - |
| 1837 | && last_i < sectionsSize - 1| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) { | 6-28 |
| 1838 | const qt_section_chunk §ion = sections.at(last_i+1); | - |
| 1839 | ret += section.string.left(section.length); | - |
| 1840 | }executed 28 times by 1 test: end of block | 28 |
| 1841 | | - |
| 1842 | returnexecuted 81 times by 2 tests: return ret; ret;executed 81 times by 2 tests: return ret; | 81 |
| 1843 | } | - |
| 1844 | QString QString::section(const QRegExp ®, int start, int end, SectionFlags flags) const | - |
| 1845 | { | - |
| 1846 | const QChar *uc = unicode(); | - |
| 1847 | if(!uc| TRUE | never evaluated | | FALSE | evaluated 48 times by 2 tests |
) | 0-48 |
| 1848 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 1849 | | - |
| 1850 | QRegExp sep(reg); | - |
| 1851 | sep.setCaseSensitivity((flags & SectionCaseInsensitiveSeps) ? Qt::CaseInsensitive | - |
| 1852 | : Qt::CaseSensitive); | - |
| 1853 | | - |
| 1854 | QVector<qt_section_chunk> sections; | - |
| 1855 | int n = length(), m = 0, last_m = 0, last_len = 0; | - |
| 1856 | while ((| TRUE | evaluated 277 times by 2 tests | | FALSE | evaluated 48 times by 2 tests |
m = sep.indexIn(*this, m)) != -1| TRUE | evaluated 277 times by 2 tests | | FALSE | evaluated 48 times by 2 tests |
) { | 48-277 |
| 1857 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, m - last_m))); | - |
| 1858 | last_m = m; | - |
| 1859 | last_len = sep.matchedLength(); | - |
| 1860 | m += qMax(sep.matchedLength(), 1); | - |
| 1861 | }executed 277 times by 2 tests: end of block | 277 |
| 1862 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, n - last_m))); | - |
| 1863 | | - |
| 1864 | returnexecuted 48 times by 2 tests: return extractSections(sections, start, end, flags); extractSections(sections, start, end, flags);executed 48 times by 2 tests: return extractSections(sections, start, end, flags); | 48 |
| 1865 | } | - |
| 1866 | QString QString::section(const QRegularExpression &re, int start, int end, SectionFlags flags) const | - |
| 1867 | { | - |
| 1868 | if (!re.isValid()| TRUE | never evaluated | | FALSE | evaluated 42 times by 1 test |
) { | 0-42 |
| 1869 | QMessageLogger(__FILE__, 4288, __PRETTY_FUNCTION__).warning("QString::section: invalid QRegularExpression object"); | - |
| 1870 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 1871 | } | - |
| 1872 | | - |
| 1873 | const QChar *uc = unicode(); | - |
| 1874 | if (!uc| TRUE | never evaluated | | FALSE | evaluated 42 times by 1 test |
) | 0-42 |
| 1875 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 1876 | | - |
| 1877 | QRegularExpression sep(re); | - |
| 1878 | if (flags & SectionCaseInsensitiveSeps| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 41 times by 1 test |
) | 1-41 |
| 1879 | sep.setPatternOptions(sep.patternOptions() | QRegularExpression::CaseInsensitiveOption);executed 1 time by 1 test: sep.setPatternOptions(sep.patternOptions() | QRegularExpression::CaseInsensitiveOption); | 1 |
| 1880 | | - |
| 1881 | QVector<qt_section_chunk> sections; | - |
| 1882 | int n = length(), m = 0, last_m = 0, last_len = 0; | - |
| 1883 | QRegularExpressionMatchIterator iterator = sep.globalMatch(*this); | - |
| 1884 | while (iterator.hasNext()| TRUE | evaluated 271 times by 1 test | | FALSE | evaluated 42 times by 1 test |
) { | 42-271 |
| 1885 | QRegularExpressionMatch match = iterator.next(); | - |
| 1886 | m = match.capturedStart(); | - |
| 1887 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, m - last_m))); | - |
| 1888 | last_m = m; | - |
| 1889 | last_len = match.capturedLength(); | - |
| 1890 | }executed 271 times by 1 test: end of block | 271 |
| 1891 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, n - last_m))); | - |
| 1892 | | - |
| 1893 | returnexecuted 42 times by 1 test: return extractSections(sections, start, end, flags); extractSections(sections, start, end, flags);executed 42 times by 1 test: return extractSections(sections, start, end, flags); | 42 |
| 1894 | } | - |
| 1895 | QString QString::left(int n) const | - |
| 1896 | { | - |
| 1897 | if (uint(n) >= uint(d->size)| TRUE | evaluated 38684 times by 85 testsEvaluated by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- ...
| | FALSE | evaluated 82353 times by 198 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- ...
|
) | 38684-82353 |
| 1898 | returnexecuted 38684 times by 85 tests: return *this;Executed by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- ...
*this;executed 38684 times by 85 tests: return *this;Executed by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- ...
| 38684 |
| 1899 | returnexecuted 82353 times by 198 tests: return QString((const QChar*) d->data(), n);Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- ...
QString((const QChar*) d->data(), n);executed 82353 times by 198 tests: return QString((const QChar*) d->data(), n);Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- ...
| 82353 |
| 1900 | } | - |
| 1901 | QString QString::right(int n) const | - |
| 1902 | { | - |
| 1903 | if (uint(n) >= uint(d->size)| TRUE | evaluated 62 times by 3 testsEvaluated by:- tst_Collections
- tst_QSqlTableModel
- tst_QString
| | FALSE | evaluated 4888 times by 32 testsEvaluated by:- tst_Collections
- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QImageReader
- tst_QItemModel
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMimeDatabase
- tst_QRadioButton
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- ...
|
) | 62-4888 |
| 1904 | returnexecuted 62 times by 3 tests: return *this;Executed by:- tst_Collections
- tst_QSqlTableModel
- tst_QString
*this;executed 62 times by 3 tests: return *this;Executed by:- tst_Collections
- tst_QSqlTableModel
- tst_QString
| 62 |
| 1905 | returnexecuted 4888 times by 32 tests: return QString((const QChar*) d->data() + d->size - n, n);Executed by:- tst_Collections
- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QImageReader
- tst_QItemModel
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMimeDatabase
- tst_QRadioButton
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- ...
QString((const QChar*) d->data() + d->size - n, n);executed 4888 times by 32 tests: return QString((const QChar*) d->data() + d->size - n, n);Executed by:- tst_Collections
- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QImageReader
- tst_QItemModel
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMimeDatabase
- tst_QRadioButton
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- ...
| 4888 |
| 1906 | } | - |
| 1907 | QString QString::mid(int position, int n) const | - |
| 1908 | { | - |
| 1909 | using namespace QtPrivate; | - |
| 1910 | switch (QContainerImplHelper::mid(d->size, &position, &n)) { | - |
| 1911 | caseexecuted 12345 times by 7 tests: case QContainerImplHelper::Null:Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
QContainerImplHelper::Null:executed 12345 times by 7 tests: case QContainerImplHelper::Null:Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
| 12345 |
| 1912 | returnexecuted 12345 times by 7 tests: return QString();Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
QString();executed 12345 times by 7 tests: return QString();Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
| 12345 |
| 1913 | caseexecuted 11669 times by 196 tests: case QContainerImplHelper::Empty:Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
QContainerImplHelper::Empty:executed 11669 times by 196 tests: case QContainerImplHelper::Empty:Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 11669 |
| 1914 | { | - |
| 1915 | QStringDataPtr empty = { Data::allocate(0) }; | - |
| 1916 | returnexecuted 11669 times by 196 tests: return QString(empty);Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
QString(empty);executed 11669 times by 196 tests: return QString(empty);Executed by:- tst_Collections
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 11669 |
| 1917 | } | - |
| 1918 | caseexecuted 109317 times by 229 tests: case QContainerImplHelper::Full:Executed by:- tst_Collections
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
QContainerImplHelper::Full:executed 109317 times by 229 tests: case QContainerImplHelper::Full:Executed by:- tst_Collections
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| 109317 |
| 1919 | returnexecuted 109317 times by 229 tests: return *this;Executed by:- tst_Collections
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
*this;executed 109317 times by 229 tests: return *this;Executed by:- tst_Collections
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| 109317 |
| 1920 | caseexecuted 910993 times by 339 tests: case QContainerImplHelper::Subset:Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
QContainerImplHelper::Subset:executed 910993 times by 339 tests: case QContainerImplHelper::Subset:Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| 910993 |
| 1921 | returnexecuted 910993 times by 339 tests: return QString((const QChar*)d->data() + position, n);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
QString((const QChar*)d->data() + position, n);executed 910993 times by 339 tests: return QString((const QChar*)d->data() + position, n);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| 910993 |
| 1922 | } | - |
| 1923 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,4386) : qt_noop()); __builtin_unreachable(); } while (0); | - |
| 1924 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 1925 | } | - |
| 1926 | bool QString::startsWith(const QString& s, Qt::CaseSensitivity cs) const | - |
| 1927 | { | - |
| 1928 | returnexecuted 260839 times by 122 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- ...
qt_starts_with(isNull() ? 0 : unicode(), size(),executed 260839 times by 122 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- ...
| 260839 |
| 1929 | s.isNull() ? 0 : s.unicode(), s.size(), cs);executed 260839 times by 122 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- ...
| 260839 |
| 1930 | } | - |
| 1931 | | - |
| 1932 | | - |
| 1933 | | - |
| 1934 | | - |
| 1935 | bool QString::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const | - |
| 1936 | { | - |
| 1937 | returnexecuted 271321 times by 235 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), s, cs);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
qt_starts_with(isNull() ? 0 : unicode(), size(), s, cs);executed 271321 times by 235 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), s, cs);Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 271321 |
| 1938 | } | - |
| 1939 | | - |
| 1940 | | - |
| 1941 | | - |
| 1942 | | - |
| 1943 | | - |
| 1944 | | - |
| 1945 | | - |
| 1946 | bool QString::startsWith(QChar c, Qt::CaseSensitivity cs) const | - |
| 1947 | { | - |
| 1948 | returnexecuted 491395 times by 270 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[0] == c : foldCase(d->data()[0]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
d->size| TRUE | evaluated 486964 times by 268 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 4431 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QColorDialog
- tst_QDBusMarshall
- tst_QDataUrl
- tst_QDate
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSettings
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSpinBox
- tst_QSslSocket
- tst_QString
- ...
|
executed 491395 times by 270 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[0] == c : foldCase(d->data()[0]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| 4431-491395 |
| 1949 | && (| TRUE | evaluated 204081 times by 232 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 282883 times by 242 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
cs == Qt::CaseSensitive| TRUE | evaluated 486957 times by 268 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 7 times by 1 test |
executed 491395 times by 270 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[0] == c : foldCase(d->data()[0]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| 7-491395 |
| 1950 | ? d->data()[0] == c| TRUE | evaluated 204081 times by 232 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 282883 times by 242 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
executed 491395 times by 270 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[0] == c : foldCase(d->data()[0]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| 204081-491395 |
| 1951 | : foldCase(d->data()[0]) == foldCase(c.unicode()))| TRUE | evaluated 204081 times by 232 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 282883 times by 242 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
;executed 491395 times by 270 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[0] == c : foldCase(d->data()[0]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| 204081-491395 |
| 1952 | } | - |
| 1953 | bool QString::startsWith(const QStringRef &s, Qt::CaseSensitivity cs) const | - |
| 1954 | { | - |
| 1955 | returnexecuted 4 times by 1 test: return qt_starts_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs); qt_starts_with(isNull() ? 0 : unicode(), size(),executed 4 times by 1 test: return qt_starts_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs); | 4 |
| 1956 | s.isNull() ? 0 : s.unicode(), s.size(), cs);executed 4 times by 1 test: return qt_starts_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs); | 4 |
| 1957 | } | - |
| 1958 | bool QString::endsWith(const QString& s, Qt::CaseSensitivity cs) const | - |
| 1959 | { | - |
| 1960 | returnexecuted 4627 times by 69 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- ...
qt_ends_with(isNull() ? 0 : unicode(), size(),executed 4627 times by 69 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- ...
| 4627 |
| 1961 | s.isNull() ? 0 : s.unicode(), s.size(), cs);executed 4627 times by 69 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- ...
| 4627 |
| 1962 | } | - |
| 1963 | bool QString::endsWith(const QStringRef &s, Qt::CaseSensitivity cs) const | - |
| 1964 | { | - |
| 1965 | returnexecuted 6 times by 1 test: return qt_ends_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs); qt_ends_with(isNull() ? 0 : unicode(), size(),executed 6 times by 1 test: return qt_ends_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs); | 6 |
| 1966 | s.isNull() ? 0 : s.unicode(), s.size(), cs);executed 6 times by 1 test: return qt_ends_with(isNull() ? 0 : unicode(), size(), s.isNull() ? 0 : s.unicode(), s.size(), cs); | 6 |
| 1967 | } | - |
| 1968 | | - |
| 1969 | | - |
| 1970 | | - |
| 1971 | | - |
| 1972 | | - |
| 1973 | bool QString::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const | - |
| 1974 | { | - |
| 1975 | returnexecuted 49832 times by 121 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), s, cs);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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
qt_ends_with(isNull() ? 0 : unicode(), size(), s, cs);executed 49832 times by 121 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), s, cs);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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 49832 |
| 1976 | } | - |
| 1977 | | - |
| 1978 | | - |
| 1979 | | - |
| 1980 | | - |
| 1981 | | - |
| 1982 | | - |
| 1983 | | - |
| 1984 | bool QString::endsWith(QChar c, Qt::CaseSensitivity cs) const | - |
| 1985 | { | - |
| 1986 | returnexecuted 278838 times by 335 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[d->size - 1] == c : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
d->size| TRUE | evaluated 278162 times by 331 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 676 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDebug
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMenu
- tst_QMenuBar
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QString
- tst_QTextDocument
- tst_QTextList
- ...
|
executed 278838 times by 335 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[d->size - 1] == c : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| 676-278838 |
| 1987 | && (| TRUE | evaluated 47682 times by 152 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| | FALSE | evaluated 230480 times by 297 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- ...
|
cs == Qt::CaseSensitive| TRUE | evaluated 278155 times by 331 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 7 times by 1 test |
executed 278838 times by 335 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[d->size - 1] == c : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| 7-278838 |
| 1988 | ? d->data()[d->size - 1] == c| TRUE | evaluated 47682 times by 152 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| | FALSE | evaluated 230480 times by 297 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- ...
|
executed 278838 times by 335 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[d->size - 1] == c : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| 47682-278838 |
| 1989 | : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()))| TRUE | evaluated 47682 times by 152 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| | FALSE | evaluated 230480 times by 297 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- ...
|
;executed 278838 times by 335 tests: return d->size && (cs == Qt::CaseSensitive ? d->data()[d->size - 1] == c : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()));Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- ...
| 47682-278838 |
| 1990 | } | - |
| 1991 | | - |
| 1992 | QByteArray QString::toLatin1_helper(const QString &string) | - |
| 1993 | { | - |
| 1994 | if (__builtin_expect(!!(string.isNull()), false)| TRUE | evaluated 6199 times by 166 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 237874 times by 434 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) | 6199-237874 |
| 1995 | returnexecuted 6199 times by 166 tests: return QByteArray();Executed by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
QByteArray();executed 6199 times by 166 tests: return QByteArray();Executed by:- tst_Collections
- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 6199 |
| 1996 | | - |
| 1997 | returnexecuted 237874 times by 434 tests: return toLatin1_helper(string.constData(), string.length());Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
toLatin1_helper(string.constData(), string.length());executed 237874 times by 434 tests: return toLatin1_helper(string.constData(), string.length());Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 237874 |
| 1998 | } | - |
| 1999 | | - |
| 2000 | QByteArray QString::toLatin1_helper(const QChar *data, int length) | - |
| 2001 | { | - |
| 2002 | QByteArray ba(length, Qt::Uninitialized); | - |
| 2003 | | - |
| 2004 | | - |
| 2005 | | - |
| 2006 | qt_to_latin1(reinterpret_cast<uchar *>(const_cast<char *>(ba.constData())), | - |
| 2007 | reinterpret_cast<const ushort *>(data), length); | - |
| 2008 | returnexecuted 238133 times by 435 tests: return ba;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
ba;executed 238133 times by 435 tests: return ba;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 238133 |
| 2009 | } | - |
| 2010 | | - |
| 2011 | QByteArray QString::toLatin1_helper_inplace(QString &s) | - |
| 2012 | { | - |
| 2013 | if (!s.isDetached()| TRUE | evaluated 30170 times by 159 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- ...
| | FALSE | evaluated 51527 times by 135 testsEvaluated by:- tst_Compiler
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTimeEdit
- ...
|
) | 30170-51527 |
| 2014 | returnexecuted 30170 times by 159 tests: return s.toLatin1();Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- ...
s.toLatin1();executed 30170 times by 159 tests: return s.toLatin1();Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- ...
| 30170 |
| 2015 | | - |
| 2016 | | - |
| 2017 | | - |
| 2018 | const ushort *data = reinterpret_cast<const ushort *>(s.constData()); | - |
| 2019 | uint length = s.size(); | - |
| 2020 | | - |
| 2021 | | - |
| 2022 | | - |
| 2023 | QArrayData *ba_d = s.d; | - |
| 2024 | | - |
| 2025 | | - |
| 2026 | ba_d->alloc *= sizeof(ushort); | - |
| 2027 | | - |
| 2028 | | - |
| 2029 | s.d = QString().d; | - |
| 2030 | | - |
| 2031 | | - |
| 2032 | uchar *dst = reinterpret_cast<uchar *>(ba_d->data()); | - |
| 2033 | qt_to_latin1(dst, data, length); | - |
| 2034 | dst[length] = '\0'; | - |
| 2035 | | - |
| 2036 | QByteArrayDataPtr badptr = { ba_d }; | - |
| 2037 | returnexecuted 51527 times by 135 tests: return QByteArray(badptr);Executed by:- tst_Compiler
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTimeEdit
- ...
QByteArray(badptr);executed 51527 times by 135 tests: return QByteArray(badptr);Executed by:- tst_Compiler
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTimeEdit
- ...
| 51527 |
| 2038 | } | - |
| 2039 | QByteArray QString::toLocal8Bit_helper(const QChar *data, int size) | - |
| 2040 | { | - |
| 2041 | | - |
| 2042 | QTextCodec *localeCodec = QTextCodec::codecForLocale(); | - |
| 2043 | if (localeCodec| TRUE | evaluated 556603 times by 408 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| | FALSE | evaluated 3 times by 1 testEvaluated by:- tst_qlockfile - unknown status
|
) | 3-556603 |
| 2044 | returnexecuted 556603 times by 408 tests: return localeCodec->fromUnicode(data, size);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
localeCodec->fromUnicode(data, size);executed 556603 times by 408 tests: return localeCodec->fromUnicode(data, size);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 556603 |
| 2045 | | - |
| 2046 | returnexecuted 3 times by 1 test: return toLatin1_helper(data, size);Executed by:- tst_qlockfile - unknown status
toLatin1_helper(data, size);executed 3 times by 1 test: return toLatin1_helper(data, size);Executed by:- tst_qlockfile - unknown status
| 3 |
| 2047 | } | - |
| 2048 | QByteArray QString::toUtf8_helper(const QString &str) | - |
| 2049 | { | - |
| 2050 | if (str.isNull()| TRUE | evaluated 5786 times by 155 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 109953 times by 247 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) | 5786-109953 |
| 2051 | returnexecuted 5786 times by 155 tests: return QByteArray();Executed by:- tst_Collections
- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
QByteArray();executed 5786 times by 155 tests: return QByteArray();Executed by:- tst_Collections
- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 5786 |
| 2052 | | - |
| 2053 | returnexecuted 109953 times by 247 tests: return QUtf8::convertFromUnicode(str.constData(), str.length());Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
QUtf8::convertFromUnicode(str.constData(), str.length());executed 109953 times by 247 tests: return QUtf8::convertFromUnicode(str.constData(), str.length());Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 109953 |
| 2054 | } | - |
| 2055 | QVector<uint> QString::toUcs4() const | - |
| 2056 | { | - |
| 2057 | QVector<uint> v(length()); | - |
| 2058 | uint *a = v.data(); | - |
| 2059 | int len = toUcs4_helper(d->data(), length(), a); | - |
| 2060 | v.resize(len); | - |
| 2061 | returnexecuted 10 times by 1 test: return v; v;executed 10 times by 1 test: return v; | 10 |
| 2062 | } | - |
| 2063 | | - |
| 2064 | QString::Data *QString::fromLatin1_helper(const char *str, int size) | - |
| 2065 | { | - |
| 2066 | Data *d; | - |
| 2067 | if (!str| TRUE | evaluated 103 times by 7 testsEvaluated by:- tst_QDBusXmlParser
- tst_QLatin1String
- tst_QMetaType
- tst_QPushButton
- tst_QString
- tst_QStyle
- tst_QVariant
| | FALSE | evaluated 1844871 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 103-1844871 |
| 2068 | d = Data::sharedNull(); | - |
| 2069 | }executed 103 times by 7 tests: end of blockExecuted by:- tst_QDBusXmlParser
- tst_QLatin1String
- tst_QMetaType
- tst_QPushButton
- tst_QString
- tst_QStyle
- tst_QVariant
else if (size == 0| TRUE | evaluated 24602 times by 473 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| | FALSE | evaluated 1820269 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
|| (!*str| TRUE | evaluated 423 times by 10 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_QString
- tst_QTextCodec
- tst_QUrl
- tst_QUrlInternal
- tst_languageChange
| | FALSE | evaluated 1819846 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
&& size < 0| TRUE | never evaluated | | FALSE | evaluated 423 times by 10 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_QString
- tst_QTextCodec
- tst_QUrl
- tst_QUrlInternal
- tst_languageChange
|
)) { | 0-1820269 |
| 2070 | d = Data::allocate(0); | - |
| 2071 | }executed 24602 times by 473 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
else { | 24602 |
| 2072 | if (size < 0| TRUE | never evaluated | | FALSE | evaluated 1820269 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) | 0-1820269 |
| 2073 | size = qstrlen(str); never executed: size = qstrlen(str); | 0 |
| 2074 | d = Data::allocate(size + 1); | - |
| 2075 | do { if (!(d)| TRUE | never evaluated | | FALSE | evaluated 1820269 times by 720 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-1820269 |
| 2076 | d->size = size; | - |
| 2077 | d->data()[size] = '\0'; | - |
| 2078 | ushort *dst = d->data(); | - |
| 2079 | | - |
| 2080 | qt_from_latin1(dst, str, uint(size)); | - |
| 2081 | }executed 1820269 times by 720 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1820269 |
| 2082 | returnexecuted 1844974 times by 720 tests: return d;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
d;executed 1844974 times by 720 tests: return d;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1844974 |
| 2083 | } | - |
| 2084 | | - |
| 2085 | QString::Data *QString::fromAscii_helper(const char *str, int size) | - |
| 2086 | { | - |
| 2087 | QString s = fromUtf8(str, size); | - |
| 2088 | s.d->ref.ref(); | - |
| 2089 | returnexecuted 4790842 times by 345 tests: return s.d;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAuthenticator
- tst_QBitArray
- tst_QBoxLayout
- ...
s.d;executed 4790842 times by 345 tests: return s.d;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAuthenticator
- tst_QBitArray
- tst_QBoxLayout
- ...
| 4790842 |
| 2090 | } | - |
| 2091 | QString QString::fromLocal8Bit_helper(const char *str, int size) | - |
| 2092 | { | - |
| 2093 | if (!str| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 285178 times by 340 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) | 1-285178 |
| 2094 | returnexecuted 1 time by 1 test: return QString(); QString();executed 1 time by 1 test: return QString(); | 1 |
| 2095 | if (size == 0| TRUE | evaluated 894 times by 12 testsEvaluated by:- tst_QApplication
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDnsLookup_Appless
- tst_QGuiApplication
- tst_QString
- tst_Utf8
- tst_qmake
- tst_qmessagehandler
- tst_qstandardpaths
- tst_selftests - unknown status
| | FALSE | evaluated 284284 times by 340 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
|| (!*str| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 284281 times by 340 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
&& size < 0| TRUE | never evaluated | | FALSE | evaluated 3 times by 1 test |
)) { | 0-284284 |
| 2096 | QStringDataPtr empty = { Data::allocate(0) }; | - |
| 2097 | returnexecuted 894 times by 12 tests: return QString(empty);Executed by:- tst_QApplication
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDnsLookup_Appless
- tst_QGuiApplication
- tst_QString
- tst_Utf8
- tst_qmake
- tst_qmessagehandler
- tst_qstandardpaths
- tst_selftests - unknown status
QString(empty);executed 894 times by 12 tests: return QString(empty);Executed by:- tst_QApplication
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDnsLookup_Appless
- tst_QGuiApplication
- tst_QString
- tst_Utf8
- tst_qmake
- tst_qmessagehandler
- tst_qstandardpaths
- tst_selftests - unknown status
| 894 |
| 2098 | } | - |
| 2099 | | - |
| 2100 | if (size < 0| TRUE | never evaluated | | FALSE | evaluated 284284 times by 340 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) | 0-284284 |
| 2101 | size = qstrlen(str); never executed: size = qstrlen(str); | 0 |
| 2102 | QTextCodec *codec = QTextCodec::codecForLocale(); | - |
| 2103 | if (codec| TRUE | evaluated 284282 times by 340 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qlockfile - unknown status
|
) | 2-284282 |
| 2104 | returnexecuted 284282 times by 340 tests: return codec->toUnicode(str, size);Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
codec->toUnicode(str, size);executed 284282 times by 340 tests: return codec->toUnicode(str, size);Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| 284282 |
| 2105 | | - |
| 2106 | returnexecuted 2 times by 1 test: return fromLatin1(str, size);Executed by:- tst_qlockfile - unknown status
fromLatin1(str, size);executed 2 times by 1 test: return fromLatin1(str, size);Executed by:- tst_qlockfile - unknown status
| 2 |
| 2107 | } | - |
| 2108 | QString QString::fromUtf8_helper(const char *str, int size) | - |
| 2109 | { | - |
| 2110 | if (!str| TRUE | evaluated 7629 times by 297 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 7808200 times by 550 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) | 7629-7808200 |
| 2111 | returnexecuted 7629 times by 297 tests: return QString();Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
QString();executed 7629 times by 297 tests: return QString();Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 7629 |
| 2112 | | - |
| 2113 | ((!(size != -1)) ? qt_assert("size != -1",__FILE__,4788) : qt_noop()); | - |
| 2114 | returnexecuted 7808200 times by 550 tests: return QUtf8::convertToUnicode(str, size);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
QUtf8::convertToUnicode(str, size);executed 7808200 times by 550 tests: return QUtf8::convertToUnicode(str, size);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 7808200 |
| 2115 | } | - |
| 2116 | QString QString::fromUtf16(const ushort *unicode, int size) | - |
| 2117 | { | - |
| 2118 | if (!unicode| TRUE | never evaluated | | FALSE | evaluated 233804 times by 18 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_Utf8
|
) | 0-233804 |
| 2119 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 2120 | if (size < 0| TRUE | evaluated 132 times by 8 testsEvaluated by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_Utf8
| | FALSE | evaluated 233672 times by 11 testsEvaluated by:- tst_QItemModel
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTextCodec
- tst_QUrlInternal
|
) { | 132-233672 |
| 2121 | size = 0; | - |
| 2122 | while (unicode[size] != 0| TRUE | evaluated 625 times by 8 testsEvaluated by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_Utf8
| | FALSE | evaluated 132 times by 8 testsEvaluated by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_Utf8
|
) | 132-625 |
| 2123 | ++executed 625 times by 8 tests: ++size;Executed by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_Utf8
size;executed 625 times by 8 tests: ++size;Executed by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_Utf8
| 625 |
| 2124 | }executed 132 times by 8 tests: end of blockExecuted by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_Utf8
| 132 |
| 2125 | returnexecuted 233804 times by 18 tests: return QUtf16::convertToUnicode((const char *)unicode, size*2, 0);Executed by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_Utf8
QUtf16::convertToUnicode((const char *)unicode, size*2, 0);executed 233804 times by 18 tests: return QUtf16::convertToUnicode((const char *)unicode, size*2, 0);Executed by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_Utf8
| 233804 |
| 2126 | } | - |
| 2127 | QString QString::fromUcs4(const uint *unicode, int size) | - |
| 2128 | { | - |
| 2129 | if (!unicode| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 410515 times by 8 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
) | 3-410515 |
| 2130 | returnexecuted 3 times by 1 test: return QString(); QString();executed 3 times by 1 test: return QString(); | 3 |
| 2131 | if (size < 0| TRUE | evaluated 315 times by 3 testsEvaluated by:- tst_QString
- tst_Utf8
- tst_qmakelib
| | FALSE | evaluated 410200 times by 7 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
|
) { | 315-410200 |
| 2132 | size = 0; | - |
| 2133 | while (unicode[size] != 0| TRUE | evaluated 1163 times by 3 testsEvaluated by:- tst_QString
- tst_Utf8
- tst_qmakelib
| | FALSE | evaluated 315 times by 3 testsEvaluated by:- tst_QString
- tst_Utf8
- tst_qmakelib
|
) | 315-1163 |
| 2134 | ++executed 1163 times by 3 tests: ++size;Executed by:- tst_QString
- tst_Utf8
- tst_qmakelib
size;executed 1163 times by 3 tests: ++size;Executed by:- tst_QString
- tst_Utf8
- tst_qmakelib
| 1163 |
| 2135 | }executed 315 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_Utf8
- tst_qmakelib
| 315 |
| 2136 | returnexecuted 410515 times by 8 tests: return QUtf32::convertToUnicode((const char *)unicode, size*4, 0);Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
QUtf32::convertToUnicode((const char *)unicode, size*4, 0);executed 410515 times by 8 tests: return QUtf32::convertToUnicode((const char *)unicode, size*4, 0);Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 410515 |
| 2137 | } | - |
| 2138 | QString& QString::setUnicode(const QChar *unicode, int size) | - |
| 2139 | { | - |
| 2140 | resize(size); | - |
| 2141 | if (unicode| TRUE | evaluated 184392 times by 14 testsEvaluated by:- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QProcess
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| | FALSE | never evaluated |
&& size| TRUE | evaluated 97526 times by 14 testsEvaluated by:- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QProcess
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| | FALSE | evaluated 86866 times by 1 test |
) | 0-184392 |
| 2142 | memcpy(d->data(), unicode, size * sizeof(QChar));executed 97526 times by 14 tests: memcpy(d->data(), unicode, size * sizeof(QChar));Executed by:- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QProcess
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| 97526 |
| 2143 | returnexecuted 184392 times by 14 tests: return *this;Executed by:- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QProcess
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
*this;executed 184392 times by 14 tests: return *this;Executed by:- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QProcess
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| 184392 |
| 2144 | } | - |
| 2145 | QString QString::simplified_helper(const QString &str) | - |
| 2146 | { | - |
| 2147 | returnexecuted 67827 times by 109 tests: return QStringAlgorithms<const QString>::simplified_helper(str);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
QStringAlgorithms<const QString>::simplified_helper(str);executed 67827 times by 109 tests: return QStringAlgorithms<const QString>::simplified_helper(str);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 67827 |
| 2148 | } | - |
| 2149 | | - |
| 2150 | QString QString::simplified_helper(QString &str) | - |
| 2151 | { | - |
| 2152 | returnexecuted 8900 times by 5 tests: return QStringAlgorithms<QString>::simplified_helper(str);Executed by:- tst_Lancelot
- tst_QImageReader
- tst_QString
- tst_QTextBoundaryFinder
- tst_QXmlStream
QStringAlgorithms<QString>::simplified_helper(str);executed 8900 times by 5 tests: return QStringAlgorithms<QString>::simplified_helper(str);Executed by:- tst_Lancelot
- tst_QImageReader
- tst_QString
- tst_QTextBoundaryFinder
- tst_QXmlStream
| 8900 |
| 2153 | } | - |
| 2154 | QString QString::trimmed_helper(const QString &str) | - |
| 2155 | { | - |
| 2156 | returnexecuted 45079 times by 191 tests: return QStringAlgorithms<const QString>::trimmed_helper(str);Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
QStringAlgorithms<const QString>::trimmed_helper(str);executed 45079 times by 191 tests: return QStringAlgorithms<const QString>::trimmed_helper(str);Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 45079 |
| 2157 | } | - |
| 2158 | | - |
| 2159 | QString QString::trimmed_helper(QString &str) | - |
| 2160 | { | - |
| 2161 | returnexecuted 6520 times by 31 tests: return QStringAlgorithms<QString>::trimmed_helper(str);Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
QStringAlgorithms<QString>::trimmed_helper(str);executed 6520 times by 31 tests: return QStringAlgorithms<QString>::trimmed_helper(str);Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
| 6520 |
| 2162 | } | - |
| 2163 | void QString::truncate(int pos) | - |
| 2164 | { | - |
| 2165 | if (pos < d->size| TRUE | evaluated 42095002 times by 367 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- ...
| | FALSE | evaluated 7810261 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) | 7810261-42095002 |
| 2166 | resize(pos);executed 42095002 times by 367 tests: resize(pos);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- ...
| 42095002 |
| 2167 | }executed 49905263 times by 574 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 49905263 |
| 2168 | void QString::chop(int n) | - |
| 2169 | { | - |
| 2170 | if (n > 0| TRUE | evaluated 68267 times by 363 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_QByteDataBuffer
- tst_QString
- tst_selftests - unknown status
|
) | 140-68267 |
| 2171 | resize(d->size - n);executed 68267 times by 363 tests: resize(d->size - n);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 68267 |
| 2172 | }executed 68407 times by 363 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 68407 |
| 2173 | QString& QString::fill(QChar ch, int size) | - |
| 2174 | { | - |
| 2175 | resize(size < 0 ? d->size : size); | - |
| 2176 | if (d->size| TRUE | evaluated 11590 times by 11 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| | FALSE | evaluated 5425 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QRegExp
- tst_QXmlSimpleReader
|
) { | 5425-11590 |
| 2177 | QChar *i = (QChar*)d->data() + d->size; | - |
| 2178 | QChar *b = (QChar*)d->data(); | - |
| 2179 | while (i != b| TRUE | evaluated 2697612 times by 11 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| | FALSE | evaluated 11590 times by 11 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
|
) | 11590-2697612 |
| 2180 | *--executed 2697612 times by 11 tests: *--i = ch;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
i = ch;executed 2697612 times by 11 tests: *--i = ch;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| 2697612 |
| 2181 | }executed 11590 times by 11 tests: end of blockExecuted by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| 11590 |
| 2182 | returnexecuted 17015 times by 13 tests: return *this;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
*this;executed 17015 times by 13 tests: return *this;Executed by:- tst_Collections
- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| 17015 |
| 2183 | } | - |
| 2184 | int QString::compare(const QString &other, Qt::CaseSensitivity cs) const | - |
| 2185 | { | - |
| 2186 | if (cs == Qt::CaseSensitive| TRUE | evaluated 235536 times by 214 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| | FALSE | evaluated 491957 times by 160 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
) | 235536-491957 |
| 2187 | returnexecuted 235536 times by 214 tests: return ucstrcmp(constData(), length(), other.constData(), other.length());Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
ucstrcmp(constData(), length(), other.constData(), other.length());executed 235536 times by 214 tests: return ucstrcmp(constData(), length(), other.constData(), other.length());Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| 235536 |
| 2188 | returnexecuted 491957 times by 160 tests: return ucstricmp(d->data(), d->data() + d->size, other.d->data(), other.d->data() + other.d->size);Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- ...
ucstricmp(d->data(), d->data() + d->size, other.d->data(), other.d->data() + other.d->size);executed 491957 times by 160 tests: return ucstricmp(d->data(), d->data() + d->size, other.d->data(), other.d->data() + other.d->size);Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 491957 |
| 2189 | } | - |
| 2190 | | - |
| 2191 | | - |
| 2192 | | - |
| 2193 | | - |
| 2194 | | - |
| 2195 | int QString::compare_helper(const QChar *data1, int length1, const QChar *data2, int length2, | - |
| 2196 | Qt::CaseSensitivity cs) | - |
| 2197 | { | - |
| 2198 | if (cs == Qt::CaseSensitive| TRUE | evaluated 373040 times by 62 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QGraphicsSceneIndex
- tst_QGuiApplication
- tst_QHash
- tst_QHash_StrictIterators
- tst_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QLocalSocket
- ...
| | FALSE | evaluated 162 times by 3 testsEvaluated by:- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
|
) | 162-373040 |
| 2199 | returnexecuted 373040 times by 62 tests: return ucstrcmp(data1, length1, data2, length2);Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QGraphicsSceneIndex
- tst_QGuiApplication
- tst_QHash
- tst_QHash_StrictIterators
- tst_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QLocalSocket
- ...
ucstrcmp(data1, length1, data2, length2);executed 373040 times by 62 tests: return ucstrcmp(data1, length1, data2, length2);Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QGraphicsSceneIndex
- tst_QGuiApplication
- tst_QHash
- tst_QHash_StrictIterators
- tst_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QLocalSocket
- ...
| 373040 |
| 2200 | const ushort *s1 = reinterpret_cast<const ushort *>(data1); | - |
| 2201 | const ushort *s2 = reinterpret_cast<const ushort *>(data2); | - |
| 2202 | returnexecuted 162 times by 3 tests: return ucstricmp(s1, s1 + length1, s2, s2 + length2);Executed by:- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
ucstricmp(s1, s1 + length1, s2, s2 + length2);executed 162 times by 3 tests: return ucstricmp(s1, s1 + length1, s2, s2 + length2);Executed by:- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
| 162 |
| 2203 | } | - |
| 2204 | | - |
| 2205 | | - |
| 2206 | | - |
| 2207 | | - |
| 2208 | | - |
| 2209 | | - |
| 2210 | | - |
| 2211 | int QString::compare(QLatin1String other, Qt::CaseSensitivity cs) const | - |
| 2212 | { | - |
| 2213 | returnexecuted 18451 times by 66 tests: return compare_helper(unicode(), length(), other, cs);Executed by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- ...
compare_helper(unicode(), length(), other, cs);executed 18451 times by 66 tests: return compare_helper(unicode(), length(), other, cs);Executed by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- ...
| 18451 |
| 2214 | } | - |
| 2215 | int QString::compare_helper(const QChar *data1, int length1, const char *data2, int length2, | - |
| 2216 | Qt::CaseSensitivity cs) | - |
| 2217 | { | - |
| 2218 | | - |
| 2219 | const QString s2 = QString::fromUtf8(data2, length2 == -1 ? (data2 ? int(strlen(data2)) : -1) : length2); | - |
| 2220 | returnexecuted 372703 times by 61 tests: return compare_helper(data1, length1, s2.constData(), s2.size(), cs);Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QGraphicsSceneIndex
- tst_QGuiApplication
- tst_QHash
- tst_QHash_StrictIterators
- tst_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QLocalSocket
- ...
compare_helper(data1, length1, s2.constData(), s2.size(), cs);executed 372703 times by 61 tests: return compare_helper(data1, length1, s2.constData(), s2.size(), cs);Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QGraphicsSceneIndex
- tst_QGuiApplication
- tst_QHash
- tst_QHash_StrictIterators
- tst_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QLocalSocket
- ...
| 372703 |
| 2221 | } | - |
| 2222 | int QString::compare_helper(const QChar *data1, int length1, QLatin1String s2, | - |
| 2223 | Qt::CaseSensitivity cs) | - |
| 2224 | { | - |
| 2225 | const ushort *uc = reinterpret_cast<const ushort *>(data1); | - |
| 2226 | const ushort *uce = uc + length1; | - |
| 2227 | const uchar *c = (const uchar *)s2.latin1(); | - |
| 2228 | | - |
| 2229 | if (!c| TRUE | never evaluated | | FALSE | evaluated 535041 times by 443 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
) | 0-535041 |
| 2230 | return never executed: return length1; length1;never executed: return length1; | 0 |
| 2231 | | - |
| 2232 | if (cs == Qt::CaseSensitive| TRUE | evaluated 518239 times by 443 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| | FALSE | evaluated 16802 times by 48 testsEvaluated by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
|
) { | 16802-518239 |
| 2233 | returnexecuted 518239 times by 443 tests: return ucstrcmp(data1, length1, c, s2.size());Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
ucstrcmp(data1, length1, c, s2.size());executed 518239 times by 443 tests: return ucstrcmp(data1, length1, c, s2.size());Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
| 518239 |
| 2234 | } else { | - |
| 2235 | returnexecuted 16802 times by 48 tests: return ucstricmp(uc, uce, c, c + s2.size());Executed by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
ucstricmp(uc, uce, c, c + s2.size());executed 16802 times by 48 tests: return ucstricmp(uc, uce, c, c + s2.size());Executed by:- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPlainTextEdit
- tst_QPrintDevice
- tst_QPrinter
- tst_QPrinterInfo
- tst_QStaticText
- ...
| 16802 |
| 2236 | } | - |
| 2237 | } | - |
| 2238 | int QString::localeAwareCompare(const QString &other) const | - |
| 2239 | { | - |
| 2240 | returnexecuted 11402 times by 6 tests: return localeAwareCompare_helper(constData(), length(), other.constData(), other.length());Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
localeAwareCompare_helper(constData(), length(), other.constData(), other.length());executed 11402 times by 6 tests: return localeAwareCompare_helper(constData(), length(), other.constData(), other.length());Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
| 11402 |
| 2241 | } | - |
| 2242 | | - |
| 2243 | | - |
| 2244 | namespace { namespace Q_QGS_defaultCollator { typedef QThreadStorage<QCollator> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 6 times by 6 testsEvaluated by:- tst_modeltest - unknown status
- tst_qitemmodel - unknown status
- tst_qlistwidget - unknown status
- tst_qtablewidget - unknown status
- tst_qtreewidget - unknown status
- tst_qtreewidgetitemiterator - unknown status
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 6 times by 6 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_modeltest - unknown status
- tst_qitemmodel - unknown status
- tst_qlistwidget - unknown status
- tst_qtablewidget - unknown status
- tst_qtreewidget - unknown status
- tst_qtreewidgetitemiterator - unknown status
}executed 6 times by 6 tests: end of blockExecuted by:- tst_modeltest - unknown status
- tst_qitemmodel - unknown status
- tst_qlistwidget - unknown status
- tst_qtablewidget - unknown status
- tst_qtreewidget - unknown status
- tst_qtreewidgetitemiterator - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 22796 times by 6 tests: return &holder.value;Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
&holder.value;executed 22796 times by 6 tests: return &holder.value;Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
} } } static QGlobalStatic<QThreadStorage<QCollator>, Q_QGS_defaultCollator::innerFunction, Q_QGS_defaultCollator::guard> defaultCollator; | 0-22796 |
| 2245 | | - |
| 2246 | | - |
| 2247 | | - |
| 2248 | | - |
| 2249 | | - |
| 2250 | | - |
| 2251 | int QString::localeAwareCompare_helper(const QChar *data1, int length1, | - |
| 2252 | const QChar *data2, int length2) | - |
| 2253 | { | - |
| 2254 | | - |
| 2255 | if (length1 == 0| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 11395 times by 6 testsEvaluated by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
|
|| length2 == 0| TRUE | never evaluated | | FALSE | evaluated 11395 times by 6 testsEvaluated by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
|
) | 0-11395 |
| 2256 | returnexecuted 7 times by 1 test: return ucstrcmp(data1, length1, data2, length2); ucstrcmp(data1, length1, data2, length2);executed 7 times by 1 test: return ucstrcmp(data1, length1, data2, length2); | 7 |
| 2257 | if (!defaultCollator()->hasLocalData()| TRUE | evaluated 6 times by 6 testsEvaluated by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
| | FALSE | evaluated 11389 times by 5 testsEvaluated by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
|
) | 6-11389 |
| 2258 | defaultCollator()->setLocalData(QCollator());executed 6 times by 6 tests: defaultCollator()->setLocalData(QCollator());Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
| 6 |
| 2259 | returnexecuted 11395 times by 6 tests: return defaultCollator()->localData().compare(data1, length1, data2, length2);Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
defaultCollator()->localData().compare(data1, length1, data2, length2);executed 11395 times by 6 tests: return defaultCollator()->localData().compare(data1, length1, data2, length2);Executed by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
| 11395 |
| 2260 | } | - |
| 2261 | const ushort *QString::utf16() const | - |
| 2262 | { | - |
| 2263 | if (((| TRUE | never evaluated | | FALSE | evaluated 124123 times by 30 testsEvaluated by:- tst_QAuthenticator
- tst_QColorDialog
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QObject
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPrinter
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QTextCodec
- tst_QTextDocument
- tst_QVariant
- tst_QWidgetsVariant
- tst_QXmlSimpleReader
- ...
|
d)->offset != sizeof(QStringData))| TRUE | never evaluated | | FALSE | evaluated 124123 times by 30 testsEvaluated by:- tst_QAuthenticator
- tst_QColorDialog
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QObject
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPrinter
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QTextCodec
- tst_QTextDocument
- tst_QVariant
- tst_QWidgetsVariant
- tst_QXmlSimpleReader
- ...
|
) { | 0-124123 |
| 2264 | | - |
| 2265 | const_cast<QString*>(this)->reallocData(uint(d->size) + 1u); | - |
| 2266 | } never executed: end of block | 0 |
| 2267 | returnexecuted 124123 times by 30 tests: return d->data();Executed by:- tst_QAuthenticator
- tst_QColorDialog
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QObject
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPrinter
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QTextCodec
- tst_QTextDocument
- tst_QVariant
- tst_QWidgetsVariant
- tst_QXmlSimpleReader
- ...
d->data();executed 124123 times by 30 tests: return d->data();Executed by:- tst_QAuthenticator
- tst_QColorDialog
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QObject
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPrinter
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QTextCodec
- tst_QTextDocument
- tst_QVariant
- tst_QWidgetsVariant
- tst_QXmlSimpleReader
- ...
| 124123 |
| 2268 | } | - |
| 2269 | QString QString::leftJustified(int width, QChar fill, bool truncate) const | - |
| 2270 | { | - |
| 2271 | QString result; | - |
| 2272 | int len = length(); | - |
| 2273 | int padlen = width - len; | - |
| 2274 | if (padlen > 0| TRUE | evaluated 804 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| | FALSE | evaluated 4209 times by 1 test |
) { | 804-4209 |
| 2275 | result.resize(len+padlen); | - |
| 2276 | if (len| TRUE | evaluated 803 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| | FALSE | evaluated 1 time by 1 test |
) | 1-803 |
| 2277 | memcpy(result.d->data(), d->data(), sizeof(QChar)*len);executed 803 times by 3 tests: memcpy(result.d->data(), d->data(), sizeof(QChar)*len);Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| 803 |
| 2278 | QChar *uc = (QChar*)result.d->data() + len; | - |
| 2279 | while (padlen--| TRUE | evaluated 32181 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| | FALSE | evaluated 804 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
|
) | 804-32181 |
| 2280 | *executed 32181 times by 3 tests: * uc++ = fill;Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
uc++ = fill;executed 32181 times by 3 tests: * uc++ = fill;Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| 32181 |
| 2281 | }executed 804 times by 3 tests: end of blockExecuted by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
else { | 804 |
| 2282 | if (truncate| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4205 times by 1 test |
) | 4-4205 |
| 2283 | result = left(width);executed 4 times by 1 test: result = left(width); | 4 |
| 2284 | else | - |
| 2285 | result = *this;executed 4205 times by 1 test: result = *this; | 4205 |
| 2286 | } | - |
| 2287 | returnexecuted 5013 times by 3 tests: return result;Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
result;executed 5013 times by 3 tests: return result;Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| 5013 |
| 2288 | } | - |
| 2289 | QString QString::rightJustified(int width, QChar fill, bool truncate) const | - |
| 2290 | { | - |
| 2291 | QString result; | - |
| 2292 | int len = length(); | - |
| 2293 | int padlen = width - len; | - |
| 2294 | if (padlen > 0| TRUE | evaluated 800 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| | FALSE | evaluated 348892 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 800-348892 |
| 2295 | result.resize(len+padlen); | - |
| 2296 | QChar *uc = (QChar*)result.d->data(); | - |
| 2297 | while (padlen--| TRUE | evaluated 30752 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| | FALSE | evaluated 800 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
|
) | 800-30752 |
| 2298 | *executed 30752 times by 4 tests: * uc++ = fill;Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
uc++ = fill;executed 30752 times by 4 tests: * uc++ = fill;Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| 30752 |
| 2299 | if (len| TRUE | evaluated 799 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| | FALSE | evaluated 1 time by 1 test |
) | 1-799 |
| 2300 | memcpy(uc, d->data(), sizeof(QChar)*len);executed 799 times by 4 tests: memcpy(uc, d->data(), sizeof(QChar)*len);Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| 799 |
| 2301 | }executed 800 times by 4 tests: end of blockExecuted by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
else { | 800 |
| 2302 | if (truncate| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 348888 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) | 4-348888 |
| 2303 | result = left(width);executed 4 times by 1 test: result = left(width); | 4 |
| 2304 | else | - |
| 2305 | result = *this;executed 348888 times by 110 tests: result = *this;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| 348888 |
| 2306 | } | - |
| 2307 | returnexecuted 349692 times by 110 tests: return result;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
result;executed 349692 times by 110 tests: return result;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| 349692 |
| 2308 | } | - |
| 2309 | namespace QUnicodeTables { | - |
| 2310 | template <typename Traits, typename T> | - |
| 2311 | __attribute__((noinline)) | - |
| 2312 | static QString detachAndConvertCase(T &str, QStringIterator it) | - |
| 2313 | { | - |
| 2314 | ((!(!str.isEmpty())) ? qt_assert("!str.isEmpty()",__FILE__,5772) : qt_noop()); | - |
| 2315 | QString s = std::move(str); | - |
| 2316 | QChar *pp = s.begin() + it.index(); | - |
| 2317 | | - |
| 2318 | do { | - |
| 2319 | uint uc = it.nextUnchecked(); | - |
| 2320 | | - |
| 2321 | const QUnicodeTables::Properties *prop = qGetProp(uc); | - |
| 2322 | signed short caseDiff = Traits::caseDiff(prop); | - |
| 2323 | | - |
| 2324 | if (__builtin_expect(!!(Traits::caseSpecial(prop)), false)| TRUE | evaluated 212 times by 1 test | | FALSE | evaluated 2302984 times by 188 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
|
) { | 212-2302984 |
| 2325 | const ushort *specialCase = specialCaseMap + caseDiff; | - |
| 2326 | ushort length = *specialCase++; | - |
| 2327 | | - |
| 2328 | if (__builtin_expect(!!(length == 1), true)| TRUE | evaluated 204 times by 1 test | | FALSE | evaluated 8 times by 1 test |
) { | 8-204 |
| 2329 | *pp++ = QChar(*specialCase); | - |
| 2330 | }executed 204 times by 1 test: end of block else { | 204 |
| 2331 | | - |
| 2332 | int inpos = it.index() - 1; | - |
| 2333 | int outpos = pp - s.constBegin(); | - |
| 2334 | | - |
| 2335 | s.replace(outpos, 1, reinterpret_cast<const QChar *>(specialCase), length); | - |
| 2336 | pp = const_cast<QChar *>(s.constBegin()) + outpos + length; | - |
| 2337 | | - |
| 2338 | | - |
| 2339 | | - |
| 2340 | if (str.isEmpty()| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-6 |
| 2341 | it = QStringIterator(s.constBegin(), inpos + length, s.constEnd());executed 6 times by 1 test: it = QStringIterator(s.constBegin(), inpos + length, s.constEnd()); | 6 |
| 2342 | }executed 8 times by 1 test: end of block | 8 |
| 2343 | } else if (__builtin_expect(!!(QChar::requiresSurrogates(uc)), false)| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 2302961 times by 188 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
|
) { | 23-2302961 |
| 2344 | | - |
| 2345 | pp++; | - |
| 2346 | *pp++ = QChar::lowSurrogate(uc + caseDiff); | - |
| 2347 | }executed 23 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
else { | 23 |
| 2348 | *pp++ = QChar(uc + caseDiff); | - |
| 2349 | }executed 2302961 times by 188 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 2302961 |
| 2350 | } while (it.hasNext()| TRUE | evaluated 2036673 times by 188 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| | FALSE | evaluated 266523 times by 188 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
|
); | 266523-2036673 |
| 2351 | | - |
| 2352 | returnexecuted 266523 times by 188 tests: return s;Executed by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
s;executed 266523 times by 188 tests: return s;Executed by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 266523 |
| 2353 | } | - |
| 2354 | | - |
| 2355 | template <typename Traits, typename T> | - |
| 2356 | static QString convertCase(T &str) | - |
| 2357 | { | - |
| 2358 | const QChar *p = str.constBegin(); | - |
| 2359 | const QChar *e = p + str.size(); | - |
| 2360 | | - |
| 2361 | | - |
| 2362 | while (e != p| TRUE | evaluated 457969 times by 221 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 3938 times by 72 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QAuthenticator
- tst_QColorDialog
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- ...
|
&& e[-1].isHighSurrogate()| TRUE | evaluated 2054 times by 1 test | | FALSE | evaluated 455915 times by 221 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
|
) | 2054-457969 |
| 2363 | --executed 2054 times by 1 test: --e; e;executed 2054 times by 1 test: --e; | 2054 |
| 2364 | | - |
| 2365 | QStringIterator it(p, e); | - |
| 2366 | while (it.hasNext()| TRUE | evaluated 755433 times by 221 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 193330 times by 179 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
|
) { | 193330-755433 |
| 2367 | uint uc = it.nextUnchecked(); | - |
| 2368 | if (Traits::caseDiff(qGetProp(uc))| TRUE | evaluated 266523 times by 188 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| | FALSE | evaluated 488910 times by 182 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
|
) { | 266523-488910 |
| 2369 | it.recedeUnchecked(); | - |
| 2370 | returnexecuted 266523 times by 188 tests: return detachAndConvertCase<Traits>(str, it);Executed by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
detachAndConvertCase<Traits>(str, it);executed 266523 times by 188 tests: return detachAndConvertCase<Traits>(str, it);Executed by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 266523 |
| 2371 | } | - |
| 2372 | }executed 488910 times by 182 tests: end of blockExecuted by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
| 488910 |
| 2373 | returnexecuted 193330 times by 179 tests: return std::move(str);Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
std::move(str);executed 193330 times by 179 tests: return std::move(str);Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
| 193330 |
| 2374 | } | - |
| 2375 | } | - |
| 2376 | | - |
| 2377 | QString QString::toLower_helper(const QString &str) | - |
| 2378 | { | - |
| 2379 | returnexecuted 222004 times by 197 tests: return QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);Executed by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataStream
- ...
QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);executed 222004 times by 197 tests: return QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);Executed by:- tst_Collections
- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataStream
- ...
| 222004 |
| 2380 | } | - |
| 2381 | | - |
| 2382 | QString QString::toLower_helper(QString &str) | - |
| 2383 | { | - |
| 2384 | returnexecuted 51524 times by 177 tests: return QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);executed 51524 times by 177 tests: return QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 51524 |
| 2385 | } | - |
| 2386 | QString QString::toCaseFolded_helper(const QString &str) | - |
| 2387 | { | - |
| 2388 | returnexecuted 175591 times by 125 tests: return QUnicodeTables::convertCase<QUnicodeTables::CasefoldTraits>(str);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
QUnicodeTables::convertCase<QUnicodeTables::CasefoldTraits>(str);executed 175591 times by 125 tests: return QUnicodeTables::convertCase<QUnicodeTables::CasefoldTraits>(str);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 175591 |
| 2389 | } | - |
| 2390 | | - |
| 2391 | QString QString::toCaseFolded_helper(QString &str) | - |
| 2392 | { | - |
| 2393 | returnexecuted 18 times by 1 test: return QUnicodeTables::convertCase<QUnicodeTables::CasefoldTraits>(str); QUnicodeTables::convertCase<QUnicodeTables::CasefoldTraits>(str);executed 18 times by 1 test: return QUnicodeTables::convertCase<QUnicodeTables::CasefoldTraits>(str); | 18 |
| 2394 | } | - |
| 2395 | QString QString::toUpper_helper(const QString &str) | - |
| 2396 | { | - |
| 2397 | returnexecuted 6050 times by 15 tests: return QUnicodeTables::convertCase<QUnicodeTables::UppercaseTraits>(str);Executed by:- tst_Collections
- tst_QAuthenticator
- tst_QByteArray
- tst_QDateTime
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
QUnicodeTables::convertCase<QUnicodeTables::UppercaseTraits>(str);executed 6050 times by 15 tests: return QUnicodeTables::convertCase<QUnicodeTables::UppercaseTraits>(str);Executed by:- tst_Collections
- tst_QAuthenticator
- tst_QByteArray
- tst_QDateTime
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
| 6050 |
| 2398 | } | - |
| 2399 | | - |
| 2400 | QString QString::toUpper_helper(QString &str) | - |
| 2401 | { | - |
| 2402 | returnexecuted 4666 times by 23 tests: return QUnicodeTables::convertCase<QUnicodeTables::UppercaseTraits>(str);Executed by:- tst_QAccessibility
- tst_QColor
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHostInfo
- tst_QItemDelegate
- tst_QItemModel
- tst_QSidebar
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_languageChange
QUnicodeTables::convertCase<QUnicodeTables::UppercaseTraits>(str);executed 4666 times by 23 tests: return QUnicodeTables::convertCase<QUnicodeTables::UppercaseTraits>(str);Executed by:- tst_QAccessibility
- tst_QColor
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHostInfo
- tst_QItemDelegate
- tst_QItemModel
- tst_QSidebar
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_languageChange
| 4666 |
| 2403 | } | - |
| 2404 | | - |
| 2405 | | - |
| 2406 | | - |
| 2407 | | - |
| 2408 | | - |
| 2409 | | - |
| 2410 | QString &QString::sprintf(const char *cformat, ...) | - |
| 2411 | { | - |
| 2412 | va_list ap; | - |
| 2413 | __builtin_va_start(ap,cformat); | - |
| 2414 | *this = vasprintf(cformat, ap); | - |
| 2415 | __builtin_va_end(ap); | - |
| 2416 | returnexecuted 10031 times by 3 tests: return *this;Executed by:- tst_QPrinter
- tst_QString
- tst_qmakelib
*this;executed 10031 times by 3 tests: return *this;Executed by:- tst_QPrinter
- tst_QString
- tst_qmakelib
| 10031 |
| 2417 | } | - |
| 2418 | QString QString::asprintf(const char *cformat, ...) | - |
| 2419 | { | - |
| 2420 | va_list ap; | - |
| 2421 | __builtin_va_start(ap,cformat); | - |
| 2422 | const QString s = vasprintf(cformat, ap); | - |
| 2423 | __builtin_va_end(ap); | - |
| 2424 | returnexecuted 25889 times by 48 tests: return s;Executed by:- tst_QAccessibility
- tst_QAlgorithms
- tst_QChar
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QErrorMessage
- tst_QFile
- tst_QFileSystemModel
- tst_QGetPutEnv
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- ...
s;executed 25889 times by 48 tests: return s;Executed by:- tst_QAccessibility
- tst_QAlgorithms
- tst_QChar
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QErrorMessage
- tst_QFile
- tst_QFileSystemModel
- tst_QGetPutEnv
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- ...
| 25889 |
| 2425 | } | - |
| 2426 | | - |
| 2427 | | - |
| 2428 | | - |
| 2429 | | - |
| 2430 | | - |
| 2431 | | - |
| 2432 | QString &QString::vsprintf(const char *cformat, va_list ap) | - |
| 2433 | { | - |
| 2434 | return never executed: return *this = vasprintf(cformat, ap); *this = vasprintf(cformat, ap);never executed: return *this = vasprintf(cformat, ap); | 0 |
| 2435 | } | - |
| 2436 | QString QString::vasprintf(const char *cformat, va_list ap) | - |
| 2437 | { | - |
| 2438 | if (!cformat| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 247956 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
|
|| !*cformat| TRUE | never evaluated | | FALSE | evaluated 247956 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
|
) { | 0-247956 |
| 2439 | | - |
| 2440 | returnexecuted 1 time by 1 test: return fromLatin1(""); fromLatin1("");executed 1 time by 1 test: return fromLatin1(""); | 1 |
| 2441 | } | - |
| 2442 | | - |
| 2443 | | - |
| 2444 | | - |
| 2445 | QString result; | - |
| 2446 | const char *c = cformat; | - |
| 2447 | for (;;) { | - |
| 2448 | | - |
| 2449 | const char *cb = c; | - |
| 2450 | while (*| TRUE | evaluated 564273 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| | FALSE | evaluated 247956 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
|
c != '\0'| TRUE | evaluated 564273 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| | FALSE | evaluated 247956 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
|
&& *| TRUE | evaluated 209586 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| | FALSE | evaluated 354687 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c != '%'| TRUE | evaluated 209586 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| | FALSE | evaluated 354687 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) | 209586-564273 |
| 2451 | c++;executed 209586 times by 160 tests: c++;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| 209586 |
| 2452 | result.append(QString::fromUtf8(cb, (int)(c - cb))); | - |
| 2453 | | - |
| 2454 | if (*| TRUE | evaluated 247956 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| | FALSE | evaluated 354687 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '\0'| TRUE | evaluated 247956 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| | FALSE | evaluated 354687 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) | 247956-354687 |
| 2455 | break;executed 247956 times by 160 tests: break;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| 247956 |
| 2456 | | - |
| 2457 | | - |
| 2458 | const char *escape_start = c; | - |
| 2459 | ++c; | - |
| 2460 | | - |
| 2461 | if (*| TRUE | never evaluated | | FALSE | evaluated 354687 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '\0'| TRUE | never evaluated | | FALSE | evaluated 354687 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 0-354687 |
| 2462 | result.append(QLatin1Char('%')); | - |
| 2463 | break; never executed: break; | 0 |
| 2464 | } | - |
| 2465 | if (*| TRUE | evaluated 14 times by 2 tests | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '%'| TRUE | evaluated 14 times by 2 tests | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 14-354673 |
| 2466 | result.append(QLatin1Char('%')); | - |
| 2467 | ++c; | - |
| 2468 | continue;executed 14 times by 2 tests: continue; | 14 |
| 2469 | } | - |
| 2470 | | - |
| 2471 | | - |
| 2472 | uint flags = 0; | - |
| 2473 | bool no_more_flags = false; | - |
| 2474 | do { | - |
| 2475 | switch (*c) { | - |
| 2476 | caseexecuted 4992 times by 1 test: case '#': '#':executed 4992 times by 1 test: case '#': flags |= QLocaleData::Alternate; break;executed 4992 times by 1 test: break; | 4992 |
| 2477 | caseexecuted 12776 times by 16 tests: case '0':Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
'0':executed 12776 times by 16 tests: case '0':Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
flags |= QLocaleData::ZeroPadded; break;executed 12776 times by 16 tests: break;Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 12776 |
| 2478 | caseexecuted 4997 times by 1 test: case '-': '-':executed 4997 times by 1 test: case '-': flags |= QLocaleData::LeftAdjusted; break;executed 4997 times by 1 test: break; | 4997 |
| 2479 | caseexecuted 4992 times by 1 test: case ' ': ' ':executed 4992 times by 1 test: case ' ': flags |= QLocaleData::BlankBeforePositive; break;executed 4992 times by 1 test: break; | 4992 |
| 2480 | caseexecuted 4992 times by 1 test: case '+': '+':executed 4992 times by 1 test: case '+': flags |= QLocaleData::AlwaysShowSign; break;executed 4992 times by 1 test: break; | 4992 |
| 2481 | caseexecuted 9984 times by 1 test: case '\'': '\'':executed 9984 times by 1 test: case '\'': flags |= QLocaleData::ThousandsGroup; break;executed 9984 times by 1 test: break; | 9984 |
| 2482 | defaultexecuted 354673 times by 110 tests: default:Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
:executed 354673 times by 110 tests: default:Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
no_more_flags = true; break;executed 354673 times by 110 tests: break;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| 354673 |
| 2483 | } | - |
| 2484 | | - |
| 2485 | if (!no_more_flags| TRUE | evaluated 42733 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) | 42733-354673 |
| 2486 | ++executed 42733 times by 16 tests: ++c;Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
c;executed 42733 times by 16 tests: ++c;Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 42733 |
| 2487 | }executed 397406 times by 110 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
while (!no_more_flags| TRUE | evaluated 42733 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
); | 42733-397406 |
| 2488 | | - |
| 2489 | if (*| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '\0'| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 0-354673 |
| 2490 | result.append(QLatin1String(escape_start)); | - |
| 2491 | break; never executed: break; | 0 |
| 2492 | } | - |
| 2493 | | - |
| 2494 | | - |
| 2495 | int width = -1; | - |
| 2496 | if (qIsDigit(*c)| TRUE | evaluated 15288 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 339385 times by 103 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout1
- ...
|
) { | 15288-339385 |
| 2497 | QString width_str; | - |
| 2498 | while (*| TRUE | evaluated 35096 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | never evaluated |
c != '\0'| TRUE | evaluated 35096 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | never evaluated |
&& qIsDigit(*c)| TRUE | evaluated 19808 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 15288 times by 16 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
|
) | 0-35096 |
| 2499 | width_str.append(QLatin1Char(*c++));executed 19808 times by 16 tests: width_str.append(QLatin1Char(*c++));Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 19808 |
| 2500 | | - |
| 2501 | | - |
| 2502 | | - |
| 2503 | width = width_str.toInt(); | - |
| 2504 | }executed 15288 times by 16 tests: end of blockExecuted by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 15288 |
| 2505 | else if (*| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 339384 times by 103 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout1
- ...
|
c == '*'| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 339384 times by 103 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout1
- ...
|
) { | 1-339384 |
| 2506 | width = __builtin_va_arg(ap,int); | - |
| 2507 | if (width < 0| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 2508 | width = -1; never executed: width = -1; | 0 |
| 2509 | ++c; | - |
| 2510 | }executed 1 time by 1 test: end of block | 1 |
| 2511 | | - |
| 2512 | if (*| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '\0'| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 0-354673 |
| 2513 | result.append(QLatin1String(escape_start)); | - |
| 2514 | break; never executed: break; | 0 |
| 2515 | } | - |
| 2516 | | - |
| 2517 | | - |
| 2518 | int precision = -1; | - |
| 2519 | if (*| TRUE | evaluated 9368 times by 9 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| | FALSE | evaluated 345305 times by 105 testsEvaluated by:- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGetPutEnv
- ...
|
c == '.'| TRUE | evaluated 9368 times by 9 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| | FALSE | evaluated 345305 times by 105 testsEvaluated by:- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGetPutEnv
- ...
|
) { | 9368-345305 |
| 2520 | ++c; | - |
| 2521 | if (qIsDigit(*c)| TRUE | evaluated 9367 times by 8 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| | FALSE | evaluated 1 time by 1 test |
) { | 1-9367 |
| 2522 | QString precision_str; | - |
| 2523 | while (*| TRUE | evaluated 21233 times by 8 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| | FALSE | never evaluated |
c != '\0'| TRUE | evaluated 21233 times by 8 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| | FALSE | never evaluated |
&& qIsDigit(*c)| TRUE | evaluated 11866 times by 8 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| | FALSE | evaluated 9367 times by 8 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
|
) | 0-21233 |
| 2524 | precision_str.append(QLatin1Char(*c++));executed 11866 times by 8 tests: precision_str.append(QLatin1Char(*c++));Executed by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 11866 |
| 2525 | | - |
| 2526 | | - |
| 2527 | | - |
| 2528 | precision = precision_str.toInt(); | - |
| 2529 | }executed 9367 times by 8 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 9367 |
| 2530 | else if (*| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
c == '*'| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) { | 0-1 |
| 2531 | precision = __builtin_va_arg(ap,int); | - |
| 2532 | if (precision < 0| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 2533 | precision = -1; never executed: precision = -1; | 0 |
| 2534 | ++c; | - |
| 2535 | }executed 1 time by 1 test: end of block | 1 |
| 2536 | }executed 9368 times by 9 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 9368 |
| 2537 | | - |
| 2538 | if (*| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '\0'| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 0-354673 |
| 2539 | result.append(QLatin1String(escape_start)); | - |
| 2540 | break; never executed: break; | 0 |
| 2541 | } | - |
| 2542 | | - |
| 2543 | | - |
| 2544 | enum LengthMod { lm_none, lm_hh, lm_h, lm_l, lm_ll, lm_L, lm_j, lm_z, lm_t }; | - |
| 2545 | LengthMod length_mod = lm_none; | - |
| 2546 | switch (*c) { | - |
| 2547 | case never executed: case 'h': 'h':never executed: case 'h': | 0 |
| 2548 | ++c; | - |
| 2549 | if (*| TRUE | never evaluated | | FALSE | never evaluated |
c == 'h'| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 2550 | length_mod = lm_hh; | - |
| 2551 | ++c; | - |
| 2552 | } never executed: end of block | 0 |
| 2553 | else | - |
| 2554 | length_mod = lm_h; never executed: length_mod = lm_h; | 0 |
| 2555 | break; never executed: break; | 0 |
| 2556 | | - |
| 2557 | caseexecuted 2026 times by 4 tests: case 'l':Executed by:- tst_QAlgorithms
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
'l':executed 2026 times by 4 tests: case 'l':Executed by:- tst_QAlgorithms
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
| 2026 |
| 2558 | ++c; | - |
| 2559 | if (*| TRUE | evaluated 2022 times by 3 testsEvaluated by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QSslSocket
- tst_QString
|
c == 'l'| TRUE | evaluated 2022 times by 3 testsEvaluated by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QSslSocket
- tst_QString
|
) { | 4-2022 |
| 2560 | length_mod = lm_ll; | - |
| 2561 | ++c; | - |
| 2562 | }executed 2022 times by 3 tests: end of blockExecuted by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
| 2022 |
| 2563 | else | - |
| 2564 | length_mod = lm_l;executed 4 times by 2 tests: length_mod = lm_l;Executed by:- tst_QSslSocket
- tst_QString
| 4 |
| 2565 | break;executed 2026 times by 4 tests: break;Executed by:- tst_QAlgorithms
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
| 2026 |
| 2566 | | - |
| 2567 | case never executed: case 'L': 'L':never executed: case 'L': | 0 |
| 2568 | ++c; | - |
| 2569 | length_mod = lm_L; | - |
| 2570 | break; never executed: break; | 0 |
| 2571 | | - |
| 2572 | case never executed: case 'j': 'j':never executed: case 'j': | 0 |
| 2573 | ++c; | - |
| 2574 | length_mod = lm_j; | - |
| 2575 | break; never executed: break; | 0 |
| 2576 | | - |
| 2577 | caseexecuted 3 times by 1 test: case 'z': 'z':executed 3 times by 1 test: case 'z': | 3 |
| 2578 | case never executed: case 'Z': 'Z':never executed: case 'Z': | 0 |
| 2579 | ++c; | - |
| 2580 | length_mod = lm_z; | - |
| 2581 | break;executed 3 times by 1 test: break; | 3 |
| 2582 | | - |
| 2583 | case never executed: case 't': 't':never executed: case 't': | 0 |
| 2584 | ++c; | - |
| 2585 | length_mod = lm_t; | - |
| 2586 | break; never executed: break; | 0 |
| 2587 | | - |
| 2588 | defaultexecuted 352644 times by 110 tests: default:Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
:executed 352644 times by 110 tests: default:Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
break;executed 352644 times by 110 tests: break;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| 352644 |
| 2589 | } | - |
| 2590 | | - |
| 2591 | if (*| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
c == '\0'| TRUE | never evaluated | | FALSE | evaluated 354673 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) { | 0-354673 |
| 2592 | result.append(QLatin1String(escape_start)); | - |
| 2593 | break; never executed: break; | 0 |
| 2594 | } | - |
| 2595 | | - |
| 2596 | | - |
| 2597 | QString subst; | - |
| 2598 | switch (*c) { | - |
| 2599 | caseexecuted 247852 times by 47 tests: case 'd':Executed by:- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsGridLayout
- tst_QGraphicsScene
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListView
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- tst_QReadWriteLock
- tst_QRegExp
- ...
'd':executed 247852 times by 47 tests: case 'd':Executed by:- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsGridLayout
- tst_QGraphicsScene
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListView
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- tst_QReadWriteLock
- tst_QRegExp
- ...
| 247852 |
| 2600 | caseexecuted 750 times by 7 tests: case 'i':Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QCompleter
- tst_QGuiVariant
- tst_QString
- tst_QVariant
- tst_QWidgetsVariant
'i':executed 750 times by 7 tests: case 'i':Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QCompleter
- tst_QGuiVariant
- tst_QString
- tst_QVariant
- tst_QWidgetsVariant
{ | 750 |
| 2601 | qint64 i; | - |
| 2602 | switch (length_mod) { | - |
| 2603 | caseexecuted 248599 times by 51 tests: case lm_none:Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsGridLayout
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListView
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
lm_none:executed 248599 times by 51 tests: case lm_none:Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsGridLayout
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListView
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
i = __builtin_va_arg(ap,int); break;executed 248599 times by 51 tests: break;Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsGridLayout
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListView
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 248599 |
| 2604 | case never executed: case lm_hh: lm_hh:never executed: case lm_hh: i = __builtin_va_arg(ap,int); break;never executed: break; | 0 |
| 2605 | case never executed: case lm_h: lm_h:never executed: case lm_h: i = __builtin_va_arg(ap,int); break;never executed: break; | 0 |
| 2606 | caseexecuted 2 times by 2 tests: case lm_l:Executed by:- tst_QSslSocket
- tst_QString
lm_l:executed 2 times by 2 tests: case lm_l:Executed by:- tst_QSslSocket
- tst_QString
i = __builtin_va_arg(ap,long int); break;executed 2 times by 2 tests: break;Executed by:- tst_QSslSocket
- tst_QString
| 2 |
| 2607 | caseexecuted 1 time by 1 test: case lm_ll: lm_ll:executed 1 time by 1 test: case lm_ll: i = __builtin_va_arg(ap,qint64); break;executed 1 time by 1 test: break; | 1 |
| 2608 | case never executed: case lm_j: lm_j:never executed: case lm_j: i = __builtin_va_arg(ap,long int); break;never executed: break; | 0 |
| 2609 | case never executed: case lm_z: lm_z:never executed: case lm_z: i = __builtin_va_arg(ap,size_t); break;never executed: break; | 0 |
| 2610 | case never executed: case lm_t: lm_t:never executed: case lm_t: i = __builtin_va_arg(ap,int); break;never executed: break; | 0 |
| 2611 | default never executed: default: :never executed: default: i = 0; break;never executed: break; | 0 |
| 2612 | } | - |
| 2613 | subst = QLocaleData::c()->longLongToString(i, precision, 10, width, flags); | - |
| 2614 | ++c; | - |
| 2615 | break;executed 248602 times by 51 tests: break;Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFormLayout
- tst_QGetPutEnv
- tst_QGlyphRun
- tst_QGraphicsGridLayout
- tst_QGraphicsScene
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListView
- tst_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 248602 |
| 2616 | } | - |
| 2617 | case never executed: case 'o': 'o':never executed: case 'o': | 0 |
| 2618 | caseexecuted 6 times by 2 tests: case 'u':Executed by:- tst_QReadWriteLock
- tst_QString
'u':executed 6 times by 2 tests: case 'u':Executed by:- tst_QReadWriteLock
- tst_QString
| 6 |
| 2619 | caseexecuted 6044 times by 5 tests: case 'x':Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
'x':executed 6044 times by 5 tests: case 'x':Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
| 6044 |
| 2620 | case never executed: case 'X': 'X':never executed: case 'X': { | 0 |
| 2621 | quint64 u; | - |
| 2622 | switch (length_mod) { | - |
| 2623 | caseexecuted 4027 times by 6 tests: case lm_none:Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QReadWriteLock
lm_none:executed 4027 times by 6 tests: case lm_none:Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QReadWriteLock
u = __builtin_va_arg(ap,uint); break;executed 4027 times by 6 tests: break;Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QReadWriteLock
| 4027 |
| 2624 | case never executed: case lm_hh: lm_hh:never executed: case lm_hh: u = __builtin_va_arg(ap,uint); break;never executed: break; | 0 |
| 2625 | case never executed: case lm_h: lm_h:never executed: case lm_h: u = __builtin_va_arg(ap,uint); break;never executed: break; | 0 |
| 2626 | case never executed: case lm_l: lm_l:never executed: case lm_l: u = __builtin_va_arg(ap,ulong); break;never executed: break; | 0 |
| 2627 | caseexecuted 2020 times by 1 test: case lm_ll: lm_ll:executed 2020 times by 1 test: case lm_ll: u = __builtin_va_arg(ap,quint64); break;executed 2020 times by 1 test: break; | 2020 |
| 2628 | caseexecuted 3 times by 1 test: case lm_z: lm_z:executed 3 times by 1 test: case lm_z: u = __builtin_va_arg(ap,size_t); break;executed 3 times by 1 test: break; | 3 |
| 2629 | default never executed: default: :never executed: default: u = 0; break;never executed: break; | 0 |
| 2630 | } | - |
| 2631 | | - |
| 2632 | if (qIsUpper(*c)| TRUE | never evaluated | | FALSE | evaluated 6050 times by 7 testsEvaluated by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QReadWriteLock
- tst_QString
|
) | 0-6050 |
| 2633 | flags |= QLocaleData::CapitalEorX; never executed: flags |= QLocaleData::CapitalEorX; | 0 |
| 2634 | | - |
| 2635 | int base = 10; | - |
| 2636 | switch (qToLower(*c)) { | - |
| 2637 | case never executed: case 'o': 'o':never executed: case 'o': | 0 |
| 2638 | base = 8; break; never executed: break; | 0 |
| 2639 | caseexecuted 6 times by 2 tests: case 'u':Executed by:- tst_QReadWriteLock
- tst_QString
'u':executed 6 times by 2 tests: case 'u':Executed by:- tst_QReadWriteLock
- tst_QString
| 6 |
| 2640 | base = 10; break;executed 6 times by 2 tests: break;Executed by:- tst_QReadWriteLock
- tst_QString
| 6 |
| 2641 | caseexecuted 6044 times by 5 tests: case 'x':Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
'x':executed 6044 times by 5 tests: case 'x':Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
| 6044 |
| 2642 | base = 16; break;executed 6044 times by 5 tests: break;Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
| 6044 |
| 2643 | default never executed: default: :never executed: default: break;never executed: break; | 0 |
| 2644 | } | - |
| 2645 | subst = QLocaleData::c()->unsLongLongToString(u, precision, base, width, flags); | - |
| 2646 | ++c; | - |
| 2647 | break;executed 6050 times by 7 tests: break;Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QReadWriteLock
- tst_QString
| 6050 |
| 2648 | } | - |
| 2649 | case never executed: case 'E': 'E':never executed: case 'E': | 0 |
| 2650 | case never executed: case 'e': 'e':never executed: case 'e': | 0 |
| 2651 | case never executed: case 'F': 'F':never executed: case 'F': | 0 |
| 2652 | caseexecuted 55 times by 8 tests: case 'f':Executed by:- tst_PlatformSocketEngine
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
'f':executed 55 times by 8 tests: case 'f':Executed by:- tst_PlatformSocketEngine
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 55 |
| 2653 | caseexecuted 4992 times by 1 test: case 'G': 'G':executed 4992 times by 1 test: case 'G': | 4992 |
| 2654 | caseexecuted 5001 times by 3 tests: case 'g':Executed by:- tst_QColor
- tst_QLCDNumber
- tst_QString
'g':executed 5001 times by 3 tests: case 'g':Executed by:- tst_QColor
- tst_QLCDNumber
- tst_QString
| 5001 |
| 2655 | case never executed: case 'A': 'A':never executed: case 'A': | 0 |
| 2656 | case never executed: case 'a': 'a':never executed: case 'a': { | 0 |
| 2657 | double d; | - |
| 2658 | if (length_mod == lm_L| TRUE | never evaluated | | FALSE | evaluated 10048 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QColor
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
|
) | 0-10048 |
| 2659 | d = __builtin_va_arg(ap,long double); never executed: d = __builtin_va_arg(ap,long double); | 0 |
| 2660 | else | - |
| 2661 | d = __builtin_va_arg(ap,double);executed 10048 times by 10 tests: d = __builtin_va_arg(ap,double);Executed by:- tst_PlatformSocketEngine
- tst_QColor
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 10048 |
| 2662 | | - |
| 2663 | if (qIsUpper(*c)| TRUE | evaluated 4992 times by 1 test | | FALSE | evaluated 5056 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QColor
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
|
) | 4992-5056 |
| 2664 | flags |= QLocaleData::CapitalEorX;executed 4992 times by 1 test: flags |= QLocaleData::CapitalEorX; | 4992 |
| 2665 | | - |
| 2666 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
| 2667 | switch (qToLower(*c)) { | - |
| 2668 | case never executed: case 'e': 'e':never executed: case 'e': form = QLocaleData::DFExponent; break;never executed: break; | 0 |
| 2669 | case never executed: case 'a': 'a':never executed: case 'a': | 0 |
| 2670 | caseexecuted 55 times by 8 tests: case 'f':Executed by:- tst_PlatformSocketEngine
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
'f':executed 55 times by 8 tests: case 'f':Executed by:- tst_PlatformSocketEngine
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
form = QLocaleData::DFDecimal; break;executed 55 times by 8 tests: break;Executed by:- tst_PlatformSocketEngine
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 55 |
| 2671 | caseexecuted 9993 times by 3 tests: case 'g':Executed by:- tst_QColor
- tst_QLCDNumber
- tst_QString
'g':executed 9993 times by 3 tests: case 'g':Executed by:- tst_QColor
- tst_QLCDNumber
- tst_QString
form = QLocaleData::DFSignificantDigits; break;executed 9993 times by 3 tests: break;Executed by:- tst_QColor
- tst_QLCDNumber
- tst_QString
| 9993 |
| 2672 | default never executed: default: :never executed: default: break;never executed: break; | 0 |
| 2673 | } | - |
| 2674 | subst = QLocaleData::c()->doubleToString(d, precision, form, width, flags); | - |
| 2675 | ++c; | - |
| 2676 | break;executed 10048 times by 10 tests: break;Executed by:- tst_PlatformSocketEngine
- tst_QColor
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 10048 |
| 2677 | } | - |
| 2678 | caseexecuted 216 times by 4 tests: case 'c':Executed by:- tst_QCompleter
- tst_QDateTime
- tst_QSqlQuery
- tst_selftests - unknown status
'c':executed 216 times by 4 tests: case 'c':Executed by:- tst_QCompleter
- tst_QDateTime
- tst_QSqlQuery
- tst_selftests - unknown status
{ | 216 |
| 2679 | if (length_mod == lm_l| TRUE | never evaluated | | FALSE | evaluated 216 times by 4 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_QSqlQuery
- tst_selftests - unknown status
|
) | 0-216 |
| 2680 | subst = QChar((ushort) __builtin_va_arg(ap,int)); never executed: subst = QChar((ushort) __builtin_va_arg(ap,int)); | 0 |
| 2681 | else | - |
| 2682 | subst = QLatin1Char((uchar) __builtin_va_arg(ap,int));executed 216 times by 4 tests: subst = QLatin1Char((uchar) __builtin_va_arg(ap,int));Executed by:- tst_QCompleter
- tst_QDateTime
- tst_QSqlQuery
- tst_selftests - unknown status
| 216 |
| 2683 | ++c; | - |
| 2684 | break;executed 216 times by 4 tests: break;Executed by:- tst_QCompleter
- tst_QDateTime
- tst_QSqlQuery
- tst_selftests - unknown status
| 216 |
| 2685 | } | - |
| 2686 | caseexecuted 87800 times by 50 tests: case 's':Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCommandLineParser
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QFormLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayout
- tst_QGridLayout
- tst_QGroupBox
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- ...
's':executed 87800 times by 50 tests: case 's':Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCommandLineParser
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QFormLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayout
- tst_QGridLayout
- tst_QGroupBox
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- ...
{ | 87800 |
| 2687 | if (length_mod == lm_l| TRUE | never evaluated | | FALSE | evaluated 87800 times by 50 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCommandLineParser
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QFormLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayout
- tst_QGridLayout
- tst_QGroupBox
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- ...
|
) { | 0-87800 |
| 2688 | const ushort *buff = __builtin_va_arg(ap,const ushort*); | - |
| 2689 | const ushort *ch = buff; | - |
| 2690 | while (*| TRUE | never evaluated | | FALSE | never evaluated |
ch != 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 2691 | ++ never executed: ++ch; ch;never executed: ++ch; | 0 |
| 2692 | subst.setUtf16(buff, ch - buff); | - |
| 2693 | } never executed: end of block else | 0 |
| 2694 | subst = QString::fromUtf8(__builtin_va_arg(ap,const char*));executed 87800 times by 50 tests: subst = QString::fromUtf8(__builtin_va_arg(ap,const char*));Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCommandLineParser
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QFormLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayout
- tst_QGridLayout
- tst_QGroupBox
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- ...
| 87800 |
| 2695 | if (precision != -1| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 87793 times by 50 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCommandLineParser
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QFormLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayout
- tst_QGridLayout
- tst_QGroupBox
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- ...
|
) | 7-87793 |
| 2696 | subst.truncate(precision);executed 7 times by 1 test: subst.truncate(precision); | 7 |
| 2697 | ++c; | - |
| 2698 | break;executed 87800 times by 50 tests: break;Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCommandLineParser
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDateTime
- tst_QDebug
- tst_QFormLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayout
- tst_QGridLayout
- tst_QGroupBox
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLCDNumber
- tst_QLatin1String
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- ...
| 87800 |
| 2699 | } | - |
| 2700 | caseexecuted 1955 times by 32 tests: case 'p':Executed by:- tst_QAccessibility
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QPrinter
- tst_QSharedPointer
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QState
- tst_QStateMachine
- tst_QString
- ...
'p':executed 1955 times by 32 tests: case 'p':Executed by:- tst_QAccessibility
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QPrinter
- tst_QSharedPointer
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QState
- tst_QStateMachine
- tst_QString
- ...
{ | 1955 |
| 2701 | void *arg = __builtin_va_arg(ap,void*); | - |
| 2702 | const quint64 i = reinterpret_cast<quintptr>(arg); | - |
| 2703 | flags |= QLocaleData::Alternate; | - |
| 2704 | subst = QLocaleData::c()->unsLongLongToString(i, precision, 16, width, flags); | - |
| 2705 | ++c; | - |
| 2706 | break;executed 1955 times by 32 tests: break;Executed by:- tst_QAccessibility
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QPrinter
- tst_QSharedPointer
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QState
- tst_QStateMachine
- tst_QString
- ...
| 1955 |
| 2707 | } | - |
| 2708 | caseexecuted 2 times by 1 test: case 'n': 'n':executed 2 times by 1 test: case 'n': | 2 |
| 2709 | switch (length_mod) { | - |
| 2710 | case never executed: case lm_hh: lm_hh:never executed: case lm_hh: { | 0 |
| 2711 | signed char *n = __builtin_va_arg(ap,signed char*); | - |
| 2712 | *n = result.length(); | - |
| 2713 | break; never executed: break; | 0 |
| 2714 | } | - |
| 2715 | case never executed: case lm_h: lm_h:never executed: case lm_h: { | 0 |
| 2716 | short int *n = __builtin_va_arg(ap,short int*); | - |
| 2717 | *n = result.length(); | - |
| 2718 | break; never executed: break; | 0 |
| 2719 | } | - |
| 2720 | case never executed: case lm_l: lm_l:never executed: case lm_l: { | 0 |
| 2721 | long int *n = __builtin_va_arg(ap,long int*); | - |
| 2722 | *n = result.length(); | - |
| 2723 | break; never executed: break; | 0 |
| 2724 | } | - |
| 2725 | caseexecuted 1 time by 1 test: case lm_ll: lm_ll:executed 1 time by 1 test: case lm_ll: { | 1 |
| 2726 | qint64 *n = __builtin_va_arg(ap,qint64*); | - |
| 2727 | volatile uint tmp = result.length(); | - |
| 2728 | *n = tmp; | - |
| 2729 | break;executed 1 time by 1 test: break; | 1 |
| 2730 | } | - |
| 2731 | defaultexecuted 1 time by 1 test: default: :executed 1 time by 1 test: default: { | 1 |
| 2732 | int *n = __builtin_va_arg(ap,int*); | - |
| 2733 | *n = result.length(); | - |
| 2734 | break;executed 1 time by 1 test: break; | 1 |
| 2735 | } | - |
| 2736 | } | - |
| 2737 | ++c; | - |
| 2738 | break;executed 2 times by 1 test: break; | 2 |
| 2739 | | - |
| 2740 | default never executed: default: :never executed: default: | 0 |
| 2741 | for (const char *cc = escape_start; cc != c| TRUE | never evaluated | | FALSE | never evaluated |
; ++cc) | 0 |
| 2742 | result.append(QLatin1Char(*cc)); never executed: result.append(QLatin1Char(*cc)); | 0 |
| 2743 | continue; never executed: continue; | 0 |
| 2744 | } | - |
| 2745 | | - |
| 2746 | if (flags & QLocaleData::LeftAdjusted| TRUE | evaluated 4997 times by 1 test | | FALSE | evaluated 349676 times by 110 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
|
) | 4997-349676 |
| 2747 | result.append(subst.leftJustified(width));executed 4997 times by 1 test: result.append(subst.leftJustified(width)); | 4997 |
| 2748 | else | - |
| 2749 | result.append(subst.rightJustified(width));executed 349676 times by 110 tests: result.append(subst.rightJustified(width));Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFile
- tst_QFileSystemModel
- tst_QFormLayout
- ...
| 349676 |
| 2750 | } | - |
| 2751 | | - |
| 2752 | returnexecuted 247956 times by 160 tests: return result;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
result;executed 247956 times by 160 tests: return result;Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- ...
| 247956 |
| 2753 | } | - |
| 2754 | qint64 QString::toLongLong(bool *ok, int base) const | - |
| 2755 | { | - |
| 2756 | returnexecuted 59908 times by 42 tests: return toIntegral_helper<qlonglong>(constData(), size(), ok, base);Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- ...
toIntegral_helper<qlonglong>(constData(), size(), ok, base);executed 59908 times by 42 tests: return toIntegral_helper<qlonglong>(constData(), size(), ok, base);Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- ...
| 59908 |
| 2757 | } | - |
| 2758 | | - |
| 2759 | qlonglong QString::toIntegral_helper(const QChar *data, int len, bool *ok, int base) | - |
| 2760 | { | - |
| 2761 | | - |
| 2762 | | - |
| 2763 | | - |
| 2764 | | - |
| 2765 | | - |
| 2766 | | - |
| 2767 | | - |
| 2768 | returnexecuted 180845 times by 79 tests: return QLocaleData::c()->stringToLongLong(data, len, base, ok, QLocaleData::FailOnGroupSeparators);Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHttpSocketEngine
- ...
QLocaleData::c()->stringToLongLong(data, len, base, ok, QLocaleData::FailOnGroupSeparators);executed 180845 times by 79 tests: return QLocaleData::c()->stringToLongLong(data, len, base, ok, QLocaleData::FailOnGroupSeparators);Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHttpSocketEngine
- ...
| 180845 |
| 2769 | } | - |
| 2770 | quint64 QString::toULongLong(bool *ok, int base) const | - |
| 2771 | { | - |
| 2772 | returnexecuted 88 times by 4 tests: return toIntegral_helper<qulonglong>(constData(), size(), ok, base);Executed by:- tst_QColorDialog
- tst_QString
- tst_QVariant
- tst_languageChange
toIntegral_helper<qulonglong>(constData(), size(), ok, base);executed 88 times by 4 tests: return toIntegral_helper<qulonglong>(constData(), size(), ok, base);Executed by:- tst_QColorDialog
- tst_QString
- tst_QVariant
- tst_languageChange
| 88 |
| 2773 | } | - |
| 2774 | | - |
| 2775 | qulonglong QString::toIntegral_helper(const QChar *data, uint len, bool *ok, int base) | - |
| 2776 | { | - |
| 2777 | | - |
| 2778 | | - |
| 2779 | | - |
| 2780 | | - |
| 2781 | | - |
| 2782 | | - |
| 2783 | | - |
| 2784 | returnexecuted 3890 times by 20 tests: return QLocaleData::c()->stringToUnsLongLong(data, len, base, ok, QLocaleData::FailOnGroupSeparators);Executed by:- tst_QColorDialog
- tst_QCssParser
- tst_QFtp
- tst_QHostAddress
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_languageChange
QLocaleData::c()->stringToUnsLongLong(data, len, base, ok, QLocaleData::FailOnGroupSeparators);executed 3890 times by 20 tests: return QLocaleData::c()->stringToUnsLongLong(data, len, base, ok, QLocaleData::FailOnGroupSeparators);Executed by:- tst_QColorDialog
- tst_QCssParser
- tst_QFtp
- tst_QHostAddress
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_languageChange
| 3890 |
| 2785 | } | - |
| 2786 | long QString::toLong(bool *ok, int base) const | - |
| 2787 | { | - |
| 2788 | returnexecuted 54 times by 1 test: return toIntegral_helper<long>(constData(), size(), ok, base); toIntegral_helper<long>(constData(), size(), ok, base);executed 54 times by 1 test: return toIntegral_helper<long>(constData(), size(), ok, base); | 54 |
| 2789 | } | - |
| 2790 | ulong QString::toULong(bool *ok, int base) const | - |
| 2791 | { | - |
| 2792 | returnexecuted 40 times by 1 test: return toIntegral_helper<ulong>(constData(), size(), ok, base); toIntegral_helper<ulong>(constData(), size(), ok, base);executed 40 times by 1 test: return toIntegral_helper<ulong>(constData(), size(), ok, base); | 40 |
| 2793 | } | - |
| 2794 | int QString::toInt(bool *ok, int base) const | - |
| 2795 | { | - |
| 2796 | returnexecuted 73138 times by 47 tests: return toIntegral_helper<int>(constData(), size(), ok, base);Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QFontDialog
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLayout
- tst_QMimeDatabase
- tst_QNetworkRequest
- tst_QPlugin
- tst_QPrinter
- tst_QRegExp
- tst_QSettings
- tst_QShortcut
- ...
toIntegral_helper<int>(constData(), size(), ok, base);executed 73138 times by 47 tests: return toIntegral_helper<int>(constData(), size(), ok, base);Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QFontDialog
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLayout
- tst_QMimeDatabase
- tst_QNetworkRequest
- tst_QPlugin
- tst_QPrinter
- tst_QRegExp
- tst_QSettings
- tst_QShortcut
- ...
| 73138 |
| 2797 | } | - |
| 2798 | uint QString::toUInt(bool *ok, int base) const | - |
| 2799 | { | - |
| 2800 | returnexecuted 2060 times by 12 tests: return toIntegral_helper<uint>(constData(), size(), ok, base);Executed by:- tst_QFtp
- tst_QHostAddress
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QUdpSocket
- tst_QXmlSimpleReader
toIntegral_helper<uint>(constData(), size(), ok, base);executed 2060 times by 12 tests: return toIntegral_helper<uint>(constData(), size(), ok, base);Executed by:- tst_QFtp
- tst_QHostAddress
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QUdpSocket
- tst_QXmlSimpleReader
| 2060 |
| 2801 | } | - |
| 2802 | short QString::toShort(bool *ok, int base) const | - |
| 2803 | { | - |
| 2804 | returnexecuted 70 times by 1 test: return toIntegral_helper<short>(constData(), size(), ok, base); toIntegral_helper<short>(constData(), size(), ok, base);executed 70 times by 1 test: return toIntegral_helper<short>(constData(), size(), ok, base); | 70 |
| 2805 | } | - |
| 2806 | ushort QString::toUShort(bool *ok, int base) const | - |
| 2807 | { | - |
| 2808 | returnexecuted 93 times by 4 tests: return toIntegral_helper<ushort>(constData(), size(), ok, base);Executed by:- tst_QCssParser
- tst_QFtp
- tst_QString
- tst_QTextList
toIntegral_helper<ushort>(constData(), size(), ok, base);executed 93 times by 4 tests: return toIntegral_helper<ushort>(constData(), size(), ok, base);Executed by:- tst_QCssParser
- tst_QFtp
- tst_QString
- tst_QTextList
| 93 |
| 2809 | } | - |
| 2810 | double QString::toDouble(bool *ok) const | - |
| 2811 | { | - |
| 2812 | returnexecuted 2728 times by 25 tests: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocaleData::FailOnGroupSeparators);Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
- tst_QWidget
- tst_Selftests
QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocaleData::FailOnGroupSeparators);executed 2728 times by 25 tests: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocaleData::FailOnGroupSeparators);Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
- tst_QWidget
- tst_Selftests
| 2728 |
| 2813 | } | - |
| 2814 | float QString::toFloat(bool *ok) const | - |
| 2815 | { | - |
| 2816 | returnexecuted 24 times by 3 tests: return QLocaleData::convertDoubleToFloat(toDouble(ok), ok);Executed by:- tst_QObject
- tst_QString
- tst_QVariant
QLocaleData::convertDoubleToFloat(toDouble(ok), ok);executed 24 times by 3 tests: return QLocaleData::convertDoubleToFloat(toDouble(ok), ok);Executed by:- tst_QObject
- tst_QString
- tst_QVariant
| 24 |
| 2817 | } | - |
| 2818 | QString &QString::setNum(qlonglong n, int base) | - |
| 2819 | { | - |
| 2820 | returnexecuted 26915 times by 6 tests: return *this = number(n, base);Executed by:- tst_QHeaderView
- tst_QLabel
- tst_QMap
- tst_QMap_StrictIterators
- tst_QString
- tst_qmakelib
*this = number(n, base);executed 26915 times by 6 tests: return *this = number(n, base);Executed by:- tst_QHeaderView
- tst_QLabel
- tst_QMap
- tst_QMap_StrictIterators
- tst_QString
- tst_qmakelib
| 26915 |
| 2821 | } | - |
| 2822 | | - |
| 2823 | | - |
| 2824 | | - |
| 2825 | | - |
| 2826 | QString &QString::setNum(qulonglong n, int base) | - |
| 2827 | { | - |
| 2828 | returnexecuted 4 times by 1 test: return *this = number(n, base); *this = number(n, base);executed 4 times by 1 test: return *this = number(n, base); | 4 |
| 2829 | } | - |
| 2830 | QString &QString::setNum(double n, char f, int prec) | - |
| 2831 | { | - |
| 2832 | returnexecuted 4 times by 2 tests: return *this = number(n, f, prec); *this = number(n, f, prec);executed 4 times by 2 tests: return *this = number(n, f, prec); | 4 |
| 2833 | } | - |
| 2834 | QString QString::number(long n, int base) | - |
| 2835 | { | - |
| 2836 | returnexecuted 18 times by 5 tests: return number(qlonglong(n), base);Executed by:- tst_QColor
- tst_QGuiVariant
- tst_QSslSocket
- tst_QString
- tst_qlogging - unknown status
number(qlonglong(n), base);executed 18 times by 5 tests: return number(qlonglong(n), base);Executed by:- tst_QColor
- tst_QGuiVariant
- tst_QSslSocket
- tst_QString
- tst_qlogging - unknown status
| 18 |
| 2837 | } | - |
| 2838 | | - |
| 2839 | | - |
| 2840 | | - |
| 2841 | | - |
| 2842 | | - |
| 2843 | | - |
| 2844 | QString QString::number(ulong n, int base) | - |
| 2845 | { | - |
| 2846 | returnexecuted 32 times by 4 tests: return number(qulonglong(n), base);Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QString
number(qulonglong(n), base);executed 32 times by 4 tests: return number(qulonglong(n), base);Executed by:- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QString
| 32 |
| 2847 | } | - |
| 2848 | | - |
| 2849 | | - |
| 2850 | | - |
| 2851 | | - |
| 2852 | QString QString::number(int n, int base) | - |
| 2853 | { | - |
| 2854 | returnexecuted 561031 times by 159 tests: return number(qlonglong(n), base);Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- ...
number(qlonglong(n), base);executed 561031 times by 159 tests: return number(qlonglong(n), base);Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- ...
| 561031 |
| 2855 | } | - |
| 2856 | | - |
| 2857 | | - |
| 2858 | | - |
| 2859 | | - |
| 2860 | QString QString::number(uint n, int base) | - |
| 2861 | { | - |
| 2862 | returnexecuted 14397 times by 42 tests: return number(qulonglong(n), base);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QFtp
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPainter
- tst_QRawFont
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- ...
number(qulonglong(n), base);executed 14397 times by 42 tests: return number(qulonglong(n), base);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QFtp
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPainter
- tst_QRawFont
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- ...
| 14397 |
| 2863 | } | - |
| 2864 | | - |
| 2865 | | - |
| 2866 | | - |
| 2867 | | - |
| 2868 | QString QString::number(qlonglong n, int base) | - |
| 2869 | { | - |
| 2870 | | - |
| 2871 | | - |
| 2872 | | - |
| 2873 | | - |
| 2874 | | - |
| 2875 | | - |
| 2876 | returnexecuted 627410 times by 175 tests: return QLocaleData::c()->longLongToString(n, -1, base);Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
QLocaleData::c()->longLongToString(n, -1, base);executed 627410 times by 175 tests: return QLocaleData::c()->longLongToString(n, -1, base);Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 627410 |
| 2877 | } | - |
| 2878 | | - |
| 2879 | | - |
| 2880 | | - |
| 2881 | | - |
| 2882 | QString QString::number(qulonglong n, int base) | - |
| 2883 | { | - |
| 2884 | | - |
| 2885 | | - |
| 2886 | | - |
| 2887 | | - |
| 2888 | | - |
| 2889 | | - |
| 2890 | returnexecuted 14870 times by 57 tests: return QLocaleData::c()->unsLongLongToString(n, -1, base);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QMetaObject
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
QLocaleData::c()->unsLongLongToString(n, -1, base);executed 14870 times by 57 tests: return QLocaleData::c()->unsLongLongToString(n, -1, base);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QMetaObject
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
| 14870 |
| 2891 | } | - |
| 2892 | QString QString::number(double n, char f, int prec) | - |
| 2893 | { | - |
| 2894 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
| 2895 | uint flags = 0; | - |
| 2896 | | - |
| 2897 | if (qIsUpper(f)| TRUE | never evaluated | | FALSE | evaluated 2702 times by 30 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_QTreeWidget
- ...
|
) | 0-2702 |
| 2898 | flags = QLocaleData::CapitalEorX; never executed: flags = QLocaleData::CapitalEorX; | 0 |
| 2899 | f = qToLower(f); | - |
| 2900 | | - |
| 2901 | switch (f) { | - |
| 2902 | caseexecuted 987 times by 8 tests: case 'f':Executed by:- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextDocument
- tst_selftests - unknown status
'f':executed 987 times by 8 tests: case 'f':Executed by:- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextDocument
- tst_selftests - unknown status
| 987 |
| 2903 | form = QLocaleData::DFDecimal; | - |
| 2904 | break;executed 987 times by 8 tests: break;Executed by:- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextDocument
- tst_selftests - unknown status
| 987 |
| 2905 | caseexecuted 12 times by 2 tests: case 'e':Executed by:- tst_QString
- tst_QStringRef
'e':executed 12 times by 2 tests: case 'e':Executed by:- tst_QString
- tst_QStringRef
| 12 |
| 2906 | form = QLocaleData::DFExponent; | - |
| 2907 | break;executed 12 times by 2 tests: break;Executed by:- tst_QString
- tst_QStringRef
| 12 |
| 2908 | caseexecuted 1703 times by 23 tests: case 'g':Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QXmlStream
- tst_qmakelib
'g':executed 1703 times by 23 tests: case 'g':Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QXmlStream
- tst_qmakelib
| 1703 |
| 2909 | form = QLocaleData::DFSignificantDigits; | - |
| 2910 | break;executed 1703 times by 23 tests: break;Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QXmlStream
- tst_qmakelib
| 1703 |
| 2911 | default never executed: default: :never executed: default: | 0 |
| 2912 | | - |
| 2913 | | - |
| 2914 | | - |
| 2915 | break; never executed: break; | 0 |
| 2916 | } | - |
| 2917 | | - |
| 2918 | returnexecuted 2702 times by 30 tests: return QLocaleData::c()->doubleToString(n, prec, form, -1, flags);Executed by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_QTreeWidget
- ...
QLocaleData::c()->doubleToString(n, prec, form, -1, flags);executed 2702 times by 30 tests: return QLocaleData::c()->doubleToString(n, prec, form, -1, flags);Executed by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_QTreeWidget
- ...
| 2702 |
| 2919 | } | - |
| 2920 | | - |
| 2921 | namespace { | - |
| 2922 | template<class ResultList, class StringSource> | - |
| 2923 | static ResultList splitString(const StringSource &source, const QChar *sep, | - |
| 2924 | QString::SplitBehavior behavior, Qt::CaseSensitivity cs, const int separatorSize) | - |
| 2925 | { | - |
| 2926 | ResultList list; | - |
| 2927 | int start = 0; | - |
| 2928 | int end; | - |
| 2929 | int extra = 0; | - |
| 2930 | while ((| TRUE | evaluated 348488 times by 239 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 78545 times by 275 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
end = qFindString(source.constData(), source.size(), start + extra, sep, separatorSize, cs)) != -1| TRUE | evaluated 348488 times by 239 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 78545 times by 275 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) { | 78545-348488 |
| 2931 | if (start != end| TRUE | evaluated 321823 times by 239 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| | FALSE | evaluated 26665 times by 187 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
|| behavior == QString::KeepEmptyParts| TRUE | evaluated 4428 times by 170 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 22237 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDateTime
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QResourceEngine
- tst_QSidebar
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- ...
|
) | 4428-321823 |
| 2932 | list.append(source.mid(start, end - start));executed 326251 times by 239 tests: list.append(source.mid(start, end - start));Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 326251 |
| 2933 | start = end + separatorSize; | - |
| 2934 | extra = (separatorSize == 0| TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 348440 times by 239 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
|
? 1 : 0); | 48-348440 |
| 2935 | }executed 348488 times by 239 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 348488 |
| 2936 | if (start != source.size()| TRUE | evaluated 75068 times by 265 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- ...
| | FALSE | evaluated 3477 times by 61 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTime
- tst_QDir
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGLFunctions
- tst_QGuiVariant
- tst_QHostAddress
- tst_QHostInfo
- ...
|
|| behavior == QString::KeepEmptyParts| TRUE | evaluated 2898 times by 53 testsEvaluated by:- tst_QApplication
- tst_QBrush
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDataStream
- tst_QDnsLookup
- tst_QFiledialog
- tst_QGLFunctions
- tst_QGuiVariant
- tst_QHostAddress
- tst_QHostInfo
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QKeySequence
- ...
| | FALSE | evaluated 579 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDateTime
- tst_QDir
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSidebar
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_qmakelib
- tst_rcc
|
) | 579-75068 |
| 2937 | list.append(source.mid(start, -1));executed 77966 times by 274 tests: list.append(source.mid(start, -1));Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 77966 |
| 2938 | returnexecuted 78545 times by 275 tests: return list;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
list;executed 78545 times by 275 tests: return list;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 78545 |
| 2939 | } | - |
| 2940 | | - |
| 2941 | } | - |
| 2942 | QStringList QString::split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
| 2943 | { | - |
| 2944 | returnexecuted 1002 times by 29 tests: return splitString<QStringList>(*this, sep.constData(), behavior, cs, sep.size());Executed by:- tst_Collections
- tst_QBrush
- tst_QCompleter
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QKeySequence
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
splitString<QStringList>(*this, sep.constData(), behavior, cs, sep.size());executed 1002 times by 29 tests: return splitString<QStringList>(*this, sep.constData(), behavior, cs, sep.size());Executed by:- tst_Collections
- tst_QBrush
- tst_QCompleter
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QKeySequence
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
| 1002 |
| 2945 | } | - |
| 2946 | QVector<QStringRef> QString::splitRef(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
| 2947 | { | - |
| 2948 | returnexecuted 2243 times by 13 tests: return splitString<QVector<QStringRef> >(QStringRef(this), sep.constData(), behavior, cs, sep.size());Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
splitString<QVector<QStringRef> >(QStringRef(this), sep.constData(), behavior, cs, sep.size());executed 2243 times by 13 tests: return splitString<QVector<QStringRef> >(QStringRef(this), sep.constData(), behavior, cs, sep.size());Executed by:- tst_QCommandLineParser
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qmakelib
- tst_rcc
| 2243 |
| 2949 | } | - |
| 2950 | | - |
| 2951 | | - |
| 2952 | | - |
| 2953 | QStringList QString::split(QChar sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
| 2954 | { | - |
| 2955 | returnexecuted 74194 times by 258 tests: return splitString<QStringList>(*this, &sep, behavior, cs, 1);Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
splitString<QStringList>(*this, &sep, behavior, cs, 1);executed 74194 times by 258 tests: return splitString<QStringList>(*this, &sep, behavior, cs, 1);Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 74194 |
| 2956 | } | - |
| 2957 | | - |
| 2958 | | - |
| 2959 | | - |
| 2960 | | - |
| 2961 | | - |
| 2962 | QVector<QStringRef> QString::splitRef(QChar sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
| 2963 | { | - |
| 2964 | returnexecuted 973 times by 11 tests: return splitString<QVector<QStringRef> >(QStringRef(this), &sep, behavior, cs, 1);Executed by:- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileSystemWatcher
- tst_QNetworkRequest
- tst_QResourceEngine
- tst_QString
- tst_QTemporaryFile
- tst_QUrl
- tst_qmakelib
- tst_rcc
splitString<QVector<QStringRef> >(QStringRef(this), &sep, behavior, cs, 1);executed 973 times by 11 tests: return splitString<QVector<QStringRef> >(QStringRef(this), &sep, behavior, cs, 1);Executed by:- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileSystemWatcher
- tst_QNetworkRequest
- tst_QResourceEngine
- tst_QString
- tst_QTemporaryFile
- tst_QUrl
- tst_qmakelib
- tst_rcc
| 973 |
| 2965 | } | - |
| 2966 | QVector<QStringRef> QStringRef::split(const QString &sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
| 2967 | { | - |
| 2968 | returnexecuted 30 times by 1 test: return splitString<QVector<QStringRef> >(*this, sep.constData(), behavior, cs, sep.size()); splitString<QVector<QStringRef> >(*this, sep.constData(), behavior, cs, sep.size());executed 30 times by 1 test: return splitString<QVector<QStringRef> >(*this, sep.constData(), behavior, cs, sep.size()); | 30 |
| 2969 | } | - |
| 2970 | | - |
| 2971 | | - |
| 2972 | | - |
| 2973 | | - |
| 2974 | | - |
| 2975 | QVector<QStringRef> QStringRef::split(QChar sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
| 2976 | { | - |
| 2977 | returnexecuted 103 times by 5 tests: return splitString<QVector<QStringRef> >(*this, &sep, behavior, cs, 1);Executed by:- tst_QDate
- tst_QDateTime
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStringRef
splitString<QVector<QStringRef> >(*this, &sep, behavior, cs, 1);executed 103 times by 5 tests: return splitString<QVector<QStringRef> >(*this, &sep, behavior, cs, 1);Executed by:- tst_QDate
- tst_QDateTime
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStringRef
| 103 |
| 2978 | } | - |
| 2979 | | - |
| 2980 | | - |
| 2981 | namespace { | - |
| 2982 | template<class ResultList, typename MidMethod> | - |
| 2983 | static ResultList splitString(const QString &source, MidMethod mid, const QRegExp &rx, QString::SplitBehavior behavior) | - |
| 2984 | { | - |
| 2985 | QRegExp rx2(rx); | - |
| 2986 | ResultList list; | - |
| 2987 | int start = 0; | - |
| 2988 | int extra = 0; | - |
| 2989 | int end; | - |
| 2990 | while ((| TRUE | evaluated 14356 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
| | FALSE | evaluated 603 times by 10 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
|
end = rx2.indexIn(source, start + extra)) != -1| TRUE | evaluated 14356 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
| | FALSE | evaluated 603 times by 10 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
|
) { | 603-14356 |
| 2991 | int matchedLen = rx2.matchedLength(); | - |
| 2992 | if (start != end| TRUE | evaluated 13911 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
| | FALSE | evaluated 445 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
|
|| behavior == QString::KeepEmptyParts| TRUE | evaluated 423 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
| | FALSE | evaluated 22 times by 1 test |
) | 22-13911 |
| 2993 | list.append((source.*mid)(start, end - start));executed 14334 times by 7 tests: list.append((source.*mid)(start, end - start));Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
| 14334 |
| 2994 | start = end + matchedLen; | - |
| 2995 | extra = (| TRUE | evaluated 62 times by 1 test | | FALSE | evaluated 14294 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
|
matchedLen == 0)| TRUE | evaluated 62 times by 1 test | | FALSE | evaluated 14294 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
|
? 1 : 0; | 62-14294 |
| 2996 | }executed 14356 times by 7 tests: end of blockExecuted by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_languageChange
| 14356 |
| 2997 | if (start != source.size()| TRUE | evaluated 212 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
| | FALSE | evaluated 391 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
|
|| behavior == QString::KeepEmptyParts| TRUE | evaluated 378 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
| | FALSE | evaluated 13 times by 2 tests |
) | 13-391 |
| 2998 | list.append((source.*mid)(start, -1));executed 590 times by 9 tests: list.append((source.*mid)(start, -1));Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
| 590 |
| 2999 | returnexecuted 603 times by 10 tests: return list;Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
list;executed 603 times by 10 tests: return list;Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
| 603 |
| 3000 | } | - |
| 3001 | } | - |
| 3002 | QStringList QString::split(const QRegExp &rx, SplitBehavior behavior) const | - |
| 3003 | { | - |
| 3004 | returnexecuted 576 times by 10 tests: return splitString<QStringList>(*this, &QString::mid, rx, behavior);Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
splitString<QStringList>(*this, &QString::mid, rx, behavior);executed 576 times by 10 tests: return splitString<QStringList>(*this, &QString::mid, rx, behavior);Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
| 576 |
| 3005 | } | - |
| 3006 | QVector<QStringRef> QString::splitRef(const QRegExp &rx, SplitBehavior behavior) const | - |
| 3007 | { | - |
| 3008 | returnexecuted 27 times by 1 test: return splitString<QVector<QStringRef> >(*this, &QString::midRef, rx, behavior); splitString<QVector<QStringRef> >(*this, &QString::midRef, rx, behavior);executed 27 times by 1 test: return splitString<QVector<QStringRef> >(*this, &QString::midRef, rx, behavior); | 27 |
| 3009 | } | - |
| 3010 | | - |
| 3011 | | - |
| 3012 | | - |
| 3013 | | - |
| 3014 | namespace { | - |
| 3015 | template<class ResultList, typename MidMethod> | - |
| 3016 | static ResultList splitString(const QString &source, MidMethod mid, const QRegularExpression &re, | - |
| 3017 | QString::SplitBehavior behavior) | - |
| 3018 | { | - |
| 3019 | ResultList list; | - |
| 3020 | if (!re.isValid()| TRUE | never evaluated | | FALSE | evaluated 54 times by 1 test |
) { | 0-54 |
| 3021 | QMessageLogger(__FILE__, 6996, __PRETTY_FUNCTION__).warning("QString::split: invalid QRegularExpression object"); | - |
| 3022 | return never executed: return list; list;never executed: return list; | 0 |
| 3023 | } | - |
| 3024 | | - |
| 3025 | int start = 0; | - |
| 3026 | int end = 0; | - |
| 3027 | QRegularExpressionMatchIterator iterator = re.globalMatch(source); | - |
| 3028 | while (iterator.hasNext()| TRUE | evaluated 210 times by 1 test | | FALSE | evaluated 54 times by 1 test |
) { | 54-210 |
| 3029 | QRegularExpressionMatch match = iterator.next(); | - |
| 3030 | end = match.capturedStart(); | - |
| 3031 | if (start != end| TRUE | evaluated 146 times by 1 test | | FALSE | evaluated 64 times by 1 test |
|| behavior == QString::KeepEmptyParts| TRUE | evaluated 42 times by 1 test | | FALSE | evaluated 22 times by 1 test |
) | 22-146 |
| 3032 | list.append((source.*mid)(start, end - start));executed 188 times by 1 test: list.append((source.*mid)(start, end - start)); | 188 |
| 3033 | start = match.capturedEnd(); | - |
| 3034 | }executed 210 times by 1 test: end of block | 210 |
| 3035 | | - |
| 3036 | if (start != source.size()| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 34 times by 1 test |
|| behavior == QString::KeepEmptyParts| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 12 times by 1 test |
) | 12-34 |
| 3037 | list.append((source.*mid)(start, -1));executed 42 times by 1 test: list.append((source.*mid)(start, -1)); | 42 |
| 3038 | | - |
| 3039 | returnexecuted 54 times by 1 test: return list; list;executed 54 times by 1 test: return list; | 54 |
| 3040 | } | - |
| 3041 | } | - |
| 3042 | QStringList QString::split(const QRegularExpression &re, SplitBehavior behavior) const | - |
| 3043 | { | - |
| 3044 | returnexecuted 27 times by 1 test: return splitString<QStringList>(*this, &QString::mid, re, behavior); splitString<QStringList>(*this, &QString::mid, re, behavior);executed 27 times by 1 test: return splitString<QStringList>(*this, &QString::mid, re, behavior); | 27 |
| 3045 | } | - |
| 3046 | QVector<QStringRef> QString::splitRef(const QRegularExpression &re, SplitBehavior behavior) const | - |
| 3047 | { | - |
| 3048 | returnexecuted 27 times by 1 test: return splitString<QVector<QStringRef> >(*this, &QString::midRef, re, behavior); splitString<QVector<QStringRef> >(*this, &QString::midRef, re, behavior);executed 27 times by 1 test: return splitString<QVector<QStringRef> >(*this, &QString::midRef, re, behavior); | 27 |
| 3049 | } | - |
| 3050 | QString QString::repeated(int times) const | - |
| 3051 | { | - |
| 3052 | if (d->size == 0| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) | 5-9 |
| 3053 | returnexecuted 5 times by 1 test: return *this; *this;executed 5 times by 1 test: return *this; | 5 |
| 3054 | | - |
| 3055 | if (times <= 1| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) { | 4-5 |
| 3056 | if (times == 1| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3 times by 1 test |
) | 1-3 |
| 3057 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
| 3058 | returnexecuted 3 times by 1 test: return QString(); QString();executed 3 times by 1 test: return QString(); | 3 |
| 3059 | } | - |
| 3060 | | - |
| 3061 | const int resultSize = times * d->size; | - |
| 3062 | | - |
| 3063 | QString result; | - |
| 3064 | result.reserve(resultSize); | - |
| 3065 | if (result.d->alloc != uint(resultSize) + 1u| TRUE | never evaluated | | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) | 0-5 |
| 3066 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 3067 | | - |
| 3068 | memcpy(result.d->data(), d->data(), d->size * sizeof(ushort)); | - |
| 3069 | | - |
| 3070 | int sizeSoFar = d->size; | - |
| 3071 | ushort *end = result.d->data() + sizeSoFar; | - |
| 3072 | | - |
| 3073 | const int halfResultSize = resultSize >> 1; | - |
| 3074 | while (sizeSoFar <= halfResultSize| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
| | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) { | 5-16 |
| 3075 | memcpy(end, result.d->data(), sizeSoFar * sizeof(ushort)); | - |
| 3076 | end += sizeSoFar; | - |
| 3077 | sizeSoFar <<= 1; | - |
| 3078 | }executed 16 times by 2 tests: end of blockExecuted by:- tst_QImageReader
- tst_QString
| 16 |
| 3079 | memcpy(end, result.d->data(), (resultSize - sizeSoFar) * sizeof(ushort)); | - |
| 3080 | result.d->data()[resultSize] = '\0'; | - |
| 3081 | result.d->size = resultSize; | - |
| 3082 | returnexecuted 5 times by 2 tests: return result;Executed by:- tst_QImageReader
- tst_QString
result;executed 5 times by 2 tests: return result;Executed by:- tst_QImageReader
- tst_QString
| 5 |
| 3083 | } | - |
| 3084 | | - |
| 3085 | void qt_string_normalize(QString *data, QString::NormalizationForm mode, QChar::UnicodeVersion version, int from) | - |
| 3086 | { | - |
| 3087 | bool simple = true; | - |
| 3088 | const QChar *p = data->constData(); | - |
| 3089 | int len = data->length(); | - |
| 3090 | for (int i = from; i < len| TRUE | evaluated 614491 times by 9 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 11147 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
; ++i) { | 11147-614491 |
| 3091 | if (p[i].unicode() >= 0x80| TRUE | evaluated 566529 times by 9 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 47962 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 47962-566529 |
| 3092 | simple = false; | - |
| 3093 | if (i > from| TRUE | evaluated 32720 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 533809 times by 8 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
|
) | 32720-533809 |
| 3094 | from = i - 1;executed 32720 times by 6 tests: from = i - 1;Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 32720 |
| 3095 | break;executed 566529 times by 9 tests: break;Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
| 566529 |
| 3096 | } | - |
| 3097 | }executed 47962 times by 6 tests: end of blockExecuted by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 47962 |
| 3098 | if (simple| TRUE | evaluated 11147 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 566529 times by 9 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
|
) | 11147-566529 |
| 3099 | return;executed 11147 times by 3 tests: return;Executed by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
| 11147 |
| 3100 | | - |
| 3101 | if (version == QChar::Unicode_Unassigned| TRUE | evaluated 565704 times by 4 testsEvaluated by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
| | FALSE | evaluated 825 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 825-565704 |
| 3102 | version = QChar::currentUnicodeVersion(); | - |
| 3103 | }executed 565704 times by 4 tests: end of blockExecuted by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
else if (int(version) <= NormalizationCorrectionsVersionMax| TRUE | evaluated 825 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| | FALSE | never evaluated |
) { | 0-565704 |
| 3104 | const QString &s = *data; | - |
| 3105 | QChar *d = 0; | - |
| 3106 | for (int i = 0; i < NumNormalizationCorrections| TRUE | evaluated 4950 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 825 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
; ++i) { | 825-4950 |
| 3107 | const NormalizationCorrection &n = uc_normalization_corrections[i]; | - |
| 3108 | if (n.version > version| TRUE | evaluated 4127 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 823 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 823-4127 |
| 3109 | int pos = from; | - |
| 3110 | if (QChar::requiresSurrogates(n.ucs4)| TRUE | evaluated 4125 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 2 times by 1 test |
) { | 2-4125 |
| 3111 | ushort ucs4High = QChar::highSurrogate(n.ucs4); | - |
| 3112 | ushort ucs4Low = QChar::lowSurrogate(n.ucs4); | - |
| 3113 | ushort oldHigh = QChar::highSurrogate(n.old_mapping); | - |
| 3114 | ushort oldLow = QChar::lowSurrogate(n.old_mapping); | - |
| 3115 | while (pos < s.length() - 1| TRUE | evaluated 9480 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 4125 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 4125-9480 |
| 3116 | if (s.at(pos).unicode() == ucs4High| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 9478 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
&& s.at(pos + 1).unicode() == ucs4Low| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-9478 |
| 3117 | if (!d| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 3118 | d = data->data();executed 2 times by 1 test: d = data->data(); | 2 |
| 3119 | d[pos] = QChar(oldHigh); | - |
| 3120 | d[++pos] = QChar(oldLow); | - |
| 3121 | }executed 2 times by 1 test: end of block | 2 |
| 3122 | ++pos; | - |
| 3123 | }executed 9480 times by 6 tests: end of blockExecuted by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 9480 |
| 3124 | }executed 4125 times by 6 tests: end of blockExecuted by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
else { | 4125 |
| 3125 | while (pos < s.length()| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-3 |
| 3126 | if (s.at(pos).unicode() == n.ucs4| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 1-2 |
| 3127 | if (!d| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-1 |
| 3128 | d = data->data();executed 1 time by 1 test: d = data->data(); | 1 |
| 3129 | d[pos] = QChar(n.old_mapping); | - |
| 3130 | }executed 1 time by 1 test: end of block | 1 |
| 3131 | ++pos; | - |
| 3132 | }executed 3 times by 1 test: end of block | 3 |
| 3133 | }executed 2 times by 1 test: end of block | 2 |
| 3134 | } | - |
| 3135 | }executed 4950 times by 6 tests: end of blockExecuted by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 4950 |
| 3136 | }executed 825 times by 6 tests: end of blockExecuted by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 825 |
| 3137 | | - |
| 3138 | if (normalizationQuickCheckHelper(data, mode, from, &from)| TRUE | evaluated 400478 times by 9 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
| | FALSE | evaluated 166051 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
) | 166051-400478 |
| 3139 | return;executed 400478 times by 9 tests: return;Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
| 400478 |
| 3140 | | - |
| 3141 | decomposeHelper(data, mode < QString::NormalizationForm_KD, version, from); | - |
| 3142 | | - |
| 3143 | canonicalOrderHelper(data, version, from); | - |
| 3144 | | - |
| 3145 | if (mode == QString::NormalizationForm_D| TRUE | evaluated 40333 times by 1 test | | FALSE | evaluated 125718 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
|| mode == QString::NormalizationForm_KD| TRUE | evaluated 51335 times by 1 test | | FALSE | evaluated 74383 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
) | 40333-125718 |
| 3146 | return;executed 91668 times by 1 test: return; | 91668 |
| 3147 | | - |
| 3148 | composeHelper(data, version, from); | - |
| 3149 | }executed 74383 times by 3 tests: end of blockExecuted by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
| 74383 |
| 3150 | | - |
| 3151 | | - |
| 3152 | | - |
| 3153 | | - |
| 3154 | | - |
| 3155 | QString QString::normalized(QString::NormalizationForm mode, QChar::UnicodeVersion version) const | - |
| 3156 | { | - |
| 3157 | QString copy = *this; | - |
| 3158 | qt_string_normalize(©, mode, version, 0); | - |
| 3159 | returnexecuted 576836 times by 4 tests: return copy;Executed by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
copy;executed 576836 times by 4 tests: return copy;Executed by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
| 576836 |
| 3160 | } | - |
| 3161 | | - |
| 3162 | | - |
| 3163 | struct ArgEscapeData | - |
| 3164 | { | - |
| 3165 | int min_escape; | - |
| 3166 | int occurrences; | - |
| 3167 | int locale_occurrences; | - |
| 3168 | | - |
| 3169 | int escape_len; | - |
| 3170 | }; | - |
| 3171 | | - |
| 3172 | static ArgEscapeData findArgEscapes(const QString &s) | - |
| 3173 | { | - |
| 3174 | const QChar *uc_begin = s.unicode(); | - |
| 3175 | const QChar *uc_end = uc_begin + s.length(); | - |
| 3176 | | - |
| 3177 | ArgEscapeData d; | - |
| 3178 | | - |
| 3179 | d.min_escape = 2147483647; | - |
| 3180 | d.occurrences = 0; | - |
| 3181 | d.escape_len = 0; | - |
| 3182 | d.locale_occurrences = 0; | - |
| 3183 | | - |
| 3184 | const QChar *c = uc_begin; | - |
| 3185 | while (c != uc_end| TRUE | evaluated 22493547 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 10622012 times by 192 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
|
) { | 10622012-22493547 |
| 3186 | while (c != uc_end| TRUE | evaluated 75218581 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 309507 times by 398 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
&& c->unicode() != '%'| TRUE | evaluated 53034541 times by 438 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 22184040 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 309507-75218581 |
| 3187 | ++executed 53034541 times by 438 tests: ++c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
c;executed 53034541 times by 438 tests: ++c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 53034541 |
| 3188 | | - |
| 3189 | if (c == uc_end| TRUE | evaluated 309507 times by 398 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| | FALSE | evaluated 22184040 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 309507-22184040 |
| 3190 | break;executed 309507 times by 398 tests: break;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 309507 |
| 3191 | const QChar *escape_start = c; | - |
| 3192 | if (++| TRUE | evaluated 14 times by 2 tests | | FALSE | evaluated 22184026 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
c == uc_end| TRUE | evaluated 14 times by 2 tests | | FALSE | evaluated 22184026 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 14-22184026 |
| 3193 | break;executed 14 times by 2 tests: break; | 14 |
| 3194 | | - |
| 3195 | bool locale_arg = false; | - |
| 3196 | if (c->unicode() == 'L'| TRUE | evaluated 276 times by 2 tests | | FALSE | evaluated 22183750 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 276-22183750 |
| 3197 | locale_arg = true; | - |
| 3198 | if (++| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 260 times by 2 tests |
c == uc_end| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 260 times by 2 tests |
) | 16-260 |
| 3199 | break;executed 16 times by 1 test: break; | 16 |
| 3200 | }executed 260 times by 2 tests: end of block | 260 |
| 3201 | | - |
| 3202 | int escape = c->digitValue(); | - |
| 3203 | if (escape == -1| TRUE | evaluated 195 times by 1 test | | FALSE | evaluated 22183815 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 195-22183815 |
| 3204 | continue;executed 195 times by 1 test: continue; | 195 |
| 3205 | | - |
| 3206 | ++c; | - |
| 3207 | | - |
| 3208 | if (c != uc_end| TRUE | evaluated 11561805 times by 420 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 10622010 times by 192 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
|
) { | 10622010-11561805 |
| 3209 | int next_escape = c->digitValue(); | - |
| 3210 | if (next_escape != -1| TRUE | evaluated 94 times by 1 test | | FALSE | evaluated 11561711 times by 420 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 94-11561711 |
| 3211 | escape = (10 * escape) + next_escape; | - |
| 3212 | ++c; | - |
| 3213 | }executed 94 times by 1 test: end of block | 94 |
| 3214 | }executed 11561805 times by 420 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 11561805 |
| 3215 | | - |
| 3216 | if (escape > d.min_escape| TRUE | evaluated 11251161 times by 367 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- ...
| | FALSE | evaluated 10932654 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 10932654-11251161 |
| 3217 | continue;executed 11251161 times by 367 tests: continue;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- ...
| 11251161 |
| 3218 | | - |
| 3219 | if (escape < d.min_escape| TRUE | evaluated 10932506 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 148 times by 12 testsEvaluated by:- tst_QImage
- tst_QRawFont
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qdbusxml2cpp
|
) { | 148-10932506 |
| 3220 | d.min_escape = escape; | - |
| 3221 | d.occurrences = 0; | - |
| 3222 | d.escape_len = 0; | - |
| 3223 | d.locale_occurrences = 0; | - |
| 3224 | }executed 10932506 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10932506 |
| 3225 | | - |
| 3226 | ++d.occurrences; | - |
| 3227 | if (locale_arg| TRUE | evaluated 225 times by 2 tests | | FALSE | evaluated 10932429 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 225-10932429 |
| 3228 | ++executed 225 times by 2 tests: ++d.locale_occurrences; d.locale_occurrences;executed 225 times by 2 tests: ++d.locale_occurrences; | 225 |
| 3229 | d.escape_len += c - escape_start; | - |
| 3230 | }executed 10932654 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10932654 |
| 3231 | returnexecuted 10931549 times by 440 tests: return d;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
d;executed 10931549 times by 440 tests: return d;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10931549 |
| 3232 | } | - |
| 3233 | | - |
| 3234 | static QString replaceArgEscapes(const QString &s, const ArgEscapeData &d, int field_width, | - |
| 3235 | const QString &arg, const QString &larg, QChar fillChar = QLatin1Char(' ')) | - |
| 3236 | { | - |
| 3237 | const QChar *uc_begin = s.unicode(); | - |
| 3238 | const QChar *uc_end = uc_begin + s.length(); | - |
| 3239 | | - |
| 3240 | int abs_field_width = qAbs(field_width); | - |
| 3241 | int result_len = s.length() | - |
| 3242 | - d.escape_len | - |
| 3243 | + (d.occurrences - d.locale_occurrences) | - |
| 3244 | *qMax(abs_field_width, arg.length()) | - |
| 3245 | + d.locale_occurrences | - |
| 3246 | *qMax(abs_field_width, larg.length()); | - |
| 3247 | | - |
| 3248 | QString result(result_len, Qt::Uninitialized); | - |
| 3249 | QChar *result_buff = (QChar*) result.unicode(); | - |
| 3250 | | - |
| 3251 | QChar *rc = result_buff; | - |
| 3252 | const QChar *c = uc_begin; | - |
| 3253 | int repl_cnt = 0; | - |
| 3254 | while (c != uc_end| TRUE | evaluated 10934379 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 10931543 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 10931543-10934379 |
| 3255 | | - |
| 3256 | | - |
| 3257 | | - |
| 3258 | | - |
| 3259 | const QChar *text_start = c; | - |
| 3260 | | - |
| 3261 | while (c->unicode() != '%'| TRUE | evaluated 37290485 times by 436 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 10934379 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 10934379-37290485 |
| 3262 | ++executed 37290485 times by 436 tests: ++c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
c;executed 37290485 times by 436 tests: ++c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 37290485 |
| 3263 | | - |
| 3264 | const QChar *escape_start = c++; | - |
| 3265 | | - |
| 3266 | bool locale_arg = false; | - |
| 3267 | if (c->unicode() == 'L'| TRUE | evaluated 225 times by 2 tests | | FALSE | evaluated 10934154 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 225-10934154 |
| 3268 | locale_arg = true; | - |
| 3269 | ++c; | - |
| 3270 | }executed 225 times by 2 tests: end of block | 225 |
| 3271 | | - |
| 3272 | int escape = c->digitValue(); | - |
| 3273 | if (escape != -1| TRUE | evaluated 10934316 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 63 times by 1 test |
) { | 63-10934316 |
| 3274 | if (c + 1 != uc_end| TRUE | evaluated 7281355 times by 420 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 3652961 times by 192 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
|
&& (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 7281347 times by 420 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
c + 1)->digitValue() != -1| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 7281347 times by 420 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 8-7281355 |
| 3275 | escape = (10 * escape) + (c + 1)->digitValue(); | - |
| 3276 | ++c; | - |
| 3277 | }executed 8 times by 1 test: end of block | 8 |
| 3278 | }executed 10934316 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10934316 |
| 3279 | | - |
| 3280 | if (escape != d.min_escape| TRUE | evaluated 2690 times by 3 testsEvaluated by:- tst_QRawFont
- tst_QStandardItemModel
- tst_QString
| | FALSE | evaluated 10931689 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 2690-10931689 |
| 3281 | memcpy(rc, text_start, (c - text_start)*sizeof(QChar)); | - |
| 3282 | rc += c - text_start; | - |
| 3283 | }executed 2690 times by 3 tests: end of blockExecuted by:- tst_QRawFont
- tst_QStandardItemModel
- tst_QString
| 2690 |
| 3284 | else { | - |
| 3285 | ++c; | - |
| 3286 | | - |
| 3287 | memcpy(rc, text_start, (escape_start - text_start)*sizeof(QChar)); | - |
| 3288 | rc += escape_start - text_start; | - |
| 3289 | | - |
| 3290 | uint pad_chars; | - |
| 3291 | if (locale_arg| TRUE | evaluated 224 times by 2 tests | | FALSE | evaluated 10931465 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) | 224-10931465 |
| 3292 | pad_chars = qMax(abs_field_width, larg.length()) - larg.length();executed 224 times by 2 tests: pad_chars = qMax(abs_field_width, larg.length()) - larg.length(); | 224 |
| 3293 | else | - |
| 3294 | pad_chars = qMax(abs_field_width, arg.length()) - arg.length();executed 10931465 times by 440 tests: pad_chars = qMax(abs_field_width, arg.length()) - arg.length();Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10931465 |
| 3295 | | - |
| 3296 | if (field_width > 0| TRUE | evaluated 1102 times by 8 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemSelectionModel
- tst_QSqlQuery
- tst_QStaticText
- tst_QString
- tst_QTimeZone
- tst_QUrlInternal
| | FALSE | evaluated 10930587 times by 439 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 1102-10930587 |
| 3297 | for (uint i = 0; i < pad_chars| TRUE | evaluated 4915 times by 3 testsEvaluated by:- tst_QItemSelectionModel
- tst_QStaticText
- tst_QString
| | FALSE | evaluated 1102 times by 8 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemSelectionModel
- tst_QSqlQuery
- tst_QStaticText
- tst_QString
- tst_QTimeZone
- tst_QUrlInternal
|
; ++i) | 1102-4915 |
| 3298 | (executed 4915 times by 3 tests: (rc++)->unicode() = fillChar.unicode();Executed by:- tst_QItemSelectionModel
- tst_QStaticText
- tst_QString
rc++)->unicode() = fillChar.unicode();executed 4915 times by 3 tests: (rc++)->unicode() = fillChar.unicode();Executed by:- tst_QItemSelectionModel
- tst_QStaticText
- tst_QString
| 4915 |
| 3299 | }executed 1102 times by 8 tests: end of blockExecuted by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemSelectionModel
- tst_QSqlQuery
- tst_QStaticText
- tst_QString
- tst_QTimeZone
- tst_QUrlInternal
| 1102 |
| 3300 | | - |
| 3301 | if (locale_arg| TRUE | evaluated 224 times by 2 tests | | FALSE | evaluated 10931465 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 224-10931465 |
| 3302 | memcpy(rc, larg.unicode(), larg.length()*sizeof(QChar)); | - |
| 3303 | rc += larg.length(); | - |
| 3304 | }executed 224 times by 2 tests: end of block | 224 |
| 3305 | else { | - |
| 3306 | memcpy(rc, arg.unicode(), arg.length()*sizeof(QChar)); | - |
| 3307 | rc += arg.length(); | - |
| 3308 | }executed 10931465 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10931465 |
| 3309 | | - |
| 3310 | if (field_width < 0| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 10931684 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
|
) { | 5-10931684 |
| 3311 | for (uint i = 0; i < pad_chars| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 5 times by 1 test |
; ++i) | 5-12 |
| 3312 | (executed 12 times by 1 test: (rc++)->unicode() = fillChar.unicode(); rc++)->unicode() = fillChar.unicode();executed 12 times by 1 test: (rc++)->unicode() = fillChar.unicode(); | 12 |
| 3313 | }executed 5 times by 1 test: end of block | 5 |
| 3314 | | - |
| 3315 | if (++| TRUE | evaluated 10931543 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 146 times by 12 testsEvaluated by:- tst_QImage
- tst_QRawFont
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qdbusxml2cpp
|
repl_cnt == d.occurrences| TRUE | evaluated 10931543 times by 440 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| | FALSE | evaluated 146 times by 12 testsEvaluated by:- tst_QImage
- tst_QRawFont
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qdbusxml2cpp
|
) { | 146-10931543 |
| 3316 | memcpy(rc, c, (uc_end - c)*sizeof(QChar)); | - |
| 3317 | rc += uc_end - c; | - |
| 3318 | ((!(rc - result_buff == result_len)) ? qt_assert("rc - result_buff == result_len",__FILE__,7367) : qt_noop()); | - |
| 3319 | c = uc_end; | - |
| 3320 | }executed 10931543 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10931543 |
| 3321 | }executed 10931689 times by 440 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10931689 |
| 3322 | } | - |
| 3323 | ((!(rc == result_buff + result_len)) ? qt_assert("rc == result_buff + result_len",__FILE__,7372) : qt_noop()); | - |
| 3324 | | - |
| 3325 | returnexecuted 10931543 times by 440 tests: return result;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
result;executed 10931543 times by 440 tests: return result;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- ...
| 10931543 |
| 3326 | } | - |
| 3327 | QString QString::arg(const QString &a, int fieldWidth, QChar fillChar) const | - |
| 3328 | { | - |
| 3329 | ArgEscapeData d = findArgEscapes(*this); | - |
| 3330 | | - |
| 3331 | if (d.occurrences == 0| TRUE | never evaluated | | FALSE | evaluated 138442 times by 408 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
|
) { | 0-138442 |
| 3332 | QMessageLogger(__FILE__, 7411, __PRETTY_FUNCTION__).warning("QString::arg: Argument missing: %s, %s", toLocal8Bit().data(), | - |
| 3333 | a.toLocal8Bit().data()); | - |
| 3334 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 3335 | } | - |
| 3336 | returnexecuted 138442 times by 408 tests: return replaceArgEscapes(*this, d, fieldWidth, a, a, fillChar);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
replaceArgEscapes(*this, d, fieldWidth, a, a, fillChar);executed 138442 times by 408 tests: return replaceArgEscapes(*this, d, fieldWidth, a, a, fillChar);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| 138442 |
| 3337 | } | - |
| 3338 | QString QString::arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const | - |
| 3339 | { | - |
| 3340 | ArgEscapeData d = findArgEscapes(*this); | - |
| 3341 | | - |
| 3342 | if (d.occurrences == 0| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 10690556 times by 385 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) { | 6-10690556 |
| 3343 | QMessageLogger(__FILE__, 7615, __PRETTY_FUNCTION__).warning() << "QString::arg: Argument missing:" << *this << ',' << a; | - |
| 3344 | returnexecuted 6 times by 1 test: return *this; *this;executed 6 times by 1 test: return *this; | 6 |
| 3345 | } | - |
| 3346 | | - |
| 3347 | unsigned flags = QLocaleData::NoFlags; | - |
| 3348 | if (fillChar == QLatin1Char('0')| TRUE | evaluated 41 times by 5 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QSqlQuery
- tst_QString
- tst_QTimeZone
| | FALSE | evaluated 10690515 times by 384 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) | 41-10690515 |
| 3349 | flags = QLocaleData::ZeroPadded;executed 41 times by 5 tests: flags = QLocaleData::ZeroPadded;Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QSqlQuery
- tst_QString
- tst_QTimeZone
| 41 |
| 3350 | | - |
| 3351 | QString arg; | - |
| 3352 | if (d.occurrences > d.locale_occurrences| TRUE | evaluated 10690345 times by 385 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| | FALSE | evaluated 211 times by 2 tests |
) | 211-10690345 |
| 3353 | arg = QLocaleData::c()->longLongToString(a, -1, base, fieldWidth, flags);executed 10690345 times by 385 tests: arg = QLocaleData::c()->longLongToString(a, -1, base, fieldWidth, flags);Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 10690345 |
| 3354 | | - |
| 3355 | QString locale_arg; | - |
| 3356 | if (d.locale_occurrences > 0| TRUE | evaluated 211 times by 2 tests | | FALSE | evaluated 10690345 times by 385 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) { | 211-10690345 |
| 3357 | QLocale locale; | - |
| 3358 | if (!(locale.numberOptions() & QLocale::OmitGroupSeparator)| TRUE | evaluated 209 times by 2 tests | | FALSE | evaluated 2 times by 1 test |
) | 2-209 |
| 3359 | flags |= QLocaleData::ThousandsGroup;executed 209 times by 2 tests: flags |= QLocaleData::ThousandsGroup; | 209 |
| 3360 | locale_arg = locale.d->m_data->longLongToString(a, -1, base, fieldWidth, flags); | - |
| 3361 | }executed 211 times by 2 tests: end of block | 211 |
| 3362 | | - |
| 3363 | returnexecuted 10690556 times by 385 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);executed 10690556 times by 385 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 10690556 |
| 3364 | } | - |
| 3365 | QString QString::arg(qulonglong a, int fieldWidth, int base, QChar fillChar) const | - |
| 3366 | { | - |
| 3367 | ArgEscapeData d = findArgEscapes(*this); | - |
| 3368 | | - |
| 3369 | if (d.occurrences == 0| TRUE | never evaluated | | FALSE | evaluated 6442 times by 14 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_QXmlStream
- tst_qstandardpaths
|
) { | 0-6442 |
| 3370 | QMessageLogger(__FILE__, 7659, __PRETTY_FUNCTION__).warning() << "QString::arg: Argument missing:" << *this << ',' << a; | - |
| 3371 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 3372 | } | - |
| 3373 | | - |
| 3374 | unsigned flags = QLocaleData::NoFlags; | - |
| 3375 | if (fillChar == QLatin1Char('0')| TRUE | evaluated 442 times by 1 test | | FALSE | evaluated 6000 times by 13 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QXmlStream
- tst_qstandardpaths
|
) | 442-6000 |
| 3376 | flags = QLocaleData::ZeroPadded;executed 442 times by 1 test: flags = QLocaleData::ZeroPadded; | 442 |
| 3377 | | - |
| 3378 | QString arg; | - |
| 3379 | if (d.occurrences > d.locale_occurrences| TRUE | evaluated 6442 times by 14 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_QXmlStream
- tst_qstandardpaths
| | FALSE | never evaluated |
) | 0-6442 |
| 3380 | arg = QLocaleData::c()->unsLongLongToString(a, -1, base, fieldWidth, flags);executed 6442 times by 14 tests: arg = QLocaleData::c()->unsLongLongToString(a, -1, base, fieldWidth, flags);Executed by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_QXmlStream
- tst_qstandardpaths
| 6442 |
| 3381 | | - |
| 3382 | QString locale_arg; | - |
| 3383 | if (d.locale_occurrences > 0| TRUE | never evaluated | | FALSE | evaluated 6442 times by 14 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_QXmlStream
- tst_qstandardpaths
|
) { | 0-6442 |
| 3384 | QLocale locale; | - |
| 3385 | if (!(locale.numberOptions() & QLocale::OmitGroupSeparator)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 3386 | flags |= QLocaleData::ThousandsGroup; never executed: flags |= QLocaleData::ThousandsGroup; | 0 |
| 3387 | locale_arg = locale.d->m_data->unsLongLongToString(a, -1, base, fieldWidth, flags); | - |
| 3388 | } never executed: end of block | 0 |
| 3389 | | - |
| 3390 | returnexecuted 6442 times by 14 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);Executed by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_QXmlStream
- tst_qstandardpaths
replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);executed 6442 times by 14 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);Executed by:- tst_QDateTime
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMetaType
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_QXmlStream
- tst_qstandardpaths
| 6442 |
| 3391 | } | - |
| 3392 | QString QString::arg(QChar a, int fieldWidth, QChar fillChar) const | - |
| 3393 | { | - |
| 3394 | QString c; | - |
| 3395 | c += a; | - |
| 3396 | returnexecuted 419 times by 14 tests: return arg(c, fieldWidth, fillChar);Executed by:- tst_QDateTime
- tst_QFileSystemModel
- tst_QListWidget
- tst_QRegExp
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
arg(c, fieldWidth, fillChar);executed 419 times by 14 tests: return arg(c, fieldWidth, fillChar);Executed by:- tst_QDateTime
- tst_QFileSystemModel
- tst_QListWidget
- tst_QRegExp
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
| 419 |
| 3397 | } | - |
| 3398 | | - |
| 3399 | | - |
| 3400 | | - |
| 3401 | | - |
| 3402 | | - |
| 3403 | | - |
| 3404 | QString QString::arg(char a, int fieldWidth, QChar fillChar) const | - |
| 3405 | { | - |
| 3406 | QString c; | - |
| 3407 | c += QLatin1Char(a); | - |
| 3408 | returnexecuted 4 times by 2 tests: return arg(c, fieldWidth, fillChar); arg(c, fieldWidth, fillChar);executed 4 times by 2 tests: return arg(c, fieldWidth, fillChar); | 4 |
| 3409 | } | - |
| 3410 | QString QString::arg(double a, int fieldWidth, char fmt, int prec, QChar fillChar) const | - |
| 3411 | { | - |
| 3412 | ArgEscapeData d = findArgEscapes(*this); | - |
| 3413 | | - |
| 3414 | if (d.occurrences == 0| TRUE | never evaluated | | FALSE | evaluated 96103 times by 10 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
|
) { | 0-96103 |
| 3415 | QMessageLogger(__FILE__, 7771, __PRETTY_FUNCTION__).warning("QString::arg: Argument missing: %s, %g", toLocal8Bit().data(), a); | - |
| 3416 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 3417 | } | - |
| 3418 | | - |
| 3419 | unsigned flags = QLocaleData::NoFlags; | - |
| 3420 | if (fillChar == QLatin1Char('0')| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 96098 times by 10 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
|
) | 5-96098 |
| 3421 | flags = QLocaleData::ZeroPadded;executed 5 times by 1 test: flags = QLocaleData::ZeroPadded; | 5 |
| 3422 | | - |
| 3423 | if (qIsUpper(fmt)| TRUE | never evaluated | | FALSE | evaluated 96103 times by 10 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
|
) | 0-96103 |
| 3424 | flags |= QLocaleData::CapitalEorX; never executed: flags |= QLocaleData::CapitalEorX; | 0 |
| 3425 | fmt = qToLower(fmt); | - |
| 3426 | | - |
| 3427 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
| 3428 | switch (fmt) { | - |
| 3429 | case never executed: case 'f': 'f':never executed: case 'f': | 0 |
| 3430 | form = QLocaleData::DFDecimal; | - |
| 3431 | break; never executed: break; | 0 |
| 3432 | case never executed: case 'e': 'e':never executed: case 'e': | 0 |
| 3433 | form = QLocaleData::DFExponent; | - |
| 3434 | break; never executed: break; | 0 |
| 3435 | caseexecuted 96103 times by 10 tests: case 'g':Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
'g':executed 96103 times by 10 tests: case 'g':Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| 96103 |
| 3436 | form = QLocaleData::DFSignificantDigits; | - |
| 3437 | break;executed 96103 times by 10 tests: break;Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| 96103 |
| 3438 | default never executed: default: :never executed: default: | 0 |
| 3439 | | - |
| 3440 | | - |
| 3441 | | - |
| 3442 | break; never executed: break; | 0 |
| 3443 | } | - |
| 3444 | | - |
| 3445 | QString arg; | - |
| 3446 | if (d.occurrences > d.locale_occurrences| TRUE | evaluated 96094 times by 10 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| | FALSE | evaluated 9 times by 1 test |
) | 9-96094 |
| 3447 | arg = QLocaleData::c()->doubleToString(a, prec, form, fieldWidth, flags);executed 96094 times by 10 tests: arg = QLocaleData::c()->doubleToString(a, prec, form, fieldWidth, flags);Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| 96094 |
| 3448 | | - |
| 3449 | QString locale_arg; | - |
| 3450 | if (d.locale_occurrences > 0| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 96094 times by 10 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
|
) { | 9-96094 |
| 3451 | QLocale locale; | - |
| 3452 | | - |
| 3453 | if (!(locale.numberOptions() & QLocale::OmitGroupSeparator)| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-7 |
| 3454 | flags |= QLocaleData::ThousandsGroup;executed 7 times by 1 test: flags |= QLocaleData::ThousandsGroup; | 7 |
| 3455 | locale_arg = locale.d->m_data->doubleToString(a, prec, form, fieldWidth, flags); | - |
| 3456 | }executed 9 times by 1 test: end of block | 9 |
| 3457 | | - |
| 3458 | returnexecuted 96103 times by 10 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);executed 96103 times by 10 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| 96103 |
| 3459 | } | - |
| 3460 | | - |
| 3461 | static int getEscape(const QChar *uc, int *pos, int len, int maxNumber = 999) | - |
| 3462 | { | - |
| 3463 | int i = *pos; | - |
| 3464 | ++i; | - |
| 3465 | if (i < len| TRUE | evaluated 675339 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | never evaluated |
&& uc[i] == QLatin1Char('L')| TRUE | never evaluated | | FALSE | evaluated 675339 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 0-675339 |
| 3466 | ++ never executed: ++i; i;never executed: ++i; | 0 |
| 3467 | if (i < len| TRUE | evaluated 675339 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | never evaluated |
) { | 0-675339 |
| 3468 | int escape = uc[i].unicode() - '0'; | - |
| 3469 | if (uint(escape) >= 10U| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 675335 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 4-675335 |
| 3470 | returnexecuted 4 times by 1 test: return -1; -1;executed 4 times by 1 test: return -1; | 4 |
| 3471 | ++i; | - |
| 3472 | while (i < len| TRUE | evaluated 670450 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 4907 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QChar
- tst_QDBusMarshall
- tst_QDnsLookup
- tst_QFileSystemWatcher
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QKeySequence
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPluginLoader
- tst_QRawFont
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qmakelib
- ...
|
) { | 4907-670450 |
| 3473 | int digit = uc[i].unicode() - '0'; | - |
| 3474 | if (uint(digit) >= 10U| TRUE | evaluated 670428 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 22 times by 1 test |
) | 22-670428 |
| 3475 | break;executed 670428 times by 332 tests: break;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 670428 |
| 3476 | escape = (escape * 10) + digit; | - |
| 3477 | ++i; | - |
| 3478 | }executed 22 times by 1 test: end of block | 22 |
| 3479 | if (escape <= maxNumber| TRUE | evaluated 675333 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 2 times by 1 test |
) { | 2-675333 |
| 3480 | *pos = i; | - |
| 3481 | returnexecuted 675333 times by 332 tests: return escape;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
escape;executed 675333 times by 332 tests: return escape;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 675333 |
| 3482 | } | - |
| 3483 | }executed 2 times by 1 test: end of block | 2 |
| 3484 | returnexecuted 2 times by 1 test: return -1; -1;executed 2 times by 1 test: return -1; | 2 |
| 3485 | } | - |
| 3486 | namespace { | - |
| 3487 | struct Part | - |
| 3488 | { | - |
| 3489 | Part() : stringRef(), number(0) {} never executed: end of block | 0 |
| 3490 | Part(const QString &s, int pos, int len, int num = -1) noexcept | - |
| 3491 | : stringRef(&s, pos, len), number(num) {}executed 1511589 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 1511589 |
| 3492 | | - |
| 3493 | QStringRef stringRef; | - |
| 3494 | int number; | - |
| 3495 | }; | - |
| 3496 | } | - |
| 3497 | | - |
| 3498 | template <> | - |
| 3499 | class QTypeInfo<Part> : public QTypeInfoMerger<Part, QStringRef, int> {}; | - |
| 3500 | | - |
| 3501 | | - |
| 3502 | namespace { | - |
| 3503 | | - |
| 3504 | enum { ExpectedParts = 32 }; | - |
| 3505 | | - |
| 3506 | typedef QVarLengthArray<Part, ExpectedParts> ParseResult; | - |
| 3507 | typedef QVarLengthArray<int, ExpectedParts/2> ArgIndexToPlaceholderMap; | - |
| 3508 | | - |
| 3509 | static ParseResult parseMultiArgFormatString(const QString &s) | - |
| 3510 | { | - |
| 3511 | ParseResult result; | - |
| 3512 | | - |
| 3513 | const QChar *uc = s.constData(); | - |
| 3514 | const int len = s.size(); | - |
| 3515 | const int end = len - 1; | - |
| 3516 | int i = 0; | - |
| 3517 | int last = 0; | - |
| 3518 | | - |
| 3519 | while (i < end| TRUE | evaluated 6557102 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 176270 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) { | 176270-6557102 |
| 3520 | if (uc[i] == QLatin1Char('%')| TRUE | evaluated 675339 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 5881763 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) { | 675339-5881763 |
| 3521 | int percent = i; | - |
| 3522 | int number = getEscape(uc, &i, len); | - |
| 3523 | if (number != -1| TRUE | evaluated 675333 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 6 times by 1 test |
) { | 6-675333 |
| 3524 | if (last != percent| TRUE | evaluated 664892 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 10441 times by 314 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 10441-664892 |
| 3525 | result.push_back(Part(s, last, percent - last));executed 664892 times by 332 tests: result.push_back(Part(s, last, percent - last));Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 664892 |
| 3526 | result.push_back(Part(s, percent, i - percent, number)); | - |
| 3527 | last = i; | - |
| 3528 | continue;executed 675333 times by 332 tests: continue;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 675333 |
| 3529 | } | - |
| 3530 | }executed 6 times by 1 test: end of block | 6 |
| 3531 | ++i; | - |
| 3532 | }executed 5881769 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 5881769 |
| 3533 | | - |
| 3534 | if (last < len| TRUE | evaluated 171364 times by 313 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| | FALSE | evaluated 4906 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QChar
- tst_QDBusMarshall
- tst_QDnsLookup
- tst_QFileSystemWatcher
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QKeySequence
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPluginLoader
- tst_QRawFont
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Spdy
- tst_qdbuscpp2xml
- tst_qmakelib
- ...
|
) | 4906-171364 |
| 3535 | result.push_back(Part(s, last, len - last));executed 171364 times by 313 tests: result.push_back(Part(s, last, len - last));Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 171364 |
| 3536 | | - |
| 3537 | returnexecuted 176270 times by 332 tests: return result;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
result;executed 176270 times by 332 tests: return result;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 176270 |
| 3538 | } | - |
| 3539 | | - |
| 3540 | static ArgIndexToPlaceholderMap makeArgIndexToPlaceholderMap(const ParseResult &parts) | - |
| 3541 | { | - |
| 3542 | ArgIndexToPlaceholderMap result; | - |
| 3543 | | - |
| 3544 | for (ParseResult::const_iterator it = parts.begin(), end = parts.end(); it != end| TRUE | evaluated 1511589 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 176270 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
; ++it) { | 176270-1511589 |
| 3545 | if (it->number >= 0| TRUE | evaluated 675333 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 836256 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 675333-836256 |
| 3546 | result.push_back(it->number);executed 675333 times by 332 tests: result.push_back(it->number);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 675333 |
| 3547 | }executed 1511589 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 1511589 |
| 3548 | | - |
| 3549 | std::sort(result.begin(), result.end()); | - |
| 3550 | result.erase(std::unique(result.begin(), result.end()), | - |
| 3551 | result.end()); | - |
| 3552 | | - |
| 3553 | returnexecuted 176270 times by 332 tests: return result;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
result;executed 176270 times by 332 tests: return result;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 176270 |
| 3554 | } | - |
| 3555 | | - |
| 3556 | static int resolveStringRefsAndReturnTotalSize(ParseResult &parts, const ArgIndexToPlaceholderMap &argIndexToPlaceholderMap, const QString *args[]) | - |
| 3557 | { | - |
| 3558 | int totalSize = 0; | - |
| 3559 | for (ParseResult::iterator pit = parts.begin(), end = parts.end(); pit != end| TRUE | evaluated 1511589 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 176270 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
; ++pit) { | 176270-1511589 |
| 3560 | if (pit->number != -1| TRUE | evaluated 675333 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 836256 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) { | 675333-836256 |
| 3561 | const ArgIndexToPlaceholderMap::const_iterator ait | - |
| 3562 | = std::find(argIndexToPlaceholderMap.begin(), argIndexToPlaceholderMap.end(), pit->number); | - |
| 3563 | if (ait != argIndexToPlaceholderMap.end()| TRUE | evaluated 675304 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QKeySequence
- tst_QString
|
) | 29-675304 |
| 3564 | pit->stringRef = QStringRef(args[ait - argIndexToPlaceholderMap.begin()]);executed 675304 times by 332 tests: pit->stringRef = QStringRef(args[ait - argIndexToPlaceholderMap.begin()]);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 675304 |
| 3565 | }executed 675333 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 675333 |
| 3566 | totalSize += pit->stringRef.size(); | - |
| 3567 | }executed 1511589 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 1511589 |
| 3568 | returnexecuted 176270 times by 332 tests: return totalSize;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
totalSize;executed 176270 times by 332 tests: return totalSize;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 176270 |
| 3569 | } | - |
| 3570 | | - |
| 3571 | } | - |
| 3572 | | - |
| 3573 | QString QString::multiArg(int numArgs, const QString **args) const | - |
| 3574 | { | - |
| 3575 | | - |
| 3576 | ParseResult parts = parseMultiArgFormatString(*this); | - |
| 3577 | | - |
| 3578 | | - |
| 3579 | ArgIndexToPlaceholderMap argIndexToPlaceholderMap = makeArgIndexToPlaceholderMap(parts); | - |
| 3580 | | - |
| 3581 | if (argIndexToPlaceholderMap.size() > numArgs| TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QKeySequence
- tst_QString
| | FALSE | evaluated 176243 times by 331 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 27-176243 |
| 3582 | argIndexToPlaceholderMap.resize(numArgs);executed 27 times by 2 tests: argIndexToPlaceholderMap.resize(numArgs);Executed by:- tst_QKeySequence
- tst_QString
| 27 |
| 3583 | else if (argIndexToPlaceholderMap.size() < numArgs| TRUE | never evaluated | | FALSE | evaluated 176243 times by 331 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 0-176243 |
| 3584 | QMessageLogger(__FILE__, 7975, __PRETTY_FUNCTION__).warning("QString::arg: %d argument(s) missing in %s", never executed: QMessageLogger(__FILE__, 7975, __PRETTY_FUNCTION__).warning("QString::arg: %d argument(s) missing in %s", numArgs - argIndexToPlaceholderMap.size(), toLocal8Bit().data()); | 0 |
| 3585 | numArgs - argIndexToPlaceholderMap.size(), toLocal8Bit().data()); never executed: QMessageLogger(__FILE__, 7975, __PRETTY_FUNCTION__).warning("QString::arg: %d argument(s) missing in %s", numArgs - argIndexToPlaceholderMap.size(), toLocal8Bit().data()); | 0 |
| 3586 | | - |
| 3587 | | - |
| 3588 | const int totalSize = resolveStringRefsAndReturnTotalSize(parts, argIndexToPlaceholderMap, args); | - |
| 3589 | | - |
| 3590 | | - |
| 3591 | QString result(totalSize, Qt::Uninitialized); | - |
| 3592 | QChar *out = result.data(); | - |
| 3593 | | - |
| 3594 | for (ParseResult::const_iterator it = parts.begin(), end = parts.end(); it != end| TRUE | evaluated 1511589 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 176270 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
; ++it) { | 176270-1511589 |
| 3595 | if (const| TRUE | evaluated 1508615 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 2974 times by 14 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QKeySequence
- tst_Selftests
- tst_Spdy
- tst_qdbusabstractadaptor - unknown status
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
|
int sz = it->stringRef.size()| TRUE | evaluated 1508615 times by 332 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| | FALSE | evaluated 2974 times by 14 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QKeySequence
- tst_Selftests
- tst_Spdy
- tst_qdbusabstractadaptor - unknown status
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
|
) { | 2974-1508615 |
| 3596 | memcpy(out, it->stringRef.constData(), sz * sizeof(QChar)); | - |
| 3597 | out += sz; | - |
| 3598 | }executed 1508615 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 1508615 |
| 3599 | }executed 1511589 times by 332 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 1511589 |
| 3600 | | - |
| 3601 | returnexecuted 176270 times by 332 tests: return result;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
result;executed 176270 times by 332 tests: return result;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 176270 |
| 3602 | } | - |
| 3603 | bool QString::isSimpleText() const | - |
| 3604 | { | - |
| 3605 | const ushort *p = d->data(); | - |
| 3606 | const ushort * const end = p + d->size; | - |
| 3607 | while (p < end| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 3608 | ushort uc = *p; | - |
| 3609 | | - |
| 3610 | if (uc > 0x058f| TRUE | never evaluated | | FALSE | never evaluated |
&& (uc < 0x1100| TRUE | never evaluated | | FALSE | never evaluated |
|| uc > 0xfb0f| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0 |
| 3611 | return never executed: return false; false;never executed: return false; | 0 |
| 3612 | } | - |
| 3613 | p++; | - |
| 3614 | } never executed: end of block | 0 |
| 3615 | | - |
| 3616 | return never executed: return true; true;never executed: return true; | 0 |
| 3617 | } | - |
| 3618 | | - |
| 3619 | | - |
| 3620 | | - |
| 3621 | | - |
| 3622 | | - |
| 3623 | bool QString::isRightToLeft() const | - |
| 3624 | { | - |
| 3625 | const ushort *p = d->data(); | - |
| 3626 | const ushort * const end = p + d->size; | - |
| 3627 | while (p < end| TRUE | evaluated 762475 times by 99 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- ...
| | FALSE | evaluated 99380 times by 50 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
) { | 99380-762475 |
| 3628 | uint ucs4 = *p; | - |
| 3629 | if (QChar::isHighSurrogate(ucs4)| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QTextLayout
| | FALSE | evaluated 762465 times by 99 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- ...
|
&& p < end - 1| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QTextLayout
| | FALSE | never evaluated |
) { | 0-762465 |
| 3630 | ushort low = p[1]; | - |
| 3631 | if (QChar::isLowSurrogate(low)| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QTextLayout
| | FALSE | never evaluated |
) { | 0-10 |
| 3632 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
| 3633 | ++p; | - |
| 3634 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QTextLayout
| 10 |
| 3635 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QTextLayout
| 10 |
| 3636 | switch (QChar::direction(ucs4)) | - |
| 3637 | { | - |
| 3638 | caseexecuted 66885 times by 93 tests: case QChar::DirL:Executed by:- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
QChar::DirL:executed 66885 times by 93 tests: case QChar::DirL:Executed by:- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 66885 |
| 3639 | returnexecuted 66885 times by 93 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
false;executed 66885 times by 93 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 66885 |
| 3640 | caseexecuted 428 times by 5 tests: case QChar::DirR:Executed by:- tst_QFontDatabase
- tst_QLineEdit
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextEdit
QChar::DirR:executed 428 times by 5 tests: case QChar::DirR:Executed by:- tst_QFontDatabase
- tst_QLineEdit
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextEdit
| 428 |
| 3641 | caseexecuted 21 times by 5 tests: case QChar::DirAL:Executed by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QString
QChar::DirAL:executed 21 times by 5 tests: case QChar::DirAL:Executed by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QString
| 21 |
| 3642 | returnexecuted 449 times by 9 tests: return true;Executed by:- tst_QComplexText
- tst_QFontDatabase
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QRawFont
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextEdit
true;executed 449 times by 9 tests: return true;Executed by:- tst_QComplexText
- tst_QFontDatabase
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QRawFont
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextEdit
| 449 |
| 3643 | defaultexecuted 695141 times by 59 tests: default:Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
:executed 695141 times by 59 tests: default:Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
| 695141 |
| 3644 | break;executed 695141 times by 59 tests: break;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
| 695141 |
| 3645 | } | - |
| 3646 | ++p; | - |
| 3647 | }executed 695141 times by 59 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
| 695141 |
| 3648 | returnexecuted 99380 times by 50 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
false;executed 99380 times by 50 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 99380 |
| 3649 | } | - |
| 3650 | QString QString::fromRawData(const QChar *unicode, int size) | - |
| 3651 | { | - |
| 3652 | Data *x; | - |
| 3653 | if (!unicode| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 79154 times by 91 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 2-79154 |
| 3654 | x = Data::sharedNull(); | - |
| 3655 | }executed 2 times by 1 test: end of block else if (!size| TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QUrl
- tst_QUrlInternal
- tst_qmakelib
| | FALSE | evaluated 79136 times by 91 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 2-79136 |
| 3656 | x = Data::allocate(0); | - |
| 3657 | }executed 18 times by 4 tests: end of blockExecuted by:- tst_QNetworkCookieJar
- tst_QUrl
- tst_QUrlInternal
- tst_qmakelib
else { | 18 |
| 3658 | x = Data::fromRawData(reinterpret_cast<const ushort *>(unicode), size); | - |
| 3659 | do { if (!(x)| TRUE | never evaluated | | FALSE | evaluated 79136 times by 91 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-79136 |
| 3660 | }executed 79136 times by 91 tests: end of blockExecuted by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 79136 |
| 3661 | QStringDataPtr dataPtr = { x }; | - |
| 3662 | returnexecuted 79156 times by 91 tests: return QString(dataPtr);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
QString(dataPtr);executed 79156 times by 91 tests: return QString(dataPtr);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 79156 |
| 3663 | } | - |
| 3664 | QString &QString::setRawData(const QChar *unicode, int size) | - |
| 3665 | { | - |
| 3666 | if (d->ref.isShared()| TRUE | evaluated 761 times by 2 tests | | FALSE | evaluated 608 times by 2 tests |
|| d->alloc| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 607 times by 2 tests |
) { | 1-761 |
| 3667 | *this = fromRawData(unicode, size); | - |
| 3668 | }executed 762 times by 2 tests: end of block else { | 762 |
| 3669 | if (unicode| TRUE | evaluated 607 times by 2 tests | | FALSE | never evaluated |
) { | 0-607 |
| 3670 | d->size = size; | - |
| 3671 | d->offset = reinterpret_cast<const char *>(unicode) - reinterpret_cast<char *>(d); | - |
| 3672 | }executed 607 times by 2 tests: end of block else { | 607 |
| 3673 | d->offset = sizeof(QStringData); | - |
| 3674 | d->size = 0; | - |
| 3675 | } never executed: end of block | 0 |
| 3676 | } | - |
| 3677 | returnexecuted 1369 times by 2 tests: return *this; *this;executed 1369 times by 2 tests: return *this; | 1369 |
| 3678 | } | - |
| 3679 | QDataStream &operator<<(QDataStream &out, const QString &str) | - |
| 3680 | { | - |
| 3681 | if (out.version() == 1| TRUE | never evaluated | | FALSE | evaluated 15252 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
|
) { | 0-15252 |
| 3682 | out << str.toLatin1(); | - |
| 3683 | } never executed: end of block else { | 0 |
| 3684 | if (!str.isNull()| TRUE | evaluated 14893 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
| | FALSE | evaluated 359 times by 12 testsEvaluated by:- tst_QDataStream
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QStandardItem
- tst_QVariant
|
|| out.version() < 3| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 358 times by 12 testsEvaluated by:- tst_QDataStream
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QStandardItem
- tst_QVariant
|
) { | 1-14893 |
| 3685 | if ((| TRUE | never evaluated | | FALSE | evaluated 14894 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
|
out.byteOrder() == QDataStream::BigEndian) == (QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated | | FALSE | evaluated 14894 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
|
) { | 0-14894 |
| 3686 | out.writeBytes(reinterpret_cast<const char *>(str.unicode()), sizeof(QChar) * str.length()); | - |
| 3687 | } never executed: end of block else { | 0 |
| 3688 | QVarLengthArray<ushort> buffer(str.length()); | - |
| 3689 | const ushort *data = reinterpret_cast<const ushort *>(str.constData()); | - |
| 3690 | for (int i = 0; i < str.length()| TRUE | evaluated 46886 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
| | FALSE | evaluated 14894 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
|
; i++) { | 14894-46886 |
| 3691 | buffer[i] = qbswap(*data); | - |
| 3692 | ++data; | - |
| 3693 | }executed 46886 times by 28 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
| 46886 |
| 3694 | out.writeBytes(reinterpret_cast<const char *>(buffer.data()), sizeof(ushort) * buffer.size()); | - |
| 3695 | }executed 14894 times by 28 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
| 14894 |
| 3696 | } else { | - |
| 3697 | | - |
| 3698 | out << (quint32)0xffffffff; | - |
| 3699 | }executed 358 times by 12 tests: end of blockExecuted by:- tst_QDataStream
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QStandardItem
- tst_QVariant
| 358 |
| 3700 | } | - |
| 3701 | returnexecuted 15252 times by 28 tests: return out;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
out;executed 15252 times by 28 tests: return out;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- ...
| 15252 |
| 3702 | } | - |
| 3703 | QDataStream &operator>>(QDataStream &in, QString &str) | - |
| 3704 | { | - |
| 3705 | if (in.version() == 1| TRUE | never evaluated | | FALSE | evaluated 15640 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
) { | 0-15640 |
| 3706 | QByteArray l; | - |
| 3707 | in >> l; | - |
| 3708 | str = QString::fromLatin1(l); | - |
| 3709 | } never executed: end of block else { | 0 |
| 3710 | quint32 bytes = 0; | - |
| 3711 | in >> bytes; | - |
| 3712 | if (bytes == 0xffffffff| TRUE | evaluated 354 times by 12 testsEvaluated by:- tst_QDataStream
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QStandardItem
- tst_QVariant
| | FALSE | evaluated 15286 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
) { | 354-15286 |
| 3713 | str.clear(); | - |
| 3714 | }executed 354 times by 12 tests: end of blockExecuted by:- tst_QDataStream
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QStandardItem
- tst_QVariant
else if (bytes > 0| TRUE | evaluated 15033 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| | FALSE | evaluated 253 times by 5 testsEvaluated by:- tst_QDataStream
- tst_QMetaType
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
|
) { | 253-15033 |
| 3715 | if (bytes & 0x1| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 15027 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
) { | 6-15027 |
| 3716 | str.clear(); | - |
| 3717 | in.setStatus(QDataStream::ReadCorruptData); | - |
| 3718 | returnexecuted 6 times by 1 test: return in; in;executed 6 times by 1 test: return in; | 6 |
| 3719 | } | - |
| 3720 | | - |
| 3721 | const quint32 Step = 1024 * 1024; | - |
| 3722 | quint32 len = bytes / 2; | - |
| 3723 | quint32 allocated = 0; | - |
| 3724 | | - |
| 3725 | while (allocated < len| TRUE | evaluated 15039 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| | FALSE | evaluated 15013 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
) { | 15013-15039 |
| 3726 | int blockSize = qMin(Step, len - allocated); | - |
| 3727 | str.resize(allocated + blockSize); | - |
| 3728 | if (in.readRawData(reinterpret_cast<char *>(str.data()) + allocated * 2,| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 15025 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
| 14-15025 |
| 3729 | blockSize * 2) != blockSize * 2| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 15025 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
) { | 14-15025 |
| 3730 | str.clear(); | - |
| 3731 | in.setStatus(QDataStream::ReadPastEnd); | - |
| 3732 | returnexecuted 14 times by 1 test: return in; in;executed 14 times by 1 test: return in; | 14 |
| 3733 | } | - |
| 3734 | allocated += blockSize; | - |
| 3735 | }executed 15025 times by 28 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| 15025 |
| 3736 | | - |
| 3737 | if ((| TRUE | evaluated 15013 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| | FALSE | never evaluated |
in.byteOrder() == QDataStream::BigEndian)| TRUE | evaluated 15013 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| | FALSE | never evaluated |
| 0-15013 |
| 3738 | != (QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | evaluated 15013 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| | FALSE | never evaluated |
) { | 0-15013 |
| 3739 | ushort *data = reinterpret_cast<ushort *>(str.data()); | - |
| 3740 | while (len--| TRUE | evaluated 12630552 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| | FALSE | evaluated 15013 times by 28 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
|
) { | 15013-12630552 |
| 3741 | *data = qbswap(*data); | - |
| 3742 | ++data; | - |
| 3743 | }executed 12630552 times by 28 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| 12630552 |
| 3744 | }executed 15013 times by 28 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| 15013 |
| 3745 | }executed 15013 times by 28 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
else { | 15013 |
| 3746 | str = QString(QLatin1String("")); | - |
| 3747 | }executed 253 times by 5 tests: end of blockExecuted by:- tst_QDataStream
- tst_QMetaType
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
| 253 |
| 3748 | } | - |
| 3749 | returnexecuted 15620 times by 28 tests: return in;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
in;executed 15620 times by 28 tests: return in;Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QDateTime
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFont
- tst_QGuiVariant
- tst_QHostAddress
- tst_QIcon
- tst_QListWidget
- tst_QMainWindow
- tst_QMetaType
- tst_QNetworkReply
- tst_QPicture
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QString
- tst_QTableWidget
- tst_QTimeZone
- ...
| 15620 |
| 3750 | } | - |
| 3751 | QString QStringRef::toString() const { | - |
| 3752 | if (!m_string| TRUE | evaluated 17923 times by 16 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QXmlStream
- tst_qdbusxml2cpp - unknown status
| | FALSE | evaluated 239563 times by 52 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- ...
|
) | 17923-239563 |
| 3753 | returnexecuted 17923 times by 16 tests: return QString();Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QXmlStream
- tst_qdbusxml2cpp - unknown status
QString();executed 17923 times by 16 tests: return QString();Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QXmlStream
- tst_qdbusxml2cpp - unknown status
| 17923 |
| 3754 | if (m_size| TRUE | evaluated 239482 times by 52 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- ...
| | FALSE | evaluated 81 times by 4 testsEvaluated by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
- tst_QXmlStream
|
&& m_position == 0| TRUE | evaluated 58080 times by 33 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- ...
| | FALSE | evaluated 181402 times by 26 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSettings
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QStringRef
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- ...
|
&& m_size == m_string->size()| TRUE | evaluated 31905 times by 30 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
| | FALSE | evaluated 26175 times by 10 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QSettings
- tst_QString
- tst_QStringRef
- tst_languageChange
- tst_qmakelib
|
) | 81-239482 |
| 3755 | returnexecuted 31905 times by 30 tests: return *m_string;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
*m_string;executed 31905 times by 30 tests: return *m_string;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
| 31905 |
| 3756 | returnexecuted 207658 times by 30 tests: return QString(m_string->unicode() + m_position, m_size);Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSettings
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QStringRef
- ...
QString(m_string->unicode() + m_position, m_size);executed 207658 times by 30 tests: return QString(m_string->unicode() + m_position, m_size);Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSettings
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QStringRef
- ...
| 207658 |
| 3757 | } | - |
| 3758 | | - |
| 3759 | | - |
| 3760 | | - |
| 3761 | | - |
| 3762 | | - |
| 3763 | | - |
| 3764 | | - |
| 3765 | bool operator==(const QStringRef &s1,const QStringRef &s2) | - |
| 3766 | { returnexecuted 2052076 times by 24 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
- tst_rcc
(s1.size() == s2.size()| TRUE | evaluated 637293 times by 23 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 1414783 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
|
&&executed 2052076 times by 24 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
- tst_rcc
| 637293-2052076 |
| 3767 | qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size())| TRUE | evaluated 524160 times by 23 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 113133 times by 18 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
|
);executed 2052076 times by 24 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
- tst_rcc
| 113133-2052076 |
| 3768 | } | - |
| 3769 | | - |
| 3770 | | - |
| 3771 | | - |
| 3772 | | - |
| 3773 | | - |
| 3774 | | - |
| 3775 | bool operator==(const QString &s1,const QStringRef &s2) | - |
| 3776 | { returnexecuted 288268 times by 118 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));Executed by:- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
(s1.size() == s2.size()| TRUE | evaluated 282696 times by 118 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| | FALSE | evaluated 5572 times by 21 testsEvaluated by:- tst_QAbstractButton
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QString
- tst_QTextEdit
- tst_QTime
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
|
&&executed 288268 times by 118 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));Executed by:- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| 5572-288268 |
| 3777 | qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size())| TRUE | evaluated 282321 times by 118 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| | FALSE | evaluated 375 times by 12 testsEvaluated by:- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QKeySequence
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QXmlStream
- tst_qmakelib
|
);executed 288268 times by 118 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));Executed by:- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- ...
| 375-288268 |
| 3778 | } | - |
| 3779 | | - |
| 3780 | | - |
| 3781 | | - |
| 3782 | | - |
| 3783 | | - |
| 3784 | | - |
| 3785 | bool operator==(QLatin1String s1, const QStringRef &s2) | - |
| 3786 | { | - |
| 3787 | if (s1.size() != s2.size()| TRUE | evaluated 698948 times by 21 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QString
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
| | FALSE | evaluated 408352 times by 36 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
|
) | 408352-698948 |
| 3788 | returnexecuted 698948 times by 21 tests: return false;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QString
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
false;executed 698948 times by 21 tests: return false;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QString
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
| 698948 |
| 3789 | | - |
| 3790 | const uchar *c = reinterpret_cast<const uchar *>(s1.latin1()); | - |
| 3791 | if (!c| TRUE | never evaluated | | FALSE | evaluated 408352 times by 36 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
|
) | 0-408352 |
| 3792 | return never executed: return s2.isEmpty(); s2.isEmpty();never executed: return s2.isEmpty(); | 0 |
| 3793 | returnexecuted 408352 times by 36 tests: return ucstrncmp(s2.unicode(), c, s2.size()) == 0;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
ucstrncmp(s2.unicode(), c, s2.size()) == 0;executed 408352 times by 36 tests: return ucstrncmp(s2.unicode(), c, s2.size()) == 0;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 408352 |
| 3794 | } | - |
| 3795 | bool operator<(const QStringRef &s1,const QStringRef &s2) | - |
| 3796 | { | - |
| 3797 | returnexecuted 2981 times by 14 tests: return ucstrcmp(s1.constData(), s1.length(), s2.constData(), s2.length()) < 0;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QString
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
ucstrcmp(s1.constData(), s1.length(), s2.constData(), s2.length()) < 0;executed 2981 times by 14 tests: return ucstrcmp(s1.constData(), s1.length(), s2.constData(), s2.length()) < 0;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QString
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 2981 |
| 3798 | } | - |
| 3799 | QStringRef QStringRef::appendTo(QString *string) const | - |
| 3800 | { | - |
| 3801 | if (!string| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
) | 0-8 |
| 3802 | return never executed: return QStringRef(); QStringRef();never executed: return QStringRef(); | 0 |
| 3803 | int pos = string->size(); | - |
| 3804 | string->insert(pos, unicode(), size()); | - |
| 3805 | returnexecuted 8 times by 1 test: return QStringRef(string, pos, size()); QStringRef(string, pos, size());executed 8 times by 1 test: return QStringRef(string, pos, size()); | 8 |
| 3806 | } | - |
| 3807 | QString &QString::append(const QStringRef &str) | - |
| 3808 | { | - |
| 3809 | if (str.string() == this| TRUE | never evaluated | | FALSE | evaluated 2947 times by 16 testsEvaluated by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_qmakelib
- tst_rcc
|
) { | 0-2947 |
| 3810 | str.appendTo(this); | - |
| 3811 | } never executed: end of block else if (!str.isNull()| TRUE | evaluated 2941 times by 16 testsEvaluated by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_qmakelib
- tst_rcc
| | FALSE | evaluated 6 times by 1 test |
) { | 0-2941 |
| 3812 | int oldSize = size(); | - |
| 3813 | resize(oldSize + str.size()); | - |
| 3814 | memcpy(data() + oldSize, str.unicode(), str.size() * sizeof(QChar)); | - |
| 3815 | }executed 2941 times by 16 tests: end of blockExecuted by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_qmakelib
- tst_rcc
| 2941 |
| 3816 | returnexecuted 2947 times by 16 tests: return *this;Executed by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_qmakelib
- tst_rcc
*this;executed 2947 times by 16 tests: return *this;Executed by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_qmakelib
- tst_rcc
| 2947 |
| 3817 | } | - |
| 3818 | QStringRef QStringRef::left(int n) const | - |
| 3819 | { | - |
| 3820 | if (uint(n) >= uint(m_size)| TRUE | evaluated 42 times by 3 testsEvaluated by:- tst_QDateTime
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 104 times by 4 testsEvaluated by:- tst_QDateTime
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
|
) | 42-104 |
| 3821 | returnexecuted 42 times by 3 tests: return *this;Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
*this;executed 42 times by 3 tests: return *this;Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
| 42 |
| 3822 | returnexecuted 104 times by 4 tests: return QStringRef(m_string, m_position, n);Executed by:- tst_QDateTime
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
QStringRef(m_string, m_position, n);executed 104 times by 4 tests: return QStringRef(m_string, m_position, n);Executed by:- tst_QDateTime
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
| 104 |
| 3823 | } | - |
| 3824 | QStringRef QString::leftRef(int n) const | - |
| 3825 | { | - |
| 3826 | if (uint(n) >= uint(d->size)| TRUE | evaluated 49221 times by 7 testsEvaluated by:- tst_QPluginLoader
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| | FALSE | evaluated 24211 times by 14 testsEvaluated by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QMetaObject
- tst_QPluginLoader
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextStream
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_selftests - unknown status
|
) | 24211-49221 |
| 3827 | n = d->size;executed 49221 times by 7 tests: n = d->size;Executed by:- tst_QPluginLoader
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 49221 |
| 3828 | returnexecuted 73432 times by 14 tests: return QStringRef(this, 0, n);Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QMetaObject
- tst_QPluginLoader
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextStream
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_selftests - unknown status
QStringRef(this, 0, n);executed 73432 times by 14 tests: return QStringRef(this, 0, n);Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QMetaObject
- tst_QPluginLoader
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextStream
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_selftests - unknown status
| 73432 |
| 3829 | } | - |
| 3830 | QStringRef QStringRef::right(int n) const | - |
| 3831 | { | - |
| 3832 | if (uint(n) >= uint(m_size)| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 59 times by 5 testsEvaluated by:- tst_QDateTime
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
|
) | 9-59 |
| 3833 | returnexecuted 9 times by 1 test: return *this; *this;executed 9 times by 1 test: return *this; | 9 |
| 3834 | returnexecuted 59 times by 5 tests: return QStringRef(m_string, m_size - n + m_position, n);Executed by:- tst_QDateTime
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
QStringRef(m_string, m_size - n + m_position, n);executed 59 times by 5 tests: return QStringRef(m_string, m_size - n + m_position, n);Executed by:- tst_QDateTime
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
| 59 |
| 3835 | } | - |
| 3836 | QStringRef QString::rightRef(int n) const | - |
| 3837 | { | - |
| 3838 | if (uint(n) >= uint(d->size)| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QString
| | FALSE | evaluated 462 times by 16 testsEvaluated by:- tst_QApplication
- tst_QColor
- tst_QColorDialog
- tst_QGuiVariant
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPainter
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_languageChange
|
) | 5-462 |
| 3839 | n = d->size;executed 5 times by 2 tests: n = d->size;Executed by:- tst_QNetworkCookieJar
- tst_QString
| 5 |
| 3840 | returnexecuted 467 times by 16 tests: return QStringRef(this, d->size - n, n);Executed by:- tst_QApplication
- tst_QColor
- tst_QColorDialog
- tst_QGuiVariant
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPainter
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_languageChange
QStringRef(this, d->size - n, n);executed 467 times by 16 tests: return QStringRef(this, d->size - n, n);Executed by:- tst_QApplication
- tst_QColor
- tst_QColorDialog
- tst_QGuiVariant
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPainter
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_languageChange
| 467 |
| 3841 | } | - |
| 3842 | QStringRef QStringRef::mid(int pos, int n) const | - |
| 3843 | { | - |
| 3844 | using namespace QtPrivate; | - |
| 3845 | switch (QContainerImplHelper::mid(m_size, &pos, &n)) { | - |
| 3846 | caseexecuted 31 times by 2 tests: case QContainerImplHelper::Null:Executed by:- tst_QDateTime
- tst_QStringRef
QContainerImplHelper::Null:executed 31 times by 2 tests: case QContainerImplHelper::Null:Executed by:- tst_QDateTime
- tst_QStringRef
| 31 |
| 3847 | returnexecuted 31 times by 2 tests: return QStringRef();Executed by:- tst_QDateTime
- tst_QStringRef
QStringRef();executed 31 times by 2 tests: return QStringRef();Executed by:- tst_QDateTime
- tst_QStringRef
| 31 |
| 3848 | caseexecuted 2255 times by 4 tests: case QContainerImplHelper::Empty:Executed by:- tst_QDateTime
- tst_QLayout
- tst_QString
- tst_QStringRef
QContainerImplHelper::Empty:executed 2255 times by 4 tests: case QContainerImplHelper::Empty:Executed by:- tst_QDateTime
- tst_QLayout
- tst_QString
- tst_QStringRef
| 2255 |
| 3849 | returnexecuted 2255 times by 4 tests: return QStringRef(m_string, 0, 0);Executed by:- tst_QDateTime
- tst_QLayout
- tst_QString
- tst_QStringRef
QStringRef(m_string, 0, 0);executed 2255 times by 4 tests: return QStringRef(m_string, 0, 0);Executed by:- tst_QDateTime
- tst_QLayout
- tst_QString
- tst_QStringRef
| 2255 |
| 3850 | caseexecuted 301 times by 15 tests: case QContainerImplHelper::Full:Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QFiledialog
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_qmakelib
QContainerImplHelper::Full:executed 301 times by 15 tests: case QContainerImplHelper::Full:Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QFiledialog
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_qmakelib
| 301 |
| 3851 | returnexecuted 301 times by 15 tests: return *this;Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QFiledialog
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_qmakelib
*this;executed 301 times by 15 tests: return *this;Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QFiledialog
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_qmakelib
| 301 |
| 3852 | caseexecuted 15958 times by 19 tests: case QContainerImplHelper::Subset:Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QResourceEngine
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QTime
- tst_QUrl
- tst_QVariant
- tst_qmakelib
- tst_rcc
QContainerImplHelper::Subset:executed 15958 times by 19 tests: case QContainerImplHelper::Subset:Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QResourceEngine
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QTime
- tst_QUrl
- tst_QVariant
- tst_qmakelib
- tst_rcc
| 15958 |
| 3853 | returnexecuted 15958 times by 19 tests: return QStringRef(m_string, pos + m_position, n);Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QResourceEngine
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QTime
- tst_QUrl
- tst_QVariant
- tst_qmakelib
- tst_rcc
QStringRef(m_string, pos + m_position, n);executed 15958 times by 19 tests: return QStringRef(m_string, pos + m_position, n);Executed by:- tst_QCommandLineParser
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QLayout
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QResourceEngine
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTemporaryFile
- tst_QTime
- tst_QUrl
- tst_QVariant
- tst_qmakelib
- tst_rcc
| 15958 |
| 3854 | } | - |
| 3855 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,9525) : qt_noop()); __builtin_unreachable(); } while (0); | - |
| 3856 | return never executed: return QStringRef(); QStringRef();never executed: return QStringRef(); | 0 |
| 3857 | } | - |
| 3858 | QStringRef QString::midRef(int position, int n) const | - |
| 3859 | { | - |
| 3860 | using namespace QtPrivate; | - |
| 3861 | switch (QContainerImplHelper::mid(d->size, &position, &n)) { | - |
| 3862 | caseexecuted 273 times by 2 tests: case QContainerImplHelper::Null:Executed by:- tst_QFontComboBox
- tst_QString
QContainerImplHelper::Null:executed 273 times by 2 tests: case QContainerImplHelper::Null:Executed by:- tst_QFontComboBox
- tst_QString
| 273 |
| 3863 | returnexecuted 273 times by 2 tests: return QStringRef();Executed by:- tst_QFontComboBox
- tst_QString
QStringRef();executed 273 times by 2 tests: return QStringRef();Executed by:- tst_QFontComboBox
- tst_QString
| 273 |
| 3864 | caseexecuted 482 times by 5 tests: case QContainerImplHelper::Empty:Executed by:- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
QContainerImplHelper::Empty:executed 482 times by 5 tests: case QContainerImplHelper::Empty:Executed by:- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
| 482 |
| 3865 | returnexecuted 482 times by 5 tests: return QStringRef(this, 0, 0);Executed by:- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
QStringRef(this, 0, 0);executed 482 times by 5 tests: return QStringRef(this, 0, 0);Executed by:- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
| 482 |
| 3866 | caseexecuted 33042 times by 36 tests: case QContainerImplHelper::Full:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSidebar
- ...
QContainerImplHelper::Full:executed 33042 times by 36 tests: case QContainerImplHelper::Full:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSidebar
- ...
| 33042 |
| 3867 | returnexecuted 33042 times by 36 tests: return QStringRef(this, 0, d->size);Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSidebar
- ...
QStringRef(this, 0, d->size);executed 33042 times by 36 tests: return QStringRef(this, 0, d->size);Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSidebar
- ...
| 33042 |
| 3868 | caseexecuted 34011 times by 47 tests: case QContainerImplHelper::Subset:Executed by:- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMenu
- tst_QNetworkReply
- tst_QPluginLoader
- ...
QContainerImplHelper::Subset:executed 34011 times by 47 tests: case QContainerImplHelper::Subset:Executed by:- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMenu
- tst_QNetworkReply
- tst_QPluginLoader
- ...
| 34011 |
| 3869 | returnexecuted 34011 times by 47 tests: return QStringRef(this, position, n);Executed by:- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMenu
- tst_QNetworkReply
- tst_QPluginLoader
- ...
QStringRef(this, position, n);executed 34011 times by 47 tests: return QStringRef(this, position, n);Executed by:- tst_QAbstractButton
- tst_QAccessibility
- tst_QAction
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMenu
- tst_QNetworkReply
- tst_QPluginLoader
- ...
| 34011 |
| 3870 | } | - |
| 3871 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,9562) : qt_noop()); __builtin_unreachable(); } while (0); | - |
| 3872 | return never executed: return QStringRef(); QStringRef();never executed: return QStringRef(); | 0 |
| 3873 | } | - |
| 3874 | int QStringRef::indexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
| 3875 | { | - |
| 3876 | returnexecuted 197 times by 1 test: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs); qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);executed 197 times by 1 test: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs); | 197 |
| 3877 | } | - |
| 3878 | int QStringRef::indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
| 3879 | { | - |
| 3880 | returnexecuted 51163 times by 12 tests: return findChar(unicode(), length(), ch, from, cs);Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkRequest
- tst_QSettings
- tst_QStringRef
- tst_QXmlStream
- tst_languageChange
findChar(unicode(), length(), ch, from, cs);executed 51163 times by 12 tests: return findChar(unicode(), length(), ch, from, cs);Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkRequest
- tst_QSettings
- tst_QStringRef
- tst_QXmlStream
- tst_languageChange
| 51163 |
| 3881 | } | - |
| 3882 | int QStringRef::indexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
| 3883 | { | - |
| 3884 | return never executed: return qt_find_latin1_string(unicode(), size(), str, from, cs); qt_find_latin1_string(unicode(), size(), str, from, cs);never executed: return qt_find_latin1_string(unicode(), size(), str, from, cs); | 0 |
| 3885 | } | - |
| 3886 | int QStringRef::indexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
| 3887 | { | - |
| 3888 | returnexecuted 196 times by 1 test: return qFindString(unicode(), size(), from, str.unicode(), str.size(), cs); qFindString(unicode(), size(), from, str.unicode(), str.size(), cs);executed 196 times by 1 test: return qFindString(unicode(), size(), from, str.unicode(), str.size(), cs); | 196 |
| 3889 | } | - |
| 3890 | int QStringRef::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
| 3891 | { | - |
| 3892 | const int sl = str.size(); | - |
| 3893 | if (sl == 1| TRUE | evaluated 53 times by 1 test | | FALSE | evaluated 50 times by 1 test |
) | 50-53 |
| 3894 | returnexecuted 53 times by 1 test: return lastIndexOf(str.at(0), from, cs); lastIndexOf(str.at(0), from, cs);executed 53 times by 1 test: return lastIndexOf(str.at(0), from, cs); | 53 |
| 3895 | | - |
| 3896 | const int l = size();; | - |
| 3897 | if (from < 0| TRUE | evaluated 43 times by 1 test | | FALSE | evaluated 7 times by 1 test |
) | 7-43 |
| 3898 | from += l;executed 43 times by 1 test: from += l; | 43 |
| 3899 | int delta = l - sl; | - |
| 3900 | if (from == l| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 48 times by 1 test |
&& sl == 0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1-48 |
| 3901 | returnexecuted 1 time by 1 test: return from; from;executed 1 time by 1 test: return from; | 1 |
| 3902 | if (uint(from) >= uint(l)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 41 times by 1 test |
|| delta < 0| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 34 times by 1 test |
) | 7-41 |
| 3903 | returnexecuted 15 times by 1 test: return -1; -1;executed 15 times by 1 test: return -1; | 15 |
| 3904 | if (from > delta| TRUE | evaluated 29 times by 1 test | | FALSE | evaluated 5 times by 1 test |
) | 5-29 |
| 3905 | from = delta;executed 29 times by 1 test: from = delta; | 29 |
| 3906 | | - |
| 3907 | returnexecuted 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from,executed 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); | 34 |
| 3908 | reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs);executed 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); | 34 |
| 3909 | } | - |
| 3910 | int QStringRef::lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
| 3911 | { | - |
| 3912 | returnexecuted 136 times by 1 test: return qt_last_index_of(unicode(), size(), ch, from, cs); qt_last_index_of(unicode(), size(), ch, from, cs);executed 136 times by 1 test: return qt_last_index_of(unicode(), size(), ch, from, cs); | 136 |
| 3913 | } | - |
| 3914 | int QStringRef::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
| 3915 | { | - |
| 3916 | const int sl = str.size(); | - |
| 3917 | if (sl == 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 3918 | return never executed: return lastIndexOf(QLatin1Char(str.latin1()[0]), from, cs); lastIndexOf(QLatin1Char(str.latin1()[0]), from, cs);never executed: return lastIndexOf(QLatin1Char(str.latin1()[0]), from, cs); | 0 |
| 3919 | | - |
| 3920 | const int l = size(); | - |
| 3921 | if (from < 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 3922 | from += l; never executed: from += l; | 0 |
| 3923 | int delta = l - sl; | - |
| 3924 | if (from == l| TRUE | never evaluated | | FALSE | never evaluated |
&& sl == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 3925 | return never executed: return from; from;never executed: return from; | 0 |
| 3926 | if (uint(from) >= uint(l)| TRUE | never evaluated | | FALSE | never evaluated |
|| delta < 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 3927 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 3928 | if (from > delta| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 3929 | from = delta; never executed: from = delta; | 0 |
| 3930 | | - |
| 3931 | QVarLengthArray<ushort> s(sl); | - |
| 3932 | qt_from_latin1(s.data(), str.latin1(), sl); | - |
| 3933 | | - |
| 3934 | return never executed: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, s.data(), sl, cs); lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, s.data(), sl, cs);never executed: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, s.data(), sl, cs); | 0 |
| 3935 | } | - |
| 3936 | int QStringRef::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
| 3937 | { | - |
| 3938 | const int sl = str.size(); | - |
| 3939 | if (sl == 1| TRUE | evaluated 53 times by 1 test | | FALSE | evaluated 50 times by 1 test |
) | 50-53 |
| 3940 | returnexecuted 53 times by 1 test: return lastIndexOf(str.at(0), from, cs); lastIndexOf(str.at(0), from, cs);executed 53 times by 1 test: return lastIndexOf(str.at(0), from, cs); | 53 |
| 3941 | | - |
| 3942 | const int l = size(); | - |
| 3943 | if (from < 0| TRUE | evaluated 43 times by 1 test | | FALSE | evaluated 7 times by 1 test |
) | 7-43 |
| 3944 | from += l;executed 43 times by 1 test: from += l; | 43 |
| 3945 | int delta = l - sl; | - |
| 3946 | if (from == l| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 48 times by 1 test |
&& sl == 0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1-48 |
| 3947 | returnexecuted 1 time by 1 test: return from; from;executed 1 time by 1 test: return from; | 1 |
| 3948 | if (uint(from) >= uint(l)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 41 times by 1 test |
|| delta < 0| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 34 times by 1 test |
) | 7-41 |
| 3949 | returnexecuted 15 times by 1 test: return -1; -1;executed 15 times by 1 test: return -1; | 15 |
| 3950 | if (from > delta| TRUE | evaluated 29 times by 1 test | | FALSE | evaluated 5 times by 1 test |
) | 5-29 |
| 3951 | from = delta;executed 29 times by 1 test: from = delta; | 29 |
| 3952 | | - |
| 3953 | returnexecuted 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from,executed 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); | 34 |
| 3954 | reinterpret_cast<const ushort*>(str.unicode()),executed 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); | 34 |
| 3955 | str.size(), cs);executed 34 times by 1 test: return lastIndexOfHelper(reinterpret_cast<const ushort*>(unicode()), from, reinterpret_cast<const ushort*>(str.unicode()), str.size(), cs); | 34 |
| 3956 | } | - |
| 3957 | int QStringRef::count(const QString &str, Qt::CaseSensitivity cs) const | - |
| 3958 | { | - |
| 3959 | returnexecuted 4 times by 1 test: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs); qt_string_count(unicode(), size(), str.unicode(), str.size(), cs);executed 4 times by 1 test: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs); | 4 |
| 3960 | } | - |
| 3961 | int QStringRef::count(QChar ch, Qt::CaseSensitivity cs) const | - |
| 3962 | { | - |
| 3963 | returnexecuted 5 times by 1 test: return qt_string_count(unicode(), size(), ch, cs); qt_string_count(unicode(), size(), ch, cs);executed 5 times by 1 test: return qt_string_count(unicode(), size(), ch, cs); | 5 |
| 3964 | } | - |
| 3965 | int QStringRef::count(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
| 3966 | { | - |
| 3967 | return never executed: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs); qt_string_count(unicode(), size(), str.unicode(), str.size(), cs);never executed: return qt_string_count(unicode(), size(), str.unicode(), str.size(), cs); | 0 |
| 3968 | } | - |
| 3969 | bool QStringRef::startsWith(const QString &str, Qt::CaseSensitivity cs) const | - |
| 3970 | { | - |
| 3971 | returnexecuted 25 times by 1 test: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); qt_starts_with(isNull() ? 0 : unicode(), size(),executed 25 times by 1 test: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 25 |
| 3972 | str.isNull() ? 0 : str.unicode(), str.size(), cs);executed 25 times by 1 test: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 25 |
| 3973 | } | - |
| 3974 | | - |
| 3975 | | - |
| 3976 | | - |
| 3977 | | - |
| 3978 | | - |
| 3979 | | - |
| 3980 | bool QStringRef::startsWith(QLatin1String str, Qt::CaseSensitivity cs) const | - |
| 3981 | { | - |
| 3982 | returnexecuted 38 times by 2 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs);Executed by:- tst_QDateTime
- tst_QStringRef
qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs);executed 38 times by 2 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs);Executed by:- tst_QDateTime
- tst_QStringRef
| 38 |
| 3983 | } | - |
| 3984 | | - |
| 3985 | | - |
| 3986 | | - |
| 3987 | | - |
| 3988 | | - |
| 3989 | | - |
| 3990 | bool QStringRef::startsWith(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
| 3991 | { | - |
| 3992 | return never executed: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); qt_starts_with(isNull() ? 0 : unicode(), size(),never executed: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 0 |
| 3993 | str.isNull() ? 0 : str.unicode(), str.size(), cs); never executed: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 0 |
| 3994 | } | - |
| 3995 | bool QStringRef::startsWith(QChar ch, Qt::CaseSensitivity cs) const | - |
| 3996 | { | - |
| 3997 | if (!isEmpty()| TRUE | evaluated 24063 times by 4 testsEvaluated by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
- tst_qmakelib
| | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QLoggingRegistry
- tst_QStringRef
|
) { | 17-24063 |
| 3998 | const ushort *data = reinterpret_cast<const ushort*>(unicode()); | - |
| 3999 | returnexecuted 24063 times by 4 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode()));Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
- tst_qmakelib
(cs == Qt::CaseSensitive| TRUE | evaluated 24056 times by 4 testsEvaluated by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
- tst_qmakelib
| | FALSE | evaluated 7 times by 1 test |
executed 24063 times by 4 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode()));Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
- tst_qmakelib
| 7-24063 |
| 4000 | ? data[0] == chexecuted 24063 times by 4 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode()));Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
- tst_qmakelib
| 24063 |
| 4001 | : foldCase(data[0]) == foldCase(ch.unicode()));executed 24063 times by 4 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode()));Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
- tst_qmakelib
| 24063 |
| 4002 | } else { | - |
| 4003 | returnexecuted 17 times by 2 tests: return false;Executed by:- tst_QLoggingRegistry
- tst_QStringRef
false;executed 17 times by 2 tests: return false;Executed by:- tst_QLoggingRegistry
- tst_QStringRef
| 17 |
| 4004 | } | - |
| 4005 | } | - |
| 4006 | bool QStringRef::endsWith(const QString &str, Qt::CaseSensitivity cs) const | - |
| 4007 | { | - |
| 4008 | returnexecuted 25 times by 1 test: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); qt_ends_with(isNull() ? 0 : unicode(), size(),executed 25 times by 1 test: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 25 |
| 4009 | str.isNull() ? 0 : str.unicode(), str.size(), cs);executed 25 times by 1 test: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 25 |
| 4010 | } | - |
| 4011 | bool QStringRef::endsWith(QChar ch, Qt::CaseSensitivity cs) const | - |
| 4012 | { | - |
| 4013 | if (!isEmpty()| TRUE | evaluated 24143 times by 7 testsEvaluated by:- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 6 times by 1 test |
) { | 6-24143 |
| 4014 | const ushort *data = reinterpret_cast<const ushort*>(unicode()); | - |
| 4015 | const int size = length(); | - |
| 4016 | returnexecuted 24143 times by 7 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode()));Executed by:- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
(cs == Qt::CaseSensitive| TRUE | evaluated 24136 times by 7 testsEvaluated by:- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 7 times by 1 test |
executed 24143 times by 7 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode()));Executed by:- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
| 7-24143 |
| 4017 | ? data[size - 1] == chexecuted 24143 times by 7 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode()));Executed by:- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
| 24143 |
| 4018 | : foldCase(data[size - 1]) == foldCase(ch.unicode()));executed 24143 times by 7 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode()));Executed by:- tst_QDateTime
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QVariant
| 24143 |
| 4019 | } else { | - |
| 4020 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
| 4021 | } | - |
| 4022 | } | - |
| 4023 | | - |
| 4024 | | - |
| 4025 | | - |
| 4026 | | - |
| 4027 | | - |
| 4028 | | - |
| 4029 | bool QStringRef::endsWith(QLatin1String str, Qt::CaseSensitivity cs) const | - |
| 4030 | { | - |
| 4031 | returnexecuted 96430 times by 3 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), str, cs);Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
qt_ends_with(isNull() ? 0 : unicode(), size(), str, cs);executed 96430 times by 3 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), str, cs);Executed by:- tst_QLogging
- tst_QLoggingRegistry
- tst_QStringRef
| 96430 |
| 4032 | } | - |
| 4033 | | - |
| 4034 | | - |
| 4035 | | - |
| 4036 | | - |
| 4037 | | - |
| 4038 | | - |
| 4039 | bool QStringRef::endsWith(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
| 4040 | { | - |
| 4041 | return never executed: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); qt_ends_with(isNull() ? 0 : unicode(), size(),never executed: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 0 |
| 4042 | str.isNull() ? 0 : str.unicode(), str.size(), cs); never executed: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); | 0 |
| 4043 | } | - |
| 4044 | static inline int qt_last_index_of(const QChar *haystack, int haystackLen, QChar needle, | - |
| 4045 | int from, Qt::CaseSensitivity cs) | - |
| 4046 | { | - |
| 4047 | ushort c = needle.unicode(); | - |
| 4048 | if (from < 0| TRUE | evaluated 252301 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| | FALSE | evaluated 7292 times by 41 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QDataUrl
- tst_QDir
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- ...
|
) | 7292-252301 |
| 4049 | from += haystackLen;executed 252301 times by 303 tests: from += haystackLen;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| 252301 |
| 4050 | if (uint(from) >= uint(haystackLen)| TRUE | evaluated 1126 times by 18 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QLabel
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QPluginLoader
- tst_QSslCertificate
- tst_QString
- tst_QStringRef
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 258467 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
|
) | 1126-258467 |
| 4051 | returnexecuted 1126 times by 18 tests: return -1;Executed by:- tst_QFileDialog2
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QLabel
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QPluginLoader
- tst_QSslCertificate
- tst_QString
- tst_QStringRef
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_qmakelib
- tst_selftests - unknown status
-1;executed 1126 times by 18 tests: return -1;Executed by:- tst_QFileDialog2
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QLabel
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QPluginLoader
- tst_QSslCertificate
- tst_QString
- tst_QStringRef
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_qmakelib
- tst_selftests - unknown status
| 1126 |
| 4052 | if (from >= 0| TRUE | evaluated 258467 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| | FALSE | never evaluated |
) { | 0-258467 |
| 4053 | const ushort *b = reinterpret_cast<const ushort*>(haystack); | - |
| 4054 | const ushort *n = b + from; | - |
| 4055 | if (cs == Qt::CaseSensitive| TRUE | evaluated 258435 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) { | 32-258435 |
| 4056 | for (; n >= b| TRUE | evaluated 4078365 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| | FALSE | evaluated 7251 times by 191 testsEvaluated by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
|
; --n) | 7251-4078365 |
| 4057 | if (*| TRUE | evaluated 251184 times by 285 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 3827181 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
|
n == c| TRUE | evaluated 251184 times by 285 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| | FALSE | evaluated 3827181 times by 303 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
|
) | 251184-3827181 |
| 4058 | returnexecuted 251184 times by 285 tests: return n - b;Executed by:- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
n - b;executed 251184 times by 285 tests: return n - b;Executed by:- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 251184 |
| 4059 | }executed 7251 times by 191 tests: end of blockExecuted by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
else { | 7251 |
| 4060 | c = foldCase(c); | - |
| 4061 | for (; n >= b| TRUE | evaluated 56 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
; --n) | 8-56 |
| 4062 | if (foldCase(*n) == c| TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 24-32 |
| 4063 | returnexecuted 24 times by 2 tests: return n - b;Executed by:- tst_QString
- tst_QStringRef
n - b;executed 24 times by 2 tests: return n - b;Executed by:- tst_QString
- tst_QStringRef
| 24 |
| 4064 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
| 8 |
| 4065 | } | - |
| 4066 | returnexecuted 7259 times by 191 tests: return -1;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
-1;executed 7259 times by 191 tests: return -1;Executed by:- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| 7259 |
| 4067 | | - |
| 4068 | | - |
| 4069 | } | - |
| 4070 | | - |
| 4071 | static inline int qt_string_count(const QChar *haystack, int haystackLen, | - |
| 4072 | const QChar *needle, int needleLen, | - |
| 4073 | Qt::CaseSensitivity cs) | - |
| 4074 | { | - |
| 4075 | int num = 0; | - |
| 4076 | int i = -1; | - |
| 4077 | if (haystackLen > 500| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 4 testsEvaluated by:- tst_Collections
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
|
&& needleLen > 5| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-18 |
| 4078 | QStringMatcher matcher(needle, needleLen, cs); | - |
| 4079 | while ((| TRUE | never evaluated | | FALSE | never evaluated |
i = matcher.indexIn(haystack, haystackLen, i + 1)) != -1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 4080 | ++ never executed: ++num; num;never executed: ++num; | 0 |
| 4081 | } never executed: end of block else { | 0 |
| 4082 | while ((| TRUE | evaluated 20628 times by 5 testsEvaluated by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
|
i = qFindString(haystack, haystackLen, i + 1, needle, needleLen, cs)) != -1| TRUE | evaluated 20628 times by 5 testsEvaluated by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
|
) | 20-20628 |
| 4083 | ++executed 20628 times by 5 tests: ++num;Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
num;executed 20628 times by 5 tests: ++num;Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| 20628 |
| 4084 | }executed 20 times by 5 tests: end of blockExecuted by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| 20 |
| 4085 | returnexecuted 20 times by 5 tests: return num;Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
num;executed 20 times by 5 tests: return num;Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| 20 |
| 4086 | } | - |
| 4087 | | - |
| 4088 | static inline int qt_string_count(const QChar *unicode, int size, QChar ch, | - |
| 4089 | Qt::CaseSensitivity cs) | - |
| 4090 | { | - |
| 4091 | ushort c = ch.unicode(); | - |
| 4092 | int num = 0; | - |
| 4093 | const ushort *b = reinterpret_cast<const ushort*>(unicode); | - |
| 4094 | const ushort *i = b + size; | - |
| 4095 | if (cs == Qt::CaseSensitive| TRUE | evaluated 10953 times by 12 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) { | 2-10953 |
| 4096 | while (i != b| TRUE | evaluated 139343 times by 12 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
| | FALSE | evaluated 10953 times by 12 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
|
) | 10953-139343 |
| 4097 | if (*--| TRUE | evaluated 7874 times by 10 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
| | FALSE | evaluated 131469 times by 12 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
|
i == c| TRUE | evaluated 7874 times by 10 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
| | FALSE | evaluated 131469 times by 12 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
|
) | 7874-131469 |
| 4098 | ++executed 7874 times by 10 tests: ++num;Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
num;executed 7874 times by 10 tests: ++num;Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
| 7874 |
| 4099 | }executed 10953 times by 12 tests: end of blockExecuted by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
else { | 10953 |
| 4100 | c = foldCase(c); | - |
| 4101 | while (i != b| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 2-30 |
| 4102 | if (foldCase(*(--i)) == c| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) | 6-24 |
| 4103 | ++executed 6 times by 2 tests: ++num;Executed by:- tst_QString
- tst_QStringRef
num;executed 6 times by 2 tests: ++num;Executed by:- tst_QString
- tst_QStringRef
| 6 |
| 4104 | }executed 2 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
| 2 |
| 4105 | returnexecuted 10955 times by 12 tests: return num;Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
num;executed 10955 times by 12 tests: return num;Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileSystemModel
- tst_QListView
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
- tst_QXmlStream
| 10955 |
| 4106 | } | - |
| 4107 | | - |
| 4108 | static inline int qt_find_latin1_string(const QChar *haystack, int size, | - |
| 4109 | QLatin1String needle, | - |
| 4110 | int from, Qt::CaseSensitivity cs) | - |
| 4111 | { | - |
| 4112 | if (size < needle.size()| TRUE | evaluated 6912 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 7943 times by 182 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- ...
|
) | 6912-7943 |
| 4113 | returnexecuted 6912 times by 125 tests: return -1;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
-1;executed 6912 times by 125 tests: return -1;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 6912 |
| 4114 | | - |
| 4115 | const char *latin1 = needle.latin1(); | - |
| 4116 | int len = needle.size(); | - |
| 4117 | QVarLengthArray<ushort> s(len); | - |
| 4118 | qt_from_latin1(s.data(), latin1, len); | - |
| 4119 | | - |
| 4120 | returnexecuted 7943 times by 182 tests: return qFindString(haystack, size, from, reinterpret_cast<const QChar*>(s.constData()), len, cs);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- ...
qFindString(haystack, size, from,executed 7943 times by 182 tests: return qFindString(haystack, size, from, reinterpret_cast<const QChar*>(s.constData()), len, cs);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- ...
| 7943 |
| 4121 | reinterpret_cast<const QChar*>(s.constData()), len, cs);executed 7943 times by 182 tests: return qFindString(haystack, size, from, reinterpret_cast<const QChar*>(s.constData()), len, cs);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- ...
| 7943 |
| 4122 | } | - |
| 4123 | | - |
| 4124 | static inline bool qt_starts_with(const QChar *haystack, int haystackLen, | - |
| 4125 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs) | - |
| 4126 | { | - |
| 4127 | if (!haystack| TRUE | evaluated 264 times by 8 testsEvaluated by:- tst_QAbstractItemView
- tst_QCompleter
- tst_QFiledialog
- tst_QNetworkReply
- tst_QSql
- tst_QString
- tst_QStringRef
- tst_QTreeView
| | FALSE | evaluated 260604 times by 123 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- ...
|
) | 264-260604 |
| 4128 | returnexecuted 264 times by 8 tests: return !needle;Executed by:- tst_QAbstractItemView
- tst_QCompleter
- tst_QFiledialog
- tst_QNetworkReply
- tst_QSql
- tst_QString
- tst_QStringRef
- tst_QTreeView
!needle;executed 264 times by 8 tests: return !needle;Executed by:- tst_QAbstractItemView
- tst_QCompleter
- tst_QFiledialog
- tst_QNetworkReply
- tst_QSql
- tst_QString
- tst_QStringRef
- tst_QTreeView
| 264 |
| 4129 | if (haystackLen == 0| TRUE | evaluated 23 times by 5 testsEvaluated by:- tst_QCompleter
- tst_QNetworkCookieJar
- tst_QString
- tst_QStringRef
- tst_rcc
| | FALSE | evaluated 260581 times by 123 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- ...
|
) | 23-260581 |
| 4130 | returnexecuted 23 times by 5 tests: return needleLen == 0;Executed by:- tst_QCompleter
- tst_QNetworkCookieJar
- tst_QString
- tst_QStringRef
- tst_rcc
needleLen == 0;executed 23 times by 5 tests: return needleLen == 0;Executed by:- tst_QCompleter
- tst_QNetworkCookieJar
- tst_QString
- tst_QStringRef
- tst_rcc
| 23 |
| 4131 | if (needleLen > haystackLen| TRUE | evaluated 53492 times by 28 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDate
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QNetworkCookieJar
- tst_QSettings
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QWizard
- tst_QXmlInputSource
- tst_Selftests
- tst_languageChange
- ...
| | FALSE | evaluated 207089 times by 123 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- ...
|
) | 53492-207089 |
| 4132 | returnexecuted 53492 times by 28 tests: return false;Executed by:- tst_QAbstractFileEngine
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDate
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QNetworkCookieJar
- tst_QSettings
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QWizard
- tst_QXmlInputSource
- tst_Selftests
- tst_languageChange
- ...
false;executed 53492 times by 28 tests: return false;Executed by:- tst_QAbstractFileEngine
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDate
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QNetworkCookieJar
- tst_QSettings
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QWizard
- tst_QXmlInputSource
- tst_Selftests
- tst_languageChange
- ...
| 53492 |
| 4133 | | - |
| 4134 | const ushort *h = reinterpret_cast<const ushort*>(haystack); | - |
| 4135 | const ushort *n = reinterpret_cast<const ushort*>(needle); | - |
| 4136 | | - |
| 4137 | if (cs == Qt::CaseSensitive| TRUE | evaluated 204961 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| | FALSE | evaluated 2128 times by 22 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- tst_QTreeView
|
) { | 2128-204961 |
| 4138 | returnexecuted 204961 times by 116 tests: return qMemEquals(h, n, needleLen);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
qMemEquals(h, n, needleLen);executed 204961 times by 116 tests: return qMemEquals(h, n, needleLen);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFile
- ...
| 204961 |
| 4139 | } else { | - |
| 4140 | uint last = 0; | - |
| 4141 | uint olast = 0; | - |
| 4142 | for (int i = 0; i < needleLen| TRUE | evaluated 5450 times by 22 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- tst_QTreeView
| | FALSE | evaluated 609 times by 21 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableWidget
- tst_QTreeView
|
; ++i) | 609-5450 |
| 4143 | if (foldCase(h[i], last) != foldCase(n[i], olast)| TRUE | evaluated 1519 times by 13 testsEvaluated by:- tst_QAbstractItemModel
- tst_QComboBox
- tst_QCompleter
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
| | FALSE | evaluated 3931 times by 21 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableWidget
- tst_QTreeView
|
) | 1519-3931 |
| 4144 | returnexecuted 1519 times by 13 tests: return false;Executed by:- tst_QAbstractItemModel
- tst_QComboBox
- tst_QCompleter
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
false;executed 1519 times by 13 tests: return false;Executed by:- tst_QAbstractItemModel
- tst_QComboBox
- tst_QCompleter
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QString
- tst_QStringRef
- tst_QTableView
- tst_QTreeView
| 1519 |
| 4145 | }executed 609 times by 21 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableWidget
- tst_QTreeView
| 609 |
| 4146 | returnexecuted 609 times by 21 tests: return true;Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableWidget
- tst_QTreeView
true;executed 609 times by 21 tests: return true;Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QFileDialog2
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QPrinter
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStorageInfo
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTableWidget
- tst_QTreeView
| 609 |
| 4147 | } | - |
| 4148 | | - |
| 4149 | static inline bool qt_starts_with(const QChar *haystack, int haystackLen, | - |
| 4150 | QLatin1String needle, Qt::CaseSensitivity cs) | - |
| 4151 | { | - |
| 4152 | if (!haystack| TRUE | evaluated 7027 times by 55 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QItemModel
- tst_QMainWindow
- ...
| | FALSE | evaluated 264332 times by 236 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) | 7027-264332 |
| 4153 | returnexecuted 7027 times by 55 tests: return !needle.latin1();Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QItemModel
- tst_QMainWindow
- ...
!needle.latin1();executed 7027 times by 55 tests: return !needle.latin1();Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QItemModel
- tst_QMainWindow
- ...
| 7027 |
| 4154 | if (haystackLen == 0| TRUE | evaluated 1834 times by 11 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QUrl
- tst_Selftests
- tst_languageChange
- tst_qlogging - unknown status
| | FALSE | evaluated 262498 times by 236 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) | 1834-262498 |
| 4155 | returnexecuted 1834 times by 11 tests: return !needle.latin1() || *needle.latin1() == 0;Executed by:- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QUrl
- tst_Selftests
- tst_languageChange
- tst_qlogging - unknown status
!needle.latin1()| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 1832 times by 11 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QUrl
- tst_Selftests
- tst_languageChange
- tst_qlogging - unknown status
|
|| *| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 1830 times by 11 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QUrl
- tst_Selftests
- tst_languageChange
- tst_qlogging - unknown status
|
needle.latin1() == 0| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 1830 times by 11 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QUrl
- tst_Selftests
- tst_languageChange
- tst_qlogging - unknown status
|
;executed 1834 times by 11 tests: return !needle.latin1() || *needle.latin1() == 0;Executed by:- tst_QDBusXmlParser
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QUrl
- tst_Selftests
- tst_languageChange
- tst_qlogging - unknown status
| 2-1834 |
| 4156 | const int slen = needle.size(); | - |
| 4157 | if (slen > haystackLen| TRUE | evaluated 162139 times by 136 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDir
- tst_QDirIterator
- ...
| | FALSE | evaluated 100359 times by 233 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
) | 100359-162139 |
| 4158 | returnexecuted 162139 times by 136 tests: return false;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDir
- tst_QDirIterator
- ...
false;executed 162139 times by 136 tests: return false;Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDir
- tst_QDirIterator
- ...
| 162139 |
| 4159 | const ushort *data = reinterpret_cast<const ushort*>(haystack); | - |
| 4160 | const uchar *latin = reinterpret_cast<const uchar*>(needle.latin1()); | - |
| 4161 | if (cs == Qt::CaseSensitive| TRUE | evaluated 96768 times by 232 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| | FALSE | evaluated 3591 times by 15 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QApplication
- tst_QComboBox
- tst_QDateTime
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QWidget
|
) { | 3591-96768 |
| 4162 | returnexecuted 96768 times by 232 tests: return ucstrncmp(haystack, latin, slen) == 0;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
ucstrncmp(haystack, latin, slen) == 0;executed 96768 times by 232 tests: return ucstrncmp(haystack, latin, slen) == 0;Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 96768 |
| 4163 | } else { | - |
| 4164 | for (int i = 0; i < slen| TRUE | evaluated 3694 times by 15 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QApplication
- tst_QComboBox
- tst_QDateTime
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QWidget
| | FALSE | evaluated 31 times by 4 testsEvaluated by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
|
; ++i) | 31-3694 |
| 4165 | if (foldCase(data[i]) != foldCase((ushort)latin[i])| TRUE | evaluated 3560 times by 15 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QApplication
- tst_QComboBox
- tst_QDateTime
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QWidget
| | FALSE | evaluated 134 times by 4 testsEvaluated by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
|
) | 134-3560 |
| 4166 | returnexecuted 3560 times by 15 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QApplication
- tst_QComboBox
- tst_QDateTime
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QWidget
false;executed 3560 times by 15 tests: return false;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QApplication
- tst_QComboBox
- tst_QDateTime
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTabBar
- tst_QWidget
| 3560 |
| 4167 | }executed 31 times by 4 tests: end of blockExecuted by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
| 31 |
| 4168 | returnexecuted 31 times by 4 tests: return true;Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
true;executed 31 times by 4 tests: return true;Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
| 31 |
| 4169 | } | - |
| 4170 | | - |
| 4171 | static inline bool qt_ends_with(const QChar *haystack, int haystackLen, | - |
| 4172 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs) | - |
| 4173 | { | - |
| 4174 | if (!haystack| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 4652 times by 70 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- ...
|
) | 6-4652 |
| 4175 | returnexecuted 6 times by 2 tests: return !needle;Executed by:- tst_QString
- tst_QStringRef
!needle;executed 6 times by 2 tests: return !needle;Executed by:- tst_QString
- tst_QStringRef
| 6 |
| 4176 | if (haystackLen == 0| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 4646 times by 70 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- ...
|
) | 6-4646 |
| 4177 | returnexecuted 6 times by 2 tests: return needleLen == 0;Executed by:- tst_QString
- tst_QStringRef
needleLen == 0;executed 6 times by 2 tests: return needleLen == 0;Executed by:- tst_QString
- tst_QStringRef
| 6 |
| 4178 | const int pos = haystackLen - needleLen; | - |
| 4179 | if (pos < 0| TRUE | evaluated 212 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmake
| | FALSE | evaluated 4434 times by 62 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- ...
|
) | 212-4434 |
| 4180 | returnexecuted 212 times by 24 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmake
false;executed 212 times by 24 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QXmlInputSource
- tst_Spdy
- tst_qmake
| 212 |
| 4181 | | - |
| 4182 | const ushort *h = reinterpret_cast<const ushort*>(haystack); | - |
| 4183 | const ushort *n = reinterpret_cast<const ushort*>(needle); | - |
| 4184 | | - |
| 4185 | if (cs == Qt::CaseSensitive| TRUE | evaluated 4411 times by 60 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
| | FALSE | evaluated 23 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
|
) { | 23-4411 |
| 4186 | returnexecuted 4411 times by 60 tests: return qMemEquals(h + pos, n, needleLen);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
qMemEquals(h + pos, n, needleLen);executed 4411 times by 60 tests: return qMemEquals(h + pos, n, needleLen);Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDataStream
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
| 4411 |
| 4187 | } else { | - |
| 4188 | uint last = 0; | - |
| 4189 | uint olast = 0; | - |
| 4190 | for (int i = 0; i < needleLen| TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
| | FALSE | evaluated 14 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
|
; i++) | 14-24 |
| 4191 | if (foldCase(h[pos+i], last) != foldCase(n[i], olast)| TRUE | evaluated 9 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
| | FALSE | evaluated 15 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
|
) | 9-15 |
| 4192 | returnexecuted 9 times by 4 tests: return false;Executed by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
false;executed 9 times by 4 tests: return false;Executed by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
| 9 |
| 4193 | }executed 14 times by 4 tests: end of blockExecuted by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
| 14 |
| 4194 | returnexecuted 14 times by 4 tests: return true;Executed by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
true;executed 14 times by 4 tests: return true;Executed by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
| 14 |
| 4195 | } | - |
| 4196 | | - |
| 4197 | | - |
| 4198 | static inline bool qt_ends_with(const QChar *haystack, int haystackLen, | - |
| 4199 | QLatin1String needle, Qt::CaseSensitivity cs) | - |
| 4200 | { | - |
| 4201 | if (!haystack| TRUE | evaluated 201 times by 13 testsEvaluated by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QPixmap
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
| | FALSE | evaluated 146061 times by 124 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) | 201-146061 |
| 4202 | returnexecuted 201 times by 13 tests: return !needle.latin1();Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QPixmap
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
!needle.latin1();executed 201 times by 13 tests: return !needle.latin1();Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcoImageFormat
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QPixmap
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
| 201 |
| 4203 | if (haystackLen == 0| TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 146047 times by 124 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) | 14-146047 |
| 4204 | returnexecuted 14 times by 3 tests: return !needle.latin1() || *needle.latin1() == 0;Executed by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
!needle.latin1()| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 12 times by 3 testsEvaluated by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
|
|| *| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
|
needle.latin1() == 0| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
|
;executed 14 times by 3 tests: return !needle.latin1() || *needle.latin1() == 0;Executed by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
| 2-14 |
| 4205 | const int slen = needle.size(); | - |
| 4206 | int pos = haystackLen - slen; | - |
| 4207 | if (pos < 0| TRUE | evaluated 49748 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCssParser
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QString
- tst_QStringRef
- tst_QTextDocumentFragment
| | FALSE | evaluated 96299 times by 124 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_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) | 49748-96299 |
| 4208 | returnexecuted 49748 times by 11 tests: return false;Executed by:- tst_QAbstractNetworkCache
- tst_QCssParser
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QString
- tst_QStringRef
- tst_QTextDocumentFragment
false;executed 49748 times by 11 tests: return false;Executed by:- tst_QAbstractNetworkCache
- tst_QCssParser
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QString
- tst_QStringRef
- tst_QTextDocumentFragment
| 49748 |
| 4209 | const uchar *latin = reinterpret_cast<const uchar*>(needle.latin1()); | - |
| 4210 | const ushort *data = reinterpret_cast<const ushort*>(haystack); | - |
| 4211 | if (cs == Qt::CaseSensitive| TRUE | evaluated 95775 times by 120 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_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| | FALSE | evaluated 524 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
|
) { | 524-95775 |
| 4212 | returnexecuted 95775 times by 120 tests: return ucstrncmp(haystack + pos, latin, slen) == 0;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_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
ucstrncmp(haystack + pos, latin, slen) == 0;executed 95775 times by 120 tests: return ucstrncmp(haystack + pos, latin, slen) == 0;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_QErrorMessage
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 95775 |
| 4213 | } else { | - |
| 4214 | for (int i = 0; i < slen| TRUE | evaluated 1041 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
| | FALSE | evaluated 469 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
|
; i++) | 469-1041 |
| 4215 | if (foldCase(data[pos+i]) != foldCase((ushort)latin[i])| TRUE | evaluated 55 times by 7 testsEvaluated by:- tst_QCssParser
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QToolTip
| | FALSE | evaluated 986 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
|
) | 55-986 |
| 4216 | returnexecuted 55 times by 7 tests: return false;Executed by:- tst_QCssParser
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QToolTip
false;executed 55 times by 7 tests: return false;Executed by:- tst_QCssParser
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QToolTip
| 55 |
| 4217 | }executed 469 times by 16 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
| 469 |
| 4218 | returnexecuted 469 times by 16 tests: return true;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
true;executed 469 times by 16 tests: return true;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMainWindow
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QWidget
| 469 |
| 4219 | } | - |
| 4220 | QByteArray QStringRef::toLatin1() const | - |
| 4221 | { | - |
| 4222 | returnexecuted 256 times by 6 tests: return QString::toLatin1_helper(unicode(), length());Executed by:- tst_QColorDialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_QString
- tst_QStringRef
- tst_languageChange
QString::toLatin1_helper(unicode(), length());executed 256 times by 6 tests: return QString::toLatin1_helper(unicode(), length());Executed by:- tst_QColorDialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_QString
- tst_QStringRef
- tst_languageChange
| 256 |
| 4223 | } | - |
| 4224 | QByteArray QStringRef::toLocal8Bit() const | - |
| 4225 | { | - |
| 4226 | | - |
| 4227 | QTextCodec *localeCodec = QTextCodec::codecForLocale(); | - |
| 4228 | if (localeCodec| TRUE | evaluated 5 times by 1 test | | FALSE | never evaluated |
) | 0-5 |
| 4229 | returnexecuted 5 times by 1 test: return localeCodec->fromUnicode(unicode(), length()); localeCodec->fromUnicode(unicode(), length());executed 5 times by 1 test: return localeCodec->fromUnicode(unicode(), length()); | 5 |
| 4230 | | - |
| 4231 | return never executed: return toLatin1(); toLatin1();never executed: return toLatin1(); | 0 |
| 4232 | } | - |
| 4233 | QByteArray QStringRef::toUtf8() const | - |
| 4234 | { | - |
| 4235 | if (isNull()| TRUE | never evaluated | | FALSE | evaluated 5 times by 1 test |
) | 0-5 |
| 4236 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
| 4237 | | - |
| 4238 | returnexecuted 5 times by 1 test: return QUtf8::convertFromUnicode(constData(), length()); QUtf8::convertFromUnicode(constData(), length());executed 5 times by 1 test: return QUtf8::convertFromUnicode(constData(), length()); | 5 |
| 4239 | } | - |
| 4240 | QVector<uint> QStringRef::toUcs4() const | - |
| 4241 | { | - |
| 4242 | QVector<uint> v(length()); | - |
| 4243 | uint *a = v.data(); | - |
| 4244 | int len = QString::toUcs4_helper(reinterpret_cast<const ushort *>(unicode()), length(), a); | - |
| 4245 | v.resize(len); | - |
| 4246 | return never executed: return v; v;never executed: return v; | 0 |
| 4247 | } | - |
| 4248 | QStringRef QStringRef::trimmed() const | - |
| 4249 | { | - |
| 4250 | const QChar *begin = cbegin(); | - |
| 4251 | const QChar *end = cend(); | - |
| 4252 | QStringAlgorithms<const QStringRef>::trimmed_helper_positions(begin, end); | - |
| 4253 | if (begin == cbegin()| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3 times by 1 test |
&& end == cend()| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) | 0-3 |
| 4254 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
| 4255 | if (begin == end| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 1-2 |
| 4256 | returnexecuted 1 time by 1 test: return QStringRef(); QStringRef();executed 1 time by 1 test: return QStringRef(); | 1 |
| 4257 | int position = m_position + (begin - cbegin()); | - |
| 4258 | returnexecuted 2 times by 1 test: return QStringRef(m_string, position, end - begin); QStringRef(m_string, position, end - begin);executed 2 times by 1 test: return QStringRef(m_string, position, end - begin); | 2 |
| 4259 | } | - |
| 4260 | qint64 QStringRef::toLongLong(bool *ok, int base) const | - |
| 4261 | { | - |
| 4262 | returnexecuted 46761 times by 1 test: return QString::toIntegral_helper<qint64>(constData(), size(), ok, base); QString::toIntegral_helper<qint64>(constData(), size(), ok, base);executed 46761 times by 1 test: return QString::toIntegral_helper<qint64>(constData(), size(), ok, base); | 46761 |
| 4263 | } | - |
| 4264 | quint64 QStringRef::toULongLong(bool *ok, int base) const | - |
| 4265 | { | - |
| 4266 | returnexecuted 41 times by 1 test: return QString::toIntegral_helper<quint64>(constData(), size(), ok, base); QString::toIntegral_helper<quint64>(constData(), size(), ok, base);executed 41 times by 1 test: return QString::toIntegral_helper<quint64>(constData(), size(), ok, base); | 41 |
| 4267 | } | - |
| 4268 | long QStringRef::toLong(bool *ok, int base) const | - |
| 4269 | { | - |
| 4270 | returnexecuted 58 times by 3 tests: return QString::toIntegral_helper<long>(constData(), size(), ok, base);Executed by:- tst_QDateTime
- tst_QStringRef
- tst_QTime
QString::toIntegral_helper<long>(constData(), size(), ok, base);executed 58 times by 3 tests: return QString::toIntegral_helper<long>(constData(), size(), ok, base);Executed by:- tst_QDateTime
- tst_QStringRef
- tst_QTime
| 58 |
| 4271 | } | - |
| 4272 | ulong QStringRef::toULong(bool *ok, int base) const | - |
| 4273 | { | - |
| 4274 | returnexecuted 40 times by 1 test: return QString::toIntegral_helper<ulong>(constData(), size(), ok, base); QString::toIntegral_helper<ulong>(constData(), size(), ok, base);executed 40 times by 1 test: return QString::toIntegral_helper<ulong>(constData(), size(), ok, base); | 40 |
| 4275 | } | - |
| 4276 | int QStringRef::toInt(bool *ok, int base) const | - |
| 4277 | { | - |
| 4278 | returnexecuted 786 times by 9 tests: return QString::toIntegral_helper<int>(constData(), size(), ok, base);Executed by:- tst_QDate
- tst_QDateTime
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
QString::toIntegral_helper<int>(constData(), size(), ok, base);executed 786 times by 9 tests: return QString::toIntegral_helper<int>(constData(), size(), ok, base);Executed by:- tst_QDate
- tst_QDateTime
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
| 786 |
| 4279 | } | - |
| 4280 | uint QStringRef::toUInt(bool *ok, int base) const | - |
| 4281 | { | - |
| 4282 | returnexecuted 1467 times by 3 tests: return QString::toIntegral_helper<uint>(constData(), size(), ok, base);Executed by:- tst_QStringRef
- tst_QXmlStream
- tst_Selftests
QString::toIntegral_helper<uint>(constData(), size(), ok, base);executed 1467 times by 3 tests: return QString::toIntegral_helper<uint>(constData(), size(), ok, base);Executed by:- tst_QStringRef
- tst_QXmlStream
- tst_Selftests
| 1467 |
| 4283 | } | - |
| 4284 | short QStringRef::toShort(bool *ok, int base) const | - |
| 4285 | { | - |
| 4286 | returnexecuted 70 times by 1 test: return QString::toIntegral_helper<short>(constData(), size(), ok, base); QString::toIntegral_helper<short>(constData(), size(), ok, base);executed 70 times by 1 test: return QString::toIntegral_helper<short>(constData(), size(), ok, base); | 70 |
| 4287 | } | - |
| 4288 | ushort QStringRef::toUShort(bool *ok, int base) const | - |
| 4289 | { | - |
| 4290 | returnexecuted 61 times by 1 test: return QString::toIntegral_helper<ushort>(constData(), size(), ok, base); QString::toIntegral_helper<ushort>(constData(), size(), ok, base);executed 61 times by 1 test: return QString::toIntegral_helper<ushort>(constData(), size(), ok, base); | 61 |
| 4291 | } | - |
| 4292 | double QStringRef::toDouble(bool *ok) const | - |
| 4293 | { | - |
| 4294 | returnexecuted 79 times by 1 test: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocaleData::FailOnGroupSeparators); QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocaleData::FailOnGroupSeparators);executed 79 times by 1 test: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocaleData::FailOnGroupSeparators); | 79 |
| 4295 | } | - |
| 4296 | float QStringRef::toFloat(bool *ok) const | - |
| 4297 | { | - |
| 4298 | returnexecuted 15 times by 1 test: return QLocaleData::convertDoubleToFloat(toDouble(ok), ok); QLocaleData::convertDoubleToFloat(toDouble(ok), ok);executed 15 times by 1 test: return QLocaleData::convertDoubleToFloat(toDouble(ok), ok); | 15 |
| 4299 | } | - |
| 4300 | QString QString::toHtmlEscaped() const | - |
| 4301 | { | - |
| 4302 | QString rich; | - |
| 4303 | const int len = length(); | - |
| 4304 | rich.reserve(int(len * 1.1)); | - |
| 4305 | for (int i = 0; i < len| TRUE | evaluated 23789 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
| | FALSE | evaluated 2656 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
|
; ++i) { | 2656-23789 |
| 4306 | if (at(i) == QLatin1Char('<')| TRUE | evaluated 737 times by 4 testsEvaluated by:- tst_QDBusInterface
- tst_QString
- tst_QTextDocument
- tst_qdbuscpp2xml - unknown status
| | FALSE | evaluated 23052 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
|
) | 737-23052 |
| 4307 | rich += QLatin1String("<");executed 737 times by 4 tests: rich += QLatin1String("<");Executed by:- tst_QDBusInterface
- tst_QString
- tst_QTextDocument
- tst_qdbuscpp2xml - unknown status
| 737 |
| 4308 | else if (at(i) == QLatin1Char('>')| TRUE | evaluated 737 times by 4 testsEvaluated by:- tst_QDBusInterface
- tst_QString
- tst_QTextDocument
- tst_qdbuscpp2xml - unknown status
| | FALSE | evaluated 22315 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
|
) | 737-22315 |
| 4309 | rich += QLatin1String(">");executed 737 times by 4 tests: rich += QLatin1String(">");Executed by:- tst_QDBusInterface
- tst_QString
- tst_QTextDocument
- tst_qdbuscpp2xml - unknown status
| 737 |
| 4310 | else if (at(i) == QLatin1Char('&')| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 22310 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
|
) | 5-22310 |
| 4311 | rich += QLatin1String("&");executed 5 times by 2 tests: rich += QLatin1String("&");Executed by:- tst_QString
- tst_QTextDocument
| 5 |
| 4312 | else if (at(i) == QLatin1Char('"')| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| | FALSE | evaluated 22304 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
|
) | 6-22304 |
| 4313 | rich += QLatin1String(""");executed 6 times by 2 tests: rich += QLatin1String(""");Executed by:- tst_QString
- tst_QTextDocument
| 6 |
| 4314 | else | - |
| 4315 | rich += at(i);executed 22304 times by 20 tests: rich += at(i);Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
| 22304 |
| 4316 | } | - |
| 4317 | rich.squeeze(); | - |
| 4318 | returnexecuted 2656 times by 20 tests: return rich;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
rich;executed 2656 times by 20 tests: return rich;Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QItemDelegate
- tst_QPlainTextEdit
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextList
- tst_qdbuscpp2xml - unknown status
- tst_qdbusxml2cpp - unknown status
| 2656 |
| 4319 | } | - |
| 4320 | void QAbstractConcatenable::appendLatin1To(const char *a, int len, QChar *out) | - |
| 4321 | { | - |
| 4322 | qt_from_latin1(reinterpret_cast<ushort *>(out), a, uint(len)); | - |
| 4323 | }executed 92320 times by 180 tests: end of blockExecuted by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- ...
| 92320 |
| 4324 | | - |
| 4325 | | - |
| | |