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 (!countTRUE | evaluated 6730103 times by 686 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 35953269 times by 773 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
- ...
|
) | 6730103-35953269 |
45 | returnexecuted 6730106 times by 686 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 6730106 times by 686 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
- ...
| 6730106 |
46 | | - |
47 | bool check = loopCheck(i); | - |
48 | if (checkTRUE | evaluated 1370215 times by 552 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 34583054 times by 773 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
- ...
|
) { | 1370215-34583054 |
49 | const RetType &retval = returnIfFailed(i); | - |
50 | returnexecuted 1370215 times by 552 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 1370215 times by 552 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
- ...
| 1370215 |
51 | } | - |
52 | | - |
53 | returnexecuted 34583054 times by 773 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 34583054 times by 773 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
- ...
| 34583054 |
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 17278209 times by 686 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 17278209 times by 686 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-17278209 |
64 | }executed 2644017 times by 686 tests: end of block 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
- ...
| 2644017 |
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 778568 times by 446 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_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
returnIfExited;executed 778568 times by 446 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_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
| 778568 |
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 < eTRUE | evaluated 1702045 times by 504 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 2360203 times by 686 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) { | 1702045-2360203 |
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 1702045 times by 504 tests: end of block 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
- ...
| 1702045 |
106 | | - |
107 | size = size % 16; | - |
108 | dst += offset; | - |
109 | str += offset; | - |
110 | | - |
111 | returnexecuted 2360203 times by 686 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 2360203 times by 686 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
- ...
| 2360203-15853376 |
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 804590 times by 383 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 804590 times by 383 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
- ...
| 804590 |
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 < eTRUE | evaluated 402295 times by 383 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 283814 times by 445 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) { | 283814-402295 |
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 402295 times by 383 tests: end of block 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
- ...
| 402295 |
165 | | - |
166 | length = length % 16; | - |
167 | dst += offset; | - |
168 | src += offset; | - |
169 | | - |
170 | | - |
171 | returnexecuted 283814 times by 445 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 1424822 times by 444 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 1424822 times by 444 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 283814 times by 445 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-1424833 |
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 == bTRUE | evaluated 4330 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 513417 times by 168 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
- ...
|
) | 4330-513417 |
183 | returnexecuted 4330 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 4330 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
- ...
| 4330 |
184 | if (a == 0TRUE | never evaluated | FALSE | evaluated 513417 times by 168 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-513417 |
185 | return never executed: return 1; 1;never executed: return 1; | 0 |
186 | if (b == 0TRUE | never evaluated | FALSE | evaluated 513417 times by 168 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-513417 |
187 | return never executed: return -1; -1;never executed: return -1; | 0 |
188 | | - |
189 | const ushort *e = ae; | - |
190 | if (be - b < ae - aTRUE | evaluated 254847 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 258570 times by 168 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
- ...
|
) | 254847-258570 |
191 | e = a + (be - b);executed 254847 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
- ...
| 254847 |
192 | | - |
193 | uint alast = 0; | - |
194 | uint blast = 0; | - |
195 | while (a < eTRUE | evaluated 1726112 times by 168 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 75123 times by 165 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
- ...
|
) { | 75123-1726112 |
196 | | - |
197 | | - |
198 | | - |
199 | int diff = foldCase(*a, alast) - foldCase(*b, blast); | - |
200 | if ((TRUE | evaluated 438294 times by 155 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 1287818 times by 166 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 438294 times by 155 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 1287818 times by 166 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
- ...
|
) | 438294-1287818 |
201 | returnexecuted 438294 times by 155 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 438294 times by 155 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
- ...
| 438294 |
202 | ++a; | - |
203 | ++b; | - |
204 | }executed 1287818 times by 166 tests: end of block 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
- ...
| 1287818 |
205 | if (a == aeTRUE | evaluated 69364 times by 165 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 5759 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
- ...
|
) { | 5759-69364 |
206 | if (b == beTRUE | evaluated 59683 times by 165 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 9681 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
- ...
|
) | 9681-59683 |
207 | returnexecuted 59683 times by 165 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 59683 times by 165 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
- ...
| 59683 |
208 | returnexecuted 9681 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 9681 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
- ...
| 9681 |
209 | } | - |
210 | returnexecuted 5759 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 5759 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
- ...
| 5759 |
211 | } | - |
212 | | - |
213 | | - |
214 | static int ucstricmp(const ushort *a, const ushort *ae, const uchar *b, const uchar *be) | - |
215 | { | - |
216 | if (a == 0TRUE | never evaluated | FALSE | evaluated 17633 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-17633 |
217 | if (b == 0TRUE | 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 == 0TRUE | never evaluated | FALSE | evaluated 17633 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-17633 |
222 | return never executed: return -1; -1;never executed: return -1; | 0 |
223 | | - |
224 | const ushort *e = ae; | - |
225 | if (be - b < ae - aTRUE | evaluated 4341 times by 25 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_QStaticText
- 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 13292 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
- ...
|
) | 4341-13292 |
226 | e = a + (be - b);executed 4341 times by 25 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_QStaticText
- 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
| 4341 |
227 | | - |
228 | while (a < eTRUE | evaluated 69971 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 4645 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
- ...
|
) { | 4645-69971 |
229 | int diff = foldCase(*a) - foldCase(*b); | - |
230 | if ((TRUE | evaluated 12988 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 56983 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 12988 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 56983 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
- ...
|
) | 12988-56983 |
231 | returnexecuted 12988 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 12988 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
- ...
| 12988 |
232 | ++a; | - |
233 | ++b; | - |
234 | }executed 56983 times by 41 tests: end of block 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
- ...
| 56983 |
235 | if (a == aeTRUE | evaluated 4294 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 351 times by 15 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QXmlStream
|
) { | 351-4294 |
236 | if (b == beTRUE | evaluated 3894 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 400 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
|
) | 400-3894 |
237 | returnexecuted 3894 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 3894 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
- ...
| 3894 |
238 | returnexecuted 400 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 400 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
| 400 |
239 | } | - |
240 | returnexecuted 351 times by 15 tests: return 1; Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QXmlStream
1;executed 351 times by 15 tests: return 1; Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QXmlStream
| 351 |
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 6295678 times by 598 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| FALSE | evaluated 4168074 times by 613 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) { | 4168074-6295678 |
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 1562574 times by 466 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 4733104 times by 597 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAsn1Element
- tst_QAuthenticator
- ...
|
) { | 1562574-4733104 |
257 | | - |
258 | uint idx = uint(__bsfd(mask)); | - |
259 | returnexecuted 1562574 times by 466 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 1562574 times by 466 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
- ...
| 1562574 |
260 | - reinterpret_cast<const QChar *>(ptr + distance + idx)->unicode();executed 1562574 times by 466 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
- ...
| 1562574 |
261 | } | - |
262 | }executed 4733104 times by 597 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAsn1Element
- tst_QAuthenticator
- ...
| 4733104 |
263 | | - |
264 | const auto &lambda = [=](int i) -> int { | - |
265 | returnexecuted 14175902 times by 612 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 14175902 times by 612 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
- ...
| 14175902 |
266 | - reinterpret_cast<const QChar *>(ptr + distance)[i].unicode();executed 14175902 times by 612 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
- ...
| 14175902 |
267 | }; | - |
268 | returnexecuted 4168074 times by 613 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 4168074 times by 613 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
- ...
| 4168074 |
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 < eTRUE | evaluated 51214 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
- ...
| FALSE | evaluated 1029669 times by 463 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) { | 51214-1029669 |
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 (maskTRUE | evaluated 21005 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 30209 times by 341 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
- ...
|
) { | 21005-30209 |
346 | | - |
347 | uint idx = uint(__bsfd(mask)); | - |
348 | returnexecuted 21005 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 21005 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
- ...
| 21005 |
349 | } | - |
350 | }executed 30209 times by 341 tests: end of block Executed 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
- ...
| 30209 |
351 | | - |
352 | | - |
353 | enum { MaxTailLength = 7 }; | - |
354 | | - |
355 | if (uc + offset + 7 < eTRUE | evaluated 355489 times by 249 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 674180 times by 458 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
- ...
|
) { | 355489-674180 |
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 39170 times by 211 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- 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
- tst_QComboBox
- ...
| FALSE | evaluated 316319 times by 237 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
- ...
|
) { | 39170-316319 |
364 | | - |
365 | uint idx = uint(__bsfd(mask)); | - |
366 | returnexecuted 39170 times by 211 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_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
- tst_QComboBox
- ...
uc[offset + idx / 2] - c[offset + idx / 2];executed 39170 times by 211 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_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
- tst_QComboBox
- ...
| 39170 |
367 | } | - |
368 | | - |
369 | | - |
370 | offset += 8; | - |
371 | }executed 316319 times by 237 tests: end of block 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_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- ...
| 316319 |
372 | | - |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | uc += offset; | - |
380 | c += offset; | - |
381 | | - |
382 | | - |
383 | const auto &lambda = [=](int i) { returnexecuted 3238334 times by 462 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 3238334 times by 462 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
- ...
}; | 3238334 |
384 | returnexecuted 990499 times by 462 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 990499 times by 462 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
- ...
| 990499 |
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 == bTRUE | evaluated 80138 times by 430 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| FALSE | evaluated 2435359 times by 457 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 == blenTRUE | evaluated 80137 times by 430 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-2435359 |
402 | returnexecuted 80137 times by 430 tests: return 0; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
0;executed 80137 times by 430 tests: return 0; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- ...
| 80137 |
403 | int l = qMin(alen, blen); | - |
404 | int cmp = ucstrncmp(a, b, l); | - |
405 | returnexecuted 2435360 times by 457 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 ? cmp : (alen-blen);executed 2435360 times by 457 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
- ...
| 2435360 |
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 == bTRUE | evaluated 931815 times by 465 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 3343386 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
|| !lengthTRUE | evaluated 339741 times by 135 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 3003645 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
) | 339741-3343386 |
417 | returnexecuted 1271556 times by 476 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 1271556 times by 476 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
- ...
| 1271556 |
418 | | - |
419 | returnexecuted 3003645 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
ucstrncmp(reinterpret_cast<const QChar *>(a), reinterpret_cast<const QChar *>(b), length) == 0;executed 3003645 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 3003645 |
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 217591 times by 445 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 ? cmp : (alen-blen);executed 217591 times by 445 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
- ...
| 217591 |
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 < 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1483189 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-1483189 |
434 | from = qMax(from + len, 0);executed 1 time by 1 test: from = qMax(from + len, 0); | 1 |
435 | if (from < lenTRUE | evaluated 1479302 times by 322 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 3888 times by 70 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBrush
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDir
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
|
) { | 3888-1479302 |
436 | const ushort *n = s + from; | - |
437 | const ushort *e = s + len; | - |
438 | if (cs == Qt::CaseSensitiveTRUE | evaluated 1478841 times by 321 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-1478841 |
439 | | - |
440 | __m128i mch = _mm_set1_epi32(c | (c << 16)); | - |
441 | | - |
442 | | - |
443 | for (const ushort *next = n + 8; next <= eTRUE | evaluated 1107407 times by 313 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 1076299 times by 310 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) { | 1076299-1107407 |
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 402542 times by 273 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 704865 times by 299 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
- ...
|
) { | 402542-704865 |
448 | | - |
449 | | - |
450 | returnexecuted 402542 times by 273 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 402542 times by 273 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
- ...
| 402542 |
451 | + __bsfd(mask)) >> 1;executed 402542 times by 273 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
- ...
| 402542 |
452 | } | - |
453 | }executed 704865 times by 299 tests: end of block 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_QColorDialog
- tst_QColumnView
- ...
| 704865 |
454 | | - |
455 | | - |
456 | returnexecuted 1076299 times by 310 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 1076299 times by 310 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
- ...
| 1076299 |
457 | [=](int i) { returnexecuted 2552540 times by 308 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 2552540 times by 308 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 1076299 times by 310 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
- ...
| 1076299-2552540 |
458 | [=](int i) { returnexecuted 73549 times by 135 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 73549 times by 135 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 1076299 times by 310 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
- ...
| 73549-1076299 |
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 != eTRUE | 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) == cTRUE | 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 block Executed by:- tst_QAbstractItemModel
- tst_QLabel
- tst_QString
- tst_QStringRef
| 125 |
472 | } | - |
473 | returnexecuted 4013 times by 73 tests: return -1; Executed by:- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBrush
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDir
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
-1;executed 4013 times by 73 tests: return -1; Executed by:- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAuthenticator
- tst_QBrush
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDir
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 4013 |
474 | } | - |
475 | | - |
476 | | - |
477 | | - |
478 | | - |
479 | | - |
480 | | - |
481 | inline bool qIsUpper(char ch) | - |
482 | { | - |
483 | returnexecuted 114853 times by 49 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' && ch <= 'Z';executed 114853 times by 49 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
- ...
| 114853 |
484 | } | - |
485 | | - |
486 | inline bool qIsDigit(char ch) | - |
487 | { | - |
488 | returnexecuted 453450 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' && ch <= '9';executed 453450 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
- ...
| 453450 |
489 | } | - |
490 | | - |
491 | inline char qToLower(char ch) | - |
492 | { | - |
493 | if (ch >= 'A'TRUE | evaluated 114853 times by 49 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 109861 times by 49 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-114853 |
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 109861 times by 49 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 109861 times by 49 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
- ...
| 109861 |
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 (!unicodeTRUE | 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 6486100 times by 542 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-6486100 |
514 | d = Data::sharedNull(); | - |
515 | }executed 3143 times by 9 tests: end of block Executed by:- tst_QItemModel
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStringMatcher
- tst_QTextBoundaryFinder
else { | 3143 |
516 | if (size < 0TRUE | evaluated 101041 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 6385059 times by 542 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
- ...
|
) { | 101041-6385059 |
517 | size = 0; | - |
518 | while (!unicode[size].isNull()TRUE | evaluated 3080917 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 101041 times by 9 testsEvaluated by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
|
) | 101041-3080917 |
519 | ++executed 3080917 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 3080917 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
| 3080917 |
520 | }executed 101041 times by 9 tests: end of block Executed by:- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
| 101041 |
521 | if (!sizeTRUE | evaluated 204954 times by 394 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 6281146 times by 400 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
- ...
|
) { | 204954-6281146 |
522 | d = Data::allocate(0); | - |
523 | }executed 204954 times by 394 tests: end of block Executed 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 { | 204954 |
524 | d = Data::allocate(size + 1); | - |
525 | do { if (!(d)TRUE | never evaluated | FALSE | evaluated 6281146 times by 400 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-6281146 |
526 | d->size = size; | - |
527 | memcpy(d->data(), unicode, size * sizeof(QChar)); | - |
528 | d->data()[size] = '\0'; | - |
529 | }executed 6281146 times by 400 tests: end of block Executed 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
- ...
| 6281146 |
530 | } | - |
531 | } | - |
532 | | - |
533 | | - |
534 | | - |
535 | | - |
536 | | - |
537 | | - |
538 | | - |
539 | QString::QString(int size, QChar ch) | - |
540 | { | - |
541 | if (size <= 0TRUE | evaluated 201 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QDBusXmlParser
- tst_QXmlSimpleReader
| FALSE | evaluated 253266 times by 47 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
|
) { | 201-253266 |
542 | d = Data::allocate(0); | - |
543 | }executed 201 times by 3 tests: end of block Executed by:- tst_QAccessibility
- tst_QDBusXmlParser
- tst_QXmlSimpleReader
else { | 201 |
544 | d = Data::allocate(size + 1); | - |
545 | do { if (!(d)TRUE | never evaluated | FALSE | evaluated 253266 times by 47 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-253266 |
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 != bTRUE | evaluated 408257 times by 47 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| FALSE | evaluated 253266 times by 47 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
|
) | 253266-408257 |
552 | *--executed 408257 times by 47 tests: *--i = value; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
i = value;executed 408257 times by 47 tests: *--i = value; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 408257 |
553 | }executed 253266 times by 47 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 253266 |
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 46522442 times by 686 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-46522442 |
566 | d->size = size; | - |
567 | d->data()[size] = '\0'; | - |
568 | }executed 46522072 times by 686 tests: end of block 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
- ...
| 46522072 |
569 | QString::QString(QChar ch) | - |
570 | { | - |
571 | d = Data::allocate(2); | - |
572 | do { if (!(d)TRUE | never evaluated | FALSE | evaluated 495998 times by 267 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-495998 |
573 | d->size = 1; | - |
574 | d->data()[0] = ch.unicode(); | - |
575 | d->data()[1] = '\0'; | - |
576 | }executed 495998 times by 267 tests: end of block Executed 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
- ...
| 495998 |
577 | void QString::resize(int size) | - |
578 | { | - |
579 | if (size < 0TRUE | evaluated 28 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QKeySequence
- tst_QKeySequenceEdit
- tst_QString
| FALSE | evaluated 89208133 times by 563 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-89208133 |
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 89208157 times by 563 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 89208157 times by 563 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->sizeTRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QString
| FALSE | never evaluated |
) { | 0-89208157 |
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 1679254 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| FALSE | evaluated 87528905 times by 554 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->allocTRUE | evaluated 240775 times by 195 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_QBoxLayout
- 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
- ...
| FALSE | evaluated 87288130 times by 547 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
- ...
|
) | 240775-87528905 |
588 | reallocData(uint(size) + 1u, true);executed 1920029 times by 485 tests: reallocData(uint(size) + 1u, true); Executed by:- tst_Collections
- tst_Compiler
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 1920029 |
589 | if (d->allocTRUE | evaluated 89208159 times by 563 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-89208159 |
590 | d->size = size; | - |
591 | d->data()[size] = '\0'; | - |
592 | }executed 89208159 times by 563 tests: end of block 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
- ...
| 89208159 |
593 | }executed 89208159 times by 563 tests: end of block 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
- ...
| 89208159 |
594 | void QString::resize(int size, QChar fillChar) | - |
595 | { | - |
596 | const int oldSize = length(); | - |
597 | resize(size); | - |
598 | const int difference = length() - oldSize; | - |
599 | if (difference > 0TRUE | evaluated 28747 times by 13 testsEvaluated by:- tst_Collections
- tst_QDebug
- tst_QFtp
- tst_QGuiVariant
- tst_QHash
- tst_QHash_StrictIterators
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QString
- tst_QTextStream
| FALSE | evaluated 2239 times by 4 testsEvaluated by:- tst_QDebug
- tst_QGuiVariant
- tst_QNetworkInterface
- tst_QTextStream
|
) | 2239-28747 |
600 | std::fill_n(d->begin() + oldSize, difference, fillChar.unicode());executed 28747 times by 13 tests: std::fill_n(d->begin() + oldSize, difference, fillChar.unicode()); Executed by:- tst_Collections
- tst_QDebug
- tst_QFtp
- tst_QGuiVariant
- tst_QHash
- tst_QHash_StrictIterators
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QString
- tst_QTextStream
| 28747 |
601 | }executed 30986 times by 13 tests: end of block Executed by:- tst_Collections
- tst_QDebug
- tst_QFtp
- tst_QGuiVariant
- tst_QHash
- tst_QHash_StrictIterators
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QString
- tst_QTextStream
| 30986 |
602 | void QString::reallocData(uint alloc, bool grow) | - |
603 | { | - |
604 | size_t blockSize; | - |
605 | if (growTRUE | evaluated 17320378 times by 539 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 | evaluated 1024048 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
- ...
|
) { | 1024048-17320378 |
606 | auto r = qCalculateGrowingBlockSize(alloc, sizeof(QChar), sizeof(Data)); | - |
607 | blockSize = r.size; | - |
608 | alloc = uint(r.elementCount); | - |
609 | }executed 17320378 times by 539 tests: end of block 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
- ...
else { | 17320378 |
610 | blockSize = qCalculateBlockSize(alloc, sizeof(QChar), sizeof(Data)); | - |
611 | }executed 1024049 times by 311 tests: end of block Executed 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
- ...
| 1024049 |
612 | | - |
613 | if (d->ref.isShared()TRUE | evaluated 17139594 times by 543 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 | evaluated 1204609 times by 500 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_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
|
|| ((TRUE | evaluated 1718 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 1202891 times by 500 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_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
|
d)->offset != sizeof(QStringData))TRUE | evaluated 1718 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 1202891 times by 500 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_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
|
) { | 1718-17139594 |
614 | Data::AllocationOptions allocOptions(d->capacityReserved ? Data::CapacityReserved : 0); | - |
615 | Data *x = Data::allocate(alloc, allocOptions); | - |
616 | do { if (!(x)TRUE | never evaluated | FALSE | evaluated 17141536 times by 543 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-17141536 |
617 | x->size = qMin(int(alloc) - 1, d->size); | - |
618 | ::memcpy(x->data(), d->data(), x->size * sizeof(QChar)); | - |
619 | x->data()[x->size] = 0; | - |
620 | if (!d->ref.deref()TRUE | evaluated 1718 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 17139818 times by 543 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
- ...
|
) | 1718-17139818 |
621 | Data::deallocate(d);executed 1718 times by 12 tests: Data::deallocate(d); Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QString
- tst_QTime
- tst_QUrl
- tst_QXmlStream
| 1718 |
622 | d = x; | - |
623 | }executed 17141536 times by 543 tests: end of block 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
- ...
else { | 17141536 |
624 | Data *p = static_cast<Data *>(::realloc(d, blockSize)); | - |
625 | do { if (!(p)TRUE | never evaluated | FALSE | evaluated 1202891 times by 500 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_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-1202891 |
626 | d = p; | - |
627 | d->alloc = alloc; | - |
628 | d->offset = sizeof(QStringData); | - |
629 | }executed 1202891 times by 500 tests: end of block Executed 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_QAsn1Element
- tst_QBackingStore
- tst_QBitArray
- ...
| 1202891 |
630 | } | - |
631 | | - |
632 | | - |
633 | void QString::expand(int i) | - |
634 | { | - |
635 | resize(qMax(i + 1, d->size), QLatin1Char(' ')); | - |
636 | } never executed: end of block | 0 |
637 | QString &QString::operator=(const QString &other) noexcept | - |
638 | { | - |
639 | other.d->ref.ref(); | - |
640 | if (!d->ref.deref()TRUE | evaluated 853249 times by 265 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 6633512 times by 445 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) | 853249-6633512 |
641 | Data::deallocate(d);executed 853249 times by 265 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
- ...
| 853249 |
642 | d = other.d; | - |
643 | returnexecuted 7486761 times by 451 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
*this;executed 7486761 times by 451 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 7486761 |
644 | } | - |
645 | QString &QString::operator=(QLatin1String other) | - |
646 | { | - |
647 | if (isDetached()TRUE | evaluated 136704 times by 527 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_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_char
- tst_QAtomicInteger_char16_t
- ...
| FALSE | evaluated 86568 times by 511 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 133632 times by 329 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| FALSE | evaluated 3072 times by 503 testsEvaluated by:- 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_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- ...
|
) { | 3072-136704 |
648 | d->size = other.size(); | - |
649 | d->data()[other.size()] = 0; | - |
650 | qt_from_latin1(d->data(), other.latin1(), other.size()); | - |
651 | }executed 133632 times by 329 tests: end of block Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
else { | 133632 |
652 | *this = fromLatin1(other.latin1(), other.size()); | - |
653 | }executed 89640 times by 657 tests: end of block 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
- ...
| 89640 |
654 | returnexecuted 223272 times by 657 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 223272 times by 657 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
- ...
| 223272 |
655 | } | - |
656 | QString &QString::operator=(QChar ch) | - |
657 | { | - |
658 | if (isDetached()TRUE | evaluated 698 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 77060 times by 117 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontMetrics
- ...
|
&& capacity() >= 1TRUE | 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 1 time by 1 test |
) { | 1-77060 |
659 | | - |
660 | ushort *dat = d->data(); | - |
661 | dat[0] = ch.unicode(); | - |
662 | dat[1] = 0; | - |
663 | d->size = 1; | - |
664 | }executed 697 times by 162 tests: end of block Executed 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 { | 697 |
665 | operator=(QString(ch)); | - |
666 | }executed 77061 times by 117 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontMetrics
- ...
| 77061 |
667 | returnexecuted 77758 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 77758 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
- ...
| 77758 |
668 | } | - |
669 | QString &QString::insert(int i, QLatin1String str) | - |
670 | { | - |
671 | const char *s = str.latin1(); | - |
672 | if (i < 0TRUE | never evaluated | FALSE | evaluated 17409 times by 58 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
|
|| !sTRUE | evaluated 8 times by 1 test | FALSE | evaluated 17401 times by 58 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
|
|| !(*s)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 17393 times by 58 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
|
) | 0-17409 |
673 | returnexecuted 16 times by 1 test: return *this; *this;executed 16 times by 1 test: return *this; | 16 |
674 | | - |
675 | int len = str.size(); | - |
676 | if (__builtin_expect(!!(i > d->size), false)TRUE | never evaluated | FALSE | evaluated 17393 times by 58 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
|
) | 0-17393 |
677 | resize(i + len, QLatin1Char(' ')); never executed: resize(i + len, QLatin1Char(' ')); | 0 |
678 | else | - |
679 | resize(d->size + len);executed 17393 times by 58 tests: resize(d->size + len); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
| 17393 |
680 | | - |
681 | ::memmove(d->data() + i + len, d->data() + i, (d->size - i - len) * sizeof(QChar)); | - |
682 | qt_from_latin1(d->data() + i, s, uint(len)); | - |
683 | returnexecuted 17393 times by 58 tests: return *this; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
*this;executed 17393 times by 58 tests: return *this; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDnsLookup
- 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_QHostInfo
- tst_QItemModel
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
| 17393 |
684 | } | - |
685 | QString& QString::insert(int i, const QChar *unicode, int size) | - |
686 | { | - |
687 | if (i < 0TRUE | never evaluated | FALSE | evaluated 1414856 times by 75 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
|
|| size <= 0TRUE | evaluated 353295 times by 39 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| FALSE | evaluated 1061561 times by 75 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
|
) | 0-1414856 |
688 | returnexecuted 353295 times by 39 tests: return *this; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
*this;executed 353295 times by 39 tests: return *this; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 353295 |
689 | | - |
690 | const ushort *s = (const ushort *)unicode; | - |
691 | if (s >= d->data()TRUE | evaluated 473772 times by 69 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 587789 times by 74 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
|
&& s < d->data() + d->allocTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 473769 times by 69 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
) { | 3-587789 |
692 | | - |
693 | ushort *tmp = static_cast<ushort *>(::malloc(size * sizeof(QChar))); | - |
694 | 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 |
695 | memcpy(tmp, s, size * sizeof(QChar)); | - |
696 | insert(i, reinterpret_cast<const QChar *>(tmp), size); | - |
697 | ::free(tmp); | - |
698 | 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 |
699 | } | - |
700 | | - |
701 | if (__builtin_expect(!!(i > d->size), false)TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 1061556 times by 75 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
|
) | 2-1061556 |
702 | resize(i + size, QLatin1Char(' '));executed 2 times by 2 tests: resize(i + size, QLatin1Char(' ')); Executed by:- tst_Collections
- tst_QString
| 2 |
703 | else | - |
704 | resize(d->size + size);executed 1061556 times by 75 tests: resize(d->size + size); 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
| 1061556 |
705 | | - |
706 | ::memmove(d->data() + i + size, d->data() + i, (d->size - i - size) * sizeof(QChar)); | - |
707 | memcpy(d->data() + i, s, size * sizeof(QChar)); | - |
708 | returnexecuted 1061558 times by 75 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
*this;executed 1061558 times by 75 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
| 1061558 |
709 | } | - |
710 | QString& QString::insert(int i, QChar ch) | - |
711 | { | - |
712 | if (i < 0TRUE | never evaluated | FALSE | evaluated 510830 times by 413 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-510830 |
713 | i += d->size; never executed: i += d->size; | 0 |
714 | if (i < 0TRUE | never evaluated | FALSE | evaluated 510830 times by 413 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-510830 |
715 | return never executed: return *this; *this;never executed: return *this; | 0 |
716 | if (__builtin_expect(!!(i > d->size), false)TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 510828 times by 413 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
- ...
|
) | 2-510828 |
717 | resize(i + 1, QLatin1Char(' '));executed 2 times by 2 tests: resize(i + 1, QLatin1Char(' ')); Executed by:- tst_Collections
- tst_QString
| 2 |
718 | else | - |
719 | resize(d->size + 1);executed 510828 times by 413 tests: resize(d->size + 1); 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
- ...
| 510828 |
720 | ::memmove(d->data() + i + 1, d->data() + i, (d->size - i - 1) * sizeof(QChar)); | - |
721 | d->data()[i] = ch.unicode(); | - |
722 | returnexecuted 510830 times by 413 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 510830 times by 413 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
- ...
| 510830 |
723 | } | - |
724 | QString &QString::append(const QString &str) | - |
725 | { | - |
726 | if (str.d != Data::sharedNull()TRUE | evaluated 51070895 times by 522 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| FALSE | evaluated 41421 times by 138 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_QCalendarWidget
- tst_QComboBox
- 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
- ...
|
) { | 41421-51070895 |
727 | if (d == Data::sharedNull()TRUE | evaluated 387409 times by 226 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAsn1Element
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| FALSE | evaluated 50683486 times by 508 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) { | 387409-50683486 |
728 | operator=(str); | - |
729 | }executed 387409 times by 226 tests: end of block Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QAsn1Element
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QCalendarWidget
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
else { | 387409 |
730 | if (d->ref.isShared()TRUE | evaluated 7313833 times by 283 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QChar
- ...
| FALSE | evaluated 43369653 times by 494 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_QBoxLayout
- ...
|
|| uint(d->size + str.d->size) + 1u > d->allocTRUE | evaluated 570071 times by 436 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_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- ...
| FALSE | evaluated 42799582 times by 482 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) | 570071-43369653 |
731 | reallocData(uint(d->size + str.d->size) + 1u, true);executed 7883904 times by 482 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_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
- ...
| 7883904 |
732 | memcpy(d->data() + d->size, str.d->data(), str.d->size * sizeof(QChar)); | - |
733 | d->size += str.d->size; | - |
734 | d->data()[d->size] = '\0'; | - |
735 | }executed 50683486 times by 508 tests: end of block 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_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 50683486 |
736 | } | - |
737 | returnexecuted 51112316 times by 522 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
*this;executed 51112316 times by 522 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 51112316 |
738 | } | - |
739 | | - |
740 | | - |
741 | | - |
742 | | - |
743 | | - |
744 | | - |
745 | | - |
746 | QString &QString::append(const QChar *str, int len) | - |
747 | { | - |
748 | if (strTRUE | evaluated 262545 times by 97 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 > 0TRUE | evaluated 261788 times by 97 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 757 times by 18 testsEvaluated by:- tst_QApplication
- tst_QDBusInterface
- tst_QDBusXmlParser
- tst_QDnsLookup
- tst_QGraphicsScene
- tst_QMimeDatabase
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPrintDevice
- tst_QPrinterInfo
- tst_QSslSocket
- tst_QString
- tst_QVariant
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
- tst_qstandardpaths
|
) { | 1-262545 |
749 | if (d->ref.isShared()TRUE | evaluated 54053 times by 78 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_QGuiEventLoop
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- ...
| FALSE | evaluated 207735 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->allocTRUE | evaluated 37420 times by 69 testsEvaluated by:- tst_Gestures
- 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
- ...
| FALSE | evaluated 170315 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
- ...
|
) | 37420-207735 |
750 | reallocData(uint(d->size + len) + 1u, true);executed 91473 times by 84 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_QGuiEventLoop
- tst_QGuiVariant
- ...
| 91473 |
751 | memcpy(d->data() + d->size, str, len * sizeof(QChar)); | - |
752 | d->size += len; | - |
753 | d->data()[d->size] = '\0'; | - |
754 | }executed 261788 times by 97 tests: end of block 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
- ...
| 261788 |
755 | returnexecuted 262546 times by 97 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 262546 times by 97 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
- ...
| 262546 |
756 | } | - |
757 | | - |
758 | | - |
759 | | - |
760 | | - |
761 | | - |
762 | | - |
763 | QString &QString::append(QLatin1String str) | - |
764 | { | - |
765 | const char *s = str.latin1(); | - |
766 | if (sTRUE | evaluated 126592 times by 235 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- 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
- ...
| FALSE | evaluated 57 times by 2 testsEvaluated by:- tst_QString
- tst_QXmlStream
|
) { | 57-126592 |
767 | int len = str.size(); | - |
768 | if (d->ref.isShared()TRUE | evaluated 24169 times by 207 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- 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
- ...
| FALSE | evaluated 102423 times by 200 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemModel
- 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
- tst_QDBusConnection_NoApplication
- ...
|
|| uint(d->size + len) + 1u > d->allocTRUE | evaluated 30756 times by 188 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemModel
- 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
- tst_QDBusConnection_NoApplication
- ...
| FALSE | evaluated 71667 times by 79 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
- ...
|
) | 24169-102423 |
769 | reallocData(uint(d->size + len) + 1u, true);executed 54925 times by 234 tests: reallocData(uint(d->size + len) + 1u, true); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- 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
- ...
| 54925 |
770 | ushort *i = d->data() + d->size; | - |
771 | qt_from_latin1(i, s, uint(len)); | - |
772 | i[len] = '\0'; | - |
773 | d->size += len; | - |
774 | }executed 126592 times by 235 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- 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
- ...
| 126592 |
775 | returnexecuted 126649 times by 235 tests: return *this; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- 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
- ...
*this;executed 126649 times by 235 tests: return *this; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- 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
- ...
| 126649 |
776 | } | - |
777 | QString &QString::append(QChar ch) | - |
778 | { | - |
779 | if (d->ref.isShared()TRUE | evaluated 135065 times by 166 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- 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_QDateTime
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 555989 times by 201 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_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
|
|| uint(d->size) + 2u > d->allocTRUE | evaluated 46500 times by 169 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 509489 times by 186 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- 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
- tst_QDate
- ...
|
) | 46500-555989 |
780 | reallocData(uint(d->size) + 2u, true);executed 181565 times by 196 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_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
| 181565 |
781 | d->data()[d->size++] = ch.unicode(); | - |
782 | d->data()[d->size] = '\0'; | - |
783 | returnexecuted 691054 times by 216 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_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
*this;executed 691054 times by 216 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_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QChar
- tst_QColor
- tst_QColumnView
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
| 691054 |
784 | } | - |
785 | QString &QString::remove(int pos, int len) | - |
786 | { | - |
787 | if (pos < 0TRUE | never evaluated | FALSE | evaluated 173715 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-173715 |
788 | pos += d->size; never executed: pos += d->size; | 0 |
789 | if (uint(pos) >= uint(d->size)TRUE | never evaluated | FALSE | evaluated 173843 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-173843 |
790 | | - |
791 | } never executed: end of block else if (len >= d->size - posTRUE | 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 123814 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-123814 |
792 | resize(pos); | - |
793 | }executed 50029 times by 24 tests: end of block Executed 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 > 0TRUE | evaluated 123813 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-123813 |
794 | detach(); | - |
795 | memmove(d->data() + pos, d->data() + pos + len, | - |
796 | (d->size - pos - len + 1) * sizeof(ushort)); | - |
797 | d->size -= len; | - |
798 | }executed 123813 times by 149 tests: end of block 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
- ...
| 123813 |
799 | returnexecuted 173843 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 173843 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
- ...
| 173843 |
800 | } | - |
801 | QString &QString::remove(const QString &str, Qt::CaseSensitivity cs) | - |
802 | { | - |
803 | if (str.d->sizeTRUE | evaluated 24541 times by 11 testsEvaluated by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
| FALSE | evaluated 4 times by 1 test |
) { | 4-24541 |
804 | int i = 0; | - |
805 | while ((TRUE | evaluated 18 times by 2 tests | FALSE | evaluated 24541 times by 11 testsEvaluated by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
|
i = indexOf(str, i, cs)) != -1TRUE | evaluated 18 times by 2 tests | FALSE | evaluated 24541 times by 11 testsEvaluated by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
|
) | 18-24541 |
806 | remove(i, str.d->size);executed 18 times by 2 tests: remove(i, str.d->size); | 18 |
807 | }executed 24541 times by 11 tests: end of block Executed by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
| 24541 |
808 | returnexecuted 24545 times by 11 tests: return *this; Executed by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
*this;executed 24545 times by 11 tests: return *this; Executed by:- tst_QAction
- tst_QButtonGroup
- tst_QDialogButtonBox
- tst_QLineEdit
- tst_QLogging
- tst_QMenu
- tst_QPrinter
- tst_QString
- tst_QToolBar
- tst_QToolButton
- tst_QWidgetAction
| 24545 |
809 | } | - |
810 | QString &QString::remove(QChar ch, Qt::CaseSensitivity cs) | - |
811 | { | - |
812 | int i = 0; | - |
813 | ushort c = ch.unicode(); | - |
814 | if (cs == Qt::CaseSensitiveTRUE | evaluated 30102 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
| FALSE | evaluated 11 times by 1 test |
) { | 11-30102 |
815 | while (i < d->sizeTRUE | evaluated 760854 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
| FALSE | evaluated 30102 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
|
) | 30102-760854 |
816 | if (d->data()[i] == chTRUE | 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 712420 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
|
) | 48434-712420 |
817 | 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 |
818 | else | - |
819 | i++;executed 712420 times by 26 tests: i++; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
| 712420 |
820 | }executed 30102 times by 27 tests: end of block Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
else { | 30102 |
821 | c = foldCase(c); | - |
822 | while (i < d->sizeTRUE | evaluated 36 times by 1 test | FALSE | evaluated 11 times by 1 test |
) | 11-36 |
823 | if (foldCase(d->data()[i]) == cTRUE | evaluated 14 times by 1 test | FALSE | evaluated 22 times by 1 test |
) | 14-22 |
824 | remove(i, 1);executed 14 times by 1 test: remove(i, 1); | 14 |
825 | else | - |
826 | i++;executed 22 times by 1 test: i++; | 22 |
827 | }executed 11 times by 1 test: end of block | 11 |
828 | returnexecuted 30113 times by 27 tests: return *this; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
*this;executed 30113 times by 27 tests: return *this; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMessageBox
- 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
- ...
| 30113 |
829 | } | - |
830 | QString &QString::replace(int pos, int len, const QString &after) | - |
831 | { | - |
832 | returnexecuted 2000587 times by 9 tests: return replace(pos, len, after.constData(), after.length()); Executed by:- tst_Collections
- tst_QDateTimeEdit
- tst_QLineEdit
- tst_QMdiArea
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTranslator
- tst_qmakelib
replace(pos, len, after.constData(), after.length());executed 2000587 times by 9 tests: return replace(pos, len, after.constData(), after.length()); Executed by:- tst_Collections
- tst_QDateTimeEdit
- tst_QLineEdit
- tst_QMdiArea
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTranslator
- tst_qmakelib
| 2000587 |
833 | } | - |
834 | QString &QString::replace(int pos, int len, const QChar *unicode, int size) | - |
835 | { | - |
836 | if (uint(pos) > uint(d->size)TRUE | never evaluated | FALSE | evaluated 2109498 times by 22 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- 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-2109498 |
837 | return never executed: return *this; *this;never executed: return *this; | 0 |
838 | if (len > d->size - posTRUE | evaluated 25 times by 1 test | FALSE | evaluated 2109473 times by 22 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- 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-2109473 |
839 | len = d->size - pos;executed 25 times by 1 test: len = d->size - pos; | 25 |
840 | | - |
841 | uint index = pos; | - |
842 | replace_helper(&index, 1, len, unicode, size); | - |
843 | returnexecuted 2109498 times by 22 tests: return *this; Executed by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- 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 2109498 times by 22 tests: return *this; Executed by:- tst_Collections
- tst_QAccessibility
- tst_QChar
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- 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
| 2109498 |
844 | } | - |
845 | QString &QString::replace(int pos, int len, QChar after) | - |
846 | { | - |
847 | 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 |
848 | } | - |
849 | QString &QString::replace(const QString &before, const QString &after, Qt::CaseSensitivity cs) | - |
850 | { | - |
851 | returnexecuted 168802 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 168802 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
| 168802 |
852 | } | - |
853 | | - |
854 | namespace { | - |
855 | QChar *textCopy(const QChar *start, int len) | - |
856 | { | - |
857 | const size_t size = len * sizeof(QChar); | - |
858 | QChar *const copy = static_cast<QChar *>(::malloc(size)); | - |
859 | do { if (!(copy)TRUE | never evaluated | FALSE | evaluated 28 times by 4 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-28 |
860 | ::memcpy(copy, start, size); | - |
861 | returnexecuted 28 times by 4 tests: return copy; Executed by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
copy;executed 28 times by 4 tests: return copy; Executed by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| 28 |
862 | } | - |
863 | | - |
864 | bool pointsIntoRange(const QChar *ptr, const ushort *base, int len) | - |
865 | { | - |
866 | const QChar *const start = reinterpret_cast<const QChar *>(base); | - |
867 | returnexecuted 2111199 times by 50 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_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- ...
start <= ptr && ptr < start + len;executed 2111199 times by 50 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_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- ...
| 2111199 |
868 | } | - |
869 | } | - |
870 | | - |
871 | | - |
872 | | - |
873 | | - |
874 | void QString::replace_helper(uint *indices, int nIndices, int blen, const QChar *after, int alen) | - |
875 | { | - |
876 | | - |
877 | | - |
878 | QChar *afterBuffer = 0; | - |
879 | if (pointsIntoRange(after, d->data(), d->size)TRUE | evaluated 26 times by 4 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| FALSE | evaluated 2111171 times by 50 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_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- ...
|
) | 26-2111171 |
880 | after = afterBuffer = textCopy(after, alen);executed 26 times by 4 tests: after = afterBuffer = textCopy(after, alen); Executed by:- tst_Collections
- tst_QDate
- tst_QDateTimeEdit
- tst_QString
| 26 |
881 | | - |
882 | try { | - |
883 | if (blen == alenTRUE | evaluated 2014278 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 96919 times by 39 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_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- ...
|
) { | 96919-2014278 |
884 | | - |
885 | detach(); | - |
886 | for (int i = 0; i < nIndicesTRUE | evaluated 2014285 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 2014278 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) | 2014278-2014285 |
887 | memcpy(d->data() + indices[i], after, alen * sizeof(QChar));executed 2014285 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
| 2014285 |
888 | }executed 2014278 times by 21 tests: end of block 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
else if (alen < blenTRUE | evaluated 10372 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 86547 times by 32 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_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTcpServer
- ...
|
) { | 10372-2014278 |
889 | | - |
890 | detach(); | - |
891 | uint to = indices[0]; | - |
892 | if (alenTRUE | evaluated 10340 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-10340 |
893 | memcpy(d->data()+to, after, alen*sizeof(QChar));executed 10340 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
| 10340 |
894 | to += alen; | - |
895 | uint movestart = indices[0] + blen; | - |
896 | for (int i = 1; i < nIndicesTRUE | evaluated 1031 times by 1 test | FALSE | evaluated 10372 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-10372 |
897 | int msize = indices[i] - movestart; | - |
898 | if (msize > 0TRUE | evaluated 1029 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-1029 |
899 | memmove(d->data() + to, d->data() + movestart, msize * sizeof(QChar)); | - |
900 | to += msize; | - |
901 | }executed 1029 times by 1 test: end of block | 1029 |
902 | if (alenTRUE | evaluated 1026 times by 1 test | FALSE | evaluated 5 times by 1 test |
) { | 5-1026 |
903 | memcpy(d->data() + to, after, alen * sizeof(QChar)); | - |
904 | to += alen; | - |
905 | }executed 1026 times by 1 test: end of block | 1026 |
906 | movestart = indices[i] + blen; | - |
907 | }executed 1031 times by 1 test: end of block | 1031 |
908 | int msize = d->size - movestart; | - |
909 | if (msize > 0TRUE | 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 9089 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-9089 |
910 | 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 |
911 | resize(d->size - nIndices*(blen-alen)); | - |
912 | }executed 10372 times by 16 tests: end of block 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
else { | 10372 |
913 | | - |
914 | int adjust = nIndices*(alen-blen); | - |
915 | int newLen = d->size + adjust; | - |
916 | int moveend = d->size; | - |
917 | resize(newLen); | - |
918 | | - |
919 | while (nIndicesTRUE | evaluated 86663 times by 32 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_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTcpServer
- ...
| FALSE | evaluated 86547 times by 32 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_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTcpServer
- ...
|
) { | 86547-86663 |
920 | --nIndices; | - |
921 | int movestart = indices[nIndices] + blen; | - |
922 | int insertstart = indices[nIndices] + nIndices*(alen-blen); | - |
923 | int moveto = insertstart + alen; | - |
924 | memmove(d->data() + moveto, d->data() + movestart, | - |
925 | (moveend - movestart)*sizeof(QChar)); | - |
926 | memcpy(d->data() + insertstart, after, alen * sizeof(QChar)); | - |
927 | moveend = movestart-blen; | - |
928 | }executed 86663 times by 32 tests: end of block Executed 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_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTcpServer
- ...
| 86663 |
929 | }executed 86547 times by 32 tests: end of block Executed 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_QFont
- tst_QFontDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QSettings
- tst_QString
- tst_QStringList
- tst_QTcpServer
- ...
| 86547 |
930 | } catch (const std::bad_alloc &) { | - |
931 | ::free(afterBuffer); | - |
932 | throw; never executed: throw; | 0 |
933 | } | - |
934 | ::free(afterBuffer); | - |
935 | }executed 2111197 times by 50 tests: end of block 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_QFont
- tst_QFontDialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- ...
| 2111197 |
936 | QString &QString::replace(const QChar *before, int blen, | - |
937 | const QChar *after, int alen, | - |
938 | Qt::CaseSensitivity cs) | - |
939 | { | - |
940 | if (d->size == 0TRUE | evaluated 2844 times by 28 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QUdpSocket
- tst_QUrl
- tst_QWidgetAction
- tst_QXmlSimpleReader
- ...
| FALSE | evaluated 192107 times by 104 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
|
) { | 2844-192107 |
941 | if (blenTRUE | evaluated 2838 times by 28 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QUdpSocket
- tst_QUrl
- tst_QWidgetAction
- tst_QXmlSimpleReader
- ...
| FALSE | evaluated 6 times by 1 test |
) | 6-2838 |
942 | returnexecuted 2838 times by 28 tests: return *this; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QUdpSocket
- tst_QUrl
- tst_QWidgetAction
- tst_QXmlSimpleReader
- ...
*this;executed 2838 times by 28 tests: return *this; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QFileDialog2
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QUdpSocket
- tst_QUrl
- tst_QWidgetAction
- tst_QXmlSimpleReader
- ...
| 2838 |
943 | }executed 6 times by 1 test: end of block else { | 6 |
944 | if (cs == Qt::CaseSensitiveTRUE | evaluated 192092 times by 104 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
&& before == afterTRUE | evaluated 2 times by 1 test | FALSE | evaluated 192090 times by 104 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
|
&& blen == alenTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-192092 |
945 | returnexecuted 2 times by 1 test: return *this; *this;executed 2 times by 1 test: return *this; | 2 |
946 | }executed 192105 times by 104 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
| 192105 |
947 | if (alen == 0TRUE | evaluated 21 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QString
| FALSE | evaluated 192090 times by 104 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
|
&& blen == 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QString
|
) | 4-192090 |
948 | returnexecuted 4 times by 1 test: return *this; *this;executed 4 times by 1 test: return *this; | 4 |
949 | | - |
950 | QStringMatcher matcher(before, blen, cs); | - |
951 | QChar *beforeBuffer = 0, *afterBuffer = 0; | - |
952 | | - |
953 | int index = 0; | - |
954 | while (1) { | - |
955 | uint indices[1024]; | - |
956 | uint pos = 0; | - |
957 | while (pos < 1024TRUE | evaluated 194936 times by 104 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 1 time by 1 test |
) { | 1-194936 |
958 | index = matcher.indexIn(*this, index); | - |
959 | if (index == -1TRUE | evaluated 192107 times by 104 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 2829 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
|
) | 2829-192107 |
960 | break;executed 192107 times by 104 tests: break; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
| 192107 |
961 | indices[pos++] = index; | - |
962 | if (blenTRUE | evaluated 2819 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
| FALSE | evaluated 10 times by 1 test |
) | 10-2819 |
963 | index += blen;executed 2819 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
| 2819 |
964 | else | - |
965 | index++;executed 10 times by 1 test: index++; | 10 |
966 | } | - |
967 | if (!posTRUE | evaluated 190418 times by 93 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QFtp
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- ...
| FALSE | evaluated 1690 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
|
) | 1690-190418 |
968 | break;executed 190418 times by 93 tests: break; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QFtp
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- ...
| 190418 |
969 | | - |
970 | if (__builtin_expect(!!(index != -1), false)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1689 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
|
) { | 1-1689 |
971 | | - |
972 | | - |
973 | | - |
974 | | - |
975 | if (!afterBufferTRUE | 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 |
976 | after = afterBuffer = textCopy(after, alen);executed 1 time by 1 test: after = afterBuffer = textCopy(after, alen); | 1 |
977 | | - |
978 | if (!beforeBufferTRUE | 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 |
979 | beforeBuffer = textCopy(before, blen); | - |
980 | matcher = QStringMatcher(beforeBuffer, blen, cs); | - |
981 | }executed 1 time by 1 test: end of block | 1 |
982 | }executed 1 time by 1 test: end of block | 1 |
983 | | - |
984 | replace_helper(indices, pos, blen, after, alen); | - |
985 | | - |
986 | if (__builtin_expect(!!(index == -1), true)TRUE | evaluated 1689 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-1689 |
987 | break;executed 1689 times by 35 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_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QString
- ...
| 1689 |
988 | | - |
989 | index += pos*(alen-blen); | - |
990 | }executed 1 time by 1 test: end of block | 1 |
991 | ::free(afterBuffer); | - |
992 | ::free(beforeBuffer); | - |
993 | | - |
994 | returnexecuted 192107 times by 104 tests: return *this; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
*this;executed 192107 times by 104 tests: return *this; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- 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_QEventLoop
- tst_QFileDialog2
- ...
| 192107 |
995 | } | - |
996 | QString& QString::replace(QChar ch, const QString &after, Qt::CaseSensitivity cs) | - |
997 | { | - |
998 | if (after.d->size == 0TRUE | evaluated 37 times by 1 test | FALSE | evaluated 33 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) | 33-37 |
999 | returnexecuted 37 times by 1 test: return remove(ch, cs); remove(ch, cs);executed 37 times by 1 test: return remove(ch, cs); | 37 |
1000 | | - |
1001 | if (after.d->size == 1TRUE | evaluated 22 times by 1 test | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) | 11-22 |
1002 | 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 |
1003 | | - |
1004 | if (d->size == 0TRUE | never evaluated | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) | 0-11 |
1005 | return never executed: return *this; *this;never executed: return *this; | 0 |
1006 | | - |
1007 | ushort cc = (cs == Qt::CaseSensitiveTRUE | evaluated 7 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 4 times by 1 test |
? ch.unicode() : ch.toCaseFolded().unicode()); | 4-7 |
1008 | | - |
1009 | int index = 0; | - |
1010 | while (1) { | - |
1011 | uint indices[1024]; | - |
1012 | uint pos = 0; | - |
1013 | if (cs == Qt::CaseSensitiveTRUE | evaluated 13 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 7 times by 1 test |
) { | 7-13 |
1014 | while (pos < 1024TRUE | evaluated 71 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | never evaluated |
&& index < d->sizeTRUE | evaluated 58 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) { | 0-71 |
1015 | if (d->data()[index] == ccTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 42 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) | 16-42 |
1016 | indices[pos++] = index;executed 16 times by 2 tests: indices[pos++] = index; Executed by:- tst_Collections
- tst_QString
| 16 |
1017 | index++; | - |
1018 | }executed 58 times by 2 tests: end of block Executed by:- tst_Collections
- tst_QString
| 58 |
1019 | }executed 13 times by 2 tests: end of block Executed by:- tst_Collections
- tst_QString
else { | 13 |
1020 | while (pos < 1024TRUE | evaluated 29 times by 1 test | FALSE | never evaluated |
&& index < d->sizeTRUE | evaluated 22 times by 1 test | FALSE | evaluated 7 times by 1 test |
) { | 0-29 |
1021 | if (QChar::toCaseFolded(d->data()[index]) == ccTRUE | evaluated 8 times by 1 test | FALSE | evaluated 14 times by 1 test |
) | 8-14 |
1022 | indices[pos++] = index;executed 8 times by 1 test: indices[pos++] = index; | 8 |
1023 | index++; | - |
1024 | }executed 22 times by 1 test: end of block | 22 |
1025 | }executed 7 times by 1 test: end of block | 7 |
1026 | if (!posTRUE | evaluated 11 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
| FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) | 9-11 |
1027 | break;executed 11 times by 2 tests: break; Executed by:- tst_Collections
- tst_QString
| 11 |
1028 | | - |
1029 | replace_helper(indices, pos, 1, after.constData(), after.d->size); | - |
1030 | | - |
1031 | if (__builtin_expect(!!(index == -1), true)TRUE | never evaluated | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_Collections
- tst_QString
|
) | 0-9 |
1032 | break; never executed: break; | 0 |
1033 | | - |
1034 | index += pos*(after.d->size - 1); | - |
1035 | }executed 9 times by 2 tests: end of block Executed by:- tst_Collections
- tst_QString
| 9 |
1036 | returnexecuted 11 times by 2 tests: return *this; Executed by:- tst_Collections
- tst_QString
*this;executed 11 times by 2 tests: return *this; Executed by:- tst_Collections
- tst_QString
| 11 |
1037 | } | - |
1038 | QString& QString::replace(QChar before, QChar after, Qt::CaseSensitivity cs) | - |
1039 | { | - |
1040 | ushort a = after.unicode(); | - |
1041 | ushort b = before.unicode(); | - |
1042 | if (d->sizeTRUE | evaluated 135666 times by 63 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 1248 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QTextDocument
- tst_QTreeView
- tst_languageChange
|
) { | 1248-135666 |
1043 | detach(); | - |
1044 | ushort *i = d->data(); | - |
1045 | const ushort *e = i + d->size; | - |
1046 | if (cs == Qt::CaseSensitiveTRUE | evaluated 135644 times by 63 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-135644 |
1047 | for (; i != eTRUE | evaluated 1098526 times by 63 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 135644 times by 63 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) | 135644-1098526 |
1048 | if (*TRUE | evaluated 9864 times by 24 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
| FALSE | evaluated 1088662 times by 63 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 == bTRUE | evaluated 9864 times by 24 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
| FALSE | evaluated 1088662 times by 63 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
- ...
|
) | 9864-1088662 |
1049 | *executed 9864 times by 24 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
i = a;executed 9864 times by 24 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
| 9864 |
1050 | }executed 135644 times by 63 tests: end of block 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
- ...
else { | 135644 |
1051 | b = foldCase(b); | - |
1052 | for (; i != eTRUE | evaluated 58 times by 1 test | FALSE | evaluated 22 times by 1 test |
; ++i) | 22-58 |
1053 | if (foldCase(*i) == bTRUE | evaluated 30 times by 1 test | FALSE | evaluated 28 times by 1 test |
) | 28-30 |
1054 | *executed 30 times by 1 test: *i = a; i = a;executed 30 times by 1 test: *i = a; | 30 |
1055 | }executed 22 times by 1 test: end of block | 22 |
1056 | } | - |
1057 | returnexecuted 136914 times by 63 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 136914 times by 63 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
- ...
| 136914 |
1058 | } | - |
1059 | QString &QString::replace(QLatin1String before, QLatin1String after, Qt::CaseSensitivity cs) | - |
1060 | { | - |
1061 | int alen = after.size(); | - |
1062 | int blen = before.size(); | - |
1063 | QVarLengthArray<ushort> a(alen); | - |
1064 | QVarLengthArray<ushort> b(blen); | - |
1065 | qt_from_latin1(a.data(), after.latin1(), alen); | - |
1066 | qt_from_latin1(b.data(), before.latin1(), blen); | - |
1067 | returnexecuted 1004 times by 42 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_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- ...
replace((const QChar *)b.data(), blen, (const QChar *)a.data(), alen, cs);executed 1004 times by 42 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_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- ...
| 1004 |
1068 | } | - |
1069 | QString &QString::replace(QLatin1String before, const QString &after, Qt::CaseSensitivity cs) | - |
1070 | { | - |
1071 | int blen = before.size(); | - |
1072 | QVarLengthArray<ushort> b(blen); | - |
1073 | qt_from_latin1(b.data(), before.latin1(), blen); | - |
1074 | returnexecuted 201 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 201 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
| 201 |
1075 | } | - |
1076 | QString &QString::replace(const QString &before, QLatin1String after, Qt::CaseSensitivity cs) | - |
1077 | { | - |
1078 | int alen = after.size(); | - |
1079 | QVarLengthArray<ushort> a(alen); | - |
1080 | qt_from_latin1(a.data(), after.latin1(), alen); | - |
1081 | 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 |
1082 | } | - |
1083 | QString &QString::replace(QChar c, QLatin1String after, Qt::CaseSensitivity cs) | - |
1084 | { | - |
1085 | int alen = after.size(); | - |
1086 | QVarLengthArray<ushort> a(alen); | - |
1087 | qt_from_latin1(a.data(), after.latin1(), alen); | - |
1088 | returnexecuted 24942 times by 71 tests: return replace(&c, 1, (const QChar *)a.data(), alen, cs); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- 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_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- ...
replace(&c, 1, (const QChar *)a.data(), alen, cs);executed 24942 times by 71 tests: return replace(&c, 1, (const QChar *)a.data(), alen, cs); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- 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_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- ...
| 24942 |
1089 | } | - |
1090 | bool operator==(const QString &s1, const QString &s2) noexcept | - |
1091 | { | - |
1092 | if (s1.d->size != s2.d->sizeTRUE | evaluated 358990 times by 302 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_QCalendarWidget
- tst_QCheckBox
- ...
| FALSE | evaluated 2791400 times by 526 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) | 358990-2791400 |
1093 | returnexecuted 358990 times by 302 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_QCalendarWidget
- tst_QCheckBox
- ...
false;executed 358990 times by 302 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_QCalendarWidget
- tst_QCheckBox
- ...
| 358990 |
1094 | | - |
1095 | returnexecuted 2791400 times by 526 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
qMemEquals(s1.d->data(), s2.d->data(), s1.d->size);executed 2791400 times by 526 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_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 2791400 |
1096 | } | - |
1097 | | - |
1098 | | - |
1099 | | - |
1100 | | - |
1101 | | - |
1102 | | - |
1103 | bool QString::operator==(QLatin1String other) const noexcept | - |
1104 | { | - |
1105 | if (d->size != other.size()TRUE | evaluated 1117851 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 195896 times by 444 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
- ...
|
) | 195896-1117851 |
1106 | returnexecuted 1117851 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 1117851 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
- ...
| 1117851 |
1107 | | - |
1108 | if (!other.size()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 195892 times by 444 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-195892 |
1109 | returnexecuted 4 times by 1 test: return isEmpty(); isEmpty();executed 4 times by 1 test: return isEmpty(); | 4 |
1110 | | - |
1111 | returnexecuted 195892 times by 444 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 195892 times by 444 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
- ...
| 195892 |
1112 | } | - |
1113 | bool operator<(const QString &s1, const QString &s2) noexcept | - |
1114 | { | - |
1115 | returnexecuted 1719191 times by 420 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 1719191 times by 420 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
- ...
| 1719191 |
1116 | } | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
1122 | | - |
1123 | bool QString::operator<(QLatin1String other) const noexcept | - |
1124 | { | - |
1125 | const uchar *c = (const uchar *) other.latin1(); | - |
1126 | if (!cTRUE | evaluated 5 times by 1 test | FALSE | evaluated 2354 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 2347 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 == 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 2347 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-2354 |
1127 | returnexecuted 12 times by 1 test: return false; false;executed 12 times by 1 test: return false; | 12 |
1128 | | - |
1129 | returnexecuted 2347 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 2347 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
| 2347 |
1130 | } | - |
1131 | bool QString::operator>(QLatin1String other) const noexcept | - |
1132 | { | - |
1133 | const uchar *c = (const uchar *) other.latin1(); | - |
1134 | if (!cTRUE | evaluated 5 times by 1 test | FALSE | evaluated 17569 times by 27 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- ...
|
|| *TRUE | evaluated 7 times by 1 test | FALSE | evaluated 17562 times by 27 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- ...
|
c == '\0'TRUE | evaluated 7 times by 1 test | FALSE | evaluated 17562 times by 27 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- ...
|
) | 5-17569 |
1135 | returnexecuted 12 times by 1 test: return !isEmpty(); !isEmpty();executed 12 times by 1 test: return !isEmpty(); | 12 |
1136 | | - |
1137 | returnexecuted 17562 times by 27 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) > 0; Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- ...
compare_helper(data(), size(), other, Qt::CaseSensitive) > 0;executed 17562 times by 27 tests: return compare_helper(data(), size(), other, Qt::CaseSensitive) > 0; Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QErrorMessage
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QPlainTextEdit
- tst_QStaticText
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- ...
| 17562 |
1138 | } | - |
1139 | int QString::indexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
1140 | { | - |
1141 | returnexecuted 899908 times by 83 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 899908 times by 83 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
- ...
| 899908 |
1142 | } | - |
1143 | int QString::indexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
1144 | { | - |
1145 | returnexecuted 10519 times by 181 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_QDBusAbstractAdaptor
- ...
qt_find_latin1_string(unicode(), size(), str, from, cs);executed 10519 times by 181 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_QDBusAbstractAdaptor
- ...
| 10519 |
1146 | } | - |
1147 | | - |
1148 | int qFindString( | - |
1149 | const QChar *haystack0, int haystackLen, int from, | - |
1150 | const QChar *needle0, int needleLen, Qt::CaseSensitivity cs) | - |
1151 | { | - |
1152 | const int l = haystackLen; | - |
1153 | const int sl = needleLen; | - |
1154 | if (from < 0TRUE | never evaluated | FALSE | evaluated 1477224 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-1477224 |
1155 | from += l; never executed: from += l; | 0 |
1156 | if (uint(sl + from) > (uint)lTRUE | evaluated 47418 times by 88 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 1429806 times by 285 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
- ...
|
) | 47418-1429806 |
1157 | returnexecuted 47418 times by 88 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 47418 times by 88 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
- ...
| 47418 |
1158 | if (!slTRUE | 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 1429414 times by 285 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-1429414 |
1159 | 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 |
1160 | if (!lTRUE | never evaluated | FALSE | evaluated 1429414 times by 285 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-1429414 |
1161 | return never executed: return -1; -1;never executed: return -1; | 0 |
1162 | | - |
1163 | if (sl == 1TRUE | evaluated 523575 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 905839 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
- ...
|
) | 523575-905839 |
1164 | returnexecuted 523575 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 523575 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
- ...
| 523575 |
1165 | | - |
1166 | | - |
1167 | | - |
1168 | | - |
1169 | | - |
1170 | | - |
1171 | if (l > 500TRUE | 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 905644 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 > 5TRUE | 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-905644 |
1172 | 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 |
1173 | 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 |
1174 | | - |
1175 | | - |
1176 | | - |
1177 | | - |
1178 | | - |
1179 | | - |
1180 | | - |
1181 | const ushort *needle = (const ushort *)needle0; | - |
1182 | const ushort *haystack = (const ushort *)haystack0 + from; | - |
1183 | const ushort *end = (const ushort *)haystack0 + (l-sl); | - |
1184 | const uint sl_minus_1 = sl - 1; | - |
1185 | uint hashNeedle = 0, hashHaystack = 0; | - |
1186 | int idx; | - |
1187 | | - |
1188 | if (cs == Qt::CaseSensitiveTRUE | evaluated 904345 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 1318 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
) { | 1318-904345 |
1189 | for (idx = 0; idx < slTRUE | evaluated 4502412 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 904345 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) { | 904345-4502412 |
1190 | hashNeedle = ((hashNeedle<<1) + needle[idx]); | - |
1191 | hashHaystack = ((hashHaystack<<1) + haystack[idx]); | - |
1192 | }executed 4502412 times by 206 tests: end of block 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
- ...
| 4502412 |
1193 | hashHaystack -= haystack[sl_minus_1]; | - |
1194 | | - |
1195 | while (haystack <= endTRUE | evaluated 5114794 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 612933 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
- ...
|
) { | 612933-5114794 |
1196 | hashHaystack += haystack[sl_minus_1]; | - |
1197 | if (hashHaystack == hashNeedleTRUE | evaluated 291572 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 4823222 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
- ...
|
| 291572-4823222 |
1198 | && ucstrncmp((const QChar *)needle, (const QChar *)haystack, sl) == 0TRUE | evaluated 291412 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-291412 |
1199 | returnexecuted 291412 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 291412 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
- ...
| 291412 |
1200 | | - |
1201 | if (sl_minus_1 < sizeof(uint) * 8TRUE | evaluated 4821888 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 4821888 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-4821888 |
1202 | ++haystack; | - |
1203 | }executed 4823382 times by 205 tests: end of block 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
- ...
| 4823382 |
1204 | }executed 612933 times by 193 tests: end of block 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
- ...
else { | 612933 |
1205 | const ushort *haystack_start = (const ushort *)haystack0; | - |
1206 | for (idx = 0; idx < slTRUE | evaluated 4376 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| FALSE | evaluated 1318 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
; ++idx) { | 1318-4376 |
1207 | hashNeedle = (hashNeedle<<1) + foldCase(needle + idx, needle); | - |
1208 | hashHaystack = (hashHaystack<<1) + foldCase(haystack + idx, haystack_start); | - |
1209 | }executed 4376 times by 18 tests: end of block Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| 4376 |
1210 | hashHaystack -= foldCase(haystack + sl_minus_1, haystack_start); | - |
1211 | | - |
1212 | while (haystack <= endTRUE | evaluated 3265 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| FALSE | evaluated 219 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
|
) { | 219-3265 |
1213 | hashHaystack += foldCase(haystack + sl_minus_1, haystack_start); | - |
1214 | if (hashHaystack == hashNeedleTRUE | 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 2163 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- 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) == 0TRUE | 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-2163 |
1215 | 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 |
1216 | | - |
1217 | if (sl_minus_1 < sizeof(uint) * 8TRUE | evaluated 1981 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- 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 1981 times by 17 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_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
hashHaystack <<= 1; | 185-1981 |
1218 | ++haystack; | - |
1219 | }executed 2166 times by 17 tests: end of block Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| 2166 |
1220 | }executed 219 times by 17 tests: end of block Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTime
- tst_qlogging - unknown status
| 219 |
1221 | returnexecuted 613152 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 613152 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
- ...
| 613152 |
1222 | } | - |
1223 | int QString::indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
1224 | { | - |
1225 | returnexecuted 907496 times by 285 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 907496 times by 285 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
- ...
| 907496 |
1226 | } | - |
1227 | int QString::indexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
1228 | { | - |
1229 | 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 |
1230 | } | - |
1231 | | - |
1232 | static int lastIndexOfHelper(const ushort *haystack, int from, const ushort *needle, int sl, Qt::CaseSensitivity cs) | - |
1233 | { | - |
1234 | | - |
1235 | | - |
1236 | | - |
1237 | | - |
1238 | const ushort *end = haystack; | - |
1239 | haystack += from; | - |
1240 | const uint sl_minus_1 = sl - 1; | - |
1241 | const ushort *n = needle+sl_minus_1; | - |
1242 | const ushort *h = haystack+sl_minus_1; | - |
1243 | uint hashNeedle = 0, hashHaystack = 0; | - |
1244 | int idx; | - |
1245 | | - |
1246 | if (cs == Qt::CaseSensitiveTRUE | 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 |
1247 | for (idx = 0; idx < slTRUE | 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 |
1248 | hashNeedle = ((hashNeedle<<1) + *(n-idx)); | - |
1249 | hashHaystack = ((hashHaystack<<1) + *(h-idx)); | - |
1250 | }executed 1125 times by 8 tests: end of block Executed by:- tst_Collections
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 1125 |
1251 | hashHaystack -= *haystack; | - |
1252 | | - |
1253 | while (haystack >= endTRUE | 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 |
1254 | hashHaystack += *haystack; | - |
1255 | if (hashHaystack == hashNeedleTRUE | 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 |
1256 | && ucstrncmp((const QChar *)needle, (const QChar *)haystack, sl) == 0TRUE | 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 |
1257 | 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 |
1258 | --haystack; | - |
1259 | if (sl_minus_1 < sizeof(uint) * 8TRUE | 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 |
1260 | }executed 601 times by 5 tests: end of block Executed by:- tst_Collections
- tst_QMdiArea
- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 601 |
1261 | }executed 18 times by 4 tests: end of block Executed by:- tst_Collections
- tst_QString
- tst_QStringRef
- tst_QTextDocument
else { | 18 |
1262 | for (idx = 0; idx < slTRUE | 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 |
1263 | hashNeedle = ((hashNeedle<<1) + foldCase(n-idx, needle)); | - |
1264 | hashHaystack = ((hashHaystack<<1) + foldCase(h-idx, end)); | - |
1265 | }executed 1106 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 1106 |
1266 | hashHaystack -= foldCase(haystack, end); | - |
1267 | | - |
1268 | while (haystack >= endTRUE | 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 |
1269 | hashHaystack += foldCase(haystack, end); | - |
1270 | if (hashHaystack == hashNeedleTRUE | 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) == 0TRUE | 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 |
1271 | 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 |
1272 | --haystack; | - |
1273 | if (sl_minus_1 < sizeof(uint) * 8TRUE | 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 |
1274 | }executed 610 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 610 |
1275 | }executed 38 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringRef
- tst_QTextDocument
| 38 |
1276 | 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 |
1277 | } | - |
1278 | int QString::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
1279 | { | - |
1280 | const int sl = str.d->size; | - |
1281 | if (sl == 1TRUE | evaluated 119 times by 1 test | FALSE | evaluated 95 times by 5 testsEvaluated by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
|
) | 95-119 |
1282 | returnexecuted 119 times by 1 test: return lastIndexOf(QChar(str.d->data()[0]), from, cs); lastIndexOf(QChar(str.d->data()[0]), from, cs);executed 119 times by 1 test: return lastIndexOf(QChar(str.d->data()[0]), from, cs); | 119 |
1283 | | - |
1284 | const int l = d->size; | - |
1285 | if (from < 0TRUE | 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 |
1286 | from += l;executed 64 times by 5 tests: from += l; Executed by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 64 |
1287 | int delta = l-sl; | - |
1288 | if (from == lTRUE | 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 == 0TRUE | evaluated 3 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 3-89 |
1289 | returnexecuted 3 times by 1 test: return from; from;executed 3 times by 1 test: return from; | 3 |
1290 | 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 < 0TRUE | 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 |
1291 | returnexecuted 25 times by 1 test: return -1; -1;executed 25 times by 1 test: return -1; | 25 |
1292 | if (from > deltaTRUE | 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 |
1293 | from = delta;executed 48 times by 5 tests: from = delta; Executed by:- tst_Collections
- tst_QString
- tst_QTextDocument
- tst_Selftests
- tst_qmake
| 48 |
1294 | | - |
1295 | 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 |
1296 | } | - |
1297 | int QString::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
1298 | { | - |
1299 | const int sl = str.size(); | - |
1300 | if (sl == 1TRUE | never evaluated | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
) | 0-13 |
1301 | 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 |
1302 | | - |
1303 | const int l = d->size; | - |
1304 | if (from < 0TRUE | never evaluated | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
) | 0-13 |
1305 | from += l; never executed: from += l; | 0 |
1306 | int delta = l-sl; | - |
1307 | if (from == lTRUE | never evaluated | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
&& sl == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0-13 |
1308 | return never executed: return from; from;never executed: return from; | 0 |
1309 | if (uint(from) >= uint(l)TRUE | never evaluated | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
|| delta < 0TRUE | never evaluated | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
|
) | 0-13 |
1310 | return never executed: return -1; -1;never executed: return -1; | 0 |
1311 | if (from > deltaTRUE | evaluated 13 times by 2 testsEvaluated by:- tst_QMdiArea
- tst_QMdiSubWindow
| FALSE | never evaluated |
) | 0-13 |
1312 | from = delta;executed 13 times by 2 tests: from = delta; Executed by:- tst_QMdiArea
- tst_QMdiSubWindow
| 13 |
1313 | | - |
1314 | QVarLengthArray<ushort> s(sl); | - |
1315 | qt_from_latin1(s.data(), str.latin1(), sl); | - |
1316 | | - |
1317 | 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 |
1318 | } | - |
1319 | | - |
1320 | | - |
1321 | | - |
1322 | | - |
1323 | | - |
1324 | | - |
1325 | | - |
1326 | int QString::lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
1327 | { | - |
1328 | returnexecuted 263733 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 263733 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
- ...
| 263733 |
1329 | } | - |
1330 | int QString::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
1331 | { | - |
1332 | const int sl = str.size(); | - |
1333 | if (sl == 1TRUE | 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 |
1334 | 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 |
1335 | | - |
1336 | const int l = d->size; | - |
1337 | if (from < 0TRUE | 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 |
1338 | from += l;executed 48 times by 2 tests: from += l; Executed by:- tst_QString
- tst_QStringRef
| 48 |
1339 | int delta = l - sl; | - |
1340 | if (from == lTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| FALSE | evaluated 58 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
&& sl == 0TRUE | 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 |
1341 | 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 |
1342 | 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 < 0TRUE | 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 |
1343 | 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 |
1344 | if (from > deltaTRUE | 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 |
1345 | from = delta;executed 30 times by 2 tests: from = delta; Executed by:- tst_QString
- tst_QStringRef
| 30 |
1346 | | - |
1347 | 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 |
1348 | 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 |
1349 | } | - |
1350 | | - |
1351 | | - |
1352 | | - |
1353 | struct QStringCapture | - |
1354 | { | - |
1355 | int pos; | - |
1356 | int len; | - |
1357 | int no; | - |
1358 | }; | - |
1359 | 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"; } }; | - |
1360 | QString& QString::replace(const QRegExp &rx, const QString &after) | - |
1361 | { | - |
1362 | QRegExp rx2(rx); | - |
1363 | | - |
1364 | if (isEmpty()TRUE | evaluated 51979 times by 2 testsEvaluated by:- tst_QString
- tst_QXmlSimpleReader
| FALSE | evaluated 90688 times by 17 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
|
&& rx2.indexIn(*this) == -1TRUE | evaluated 51961 times by 2 testsEvaluated by:- tst_QString
- tst_QXmlSimpleReader
| FALSE | evaluated 18 times by 1 test |
) | 18-90688 |
1365 | 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 |
1366 | | - |
1367 | reallocData(uint(d->size) + 1u); | - |
1368 | | - |
1369 | int index = 0; | - |
1370 | int numCaptures = rx2.captureCount(); | - |
1371 | int al = after.length(); | - |
1372 | QRegExp::CaretMode caretMode = QRegExp::CaretAtZero; | - |
1373 | | - |
1374 | if (numCaptures > 0TRUE | evaluated 27 times by 4 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | evaluated 90679 times by 16 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
|
) { | 27-90679 |
1375 | const QChar *uc = after.unicode(); | - |
1376 | int numBackRefs = 0; | - |
1377 | | - |
1378 | for (int i = 0; i < al - 1TRUE | 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 |
1379 | 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 |
1380 | int no = uc[i + 1].digitValue(); | - |
1381 | if (no > 0TRUE | evaluated 68 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | evaluated 8 times by 2 tests |
&& no <= numCapturesTRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | evaluated 2 times by 1 test |
) | 2-68 |
1382 | numBackRefs++;executed 66 times by 3 tests: numBackRefs++; Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 66 |
1383 | }executed 76 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 76 |
1384 | }executed 173 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 173 |
1385 | | - |
1386 | | - |
1387 | | - |
1388 | | - |
1389 | if (numBackRefs > 0TRUE | evaluated 21 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | evaluated 6 times by 2 tests |
) { | 6-21 |
1390 | QVarLengthArray<QStringCapture, 16> captures(numBackRefs); | - |
1391 | int j = 0; | - |
1392 | | - |
1393 | for (int i = 0; i < al - 1TRUE | 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 |
1394 | 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 |
1395 | int no = uc[i + 1].digitValue(); | - |
1396 | if (no > 0TRUE | evaluated 67 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | evaluated 5 times by 2 tests |
&& no <= numCapturesTRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | evaluated 1 time by 1 test |
) { | 1-67 |
1397 | QStringCapture capture; | - |
1398 | capture.pos = i; | - |
1399 | capture.len = 2; | - |
1400 | | - |
1401 | if (i < al - 2TRUE | 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 |
1402 | int secondDigit = uc[i + 2].digitValue(); | - |
1403 | if (secondDigit != -1TRUE | 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) <= numCapturesTRUE | evaluated 6 times by 1 test | FALSE | evaluated 22 times by 1 test |
) { | 6-28 |
1404 | no = (no * 10) + secondDigit; | - |
1405 | ++capture.len; | - |
1406 | }executed 6 times by 1 test: end of block | 6 |
1407 | }executed 56 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 56 |
1408 | | - |
1409 | capture.no = no; | - |
1410 | captures[j++] = capture; | - |
1411 | }executed 66 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 66 |
1412 | }executed 72 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 72 |
1413 | }executed 164 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 164 |
1414 | | - |
1415 | while (index <= length()TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
| FALSE | never evaluated |
) { | 0-46 |
1416 | index = rx2.indexIn(*this, index, caretMode); | - |
1417 | if (index == -1TRUE | 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 |
1418 | break;executed 21 times by 3 tests: break; Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 21 |
1419 | | - |
1420 | QString after2(after); | - |
1421 | for (j = numBackRefs - 1; j >= 0TRUE | 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 |
1422 | const QStringCapture &capture = captures[j]; | - |
1423 | after2.replace(capture.pos, capture.len, rx2.cap(capture.no)); | - |
1424 | }executed 64 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 64 |
1425 | | - |
1426 | replace(index, rx2.matchedLength(), after2); | - |
1427 | index += after2.length(); | - |
1428 | | - |
1429 | | - |
1430 | if (rx2.matchedLength() == 0TRUE | never evaluated | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
) | 0-25 |
1431 | ++ never executed: ++index; index;never executed: ++index; | 0 |
1432 | | - |
1433 | caretMode = QRegExp::CaretWontMatch; | - |
1434 | }executed 25 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 25 |
1435 | 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 |
1436 | } | - |
1437 | }executed 6 times by 2 tests: end of block | 6 |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | | - |
1442 | | - |
1443 | while (index != -1TRUE | evaluated 90685 times by 17 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| FALSE | evaluated 3645 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
|
) { | 3645-90685 |
1444 | struct { | - |
1445 | int pos; | - |
1446 | int length; | - |
1447 | } replacements[2048]; | - |
1448 | | - |
1449 | int pos = 0; | - |
1450 | int adjust = 0; | - |
1451 | while (pos < 2047TRUE | evaluated 99686 times by 17 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| FALSE | never evaluated |
) { | 0-99686 |
1452 | index = rx2.indexIn(*this, index, caretMode); | - |
1453 | if (index == -1TRUE | evaluated 90685 times by 17 testsEvaluated by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| FALSE | evaluated 9001 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
|
) | 9001-90685 |
1454 | break;executed 90685 times by 17 tests: break; Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| 90685 |
1455 | int ml = rx2.matchedLength(); | - |
1456 | replacements[pos].pos = index; | - |
1457 | replacements[pos++].length = ml; | - |
1458 | index += ml; | - |
1459 | adjust += al - ml; | - |
1460 | | - |
1461 | if (!mlTRUE | evaluated 46 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| FALSE | evaluated 8955 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-8955 |
1462 | index++;executed 46 times by 3 tests: index++; Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| 46 |
1463 | }executed 9001 times by 12 tests: end of block Executed 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
| 9001 |
1464 | if (!posTRUE | evaluated 87040 times by 13 testsEvaluated by:- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsystemsemaphore - unknown status
| FALSE | evaluated 3645 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
|
) | 3645-87040 |
1465 | break;executed 87040 times by 13 tests: break; Executed by:- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsystemsemaphore - unknown status
| 87040 |
1466 | replacements[pos].pos = d->size; | - |
1467 | int newlen = d->size + adjust; | - |
1468 | | - |
1469 | | - |
1470 | | - |
1471 | if (index != -1TRUE | never evaluated | FALSE | evaluated 3645 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-3645 |
1472 | index += adjust; never executed: index += adjust; | 0 |
1473 | QString newstring; | - |
1474 | newstring.reserve(newlen + 1); | - |
1475 | QChar *newuc = newstring.data(); | - |
1476 | QChar *uc = newuc; | - |
1477 | int copystart = 0; | - |
1478 | int i = 0; | - |
1479 | while (i < posTRUE | evaluated 9001 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 3645 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
|
) { | 3645-9001 |
1480 | int copyend = replacements[i].pos; | - |
1481 | int size = copyend - copystart; | - |
1482 | memcpy(uc, d->data() + copystart, size * sizeof(QChar)); | - |
1483 | uc += size; | - |
1484 | memcpy(uc, after.d->data(), al * sizeof(QChar)); | - |
1485 | uc += al; | - |
1486 | copystart = copyend + replacements[i].length; | - |
1487 | i++; | - |
1488 | }executed 9001 times by 12 tests: end of block Executed 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
| 9001 |
1489 | memcpy(uc, d->data() + copystart, (d->size - copystart) * sizeof(QChar)); | - |
1490 | newstring.resize(newlen); | - |
1491 | *this = newstring; | - |
1492 | caretMode = QRegExp::CaretWontMatch; | - |
1493 | }executed 3645 times by 12 tests: end of block Executed 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
| 3645 |
1494 | returnexecuted 90685 times by 17 tests: return *this; Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
*this;executed 90685 times by 17 tests: return *this; Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| 90685 |
1495 | } | - |
1496 | QString &QString::replace(const QRegularExpression &re, const QString &after) | - |
1497 | { | - |
1498 | if (!re.isValid()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 7185 times by 4 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
|
) { | 2-7185 |
1499 | QMessageLogger(__FILE__, 3565, __PRETTY_FUNCTION__).warning("QString::replace: invalid QRegularExpression object"); | - |
1500 | returnexecuted 2 times by 1 test: return *this; *this;executed 2 times by 1 test: return *this; | 2 |
1501 | } | - |
1502 | | - |
1503 | const QString copy(*this); | - |
1504 | QRegularExpressionMatchIterator iterator = re.globalMatch(copy); | - |
1505 | if (!iterator.hasNext()TRUE | evaluated 5684 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
| FALSE | evaluated 1501 times by 4 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
|
) | 1501-5684 |
1506 | returnexecuted 5684 times by 3 tests: return *this; Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
*this;executed 5684 times by 3 tests: return *this; Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
| 5684 |
1507 | | - |
1508 | reallocData(uint(d->size) + 1u); | - |
1509 | | - |
1510 | int numCaptures = re.captureCount(); | - |
1511 | | - |
1512 | | - |
1513 | | - |
1514 | QVector<QStringCapture> backReferences; | - |
1515 | const int al = after.length(); | - |
1516 | const QChar *ac = after.unicode(); | - |
1517 | | - |
1518 | for (int i = 0; i < al - 1TRUE | evaluated 30058 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
| FALSE | evaluated 1501 times by 4 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
|
; i++) { | 1501-30058 |
1519 | if (ac[i] == QLatin1Char('\\')TRUE | evaluated 55 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| FALSE | evaluated 30003 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
|
) { | 55-30003 |
1520 | int no = ac[i + 1].digitValue(); | - |
1521 | if (no > 0TRUE | evaluated 51 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| FALSE | evaluated 4 times by 1 test |
&& no <= numCapturesTRUE | evaluated 48 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| FALSE | evaluated 3 times by 1 test |
) { | 3-51 |
1522 | QStringCapture backReference; | - |
1523 | backReference.pos = i; | - |
1524 | backReference.len = 2; | - |
1525 | | - |
1526 | if (i < al - 2TRUE | 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 |
1527 | int secondDigit = ac[i + 2].digitValue(); | - |
1528 | if (secondDigit != -1TRUE | 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) <= numCapturesTRUE | evaluated 6 times by 1 test | FALSE | evaluated 22 times by 1 test |
) { | 6-28 |
1529 | no = (no * 10) + secondDigit; | - |
1530 | ++backReference.len; | - |
1531 | }executed 6 times by 1 test: end of block | 6 |
1532 | }executed 43 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringList
| 43 |
1533 | | - |
1534 | backReference.no = no; | - |
1535 | backReferences.append(backReference); | - |
1536 | }executed 48 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringList
| 48 |
1537 | }executed 55 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringList
| 55 |
1538 | }executed 30058 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
| 30058 |
1539 | | - |
1540 | | - |
1541 | | - |
1542 | | - |
1543 | | - |
1544 | int newLength = 0; | - |
1545 | int lastEnd = 0; | - |
1546 | QVector<QStringRef> chunks; | - |
1547 | while (iterator.hasNext()TRUE | evaluated 1518 times by 4 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
| FALSE | evaluated 1501 times by 4 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
|
) { | 1501-1518 |
1548 | QRegularExpressionMatch match = iterator.next(); | - |
1549 | int len; | - |
1550 | | - |
1551 | len = match.capturedStart() - lastEnd; | - |
1552 | if (len > 0TRUE | evaluated 1364 times by 2 tests | FALSE | evaluated 154 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) { | 154-1364 |
1553 | chunks << copy.midRef(lastEnd, len); | - |
1554 | newLength += len; | - |
1555 | }executed 1364 times by 2 tests: end of block | 1364 |
1556 | | - |
1557 | lastEnd = 0; | - |
1558 | | - |
1559 | for (const QStringCapture &backReference : qAsConst(backReferences)) { | - |
1560 | | - |
1561 | len = backReference.pos - lastEnd; | - |
1562 | if (len > 0TRUE | 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 |
1563 | chunks << after.midRef(lastEnd, len); | - |
1564 | newLength += len; | - |
1565 | }executed 28 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringList
| 28 |
1566 | | - |
1567 | | - |
1568 | len = match.capturedLength(backReference.no); | - |
1569 | if (len > 0TRUE | evaluated 57 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| FALSE | evaluated 1 time by 1 test |
) { | 1-57 |
1570 | chunks << copy.midRef(match.capturedStart(backReference.no), len); | - |
1571 | newLength += len; | - |
1572 | }executed 57 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringList
| 57 |
1573 | | - |
1574 | lastEnd = backReference.pos + backReference.len; | - |
1575 | }executed 58 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringList
| 58 |
1576 | | - |
1577 | | - |
1578 | len = after.length() - lastEnd; | - |
1579 | if (len > 0TRUE | evaluated 1387 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
| FALSE | evaluated 131 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qdbusxml2cpp
|
) { | 131-1387 |
1580 | chunks << after.midRef(lastEnd, len); | - |
1581 | newLength += len; | - |
1582 | }executed 1387 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
| 1387 |
1583 | | - |
1584 | lastEnd = match.capturedEnd(); | - |
1585 | }executed 1518 times by 4 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
| 1518 |
1586 | | - |
1587 | | - |
1588 | if (copy.length() > lastEndTRUE | evaluated 1487 times by 4 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 14-1487 |
1589 | chunks << copy.midRef(lastEnd); | - |
1590 | newLength += copy.length() - lastEnd; | - |
1591 | }executed 1487 times by 4 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
| 1487 |
1592 | | - |
1593 | | - |
1594 | resize(newLength); | - |
1595 | int i = 0; | - |
1596 | QChar *uc = data(); | - |
1597 | for (const QStringRef &chunk : qAsConst(chunks)) { | - |
1598 | int len = chunk.length(); | - |
1599 | memcpy(uc + i, chunk.unicode(), len * sizeof(QChar)); | - |
1600 | i += len; | - |
1601 | }executed 4323 times by 4 tests: end of block Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
| 4323 |
1602 | | - |
1603 | returnexecuted 1501 times by 4 tests: return *this; Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
*this;executed 1501 times by 4 tests: return *this; Executed by:- tst_QString
- tst_QStringList
- tst_Selftests
- tst_qdbusxml2cpp
| 1501 |
1604 | } | - |
1605 | int QString::count(const QString &str, Qt::CaseSensitivity cs) const | - |
1606 | { | - |
1607 | 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 |
1608 | } | - |
1609 | int QString::count(QChar ch, Qt::CaseSensitivity cs) const | - |
1610 | { | - |
1611 | returnexecuted 54672 times by 29 tests: return qt_string_count(unicode(), size(), ch, cs); Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QTableView
- ...
qt_string_count(unicode(), size(), ch, cs);executed 54672 times by 29 tests: return qt_string_count(unicode(), size(), ch, cs); Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QTableView
- ...
| 54672 |
1612 | } | - |
1613 | int QString::count(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
1614 | { | - |
1615 | 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 |
1616 | } | - |
1617 | int QString::indexOf(const QRegExp& rx, int from) const | - |
1618 | { | - |
1619 | QRegExp rx2(rx); | - |
1620 | 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 |
1621 | } | - |
1622 | int QString::indexOf(QRegExp& rx, int from) const | - |
1623 | { | - |
1624 | returnexecuted 327 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 327 times by 5 tests: return rx.indexIn(*this, from); Executed by:- tst_QDate
- tst_QDateTime
- tst_QFontComboBox
- tst_QString
- tst_QTime
| 327 |
1625 | } | - |
1626 | int QString::lastIndexOf(const QRegExp& rx, int from) const | - |
1627 | { | - |
1628 | QRegExp rx2(rx); | - |
1629 | 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 |
1630 | } | - |
1631 | int QString::lastIndexOf(QRegExp& rx, int from) const | - |
1632 | { | - |
1633 | 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 |
1634 | } | - |
1635 | int QString::count(const QRegExp& rx) const | - |
1636 | { | - |
1637 | QRegExp rx2(rx); | - |
1638 | int count = 0; | - |
1639 | int index = -1; | - |
1640 | int len = length(); | - |
1641 | while (index < len - 1TRUE | evaluated 5 times by 1 test | FALSE | never evaluated |
) { | 0-5 |
1642 | index = rx2.indexIn(*this, index + 1); | - |
1643 | if (index == -1TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 2-3 |
1644 | break;executed 2 times by 1 test: break; | 2 |
1645 | count++; | - |
1646 | }executed 3 times by 1 test: end of block | 3 |
1647 | returnexecuted 2 times by 1 test: return count; count;executed 2 times by 1 test: return count; | 2 |
1648 | } | - |
1649 | int QString::indexOf(const QRegularExpression& re, int from) const | - |
1650 | { | - |
1651 | 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 |
1652 | } | - |
1653 | int QString::indexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const | - |
1654 | { | - |
1655 | if (!re.isValid()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 196 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
) { | 3-196 |
1656 | QMessageLogger(__FILE__, 3925, __PRETTY_FUNCTION__).warning("QString::indexOf: invalid QRegularExpression object"); | - |
1657 | returnexecuted 3 times by 1 test: return -1; -1;executed 3 times by 1 test: return -1; | 3 |
1658 | } | - |
1659 | | - |
1660 | QRegularExpressionMatch match = re.match(*this, from); | - |
1661 | if (match.hasMatch()TRUE | evaluated 109 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| FALSE | evaluated 87 times by 1 test |
) { | 87-109 |
1662 | const int ret = match.capturedStart(); | - |
1663 | if (rmatchTRUE | evaluated 39 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| FALSE | evaluated 70 times by 1 test |
) | 39-70 |
1664 | *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 |
1665 | 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 |
1666 | } | - |
1667 | | - |
1668 | returnexecuted 87 times by 1 test: return -1; -1;executed 87 times by 1 test: return -1; | 87 |
1669 | } | - |
1670 | int QString::lastIndexOf(const QRegularExpression &re, int from) const | - |
1671 | { | - |
1672 | 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 |
1673 | } | - |
1674 | int QString::lastIndexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const | - |
1675 | { | - |
1676 | if (!re.isValid()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 57 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
|
) { | 3-57 |
1677 | QMessageLogger(__FILE__, 3976, __PRETTY_FUNCTION__).warning("QString::lastIndexOf: invalid QRegularExpression object"); | - |
1678 | returnexecuted 3 times by 1 test: return -1; -1;executed 3 times by 1 test: return -1; | 3 |
1679 | } | - |
1680 | | - |
1681 | 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 |
1682 | QRegularExpressionMatchIterator iterator = re.globalMatch(*this); | - |
1683 | int lastIndex = -1; | - |
1684 | 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 |
1685 | QRegularExpressionMatch match = iterator.next(); | - |
1686 | int start = match.capturedStart(); | - |
1687 | if (start < endposTRUE | 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 |
1688 | lastIndex = start; | - |
1689 | if (rmatchTRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QString
- tst_QTextDocument
| FALSE | evaluated 58 times by 1 test |
) | 34-58 |
1690 | *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 |
1691 | }executed 92 times by 2 tests: end of block Executed by:- tst_QString
- tst_QTextDocument
else { | 92 |
1692 | break;executed 17 times by 2 tests: break; Executed by:- tst_QString
- tst_QTextDocument
| 17 |
1693 | } | - |
1694 | } | - |
1695 | | - |
1696 | 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 |
1697 | } | - |
1698 | | - |
1699 | | - |
1700 | | - |
1701 | | - |
1702 | | - |
1703 | | - |
1704 | | - |
1705 | bool QString::contains(const QRegularExpression &re) const | - |
1706 | { | - |
1707 | 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 |
1708 | } | - |
1709 | bool QString::contains(const QRegularExpression &re, QRegularExpressionMatch *match) const | - |
1710 | { | - |
1711 | if (!re.isValid()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) { | 1-12 |
1712 | QMessageLogger(__FILE__, 4026, __PRETTY_FUNCTION__).warning("QString::contains: invalid QRegularExpression object"); | - |
1713 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
1714 | } | - |
1715 | QRegularExpressionMatch m = re.match(*this); | - |
1716 | bool hasMatch = m.hasMatch(); | - |
1717 | if (hasMatchTRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
| FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
&& matchTRUE | evaluated 4 times by 1 test | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QString
- tst_QStringList
|
) | 3-9 |
1718 | *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 |
1719 | 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 |
1720 | } | - |
1721 | int QString::count(const QRegularExpression &re) const | - |
1722 | { | - |
1723 | if (!re.isValid()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 122 times by 2 testsEvaluated by:- tst_QString
- tst_qdbusxml2cpp
|
) { | 1-122 |
1724 | QMessageLogger(__FILE__, 4051, __PRETTY_FUNCTION__).warning("QString::count: invalid QRegularExpression object"); | - |
1725 | returnexecuted 1 time by 1 test: return 0; 0;executed 1 time by 1 test: return 0; | 1 |
1726 | } | - |
1727 | int count = 0; | - |
1728 | int index = -1; | - |
1729 | int len = length(); | - |
1730 | while (index < len - 1TRUE | evaluated 245 times by 2 testsEvaluated by:- tst_QString
- tst_qdbusxml2cpp
| FALSE | never evaluated |
) { | 0-245 |
1731 | QRegularExpressionMatch match = re.match(*this, index + 1); | - |
1732 | 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 |
1733 | break;executed 122 times by 2 tests: break; Executed by:- tst_QString
- tst_qdbusxml2cpp
| 122 |
1734 | index = match.capturedStart(); | - |
1735 | count++; | - |
1736 | }executed 123 times by 2 tests: end of block Executed by:- tst_QString
- tst_qdbusxml2cpp
| 123 |
1737 | 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 |
1738 | } | - |
1739 | QString QString::section(const QString &sep, int start, int end, SectionFlags flags) const | - |
1740 | { | - |
1741 | const QVector<QStringRef> sections = splitRef(sep, KeepEmptyParts, | - |
1742 | (flags & SectionCaseInsensitiveSeps) ? Qt::CaseInsensitive : Qt::CaseSensitive); | - |
1743 | const int sectionsSize = sections.size(); | - |
1744 | 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 |
1745 | if (start < 0TRUE | 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 |
1746 | 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 |
1747 | if (end < 0TRUE | 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 |
1748 | 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 |
1749 | }executed 230 times by 11 tests: end of block Executed 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 |
1750 | int skip = 0; | - |
1751 | for (int k = 0; k < sectionsSizeTRUE | 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 |
1752 | 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 |
1753 | skip++;executed 2048 times by 2 tests: skip++; | 2048 |
1754 | }executed 15024 times by 3 tests: end of block Executed by:- tst_QLayout
- tst_QString
- tst_rcc
| 15024 |
1755 | if (start < 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 1988 times by 3 testsEvaluated by:- tst_QLayout
- tst_QString
- tst_rcc
|
) | 4-1988 |
1756 | start += sectionsSize - skip;executed 4 times by 1 test: start += sectionsSize - skip; | 4 |
1757 | if (end < 0TRUE | evaluated 1794 times by 2 tests | FALSE | evaluated 198 times by 2 tests |
) | 198-1794 |
1758 | end += sectionsSize - skip;executed 1794 times by 2 tests: end += sectionsSize - skip; | 1794 |
1759 | }executed 1992 times by 3 tests: end of block Executed by:- tst_QLayout
- tst_QString
- tst_rcc
| 1992 |
1760 | if (start >= sectionsSizeTRUE | 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 < 0TRUE | 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 > endTRUE | 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 |
1761 | returnexecuted 6 times by 1 test: return QString(); QString();executed 6 times by 1 test: return QString(); | 6 |
1762 | | - |
1763 | QString ret; | - |
1764 | int first_i = start, last_i = end; | - |
1765 | for (int x = 0, i = 0; x <= endTRUE | 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 < sectionsSizeTRUE | 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 |
1766 | const QStringRef §ion = sections.at(i); | - |
1767 | const bool empty = section.isEmpty(); | - |
1768 | if (x >= startTRUE | 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 |
1769 | if(x == startTRUE | 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 |
1770 | 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 |
1771 | if(x == endTRUE | 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 |
1772 | 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 |
1773 | if (x > startTRUE | 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 > 0TRUE | evaluated 43 times by 2 tests | FALSE | evaluated 2 times by 1 test |
) | 2-2262 |
1774 | ret += sep;executed 43 times by 2 tests: ret += sep; | 43 |
1775 | ret += section; | - |
1776 | }executed 2307 times by 13 tests: end of block 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
| 2307 |
1777 | if (!emptyTRUE | 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 |
1778 | 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 |
1779 | }executed 13295 times by 13 tests: end of block 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
| 13295 |
1780 | if ((flags & SectionIncludeLeadingSep) && first_i > 0TRUE | evaluated 16 times by 1 test | FALSE | evaluated 10 times by 1 test |
) | 10-16 |
1781 | ret.prepend(sep);executed 16 times by 1 test: ret.prepend(sep); | 16 |
1782 | if ((flags & SectionIncludeTrailingSep) && last_i < sectionsSize - 1TRUE | evaluated 16 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 4-16 |
1783 | ret += sep;executed 16 times by 1 test: ret += sep; | 16 |
1784 | 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 |
1785 | } | - |
1786 | | - |
1787 | | - |
1788 | class qt_section_chunk { | - |
1789 | public: | - |
1790 | qt_section_chunk() {} | - |
1791 | qt_section_chunk(int l, QStringRef s) : length(l), string(std::move(s)) {}executed 638 times by 2 tests: end of block | 638 |
1792 | int length; | - |
1793 | QStringRef string; | - |
1794 | }; | - |
1795 | 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"; } }; | - |
1796 | | - |
1797 | static QString extractSections(const QVector<qt_section_chunk> §ions, | - |
1798 | int start, | - |
1799 | int end, | - |
1800 | QString::SectionFlags flags) | - |
1801 | { | - |
1802 | const int sectionsSize = sections.size(); | - |
1803 | | - |
1804 | if (!(flags & QString::SectionSkipEmpty)TRUE | evaluated 72 times by 2 tests | FALSE | evaluated 18 times by 1 test |
) { | 18-72 |
1805 | if (start < 0TRUE | evaluated 9 times by 2 tests | FALSE | evaluated 63 times by 2 tests |
) | 9-63 |
1806 | start += sectionsSize;executed 9 times by 2 tests: start += sectionsSize; | 9 |
1807 | if (end < 0TRUE | evaluated 18 times by 2 tests | FALSE | evaluated 54 times by 1 test |
) | 18-54 |
1808 | end += sectionsSize;executed 18 times by 2 tests: end += sectionsSize; | 18 |
1809 | }executed 72 times by 2 tests: end of block else { | 72 |
1810 | int skip = 0; | - |
1811 | for (int k = 0; k < sectionsSizeTRUE | evaluated 324 times by 1 test | FALSE | evaluated 18 times by 1 test |
; ++k) { | 18-324 |
1812 | const qt_section_chunk §ion = sections.at(k); | - |
1813 | if (section.length == section.string.length()TRUE | evaluated 256 times by 1 test | FALSE | evaluated 68 times by 1 test |
) | 68-256 |
1814 | skip++;executed 256 times by 1 test: skip++; | 256 |
1815 | }executed 324 times by 1 test: end of block | 324 |
1816 | if (start < 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 14 times by 1 test |
) | 4-14 |
1817 | start += sectionsSize - skip;executed 4 times by 1 test: start += sectionsSize - skip; | 4 |
1818 | if (end < 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 16 times by 1 test |
) | 2-16 |
1819 | end += sectionsSize - skip;executed 2 times by 1 test: end += sectionsSize - skip; | 2 |
1820 | }executed 18 times by 1 test: end of block | 18 |
1821 | if (start >= sectionsSizeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 86 times by 2 tests |
|| end < 0TRUE | evaluated 3 times by 2 tests | FALSE | evaluated 83 times by 2 tests |
|| start > endTRUE | evaluated 2 times by 1 test | FALSE | evaluated 81 times by 2 tests |
) | 2-86 |
1822 | returnexecuted 9 times by 2 tests: return QString(); QString();executed 9 times by 2 tests: return QString(); | 9 |
1823 | | - |
1824 | QString ret; | - |
1825 | int x = 0; | - |
1826 | int first_i = start, last_i = end; | - |
1827 | for (int i = 0; x <= endTRUE | evaluated 365 times by 2 tests | FALSE | evaluated 81 times by 2 tests |
&& i < sectionsSizeTRUE | evaluated 365 times by 2 tests | FALSE | never evaluated |
; ++i) { | 0-365 |
1828 | const qt_section_chunk §ion = sections.at(i); | - |
1829 | const bool empty = (section.length == section.string.length()); | - |
1830 | if (x >= startTRUE | evaluated 192 times by 2 tests | FALSE | evaluated 173 times by 2 tests |
) { | 173-192 |
1831 | if (x == startTRUE | evaluated 127 times by 2 tests | FALSE | evaluated 65 times by 2 tests |
) | 65-127 |
1832 | first_i = i;executed 127 times by 2 tests: first_i = i; | 127 |
1833 | if (x == endTRUE | evaluated 129 times by 2 tests | FALSE | evaluated 63 times by 2 tests |
) | 63-129 |
1834 | last_i = i;executed 129 times by 2 tests: last_i = i; | 129 |
1835 | if (x != startTRUE | evaluated 65 times by 2 tests | FALSE | evaluated 127 times by 2 tests |
) | 65-127 |
1836 | ret += section.string;executed 65 times by 2 tests: ret += section.string; | 65 |
1837 | else | - |
1838 | ret += section.string.mid(section.length);executed 127 times by 2 tests: ret += section.string.mid(section.length); | 127 |
1839 | } | - |
1840 | if (!emptyTRUE | 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 |
1841 | x++;executed 233 times by 2 tests: x++; | 233 |
1842 | }executed 365 times by 2 tests: end of block | 365 |
1843 | | - |
1844 | if ((flags & QString::SectionIncludeLeadingSep) && first_i >= 0TRUE | evaluated 44 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-44 |
1845 | const qt_section_chunk §ion = sections.at(first_i); | - |
1846 | ret.prepend(section.string.left(section.length)); | - |
1847 | }executed 44 times by 1 test: end of block | 44 |
1848 | | - |
1849 | if ((flags & QString::SectionIncludeTrailingSep) | - |
1850 | && last_i < sectionsSize - 1TRUE | evaluated 28 times by 1 test | FALSE | evaluated 6 times by 1 test |
) { | 6-28 |
1851 | const qt_section_chunk §ion = sections.at(last_i+1); | - |
1852 | ret += section.string.left(section.length); | - |
1853 | }executed 28 times by 1 test: end of block | 28 |
1854 | | - |
1855 | returnexecuted 81 times by 2 tests: return ret; ret;executed 81 times by 2 tests: return ret; | 81 |
1856 | } | - |
1857 | QString QString::section(const QRegExp ®, int start, int end, SectionFlags flags) const | - |
1858 | { | - |
1859 | const QChar *uc = unicode(); | - |
1860 | if(!ucTRUE | never evaluated | FALSE | evaluated 48 times by 2 tests |
) | 0-48 |
1861 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1862 | | - |
1863 | QRegExp sep(reg); | - |
1864 | sep.setCaseSensitivity((flags & SectionCaseInsensitiveSeps) ? Qt::CaseInsensitive | - |
1865 | : Qt::CaseSensitive); | - |
1866 | | - |
1867 | QVector<qt_section_chunk> sections; | - |
1868 | int n = length(), m = 0, last_m = 0, last_len = 0; | - |
1869 | while ((TRUE | evaluated 277 times by 2 tests | FALSE | evaluated 48 times by 2 tests |
m = sep.indexIn(*this, m)) != -1TRUE | evaluated 277 times by 2 tests | FALSE | evaluated 48 times by 2 tests |
) { | 48-277 |
1870 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, m - last_m))); | - |
1871 | last_m = m; | - |
1872 | last_len = sep.matchedLength(); | - |
1873 | m += qMax(sep.matchedLength(), 1); | - |
1874 | }executed 277 times by 2 tests: end of block | 277 |
1875 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, n - last_m))); | - |
1876 | | - |
1877 | 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 |
1878 | } | - |
1879 | QString QString::section(const QRegularExpression &re, int start, int end, SectionFlags flags) const | - |
1880 | { | - |
1881 | if (!re.isValid()TRUE | never evaluated | FALSE | evaluated 42 times by 1 test |
) { | 0-42 |
1882 | QMessageLogger(__FILE__, 4318, __PRETTY_FUNCTION__).warning("QString::section: invalid QRegularExpression object"); | - |
1883 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1884 | } | - |
1885 | | - |
1886 | const QChar *uc = unicode(); | - |
1887 | if (!ucTRUE | never evaluated | FALSE | evaluated 42 times by 1 test |
) | 0-42 |
1888 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1889 | | - |
1890 | QRegularExpression sep(re); | - |
1891 | if (flags & SectionCaseInsensitiveSepsTRUE | evaluated 1 time by 1 test | FALSE | evaluated 41 times by 1 test |
) | 1-41 |
1892 | sep.setPatternOptions(sep.patternOptions() | QRegularExpression::CaseInsensitiveOption);executed 1 time by 1 test: sep.setPatternOptions(sep.patternOptions() | QRegularExpression::CaseInsensitiveOption); | 1 |
1893 | | - |
1894 | QVector<qt_section_chunk> sections; | - |
1895 | int n = length(), m = 0, last_m = 0, last_len = 0; | - |
1896 | QRegularExpressionMatchIterator iterator = sep.globalMatch(*this); | - |
1897 | while (iterator.hasNext()TRUE | evaluated 271 times by 1 test | FALSE | evaluated 42 times by 1 test |
) { | 42-271 |
1898 | QRegularExpressionMatch match = iterator.next(); | - |
1899 | m = match.capturedStart(); | - |
1900 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, m - last_m))); | - |
1901 | last_m = m; | - |
1902 | last_len = match.capturedLength(); | - |
1903 | }executed 271 times by 1 test: end of block | 271 |
1904 | sections.append(qt_section_chunk(last_len, QStringRef(this, last_m, n - last_m))); | - |
1905 | | - |
1906 | 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 |
1907 | } | - |
1908 | QString QString::left(int n) const | - |
1909 | { | - |
1910 | if (uint(n) >= uint(d->size)TRUE | evaluated 33846 times by 81 testsEvaluated by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- ...
| FALSE | evaluated 79580 times by 197 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
- ...
|
) | 33846-79580 |
1911 | returnexecuted 33846 times by 81 tests: return *this; Executed by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- ...
*this;executed 33846 times by 81 tests: return *this; Executed by:- tst_Collections
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QBrush
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- ...
| 33846 |
1912 | returnexecuted 79580 times by 197 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 79580 times by 197 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
- ...
| 79580 |
1913 | } | - |
1914 | QString QString::right(int n) const | - |
1915 | { | - |
1916 | if (uint(n) >= uint(d->size)TRUE | evaluated 62 times by 3 testsEvaluated by:- tst_Collections
- tst_QSqlTableModel
- tst_QString
| FALSE | evaluated 4751 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-4751 |
1917 | 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 |
1918 | returnexecuted 4751 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 4751 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
- ...
| 4751 |
1919 | } | - |
1920 | QString QString::mid(int position, int n) const | - |
1921 | { | - |
1922 | using namespace QtPrivate; | - |
1923 | switch (QContainerImplHelper::mid(d->size, &position, &n)) { | - |
1924 | caseexecuted 12348 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 12348 times by 7 tests: case QContainerImplHelper::Null: Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
| 12348 |
1925 | returnexecuted 12348 times by 7 tests: return QString(); Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
QString();executed 12348 times by 7 tests: return QString(); Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
| 12348 |
1926 | caseexecuted 6166 times by 43 tests: case QContainerImplHelper::Empty: Executed by:- tst_Collections
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataUrl
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QGLFunctions
- tst_QGraphicsProxyWidget
- tst_QKeySequence
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
QContainerImplHelper::Empty:executed 6166 times by 43 tests: case QContainerImplHelper::Empty: Executed by:- tst_Collections
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataUrl
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QGLFunctions
- tst_QGraphicsProxyWidget
- tst_QKeySequence
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 6166 |
1927 | { | - |
1928 | QStringDataPtr empty = { Data::allocate(0) }; | - |
1929 | returnexecuted 6166 times by 43 tests: return QString(empty); Executed by:- tst_Collections
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataUrl
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QGLFunctions
- tst_QGraphicsProxyWidget
- tst_QKeySequence
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
QString(empty);executed 6166 times by 43 tests: return QString(empty); Executed by:- tst_Collections
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataUrl
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QGLFunctions
- tst_QGraphicsProxyWidget
- tst_QKeySequence
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 6166 |
1930 | } | - |
1931 | caseexecuted 77627 times by 200 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_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
QContainerImplHelper::Full:executed 77627 times by 200 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_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
| 77627 |
1932 | returnexecuted 77627 times by 200 tests: return *this; Executed by:- tst_Collections
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
*this;executed 77627 times by 200 tests: return *this; Executed by:- tst_Collections
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- ...
| 77627 |
1933 | caseexecuted 893675 times by 268 tests: case QContainerImplHelper::Subset: Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- ...
QContainerImplHelper::Subset:executed 893675 times by 268 tests: case QContainerImplHelper::Subset: Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- ...
| 893675 |
1934 | returnexecuted 893675 times by 268 tests: return QString((const QChar*)d->data() + position, n); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- ...
QString((const QChar*)d->data() + position, n);executed 893675 times by 268 tests: return QString((const QChar*)d->data() + position, n); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- tst_QCssParser
- ...
| 893675 |
1935 | } | - |
1936 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,4416) : qt_noop()); __builtin_unreachable(); } while (0); | - |
1937 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1938 | } | - |
1939 | bool QString::startsWith(const QString& s, Qt::CaseSensitivity cs) const | - |
1940 | { | - |
1941 | returnexecuted 432530 times by 119 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 432530 times by 119 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
- ...
| 432530 |
1942 | s.isNull() ? 0 : s.unicode(), s.size(), cs);executed 432530 times by 119 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
- ...
| 432530 |
1943 | } | - |
1944 | | - |
1945 | | - |
1946 | | - |
1947 | | - |
1948 | bool QString::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const | - |
1949 | { | - |
1950 | returnexecuted 252355 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 252355 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
- ...
| 252355 |
1951 | } | - |
1952 | | - |
1953 | | - |
1954 | | - |
1955 | | - |
1956 | | - |
1957 | | - |
1958 | | - |
1959 | bool QString::startsWith(QChar c, Qt::CaseSensitivity cs) const | - |
1960 | { | - |
1961 | returnexecuted 349268 times by 257 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_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
- ...
d->sizeexecuted 349268 times by 257 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_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
- ...
| 349268 |
1962 | && (cs == Qt::CaseSensitiveexecuted 349268 times by 257 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_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
- ...
| 349268 |
1963 | ? d->data()[0] == cexecuted 349268 times by 257 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_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
- ...
| 349268 |
1964 | : foldCase(d->data()[0]) == foldCase(c.unicode()));executed 349268 times by 257 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_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
- ...
| 349268 |
1965 | } | - |
1966 | bool QString::startsWith(const QStringRef &s, Qt::CaseSensitivity cs) const | - |
1967 | { | - |
1968 | 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 |
1969 | 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 |
1970 | } | - |
1971 | bool QString::endsWith(const QString& s, Qt::CaseSensitivity cs) const | - |
1972 | { | - |
1973 | returnexecuted 4492 times by 62 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
qt_ends_with(isNull() ? 0 : unicode(), size(),executed 4492 times by 62 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
| 4492 |
1974 | s.isNull() ? 0 : s.unicode(), s.size(), cs);executed 4492 times by 62 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
| 4492 |
1975 | } | - |
1976 | bool QString::endsWith(const QStringRef &s, Qt::CaseSensitivity cs) const | - |
1977 | { | - |
1978 | 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 |
1979 | 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 |
1980 | } | - |
1981 | | - |
1982 | | - |
1983 | | - |
1984 | | - |
1985 | | - |
1986 | bool QString::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const | - |
1987 | { | - |
1988 | returnexecuted 49972 times by 122 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 49972 times by 122 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
- ...
| 49972 |
1989 | } | - |
1990 | | - |
1991 | | - |
1992 | | - |
1993 | | - |
1994 | | - |
1995 | | - |
1996 | | - |
1997 | bool QString::endsWith(QChar c, Qt::CaseSensitivity cs) const | - |
1998 | { | - |
1999 | returnexecuted 156240 times by 334 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->sizeexecuted 156240 times by 334 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
- ...
| 156240 |
2000 | && (cs == Qt::CaseSensitiveexecuted 156240 times by 334 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
- ...
| 156240 |
2001 | ? d->data()[d->size - 1] == cexecuted 156240 times by 334 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
- ...
| 156240 |
2002 | : foldCase(d->data()[d->size - 1]) == foldCase(c.unicode()));executed 156240 times by 334 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
- ...
| 156240 |
2003 | } | - |
2004 | | - |
2005 | QByteArray QString::toLatin1_helper(const QString &string) | - |
2006 | { | - |
2007 | if (__builtin_expect(!!(string.isNull()), false)TRUE | evaluated 2239 times by 165 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 232661 times by 433 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
- ...
|
) | 2239-232661 |
2008 | returnexecuted 2239 times by 165 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 2239 times by 165 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
- ...
| 2239 |
2009 | | - |
2010 | returnexecuted 232661 times by 433 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 232661 times by 433 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
- ...
| 232661 |
2011 | } | - |
2012 | | - |
2013 | QByteArray QString::toLatin1_helper(const QChar *data, int length) | - |
2014 | { | - |
2015 | QByteArray ba(length, Qt::Uninitialized); | - |
2016 | | - |
2017 | | - |
2018 | | - |
2019 | qt_to_latin1(reinterpret_cast<uchar *>(const_cast<char *>(ba.constData())), | - |
2020 | reinterpret_cast<const ushort *>(data), length); | - |
2021 | returnexecuted 237008 times by 434 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 237008 times by 434 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
- ...
| 237008 |
2022 | } | - |
2023 | | - |
2024 | QByteArray QString::toLatin1_helper_inplace(QString &s) | - |
2025 | { | - |
2026 | if (!s.isDetached()TRUE | evaluated 30267 times by 156 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 46795 times by 131 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_QDateTime
- ...
|
) | 30267-46795 |
2027 | returnexecuted 30267 times by 156 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 30267 times by 156 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
- ...
| 30267 |
2028 | | - |
2029 | | - |
2030 | | - |
2031 | const ushort *data = reinterpret_cast<const ushort *>(s.constData()); | - |
2032 | uint length = s.size(); | - |
2033 | | - |
2034 | | - |
2035 | | - |
2036 | QArrayData *ba_d = s.d; | - |
2037 | | - |
2038 | | - |
2039 | ba_d->alloc *= sizeof(ushort); | - |
2040 | | - |
2041 | | - |
2042 | s.d = QString().d; | - |
2043 | | - |
2044 | | - |
2045 | uchar *dst = reinterpret_cast<uchar *>(ba_d->data()); | - |
2046 | qt_to_latin1(dst, data, length); | - |
2047 | dst[length] = '\0'; | - |
2048 | | - |
2049 | QByteArrayDataPtr badptr = { ba_d }; | - |
2050 | returnexecuted 46795 times by 131 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_QDateTime
- ...
QByteArray(badptr);executed 46795 times by 131 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_QDateTime
- ...
| 46795 |
2051 | } | - |
2052 | QByteArray QString::toLocal8Bit_helper(const QChar *data, int size) | - |
2053 | { | - |
2054 | | - |
2055 | QTextCodec *localeCodec = QTextCodec::codecForLocale(); | - |
2056 | if (localeCodecTRUE | evaluated 482680 times by 411 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-482680 |
2057 | returnexecuted 482680 times by 411 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 482680 times by 411 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
- ...
| 482680 |
2058 | | - |
2059 | 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 |
2060 | } | - |
2061 | QByteArray QString::toUtf8_helper(const QString &str) | - |
2062 | { | - |
2063 | if (str.isNull()TRUE | evaluated 5705 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 100635 times by 245 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
- ...
|
) | 5705-100635 |
2064 | returnexecuted 5705 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 5705 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
- ...
| 5705 |
2065 | | - |
2066 | returnexecuted 100635 times by 245 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 100635 times by 245 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
- ...
| 100635 |
2067 | } | - |
2068 | QVector<uint> QString::toUcs4() const | - |
2069 | { | - |
2070 | QVector<uint> v(length()); | - |
2071 | uint *a = v.data(); | - |
2072 | int len = toUcs4_helper(d->data(), length(), a); | - |
2073 | v.resize(len); | - |
2074 | returnexecuted 10 times by 1 test: return v; v;executed 10 times by 1 test: return v; | 10 |
2075 | } | - |
2076 | | - |
2077 | QString::Data *QString::fromLatin1_helper(const char *str, int size) | - |
2078 | { | - |
2079 | Data *d; | - |
2080 | if (!strTRUE | evaluated 72 times by 5 testsEvaluated by:- tst_QDBusXmlParser
- tst_QLatin1String
- tst_QMetaType
- tst_QString
- tst_QVariant
| FALSE | evaluated 1941418 times by 686 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
- ...
|
) { | 72-1941418 |
2081 | d = Data::sharedNull(); | - |
2082 | }executed 72 times by 5 tests: end of block Executed by:- tst_QDBusXmlParser
- tst_QLatin1String
- tst_QMetaType
- tst_QString
- tst_QVariant
else if (size == 0TRUE | evaluated 24189 times by 442 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 1917229 times by 644 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
- ...
|
|| (!*strTRUE | evaluated 9 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 1917220 times by 644 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
- ...
|
&& size < 0TRUE | never evaluated | FALSE | evaluated 9 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QUrl
- tst_QUrlInternal
|
)) { | 0-1917229 |
2083 | d = Data::allocate(0); | - |
2084 | }executed 24189 times by 442 tests: end of block Executed 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 { | 24189 |
2085 | if (size < 0TRUE | never evaluated | FALSE | evaluated 1917229 times by 644 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
- ...
|
) | 0-1917229 |
2086 | size = qstrlen(str); never executed: size = qstrlen(str); | 0 |
2087 | d = Data::allocate(size + 1); | - |
2088 | do { if (!(d)TRUE | never evaluated | FALSE | evaluated 1917229 times by 644 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-1917229 |
2089 | d->size = size; | - |
2090 | d->data()[size] = '\0'; | - |
2091 | ushort *dst = d->data(); | - |
2092 | | - |
2093 | qt_from_latin1(dst, str, uint(size)); | - |
2094 | }executed 1917229 times by 644 tests: end of block 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
- ...
| 1917229 |
2095 | returnexecuted 1941490 times by 686 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 1941490 times by 686 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
- ...
| 1941490 |
2096 | } | - |
2097 | | - |
2098 | QString::Data *QString::fromAscii_helper(const char *str, int size) | - |
2099 | { | - |
2100 | QString s = fromUtf8(str, size); | - |
2101 | s.d->ref.ref(); | - |
2102 | returnexecuted 1402114 times by 340 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 1402114 times by 340 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
- ...
| 1402114 |
2103 | } | - |
2104 | QString QString::fromLocal8Bit_helper(const char *str, int size) | - |
2105 | { | - |
2106 | if (!strTRUE | evaluated 1 time by 1 test | FALSE | evaluated 294005 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-294005 |
2107 | returnexecuted 1 time by 1 test: return QString(); QString();executed 1 time by 1 test: return QString(); | 1 |
2108 | if (size == 0TRUE | evaluated 1014 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 292991 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
- ...
|
|| (!*strTRUE | evaluated 3 times by 1 test | FALSE | evaluated 292988 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 < 0TRUE | never evaluated | FALSE | evaluated 3 times by 1 test |
)) { | 0-292991 |
2109 | QStringDataPtr empty = { Data::allocate(0) }; | - |
2110 | returnexecuted 1014 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 1014 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
| 1014 |
2111 | } | - |
2112 | | - |
2113 | if (size < 0TRUE | never evaluated | FALSE | evaluated 292991 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-292991 |
2114 | size = qstrlen(str); never executed: size = qstrlen(str); | 0 |
2115 | QTextCodec *codec = QTextCodec::codecForLocale(); | - |
2116 | if (codecTRUE | evaluated 292989 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-292989 |
2117 | returnexecuted 292989 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 292989 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
- ...
| 292989 |
2118 | | - |
2119 | 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 |
2120 | } | - |
2121 | QString QString::fromUtf8_helper(const char *str, int size) | - |
2122 | { | - |
2123 | if (!strTRUE | evaluated 7640 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 3930821 times by 532 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_QAsn1Element
- ...
|
) | 7640-3930821 |
2124 | returnexecuted 7640 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 7640 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
- ...
| 7640 |
2125 | | - |
2126 | ((!(size != -1)) ? qt_assert("size != -1",__FILE__,4818) : qt_noop()); | - |
2127 | returnexecuted 3930821 times by 532 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_QApplication
- tst_QAsn1Element
- ...
QUtf8::convertToUnicode(str, size);executed 3930821 times by 532 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_QApplication
- tst_QAsn1Element
- ...
| 3930821 |
2128 | } | - |
2129 | QString QString::fromUtf16(const ushort *unicode, int size) | - |
2130 | { | - |
2131 | if (!unicodeTRUE | never evaluated | FALSE | evaluated 233831 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-233831 |
2132 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2133 | if (size < 0TRUE | evaluated 164 times by 9 testsEvaluated by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QUrlInternal
- tst_Utf8
| FALSE | evaluated 233667 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
|
) { | 164-233667 |
2134 | size = 0; | - |
2135 | while (unicode[size] != 0TRUE | evaluated 689 times by 9 testsEvaluated by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QUrlInternal
- tst_Utf8
| FALSE | evaluated 164 times by 9 testsEvaluated by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QUrlInternal
- tst_Utf8
|
) | 164-689 |
2136 | ++executed 689 times by 9 tests: ++size; Executed by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QUrlInternal
- tst_Utf8
size;executed 689 times by 9 tests: ++size; Executed by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QUrlInternal
- tst_Utf8
| 689 |
2137 | }executed 164 times by 9 tests: end of block Executed by:- tst_QDebug
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QUrlInternal
- tst_Utf8
| 164 |
2138 | returnexecuted 233831 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 233831 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
| 233831 |
2139 | } | - |
2140 | QString QString::fromUcs4(const uint *unicode, int size) | - |
2141 | { | - |
2142 | if (!unicodeTRUE | 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 |
2143 | returnexecuted 3 times by 1 test: return QString(); QString();executed 3 times by 1 test: return QString(); | 3 |
2144 | if (size < 0TRUE | 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 |
2145 | size = 0; | - |
2146 | while (unicode[size] != 0TRUE | 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 |
2147 | ++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 |
2148 | }executed 315 times by 3 tests: end of block Executed by:- tst_QString
- tst_Utf8
- tst_qmakelib
| 315 |
2149 | 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 |
2150 | } | - |
2151 | QString& QString::setUnicode(const QChar *unicode, int size) | - |
2152 | { | - |
2153 | resize(size); | - |
2154 | if (unicodeTRUE | evaluated 184425 times by 20 testsEvaluated by:- tst_QBoxLayout
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGridLayout
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QProcess
- tst_QString
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| FALSE | never evaluated |
&& sizeTRUE | evaluated 97555 times by 19 testsEvaluated by:- tst_QBoxLayout
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGridLayout
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QString
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 86870 times by 4 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QMainWindow
- tst_QTextStream
|
) | 0-184425 |
2155 | memcpy(d->data(), unicode, size * sizeof(QChar));executed 97555 times by 19 tests: memcpy(d->data(), unicode, size * sizeof(QChar)); Executed by:- tst_QBoxLayout
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGridLayout
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QString
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| 97555 |
2156 | returnexecuted 184425 times by 20 tests: return *this; Executed by:- tst_QBoxLayout
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGridLayout
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QProcess
- tst_QString
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
*this;executed 184425 times by 20 tests: return *this; Executed by:- tst_QBoxLayout
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFormLayout
- tst_QGridLayout
- tst_QLayout
- tst_QLocalSocket
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QProcess
- tst_QString
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextStream
- tst_QTimeZone
- tst_qmakelib
- tst_qstandardpaths
| 184425 |
2157 | } | - |
2158 | QString QString::simplified_helper(const QString &str) | - |
2159 | { | - |
2160 | returnexecuted 68112 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 68112 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
- ...
| 68112 |
2161 | } | - |
2162 | | - |
2163 | QString QString::simplified_helper(QString &str) | - |
2164 | { | - |
2165 | returnexecuted 23141 times by 6 tests: return QStringAlgorithms<QString>::simplified_helper(str); Executed by:- tst_Lancelot
- tst_QImageReader
- tst_QString
- tst_QTextBoundaryFinder
- tst_QXmlStream
- tst_selftests - unknown status
QStringAlgorithms<QString>::simplified_helper(str);executed 23141 times by 6 tests: return QStringAlgorithms<QString>::simplified_helper(str); Executed by:- tst_Lancelot
- tst_QImageReader
- tst_QString
- tst_QTextBoundaryFinder
- tst_QXmlStream
- tst_selftests - unknown status
| 23141 |
2166 | } | - |
2167 | QString QString::trimmed_helper(const QString &str) | - |
2168 | { | - |
2169 | returnexecuted 8462 times by 104 tests: return QStringAlgorithms<const QString>::trimmed_helper(str); Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- ...
QStringAlgorithms<const QString>::trimmed_helper(str);executed 8462 times by 104 tests: return QStringAlgorithms<const QString>::trimmed_helper(str); Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- ...
| 8462 |
2170 | } | - |
2171 | | - |
2172 | QString QString::trimmed_helper(QString &str) | - |
2173 | { | - |
2174 | returnexecuted 6550 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 6550 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
- ...
| 6550 |
2175 | } | - |
2176 | void QString::truncate(int pos) | - |
2177 | { | - |
2178 | if (pos < d->sizeTRUE | evaluated 42105615 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 3920098 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_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- ...
|
) | 3920098-42105615 |
2179 | resize(pos);executed 42105615 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
- ...
| 42105615 |
2180 | }executed 46025168 times by 564 tests: end of block 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
- ...
| 46025168 |
2181 | void QString::chop(int n) | - |
2182 | { | - |
2183 | if (n > 0TRUE | evaluated 68667 times by 364 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_QCommandLineParser
- ...
| FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_QByteDataBuffer
- tst_QString
- tst_selftests - unknown status
|
) | 140-68667 |
2184 | resize(d->size - n);executed 68667 times by 364 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_QCommandLineParser
- ...
| 68667 |
2185 | }executed 68807 times by 364 tests: end of block 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_QCommandLineParser
- ...
| 68807 |
2186 | QString& QString::fill(QChar ch, int size) | - |
2187 | { | - |
2188 | resize(size < 0 ? d->size : size); | - |
2189 | if (d->sizeTRUE | evaluated 11557 times by 10 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- 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-11557 |
2190 | QChar *i = (QChar*)d->data() + d->size; | - |
2191 | QChar *b = (QChar*)d->data(); | - |
2192 | while (i != bTRUE | evaluated 2697569 times by 10 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| FALSE | evaluated 11557 times by 10 testsEvaluated by:- tst_Collections
- tst_QAccessibility
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
|
) | 11557-2697569 |
2193 | *--executed 2697569 times by 10 tests: *--i = ch; Executed by:- tst_Collections
- tst_QAccessibility
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
i = ch;executed 2697569 times by 10 tests: *--i = ch; Executed by:- tst_Collections
- tst_QAccessibility
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| 2697569 |
2194 | }executed 11557 times by 10 tests: end of block Executed by:- tst_Collections
- tst_QAccessibility
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| 11557 |
2195 | returnexecuted 16982 times by 12 tests: return *this; Executed by:- tst_Collections
- tst_QAccessibility
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
*this;executed 16982 times by 12 tests: return *this; Executed by:- tst_Collections
- tst_QAccessibility
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QLCDNumber
- tst_QLineEdit
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTextCodec
- tst_QXmlSimpleReader
| 16982 |
2196 | } | - |
2197 | int QString::compare(const QString &other, Qt::CaseSensitivity cs) const noexcept | - |
2198 | { | - |
2199 | if (cs == Qt::CaseSensitiveTRUE | evaluated 240051 times by 215 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 513982 times by 161 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
- ...
|
) | 240051-513982 |
2200 | returnexecuted 240051 times by 215 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 240051 times by 215 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
- ...
| 240051 |
2201 | returnexecuted 513982 times by 161 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 513982 times by 161 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
- ...
| 513982 |
2202 | } | - |
2203 | | - |
2204 | | - |
2205 | | - |
2206 | | - |
2207 | | - |
2208 | int QString::compare_helper(const QChar *data1, int length1, const QChar *data2, int length2, | - |
2209 | Qt::CaseSensitivity cs) noexcept | - |
2210 | { | - |
2211 | if (cs == Qt::CaseSensitiveTRUE | evaluated 552902 times by 47 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_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPlainTextEdit
- ...
| FALSE | evaluated 2594 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QToolButton
- tst_languageChange
- tst_qmakelib
|
) | 2594-552902 |
2212 | returnexecuted 552902 times by 47 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_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPlainTextEdit
- ...
ucstrcmp(data1, length1, data2, length2);executed 552902 times by 47 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_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPlainTextEdit
- ...
| 552902 |
2213 | const ushort *s1 = reinterpret_cast<const ushort *>(data1); | - |
2214 | const ushort *s2 = reinterpret_cast<const ushort *>(data2); | - |
2215 | returnexecuted 2594 times by 25 tests: return ucstricmp(s1, s1 + length1, s2, s2 + length2); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QToolButton
- tst_languageChange
- tst_qmakelib
ucstricmp(s1, s1 + length1, s2, s2 + length2);executed 2594 times by 25 tests: return ucstricmp(s1, s1 + length1, s2, s2 + length2); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QToolButton
- tst_languageChange
- tst_qmakelib
| 2594 |
2216 | } | - |
2217 | | - |
2218 | | - |
2219 | | - |
2220 | | - |
2221 | | - |
2222 | | - |
2223 | | - |
2224 | int QString::compare(QLatin1String other, Qt::CaseSensitivity cs) const noexcept | - |
2225 | { | - |
2226 | returnexecuted 19282 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 19282 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
- ...
| 19282 |
2227 | } | - |
2228 | int QString::compare_helper(const QChar *data1, int length1, const char *data2, int length2, | - |
2229 | Qt::CaseSensitivity cs) | - |
2230 | { | - |
2231 | | - |
2232 | const QString s2 = QString::fromUtf8(data2, length2 == -1 ? (data2 ? int(strlen(data2)) : -1) : length2); | - |
2233 | returnexecuted 552553 times by 46 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_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPlainTextEdit
- ...
compare_helper(data1, length1, s2.constData(), s2.size(), cs);executed 552553 times by 46 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_QHostAddress
- tst_QImage
- tst_QImageReader
- tst_QItemModel
- tst_QItemView
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPlainTextEdit
- ...
| 552553 |
2234 | } | - |
2235 | int QString::compare_helper(const QChar *data1, int length1, QLatin1String s2, | - |
2236 | Qt::CaseSensitivity cs) noexcept | - |
2237 | { | - |
2238 | const ushort *uc = reinterpret_cast<const ushort *>(data1); | - |
2239 | const ushort *uce = uc + length1; | - |
2240 | const uchar *c = (const uchar *)s2.latin1(); | - |
2241 | | - |
2242 | if (!cTRUE | never evaluated | FALSE | evaluated 235224 times by 445 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-235224 |
2243 | return never executed: return length1; length1;never executed: return length1; | 0 |
2244 | | - |
2245 | if (cs == Qt::CaseSensitiveTRUE | evaluated 217591 times by 445 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 17633 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
- ...
|
) { | 17633-217591 |
2246 | returnexecuted 217591 times by 445 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 217591 times by 445 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
- ...
| 217591 |
2247 | } else { | - |
2248 | returnexecuted 17633 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 17633 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
- ...
| 17633 |
2249 | } | - |
2250 | } | - |
2251 | int QString::localeAwareCompare(const QString &other) const | - |
2252 | { | - |
2253 | 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 |
2254 | } | - |
2255 | | - |
2256 | | - |
2257 | 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::InitializedTRUE | 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 block 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
}; 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 |
2258 | | - |
2259 | | - |
2260 | | - |
2261 | | - |
2262 | | - |
2263 | | - |
2264 | int QString::localeAwareCompare_helper(const QChar *data1, int length1, | - |
2265 | const QChar *data2, int length2) | - |
2266 | { | - |
2267 | | - |
2268 | if (length1 == 0TRUE | 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 == 0TRUE | never evaluated | FALSE | evaluated 11395 times by 6 testsEvaluated by:- tst_ModelTest
- tst_QItemModel
- tst_QListWidget
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
|
) | 0-11395 |
2269 | 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 |
2270 | 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 |
2271 | 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 |
2272 | 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 |
2273 | } | - |
2274 | const ushort *QString::utf16() const | - |
2275 | { | - |
2276 | if (((TRUE | never evaluated | FALSE | evaluated 139250 times by 55 testsEvaluated by:- tst_QAccessibility
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- tst_QMainWindow
- tst_QMimeDatabase
- ...
|
d)->offset != sizeof(QStringData))TRUE | never evaluated | FALSE | evaluated 139250 times by 55 testsEvaluated by:- tst_QAccessibility
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- tst_QMainWindow
- tst_QMimeDatabase
- ...
|
) { | 0-139250 |
2277 | | - |
2278 | const_cast<QString*>(this)->reallocData(uint(d->size) + 1u); | - |
2279 | } never executed: end of block | 0 |
2280 | returnexecuted 139250 times by 55 tests: return d->data(); Executed by:- tst_QAccessibility
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- tst_QMainWindow
- tst_QMimeDatabase
- ...
d->data();executed 139250 times by 55 tests: return d->data(); Executed by:- tst_QAccessibility
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- tst_QMainWindow
- tst_QMimeDatabase
- ...
| 139250 |
2281 | } | - |
2282 | QString QString::leftJustified(int width, QChar fill, bool truncate) const | - |
2283 | { | - |
2284 | QString result; | - |
2285 | int len = length(); | - |
2286 | int padlen = width - len; | - |
2287 | if (padlen > 0TRUE | evaluated 806 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| FALSE | evaluated 4210 times by 1 test |
) { | 806-4210 |
2288 | result.resize(len+padlen); | - |
2289 | if (lenTRUE | evaluated 805 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| FALSE | evaluated 1 time by 1 test |
) | 1-805 |
2290 | memcpy(result.d->data(), d->data(), sizeof(QChar)*len);executed 805 times by 3 tests: memcpy(result.d->data(), d->data(), sizeof(QChar)*len); Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| 805 |
2291 | QChar *uc = (QChar*)result.d->data() + len; | - |
2292 | while (padlen--TRUE | evaluated 32193 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| FALSE | evaluated 806 times by 3 testsEvaluated by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
|
) | 806-32193 |
2293 | *executed 32193 times by 3 tests: * uc++ = fill; Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
uc++ = fill;executed 32193 times by 3 tests: * uc++ = fill; Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| 32193 |
2294 | }executed 806 times by 3 tests: end of block Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
else { | 806 |
2295 | if (truncateTRUE | evaluated 4 times by 1 test | FALSE | evaluated 4206 times by 1 test |
) | 4-4206 |
2296 | result = left(width);executed 4 times by 1 test: result = left(width); | 4 |
2297 | else | - |
2298 | result = *this;executed 4206 times by 1 test: result = *this; | 4206 |
2299 | } | - |
2300 | returnexecuted 5016 times by 3 tests: return result; Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
result;executed 5016 times by 3 tests: return result; Executed by:- tst_QCommandLineParser
- tst_QLineEdit
- tst_QString
| 5016 |
2301 | } | - |
2302 | QString QString::rightJustified(int width, QChar fill, bool truncate) const | - |
2303 | { | - |
2304 | QString result; | - |
2305 | int len = length(); | - |
2306 | int padlen = width - len; | - |
2307 | if (padlen > 0TRUE | evaluated 802 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| FALSE | evaluated 389151 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
- ...
|
) { | 802-389151 |
2308 | result.resize(len+padlen); | - |
2309 | QChar *uc = (QChar*)result.d->data(); | - |
2310 | while (padlen--TRUE | evaluated 30764 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| FALSE | evaluated 802 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
|
) | 802-30764 |
2311 | *executed 30764 times by 4 tests: * uc++ = fill; Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
uc++ = fill;executed 30764 times by 4 tests: * uc++ = fill; Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| 30764 |
2312 | if (lenTRUE | evaluated 801 times by 4 testsEvaluated by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| FALSE | evaluated 1 time by 1 test |
) | 1-801 |
2313 | memcpy(uc, d->data(), sizeof(QChar)*len);executed 801 times by 4 tests: memcpy(uc, d->data(), sizeof(QChar)*len); Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
| 801 |
2314 | }executed 802 times by 4 tests: end of block Executed by:- tst_QLCDNumber
- tst_QString
- tst_QTextStream
- tst_qlogging - unknown status
else { | 802 |
2315 | if (truncateTRUE | evaluated 4 times by 1 test | FALSE | evaluated 389147 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-389147 |
2316 | result = left(width);executed 4 times by 1 test: result = left(width); | 4 |
2317 | else | - |
2318 | result = *this;executed 389147 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
- ...
| 389147 |
2319 | } | - |
2320 | returnexecuted 389953 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 389953 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
- ...
| 389953 |
2321 | } | - |
2322 | namespace QUnicodeTables { | - |
2323 | template <typename Traits, typename T> | - |
2324 | __attribute__((noinline)) | - |
2325 | static QString detachAndConvertCase(T &str, QStringIterator it) | - |
2326 | { | - |
2327 | ((!(!str.isEmpty())) ? qt_assert("!str.isEmpty()",__FILE__,5802) : qt_noop()); | - |
2328 | QString s = std::move(str); | - |
2329 | QChar *pp = s.begin() + it.index(); | - |
2330 | | - |
2331 | do { | - |
2332 | uint uc = it.nextUnchecked(); | - |
2333 | | - |
2334 | const QUnicodeTables::Properties *prop = qGetProp(uc); | - |
2335 | signed short caseDiff = Traits::caseDiff(prop); | - |
2336 | | - |
2337 | if (__builtin_expect(!!(Traits::caseSpecial(prop)), false)TRUE | evaluated 212 times by 1 test | FALSE | evaluated 2309443 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-2309443 |
2338 | const ushort *specialCase = specialCaseMap + caseDiff; | - |
2339 | ushort length = *specialCase++; | - |
2340 | | - |
2341 | if (__builtin_expect(!!(length == 1), true)TRUE | evaluated 204 times by 1 test | FALSE | evaluated 8 times by 1 test |
) { | 8-204 |
2342 | *pp++ = QChar(*specialCase); | - |
2343 | }executed 204 times by 1 test: end of block else { | 204 |
2344 | | - |
2345 | int inpos = it.index() - 1; | - |
2346 | int outpos = pp - s.constBegin(); | - |
2347 | | - |
2348 | s.replace(outpos, 1, reinterpret_cast<const QChar *>(specialCase), length); | - |
2349 | pp = const_cast<QChar *>(s.constBegin()) + outpos + length; | - |
2350 | | - |
2351 | | - |
2352 | | - |
2353 | if (str.isEmpty()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-6 |
2354 | it = QStringIterator(s.constBegin(), inpos + length, s.constEnd());executed 6 times by 1 test: it = QStringIterator(s.constBegin(), inpos + length, s.constEnd()); | 6 |
2355 | }executed 8 times by 1 test: end of block | 8 |
2356 | } else if (__builtin_expect(!!(QChar::requiresSurrogates(uc)), false)TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| FALSE | evaluated 2309420 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-2309420 |
2357 | | - |
2358 | pp++; | - |
2359 | *pp++ = QChar::lowSurrogate(uc + caseDiff); | - |
2360 | }executed 23 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringRef
else { | 23 |
2361 | *pp++ = QChar(uc + caseDiff); | - |
2362 | }executed 2309420 times by 188 tests: end of block 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
- ...
| 2309420 |
2363 | } while (it.hasNext()TRUE | evaluated 2043470 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 266185 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
- ...
|
); | 266185-2043470 |
2364 | | - |
2365 | returnexecuted 266185 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 266185 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
- ...
| 266185 |
2366 | } | - |
2367 | | - |
2368 | template <typename Traits, typename T> | - |
2369 | static QString convertCase(T &str) | - |
2370 | { | - |
2371 | const QChar *p = str.constBegin(); | - |
2372 | const QChar *e = p + str.size(); | - |
2373 | | - |
2374 | | - |
2375 | while (e != pTRUE | evaluated 545568 times by 222 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 4050 times by 73 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 543514 times by 222 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-545568 |
2376 | --executed 2054 times by 1 test: --e; e;executed 2054 times by 1 test: --e; | 2054 |
2377 | | - |
2378 | QStringIterator it(p, e); | - |
2379 | while (it.hasNext()TRUE | evaluated 1808666 times by 222 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 281379 times by 181 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
- ...
|
) { | 281379-1808666 |
2380 | uint uc = it.nextUnchecked(); | - |
2381 | if (Traits::caseDiff(qGetProp(uc))TRUE | evaluated 266185 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 1542481 times by 184 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
- ...
|
) { | 266185-1542481 |
2382 | it.recedeUnchecked(); | - |
2383 | returnexecuted 266185 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 266185 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
- ...
| 266185 |
2384 | } | - |
2385 | }executed 1542481 times by 184 tests: end of block Executed 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
- ...
| 1542481 |
2386 | returnexecuted 281379 times by 181 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 281379 times by 181 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
- ...
| 281379 |
2387 | } | - |
2388 | } | - |
2389 | | - |
2390 | QString QString::toLower_helper(const QString &str) | - |
2391 | { | - |
2392 | returnexecuted 315713 times by 199 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 315713 times by 199 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
- ...
| 315713 |
2393 | } | - |
2394 | | - |
2395 | QString QString::toLower_helper(QString &str) | - |
2396 | { | - |
2397 | returnexecuted 45255 times by 174 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_QDateTimeEdit
- tst_QDialog
- ...
QUnicodeTables::convertCase<QUnicodeTables::LowercaseTraits>(str);executed 45255 times by 174 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_QDateTimeEdit
- tst_QDialog
- ...
| 45255 |
2398 | } | - |
2399 | QString QString::toCaseFolded_helper(const QString &str) | - |
2400 | { | - |
2401 | returnexecuted 175937 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 175937 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
- ...
| 175937 |
2402 | } | - |
2403 | | - |
2404 | QString QString::toCaseFolded_helper(QString &str) | - |
2405 | { | - |
2406 | 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 |
2407 | } | - |
2408 | QString QString::toUpper_helper(const QString &str) | - |
2409 | { | - |
2410 | returnexecuted 6040 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 6040 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
| 6040 |
2411 | } | - |
2412 | | - |
2413 | QString QString::toUpper_helper(QString &str) | - |
2414 | { | - |
2415 | returnexecuted 4601 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 4601 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
| 4601 |
2416 | } | - |
2417 | | - |
2418 | | - |
2419 | | - |
2420 | | - |
2421 | | - |
2422 | | - |
2423 | QString &QString::sprintf(const char *cformat, ...) | - |
2424 | { | - |
2425 | va_list ap; | - |
2426 | __builtin_va_start(ap,cformat); | - |
2427 | *this = vasprintf(cformat, ap); | - |
2428 | __builtin_va_end(ap); | - |
2429 | returnexecuted 10040 times by 3 tests: return *this; Executed by:- tst_QPrinter
- tst_QString
- tst_qmakelib
*this;executed 10040 times by 3 tests: return *this; Executed by:- tst_QPrinter
- tst_QString
- tst_qmakelib
| 10040 |
2430 | } | - |
2431 | QString QString::asprintf(const char *cformat, ...) | - |
2432 | { | - |
2433 | va_list ap; | - |
2434 | __builtin_va_start(ap,cformat); | - |
2435 | const QString s = vasprintf(cformat, ap); | - |
2436 | __builtin_va_end(ap); | - |
2437 | returnexecuted 25965 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_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
s;executed 25965 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_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
| 25965 |
2438 | } | - |
2439 | | - |
2440 | | - |
2441 | | - |
2442 | | - |
2443 | | - |
2444 | | - |
2445 | QString &QString::vsprintf(const char *cformat, va_list ap) | - |
2446 | { | - |
2447 | return never executed: return *this = vasprintf(cformat, ap); *this = vasprintf(cformat, ap);never executed: return *this = vasprintf(cformat, ap); | 0 |
2448 | } | - |
2449 | | - |
2450 | static void append_utf8(QString &qs, const char *cs, int len) | - |
2451 | { | - |
2452 | const int oldSize = qs.size(); | - |
2453 | qs.resize(oldSize + len); | - |
2454 | const QChar *newEnd = QUtf8::convertToUnicode(qs.data() + oldSize, cs, len); | - |
2455 | qs.resize(newEnd - qs.constData()); | - |
2456 | }executed 683187 times by 161 tests: end of block 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
- ...
| 683187 |
2457 | | - |
2458 | static uint parse_flag_characters(const char * &c) noexcept | - |
2459 | { | - |
2460 | uint flags = QLocaleData::ZeroPadExponent; | - |
2461 | while (true) { | - |
2462 | switch (*c) { | - |
2463 | 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 |
2464 | caseexecuted 12678 times by 15 tests: case '0': Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
'0':executed 12678 times by 15 tests: case '0': Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
flags |= QLocaleData::ZeroPadded; break;executed 12678 times by 15 tests: break; Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 12678 |
2465 | caseexecuted 5000 times by 1 test: case '-': '-':executed 5000 times by 1 test: case '-': flags |= QLocaleData::LeftAdjusted; break;executed 5000 times by 1 test: break; | 5000 |
2466 | 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 |
2467 | 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 |
2468 | 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 |
2469 | defaultexecuted 394937 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 394937 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
- ...
returnexecuted 394937 times by 110 tests: return flags; 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
- ...
flags;executed 394937 times by 110 tests: return flags; 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
- ...
| 394937 |
2470 | } | - |
2471 | ++c; | - |
2472 | }executed 42638 times by 15 tests: end of block Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 42638 |
2473 | } never executed: end of block | 0 |
2474 | | - |
2475 | static int parse_field_width(const char * &c) | - |
2476 | { | - |
2477 | ((!(qIsDigit(*c))) ? qt_assert("qIsDigit(*c)",__FILE__,6010) : qt_noop()); | - |
2478 | | - |
2479 | | - |
2480 | | - |
2481 | const char *endp; | - |
2482 | bool ok; | - |
2483 | const qulonglong result = qstrtoull(c, &endp, 10, &ok); | - |
2484 | c = endp; | - |
2485 | while (qIsDigit(*c)TRUE | never evaluated | FALSE | evaluated 24569 times by 22 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_QSqlTableModel
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QTime
- tst_QUdpSocket
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
|
) | 0-24569 |
2486 | ++ never executed: ++c; c;never executed: ++c; | 0 |
2487 | returnexecuted 24569 times by 22 tests: return ok && result < qulonglong(std::numeric_limits<int>::max()) ? int(result) : 0; Executed 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_QSqlTableModel
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QTime
- tst_QUdpSocket
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
ok && result < qulonglong(std::numeric_limits<int>::max()) ? int(result) : 0;executed 24569 times by 22 tests: return ok && result < qulonglong(std::numeric_limits<int>::max()) ? int(result) : 0; Executed 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_QSqlTableModel
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QTime
- tst_QUdpSocket
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| 24569 |
2488 | } | - |
2489 | | - |
2490 | enum LengthMod { lm_none, lm_hh, lm_h, lm_l, lm_ll, lm_L, lm_j, lm_z, lm_t }; | - |
2491 | | - |
2492 | static inline bool can_consume(const char * &c, char ch) noexcept | - |
2493 | { | - |
2494 | if (*TRUE | evaluated 2022 times by 3 testsEvaluated by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
| FALSE | evaluated 42 times by 7 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QString
|
c == chTRUE | evaluated 2022 times by 3 testsEvaluated by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
| FALSE | evaluated 42 times by 7 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QString
|
) { | 42-2022 |
2495 | ++c; | - |
2496 | returnexecuted 2022 times by 3 tests: return true; Executed by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
true;executed 2022 times by 3 tests: return true; Executed by:- tst_QAlgorithms
- tst_QStatusBar
- tst_QString
| 2022 |
2497 | } | - |
2498 | returnexecuted 42 times by 7 tests: return false; Executed by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QString
false;executed 42 times by 7 tests: return false; Executed by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QString
| 42 |
2499 | } | - |
2500 | | - |
2501 | static LengthMod parse_length_modifier(const char * &c) noexcept | - |
2502 | { | - |
2503 | switch (*c++) { | - |
2504 | case never executed: case 'h': 'h':never executed: case 'h': returnnever executed: return can_consume(c, 'h') ? lm_hh : lm_h; can_consume(c, 'h') ? lm_hh : lm_h;never executed: return can_consume(c, 'h') ? lm_hh : lm_h; | 0 |
2505 | caseexecuted 2064 times by 9 tests: case 'l': Executed by:- tst_QAlgorithms
- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
'l':executed 2064 times by 9 tests: case 'l': Executed by:- tst_QAlgorithms
- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
returnexecuted 2064 times by 9 tests: return can_consume(c, 'l') ? lm_ll : lm_l; Executed by:- tst_QAlgorithms
- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
can_consume(c, 'l') ? lm_ll : lm_l;executed 2064 times by 9 tests: return can_consume(c, 'l') ? lm_ll : lm_l; Executed by:- tst_QAlgorithms
- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QSslSocket
- tst_QStatusBar
- tst_QString
| 2064 |
2506 | case never executed: case 'L': 'L':never executed: case 'L': returnnever executed: return lm_L; lm_L;never executed: return lm_L; | 0 |
2507 | case never executed: case 'j': 'j':never executed: case 'j': returnnever executed: return lm_j; lm_j;never executed: return lm_j; | 0 |
2508 | caseexecuted 3 times by 1 test: case 'z': 'z':executed 3 times by 1 test: case 'z': | 3 |
2509 | case never executed: case 'Z': 'Z':never executed: case 'Z': returnexecuted 3 times by 1 test: return lm_z; lm_z;executed 3 times by 1 test: return lm_z; | 0-3 |
2510 | case never executed: case 't': 't':never executed: case 't': returnnever executed: return lm_t; lm_t;never executed: return lm_t; | 0 |
2511 | } | - |
2512 | --c; | - |
2513 | returnexecuted 392870 times by 110 tests: return lm_none; 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
- ...
lm_none;executed 392870 times by 110 tests: return lm_none; 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
- ...
| 392870 |
2514 | } | - |
2515 | QString QString::vasprintf(const char *cformat, va_list ap) | - |
2516 | { | - |
2517 | if (!cformatTRUE | evaluated 1 time by 1 test | FALSE | evaluated 288236 times by 161 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
- ...
|
|| !*cformatTRUE | never evaluated | FALSE | evaluated 288236 times by 161 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-288236 |
2518 | | - |
2519 | returnexecuted 1 time by 1 test: return fromLatin1(""); fromLatin1("");executed 1 time by 1 test: return fromLatin1(""); | 1 |
2520 | } | - |
2521 | | - |
2522 | | - |
2523 | | - |
2524 | QString result; | - |
2525 | const char *c = cformat; | - |
2526 | for (;;) { | - |
2527 | | - |
2528 | const char *cb = c; | - |
2529 | while (*TRUE | evaluated 609515 times by 161 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 288236 times by 161 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 609515 times by 161 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 288236 times by 161 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 214564 times by 161 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 394951 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 214564 times by 161 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 394951 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
- ...
|
) | 214564-609515 |
2530 | c++;executed 214564 times by 161 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
- ...
| 214564 |
2531 | append_utf8(result, cb, int(c - cb)); | - |
2532 | | - |
2533 | if (*TRUE | evaluated 288236 times by 161 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 394951 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 288236 times by 161 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 394951 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
- ...
|
) | 288236-394951 |
2534 | break;executed 288236 times by 161 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
- ...
| 288236 |
2535 | | - |
2536 | | - |
2537 | const char *escape_start = c; | - |
2538 | ++c; | - |
2539 | | - |
2540 | if (*TRUE | never evaluated | FALSE | evaluated 394951 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 394951 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-394951 |
2541 | result.append(QLatin1Char('%')); | - |
2542 | break; never executed: break; | 0 |
2543 | } | - |
2544 | if (*TRUE | evaluated 14 times by 2 tests | FALSE | evaluated 394937 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 394937 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-394937 |
2545 | result.append(QLatin1Char('%')); | - |
2546 | ++c; | - |
2547 | continue;executed 14 times by 2 tests: continue; | 14 |
2548 | } | - |
2549 | | - |
2550 | uint flags = parse_flag_characters(c); | - |
2551 | | - |
2552 | if (*TRUE | never evaluated | FALSE | evaluated 394937 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 394937 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-394937 |
2553 | result.append(QLatin1String(escape_start)); | - |
2554 | break; never executed: break; | 0 |
2555 | } | - |
2556 | | - |
2557 | | - |
2558 | int width = -1; | - |
2559 | if (qIsDigit(*c)TRUE | evaluated 15195 times by 15 testsEvaluated by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 379742 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
- ...
|
) { | 15195-379742 |
2560 | width = parse_field_width(c); | - |
2561 | }executed 15195 times by 15 tests: end of block Executed by:- tst_QAlgorithms
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkRequest
- tst_QSqlTableModel
- tst_QString
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
- tst_selftests - unknown status
else if (*TRUE | evaluated 1 time by 1 test | FALSE | evaluated 379741 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 379741 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-379741 |
2562 | width = __builtin_va_arg(ap,int); | - |
2563 | if (width < 0TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
2564 | width = -1; never executed: width = -1; | 0 |
2565 | ++c; | - |
2566 | }executed 1 time by 1 test: end of block | 1 |
2567 | | - |
2568 | if (*TRUE | never evaluated | FALSE | evaluated 394937 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 394937 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-394937 |
2569 | result.append(QLatin1String(escape_start)); | - |
2570 | break; never executed: break; | 0 |
2571 | } | - |
2572 | | - |
2573 | | - |
2574 | int precision = -1; | - |
2575 | if (*TRUE | evaluated 9375 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 385562 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 9375 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 385562 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
- ...
|
) { | 9375-385562 |
2576 | ++c; | - |
2577 | if (qIsDigit(*c)TRUE | evaluated 9374 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-9374 |
2578 | precision = parse_field_width(c); | - |
2579 | }executed 9374 times by 8 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
else if (*TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
c == '*'TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-9374 |
2580 | precision = __builtin_va_arg(ap,int); | - |
2581 | if (precision < 0TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
2582 | precision = -1; never executed: precision = -1; | 0 |
2583 | ++c; | - |
2584 | }executed 1 time by 1 test: end of block | 1 |
2585 | }executed 9375 times by 9 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QHttpSocketEngine
- tst_QLCDNumber
- tst_QPrinter
- tst_QRegExp
- tst_QString
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
| 9375 |
2586 | | - |
2587 | if (*TRUE | never evaluated | FALSE | evaluated 394937 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 394937 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-394937 |
2588 | result.append(QLatin1String(escape_start)); | - |
2589 | break; never executed: break; | 0 |
2590 | } | - |
2591 | | - |
2592 | const LengthMod length_mod = parse_length_modifier(c); | - |
2593 | | - |
2594 | if (*TRUE | never evaluated | FALSE | evaluated 394937 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 394937 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-394937 |
2595 | result.append(QLatin1String(escape_start)); | - |
2596 | break; never executed: break; | 0 |
2597 | } | - |
2598 | | - |
2599 | | - |
2600 | QString subst; | - |
2601 | switch (*c) { | - |
2602 | caseexecuted 288080 times by 46 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_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- tst_QReadWriteLock
- tst_QRegExp
- tst_QSettings
- ...
'd':executed 288080 times by 46 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_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- tst_QReadWriteLock
- tst_QRegExp
- tst_QSettings
- ...
| 288080 |
2603 | 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 |
2604 | qint64 i; | - |
2605 | switch (length_mod) { | - |
2606 | caseexecuted 288827 times by 50 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_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- ...
lm_none:executed 288827 times by 50 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_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- ...
i = __builtin_va_arg(ap,int); break;executed 288827 times by 50 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_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- ...
| 288827 |
2607 | case never executed: case lm_hh: lm_hh:never executed: case lm_hh: i = __builtin_va_arg(ap,int); break;never executed: break; | 0 |
2608 | case never executed: case lm_h: lm_h:never executed: case lm_h: i = __builtin_va_arg(ap,int); break;never executed: break; | 0 |
2609 | 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 |
2610 | 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 |
2611 | 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 |
2612 | 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 |
2613 | case never executed: case lm_t: lm_t:never executed: case lm_t: i = __builtin_va_arg(ap,int); break;never executed: break; | 0 |
2614 | default never executed: default: :never executed: default: i = 0; break;never executed: break; | 0 |
2615 | } | - |
2616 | subst = QLocaleData::c()->longLongToString(i, precision, 10, width, flags); | - |
2617 | ++c; | - |
2618 | break;executed 288830 times by 50 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_QMutex
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPainter
- ...
| 288830 |
2619 | } | - |
2620 | case never executed: case 'o': 'o':never executed: case 'o': | 0 |
2621 | 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 |
2622 | 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 |
2623 | case never executed: case 'X': 'X':never executed: case 'X': { | 0 |
2624 | quint64 u; | - |
2625 | switch (length_mod) { | - |
2626 | 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 |
2627 | case never executed: case lm_hh: lm_hh:never executed: case lm_hh: u = __builtin_va_arg(ap,uint); break;never executed: break; | 0 |
2628 | case never executed: case lm_h: lm_h:never executed: case lm_h: u = __builtin_va_arg(ap,uint); break;never executed: break; | 0 |
2629 | case never executed: case lm_l: lm_l:never executed: case lm_l: u = __builtin_va_arg(ap,ulong); break;never executed: break; | 0 |
2630 | 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 |
2631 | 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 |
2632 | default never executed: default: :never executed: default: u = 0; break;never executed: break; | 0 |
2633 | } | - |
2634 | | - |
2635 | 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 |
2636 | flags |= QLocaleData::CapitalEorX; never executed: flags |= QLocaleData::CapitalEorX; | 0 |
2637 | | - |
2638 | int base = 10; | - |
2639 | switch (qToLower(*c)) { | - |
2640 | case never executed: case 'o': 'o':never executed: case 'o': | 0 |
2641 | base = 8; break; never executed: break; | 0 |
2642 | 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 |
2643 | base = 10; break;executed 6 times by 2 tests: break; Executed by:- tst_QReadWriteLock
- tst_QString
| 6 |
2644 | 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 |
2645 | base = 16; break;executed 6044 times by 5 tests: break; Executed by:- tst_QAlgorithms
- tst_QGlyphRun
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
| 6044 |
2646 | default never executed: default: :never executed: default: break;never executed: break; | 0 |
2647 | } | - |
2648 | subst = QLocaleData::c()->unsLongLongToString(u, precision, base, width, flags); | - |
2649 | ++c; | - |
2650 | 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 |
2651 | } | - |
2652 | case never executed: case 'E': 'E':never executed: case 'E': | 0 |
2653 | case never executed: case 'e': 'e':never executed: case 'e': | 0 |
2654 | case never executed: case 'F': 'F':never executed: case 'F': | 0 |
2655 | 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 |
2656 | caseexecuted 4992 times by 1 test: case 'G': 'G':executed 4992 times by 1 test: case 'G': | 4992 |
2657 | 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 |
2658 | case never executed: case 'A': 'A':never executed: case 'A': | 0 |
2659 | case never executed: case 'a': 'a':never executed: case 'a': { | 0 |
2660 | double d; | - |
2661 | if (length_mod == lm_LTRUE | 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 |
2662 | d = __builtin_va_arg(ap,long double); never executed: d = __builtin_va_arg(ap,long double); | 0 |
2663 | else | - |
2664 | 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 |
2665 | | - |
2666 | 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 |
2667 | flags |= QLocaleData::CapitalEorX;executed 4992 times by 1 test: flags |= QLocaleData::CapitalEorX; | 4992 |
2668 | | - |
2669 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
2670 | switch (qToLower(*c)) { | - |
2671 | case never executed: case 'e': 'e':never executed: case 'e': form = QLocaleData::DFExponent; break;never executed: break; | 0 |
2672 | case never executed: case 'a': 'a':never executed: case 'a': | 0 |
2673 | 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 |
2674 | 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 |
2675 | default never executed: default: :never executed: default: break;never executed: break; | 0 |
2676 | } | - |
2677 | subst = QLocaleData::c()->doubleToString(d, precision, form, width, flags); | - |
2678 | ++c; | - |
2679 | 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 |
2680 | } | - |
2681 | caseexecuted 218 times by 3 tests: case 'c': Executed by:- tst_QCompleter
- tst_QDateTime
- tst_selftests - unknown status
'c':executed 218 times by 3 tests: case 'c': Executed by:- tst_QCompleter
- tst_QDateTime
- tst_selftests - unknown status
{ | 218 |
2682 | if (length_mod == lm_lTRUE | never evaluated | FALSE | evaluated 218 times by 3 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_selftests - unknown status
|
) | 0-218 |
2683 | subst = QChar((ushort) __builtin_va_arg(ap,int)); never executed: subst = QChar((ushort) __builtin_va_arg(ap,int)); | 0 |
2684 | else | - |
2685 | subst = QLatin1Char((uchar) __builtin_va_arg(ap,int));executed 218 times by 3 tests: subst = QLatin1Char((uchar) __builtin_va_arg(ap,int)); Executed by:- tst_QCompleter
- tst_QDateTime
- tst_selftests - unknown status
| 218 |
2686 | ++c; | - |
2687 | break;executed 218 times by 3 tests: break; Executed by:- tst_QCompleter
- tst_QDateTime
- tst_selftests - unknown status
| 218 |
2688 | } | - |
2689 | caseexecuted 87840 times by 49 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 87840 times by 49 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
- ...
{ | 87840 |
2690 | if (length_mod == lm_lTRUE | evaluated 38 times by 6 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QString
| FALSE | evaluated 87802 times by 49 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
- ...
|
) { | 38-87802 |
2691 | const ushort *buff = __builtin_va_arg(ap,const ushort*); | - |
2692 | const ushort *ch = buff; | - |
2693 | while (*TRUE | evaluated 906 times by 5 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMimeDatabase
- tst_QString
| FALSE | evaluated 38 times by 6 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QString
|
ch != 0TRUE | evaluated 906 times by 5 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMimeDatabase
- tst_QString
| FALSE | evaluated 38 times by 6 testsEvaluated by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QString
|
) | 38-906 |
2694 | ++executed 906 times by 5 tests: ++ch; Executed by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMimeDatabase
- tst_QString
ch;executed 906 times by 5 tests: ++ch; Executed by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMimeDatabase
- tst_QString
| 906 |
2695 | subst.setUtf16(buff, ch - buff); | - |
2696 | }executed 38 times by 6 tests: end of block Executed by:- tst_QBoxLayout
- tst_QFormLayout
- tst_QGridLayout
- tst_QMainWindow
- tst_QMimeDatabase
- tst_QString
else | 38 |
2697 | subst = QString::fromUtf8(__builtin_va_arg(ap,const char*));executed 87802 times by 49 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
- ...
| 87802 |
2698 | if (precision != -1TRUE | evaluated 14 times by 1 test | FALSE | evaluated 87826 times by 49 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
- ...
|
) | 14-87826 |
2699 | subst.truncate(precision);executed 14 times by 1 test: subst.truncate(precision); | 14 |
2700 | ++c; | - |
2701 | break;executed 87840 times by 49 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
- ...
| 87840 |
2702 | } | - |
2703 | caseexecuted 1948 times by 33 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 1948 times by 33 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
- ...
{ | 1948 |
2704 | void *arg = __builtin_va_arg(ap,void*); | - |
2705 | const quint64 i = reinterpret_cast<quintptr>(arg); | - |
2706 | flags |= QLocaleData::Alternate; | - |
2707 | subst = QLocaleData::c()->unsLongLongToString(i, precision, 16, width, flags); | - |
2708 | ++c; | - |
2709 | break;executed 1948 times by 33 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
- ...
| 1948 |
2710 | } | - |
2711 | caseexecuted 3 times by 1 test: case 'n': 'n':executed 3 times by 1 test: case 'n': | 3 |
2712 | switch (length_mod) { | - |
2713 | case never executed: case lm_hh: lm_hh:never executed: case lm_hh: { | 0 |
2714 | signed char *n = __builtin_va_arg(ap,signed char*); | - |
2715 | *n = result.length(); | - |
2716 | break; never executed: break; | 0 |
2717 | } | - |
2718 | case never executed: case lm_h: lm_h:never executed: case lm_h: { | 0 |
2719 | short int *n = __builtin_va_arg(ap,short int*); | - |
2720 | *n = result.length(); | - |
2721 | break; never executed: break; | 0 |
2722 | } | - |
2723 | case never executed: case lm_l: lm_l:never executed: case lm_l: { | 0 |
2724 | long int *n = __builtin_va_arg(ap,long int*); | - |
2725 | *n = result.length(); | - |
2726 | break; never executed: break; | 0 |
2727 | } | - |
2728 | caseexecuted 1 time by 1 test: case lm_ll: lm_ll:executed 1 time by 1 test: case lm_ll: { | 1 |
2729 | qint64 *n = __builtin_va_arg(ap,qint64*); | - |
2730 | *n = result.length(); | - |
2731 | break;executed 1 time by 1 test: break; | 1 |
2732 | } | - |
2733 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: { | 2 |
2734 | int *n = __builtin_va_arg(ap,int*); | - |
2735 | *n = result.length(); | - |
2736 | break;executed 2 times by 1 test: break; | 2 |
2737 | } | - |
2738 | } | - |
2739 | ++c; | - |
2740 | break;executed 3 times by 1 test: break; | 3 |
2741 | | - |
2742 | default never executed: default: :never executed: default: | 0 |
2743 | for (const char *cc = escape_start; cc != cTRUE | never evaluated | FALSE | never evaluated |
; ++cc) | 0 |
2744 | result.append(QLatin1Char(*cc)); never executed: result.append(QLatin1Char(*cc)); | 0 |
2745 | continue; never executed: continue; | 0 |
2746 | } | - |
2747 | | - |
2748 | if (flags & QLocaleData::LeftAdjustedTRUE | evaluated 5000 times by 1 test | FALSE | evaluated 389937 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
- ...
|
) | 5000-389937 |
2749 | result.append(subst.leftJustified(width));executed 5000 times by 1 test: result.append(subst.leftJustified(width)); | 5000 |
2750 | else | - |
2751 | result.append(subst.rightJustified(width));executed 389937 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
- ...
| 389937 |
2752 | } | - |
2753 | | - |
2754 | returnexecuted 288236 times by 161 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 288236 times by 161 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
- ...
| 288236 |
2755 | } | - |
2756 | qint64 QString::toLongLong(bool *ok, int base) const | - |
2757 | { | - |
2758 | returnexecuted 59908 times by 41 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 41 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 |
2759 | } | - |
2760 | | - |
2761 | qlonglong QString::toIntegral_helper(const QChar *data, int len, bool *ok, int base) | - |
2762 | { | - |
2763 | | - |
2764 | | - |
2765 | | - |
2766 | | - |
2767 | | - |
2768 | | - |
2769 | | - |
2770 | returnexecuted 156190 times by 67 tests: return QLocaleData::c()->stringToLongLong(data, len, base, ok, QLocale::RejectGroupSeparator); Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAction
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QIcon
- tst_QKeySequence
- tst_QLabel
- tst_QLayout
- ...
QLocaleData::c()->stringToLongLong(data, len, base, ok, QLocale::RejectGroupSeparator);executed 156190 times by 67 tests: return QLocaleData::c()->stringToLongLong(data, len, base, ok, QLocale::RejectGroupSeparator); Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAction
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QIcon
- tst_QKeySequence
- tst_QLabel
- tst_QLayout
- ...
| 156190 |
2771 | } | - |
2772 | quint64 QString::toULongLong(bool *ok, int base) const | - |
2773 | { | - |
2774 | 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 |
2775 | } | - |
2776 | | - |
2777 | qulonglong QString::toIntegral_helper(const QChar *data, uint len, bool *ok, int base) | - |
2778 | { | - |
2779 | | - |
2780 | | - |
2781 | | - |
2782 | | - |
2783 | | - |
2784 | | - |
2785 | | - |
2786 | returnexecuted 3900 times by 20 tests: return QLocaleData::c()->stringToUnsLongLong(data, len, base, ok, QLocale::RejectGroupSeparator); 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,executed 3900 times by 20 tests: return QLocaleData::c()->stringToUnsLongLong(data, len, base, ok, QLocale::RejectGroupSeparator); 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
| 3900 |
2787 | QLocale::RejectGroupSeparator);executed 3900 times by 20 tests: return QLocaleData::c()->stringToUnsLongLong(data, len, base, ok, QLocale::RejectGroupSeparator); 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
| 3900 |
2788 | } | - |
2789 | long QString::toLong(bool *ok, int base) const | - |
2790 | { | - |
2791 | 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 |
2792 | } | - |
2793 | ulong QString::toULong(bool *ok, int base) const | - |
2794 | { | - |
2795 | 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 |
2796 | } | - |
2797 | int QString::toInt(bool *ok, int base) const | - |
2798 | { | - |
2799 | returnexecuted 34526 times by 23 tests: return toIntegral_helper<int>(constData(), size(), ok, base); Executed by:- tst_Collections
- tst_QCalendarWidget
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QLayout
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSslKey
- tst_QString
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTime
- tst_QTreeWidget
- tst_QXmlInputSource
- tst_QtConcurrentMap
- tst_qlibrary - unknown status
- tst_qmakelib
toIntegral_helper<int>(constData(), size(), ok, base);executed 34526 times by 23 tests: return toIntegral_helper<int>(constData(), size(), ok, base); Executed by:- tst_Collections
- tst_QCalendarWidget
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QLayout
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSslKey
- tst_QString
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTime
- tst_QTreeWidget
- tst_QXmlInputSource
- tst_QtConcurrentMap
- tst_qlibrary - unknown status
- tst_qmakelib
| 34526 |
2800 | } | - |
2801 | uint QString::toUInt(bool *ok, int base) const | - |
2802 | { | - |
2803 | returnexecuted 1853 times by 10 tests: return toIntegral_helper<uint>(constData(), size(), ok, base); Executed by:- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QTcpServer
- tst_QTextDocumentFragment
- tst_QUdpSocket
- tst_QXmlSimpleReader
toIntegral_helper<uint>(constData(), size(), ok, base);executed 1853 times by 10 tests: return toIntegral_helper<uint>(constData(), size(), ok, base); Executed by:- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QTcpServer
- tst_QTextDocumentFragment
- tst_QUdpSocket
- tst_QXmlSimpleReader
| 1853 |
2804 | } | - |
2805 | short QString::toShort(bool *ok, int base) const | - |
2806 | { | - |
2807 | 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 |
2808 | } | - |
2809 | ushort QString::toUShort(bool *ok, int base) const | - |
2810 | { | - |
2811 | 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 |
2812 | } | - |
2813 | double QString::toDouble(bool *ok) const | - |
2814 | { | - |
2815 | returnexecuted 2767 times by 24 tests: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocale::RejectGroupSeparator); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- 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, QLocale::RejectGroupSeparator);executed 2767 times by 24 tests: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocale::RejectGroupSeparator); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- 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
| 2767 |
2816 | } | - |
2817 | float QString::toFloat(bool *ok) const | - |
2818 | { | - |
2819 | 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 |
2820 | } | - |
2821 | QString &QString::setNum(qlonglong n, int base) | - |
2822 | { | - |
2823 | 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 |
2824 | } | - |
2825 | | - |
2826 | | - |
2827 | | - |
2828 | | - |
2829 | QString &QString::setNum(qulonglong n, int base) | - |
2830 | { | - |
2831 | 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 |
2832 | } | - |
2833 | QString &QString::setNum(double n, char f, int prec) | - |
2834 | { | - |
2835 | 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 |
2836 | } | - |
2837 | QString QString::number(long n, int base) | - |
2838 | { | - |
2839 | 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 |
2840 | } | - |
2841 | | - |
2842 | | - |
2843 | | - |
2844 | | - |
2845 | | - |
2846 | | - |
2847 | QString QString::number(ulong n, int base) | - |
2848 | { | - |
2849 | 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 |
2850 | } | - |
2851 | | - |
2852 | | - |
2853 | | - |
2854 | | - |
2855 | QString QString::number(int n, int base) | - |
2856 | { | - |
2857 | returnexecuted 4190033 times by 174 tests: return number(qlonglong(n), base); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCache
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
number(qlonglong(n), base);executed 4190033 times by 174 tests: return number(qlonglong(n), base); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCache
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
| 4190033 |
2858 | } | - |
2859 | | - |
2860 | | - |
2861 | | - |
2862 | | - |
2863 | QString QString::number(uint n, int base) | - |
2864 | { | - |
2865 | returnexecuted 17442 times by 63 tests: return number(qulonglong(n), base); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QBrush
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDataStream
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMimeData
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- ...
number(qulonglong(n), base);executed 17442 times by 63 tests: return number(qulonglong(n), base); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QBrush
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDataStream
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QItemSelectionModel
- tst_QMenu
- tst_QMimeData
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- ...
| 17442 |
2866 | } | - |
2867 | | - |
2868 | | - |
2869 | | - |
2870 | | - |
2871 | QString QString::number(qlonglong n, int base) | - |
2872 | { | - |
2873 | | - |
2874 | | - |
2875 | | - |
2876 | | - |
2877 | | - |
2878 | | - |
2879 | returnexecuted 4257340 times by 187 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_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
QLocaleData::c()->longLongToString(n, -1, base);executed 4257340 times by 187 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_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 4257340 |
2880 | } | - |
2881 | | - |
2882 | | - |
2883 | | - |
2884 | | - |
2885 | QString QString::number(qulonglong n, int base) | - |
2886 | { | - |
2887 | | - |
2888 | | - |
2889 | | - |
2890 | | - |
2891 | | - |
2892 | | - |
2893 | returnexecuted 19380 times by 78 tests: return QLocaleData::c()->unsLongLongToString(n, -1, base); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBrush
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- ...
QLocaleData::c()->unsLongLongToString(n, -1, base);executed 19380 times by 78 tests: return QLocaleData::c()->unsLongLongToString(n, -1, base); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBrush
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- ...
| 19380 |
2894 | } | - |
2895 | QString QString::number(double n, char f, int prec) | - |
2896 | { | - |
2897 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
2898 | uint flags = 0; | - |
2899 | | - |
2900 | if (qIsUpper(f)TRUE | never evaluated | FALSE | evaluated 2943 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-2943 |
2901 | flags = QLocaleData::CapitalEorX; never executed: flags = QLocaleData::CapitalEorX; | 0 |
2902 | f = qToLower(f); | - |
2903 | | - |
2904 | switch (f) { | - |
2905 | caseexecuted 983 times by 9 tests: case 'f': Executed by:- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_selftests - unknown status
'f':executed 983 times by 9 tests: case 'f': Executed by:- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_selftests - unknown status
| 983 |
2906 | form = QLocaleData::DFDecimal; | - |
2907 | break;executed 983 times by 9 tests: break; Executed by:- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_selftests - unknown status
| 983 |
2908 | 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 |
2909 | form = QLocaleData::DFExponent; | - |
2910 | break;executed 12 times by 2 tests: break; Executed by:- tst_QString
- tst_QStringRef
| 12 |
2911 | caseexecuted 1948 times by 24 tests: case 'g': Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QInputDialog
- 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 1948 times by 24 tests: case 'g': Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QInputDialog
- 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
| 1948 |
2912 | form = QLocaleData::DFSignificantDigits; | - |
2913 | break;executed 1948 times by 24 tests: break; Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QFont
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QInputDialog
- 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
| 1948 |
2914 | default never executed: default: :never executed: default: | 0 |
2915 | | - |
2916 | | - |
2917 | | - |
2918 | break; never executed: break; | 0 |
2919 | } | - |
2920 | | - |
2921 | returnexecuted 2943 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 2943 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
- ...
| 2943 |
2922 | } | - |
2923 | | - |
2924 | namespace { | - |
2925 | template<class ResultList, class StringSource> | - |
2926 | static ResultList splitString(const StringSource &source, const QChar *sep, | - |
2927 | QString::SplitBehavior behavior, Qt::CaseSensitivity cs, const int separatorSize) | - |
2928 | { | - |
2929 | ResultList list; | - |
2930 | int start = 0; | - |
2931 | int end; | - |
2932 | int extra = 0; | - |
2933 | while ((TRUE | evaluated 348424 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 79663 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)) != -1TRUE | evaluated 348424 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 79663 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
- ...
|
) { | 79663-348424 |
2934 | if (start != endTRUE | evaluated 324893 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 23531 times by 55 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCompleter
- 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_QDBusThreading
- tst_QDateTime
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- ...
|
|| behavior == QString::KeepEmptyPartsTRUE | evaluated 1144 times by 23 testsEvaluated by:- tst_QCompleter
- 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_QDBusThreading
- tst_QFiledialog
- tst_QKeySequence
- tst_QString
- tst_QStringRef
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qmakelib
- tst_rcc
| FALSE | evaluated 22387 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
- ...
|
) | 1144-324893 |
2935 | list.append(source.mid(start, end - start));executed 326037 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
- ...
| 326037 |
2936 | start = end + separatorSize; | - |
2937 | extra = (separatorSize == 0TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| FALSE | evaluated 348376 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-348376 |
2938 | }executed 348424 times by 239 tests: end of block 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
- ...
| 348424 |
2939 | if (start != source.size()TRUE | evaluated 76216 times by 266 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 3447 times by 59 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::KeepEmptyPartsTRUE | evaluated 2867 times by 51 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 580 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
|
) | 580-76216 |
2940 | list.append(source.mid(start, -1));executed 79083 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
- ...
| 79083 |
2941 | returnexecuted 79663 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 79663 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
- ...
| 79663 |
2942 | } | - |
2943 | | - |
2944 | } | - |
2945 | QStringList QString::split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
2946 | { | - |
2947 | returnexecuted 607 times by 23 tests: return splitString<QStringList>(*this, sep.constData(), behavior, cs, sep.size()); Executed by:- tst_QBrush
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
splitString<QStringList>(*this, sep.constData(), behavior, cs, sep.size());executed 607 times by 23 tests: return splitString<QStringList>(*this, sep.constData(), behavior, cs, sep.size()); Executed by:- tst_QBrush
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| 607 |
2948 | } | - |
2949 | QVector<QStringRef> QString::splitRef(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
2950 | { | - |
2951 | 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 |
2952 | } | - |
2953 | | - |
2954 | | - |
2955 | | - |
2956 | QStringList QString::split(QChar sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
2957 | { | - |
2958 | returnexecuted 29542 times by 81 tests: return splitString<QStringList>(*this, &sep, behavior, cs, 1); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup
- tst_QEasingCurve
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGLFunctions
- ...
splitString<QStringList>(*this, &sep, behavior, cs, 1);executed 29542 times by 81 tests: return splitString<QStringList>(*this, &sep, behavior, cs, 1); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup
- tst_QEasingCurve
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFtp
- tst_QGLFunctions
- ...
| 29542 |
2959 | } | - |
2960 | | - |
2961 | | - |
2962 | | - |
2963 | | - |
2964 | | - |
2965 | QVector<QStringRef> QString::splitRef(QChar sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
2966 | { | - |
2967 | returnexecuted 43525 times by 238 tests: return splitString<QVector<QStringRef> >(QStringRef(this), &sep, behavior, cs, 1); 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
splitString<QVector<QStringRef> >(QStringRef(this), &sep, behavior, cs, 1);executed 43525 times by 238 tests: return splitString<QVector<QStringRef> >(QStringRef(this), &sep, behavior, cs, 1); 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 43525 |
2968 | } | - |
2969 | QVector<QStringRef> QStringRef::split(const QString &sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
2970 | { | - |
2971 | returnexecuted 32 times by 2 tests: return splitString<QVector<QStringRef> >(*this, sep.constData(), behavior, cs, sep.size()); splitString<QVector<QStringRef> >(*this, sep.constData(), behavior, cs, sep.size());executed 32 times by 2 tests: return splitString<QVector<QStringRef> >(*this, sep.constData(), behavior, cs, sep.size()); | 32 |
2972 | } | - |
2973 | | - |
2974 | | - |
2975 | | - |
2976 | | - |
2977 | | - |
2978 | QVector<QStringRef> QStringRef::split(QChar sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) const | - |
2979 | { | - |
2980 | returnexecuted 3714 times by 168 tests: return splitString<QVector<QStringRef> >(*this, &sep, behavior, cs, 1); 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
- ...
splitString<QVector<QStringRef> >(*this, &sep, behavior, cs, 1);executed 3714 times by 168 tests: return splitString<QVector<QStringRef> >(*this, &sep, behavior, cs, 1); 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
- ...
| 3714 |
2981 | } | - |
2982 | | - |
2983 | | - |
2984 | namespace { | - |
2985 | template<class ResultList, typename MidMethod> | - |
2986 | static ResultList splitString(const QString &source, MidMethod mid, const QRegExp &rx, QString::SplitBehavior behavior) | - |
2987 | { | - |
2988 | QRegExp rx2(rx); | - |
2989 | ResultList list; | - |
2990 | int start = 0; | - |
2991 | int extra = 0; | - |
2992 | int end; | - |
2993 | while ((TRUE | evaluated 14366 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| FALSE | evaluated 506 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
|
end = rx2.indexIn(source, start + extra)) != -1TRUE | evaluated 14366 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| FALSE | evaluated 506 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
|
) { | 506-14366 |
2994 | int matchedLen = rx2.matchedLength(); | - |
2995 | if (start != endTRUE | evaluated 13920 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| FALSE | evaluated 446 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
|
|| behavior == QString::KeepEmptyPartsTRUE | evaluated 424 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
| FALSE | evaluated 22 times by 1 test |
) | 22-13920 |
2996 | list.append((source.*mid)(start, end - start));executed 14344 times by 6 tests: list.append((source.*mid)(start, end - start)); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| 14344 |
2997 | start = end + matchedLen; | - |
2998 | extra = (TRUE | evaluated 62 times by 1 test | FALSE | evaluated 14304 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
|
matchedLen == 0)TRUE | evaluated 62 times by 1 test | FALSE | evaluated 14304 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
|
? 1 : 0; | 62-14304 |
2999 | }executed 14366 times by 6 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| 14366 |
3000 | if (start != source.size()TRUE | evaluated 114 times by 3 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QString
| FALSE | evaluated 392 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
|
|| behavior == QString::KeepEmptyPartsTRUE | evaluated 379 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
| FALSE | evaluated 13 times by 2 tests |
) | 13-392 |
3001 | list.append((source.*mid)(start, -1));executed 493 times by 5 tests: list.append((source.*mid)(start, -1)); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QString
- tst_languageChange
| 493 |
3002 | returnexecuted 506 times by 6 tests: return list; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
list;executed 506 times by 6 tests: return list; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| 506 |
3003 | } | - |
3004 | } | - |
3005 | QStringList QString::split(const QRegExp &rx, SplitBehavior behavior) const | - |
3006 | { | - |
3007 | returnexecuted 479 times by 6 tests: return splitString<QStringList>(*this, &QString::mid, rx, behavior); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
splitString<QStringList>(*this, &QString::mid, rx, behavior);executed 479 times by 6 tests: return splitString<QStringList>(*this, &QString::mid, rx, behavior); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QProcess
- tst_QString
- tst_languageChange
| 479 |
3008 | } | - |
3009 | QVector<QStringRef> QString::splitRef(const QRegExp &rx, SplitBehavior behavior) const | - |
3010 | { | - |
3011 | 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 |
3012 | } | - |
3013 | | - |
3014 | | - |
3015 | | - |
3016 | | - |
3017 | namespace { | - |
3018 | template<class ResultList, typename MidMethod> | - |
3019 | static ResultList splitString(const QString &source, MidMethod mid, const QRegularExpression &re, | - |
3020 | QString::SplitBehavior behavior) | - |
3021 | { | - |
3022 | ResultList list; | - |
3023 | if (!re.isValid()TRUE | never evaluated | FALSE | evaluated 54 times by 1 test |
) { | 0-54 |
3024 | QMessageLogger(__FILE__, 7016, __PRETTY_FUNCTION__).warning("QString::split: invalid QRegularExpression object"); | - |
3025 | return never executed: return list; list;never executed: return list; | 0 |
3026 | } | - |
3027 | | - |
3028 | int start = 0; | - |
3029 | int end = 0; | - |
3030 | QRegularExpressionMatchIterator iterator = re.globalMatch(source); | - |
3031 | while (iterator.hasNext()TRUE | evaluated 210 times by 1 test | FALSE | evaluated 54 times by 1 test |
) { | 54-210 |
3032 | QRegularExpressionMatch match = iterator.next(); | - |
3033 | end = match.capturedStart(); | - |
3034 | if (start != endTRUE | evaluated 146 times by 1 test | FALSE | evaluated 64 times by 1 test |
|| behavior == QString::KeepEmptyPartsTRUE | evaluated 42 times by 1 test | FALSE | evaluated 22 times by 1 test |
) | 22-146 |
3035 | list.append((source.*mid)(start, end - start));executed 188 times by 1 test: list.append((source.*mid)(start, end - start)); | 188 |
3036 | start = match.capturedEnd(); | - |
3037 | }executed 210 times by 1 test: end of block | 210 |
3038 | | - |
3039 | if (start != source.size()TRUE | evaluated 20 times by 1 test | FALSE | evaluated 34 times by 1 test |
|| behavior == QString::KeepEmptyPartsTRUE | evaluated 22 times by 1 test | FALSE | evaluated 12 times by 1 test |
) | 12-34 |
3040 | list.append((source.*mid)(start, -1));executed 42 times by 1 test: list.append((source.*mid)(start, -1)); | 42 |
3041 | | - |
3042 | returnexecuted 54 times by 1 test: return list; list;executed 54 times by 1 test: return list; | 54 |
3043 | } | - |
3044 | } | - |
3045 | QStringList QString::split(const QRegularExpression &re, SplitBehavior behavior) const | - |
3046 | { | - |
3047 | 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 |
3048 | } | - |
3049 | QVector<QStringRef> QString::splitRef(const QRegularExpression &re, SplitBehavior behavior) const | - |
3050 | { | - |
3051 | 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 |
3052 | } | - |
3053 | QString QString::repeated(int times) const | - |
3054 | { | - |
3055 | if (d->size == 0TRUE | evaluated 5 times by 1 test | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) | 5-9 |
3056 | returnexecuted 5 times by 1 test: return *this; *this;executed 5 times by 1 test: return *this; | 5 |
3057 | | - |
3058 | if (times <= 1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) { | 4-5 |
3059 | if (times == 1TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
) | 1-3 |
3060 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
3061 | returnexecuted 3 times by 1 test: return QString(); QString();executed 3 times by 1 test: return QString(); | 3 |
3062 | } | - |
3063 | | - |
3064 | const int resultSize = times * d->size; | - |
3065 | | - |
3066 | QString result; | - |
3067 | result.reserve(resultSize); | - |
3068 | if (result.d->alloc != uint(resultSize) + 1uTRUE | never evaluated | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QImageReader
- tst_QString
|
) | 0-5 |
3069 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
3070 | | - |
3071 | memcpy(result.d->data(), d->data(), d->size * sizeof(ushort)); | - |
3072 | | - |
3073 | int sizeSoFar = d->size; | - |
3074 | ushort *end = result.d->data() + sizeSoFar; | - |
3075 | | - |
3076 | const int halfResultSize = resultSize >> 1; | - |
3077 | while (sizeSoFar <= halfResultSizeTRUE | 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 |
3078 | memcpy(end, result.d->data(), sizeSoFar * sizeof(ushort)); | - |
3079 | end += sizeSoFar; | - |
3080 | sizeSoFar <<= 1; | - |
3081 | }executed 16 times by 2 tests: end of block Executed by:- tst_QImageReader
- tst_QString
| 16 |
3082 | memcpy(end, result.d->data(), (resultSize - sizeSoFar) * sizeof(ushort)); | - |
3083 | result.d->data()[resultSize] = '\0'; | - |
3084 | result.d->size = resultSize; | - |
3085 | 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 |
3086 | } | - |
3087 | | - |
3088 | void qt_string_normalize(QString *data, QString::NormalizationForm mode, QChar::UnicodeVersion version, int from) | - |
3089 | { | - |
3090 | bool simple = true; | - |
3091 | const QChar *p = data->constData(); | - |
3092 | int len = data->length(); | - |
3093 | for (int i = from; i < lenTRUE | evaluated 613961 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 11145 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
; ++i) { | 11145-613961 |
3094 | if (p[i].unicode() >= 0x80TRUE | evaluated 566027 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 47934 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 47934-566027 |
3095 | simple = false; | - |
3096 | if (i > fromTRUE | evaluated 32700 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 533327 times by 6 testsEvaluated by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
|
) | 32700-533327 |
3097 | from = i - 1;executed 32700 times by 6 tests: from = i - 1; Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 32700 |
3098 | break;executed 566027 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
| 566027 |
3099 | } | - |
3100 | }executed 47934 times by 6 tests: end of block Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 47934 |
3101 | if (simpleTRUE | evaluated 11145 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 566027 times by 9 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QLabel
- tst_QNetworkCookie
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QUrl
- tst_QUrlInternal
|
) | 11145-566027 |
3102 | return;executed 11145 times by 3 tests: return; Executed by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
| 11145 |
3103 | | - |
3104 | if (version == QChar::Unicode_UnassignedTRUE | evaluated 565704 times by 4 testsEvaluated by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
| FALSE | evaluated 323 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 323-565704 |
3105 | version = QChar::currentUnicodeVersion(); | - |
3106 | }executed 565704 times by 4 tests: end of block Executed by:- tst_QChar
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
else if (int(version) <= NormalizationCorrectionsVersionMaxTRUE | evaluated 323 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| FALSE | never evaluated |
) { | 0-565704 |
3107 | const QString &s = *data; | - |
3108 | QChar *d = 0; | - |
3109 | for (int i = 0; i < NumNormalizationCorrectionsTRUE | evaluated 1938 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 323 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
; ++i) { | 323-1938 |
3110 | const NormalizationCorrection &n = uc_normalization_corrections[i]; | - |
3111 | if (n.version > versionTRUE | evaluated 1617 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 321 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 321-1617 |
3112 | int pos = from; | - |
3113 | if (QChar::requiresSurrogates(n.ucs4)TRUE | evaluated 1615 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-1615 |
3114 | ushort ucs4High = QChar::highSurrogate(n.ucs4); | - |
3115 | ushort ucs4Low = QChar::lowSurrogate(n.ucs4); | - |
3116 | ushort oldHigh = QChar::highSurrogate(n.old_mapping); | - |
3117 | ushort oldLow = QChar::lowSurrogate(n.old_mapping); | - |
3118 | while (pos < s.length() - 1TRUE | evaluated 4925 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 1615 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
) { | 1615-4925 |
3119 | if (s.at(pos).unicode() == ucs4HighTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4923 times by 6 testsEvaluated by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
|
&& s.at(pos + 1).unicode() == ucs4LowTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-4923 |
3120 | if (!dTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
3121 | d = data->data();executed 2 times by 1 test: d = data->data(); | 2 |
3122 | d[pos] = QChar(oldHigh); | - |
3123 | d[++pos] = QChar(oldLow); | - |
3124 | }executed 2 times by 1 test: end of block | 2 |
3125 | ++pos; | - |
3126 | }executed 4925 times by 6 tests: end of block Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 4925 |
3127 | }executed 1615 times by 6 tests: end of block Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
else { | 1615 |
3128 | while (pos < s.length()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-3 |
3129 | if (s.at(pos).unicode() == n.ucs4TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 1-2 |
3130 | if (!dTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
3131 | d = data->data();executed 1 time by 1 test: d = data->data(); | 1 |
3132 | d[pos] = QChar(n.old_mapping); | - |
3133 | }executed 1 time by 1 test: end of block | 1 |
3134 | ++pos; | - |
3135 | }executed 3 times by 1 test: end of block | 3 |
3136 | }executed 2 times by 1 test: end of block | 2 |
3137 | } | - |
3138 | }executed 1938 times by 6 tests: end of block Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 1938 |
3139 | }executed 323 times by 6 tests: end of block Executed by:- tst_QChar
- tst_QDnsLookup
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QUrl
- tst_QUrlInternal
| 323 |
3140 | | - |
3141 | if (normalizationQuickCheckHelper(data, mode, from, &from)TRUE | evaluated 399976 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-399976 |
3142 | return;executed 399976 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
| 399976 |
3143 | | - |
3144 | decomposeHelper(data, mode < QString::NormalizationForm_KD, version, from); | - |
3145 | | - |
3146 | canonicalOrderHelper(data, version, from); | - |
3147 | | - |
3148 | if (mode == QString::NormalizationForm_DTRUE | evaluated 40333 times by 1 test | FALSE | evaluated 125718 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
|| mode == QString::NormalizationForm_KDTRUE | evaluated 51335 times by 1 test | FALSE | evaluated 74383 times by 3 testsEvaluated by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
|
) | 40333-125718 |
3149 | return;executed 91668 times by 1 test: return; | 91668 |
3150 | | - |
3151 | composeHelper(data, version, from); | - |
3152 | }executed 74383 times by 3 tests: end of block Executed by:- tst_QChar
- tst_QUrl
- tst_QUrlInternal
| 74383 |
3153 | | - |
3154 | | - |
3155 | | - |
3156 | | - |
3157 | | - |
3158 | QString QString::normalized(QString::NormalizationForm mode, QChar::UnicodeVersion version) const | - |
3159 | { | - |
3160 | QString copy = *this; | - |
3161 | qt_string_normalize(©, mode, version, 0); | - |
3162 | 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 |
3163 | } | - |
3164 | | - |
3165 | | - |
3166 | struct ArgEscapeData | - |
3167 | { | - |
3168 | int min_escape; | - |
3169 | int occurrences; | - |
3170 | int locale_occurrences; | - |
3171 | | - |
3172 | int escape_len; | - |
3173 | }; | - |
3174 | | - |
3175 | static ArgEscapeData findArgEscapes(const QString &s) | - |
3176 | { | - |
3177 | const QChar *uc_begin = s.unicode(); | - |
3178 | const QChar *uc_end = uc_begin + s.length(); | - |
3179 | | - |
3180 | ArgEscapeData d; | - |
3181 | | - |
3182 | d.min_escape = 2147483647; | - |
3183 | d.occurrences = 0; | - |
3184 | d.escape_len = 0; | - |
3185 | d.locale_occurrences = 0; | - |
3186 | | - |
3187 | const QChar *c = uc_begin; | - |
3188 | while (c != uc_endTRUE | evaluated 1750288 times by 429 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
- ...
| FALSE | evaluated 172334 times by 150 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
|
) { | 172334-1750288 |
3189 | while (c != uc_endTRUE | evaluated 16168777 times by 429 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
- ...
| FALSE | evaluated 305831 times by 393 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 14724320 times by 428 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
- ...
| FALSE | evaluated 1444457 times by 429 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
- ...
|
) | 305831-16168777 |
3190 | ++executed 14724320 times by 428 tests: ++c; 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
- ...
c;executed 14724320 times by 428 tests: ++c; 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
- ...
| 14724320 |
3191 | | - |
3192 | if (c == uc_endTRUE | evaluated 305831 times by 393 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 1444457 times by 429 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
- ...
|
) | 305831-1444457 |
3193 | break;executed 305831 times by 393 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
- ...
| 305831 |
3194 | const QChar *escape_start = c; | - |
3195 | if (++TRUE | evaluated 14 times by 2 tests | FALSE | evaluated 1444443 times by 429 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
- ...
|
c == uc_endTRUE | evaluated 14 times by 2 tests | FALSE | evaluated 1444443 times by 429 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
- ...
|
) | 14-1444443 |
3196 | break;executed 14 times by 2 tests: break; | 14 |
3197 | | - |
3198 | bool locale_arg = false; | - |
3199 | if (c->unicode() == 'L'TRUE | evaluated 276 times by 2 tests | FALSE | evaluated 1444167 times by 429 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
- ...
|
) { | 276-1444167 |
3200 | locale_arg = true; | - |
3201 | if (++TRUE | evaluated 16 times by 1 test | FALSE | evaluated 260 times by 2 tests |
c == uc_endTRUE | evaluated 16 times by 1 test | FALSE | evaluated 260 times by 2 tests |
) | 16-260 |
3202 | break;executed 16 times by 1 test: break; | 16 |
3203 | }executed 260 times by 2 tests: end of block | 260 |
3204 | | - |
3205 | int escape = c->digitValue(); | - |
3206 | if (escape == -1TRUE | evaluated 195 times by 1 test | FALSE | evaluated 1444232 times by 429 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
- ...
|
) | 195-1444232 |
3207 | continue;executed 195 times by 1 test: continue; | 195 |
3208 | | - |
3209 | ++c; | - |
3210 | | - |
3211 | if (c != uc_endTRUE | evaluated 1271900 times by 409 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
- ...
| FALSE | evaluated 172332 times by 150 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
|
) { | 172332-1271900 |
3212 | int next_escape = c->digitValue(); | - |
3213 | if (next_escape != -1TRUE | evaluated 94 times by 1 test | FALSE | evaluated 1271806 times by 409 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
- ...
|
) { | 94-1271806 |
3214 | escape = (10 * escape) + next_escape; | - |
3215 | ++c; | - |
3216 | }executed 94 times by 1 test: end of block | 94 |
3217 | }executed 1271900 times by 409 tests: end of block 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
- ...
| 1271900 |
3218 | | - |
3219 | if (escape > d.min_escapeTRUE | evaluated 965892 times by 357 testsEvaluated by:- tst_Collections
- 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_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
| FALSE | evaluated 478340 times by 429 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
- ...
|
) | 478340-965892 |
3220 | continue;executed 965892 times by 357 tests: continue; Executed by:- tst_Collections
- 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_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
| 965892 |
3221 | | - |
3222 | if (escape < d.min_escapeTRUE | evaluated 478222 times by 429 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
- ...
| FALSE | evaluated 118 times by 11 testsEvaluated by:- tst_QRawFont
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qdbusxml2cpp
|
) { | 118-478222 |
3223 | d.min_escape = escape; | - |
3224 | d.occurrences = 0; | - |
3225 | d.escape_len = 0; | - |
3226 | d.locale_occurrences = 0; | - |
3227 | }executed 478222 times by 429 tests: end of block 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
- ...
| 478222 |
3228 | | - |
3229 | ++d.occurrences; | - |
3230 | if (locale_argTRUE | evaluated 225 times by 2 tests | FALSE | evaluated 478115 times by 429 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
- ...
|
) | 225-478115 |
3231 | ++executed 225 times by 2 tests: ++d.locale_occurrences; d.locale_occurrences;executed 225 times by 2 tests: ++d.locale_occurrences; | 225 |
3232 | d.escape_len += c - escape_start; | - |
3233 | }executed 478340 times by 429 tests: end of block 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
- ...
| 478340 |
3234 | returnexecuted 478195 times by 429 tests: return d; 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
- ...
d;executed 478195 times by 429 tests: return d; 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
- ...
| 478195 |
3235 | } | - |
3236 | | - |
3237 | static QString replaceArgEscapes(const QString &s, const ArgEscapeData &d, int field_width, | - |
3238 | const QString &arg, const QString &larg, QChar fillChar = QLatin1Char(' ')) | - |
3239 | { | - |
3240 | const QChar *uc_begin = s.unicode(); | - |
3241 | const QChar *uc_end = uc_begin + s.length(); | - |
3242 | | - |
3243 | int abs_field_width = qAbs(field_width); | - |
3244 | int result_len = s.length() | - |
3245 | - d.escape_len | - |
3246 | + (d.occurrences - d.locale_occurrences) | - |
3247 | *qMax(abs_field_width, arg.length()) | - |
3248 | + d.locale_occurrences | - |
3249 | *qMax(abs_field_width, larg.length()); | - |
3250 | | - |
3251 | QString result(result_len, Qt::Uninitialized); | - |
3252 | QChar *result_buff = (QChar*) result.unicode(); | - |
3253 | | - |
3254 | QChar *rc = result_buff; | - |
3255 | const QChar *c = uc_begin; | - |
3256 | int repl_cnt = 0; | - |
3257 | while (c != uc_endTRUE | evaluated 478415 times by 429 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
- ...
| FALSE | evaluated 478189 times by 429 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
- ...
|
) { | 478189-478415 |
3258 | | - |
3259 | | - |
3260 | | - |
3261 | | - |
3262 | const QChar *text_start = c; | - |
3263 | | - |
3264 | while (c->unicode() != '%'TRUE | evaluated 9449848 times by 426 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
- ...
| FALSE | evaluated 478415 times by 429 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
- ...
|
) | 478415-9449848 |
3265 | ++executed 9449848 times by 426 tests: ++c; 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
- ...
c;executed 9449848 times by 426 tests: ++c; 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
- ...
| 9449848 |
3266 | | - |
3267 | const QChar *escape_start = c++; | - |
3268 | | - |
3269 | bool locale_arg = false; | - |
3270 | if (c->unicode() == 'L'TRUE | evaluated 225 times by 2 tests | FALSE | evaluated 478190 times by 429 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
- ...
|
) { | 225-478190 |
3271 | locale_arg = true; | - |
3272 | ++c; | - |
3273 | }executed 225 times by 2 tests: end of block | 225 |
3274 | | - |
3275 | int escape = c->digitValue(); | - |
3276 | if (escape != -1TRUE | evaluated 478352 times by 429 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
- ...
| FALSE | evaluated 63 times by 1 test |
) { | 63-478352 |
3277 | if (c + 1 != uc_endTRUE | evaluated 396050 times by 409 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
- ...
| FALSE | evaluated 82302 times by 150 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- ...
|
&& (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 396042 times by 409 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
- ...
|
c + 1)->digitValue() != -1TRUE | evaluated 8 times by 1 test | FALSE | evaluated 396042 times by 409 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
- ...
|
) { | 8-396050 |
3278 | escape = (10 * escape) + (c + 1)->digitValue(); | - |
3279 | ++c; | - |
3280 | }executed 8 times by 1 test: end of block | 8 |
3281 | }executed 478352 times by 429 tests: end of block 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
- ...
| 478352 |
3282 | | - |
3283 | if (escape != d.min_escapeTRUE | evaluated 110 times by 2 tests | FALSE | evaluated 478305 times by 429 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
- ...
|
) { | 110-478305 |
3284 | memcpy(rc, text_start, (c - text_start)*sizeof(QChar)); | - |
3285 | rc += c - text_start; | - |
3286 | }executed 110 times by 2 tests: end of block | 110 |
3287 | else { | - |
3288 | ++c; | - |
3289 | | - |
3290 | memcpy(rc, text_start, (escape_start - text_start)*sizeof(QChar)); | - |
3291 | rc += escape_start - text_start; | - |
3292 | | - |
3293 | uint pad_chars; | - |
3294 | if (locale_argTRUE | evaluated 224 times by 2 tests | FALSE | evaluated 478081 times by 429 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
- ...
|
) | 224-478081 |
3295 | 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 |
3296 | else | - |
3297 | pad_chars = qMax(abs_field_width, arg.length()) - arg.length();executed 478081 times by 429 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_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
- ...
| 478081 |
3298 | | - |
3299 | if (field_width > 0TRUE | evaluated 1076 times by 6 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QStaticText
- tst_QString
- tst_QTimeZone
- tst_QUrlInternal
| FALSE | evaluated 477229 times by 428 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
- ...
|
) { | 1076-477229 |
3300 | for (uint i = 0; i < pad_charsTRUE | evaluated 145 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QString
| FALSE | evaluated 1076 times by 6 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QStaticText
- tst_QString
- tst_QTimeZone
- tst_QUrlInternal
|
; ++i) | 145-1076 |
3301 | (executed 145 times by 2 tests: (rc++)->unicode() = fillChar.unicode(); Executed by:- tst_QStaticText
- tst_QString
rc++)->unicode() = fillChar.unicode();executed 145 times by 2 tests: (rc++)->unicode() = fillChar.unicode(); Executed by:- tst_QStaticText
- tst_QString
| 145 |
3302 | }executed 1076 times by 6 tests: end of block Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QStaticText
- tst_QString
- tst_QTimeZone
- tst_QUrlInternal
| 1076 |
3303 | | - |
3304 | if (locale_argTRUE | evaluated 224 times by 2 tests | FALSE | evaluated 478081 times by 429 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
- ...
|
) { | 224-478081 |
3305 | memcpy(rc, larg.unicode(), larg.length()*sizeof(QChar)); | - |
3306 | rc += larg.length(); | - |
3307 | }executed 224 times by 2 tests: end of block | 224 |
3308 | else { | - |
3309 | memcpy(rc, arg.unicode(), arg.length()*sizeof(QChar)); | - |
3310 | rc += arg.length(); | - |
3311 | }executed 478081 times by 429 tests: end of block 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
- ...
| 478081 |
3312 | | - |
3313 | if (field_width < 0TRUE | evaluated 5 times by 1 test | FALSE | evaluated 478300 times by 429 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
- ...
|
) { | 5-478300 |
3314 | for (uint i = 0; i < pad_charsTRUE | evaluated 12 times by 1 test | FALSE | evaluated 5 times by 1 test |
; ++i) | 5-12 |
3315 | (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 |
3316 | }executed 5 times by 1 test: end of block | 5 |
3317 | | - |
3318 | if (++TRUE | evaluated 478189 times by 429 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
- ...
| FALSE | evaluated 116 times by 11 testsEvaluated by:- 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.occurrencesTRUE | evaluated 478189 times by 429 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
- ...
| FALSE | evaluated 116 times by 11 testsEvaluated by:- tst_QRawFont
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_qdbusxml2cpp
|
) { | 116-478189 |
3319 | memcpy(rc, c, (uc_end - c)*sizeof(QChar)); | - |
3320 | rc += uc_end - c; | - |
3321 | ((!(rc - result_buff == result_len)) ? qt_assert("rc - result_buff == result_len",__FILE__,7387) : qt_noop()); | - |
3322 | c = uc_end; | - |
3323 | }executed 478189 times by 429 tests: end of block 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
- ...
| 478189 |
3324 | }executed 478305 times by 429 tests: end of block 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
- ...
| 478305 |
3325 | } | - |
3326 | ((!(rc == result_buff + result_len)) ? qt_assert("rc == result_buff + result_len",__FILE__,7392) : qt_noop()); | - |
3327 | | - |
3328 | returnexecuted 478189 times by 429 tests: return result; 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
- ...
result;executed 478189 times by 429 tests: return result; 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
- ...
| 478189 |
3329 | } | - |
3330 | QString QString::arg(const QString &a, int fieldWidth, QChar fillChar) const | - |
3331 | { | - |
3332 | ArgEscapeData d = findArgEscapes(*this); | - |
3333 | | - |
3334 | if (d.occurrences == 0TRUE | never evaluated | FALSE | evaluated 152516 times by 404 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-152516 |
3335 | QMessageLogger(__FILE__, 7431, __PRETTY_FUNCTION__).warning("QString::arg: Argument missing: %s, %s", toLocal8Bit().data(), | - |
3336 | a.toLocal8Bit().data()); | - |
3337 | return never executed: return *this; *this;never executed: return *this; | 0 |
3338 | } | - |
3339 | returnexecuted 152516 times by 404 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 152516 times by 404 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
- ...
| 152516 |
3340 | } | - |
3341 | QString QString::arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const | - |
3342 | { | - |
3343 | ArgEscapeData d = findArgEscapes(*this); | - |
3344 | | - |
3345 | if (d.occurrences == 0TRUE | evaluated 6 times by 1 test | FALSE | evaluated 228842 times by 362 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_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_QCommandLineParser
- ...
|
) { | 6-228842 |
3346 | QMessageLogger(__FILE__, 7635, __PRETTY_FUNCTION__).warning() << "QString::arg: Argument missing:" << *this << ',' << a; | - |
3347 | returnexecuted 6 times by 1 test: return *this; *this;executed 6 times by 1 test: return *this; | 6 |
3348 | } | - |
3349 | | - |
3350 | unsigned flags = QLocaleData::NoFlags; | - |
3351 | if (fillChar == QLatin1Char('0')TRUE | evaluated 39 times by 4 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QString
- tst_QTimeZone
| FALSE | evaluated 228803 times by 361 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_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_QCommandLineParser
- ...
|
) | 39-228803 |
3352 | flags = QLocaleData::ZeroPadded;executed 39 times by 4 tests: flags = QLocaleData::ZeroPadded; Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QString
- tst_QTimeZone
| 39 |
3353 | | - |
3354 | QString arg; | - |
3355 | if (d.occurrences > d.locale_occurrencesTRUE | evaluated 228631 times by 362 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_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_QCommandLineParser
- ...
| FALSE | evaluated 211 times by 2 tests |
) | 211-228631 |
3356 | arg = QLocaleData::c()->longLongToString(a, -1, base, fieldWidth, flags);executed 228631 times by 362 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_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_QCommandLineParser
- ...
| 228631 |
3357 | | - |
3358 | QString locale_arg; | - |
3359 | if (d.locale_occurrences > 0TRUE | evaluated 211 times by 2 tests | FALSE | evaluated 228631 times by 362 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_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_QCommandLineParser
- ...
|
) { | 211-228631 |
3360 | QLocale locale; | - |
3361 | if (!(locale.numberOptions() & QLocale::OmitGroupSeparator)TRUE | evaluated 209 times by 2 tests | FALSE | evaluated 2 times by 1 test |
) | 2-209 |
3362 | flags |= QLocaleData::ThousandsGroup;executed 209 times by 2 tests: flags |= QLocaleData::ThousandsGroup; | 209 |
3363 | locale_arg = locale.d->m_data->longLongToString(a, -1, base, fieldWidth, flags); | - |
3364 | }executed 211 times by 2 tests: end of block | 211 |
3365 | | - |
3366 | returnexecuted 228842 times by 362 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_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_QCommandLineParser
- ...
replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);executed 228842 times by 362 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_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_QCommandLineParser
- ...
| 228842 |
3367 | } | - |
3368 | QString QString::arg(qulonglong a, int fieldWidth, int base, QChar fillChar) const | - |
3369 | { | - |
3370 | ArgEscapeData d = findArgEscapes(*this); | - |
3371 | | - |
3372 | if (d.occurrences == 0TRUE | never evaluated | FALSE | evaluated 1019 times by 8 testsEvaluated by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_qstandardpaths
|
) { | 0-1019 |
3373 | QMessageLogger(__FILE__, 7679, __PRETTY_FUNCTION__).warning() << "QString::arg: Argument missing:" << *this << ',' << a; | - |
3374 | return never executed: return *this; *this;never executed: return *this; | 0 |
3375 | } | - |
3376 | | - |
3377 | unsigned flags = QLocaleData::NoFlags; | - |
3378 | if (fillChar == QLatin1Char('0')TRUE | evaluated 988 times by 1 test | FALSE | evaluated 31 times by 7 testsEvaluated by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_qstandardpaths
|
) | 31-988 |
3379 | flags = QLocaleData::ZeroPadded;executed 988 times by 1 test: flags = QLocaleData::ZeroPadded; | 988 |
3380 | | - |
3381 | QString arg; | - |
3382 | if (d.occurrences > d.locale_occurrencesTRUE | evaluated 1019 times by 8 testsEvaluated by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_qstandardpaths
| FALSE | never evaluated |
) | 0-1019 |
3383 | arg = QLocaleData::c()->unsLongLongToString(a, -1, base, fieldWidth, flags);executed 1019 times by 8 tests: arg = QLocaleData::c()->unsLongLongToString(a, -1, base, fieldWidth, flags); Executed by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_qstandardpaths
| 1019 |
3384 | | - |
3385 | QString locale_arg; | - |
3386 | if (d.locale_occurrences > 0TRUE | never evaluated | FALSE | evaluated 1019 times by 8 testsEvaluated by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_qstandardpaths
|
) { | 0-1019 |
3387 | QLocale locale; | - |
3388 | if (!(locale.numberOptions() & QLocale::OmitGroupSeparator)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3389 | flags |= QLocaleData::ThousandsGroup; never executed: flags |= QLocaleData::ThousandsGroup; | 0 |
3390 | locale_arg = locale.d->m_data->unsLongLongToString(a, -1, base, fieldWidth, flags); | - |
3391 | } never executed: end of block | 0 |
3392 | | - |
3393 | returnexecuted 1019 times by 8 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar); Executed by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_qstandardpaths
replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);executed 1019 times by 8 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar); Executed by:- tst_QDateTime
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSqlThread
- tst_QString
- tst_QUrlInternal
- tst_qstandardpaths
| 1019 |
3394 | } | - |
3395 | QString QString::arg(QChar a, int fieldWidth, QChar fillChar) const | - |
3396 | { | - |
3397 | QString c; | - |
3398 | c += a; | - |
3399 | returnexecuted 191 times by 8 tests: return arg(c, fieldWidth, fillChar); Executed by:- tst_QDateTime
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QTimeZone
- tst_QUrl
- tst_qmakelib
arg(c, fieldWidth, fillChar);executed 191 times by 8 tests: return arg(c, fieldWidth, fillChar); Executed by:- tst_QDateTime
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QTimeZone
- tst_QUrl
- tst_qmakelib
| 191 |
3400 | } | - |
3401 | | - |
3402 | | - |
3403 | | - |
3404 | | - |
3405 | | - |
3406 | | - |
3407 | QString QString::arg(char a, int fieldWidth, QChar fillChar) const | - |
3408 | { | - |
3409 | QString c; | - |
3410 | c += QLatin1Char(a); | - |
3411 | returnexecuted 1 time by 1 test: return arg(c, fieldWidth, fillChar); arg(c, fieldWidth, fillChar);executed 1 time by 1 test: return arg(c, fieldWidth, fillChar); | 1 |
3412 | } | - |
3413 | QString QString::arg(double a, int fieldWidth, char fmt, int prec, QChar fillChar) const | - |
3414 | { | - |
3415 | ArgEscapeData d = findArgEscapes(*this); | - |
3416 | | - |
3417 | if (d.occurrences == 0TRUE | never evaluated | FALSE | evaluated 95812 times by 7 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
|
) { | 0-95812 |
3418 | QMessageLogger(__FILE__, 7791, __PRETTY_FUNCTION__).warning("QString::arg: Argument missing: %s, %g", toLocal8Bit().data(), a); | - |
3419 | return never executed: return *this; *this;never executed: return *this; | 0 |
3420 | } | - |
3421 | | - |
3422 | unsigned flags = QLocaleData::NoFlags; | - |
3423 | if (fillChar == QLatin1Char('0')TRUE | evaluated 5 times by 1 test | FALSE | evaluated 95807 times by 7 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
|
) | 5-95807 |
3424 | flags = QLocaleData::ZeroPadded;executed 5 times by 1 test: flags = QLocaleData::ZeroPadded; | 5 |
3425 | | - |
3426 | if (qIsUpper(fmt)TRUE | never evaluated | FALSE | evaluated 95812 times by 7 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
|
) | 0-95812 |
3427 | flags |= QLocaleData::CapitalEorX; never executed: flags |= QLocaleData::CapitalEorX; | 0 |
3428 | fmt = qToLower(fmt); | - |
3429 | | - |
3430 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
3431 | switch (fmt) { | - |
3432 | case never executed: case 'f': 'f':never executed: case 'f': | 0 |
3433 | form = QLocaleData::DFDecimal; | - |
3434 | break; never executed: break; | 0 |
3435 | case never executed: case 'e': 'e':never executed: case 'e': | 0 |
3436 | form = QLocaleData::DFExponent; | - |
3437 | break; never executed: break; | 0 |
3438 | caseexecuted 95812 times by 7 tests: case 'g': Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
'g':executed 95812 times by 7 tests: case 'g': Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
| 95812 |
3439 | form = QLocaleData::DFSignificantDigits; | - |
3440 | break;executed 95812 times by 7 tests: break; Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
| 95812 |
3441 | default never executed: default: :never executed: default: | 0 |
3442 | | - |
3443 | | - |
3444 | | - |
3445 | break; never executed: break; | 0 |
3446 | } | - |
3447 | | - |
3448 | QString arg; | - |
3449 | if (d.occurrences > d.locale_occurrencesTRUE | evaluated 95803 times by 7 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
| FALSE | evaluated 9 times by 1 test |
) | 9-95803 |
3450 | arg = QLocaleData::c()->doubleToString(a, prec, form, fieldWidth, flags);executed 95803 times by 7 tests: arg = QLocaleData::c()->doubleToString(a, prec, form, fieldWidth, flags); Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
| 95803 |
3451 | | - |
3452 | QString locale_arg; | - |
3453 | if (d.locale_occurrences > 0TRUE | evaluated 9 times by 1 test | FALSE | evaluated 95803 times by 7 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
|
) { | 9-95803 |
3454 | QLocale locale; | - |
3455 | | - |
3456 | if (!(locale.numberOptions() & QLocale::OmitGroupSeparator)TRUE | evaluated 7 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-7 |
3457 | flags |= QLocaleData::ThousandsGroup;executed 7 times by 1 test: flags |= QLocaleData::ThousandsGroup; | 7 |
3458 | if (!(locale.numberOptions() & QLocale::OmitLeadingZeroInExponent)TRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
) | 0-9 |
3459 | flags |= QLocaleData::ZeroPadExponent;executed 9 times by 1 test: flags |= QLocaleData::ZeroPadExponent; | 9 |
3460 | locale_arg = locale.d->m_data->doubleToString(a, prec, form, fieldWidth, flags); | - |
3461 | }executed 9 times by 1 test: end of block | 9 |
3462 | | - |
3463 | returnexecuted 95812 times by 7 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar); Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar);executed 95812 times by 7 tests: return replaceArgEscapes(*this, d, fieldWidth, arg, locale_arg, fillChar); Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QPageSize
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QToolButton
| 95812 |
3464 | } | - |
3465 | | - |
3466 | static int getEscape(const QChar *uc, int *pos, int len, int maxNumber = 999) | - |
3467 | { | - |
3468 | int i = *pos; | - |
3469 | ++i; | - |
3470 | if (i < lenTRUE | evaluated 691605 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
- ...
| FALSE | never evaluated |
&& uc[i] == QLatin1Char('L')TRUE | never evaluated | FALSE | evaluated 691605 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-691605 |
3471 | ++ never executed: ++i; i;never executed: ++i; | 0 |
3472 | if (i < lenTRUE | evaluated 691605 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
- ...
| FALSE | never evaluated |
) { | 0-691605 |
3473 | int escape = uc[i].unicode() - '0'; | - |
3474 | if (uint(escape) >= 10UTRUE | evaluated 4 times by 1 test | FALSE | evaluated 691601 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
- ...
|
) | 4-691601 |
3475 | returnexecuted 4 times by 1 test: return -1; -1;executed 4 times by 1 test: return -1; | 4 |
3476 | ++i; | - |
3477 | while (i < lenTRUE | evaluated 686433 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
- ...
| FALSE | evaluated 5190 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QChar
- tst_QDBusMarshall
- tst_QFileSystemWatcher
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsScene
- 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
- ...
|
) { | 5190-686433 |
3478 | int digit = uc[i].unicode() - '0'; | - |
3479 | if (uint(digit) >= 10UTRUE | evaluated 686411 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
- ...
| FALSE | evaluated 22 times by 1 test |
) | 22-686411 |
3480 | break;executed 686411 times by 331 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
- ...
| 686411 |
3481 | escape = (escape * 10) + digit; | - |
3482 | ++i; | - |
3483 | }executed 22 times by 1 test: end of block | 22 |
3484 | if (escape <= maxNumberTRUE | evaluated 691599 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
- ...
| FALSE | evaluated 2 times by 1 test |
) { | 2-691599 |
3485 | *pos = i; | - |
3486 | returnexecuted 691599 times by 331 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 691599 times by 331 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
- ...
| 691599 |
3487 | } | - |
3488 | }executed 2 times by 1 test: end of block | 2 |
3489 | returnexecuted 2 times by 1 test: return -1; -1;executed 2 times by 1 test: return -1; | 2 |
3490 | } | - |
3491 | namespace { | - |
3492 | struct Part | - |
3493 | { | - |
3494 | Part() : stringRef(), number(0) {} never executed: end of block | 0 |
3495 | Part(const QString &s, int pos, int len, int num = -1) noexcept | - |
3496 | : stringRef(&s, pos, len), number(num) {}executed 1547777 times by 331 tests: end of block 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
- ...
| 1547777 |
3497 | | - |
3498 | QStringRef stringRef; | - |
3499 | int number; | - |
3500 | }; | - |
3501 | } | - |
3502 | | - |
3503 | template <> | - |
3504 | class QTypeInfo<Part> : public QTypeInfoMerger<Part, QStringRef, int> {}; | - |
3505 | | - |
3506 | | - |
3507 | namespace { | - |
3508 | | - |
3509 | enum { ExpectedParts = 32 }; | - |
3510 | | - |
3511 | typedef QVarLengthArray<Part, ExpectedParts> ParseResult; | - |
3512 | typedef QVarLengthArray<int, ExpectedParts/2> ArgIndexToPlaceholderMap; | - |
3513 | | - |
3514 | static ParseResult parseMultiArgFormatString(const QString &s) | - |
3515 | { | - |
3516 | ParseResult result; | - |
3517 | | - |
3518 | const QChar *uc = s.constData(); | - |
3519 | const int len = s.size(); | - |
3520 | const int end = len - 1; | - |
3521 | int i = 0; | - |
3522 | int last = 0; | - |
3523 | | - |
3524 | while (i < endTRUE | evaluated 6706850 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
- ...
| FALSE | evaluated 180495 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
- ...
|
) { | 180495-6706850 |
3525 | if (uc[i] == QLatin1Char('%')TRUE | evaluated 691605 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
- ...
| FALSE | evaluated 6015245 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
- ...
|
) { | 691605-6015245 |
3526 | int percent = i; | - |
3527 | int number = getEscape(uc, &i, len); | - |
3528 | if (number != -1TRUE | evaluated 691599 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
- ...
| FALSE | evaluated 6 times by 1 test |
) { | 6-691599 |
3529 | if (last != percentTRUE | evaluated 680872 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
- ...
| FALSE | evaluated 10727 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_QChar
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) | 10727-680872 |
3530 | result.push_back(Part(s, last, percent - last));executed 680872 times by 331 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
- ...
| 680872 |
3531 | result.push_back(Part(s, percent, i - percent, number)); | - |
3532 | last = i; | - |
3533 | continue;executed 691599 times by 331 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
- ...
| 691599 |
3534 | } | - |
3535 | }executed 6 times by 1 test: end of block | 6 |
3536 | ++i; | - |
3537 | }executed 6015251 times by 331 tests: end of block 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
- ...
| 6015251 |
3538 | | - |
3539 | if (last < lenTRUE | evaluated 175306 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 5189 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QChar
- tst_QDBusMarshall
- tst_QFileSystemWatcher
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsScene
- 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
- ...
|
) | 5189-175306 |
3540 | result.push_back(Part(s, last, len - last));executed 175306 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
- ...
| 175306 |
3541 | | - |
3542 | returnexecuted 180495 times by 331 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 180495 times by 331 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
- ...
| 180495 |
3543 | } | - |
3544 | | - |
3545 | static ArgIndexToPlaceholderMap makeArgIndexToPlaceholderMap(const ParseResult &parts) | - |
3546 | { | - |
3547 | ArgIndexToPlaceholderMap result; | - |
3548 | | - |
3549 | for (ParseResult::const_iterator it = parts.begin(), end = parts.end(); it != endTRUE | evaluated 1547777 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
- ...
| FALSE | evaluated 180495 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
- ...
|
; ++it) { | 180495-1547777 |
3550 | if (it->number >= 0TRUE | evaluated 691599 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
- ...
| FALSE | evaluated 856178 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
- ...
|
) | 691599-856178 |
3551 | result.push_back(it->number);executed 691599 times by 331 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
- ...
| 691599 |
3552 | }executed 1547777 times by 331 tests: end of block 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
- ...
| 1547777 |
3553 | | - |
3554 | std::sort(result.begin(), result.end()); | - |
3555 | result.erase(std::unique(result.begin(), result.end()), | - |
3556 | result.end()); | - |
3557 | | - |
3558 | returnexecuted 180495 times by 331 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 180495 times by 331 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
- ...
| 180495 |
3559 | } | - |
3560 | | - |
3561 | static int resolveStringRefsAndReturnTotalSize(ParseResult &parts, const ArgIndexToPlaceholderMap &argIndexToPlaceholderMap, const QString *args[]) | - |
3562 | { | - |
3563 | int totalSize = 0; | - |
3564 | for (ParseResult::iterator pit = parts.begin(), end = parts.end(); pit != endTRUE | evaluated 1547777 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
- ...
| FALSE | evaluated 180495 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
- ...
|
; ++pit) { | 180495-1547777 |
3565 | if (pit->number != -1TRUE | evaluated 691599 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
- ...
| FALSE | evaluated 856178 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
- ...
|
) { | 691599-856178 |
3566 | const ArgIndexToPlaceholderMap::const_iterator ait | - |
3567 | = std::find(argIndexToPlaceholderMap.begin(), argIndexToPlaceholderMap.end(), pit->number); | - |
3568 | if (ait != argIndexToPlaceholderMap.end()TRUE | evaluated 691570 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
- ...
| FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QKeySequence
- tst_QString
|
) | 29-691570 |
3569 | pit->stringRef = QStringRef(args[ait - argIndexToPlaceholderMap.begin()]);executed 691570 times by 331 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
- ...
| 691570 |
3570 | }executed 691599 times by 331 tests: end of block 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
- ...
| 691599 |
3571 | totalSize += pit->stringRef.size(); | - |
3572 | }executed 1547777 times by 331 tests: end of block 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
- ...
| 1547777 |
3573 | returnexecuted 180495 times by 331 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 180495 times by 331 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
- ...
| 180495 |
3574 | } | - |
3575 | | - |
3576 | } | - |
3577 | | - |
3578 | QString QString::multiArg(int numArgs, const QString **args) const | - |
3579 | { | - |
3580 | | - |
3581 | ParseResult parts = parseMultiArgFormatString(*this); | - |
3582 | | - |
3583 | | - |
3584 | ArgIndexToPlaceholderMap argIndexToPlaceholderMap = makeArgIndexToPlaceholderMap(parts); | - |
3585 | | - |
3586 | if (argIndexToPlaceholderMap.size() > numArgsTRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QKeySequence
- tst_QString
| FALSE | evaluated 180468 times by 330 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-180468 |
3587 | argIndexToPlaceholderMap.resize(numArgs);executed 27 times by 2 tests: argIndexToPlaceholderMap.resize(numArgs); Executed by:- tst_QKeySequence
- tst_QString
| 27 |
3588 | else if (argIndexToPlaceholderMap.size() < numArgsTRUE | never evaluated | FALSE | evaluated 180468 times by 330 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-180468 |
3589 | QMessageLogger(__FILE__, 7997, __PRETTY_FUNCTION__).warning("QString::arg: %d argument(s) missing in %s", never executed: QMessageLogger(__FILE__, 7997, __PRETTY_FUNCTION__).warning("QString::arg: %d argument(s) missing in %s", numArgs - argIndexToPlaceholderMap.size(), toLocal8Bit().data()); | 0 |
3590 | numArgs - argIndexToPlaceholderMap.size(), toLocal8Bit().data()); never executed: QMessageLogger(__FILE__, 7997, __PRETTY_FUNCTION__).warning("QString::arg: %d argument(s) missing in %s", numArgs - argIndexToPlaceholderMap.size(), toLocal8Bit().data()); | 0 |
3591 | | - |
3592 | | - |
3593 | const int totalSize = resolveStringRefsAndReturnTotalSize(parts, argIndexToPlaceholderMap, args); | - |
3594 | | - |
3595 | | - |
3596 | QString result(totalSize, Qt::Uninitialized); | - |
3597 | QChar *out = result.data(); | - |
3598 | | - |
3599 | for (ParseResult::const_iterator it = parts.begin(), end = parts.end(); it != endTRUE | evaluated 1547777 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
- ...
| FALSE | evaluated 180495 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
- ...
|
; ++it) { | 180495-1547777 |
3600 | if (constTRUE | evaluated 1544451 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
- ...
| FALSE | evaluated 3326 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 1544451 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
- ...
| FALSE | evaluated 3326 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
|
) { | 3326-1544451 |
3601 | memcpy(out, it->stringRef.constData(), sz * sizeof(QChar)); | - |
3602 | out += sz; | - |
3603 | }executed 1544451 times by 331 tests: end of block 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
- ...
| 1544451 |
3604 | }executed 1547777 times by 331 tests: end of block 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
- ...
| 1547777 |
3605 | | - |
3606 | returnexecuted 180495 times by 331 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 180495 times by 331 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
- ...
| 180495 |
3607 | } | - |
3608 | bool QString::isSimpleText() const | - |
3609 | { | - |
3610 | const ushort *p = d->data(); | - |
3611 | const ushort * const end = p + d->size; | - |
3612 | while (p < endTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3613 | ushort uc = *p; | - |
3614 | | - |
3615 | if (uc > 0x058fTRUE | never evaluated | FALSE | never evaluated |
&& (uc < 0x1100TRUE | never evaluated | FALSE | never evaluated |
|| uc > 0xfb0fTRUE | never evaluated | FALSE | never evaluated |
)) { | 0 |
3616 | return never executed: return false; false;never executed: return false; | 0 |
3617 | } | - |
3618 | p++; | - |
3619 | } never executed: end of block | 0 |
3620 | | - |
3621 | return never executed: return true; true;never executed: return true; | 0 |
3622 | } | - |
3623 | | - |
3624 | | - |
3625 | | - |
3626 | | - |
3627 | | - |
3628 | bool QString::isRightToLeft() const | - |
3629 | { | - |
3630 | const ushort *p = d->data(); | - |
3631 | const ushort * const end = p + d->size; | - |
3632 | while (p < endTRUE | evaluated 783037 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 101798 times by 52 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
- ...
|
) { | 101798-783037 |
3633 | uint ucs4 = *p; | - |
3634 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QTextLayout
| FALSE | evaluated 783027 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 - 1TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QTextLayout
| FALSE | never evaluated |
) { | 0-783027 |
3635 | ushort low = p[1]; | - |
3636 | if (QChar::isLowSurrogate(low)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QTextLayout
| FALSE | never evaluated |
) { | 0-10 |
3637 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
3638 | ++p; | - |
3639 | }executed 10 times by 2 tests: end of block Executed by:- tst_QString
- tst_QTextLayout
| 10 |
3640 | }executed 10 times by 2 tests: end of block Executed by:- tst_QString
- tst_QTextLayout
| 10 |
3641 | switch (QChar::direction(ucs4)) | - |
3642 | { | - |
3643 | caseexecuted 71112 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 71112 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
- ...
| 71112 |
3644 | returnexecuted 71112 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 71112 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
- ...
| 71112 |
3645 | caseexecuted 572 times by 5 tests: case QChar::DirR: Executed by:- tst_QFontDatabase
- tst_QLineEdit
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextEdit
QChar::DirR:executed 572 times by 5 tests: case QChar::DirR: Executed by:- tst_QFontDatabase
- tst_QLineEdit
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextEdit
| 572 |
3646 | 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 |
3647 | returnexecuted 593 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 593 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
| 593 |
3648 | defaultexecuted 711332 times by 61 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 711332 times by 61 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
- ...
| 711332 |
3649 | break;executed 711332 times by 61 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
- ...
| 711332 |
3650 | } | - |
3651 | ++p; | - |
3652 | }executed 711332 times by 61 tests: end of block 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
- ...
| 711332 |
3653 | returnexecuted 101798 times by 52 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 101798 times by 52 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
- ...
| 101798 |
3654 | } | - |
3655 | QString QString::fromRawData(const QChar *unicode, int size) | - |
3656 | { | - |
3657 | Data *x; | - |
3658 | if (!unicodeTRUE | evaluated 2 times by 1 test | FALSE | evaluated 65226 times by 87 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_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
) { | 2-65226 |
3659 | x = Data::sharedNull(); | - |
3660 | }executed 2 times by 1 test: end of block else if (!sizeTRUE | evaluated 11 times by 1 test | FALSE | evaluated 65215 times by 87 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_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
) { | 2-65215 |
3661 | x = Data::allocate(0); | - |
3662 | }executed 11 times by 1 test: end of block else { | 11 |
3663 | x = Data::fromRawData(reinterpret_cast<const ushort *>(unicode), size); | - |
3664 | do { if (!(x)TRUE | never evaluated | FALSE | evaluated 65215 times by 87 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_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
) qBadAlloc();never executed: qBadAlloc(); } while (0); | 0-65215 |
3665 | }executed 65215 times by 87 tests: end of block 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_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
| 65215 |
3666 | QStringDataPtr dataPtr = { x }; | - |
3667 | returnexecuted 65228 times by 87 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_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
QString(dataPtr);executed 65228 times by 87 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_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
| 65228 |
3668 | } | - |
3669 | QString &QString::setRawData(const QChar *unicode, int size) | - |
3670 | { | - |
3671 | if (d->ref.isShared()TRUE | evaluated 745 times by 2 tests | FALSE | evaluated 576 times by 2 tests |
|| d->allocTRUE | evaluated 1 time by 1 test | FALSE | evaluated 575 times by 2 tests |
) { | 1-745 |
3672 | *this = fromRawData(unicode, size); | - |
3673 | }executed 746 times by 2 tests: end of block else { | 746 |
3674 | if (unicodeTRUE | evaluated 575 times by 2 tests | FALSE | never evaluated |
) { | 0-575 |
3675 | d->size = size; | - |
3676 | d->offset = reinterpret_cast<const char *>(unicode) - reinterpret_cast<char *>(d); | - |
3677 | }executed 575 times by 2 tests: end of block else { | 575 |
3678 | d->offset = sizeof(QStringData); | - |
3679 | d->size = 0; | - |
3680 | } never executed: end of block | 0 |
3681 | } | - |
3682 | returnexecuted 1321 times by 2 tests: return *this; *this;executed 1321 times by 2 tests: return *this; | 1321 |
3683 | } | - |
3684 | QDataStream &operator<<(QDataStream &out, const QString &str) | - |
3685 | { | - |
3686 | if (out.version() == 1TRUE | 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 |
3687 | out << str.toLatin1(); | - |
3688 | } never executed: end of block else { | 0 |
3689 | 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() < 3TRUE | 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 |
3690 | 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 |
3691 | out.writeBytes(reinterpret_cast<const char *>(str.unicode()), sizeof(QChar) * str.length()); | - |
3692 | } never executed: end of block else { | 0 |
3693 | QVarLengthArray<ushort> buffer(str.length()); | - |
3694 | const ushort *data = reinterpret_cast<const ushort *>(str.constData()); | - |
3695 | 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 |
3696 | buffer[i] = qbswap(*data); | - |
3697 | ++data; | - |
3698 | }executed 46886 times by 28 tests: end of block 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
- ...
| 46886 |
3699 | out.writeBytes(reinterpret_cast<const char *>(buffer.data()), sizeof(ushort) * buffer.size()); | - |
3700 | }executed 14894 times by 28 tests: end of block 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
- ...
| 14894 |
3701 | } else { | - |
3702 | | - |
3703 | out << (quint32)0xffffffff; | - |
3704 | }executed 358 times by 12 tests: end of block Executed 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 |
3705 | } | - |
3706 | 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 |
3707 | } | - |
3708 | QDataStream &operator>>(QDataStream &in, QString &str) | - |
3709 | { | - |
3710 | if (in.version() == 1TRUE | never evaluated | FALSE | evaluated 15825 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-15825 |
3711 | QByteArray l; | - |
3712 | in >> l; | - |
3713 | str = QString::fromLatin1(l); | - |
3714 | } never executed: end of block else { | 0 |
3715 | quint32 bytes = 0; | - |
3716 | in >> bytes; | - |
3717 | if (bytes == 0xffffffffTRUE | 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 15471 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-15471 |
3718 | str.clear(); | - |
3719 | }executed 354 times by 12 tests: end of block Executed 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 > 0TRUE | evaluated 15074 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 397 times by 5 testsEvaluated by:- tst_QDataStream
- tst_QMetaType
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
|
) { | 354-15074 |
3720 | if (bytes & 0x1TRUE | evaluated 27 times by 1 test | FALSE | evaluated 15047 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
- ...
|
) { | 27-15047 |
3721 | str.clear(); | - |
3722 | in.setStatus(QDataStream::ReadCorruptData); | - |
3723 | returnexecuted 27 times by 1 test: return in; in;executed 27 times by 1 test: return in; | 27 |
3724 | } | - |
3725 | | - |
3726 | const quint32 Step = 1024 * 1024; | - |
3727 | quint32 len = bytes / 2; | - |
3728 | quint32 allocated = 0; | - |
3729 | | - |
3730 | while (allocated < lenTRUE | evaluated 15059 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 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
- ...
|
) { | 15033-15059 |
3731 | int blockSize = qMin(Step, len - allocated); | - |
3732 | str.resize(allocated + blockSize); | - |
3733 | if (in.readRawData(reinterpret_cast<char *>(str.data()) + allocated * 2,TRUE | evaluated 14 times by 1 test | FALSE | evaluated 15045 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-15045 |
3734 | blockSize * 2) != blockSize * 2TRUE | evaluated 14 times by 1 test | FALSE | evaluated 15045 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-15045 |
3735 | str.clear(); | - |
3736 | in.setStatus(QDataStream::ReadPastEnd); | - |
3737 | returnexecuted 14 times by 1 test: return in; in;executed 14 times by 1 test: return in; | 14 |
3738 | } | - |
3739 | allocated += blockSize; | - |
3740 | }executed 15045 times by 28 tests: end of block 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
- ...
| 15045 |
3741 | | - |
3742 | if ((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 | never evaluated |
in.byteOrder() == QDataStream::BigEndian)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 | never evaluated |
| 0-15033 |
3743 | != (QSysInfo::ByteOrder == QSysInfo::BigEndian)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 | never evaluated |
) { | 0-15033 |
3744 | ushort *data = reinterpret_cast<ushort *>(str.data()); | - |
3745 | while (len--TRUE | evaluated 12630580 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 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
- ...
|
) { | 15033-12630580 |
3746 | *data = qbswap(*data); | - |
3747 | ++data; | - |
3748 | }executed 12630580 times by 28 tests: end of block 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
- ...
| 12630580 |
3749 | }executed 15033 times by 28 tests: end of block 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
- ...
| 15033 |
3750 | }executed 15033 times by 28 tests: end of block 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
- ...
else { | 15033 |
3751 | str = QString(QLatin1String("")); | - |
3752 | }executed 397 times by 5 tests: end of block Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
| 397 |
3753 | } | - |
3754 | returnexecuted 15784 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 15784 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
- ...
| 15784 |
3755 | } | - |
3756 | QString QStringRef::toString() const { | - |
3757 | if (!m_stringTRUE | evaluated 8012 times by 38 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| FALSE | evaluated 402702 times by 181 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
|
) | 8012-402702 |
3758 | returnexecuted 8012 times by 38 tests: return QString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
QString();executed 8012 times by 38 tests: return QString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 8012 |
3759 | if (m_sizeTRUE | evaluated 401662 times by 181 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- ...
| FALSE | evaluated 1040 times by 16 testsEvaluated by:- tst_QAbstractSpinBox
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLoggingRegistry
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QXmlStream
|
&& m_position == 0TRUE | evaluated 97576 times by 153 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 304086 times by 86 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
&& m_size == m_string->size()TRUE | evaluated 68705 times by 131 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 28871 times by 43 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontCache
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QLabel
- tst_QLineEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- ...
|
) | 1040-401662 |
3760 | returnexecuted 68705 times by 131 tests: return *m_string; 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
*m_string;executed 68705 times by 131 tests: return *m_string; 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 68705 |
3761 | returnexecuted 333997 times by 88 tests: return QString(m_string->unicode() + m_position, m_size); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
QString(m_string->unicode() + m_position, m_size);executed 333997 times by 88 tests: return QString(m_string->unicode() + m_position, m_size); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 333997 |
3762 | } | - |
3763 | | - |
3764 | | - |
3765 | | - |
3766 | | - |
3767 | | - |
3768 | | - |
3769 | | - |
3770 | bool operator==(const QStringRef &s1,const QStringRef &s2) noexcept | - |
3771 | { returnexecuted 2511992 times by 48 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size())); Executed by:- 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- ...
(s1.size() == s2.size() &&executed 2511992 times by 48 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size())); Executed by:- 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- ...
| 2511992 |
3772 | qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));executed 2511992 times by 48 tests: return (s1.size() == s2.size() && qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size())); Executed by:- 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_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- ...
| 2511992 |
3773 | } | - |
3774 | | - |
3775 | | - |
3776 | | - |
3777 | | - |
3778 | | - |
3779 | | - |
3780 | bool operator==(const QString &s1,const QStringRef &s2) noexcept | - |
3781 | { returnexecuted 280789 times by 121 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() &&executed 280789 times by 121 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
- ...
| 280789 |
3782 | qMemEquals((const ushort *)s1.unicode(), (const ushort *)s2.unicode(), s1.size()));executed 280789 times by 121 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
- ...
| 280789 |
3783 | } | - |
3784 | | - |
3785 | | - |
3786 | | - |
3787 | | - |
3788 | | - |
3789 | | - |
3790 | bool operator==(QLatin1String s1, const QStringRef &s2) noexcept | - |
3791 | { | - |
3792 | if (s1.size() != s2.size()TRUE | evaluated 840026 times by 66 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- ...
| FALSE | evaluated 656355 times by 53 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- ...
|
) | 656355-840026 |
3793 | returnexecuted 840026 times by 66 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- ...
false;executed 840026 times by 66 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- ...
| 840026 |
3794 | | - |
3795 | const uchar *c = reinterpret_cast<const uchar *>(s1.latin1()); | - |
3796 | if (!cTRUE | never evaluated | FALSE | evaluated 656355 times by 53 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- ...
|
) | 0-656355 |
3797 | return never executed: return s2.isEmpty(); s2.isEmpty();never executed: return s2.isEmpty(); | 0 |
3798 | returnexecuted 656355 times by 53 tests: return ucstrncmp(s2.unicode(), c, s2.size()) == 0; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- ...
ucstrncmp(s2.unicode(), c, s2.size()) == 0;executed 656355 times by 53 tests: return ucstrncmp(s2.unicode(), c, s2.size()) == 0; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- 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_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFont
- ...
| 656355 |
3799 | } | - |
3800 | bool operator<(const QStringRef &s1,const QStringRef &s2) noexcept | - |
3801 | { | - |
3802 | returnexecuted 3346 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 3346 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
| 3346 |
3803 | } | - |
3804 | QStringRef QStringRef::appendTo(QString *string) const | - |
3805 | { | - |
3806 | if (!stringTRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) | 0-8 |
3807 | return never executed: return QStringRef(); QStringRef();never executed: return QStringRef(); | 0 |
3808 | int pos = string->size(); | - |
3809 | string->insert(pos, unicode(), size()); | - |
3810 | 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 |
3811 | } | - |
3812 | QString &QString::append(const QStringRef &str) | - |
3813 | { | - |
3814 | if (str.string() == thisTRUE | never evaluated | FALSE | evaluated 7514 times by 20 testsEvaluated by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QLayout
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_QWizard
- tst_qmakelib
- tst_rcc
|
) { | 0-7514 |
3815 | str.appendTo(this); | - |
3816 | } never executed: end of block else if (!str.isNull()TRUE | evaluated 7508 times by 20 testsEvaluated by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QLayout
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_QWizard
- tst_qmakelib
- tst_rcc
| FALSE | evaluated 6 times by 1 test |
) { | 0-7508 |
3817 | int oldSize = size(); | - |
3818 | resize(oldSize + str.size()); | - |
3819 | memcpy(data() + oldSize, str.unicode(), str.size() * sizeof(QChar)); | - |
3820 | }executed 7508 times by 20 tests: end of block Executed by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QLayout
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_QWizard
- tst_qmakelib
- tst_rcc
| 7508 |
3821 | returnexecuted 7514 times by 20 tests: return *this; Executed by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QLayout
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_QWizard
- tst_qmakelib
- tst_rcc
*this;executed 7514 times by 20 tests: return *this; Executed by:- tst_QCommandLineParser
- tst_QDir
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QLayout
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QTemporaryFile
- tst_QWizard
- tst_qmakelib
- tst_rcc
| 7514 |
3822 | } | - |
3823 | QStringRef QStringRef::left(int n) const | - |
3824 | { | - |
3825 | if (uint(n) >= uint(m_size)TRUE | evaluated 527 times by 15 testsEvaluated by:- tst_QComboBox
- tst_QDateTime
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
| FALSE | evaluated 163 times by 10 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
|
) | 163-527 |
3826 | returnexecuted 527 times by 15 tests: return *this; Executed by:- tst_QComboBox
- tst_QDateTime
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
*this;executed 527 times by 15 tests: return *this; Executed by:- tst_QComboBox
- tst_QDateTime
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
| 527 |
3827 | returnexecuted 163 times by 10 tests: return QStringRef(m_string, m_position, n); Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
QStringRef(m_string, m_position, n);executed 163 times by 10 tests: return QStringRef(m_string, m_position, n); Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
| 163 |
3828 | } | - |
3829 | QStringRef QString::leftRef(int n) const | - |
3830 | { | - |
3831 | if (uint(n) >= uint(d->size)TRUE | evaluated 49321 times by 14 testsEvaluated by:- tst_QComboBox
- tst_QCompleter
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListWidget
- tst_QPluginLoader
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 28977 times by 19 testsEvaluated by:- tst_QFtp
- tst_QLineEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextStream
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_selftests - unknown status
|
) | 28977-49321 |
3832 | n = d->size;executed 49321 times by 14 tests: n = d->size; Executed by:- tst_QComboBox
- tst_QCompleter
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListWidget
- tst_QPluginLoader
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 49321 |
3833 | returnexecuted 78298 times by 25 tests: return QStringRef(this, 0, n); Executed by:- tst_QComboBox
- tst_QCompleter
- tst_QFtp
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextStream
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_selftests - unknown status
QStringRef(this, 0, n);executed 78298 times by 25 tests: return QStringRef(this, 0, n); Executed by:- tst_QComboBox
- tst_QCompleter
- tst_QFtp
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QLineEdit
- tst_QListWidget
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMainWindow
- tst_QMetaObject
- tst_QNetworkReply
- tst_QPluginLoader
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTabBar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextStream
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_selftests - unknown status
| 78298 |
3834 | } | - |
3835 | QStringRef QStringRef::right(int n) const | - |
3836 | { | - |
3837 | if (uint(n) >= uint(m_size)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QStringRef
| FALSE | evaluated 382 times by 7 testsEvaluated by:- tst_QDateTime
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QUrl
- tst_QVariant
|
) | 10-382 |
3838 | returnexecuted 10 times by 2 tests: return *this; Executed by:- tst_QNetworkCookieJar
- tst_QStringRef
*this;executed 10 times by 2 tests: return *this; Executed by:- tst_QNetworkCookieJar
- tst_QStringRef
| 10 |
3839 | returnexecuted 382 times by 7 tests: return QStringRef(m_string, m_size - n + m_position, n); Executed by:- tst_QDateTime
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QUrl
- tst_QVariant
QStringRef(m_string, m_size - n + m_position, n);executed 382 times by 7 tests: return QStringRef(m_string, m_size - n + m_position, n); Executed by:- tst_QDateTime
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QUrl
- tst_QVariant
| 382 |
3840 | } | - |
3841 | QStringRef QString::rightRef(int n) const | - |
3842 | { | - |
3843 | if (uint(n) >= uint(d->size)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2619 times by 33 testsEvaluated by:- tst_QApplication
- tst_QBrush
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDataStream
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QImage
- tst_QMimeData
- tst_QPainter
- tst_QPen
- tst_QPixmapFilter
- tst_QPlainTextEdit
- tst_QStandardItem
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
|
) | 4-2619 |
3844 | n = d->size;executed 4 times by 1 test: n = d->size; | 4 |
3845 | returnexecuted 2623 times by 33 tests: return QStringRef(this, d->size - n, n); Executed by:- tst_QApplication
- tst_QBrush
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDataStream
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QImage
- tst_QMimeData
- tst_QPainter
- tst_QPen
- tst_QPixmapFilter
- tst_QPlainTextEdit
- tst_QStandardItem
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
QStringRef(this, d->size - n, n);executed 2623 times by 33 tests: return QStringRef(this, d->size - n, n); Executed by:- tst_QApplication
- tst_QBrush
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDataStream
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QImage
- tst_QMimeData
- tst_QPainter
- tst_QPen
- tst_QPixmapFilter
- tst_QPlainTextEdit
- tst_QStandardItem
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
| 2623 |
3846 | } | - |
3847 | QStringRef QStringRef::mid(int pos, int n) const | - |
3848 | { | - |
3849 | using namespace QtPrivate; | - |
3850 | switch (QContainerImplHelper::mid(m_size, &pos, &n)) { | - |
3851 | 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 |
3852 | 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 |
3853 | caseexecuted 3092 times by 21 tests: case QContainerImplHelper::Empty: Executed by:- 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_QDBusThreading
- tst_QDateTime
- tst_QHostAddress
- tst_QLayout
- tst_QString
- tst_QStringRef
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
QContainerImplHelper::Empty:executed 3092 times by 21 tests: case QContainerImplHelper::Empty: Executed by:- 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_QDBusThreading
- tst_QDateTime
- tst_QHostAddress
- tst_QLayout
- tst_QString
- tst_QStringRef
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 3092 |
3854 | returnexecuted 3092 times by 21 tests: return QStringRef(m_string, 0, 0); Executed by:- 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_QDBusThreading
- tst_QDateTime
- tst_QHostAddress
- tst_QLayout
- tst_QString
- tst_QStringRef
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
QStringRef(m_string, 0, 0);executed 3092 times by 21 tests: return QStringRef(m_string, 0, 0); Executed by:- 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_QDBusThreading
- tst_QDateTime
- tst_QHostAddress
- tst_QLayout
- tst_QString
- tst_QStringRef
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 3092 |
3855 | caseexecuted 34883 times by 150 tests: case QContainerImplHelper::Full: 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- ...
QContainerImplHelper::Full:executed 34883 times by 150 tests: case QContainerImplHelper::Full: 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- ...
| 34883 |
3856 | returnexecuted 34883 times by 150 tests: return *this; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- ...
*this;executed 34883 times by 150 tests: return *this; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- ...
| 34883 |
3857 | caseexecuted 67473 times by 220 tests: case QContainerImplHelper::Subset: 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
QContainerImplHelper::Subset:executed 67473 times by 220 tests: case QContainerImplHelper::Subset: 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| 67473 |
3858 | returnexecuted 67473 times by 220 tests: return QStringRef(m_string, pos + m_position, n); 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
QStringRef(m_string, pos + m_position, n);executed 67473 times by 220 tests: return QStringRef(m_string, pos + m_position, n); 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| 67473 |
3859 | } | - |
3860 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,9618) : qt_noop()); __builtin_unreachable(); } while (0); | - |
3861 | return never executed: return QStringRef(); QStringRef();never executed: return QStringRef(); | 0 |
3862 | } | - |
3863 | QStringRef QString::midRef(int position, int n) const | - |
3864 | { | - |
3865 | using namespace QtPrivate; | - |
3866 | switch (QContainerImplHelper::mid(d->size, &position, &n)) { | - |
3867 | caseexecuted 285 times by 2 tests: case QContainerImplHelper::Null: Executed by:- tst_QFontComboBox
- tst_QString
QContainerImplHelper::Null:executed 285 times by 2 tests: case QContainerImplHelper::Null: Executed by:- tst_QFontComboBox
- tst_QString
| 285 |
3868 | returnexecuted 285 times by 2 tests: return QStringRef(); Executed by:- tst_QFontComboBox
- tst_QString
QStringRef();executed 285 times by 2 tests: return QStringRef(); Executed by:- tst_QFontComboBox
- tst_QString
| 285 |
3869 | caseexecuted 1841 times by 19 tests: case QContainerImplHelper::Empty: Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTime
QContainerImplHelper::Empty:executed 1841 times by 19 tests: case QContainerImplHelper::Empty: Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTime
| 1841 |
3870 | returnexecuted 1841 times by 19 tests: return QStringRef(this, 0, 0); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTime
QStringRef(this, 0, 0);executed 1841 times by 19 tests: return QStringRef(this, 0, 0); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QFtp
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTime
| 1841 |
3871 | caseexecuted 41759 times by 42 tests: case QContainerImplHelper::Full: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- ...
QContainerImplHelper::Full:executed 41759 times by 42 tests: case QContainerImplHelper::Full: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- ...
| 41759 |
3872 | returnexecuted 41759 times by 42 tests: return QStringRef(this, 0, d->size); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- ...
QStringRef(this, 0, d->size);executed 41759 times by 42 tests: return QStringRef(this, 0, d->size); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QPluginLoader
- tst_QPrinter
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- ...
| 41759 |
3873 | caseexecuted 64470 times by 200 tests: case QContainerImplHelper::Subset: 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
QContainerImplHelper::Subset:executed 64470 times by 200 tests: case QContainerImplHelper::Subset: 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 64470 |
3874 | returnexecuted 64470 times by 200 tests: return QStringRef(this, position, n); 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
QStringRef(this, position, n);executed 64470 times by 200 tests: return QStringRef(this, position, n); 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 64470 |
3875 | } | - |
3876 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,9655) : qt_noop()); __builtin_unreachable(); } while (0); | - |
3877 | return never executed: return QStringRef(); QStringRef();never executed: return QStringRef(); | 0 |
3878 | } | - |
3879 | int QStringRef::indexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
3880 | { | - |
3881 | returnexecuted 200 times by 2 tests: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs); Executed by:- tst_QStringRef
- tst_qmakelib
qFindString(unicode(), length(), from, str.unicode(), str.length(), cs);executed 200 times by 2 tests: return qFindString(unicode(), length(), from, str.unicode(), str.length(), cs); Executed by:- tst_QStringRef
- tst_qmakelib
| 200 |
3882 | } | - |
3883 | int QStringRef::indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
3884 | { | - |
3885 | returnexecuted 52119 times by 26 tests: return findChar(unicode(), length(), ch, from, cs); Executed by:- tst_QComboBox
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSettings
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- ...
findChar(unicode(), length(), ch, from, cs);executed 52119 times by 26 tests: return findChar(unicode(), length(), ch, from, cs); Executed by:- tst_QComboBox
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QLogging
- tst_QLoggingRegistry
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSettings
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- ...
| 52119 |
3886 | } | - |
3887 | int QStringRef::indexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
3888 | { | - |
3889 | 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 |
3890 | } | - |
3891 | int QStringRef::indexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
3892 | { | - |
3893 | 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 |
3894 | } | - |
3895 | int QStringRef::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const | - |
3896 | { | - |
3897 | const int sl = str.size(); | - |
3898 | if (sl == 1TRUE | evaluated 53 times by 1 test | FALSE | evaluated 50 times by 1 test |
) | 50-53 |
3899 | 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 |
3900 | | - |
3901 | const int l = size();; | - |
3902 | if (from < 0TRUE | evaluated 43 times by 1 test | FALSE | evaluated 7 times by 1 test |
) | 7-43 |
3903 | from += l;executed 43 times by 1 test: from += l; | 43 |
3904 | int delta = l - sl; | - |
3905 | if (from == lTRUE | evaluated 2 times by 1 test | FALSE | evaluated 48 times by 1 test |
&& sl == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-48 |
3906 | returnexecuted 1 time by 1 test: return from; from;executed 1 time by 1 test: return from; | 1 |
3907 | if (uint(from) >= uint(l)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 41 times by 1 test |
|| delta < 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 34 times by 1 test |
) | 7-41 |
3908 | returnexecuted 15 times by 1 test: return -1; -1;executed 15 times by 1 test: return -1; | 15 |
3909 | if (from > deltaTRUE | evaluated 29 times by 1 test | FALSE | evaluated 5 times by 1 test |
) | 5-29 |
3910 | from = delta;executed 29 times by 1 test: from = delta; | 29 |
3911 | | - |
3912 | 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 |
3913 | 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 |
3914 | } | - |
3915 | int QStringRef::lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const | - |
3916 | { | - |
3917 | 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 |
3918 | } | - |
3919 | int QStringRef::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const | - |
3920 | { | - |
3921 | const int sl = str.size(); | - |
3922 | if (sl == 1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3923 | 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 |
3924 | | - |
3925 | const int l = size(); | - |
3926 | if (from < 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3927 | from += l; never executed: from += l; | 0 |
3928 | int delta = l - sl; | - |
3929 | if (from == lTRUE | never evaluated | FALSE | never evaluated |
&& sl == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3930 | return never executed: return from; from;never executed: return from; | 0 |
3931 | if (uint(from) >= uint(l)TRUE | never evaluated | FALSE | never evaluated |
|| delta < 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3932 | return never executed: return -1; -1;never executed: return -1; | 0 |
3933 | if (from > deltaTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3934 | from = delta; never executed: from = delta; | 0 |
3935 | | - |
3936 | QVarLengthArray<ushort> s(sl); | - |
3937 | qt_from_latin1(s.data(), str.latin1(), sl); | - |
3938 | | - |
3939 | 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 |
3940 | } | - |
3941 | int QStringRef::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const | - |
3942 | { | - |
3943 | const int sl = str.size(); | - |
3944 | if (sl == 1TRUE | evaluated 53 times by 1 test | FALSE | evaluated 50 times by 1 test |
) | 50-53 |
3945 | 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 |
3946 | | - |
3947 | const int l = size(); | - |
3948 | if (from < 0TRUE | evaluated 43 times by 1 test | FALSE | evaluated 7 times by 1 test |
) | 7-43 |
3949 | from += l;executed 43 times by 1 test: from += l; | 43 |
3950 | int delta = l - sl; | - |
3951 | if (from == lTRUE | evaluated 2 times by 1 test | FALSE | evaluated 48 times by 1 test |
&& sl == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-48 |
3952 | returnexecuted 1 time by 1 test: return from; from;executed 1 time by 1 test: return from; | 1 |
3953 | if (uint(from) >= uint(l)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 41 times by 1 test |
|| delta < 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 34 times by 1 test |
) | 7-41 |
3954 | returnexecuted 15 times by 1 test: return -1; -1;executed 15 times by 1 test: return -1; | 15 |
3955 | if (from > deltaTRUE | evaluated 29 times by 1 test | FALSE | evaluated 5 times by 1 test |
) | 5-29 |
3956 | from = delta;executed 29 times by 1 test: from = delta; | 29 |
3957 | | - |
3958 | 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 |
3959 | 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 |
3960 | 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 |
3961 | } | - |
3962 | int QStringRef::count(const QString &str, Qt::CaseSensitivity cs) const | - |
3963 | { | - |
3964 | 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 |
3965 | } | - |
3966 | int QStringRef::count(QChar ch, Qt::CaseSensitivity cs) const | - |
3967 | { | - |
3968 | 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 |
3969 | } | - |
3970 | int QStringRef::count(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
3971 | { | - |
3972 | 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 |
3973 | } | - |
3974 | bool QStringRef::startsWith(const QString &str, Qt::CaseSensitivity cs) const | - |
3975 | { | - |
3976 | returnexecuted 68 times by 3 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); Executed by:- tst_QDoubleSpinBox
- tst_QSpinBox
- tst_QStringRef
qt_starts_with(isNull() ? 0 : unicode(), size(),executed 68 times by 3 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); Executed by:- tst_QDoubleSpinBox
- tst_QSpinBox
- tst_QStringRef
| 68 |
3977 | str.isNull() ? 0 : str.unicode(), str.size(), cs);executed 68 times by 3 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); Executed by:- tst_QDoubleSpinBox
- tst_QSpinBox
- tst_QStringRef
| 68 |
3978 | } | - |
3979 | | - |
3980 | | - |
3981 | | - |
3982 | | - |
3983 | | - |
3984 | | - |
3985 | bool QStringRef::startsWith(QLatin1String str, Qt::CaseSensitivity cs) const | - |
3986 | { | - |
3987 | returnexecuted 5479 times by 28 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDateTime
- tst_QHttpNetworkConnection
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStringRef
- tst_QTcpSocket
- ...
qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs);executed 5479 times by 28 tests: return qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDateTime
- tst_QHttpNetworkConnection
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStringRef
- tst_QTcpSocket
- ...
| 5479 |
3988 | } | - |
3989 | | - |
3990 | | - |
3991 | | - |
3992 | | - |
3993 | | - |
3994 | | - |
3995 | bool QStringRef::startsWith(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
3996 | { | - |
3997 | 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 |
3998 | 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 |
3999 | } | - |
4000 | bool QStringRef::startsWith(QChar ch, Qt::CaseSensitivity cs) const | - |
4001 | { | - |
4002 | if (!isEmpty()TRUE | evaluated 93315 times by 185 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QLoggingRegistry
- tst_QStringRef
|
) { | 17-93315 |
4003 | const ushort *data = reinterpret_cast<const ushort*>(unicode()); | - |
4004 | returnexecuted 93315 times by 185 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode())); 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
(cs == Qt::CaseSensitiveexecuted 93315 times by 185 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode())); 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 93315 |
4005 | ? data[0] == chexecuted 93315 times by 185 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode())); 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 93315 |
4006 | : foldCase(data[0]) == foldCase(ch.unicode()));executed 93315 times by 185 tests: return (cs == Qt::CaseSensitive ? data[0] == ch : foldCase(data[0]) == foldCase(ch.unicode())); 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_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| 93315 |
4007 | } else { | - |
4008 | 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 |
4009 | } | - |
4010 | } | - |
4011 | bool QStringRef::endsWith(const QString &str, Qt::CaseSensitivity cs) const | - |
4012 | { | - |
4013 | returnexecuted 70 times by 4 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); Executed by:- tst_QDoubleSpinBox
- tst_QPrinter
- tst_QSpinBox
- tst_QStringRef
qt_ends_with(isNull() ? 0 : unicode(), size(),executed 70 times by 4 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); Executed by:- tst_QDoubleSpinBox
- tst_QPrinter
- tst_QSpinBox
- tst_QStringRef
| 70 |
4014 | str.isNull() ? 0 : str.unicode(), str.size(), cs);executed 70 times by 4 tests: return qt_ends_with(isNull() ? 0 : unicode(), size(), str.isNull() ? 0 : str.unicode(), str.size(), cs); Executed by:- tst_QDoubleSpinBox
- tst_QPrinter
- tst_QSpinBox
- tst_QStringRef
| 70 |
4015 | } | - |
4016 | bool QStringRef::endsWith(QChar ch, Qt::CaseSensitivity cs) const | - |
4017 | { | - |
4018 | if (!isEmpty()TRUE | evaluated 24148 times by 10 testsEvaluated by:- tst_QDateTime
- tst_QFontCache
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| FALSE | evaluated 6 times by 1 test |
) { | 6-24148 |
4019 | const ushort *data = reinterpret_cast<const ushort*>(unicode()); | - |
4020 | const int size = length(); | - |
4021 | returnexecuted 24148 times by 10 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode())); Executed by:- tst_QDateTime
- tst_QFontCache
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
(cs == Qt::CaseSensitiveexecuted 24148 times by 10 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode())); Executed by:- tst_QDateTime
- tst_QFontCache
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| 24148 |
4022 | ? data[size - 1] == chexecuted 24148 times by 10 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode())); Executed by:- tst_QDateTime
- tst_QFontCache
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| 24148 |
4023 | : foldCase(data[size - 1]) == foldCase(ch.unicode()));executed 24148 times by 10 tests: return (cs == Qt::CaseSensitive ? data[size - 1] == ch : foldCase(data[size - 1]) == foldCase(ch.unicode())); Executed by:- tst_QDateTime
- tst_QFontCache
- tst_QLogging
- tst_QLoggingRegistry
- tst_QNetworkReply
- tst_QSqlQuery
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| 24148 |
4024 | } else { | - |
4025 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
4026 | } | - |
4027 | } | - |
4028 | | - |
4029 | | - |
4030 | | - |
4031 | | - |
4032 | | - |
4033 | | - |
4034 | bool QStringRef::endsWith(QLatin1String str, Qt::CaseSensitivity cs) const | - |
4035 | { | - |
4036 | 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 |
4037 | } | - |
4038 | | - |
4039 | | - |
4040 | | - |
4041 | | - |
4042 | | - |
4043 | | - |
4044 | bool QStringRef::endsWith(const QStringRef &str, Qt::CaseSensitivity cs) const | - |
4045 | { | - |
4046 | 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 |
4047 | 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 |
4048 | } | - |
4049 | static inline int qt_last_index_of(const QChar *haystack, int haystackLen, QChar needle, | - |
4050 | int from, Qt::CaseSensitivity cs) | - |
4051 | { | - |
4052 | ushort c = needle.unicode(); | - |
4053 | if (from < 0TRUE | evaluated 256550 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 7319 times by 40 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
- ...
|
) | 7319-256550 |
4054 | from += haystackLen;executed 256550 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
- ...
| 256550 |
4055 | if (uint(from) >= uint(haystackLen)TRUE | evaluated 1243 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QPluginLoader
- tst_QSslCertificate
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 262626 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
- ...
|
) | 1243-262626 |
4056 | returnexecuted 1243 times by 14 tests: return -1; Executed by:- tst_QFileDialog2
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QPluginLoader
- tst_QSslCertificate
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_qmakelib
- tst_selftests - unknown status
-1;executed 1243 times by 14 tests: return -1; Executed by:- tst_QFileDialog2
- tst_QFileSystemEntry
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QPluginLoader
- tst_QSslCertificate
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_qmakelib
- tst_selftests - unknown status
| 1243 |
4057 | if (from >= 0TRUE | evaluated 262626 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-262626 |
4058 | const ushort *b = reinterpret_cast<const ushort*>(haystack); | - |
4059 | const ushort *n = b + from; | - |
4060 | if (cs == Qt::CaseSensitiveTRUE | evaluated 262594 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-262594 |
4061 | for (; n >= bTRUE | evaluated 4147227 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 7415 times by 190 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) | 7415-4147227 |
4062 | if (*TRUE | evaluated 255179 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 3892048 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 == cTRUE | evaluated 255179 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 3892048 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
- ...
|
) | 255179-3892048 |
4063 | returnexecuted 255179 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 255179 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
- ...
| 255179 |
4064 | }executed 7415 times by 190 tests: end of block 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
- ...
else { | 7415 |
4065 | c = foldCase(c); | - |
4066 | for (; n >= bTRUE | 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 |
4067 | if (foldCase(*n) == cTRUE | 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 |
4068 | 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 |
4069 | }executed 8 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringRef
| 8 |
4070 | } | - |
4071 | returnexecuted 7423 times by 190 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 7423 times by 190 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
- ...
| 7423 |
4072 | | - |
4073 | | - |
4074 | } | - |
4075 | | - |
4076 | static inline int qt_string_count(const QChar *haystack, int haystackLen, | - |
4077 | const QChar *needle, int needleLen, | - |
4078 | Qt::CaseSensitivity cs) | - |
4079 | { | - |
4080 | int num = 0; | - |
4081 | int i = -1; | - |
4082 | if (haystackLen > 500TRUE | evaluated 2 times by 1 test | FALSE | evaluated 18 times by 4 testsEvaluated by:- tst_Collections
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
|
&& needleLen > 5TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-18 |
4083 | QStringMatcher matcher(needle, needleLen, cs); | - |
4084 | while ((TRUE | never evaluated | FALSE | never evaluated |
i = matcher.indexIn(haystack, haystackLen, i + 1)) != -1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
4085 | ++ never executed: ++num; num;never executed: ++num; | 0 |
4086 | } never executed: end of block else { | 0 |
4087 | 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)) != -1TRUE | 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 |
4088 | ++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 |
4089 | }executed 20 times by 5 tests: end of block Executed by:- tst_Collections
- tst_QProcess
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| 20 |
4090 | 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 |
4091 | } | - |
4092 | | - |
4093 | static inline int qt_string_count(const QChar *unicode, int size, QChar ch, | - |
4094 | Qt::CaseSensitivity cs) | - |
4095 | { | - |
4096 | ushort c = ch.unicode(); | - |
4097 | int num = 0; | - |
4098 | const ushort *b = reinterpret_cast<const ushort*>(unicode); | - |
4099 | const ushort *i = b + size; | - |
4100 | if (cs == Qt::CaseSensitiveTRUE | evaluated 54675 times by 30 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
| FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
) { | 2-54675 |
4101 | while (i != bTRUE | evaluated 530412 times by 30 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
| FALSE | evaluated 54675 times by 30 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
|
) | 54675-530412 |
4102 | if (*--TRUE | evaluated 15161 times by 29 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
| FALSE | evaluated 515251 times by 30 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
|
i == cTRUE | evaluated 15161 times by 29 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
| FALSE | evaluated 515251 times by 30 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
|
) | 15161-515251 |
4103 | ++executed 15161 times by 29 tests: ++num; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
num;executed 15161 times by 29 tests: ++num; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
| 15161 |
4104 | }executed 54675 times by 30 tests: end of block Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
else { | 54675 |
4105 | c = foldCase(c); | - |
4106 | while (i != bTRUE | 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 |
4107 | if (foldCase(*(--i)) == cTRUE | 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 |
4108 | ++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 |
4109 | }executed 2 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringRef
| 2 |
4110 | returnexecuted 54677 times by 30 tests: return num; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
num;executed 54677 times by 30 tests: return num; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QListView
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QString
- tst_QStringRef
- tst_QStyle
- tst_QSystemTrayIcon
- ...
| 54677 |
4111 | } | - |
4112 | | - |
4113 | static inline int qt_find_latin1_string(const QChar *haystack, int size, | - |
4114 | QLatin1String needle, | - |
4115 | int from, Qt::CaseSensitivity cs) | - |
4116 | { | - |
4117 | if (size < needle.size()TRUE | evaluated 2811 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QAuthenticator
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QSizeGrip
- tst_QSplitter
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- ...
| FALSE | evaluated 7708 times by 181 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
- ...
|
) | 2811-7708 |
4118 | returnexecuted 2811 times by 30 tests: return -1; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QAuthenticator
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QSizeGrip
- tst_QSplitter
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- ...
-1;executed 2811 times by 30 tests: return -1; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QAuthenticator
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QSizeGrip
- tst_QSplitter
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- ...
| 2811 |
4119 | | - |
4120 | const char *latin1 = needle.latin1(); | - |
4121 | int len = needle.size(); | - |
4122 | QVarLengthArray<ushort> s(len); | - |
4123 | qt_from_latin1(s.data(), latin1, len); | - |
4124 | | - |
4125 | returnexecuted 7708 times by 181 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 7708 times by 181 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
- ...
| 7708 |
4126 | reinterpret_cast<const QChar*>(s.constData()), len, cs);executed 7708 times by 181 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
- ...
| 7708 |
4127 | } | - |
4128 | | - |
4129 | static inline bool qt_starts_with(const QChar *haystack, int haystackLen, | - |
4130 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs) | - |
4131 | { | - |
4132 | if (!haystackTRUE | 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 432338 times by 120 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-432338 |
4133 | 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 |
4134 | if (haystackLen == 0TRUE | evaluated 23 times by 5 testsEvaluated by:- tst_QCompleter
- tst_QNetworkCookieJar
- tst_QString
- tst_QStringRef
- tst_rcc
| FALSE | evaluated 432315 times by 120 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-432315 |
4135 | 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 |
4136 | if (needleLen > haystackLenTRUE | evaluated 101241 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 331074 times by 120 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
- ...
|
) | 101241-331074 |
4137 | returnexecuted 101241 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 101241 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
- ...
| 101241 |
4138 | | - |
4139 | const ushort *h = reinterpret_cast<const ushort*>(haystack); | - |
4140 | const ushort *n = reinterpret_cast<const ushort*>(needle); | - |
4141 | | - |
4142 | if (cs == Qt::CaseSensitiveTRUE | evaluated 328871 times by 113 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 2203 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
|
) { | 2203-328871 |
4143 | returnexecuted 328871 times by 113 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 328871 times by 113 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
- ...
| 328871 |
4144 | } else { | - |
4145 | uint last = 0; | - |
4146 | uint olast = 0; | - |
4147 | for (int i = 0; i < needleLenTRUE | evaluated 5659 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 613 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) | 613-5659 |
4148 | if (foldCase(h[i], last) != foldCase(n[i], olast)TRUE | evaluated 1590 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 4069 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
|
) | 1590-4069 |
4149 | returnexecuted 1590 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 1590 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
| 1590 |
4150 | }executed 613 times by 21 tests: end of block 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
| 613 |
4151 | returnexecuted 613 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 613 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
| 613 |
4152 | } | - |
4153 | | - |
4154 | static inline bool qt_starts_with(const QChar *haystack, int haystackLen, | - |
4155 | QLatin1String needle, Qt::CaseSensitivity cs) | - |
4156 | { | - |
4157 | if (!haystackTRUE | evaluated 6767 times by 53 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 251067 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
- ...
|
) | 6767-251067 |
4158 | returnexecuted 6767 times by 53 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 6767 times by 53 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
- ...
| 6767 |
4159 | if (haystackLen == 0TRUE | evaluated 1953 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 249114 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
- ...
|
) | 1953-249114 |
4160 | returnexecuted 1953 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() || *needle.latin1() == 0;executed 1953 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
| 1953 |
4161 | const int slen = needle.size(); | - |
4162 | if (slen > haystackLenTRUE | evaluated 164586 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 84528 times by 234 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
- ...
|
) | 84528-164586 |
4163 | returnexecuted 164586 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 164586 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
- ...
| 164586 |
4164 | const ushort *data = reinterpret_cast<const ushort*>(haystack); | - |
4165 | const uchar *latin = reinterpret_cast<const uchar*>(needle.latin1()); | - |
4166 | if (cs == Qt::CaseSensitiveTRUE | evaluated 80855 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
- ...
| FALSE | evaluated 3673 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
|
) { | 3673-80855 |
4167 | returnexecuted 80855 times by 233 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 80855 times by 233 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
- ...
| 80855 |
4168 | } else { | - |
4169 | for (int i = 0; i < slenTRUE | evaluated 3803 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 34 times by 4 testsEvaluated by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
|
; ++i) | 34-3803 |
4170 | if (foldCase(data[i]) != foldCase((ushort)latin[i])TRUE | evaluated 3639 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 164 times by 4 testsEvaluated by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
|
) | 164-3639 |
4171 | returnexecuted 3639 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 3639 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
| 3639 |
4172 | }executed 34 times by 4 tests: end of block Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
| 34 |
4173 | returnexecuted 34 times by 4 tests: return true; Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
true;executed 34 times by 4 tests: return true; Executed by:- tst_QDateTime
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
| 34 |
4174 | } | - |
4175 | | - |
4176 | static inline bool qt_ends_with(const QChar *haystack, int haystackLen, | - |
4177 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs) | - |
4178 | { | - |
4179 | if (!haystackTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| FALSE | evaluated 4562 times by 63 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
|
) | 6-4562 |
4180 | 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 |
4181 | if (haystackLen == 0TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| FALSE | evaluated 4556 times by 63 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- ...
|
) | 6-4556 |
4182 | 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 |
4183 | const int pos = haystackLen - needleLen; | - |
4184 | if (pos < 0TRUE | 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 4344 times by 54 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
|
) | 212-4344 |
4185 | 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 |
4186 | | - |
4187 | const ushort *h = reinterpret_cast<const ushort*>(haystack); | - |
4188 | const ushort *n = reinterpret_cast<const ushort*>(needle); | - |
4189 | | - |
4190 | if (cs == Qt::CaseSensitiveTRUE | evaluated 4321 times by 52 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| FALSE | evaluated 23 times by 4 testsEvaluated by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
|
) { | 23-4321 |
4191 | returnexecuted 4321 times by 52 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
qMemEquals(h + pos, n, needleLen);executed 4321 times by 52 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_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| 4321 |
4192 | } else { | - |
4193 | uint last = 0; | - |
4194 | uint olast = 0; | - |
4195 | for (int i = 0; i < needleLenTRUE | 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 |
4196 | 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 |
4197 | 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 |
4198 | }executed 14 times by 4 tests: end of block Executed by:- tst_QAbstractItemModel
- tst_QString
- tst_QStringRef
- tst_QUrl
| 14 |
4199 | 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 |
4200 | } | - |
4201 | | - |
4202 | | - |
4203 | static inline bool qt_ends_with(const QChar *haystack, int haystackLen, | - |
4204 | QLatin1String needle, Qt::CaseSensitivity cs) | - |
4205 | { | - |
4206 | if (!haystackTRUE | 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 146201 times by 125 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-146201 |
4207 | 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 |
4208 | if (haystackLen == 0TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
| FALSE | evaluated 146187 times by 125 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-146187 |
4209 | returnexecuted 14 times by 3 tests: return !needle.latin1() || *needle.latin1() == 0; Executed by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
!needle.latin1() || *needle.latin1() == 0;executed 14 times by 3 tests: return !needle.latin1() || *needle.latin1() == 0; Executed by:- tst_QLoggingRegistry
- tst_QString
- tst_QStringRef
| 14 |
4210 | const int slen = needle.size(); | - |
4211 | int pos = haystackLen - slen; | - |
4212 | if (pos < 0TRUE | 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 96439 times by 125 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-96439 |
4213 | 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 |
4214 | const uchar *latin = reinterpret_cast<const uchar*>(needle.latin1()); | - |
4215 | const ushort *data = reinterpret_cast<const ushort*>(haystack); | - |
4216 | if (cs == Qt::CaseSensitiveTRUE | evaluated 95873 times by 121 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 566 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
|
) { | 566-95873 |
4217 | returnexecuted 95873 times by 121 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 95873 times by 121 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
- ...
| 95873 |
4218 | } else { | - |
4219 | for (int i = 0; i < slenTRUE | evaluated 1125 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 511 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++) | 511-1125 |
4220 | 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 1070 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-1070 |
4221 | 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 |
4222 | }executed 511 times by 16 tests: end of block 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
| 511 |
4223 | returnexecuted 511 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 511 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
| 511 |
4224 | } | - |
4225 | QByteArray QStringRef::toLatin1() const | - |
4226 | { | - |
4227 | returnexecuted 4355 times by 10 tests: return QString::toLatin1_helper(unicode(), length()); Executed by:- tst_QColorDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QMimeDatabase
- tst_QSettings
- tst_QString
- tst_QStringRef
- tst_languageChange
QString::toLatin1_helper(unicode(), length());executed 4355 times by 10 tests: return QString::toLatin1_helper(unicode(), length()); Executed by:- tst_QColorDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QMimeDatabase
- tst_QSettings
- tst_QString
- tst_QStringRef
- tst_languageChange
| 4355 |
4228 | } | - |
4229 | QByteArray QStringRef::toLocal8Bit() const | - |
4230 | { | - |
4231 | | - |
4232 | QTextCodec *localeCodec = QTextCodec::codecForLocale(); | - |
4233 | if (localeCodecTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QFiledialog
- tst_QString
| FALSE | never evaluated |
) | 0-8 |
4234 | returnexecuted 8 times by 2 tests: return localeCodec->fromUnicode(unicode(), length()); Executed by:- tst_QFiledialog
- tst_QString
localeCodec->fromUnicode(unicode(), length());executed 8 times by 2 tests: return localeCodec->fromUnicode(unicode(), length()); Executed by:- tst_QFiledialog
- tst_QString
| 8 |
4235 | | - |
4236 | return never executed: return toLatin1(); toLatin1();never executed: return toLatin1(); | 0 |
4237 | } | - |
4238 | QByteArray QStringRef::toUtf8() const | - |
4239 | { | - |
4240 | if (isNull()TRUE | never evaluated | FALSE | evaluated 4688 times by 3 testsEvaluated by:- tst_QMimeDatabase
- tst_QString
- tst_QTimeZone
|
) | 0-4688 |
4241 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
4242 | | - |
4243 | returnexecuted 4688 times by 3 tests: return QUtf8::convertFromUnicode(constData(), length()); Executed by:- tst_QMimeDatabase
- tst_QString
- tst_QTimeZone
QUtf8::convertFromUnicode(constData(), length());executed 4688 times by 3 tests: return QUtf8::convertFromUnicode(constData(), length()); Executed by:- tst_QMimeDatabase
- tst_QString
- tst_QTimeZone
| 4688 |
4244 | } | - |
4245 | QVector<uint> QStringRef::toUcs4() const | - |
4246 | { | - |
4247 | QVector<uint> v(length()); | - |
4248 | uint *a = v.data(); | - |
4249 | int len = QString::toUcs4_helper(reinterpret_cast<const ushort *>(unicode()), length(), a); | - |
4250 | v.resize(len); | - |
4251 | return never executed: return v; v;never executed: return v; | 0 |
4252 | } | - |
4253 | QStringRef QStringRef::trimmed() const | - |
4254 | { | - |
4255 | const QChar *begin = cbegin(); | - |
4256 | const QChar *end = cend(); | - |
4257 | QStringAlgorithms<const QStringRef>::trimmed_helper_positions(begin, end); | - |
4258 | if (begin == cbegin()TRUE | evaluated 37679 times by 135 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_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
| FALSE | evaluated 19 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QFontCache
- tst_QSpinBox
- tst_QStringRef
|
&& end == cend()TRUE | evaluated 37647 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_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
| FALSE | evaluated 32 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QFtp
- tst_QNetworkReply
- tst_QSpinBox
|
) | 19-37679 |
4259 | returnexecuted 37647 times by 134 tests: return *this; 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_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
*this;executed 37647 times by 134 tests: return *this; 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_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
| 37647 |
4260 | if (begin == endTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QStringRef
| FALSE | evaluated 48 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QFontCache
- tst_QFtp
- tst_QNetworkReply
- tst_QSpinBox
- tst_QStringRef
|
) | 3-48 |
4261 | returnexecuted 3 times by 2 tests: return QStringRef(); Executed by:- tst_QDoubleSpinBox
- tst_QStringRef
QStringRef();executed 3 times by 2 tests: return QStringRef(); Executed by:- tst_QDoubleSpinBox
- tst_QStringRef
| 3 |
4262 | int position = m_position + (begin - cbegin()); | - |
4263 | returnexecuted 48 times by 6 tests: return QStringRef(m_string, position, end - begin); Executed by:- tst_QDoubleSpinBox
- tst_QFontCache
- tst_QFtp
- tst_QNetworkReply
- tst_QSpinBox
- tst_QStringRef
QStringRef(m_string, position, end - begin);executed 48 times by 6 tests: return QStringRef(m_string, position, end - begin); Executed by:- tst_QDoubleSpinBox
- tst_QFontCache
- tst_QFtp
- tst_QNetworkReply
- tst_QSpinBox
- tst_QStringRef
| 48 |
4264 | } | - |
4265 | qint64 QStringRef::toLongLong(bool *ok, int base) const | - |
4266 | { | - |
4267 | returnexecuted 46772 times by 2 tests: return QString::toIntegral_helper<qint64>(constData(), size(), ok, base); Executed by:- tst_QStringRef
- tst_qmakelib
QString::toIntegral_helper<qint64>(constData(), size(), ok, base);executed 46772 times by 2 tests: return QString::toIntegral_helper<qint64>(constData(), size(), ok, base); Executed by:- tst_QStringRef
- tst_qmakelib
| 46772 |
4268 | } | - |
4269 | quint64 QStringRef::toULongLong(bool *ok, int base) const | - |
4270 | { | - |
4271 | 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 |
4272 | } | - |
4273 | long QStringRef::toLong(bool *ok, int base) const | - |
4274 | { | - |
4275 | 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 |
4276 | } | - |
4277 | ulong QStringRef::toULong(bool *ok, int base) const | - |
4278 | { | - |
4279 | 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 |
4280 | } | - |
4281 | int QStringRef::toInt(bool *ok, int base) const | - |
4282 | { | - |
4283 | returnexecuted 14732 times by 16 tests: return QString::toIntegral_helper<int>(constData(), size(), ok, base); Executed by:- tst_QAccessibility
- tst_QAction
- tst_QDate
- tst_QDateTime
- tst_QGuiVariant
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QShortcut
- tst_QSqlQuery
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
QString::toIntegral_helper<int>(constData(), size(), ok, base);executed 14732 times by 16 tests: return QString::toIntegral_helper<int>(constData(), size(), ok, base); Executed by:- tst_QAccessibility
- tst_QAction
- tst_QDate
- tst_QDateTime
- tst_QGuiVariant
- tst_QKeySequence
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QShortcut
- tst_QSqlQuery
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmakelib
| 14732 |
4284 | } | - |
4285 | uint QStringRef::toUInt(bool *ok, int base) const | - |
4286 | { | - |
4287 | returnexecuted 1684 times by 5 tests: return QString::toIntegral_helper<uint>(constData(), size(), ok, base); Executed by:- tst_QHostAddress
- tst_QStringRef
- tst_QTcpSocket
- tst_QXmlStream
- tst_Selftests
QString::toIntegral_helper<uint>(constData(), size(), ok, base);executed 1684 times by 5 tests: return QString::toIntegral_helper<uint>(constData(), size(), ok, base); Executed by:- tst_QHostAddress
- tst_QStringRef
- tst_QTcpSocket
- tst_QXmlStream
- tst_Selftests
| 1684 |
4288 | } | - |
4289 | short QStringRef::toShort(bool *ok, int base) const | - |
4290 | { | - |
4291 | 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 |
4292 | } | - |
4293 | ushort QStringRef::toUShort(bool *ok, int base) const | - |
4294 | { | - |
4295 | 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 |
4296 | } | - |
4297 | double QStringRef::toDouble(bool *ok) const | - |
4298 | { | - |
4299 | returnexecuted 84 times by 4 tests: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocale::RejectGroupSeparator); Executed by:- tst_QGuiVariant
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocale::RejectGroupSeparator);executed 84 times by 4 tests: return QLocaleData::c()->stringToDouble(constData(), size(), ok, QLocale::RejectGroupSeparator); Executed by:- tst_QGuiVariant
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
| 84 |
4300 | } | - |
4301 | float QStringRef::toFloat(bool *ok) const | - |
4302 | { | - |
4303 | 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 |
4304 | } | - |
4305 | QString QString::toHtmlEscaped() const | - |
4306 | { | - |
4307 | QString rich; | - |
4308 | const int len = length(); | - |
4309 | rich.reserve(int(len * 1.1)); | - |
4310 | for (int i = 0; i < lenTRUE | 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 |
4311 | 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 |
4312 | rich += QLatin1String("<");executed 737 times by 4 tests: rich += QLatin1String("<"); Executed by:- tst_QDBusInterface
- tst_QString
- tst_QTextDocument
- tst_qdbuscpp2xml - unknown status
| 737 |
4313 | 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 |
4314 | rich += QLatin1String(">");executed 737 times by 4 tests: rich += QLatin1String(">"); Executed by:- tst_QDBusInterface
- tst_QString
- tst_QTextDocument
- tst_qdbuscpp2xml - unknown status
| 737 |
4315 | 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 |
4316 | rich += QLatin1String("&");executed 5 times by 2 tests: rich += QLatin1String("&"); Executed by:- tst_QString
- tst_QTextDocument
| 5 |
4317 | 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 |
4318 | rich += QLatin1String(""");executed 6 times by 2 tests: rich += QLatin1String("""); Executed by:- tst_QString
- tst_QTextDocument
| 6 |
4319 | else | - |
4320 | 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 |
4321 | } | - |
4322 | rich.squeeze(); | - |
4323 | 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 |
4324 | } | - |
4325 | void QAbstractConcatenable::appendLatin1To(const char *a, int len, QChar *out) noexcept | - |
4326 | { | - |
4327 | qt_from_latin1(reinterpret_cast<ushort *>(out), a, uint(len)); | - |
4328 | }executed 130482 times by 513 tests: end of block Executed 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_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130482 |
4329 | | - |
4330 | | - |
| | |