Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | __attribute__((visibility("default"))) int qt_initcharattributes_default_algorithm_only = 0; | - |
9 | | - |
10 | namespace QUnicodeTools { | - |
11 | namespace GB { | - |
12 | | - |
13 | static const uchar breakTable[QUnicodeTables::GraphemeBreak_LVT + 1][QUnicodeTables::GraphemeBreak_LVT + 1] = { | - |
14 | | - |
15 | { true , true , true , true , false, true , true , false, true , true , true , true , true }, | - |
16 | { true , true , false, true , true , true , true , true , true , true , true , true , true }, | - |
17 | { true , true , true , true , true , true , true , true , true , true , true , true , true }, | - |
18 | { true , true , true , true , true , true , true , true , true , true , true , true , true }, | - |
19 | { true , true , true , true , false, true , true , false, true , true , true , true , true }, | - |
20 | { true , true , true , true , false, false, true , false, true , true , true , true , true }, | - |
21 | { false, true , true , true , false, false, false, false, false, false, false, false, false }, | - |
22 | { true , true , true , true , false, true , true , false, true , true , true , true , true }, | - |
23 | { true , true , true , true , false, true , true , false, false, false, true , false, false }, | - |
24 | { true , true , true , true , false, true , true , false, true , false, false, true , true }, | - |
25 | { true , true , true , true , false, true , true , false, true , true , false, true , true }, | - |
26 | { true , true , true , true , false, true , true , false, true , false, false, true , true }, | - |
27 | { true , true , true , true , false, true , true , false, true , true , false, true , true }, | - |
28 | }; | - |
29 | | - |
30 | } | - |
31 | | - |
32 | static void getGraphemeBreaks(const ushort *string, quint32 len, QCharAttributes *attributes) | - |
33 | { | - |
34 | QUnicodeTables::GraphemeBreakClass lcls = QUnicodeTables::GraphemeBreak_LF; | - |
35 | for (quint32 i = 0; i != lenTRUE | evaluated 5206695 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 207923 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; ++i) { | 207923-5206695 |
36 | quint32 pos = i; | - |
37 | uint ucs4 = string[i]; | - |
38 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 138 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 5206557 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& i + 1 != lenTRUE | evaluated 110 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 28 times by 1 test |
) { | 28-5206557 |
39 | ushort low = string[i + 1]; | - |
40 | if (QChar::isLowSurrogate(low)TRUE | evaluated 82 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 28 times by 1 test |
) { | 28-82 |
41 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
42 | ++i; | - |
43 | }executed 82 times by 2 tests: end of block Executed by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| 82 |
44 | }executed 110 times by 2 tests: end of block Executed by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| 110 |
45 | | - |
46 | const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ucs4); | - |
47 | QUnicodeTables::GraphemeBreakClass cls = (QUnicodeTables::GraphemeBreakClass) prop->graphemeBreakClass; | - |
48 | | - |
49 | if (__builtin_expect(!!(GB::breakTable[lcls][cls]), true)TRUE | evaluated 5206286 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 409 times by 3 testsEvaluated by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 409-5206286 |
50 | attributes[pos].graphemeBoundary = true;executed 5206286 times by 114 tests: attributes[pos].graphemeBoundary = true; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5206286 |
51 | | - |
52 | lcls = cls; | - |
53 | }executed 5206695 times by 114 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5206695 |
54 | | - |
55 | attributes[len].graphemeBoundary = true; | - |
56 | }executed 207923 times by 114 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 207923 |
57 | | - |
58 | | - |
59 | namespace WB { | - |
60 | | - |
61 | enum Action { | - |
62 | NoBreak, | - |
63 | Break, | - |
64 | Lookup, | - |
65 | LookupW | - |
66 | }; | - |
67 | | - |
68 | static const uchar breakTable[QUnicodeTables::WordBreak_ExtendNumLet + 1][QUnicodeTables::WordBreak_ExtendNumLet + 1] = { | - |
69 | | - |
70 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
71 | { Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
72 | { Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
73 | { Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
74 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
75 | { Break , Break , Break , Break , NoBreak, NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
76 | { Break , Break , Break , Break , NoBreak, Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , NoBreak }, | - |
77 | { Break , Break , Break , Break , NoBreak, Break , Break , NoBreak, NoBreak, LookupW, Lookup , LookupW, LookupW, Break , NoBreak, NoBreak }, | - |
78 | { Break , Break , Break , Break , NoBreak, Break , Break , NoBreak, NoBreak, LookupW, Break , LookupW, LookupW, Break , NoBreak, NoBreak }, | - |
79 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
80 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
81 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
82 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
83 | { Break , Break , Break , Break , NoBreak, Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
84 | { Break , Break , Break , Break , NoBreak, Break , Break , NoBreak, NoBreak, Lookup , Break , Lookup , Break , Lookup , NoBreak, NoBreak }, | - |
85 | { Break , Break , Break , Break , NoBreak, Break , NoBreak, NoBreak, NoBreak, Break , Break , Break , Break , Break , NoBreak, NoBreak }, | - |
86 | }; | - |
87 | | - |
88 | } | - |
89 | | - |
90 | static void getWordBreaks(const ushort *string, quint32 len, QCharAttributes *attributes) | - |
91 | { | - |
92 | enum WordType { | - |
93 | WordTypeNone, WordTypeAlphaNumeric, WordTypeHiraganaKatakana | - |
94 | } currentWordType = WordTypeNone; | - |
95 | | - |
96 | QUnicodeTables::WordBreakClass cls = QUnicodeTables::WordBreak_LF; | - |
97 | for (quint32 i = 0; i != lenTRUE | evaluated 134912 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 1553 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
; ++i) { | 1553-134912 |
98 | quint32 pos = i; | - |
99 | uint ucs4 = string[i]; | - |
100 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 127 times by 1 test | FALSE | evaluated 134785 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
&& i + 1 != lenTRUE | evaluated 127 times by 1 test | FALSE | never evaluated |
) { | 0-134785 |
101 | ushort low = string[i + 1]; | - |
102 | if (QChar::isLowSurrogate(low)TRUE | evaluated 127 times by 1 test | FALSE | never evaluated |
) { | 0-127 |
103 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
104 | ++i; | - |
105 | }executed 127 times by 1 test: end of block | 127 |
106 | }executed 127 times by 1 test: end of block | 127 |
107 | | - |
108 | const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ucs4); | - |
109 | QUnicodeTables::WordBreakClass ncls = (QUnicodeTables::WordBreakClass) prop->wordBreakClass; | - |
110 | | - |
111 | if (qt_initcharattributes_default_algorithm_onlyTRUE | evaluated 5127 times by 1 test | FALSE | evaluated 129785 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) { | 5127-129785 |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | if (ucs4 == 0x002ETRUE | evaluated 290 times by 1 test | FALSE | evaluated 4837 times by 1 test |
) | 290-4837 |
117 | ncls = QUnicodeTables::WordBreak_MidNumLet;executed 290 times by 1 test: ncls = QUnicodeTables::WordBreak_MidNumLet; | 290 |
118 | else if (ucs4 == 0x003ATRUE | evaluated 384 times by 1 test | FALSE | evaluated 4453 times by 1 test |
) | 384-4453 |
119 | ncls = QUnicodeTables::WordBreak_MidLetter;executed 384 times by 1 test: ncls = QUnicodeTables::WordBreak_MidLetter; | 384 |
120 | }executed 5127 times by 1 test: end of block | 5127 |
121 | | - |
122 | | - |
123 | uchar action = WB::breakTable[cls][ncls]; | - |
124 | switch (action) { | - |
125 | caseexecuted 3856 times by 3 tests: case WB::Break: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
WB::Break:executed 3856 times by 3 tests: case WB::Break: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 3856 |
126 | break;executed 3856 times by 3 tests: break; Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 3856 |
127 | caseexecuted 130284 times by 3 tests: case WB::NoBreak: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
WB::NoBreak:executed 130284 times by 3 tests: case WB::NoBreak: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 130284 |
128 | if (__builtin_expect(!!(ncls == QUnicodeTables::WordBreak_Extend), false)TRUE | evaluated 1100 times by 1 test | FALSE | evaluated 129184 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) { | 1100-129184 |
129 | | - |
130 | continue;executed 1100 times by 1 test: continue; | 1100 |
131 | } | - |
132 | break;executed 129184 times by 3 tests: break; Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 129184 |
133 | caseexecuted 373 times by 1 test: case WB::Lookup: WB::Lookup:executed 373 times by 1 test: case WB::Lookup: | 373 |
134 | caseexecuted 399 times by 1 test: case WB::LookupW: WB::LookupW:executed 399 times by 1 test: case WB::LookupW: | 399 |
135 | for (quint32 lookahead = i + 1; lookahead < lenTRUE | evaluated 818 times by 1 test | FALSE | evaluated 362 times by 1 test |
; ++lookahead) { | 362-818 |
136 | ucs4 = string[lookahead]; | - |
137 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 12 times by 1 test | FALSE | evaluated 806 times by 1 test |
&& lookahead + 1 != lenTRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
) { | 0-806 |
138 | ushort low = string[lookahead + 1]; | - |
139 | if (QChar::isLowSurrogate(low)TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
) { | 0-12 |
140 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
141 | ++lookahead; | - |
142 | }executed 12 times by 1 test: end of block | 12 |
143 | }executed 12 times by 1 test: end of block | 12 |
144 | | - |
145 | prop = QUnicodeTables::properties(ucs4); | - |
146 | QUnicodeTables::WordBreakClass tcls = (QUnicodeTables::WordBreakClass) prop->wordBreakClass; | - |
147 | | - |
148 | if (__builtin_expect(!!(tcls == QUnicodeTables::WordBreak_Extend), false)TRUE | evaluated 408 times by 1 test | FALSE | evaluated 410 times by 1 test |
) { | 408-410 |
149 | | - |
150 | continue;executed 408 times by 1 test: continue; | 408 |
151 | } | - |
152 | | - |
153 | if (__builtin_expect(!!(tcls == cls || (action == WB::LookupW && (tcls == QUnicodeTables::WordBreak_HebrewLetter || tcls == QUnicodeTables::WordBreak_ALetter))), true)TRUE | evaluated 122 times by 1 test | FALSE | evaluated 288 times by 1 test |
| 122-288 |
154 | ) { | - |
155 | i = lookahead; | - |
156 | ncls = tcls; | - |
157 | action = WB::NoBreak; | - |
158 | }executed 122 times by 1 test: end of block | 122 |
159 | break;executed 410 times by 1 test: break; | 410 |
160 | } | - |
161 | if (action != WB::NoBreakTRUE | evaluated 650 times by 1 test | FALSE | evaluated 122 times by 1 test |
) { | 122-650 |
162 | action = WB::Break; | - |
163 | if (__builtin_expect(!!(ncls == QUnicodeTables::WordBreak_SingleQuote && cls == QUnicodeTables::WordBreak_HebrewLetter), false)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 648 times by 1 test |
) | 2-648 |
164 | action = WB::NoBreak;executed 2 times by 1 test: action = WB::NoBreak; | 2 |
165 | }executed 650 times by 1 test: end of block | 650 |
166 | break;executed 772 times by 1 test: break; | 772 |
167 | } | - |
168 | | - |
169 | cls = ncls; | - |
170 | if (action == WB::BreakTRUE | evaluated 4504 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 129308 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) { | 4504-129308 |
171 | attributes[pos].wordBreak = true; | - |
172 | if (currentWordType != WordTypeNoneTRUE | evaluated 1294 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 3210 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 1294-3210 |
173 | attributes[pos].wordEnd = true;executed 1294 times by 3 tests: attributes[pos].wordEnd = true; Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 1294 |
174 | switch (cls) { | - |
175 | caseexecuted 100 times by 1 test: case QUnicodeTables::WordBreak_Katakana: QUnicodeTables::WordBreak_Katakana:executed 100 times by 1 test: case QUnicodeTables::WordBreak_Katakana: | 100 |
176 | currentWordType = WordTypeHiraganaKatakana; | - |
177 | attributes[pos].wordStart = true; | - |
178 | break;executed 100 times by 1 test: break; | 100 |
179 | caseexecuted 89 times by 1 test: case QUnicodeTables::WordBreak_HebrewLetter: QUnicodeTables::WordBreak_HebrewLetter:executed 89 times by 1 test: case QUnicodeTables::WordBreak_HebrewLetter: | 89 |
180 | caseexecuted 998 times by 3 tests: case QUnicodeTables::WordBreak_ALetter: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
QUnicodeTables::WordBreak_ALetter:executed 998 times by 3 tests: case QUnicodeTables::WordBreak_ALetter: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 998 |
181 | caseexecuted 564 times by 1 test: case QUnicodeTables::WordBreak_Numeric: QUnicodeTables::WordBreak_Numeric:executed 564 times by 1 test: case QUnicodeTables::WordBreak_Numeric: | 564 |
182 | currentWordType = WordTypeAlphaNumeric; | - |
183 | attributes[pos].wordStart = true; | - |
184 | break;executed 1651 times by 3 tests: break; Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 1651 |
185 | defaultexecuted 2753 times by 3 tests: default: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
:executed 2753 times by 3 tests: default: Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 2753 |
186 | currentWordType = WordTypeNone; | - |
187 | break;executed 2753 times by 3 tests: break; Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 2753 |
188 | } | - |
189 | } | - |
190 | }executed 133812 times by 3 tests: end of block Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 133812 |
191 | | - |
192 | if (currentWordType != WordTypeNoneTRUE | evaluated 457 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 1096 times by 1 test |
) | 457-1096 |
193 | attributes[len].wordEnd = true;executed 457 times by 3 tests: attributes[len].wordEnd = true; Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 457 |
194 | attributes[len].wordBreak = true; | - |
195 | }executed 1553 times by 3 tests: end of block Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 1553 |
196 | | - |
197 | | - |
198 | namespace SB { | - |
199 | | - |
200 | enum State { | - |
201 | Initial, | - |
202 | Lower, | - |
203 | Upper, | - |
204 | LUATerm, | - |
205 | ATerm, | - |
206 | ATermC, | - |
207 | ACS, | - |
208 | STerm, | - |
209 | STermC, | - |
210 | SCS, | - |
211 | BAfterC, | - |
212 | BAfter, | - |
213 | Break, | - |
214 | Lookup | - |
215 | }; | - |
216 | | - |
217 | static const uchar breakTable[BAfter + 1][QUnicodeTables::SentenceBreak_Close + 1] = { | - |
218 | | - |
219 | { Initial, BAfterC, BAfter , BAfter , Initial, Initial, Lower , Upper , Initial, Initial, ATerm , Initial, STerm , Initial }, | - |
220 | { Initial, BAfterC, BAfter , BAfter , Lower , Initial, Initial, Initial, Initial, Initial, LUATerm, Initial, STerm , Initial }, | - |
221 | { Initial, BAfterC, BAfter , BAfter , Upper , Initial, Initial, Upper , Initial, Initial, LUATerm, STerm , STerm , Initial }, | - |
222 | | - |
223 | { Lookup , BAfterC, BAfter , BAfter , LUATerm, ACS , Initial, Upper , Break , Initial, ATerm , STerm , STerm , ATermC }, | - |
224 | { Lookup , BAfterC, BAfter , BAfter , ATerm , ACS , Initial, Break , Break , Initial, ATerm , STerm , STerm , ATermC }, | - |
225 | { Lookup , BAfterC, BAfter , BAfter , ATermC , ACS , Initial, Break , Break , Lookup , ATerm , STerm , STerm , ATermC }, | - |
226 | { Lookup , BAfterC, BAfter , BAfter , ACS , ACS , Initial, Break , Break , Lookup , ATerm , STerm , STerm , Lookup }, | - |
227 | | - |
228 | { Break , BAfterC, BAfter , BAfter , STerm , SCS , Break , Break , Break , Break , ATerm , STerm , STerm , STermC }, | - |
229 | { Break , BAfterC, BAfter , BAfter , STermC , SCS , Break , Break , Break , Break , ATerm , STerm , STerm , STermC }, | - |
230 | { Break , BAfterC, BAfter , BAfter , SCS , SCS , Break , Break , Break , Break , ATerm , STerm , STerm , Break }, | - |
231 | { Break , Break , BAfter , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
232 | { Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break , Break }, | - |
233 | }; | - |
234 | | - |
235 | } | - |
236 | | - |
237 | static void getSentenceBreaks(const ushort *string, quint32 len, QCharAttributes *attributes) | - |
238 | { | - |
239 | uchar state = SB::BAfter; | - |
240 | for (quint32 i = 0; i != lenTRUE | evaluated 2339 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| FALSE | evaluated 521 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
|
; ++i) { | 521-2339 |
241 | quint32 pos = i; | - |
242 | uint ucs4 = string[i]; | - |
243 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 9 times by 1 test | FALSE | evaluated 2330 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
|
&& i + 1 != lenTRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
) { | 0-2330 |
244 | ushort low = string[i + 1]; | - |
245 | if (QChar::isLowSurrogate(low)TRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
) { | 0-9 |
246 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
247 | ++i; | - |
248 | }executed 9 times by 1 test: end of block | 9 |
249 | }executed 9 times by 1 test: end of block | 9 |
250 | | - |
251 | const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ucs4); | - |
252 | QUnicodeTables::SentenceBreakClass ncls = (QUnicodeTables::SentenceBreakClass) prop->sentenceBreakClass; | - |
253 | | - |
254 | ((!(state <= SB::BAfter)) ? qt_assert("state <= SB::BAfter",__FILE__,305) : qt_noop()); | - |
255 | state = SB::breakTable[state][ncls]; | - |
256 | if (__builtin_expect(!!(state == SB::Lookup), false)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 2331 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
|
) { | 8-2331 |
257 | state = SB::Break; | - |
258 | for (quint32 lookahead = i + 1; lookahead < lenTRUE | evaluated 15 times by 1 test | FALSE | evaluated 2 times by 1 test |
; ++lookahead) { | 2-15 |
259 | ucs4 = string[lookahead]; | - |
260 | if (QChar::isHighSurrogate(ucs4)TRUE | never evaluated | FALSE | evaluated 15 times by 1 test |
&& lookahead + 1 != lenTRUE | never evaluated | FALSE | never evaluated |
) { | 0-15 |
261 | ushort low = string[lookahead + 1]; | - |
262 | if (QChar::isLowSurrogate(low)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
263 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
264 | ++lookahead; | - |
265 | } never executed: end of block | 0 |
266 | } never executed: end of block | 0 |
267 | | - |
268 | prop = QUnicodeTables::properties(ucs4); | - |
269 | QUnicodeTables::SentenceBreakClass tcls = (QUnicodeTables::SentenceBreakClass) prop->sentenceBreakClass; | - |
270 | switch (tcls) { | - |
271 | case never executed: case QUnicodeTables::SentenceBreak_Other: QUnicodeTables::SentenceBreak_Other:never executed: case QUnicodeTables::SentenceBreak_Other: | 0 |
272 | caseexecuted 5 times by 1 test: case QUnicodeTables::SentenceBreak_Extend: QUnicodeTables::SentenceBreak_Extend:executed 5 times by 1 test: case QUnicodeTables::SentenceBreak_Extend: | 5 |
273 | case never executed: case QUnicodeTables::SentenceBreak_Sp: QUnicodeTables::SentenceBreak_Sp:never executed: case QUnicodeTables::SentenceBreak_Sp: | 0 |
274 | case never executed: case QUnicodeTables::SentenceBreak_Numeric: QUnicodeTables::SentenceBreak_Numeric:never executed: case QUnicodeTables::SentenceBreak_Numeric: | 0 |
275 | case never executed: case QUnicodeTables::SentenceBreak_SContinue: QUnicodeTables::SentenceBreak_SContinue:never executed: case QUnicodeTables::SentenceBreak_SContinue: | 0 |
276 | caseexecuted 4 times by 1 test: case QUnicodeTables::SentenceBreak_Close: QUnicodeTables::SentenceBreak_Close:executed 4 times by 1 test: case QUnicodeTables::SentenceBreak_Close: | 4 |
277 | continue;executed 9 times by 1 test: continue; | 9 |
278 | caseexecuted 2 times by 1 test: case QUnicodeTables::SentenceBreak_Lower: QUnicodeTables::SentenceBreak_Lower:executed 2 times by 1 test: case QUnicodeTables::SentenceBreak_Lower: | 2 |
279 | i = lookahead; | - |
280 | state = SB::Initial; | - |
281 | break;executed 2 times by 1 test: break; | 2 |
282 | defaultexecuted 4 times by 1 test: default: :executed 4 times by 1 test: default: | 4 |
283 | break;executed 4 times by 1 test: break; | 4 |
284 | } | - |
285 | break;executed 6 times by 1 test: break; | 6 |
286 | } | - |
287 | }executed 8 times by 1 test: end of block | 8 |
288 | if (__builtin_expect(!!(state == SB::Break), false)TRUE | evaluated 672 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| FALSE | evaluated 1667 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
|
) { | 672-1667 |
289 | attributes[pos].sentenceBoundary = true; | - |
290 | state = SB::breakTable[SB::Initial][ncls]; | - |
291 | }executed 672 times by 2 tests: end of block Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| 672 |
292 | }executed 2339 times by 2 tests: end of block Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| 2339 |
293 | | - |
294 | attributes[len].sentenceBoundary = true; | - |
295 | }executed 521 times by 2 tests: end of block Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| 521 |
296 | namespace LB { | - |
297 | | - |
298 | namespace NS { | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | enum Action { | - |
305 | None, | - |
306 | Start, | - |
307 | Continue, | - |
308 | Break | - |
309 | }; | - |
310 | | - |
311 | enum Class { | - |
312 | XX, | - |
313 | PRPO, | - |
314 | OPHY, | - |
315 | NU, | - |
316 | SYIS, | - |
317 | CLCP | - |
318 | }; | - |
319 | | - |
320 | static const uchar actionTable[CLCP + 1][CLCP + 1] = { | - |
321 | | - |
322 | { None , Start , Start , Start , None , None }, | - |
323 | { None , Start , Continue, Continue, None , None }, | - |
324 | { None , Start , Start , Continue, None , None }, | - |
325 | { Break , Break , Break , Continue, Continue, Continue }, | - |
326 | { Break , Break , Break , Continue, Continue, Continue }, | - |
327 | { Break , Continue, Break , Break , Break , Break }, | - |
328 | }; | - |
329 | | - |
330 | inline Class toClass(QUnicodeTables::LineBreakClass lbc, QChar::Category category) | - |
331 | { | - |
332 | switch (lbc) { | - |
333 | caseexecuted 3461344 times by 109 tests: case QUnicodeTables::LineBreak_AL: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
QUnicodeTables::LineBreak_AL:executed 3461344 times by 109 tests: case QUnicodeTables::LineBreak_AL: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 3461344 |
334 | | - |
335 | if (category == QChar::Symbol_MathTRUE | evaluated 2604 times by 13 testsEvaluated by:- tst_QComplexText
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QShortcut
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTreeView
- tst_QWizard
| FALSE | evaluated 3458740 times by 109 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 2604-3458740 |
336 | returnexecuted 2604 times by 13 tests: return SYIS; Executed by:- tst_QComplexText
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QShortcut
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTreeView
- tst_QWizard
SYIS;executed 2604 times by 13 tests: return SYIS; Executed by:- tst_QComplexText
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QShortcut
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTreeView
- tst_QWizard
| 2604 |
337 | break;executed 3458740 times by 109 tests: break; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 3458740 |
338 | caseexecuted 4431 times by 23 tests: case QUnicodeTables::LineBreak_PR: Executed by:- tst_QBoxLayout
- tst_QColumnView
- tst_QComplexText
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPushButton
- tst_QShortcut
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
QUnicodeTables::LineBreak_PR:executed 4431 times by 23 tests: case QUnicodeTables::LineBreak_PR: Executed by:- tst_QBoxLayout
- tst_QColumnView
- tst_QComplexText
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPushButton
- tst_QShortcut
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
caseexecuted 477 times by 8 tests: case QUnicodeTables::LineBreak_PO: Executed by:- tst_QComplexText
- tst_QInputDialog
- tst_QLineEdit
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressBar
- tst_QTextBoundaryFinder
- tst_QTextLayout
QUnicodeTables::LineBreak_PO:executed 477 times by 8 tests: case QUnicodeTables::LineBreak_PO: Executed by:- tst_QComplexText
- tst_QInputDialog
- tst_QLineEdit
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressBar
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 477-4431 |
339 | returnexecuted 4908 times by 26 tests: return PRPO; Executed by:- tst_QBoxLayout
- tst_QColumnView
- tst_QComplexText
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressBar
- tst_QPushButton
- tst_QShortcut
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- ...
PRPO;executed 4908 times by 26 tests: return PRPO; Executed by:- tst_QBoxLayout
- tst_QColumnView
- tst_QComplexText
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressBar
- tst_QPushButton
- tst_QShortcut
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- ...
| 4908 |
340 | caseexecuted 7892 times by 26 tests: case QUnicodeTables::LineBreak_OP: Executed by:- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QTableView
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTreeView
- tst_QTreeWidget
- ...
QUnicodeTables::LineBreak_OP:executed 7892 times by 26 tests: case QUnicodeTables::LineBreak_OP: Executed by:- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QTableView
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTreeView
- tst_QTreeWidget
- ...
caseexecuted 75165 times by 33 tests: case QUnicodeTables::LineBreak_HY: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStandardItemModel
- ...
QUnicodeTables::LineBreak_HY:executed 75165 times by 33 tests: case QUnicodeTables::LineBreak_HY: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStandardItemModel
- ...
| 7892-75165 |
341 | returnexecuted 83057 times by 41 tests: return OPHY; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- ...
OPHY;executed 83057 times by 41 tests: return OPHY; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- ...
| 83057 |
342 | caseexecuted 990330 times by 75 tests: case QUnicodeTables::LineBreak_NU: Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
QUnicodeTables::LineBreak_NU:executed 990330 times by 75 tests: case QUnicodeTables::LineBreak_NU: Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 990330 |
343 | returnexecuted 990330 times by 75 tests: return NU; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
NU;executed 990330 times by 75 tests: return NU; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- ...
| 990330 |
344 | caseexecuted 91544 times by 24 tests: case QUnicodeTables::LineBreak_SY: Executed by:- tst_QAccessibility
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QTreeView
- tst_languageChange
QUnicodeTables::LineBreak_SY:executed 91544 times by 24 tests: case QUnicodeTables::LineBreak_SY: Executed by:- tst_QAccessibility
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QTreeView
- tst_languageChange
caseexecuted 139841 times by 47 tests: case QUnicodeTables::LineBreak_IS: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
QUnicodeTables::LineBreak_IS:executed 139841 times by 47 tests: case QUnicodeTables::LineBreak_IS: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
| 91544-139841 |
345 | returnexecuted 231385 times by 51 tests: return SYIS; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
SYIS;executed 231385 times by 51 tests: return SYIS; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
| 231385 |
346 | caseexecuted 472 times by 9 tests: case QUnicodeTables::LineBreak_CL: Executed by:- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextBoundaryFinder
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
QUnicodeTables::LineBreak_CL:executed 472 times by 9 tests: case QUnicodeTables::LineBreak_CL: Executed by:- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextBoundaryFinder
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
caseexecuted 7483 times by 24 tests: case QUnicodeTables::LineBreak_CP: Executed by:- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QTableView
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTreeView
- tst_QTreeWidget
- tst_languageChange
QUnicodeTables::LineBreak_CP:executed 7483 times by 24 tests: case QUnicodeTables::LineBreak_CP: Executed by:- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QTableView
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTreeView
- tst_QTreeWidget
- tst_languageChange
| 472-7483 |
347 | returnexecuted 7955 times by 26 tests: return CLCP; Executed by:- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QTableView
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTreeView
- tst_QTreeWidget
- ...
CLCP;executed 7955 times by 26 tests: return CLCP; Executed by:- tst_QComplexText
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QTableView
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTreeView
- tst_QTreeWidget
- ...
| 7955 |
348 | defaultexecuted 443334 times by 87 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
:executed 443334 times by 87 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 443334 |
349 | break;executed 443334 times by 87 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 443334 |
350 | } | - |
351 | returnexecuted 3902074 times by 110 tests: return XX; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
XX;executed 3902074 times by 110 tests: return XX; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 3902074 |
352 | } | - |
353 | | - |
354 | } | - |
355 | enum Action { | - |
356 | ProhibitedBreak, PB = ProhibitedBreak, | - |
357 | DirectBreak, DB = DirectBreak, | - |
358 | IndirectBreak, IB = IndirectBreak, | - |
359 | CombiningIndirectBreak, CI = CombiningIndirectBreak, | - |
360 | CombiningProhibitedBreak, CP = CombiningProhibitedBreak, | - |
361 | ProhibitedBreakAfterHebrewPlusHyphen, HH = ProhibitedBreakAfterHebrewPlusHyphen | - |
362 | }; | - |
363 | | - |
364 | static const uchar breakTable[QUnicodeTables::LineBreak_CB + 1][QUnicodeTables::LineBreak_CB + 1] = { | - |
365 | | - |
366 | { PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, CP, PB, PB, PB, PB, PB, PB, PB, PB }, | - |
367 | { DB, PB, PB, IB, IB, PB, PB, PB, PB, DB, DB, DB, DB, DB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
368 | { DB, PB, PB, IB, IB, PB, PB, PB, PB, DB, DB, IB, IB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
369 | { PB, PB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, PB, CI, PB, IB, IB, IB, IB, IB, IB, IB }, | - |
370 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, PB, CI, PB, IB, IB, IB, IB, IB, IB, IB }, | - |
371 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, DB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
372 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
373 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
374 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, IB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
375 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, IB, IB, IB, IB, DB, IB, IB, DB, DB, PB, CI, PB, IB, IB, IB, IB, IB, DB, DB }, | - |
376 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, IB, IB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
377 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
378 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, IB, IB, IB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
379 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, IB, IB, IB, DB, IB, CI, CI, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
380 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
381 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
382 | { HH, PB, PB, IB, HH, IB, PB, PB, PB, HH, HH, IB, HH, HH, HH, HH, IB, IB, HH, HH, PB, CI, PB, HH, HH, HH, HH, HH, HH, DB }, | - |
383 | { HH, PB, PB, IB, HH, IB, PB, PB, PB, HH, HH, HH, HH, HH, HH, HH, IB, IB, HH, HH, PB, CI, PB, HH, HH, HH, HH, HH, HH, DB }, | - |
384 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, PB, CI, PB, IB, IB, IB, IB, IB, IB, DB }, | - |
385 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, DB, DB, DB, IB, IB, DB, PB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
386 | { DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, PB, DB, DB, DB, DB, DB, DB, DB, DB, DB }, | - |
387 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, IB, IB, IB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB }, | - |
388 | { IB, PB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, PB, CI, PB, IB, IB, IB, IB, IB, IB, IB }, | - |
389 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, IB, IB, DB, DB }, | - |
390 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, IB, DB, DB }, | - |
391 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, IB, IB, IB, IB, DB, DB, DB }, | - |
392 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, IB, IB, DB, DB }, | - |
393 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, DB, DB, DB, IB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, IB, DB, DB }, | - |
394 | { DB, PB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, DB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, IB, DB }, | - |
395 | { DB, PB, PB, IB, IB, DB, PB, PB, PB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB, DB, DB } | - |
396 | }; | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | } | - |
403 | | - |
404 | static void getLineBreaks(const ushort *string, quint32 len, QCharAttributes *attributes) | - |
405 | { | - |
406 | quint32 nestart = 0; | - |
407 | LB::NS::Class nelast = LB::NS::XX; | - |
408 | | - |
409 | QUnicodeTables::LineBreakClass lcls = QUnicodeTables::LineBreak_LF; | - |
410 | QUnicodeTables::LineBreakClass cls = lcls; | - |
411 | for (quint32 i = 0; i != lenTRUE | evaluated 5225275 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 213827 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; ++i) { | 213827-5225275 |
412 | quint32 pos = i; | - |
413 | uint ucs4 = string[i]; | - |
414 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 650 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 5224625 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& i + 1 != lenTRUE | evaluated 650 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | never evaluated |
) { | 0-5224625 |
415 | ushort low = string[i + 1]; | - |
416 | if (QChar::isLowSurrogate(low)TRUE | evaluated 650 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | never evaluated |
) { | 0-650 |
417 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
418 | ++i; | - |
419 | }executed 650 times by 2 tests: end of block Executed by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| 650 |
420 | }executed 650 times by 2 tests: end of block Executed by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| 650 |
421 | | - |
422 | const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ucs4); | - |
423 | QUnicodeTables::LineBreakClass ncls = (QUnicodeTables::LineBreakClass) prop->lineBreakClass; | - |
424 | | - |
425 | if (__builtin_expect(!!(ncls == QUnicodeTables::LineBreak_SA), false)TRUE | evaluated 1374 times by 3 testsEvaluated by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 5223901 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 1374-5223901 |
426 | | - |
427 | static const int test = (1 << (QChar::Mark_NonSpacing)) | (1 << (QChar::Mark_SpacingCombining)); | - |
428 | if ((TRUE | evaluated 190 times by 2 testsEvaluated by:- tst_QLabel
- tst_QTextLayout
| FALSE | evaluated 1184 times by 3 testsEvaluated by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
1 << (prop->category)) & testTRUE | evaluated 190 times by 2 testsEvaluated by:- tst_QLabel
- tst_QTextLayout
| FALSE | evaluated 1184 times by 3 testsEvaluated by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 190-1184 |
429 | ncls = QUnicodeTables::LineBreak_CM;executed 190 times by 2 tests: ncls = QUnicodeTables::LineBreak_CM; Executed by:- tst_QLabel
- tst_QTextLayout
| 190 |
430 | }executed 1374 times by 3 tests: end of block Executed by:- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 1374 |
431 | if (__builtin_expect(!!(ncls == QUnicodeTables::LineBreak_CM), false)TRUE | evaluated 3747 times by 4 testsEvaluated by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 5221528 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 3747-5221528 |
432 | | - |
433 | if (lcls == QUnicodeTables::LineBreak_ZWTRUE | evaluated 79 times by 1 test | FALSE | evaluated 3668 times by 4 testsEvaluated by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
|| lcls >= QUnicodeTables::LineBreak_SPTRUE | evaluated 706 times by 2 testsEvaluated by:- tst_QComplexText
- tst_QTextBoundaryFinder
| FALSE | evaluated 2962 times by 4 testsEvaluated by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 79-3668 |
434 | ncls = QUnicodeTables::LineBreak_AL;executed 785 times by 2 tests: ncls = QUnicodeTables::LineBreak_AL; Executed by:- tst_QComplexText
- tst_QTextBoundaryFinder
| 785 |
435 | }executed 3747 times by 4 tests: end of block Executed by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 3747 |
436 | | - |
437 | if (__builtin_expect(!!(ncls != QUnicodeTables::LineBreak_CM), true)TRUE | evaluated 5222313 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 2962 times by 4 testsEvaluated by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) { | 2962-5222313 |
438 | | - |
439 | LB::NS::Class necur = LB::NS::toClass(ncls, (QChar::Category)prop->category); | - |
440 | switch (LB::NS::actionTable[nelast][necur]) { | - |
441 | caseexecuted 149502 times by 47 tests: case LB::NS::Break: Executed by:- tst_QAccessibility
- tst_QButtonGroup
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
LB::NS::Break:executed 149502 times by 47 tests: case LB::NS::Break: Executed by:- tst_QAccessibility
- tst_QButtonGroup
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
| 149502 |
442 | | - |
443 | for (quint32 j = nestart + 1; j < posTRUE | evaluated 134928 times by 36 testsEvaluated by:- tst_QAccessibility
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| FALSE | evaluated 149502 times by 47 testsEvaluated by:- tst_QAccessibility
- tst_QButtonGroup
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
|
; ++j) | 134928-149502 |
444 | attributes[j].lineBreak = false;executed 134928 times by 36 tests: attributes[j].lineBreak = false; Executed by:- tst_QAccessibility
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 134928 |
445 | | - |
446 | caseexecuted 3947139 times by 109 tests: case LB::NS::None: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
LB::NS::None:executed 3947139 times by 109 tests: case LB::NS::None: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
code before this statement executed 149502 times by 47 tests: case LB::NS::None: Executed by:- tst_QAccessibility
- tst_QButtonGroup
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
| 149502-3947139 |
447 | nelast = LB::NS::XX; | - |
448 | break;executed 4096641 times by 111 tests: break; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 4096641 |
449 | caseexecuted 373172 times by 80 tests: case LB::NS::Start: Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
LB::NS::Start:executed 373172 times by 80 tests: case LB::NS::Start: Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 373172 |
450 | nestart = i; | - |
451 | | - |
452 | defaultexecuted 752500 times by 53 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
:executed 752500 times by 53 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
code before this statement executed 373172 times by 80 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 373172-752500 |
453 | nelast = necur; | - |
454 | break;executed 1125672 times by 80 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- ...
| 1125672 |
455 | } | - |
456 | } | - |
457 | | - |
458 | if (__builtin_expect(!!(lcls >= QUnicodeTables::LineBreak_CR), false)TRUE | evaluated 223542 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 5001733 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 223542-5001733 |
459 | | - |
460 | if (lcls > QUnicodeTables::LineBreak_CRTRUE | evaluated 223378 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 164 times by 1 test |
|| ncls != QUnicodeTables::LineBreak_LFTRUE | evaluated 159 times by 1 test | FALSE | evaluated 5 times by 1 test |
) | 5-223378 |
461 | attributes[pos].lineBreak = attributes[pos].mandatoryBreak = true;executed 223537 times by 114 tests: attributes[pos].lineBreak = attributes[pos].mandatoryBreak = true; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 223537 |
462 | gotoexecuted 223542 times by 114 tests: goto next; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
next;executed 223542 times by 114 tests: goto next; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 223542 |
463 | } | - |
464 | | - |
465 | if (__builtin_expect(!!(ncls >= QUnicodeTables::LineBreak_SP), false)TRUE | evaluated 429241 times by 84 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| FALSE | evaluated 4572492 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 429241-4572492 |
466 | if (ncls > QUnicodeTables::LineBreak_SPTRUE | evaluated 9788 times by 14 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QErrorMessage
- tst_QItemDelegate
- tst_QListView
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QWizard
| FALSE | evaluated 419453 times by 84 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
|
) | 9788-419453 |
467 | gotoexecuted 9788 times by 14 tests: goto next; Executed by:- tst_QAccessibility
- tst_QComplexText
- tst_QErrorMessage
- tst_QItemDelegate
- tst_QListView
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QWizard
next;executed 9788 times by 14 tests: goto next; Executed by:- tst_QAccessibility
- tst_QComplexText
- tst_QErrorMessage
- tst_QItemDelegate
- tst_QListView
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QWizard
| 9788 |
468 | gotoexecuted 419453 times by 84 tests: goto next_no_cls_update; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
next_no_cls_update;executed 419453 times by 84 tests: goto next_no_cls_update; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 419453 |
469 | } | - |
470 | | - |
471 | | - |
472 | | - |
473 | if (__builtin_expect(!!(cls >= QUnicodeTables::LineBreak_SA), false)TRUE | evaluated 1350 times by 11 testsEvaluated by:- tst_QDateTimeEdit
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QSyntaxHighlighter
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextLayout
- tst_QWizard
| FALSE | evaluated 4571142 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 1350-4571142 |
474 | cls = QUnicodeTables::LineBreak_AL;executed 1350 times by 11 tests: cls = QUnicodeTables::LineBreak_AL; Executed by:- tst_QDateTimeEdit
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QSyntaxHighlighter
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextLayout
- tst_QWizard
| 1350 |
475 | | - |
476 | switch (LB::breakTable[cls][ncls < QUnicodeTables::LineBreak_SA ? ncls : QUnicodeTables::LineBreak_AL]) { | - |
477 | caseexecuted 84719 times by 43 tests: case LB::DirectBreak: Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPlainTextEdit
- ...
LB::DirectBreak:executed 84719 times by 43 tests: case LB::DirectBreak: Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPlainTextEdit
- ...
| 84719 |
478 | attributes[pos].lineBreak = true; | - |
479 | break;executed 84719 times by 43 tests: break; Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QColumnView
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPlainTextEdit
- ...
| 84719 |
480 | caseexecuted 4173176 times by 112 tests: case LB::IndirectBreak: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
LB::IndirectBreak:executed 4173176 times by 112 tests: case LB::IndirectBreak: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 4173176 |
481 | if (lcls == QUnicodeTables::LineBreak_SPTRUE | evaluated 411372 times by 82 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| FALSE | evaluated 3761804 times by 112 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 411372-3761804 |
482 | attributes[pos].lineBreak = true;executed 411372 times by 82 tests: attributes[pos].lineBreak = true; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 411372 |
483 | break;executed 4173176 times by 112 tests: break; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 4173176 |
484 | caseexecuted 2898 times by 4 tests: case LB::CombiningIndirectBreak: Executed by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
LB::CombiningIndirectBreak:executed 2898 times by 4 tests: case LB::CombiningIndirectBreak: Executed by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 2898 |
485 | if (lcls != QUnicodeTables::LineBreak_SPTRUE | evaluated 2894 times by 4 testsEvaluated by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 4 times by 1 test |
) | 4-2894 |
486 | gotoexecuted 2894 times by 4 tests: goto next_no_cls_update; Executed by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
next_no_cls_update;executed 2894 times by 4 tests: goto next_no_cls_update; Executed by:- tst_QComplexText
- tst_QLabel
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 2894 |
487 | attributes[pos].lineBreak = true; | - |
488 | break;executed 4 times by 1 test: break; | 4 |
489 | caseexecuted 82 times by 1 test: case LB::CombiningProhibitedBreak: LB::CombiningProhibitedBreak:executed 82 times by 1 test: case LB::CombiningProhibitedBreak: | 82 |
490 | if (lcls != QUnicodeTables::LineBreak_SPTRUE | evaluated 82 times by 1 test | FALSE | never evaluated |
) | 0-82 |
491 | gotoexecuted 82 times by 1 test: goto next_no_cls_update; next_no_cls_update;executed 82 times by 1 test: goto next_no_cls_update; | 82 |
492 | break; never executed: break; | 0 |
493 | caseexecuted 65281 times by 26 tests: case LB::ProhibitedBreakAfterHebrewPlusHyphen: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTreeView
- ...
LB::ProhibitedBreakAfterHebrewPlusHyphen:executed 65281 times by 26 tests: case LB::ProhibitedBreakAfterHebrewPlusHyphen: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTreeView
- ...
| 65281 |
494 | if (lcls != QUnicodeTables::LineBreak_HLTRUE | evaluated 65281 times by 26 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTreeView
- ...
| FALSE | never evaluated |
) | 0-65281 |
495 | attributes[pos].lineBreak = true;executed 65281 times by 26 tests: attributes[pos].lineBreak = true; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTreeView
- ...
| 65281 |
496 | break;executed 65281 times by 26 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMdiArea
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QStackedLayout
- tst_QTextBoundaryFinder
- tst_QTextCursor
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTreeView
- ...
| 65281 |
497 | caseexecuted 246336 times by 56 tests: case LB::ProhibitedBreak: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- ...
LB::ProhibitedBreak:executed 246336 times by 56 tests: case LB::ProhibitedBreak: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- ...
| 246336 |
498 | | - |
499 | default never executed: default: :never executed: default: | 0 |
500 | break;executed 246336 times by 56 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QLabel
- ...
| 246336 |
501 | } | - |
502 | | - |
503 | next:code before this statement executed 4569516 times by 113 tests: next: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 4569516 |
504 | cls = ncls; | - |
505 | next_no_cls_update:code before this statement executed 4802846 times by 114 tests: next_no_cls_update: 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 4802846 |
506 | lcls = ncls; | - |
507 | }executed 5225275 times by 114 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5225275 |
508 | | - |
509 | if (__builtin_expect(!!(LB::NS::actionTable[nelast][LB::NS::XX] == LB::NS::Break), false)TRUE | evaluated 151266 times by 68 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
| FALSE | evaluated 62561 times by 108 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 62561-151266 |
510 | | - |
511 | for (quint32 j = nestart + 1; j < lenTRUE | evaluated 617611 times by 44 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- ...
| FALSE | evaluated 151266 times by 68 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
|
; ++j) | 151266-617611 |
512 | attributes[j].lineBreak = false;executed 617611 times by 44 tests: attributes[j].lineBreak = false; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- ...
| 617611 |
513 | }executed 151266 times by 68 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
| 151266 |
514 | | - |
515 | attributes[0].lineBreak = attributes[0].mandatoryBreak = false; | - |
516 | attributes[len].lineBreak = attributes[len].mandatoryBreak = true; | - |
517 | }executed 213827 times by 114 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 213827 |
518 | | - |
519 | | - |
520 | static void getWhiteSpaces(const ushort *string, quint32 len, QCharAttributes *attributes) | - |
521 | { | - |
522 | for (quint32 i = 0; i != lenTRUE | evaluated 5204972 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 207489 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; ++i) { | 207489-5204972 |
523 | uint ucs4 = string[i]; | - |
524 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 5204969 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& i + 1 != lenTRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
) { | 0-5204969 |
525 | ushort low = string[i + 1]; | - |
526 | if (QChar::isLowSurrogate(low)TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
) { | 0-3 |
527 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
528 | ++i; | - |
529 | }executed 3 times by 1 test: end of block | 3 |
530 | }executed 3 times by 1 test: end of block | 3 |
531 | | - |
532 | if (__builtin_expect(!!(QChar::isSpace(ucs4)), false)TRUE | evaluated 426158 times by 85 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| FALSE | evaluated 4778814 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 426158-4778814 |
533 | attributes[i].whiteSpace = true;executed 426158 times by 85 tests: attributes[i].whiteSpace = true; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 426158 |
534 | }executed 5204972 times by 113 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5204972 |
535 | }executed 207489 times by 113 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 207489 |
536 | | - |
537 | | - |
538 | __attribute__((visibility("default"))) void initCharAttributes(const ushort *string, int length, | - |
539 | const ScriptItem *items, int numItems, | - |
540 | QCharAttributes *attributes, CharAttributeOptions options) | - |
541 | { | - |
542 | if (length <= 0TRUE | evaluated 29 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QTabBar
- tst_QTabWidget
- tst_QTextCursor
- tst_QTextLayout
| FALSE | evaluated 216335 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 29-216335 |
543 | return;executed 29 times by 8 tests: return; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QTabBar
- tst_QTabWidget
- tst_QTextCursor
- tst_QTextLayout
| 29 |
544 | | - |
545 | if (!(options & DontClearAttributes)TRUE | evaluated 216335 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
) | 0-216335 |
546 | ::executed 216335 times by 114 tests: ::memset(attributes, 0, (length + 1) * sizeof(QCharAttributes)); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
memset(attributes, 0, (length + 1) * sizeof(QCharAttributes));executed 216335 times by 114 tests: ::memset(attributes, 0, (length + 1) * sizeof(QCharAttributes)); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 216335 |
547 | | - |
548 | if (options & GraphemeBreaksTRUE | evaluated 207923 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 8412 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 8412-207923 |
549 | getGraphemeBreaks(string, length, attributes);executed 207923 times by 114 tests: getGraphemeBreaks(string, length, attributes); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 207923 |
550 | if (options & WordBreaksTRUE | evaluated 1553 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 214782 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 1553-214782 |
551 | getWordBreaks(string, length, attributes);executed 1553 times by 3 tests: getWordBreaks(string, length, attributes); Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
| 1553 |
552 | if (options & SentenceBreaksTRUE | evaluated 521 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| FALSE | evaluated 215814 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 521-215814 |
553 | getSentenceBreaks(string, length, attributes);executed 521 times by 2 tests: getSentenceBreaks(string, length, attributes); Executed by:- tst_QAccessibility
- tst_QTextBoundaryFinder
| 521 |
554 | if (options & LineBreaksTRUE | evaluated 213827 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 2508 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 2508-213827 |
555 | getLineBreaks(string, length, attributes);executed 213827 times by 114 tests: getLineBreaks(string, length, attributes); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 213827 |
556 | if (options & WhiteSpacesTRUE | evaluated 207489 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 8846 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBoundaryFinder
- tst_QTextLayout
|
) | 8846-207489 |
557 | getWhiteSpaces(string, length, attributes);executed 207489 times by 113 tests: getWhiteSpaces(string, length, attributes); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 207489 |
558 | | - |
559 | if (!qt_initcharattributes_default_algorithm_onlyTRUE | evaluated 207630 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 8705 times by 1 test |
) { | 8705-207630 |
560 | if (!itemsTRUE | never evaluated | FALSE | evaluated 207630 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
|| numItems <= 0TRUE | never evaluated | FALSE | evaluated 207630 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 0-207630 |
561 | return; never executed: return; | 0 |
562 | | - |
563 | QVarLengthArray<HB_ScriptItem, 64> scriptItems; | - |
564 | scriptItems.reserve(numItems); | - |
565 | int start = 0; | - |
566 | HB_Script startScript = script_to_hbscript(items[start].script); | - |
567 | if (__builtin_expect(!!(startScript == HB_Script_Inherited), false)TRUE | never evaluated | FALSE | evaluated 207630 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 0-207630 |
568 | startScript = HB_Script_Common; never executed: startScript = HB_Script_Common; | 0 |
569 | for (int i = start + 1; i < numItemsTRUE | evaluated 220606 times by 40 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPushButton
- ...
| FALSE | evaluated 207630 times by 114 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; ++i) { | 207630-220606 |
570 | HB_Script script = script_to_hbscript(items[i].script); | - |
571 | if (__builtin_expect(!!(script == startScript || script == HB_Script_Inherited), true)TRUE | evaluated 220349 times by 39 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPushButton
- tst_QStackedLayout
- ...
| FALSE | evaluated 257 times by 5 testsEvaluated by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLineEdit
- tst_QStaticText
- tst_QTextEdit
|
) | 257-220349 |
572 | continue;executed 220349 times by 39 tests: continue; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPushButton
- tst_QStackedLayout
- ...
| 220349 |
573 | ((!(items[i].position > items[start].position)) ? qt_assert("items[i].position > items[start].position",__FILE__,653) : qt_noop()); | - |
574 | HB_ScriptItem item; | - |
575 | item.pos = items[start].position; | - |
576 | item.length = items[i].position - items[start].position; | - |
577 | item.script = startScript; | - |
578 | item.bidiLevel = 0; | - |
579 | scriptItems.append(item); | - |
580 | start = i; | - |
581 | startScript = script; | - |
582 | }executed 257 times by 5 tests: end of block Executed by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLineEdit
- tst_QStaticText
- tst_QTextEdit
| 257 |
583 | if (items[start].position + 1 < lengthTRUE | evaluated 180993 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 26637 times by 61 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
) { | 26637-180993 |
584 | HB_ScriptItem item; | - |
585 | item.pos = items[start].position; | - |
586 | item.length = length - items[start].position; | - |
587 | item.script = startScript; | - |
588 | item.bidiLevel = 0; | - |
589 | scriptItems.append(item); | - |
590 | }executed 180993 times by 113 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 180993 |
591 | static_assert(bool(sizeof(QCharAttributes) == sizeof(HB_CharAttributes)), "sizeof(QCharAttributes) == sizeof(HB_CharAttributes)"); | - |
592 | HB_GetTailoredCharAttributes(string, length, | - |
593 | scriptItems.constData(), scriptItems.size(), | - |
594 | reinterpret_cast<HB_CharAttributes *>(attributes)); | - |
595 | }executed 207630 times by 114 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 207630 |
596 | }executed 216335 times by 114 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 216335 |
597 | __attribute__((visibility("default"))) void initScripts(const ushort *string, int length, uchar *scripts) | - |
598 | { | - |
599 | int sor = 0; | - |
600 | int eor = 0; | - |
601 | uchar script = QChar::Script_Common; | - |
602 | | - |
603 | for (int i = 0; i < lengthTRUE | evaluated 6067506 times by 116 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 257027 times by 116 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; ++i, eor = i) { | 257027-6067506 |
604 | uint ucs4 = string[i]; | - |
605 | if (QChar::isHighSurrogate(ucs4)TRUE | evaluated 921 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 6066585 times by 116 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& i + 1 < lengthTRUE | evaluated 893 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 28 times by 1 test |
) { | 28-6066585 |
606 | ushort low = string[i + 1]; | - |
607 | if (QChar::isLowSurrogate(low)TRUE | evaluated 865 times by 2 testsEvaluated by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| FALSE | evaluated 28 times by 1 test |
) { | 28-865 |
608 | ucs4 = QChar::surrogateToUcs4(ucs4, low); | - |
609 | ++i; | - |
610 | }executed 865 times by 2 tests: end of block Executed by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| 865 |
611 | }executed 893 times by 2 tests: end of block Executed by:- tst_QTextBoundaryFinder
- tst_QTextLayout
| 893 |
612 | | - |
613 | const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ucs4); | - |
614 | | - |
615 | uchar nscript = prop->script; | - |
616 | | - |
617 | if (__builtin_expect(!!(nscript == script || nscript <= QChar::Script_Common), true)TRUE | evaluated 5966042 times by 116 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 101464 times by 112 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 101464-5966042 |
618 | continue;executed 5966042 times by 116 tests: continue; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5966042 |
619 | | - |
620 | | - |
621 | if (__builtin_expect(!!(script <= QChar::Script_Common), false)TRUE | evaluated 100737 times by 112 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 727 times by 7 testsEvaluated by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLineEdit
- tst_QStaticText
- tst_QTextBoundaryFinder
- tst_QTextEdit
- tst_QTextLayout
|
) { | 727-100737 |
622 | | - |
623 | | - |
624 | script = nscript; | - |
625 | continue;executed 100737 times by 112 tests: continue; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 100737 |
626 | } | - |
627 | | - |
628 | | - |
629 | | - |
630 | | - |
631 | static const int test = ((1 << (QChar::Mark_NonSpacing)) | (1 << (QChar::Mark_SpacingCombining)) | (1 << (QChar::Mark_Enclosing))); | - |
632 | if (__builtin_expect(!!((1 << (prop->category)) & test), false)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 717 times by 7 testsEvaluated by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLineEdit
- tst_QStaticText
- tst_QTextBoundaryFinder
- tst_QTextEdit
- tst_QTextLayout
|
) | 10-717 |
633 | continue;executed 10 times by 1 test: continue; | 10 |
634 | | - |
635 | ((!(script > QChar::Script_Common)) ? qt_assert("script > QChar::Script_Common",__FILE__,723) : qt_noop()); | - |
636 | ((!(sor < eor)) ? qt_assert("sor < eor",__FILE__,724) : qt_noop()); | - |
637 | ::memset(scripts + sor, script, (eor - sor) * sizeof(uchar)); | - |
638 | sor = eor; | - |
639 | | - |
640 | script = nscript; | - |
641 | }executed 717 times by 7 tests: end of block Executed by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLineEdit
- tst_QStaticText
- tst_QTextBoundaryFinder
- tst_QTextEdit
- tst_QTextLayout
| 717 |
642 | | - |
643 | ((!(script >= QChar::Script_Common)) ? qt_assert("script >= QChar::Script_Common",__FILE__,731) : qt_noop()); | - |
644 | ((!(eor == length)) ? qt_assert("eor == length",__FILE__,732) : qt_noop()); | - |
645 | ::memset(scripts + sor, script, (eor - sor) * sizeof(uchar)); | - |
646 | }executed 257027 times by 116 tests: end of block 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 257027 |
647 | | - |
648 | } | - |
649 | | - |
650 | | - |
| | |