Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qregexp.h" | - |
41 | | - |
42 | #include "qalgorithms.h" | - |
43 | #include "qbitarray.h" | - |
44 | #include "qcache.h" | - |
45 | #include "qdatastream.h" | - |
46 | #include "qdebug.h" | - |
47 | #include "qhashfunctions.h" | - |
48 | #include "qlist.h" | - |
49 | #include "qmap.h" | - |
50 | #include "qmutex.h" | - |
51 | #include "qstring.h" | - |
52 | #include "qstringlist.h" | - |
53 | #include "qstringmatcher.h" | - |
54 | #include "qvector.h" | - |
55 | | - |
56 | #include <limits.h> | - |
57 | #include <algorithm> | - |
58 | | - |
59 | QT_BEGIN_NAMESPACE | - |
60 | | - |
61 | int qFindString(const QChar *haystack, int haystackLen, int from, | - |
62 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs); | - |
63 | | - |
64 | | - |
65 | #define RXERR_OK QT_TRANSLATE_NOOP("QRegExp", "no error occurred") | - |
66 | #define RXERR_DISABLED QT_TRANSLATE_NOOP("QRegExp", "disabled feature used") | - |
67 | #define RXERR_CHARCLASS QT_TRANSLATE_NOOP("QRegExp", "bad char class syntax") | - |
68 | #define RXERR_LOOKAHEAD QT_TRANSLATE_NOOP("QRegExp", "bad lookahead syntax") | - |
69 | #define RXERR_LOOKBEHIND QT_TRANSLATE_NOOP("QRegExp", "lookbehinds not supported, see QTBUG-2371") | - |
70 | #define RXERR_REPETITION QT_TRANSLATE_NOOP("QRegExp", "bad repetition syntax") | - |
71 | #define RXERR_OCTAL QT_TRANSLATE_NOOP("QRegExp", "invalid octal value") | - |
72 | #define RXERR_LEFTDELIM QT_TRANSLATE_NOOP("QRegExp", "missing left delim") | - |
73 | #define RXERR_END QT_TRANSLATE_NOOP("QRegExp", "unexpected end") | - |
74 | #define RXERR_LIMIT QT_TRANSLATE_NOOP("QRegExp", "met internal limit") | - |
75 | #define RXERR_INTERVAL QT_TRANSLATE_NOOP("QRegExp", "invalid interval") | - |
76 | #define RXERR_CATEGORY QT_TRANSLATE_NOOP("QRegExp", "invalid category") | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | | - |
219 | | - |
220 | | - |
221 | | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | | - |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | | - |
310 | | - |
311 | | - |
312 | | - |
313 | | - |
314 | | - |
315 | | - |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
323 | | - |
324 | | - |
325 | | - |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | | - |
346 | | - |
347 | | - |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
354 | | - |
355 | | - |
356 | | - |
357 | | - |
358 | | - |
359 | | - |
360 | | - |
361 | | - |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | | - |
367 | | - |
368 | | - |
369 | | - |
370 | | - |
371 | | - |
372 | | - |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | | - |
385 | | - |
386 | | - |
387 | | - |
388 | | - |
389 | | - |
390 | | - |
391 | | - |
392 | | - |
393 | | - |
394 | | - |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
404 | | - |
405 | | - |
406 | | - |
407 | | - |
408 | | - |
409 | | - |
410 | | - |
411 | | - |
412 | | - |
413 | | - |
414 | | - |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
421 | | - |
422 | | - |
423 | | - |
424 | | - |
425 | | - |
426 | | - |
427 | | - |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | | - |
448 | | - |
449 | | - |
450 | | - |
451 | | - |
452 | | - |
453 | | - |
454 | | - |
455 | | - |
456 | | - |
457 | | - |
458 | | - |
459 | | - |
460 | | - |
461 | | - |
462 | | - |
463 | | - |
464 | | - |
465 | | - |
466 | | - |
467 | | - |
468 | | - |
469 | | - |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | | - |
476 | | - |
477 | | - |
478 | | - |
479 | | - |
480 | | - |
481 | | - |
482 | | - |
483 | | - |
484 | | - |
485 | | - |
486 | | - |
487 | | - |
488 | | - |
489 | | - |
490 | | - |
491 | | - |
492 | | - |
493 | | - |
494 | | - |
495 | | - |
496 | | - |
497 | | - |
498 | | - |
499 | | - |
500 | | - |
501 | | - |
502 | | - |
503 | | - |
504 | | - |
505 | | - |
506 | | - |
507 | | - |
508 | | - |
509 | | - |
510 | | - |
511 | | - |
512 | | - |
513 | | - |
514 | | - |
515 | | - |
516 | | - |
517 | | - |
518 | | - |
519 | | - |
520 | | - |
521 | | - |
522 | | - |
523 | | - |
524 | | - |
525 | | - |
526 | | - |
527 | | - |
528 | | - |
529 | | - |
530 | | - |
531 | | - |
532 | | - |
533 | | - |
534 | | - |
535 | | - |
536 | | - |
537 | | - |
538 | | - |
539 | | - |
540 | | - |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | | - |
546 | | - |
547 | | - |
548 | | - |
549 | | - |
550 | | - |
551 | | - |
552 | | - |
553 | | - |
554 | | - |
555 | | - |
556 | | - |
557 | | - |
558 | | - |
559 | | - |
560 | | - |
561 | | - |
562 | | - |
563 | | - |
564 | | - |
565 | | - |
566 | | - |
567 | | - |
568 | | - |
569 | | - |
570 | | - |
571 | | - |
572 | | - |
573 | | - |
574 | | - |
575 | | - |
576 | | - |
577 | | - |
578 | | - |
579 | | - |
580 | | - |
581 | | - |
582 | | - |
583 | | - |
584 | | - |
585 | | - |
586 | | - |
587 | | - |
588 | | - |
589 | | - |
590 | | - |
591 | | - |
592 | | - |
593 | | - |
594 | | - |
595 | | - |
596 | | - |
597 | | - |
598 | | - |
599 | | - |
600 | | - |
601 | | - |
602 | | - |
603 | | - |
604 | | - |
605 | | - |
606 | | - |
607 | | - |
608 | | - |
609 | | - |
610 | | - |
611 | | - |
612 | | - |
613 | | - |
614 | | - |
615 | | - |
616 | | - |
617 | | - |
618 | | - |
619 | | - |
620 | | - |
621 | | - |
622 | | - |
623 | | - |
624 | | - |
625 | | - |
626 | | - |
627 | | - |
628 | | - |
629 | | - |
630 | | - |
631 | | - |
632 | | - |
633 | | - |
634 | | - |
635 | | - |
636 | | - |
637 | | - |
638 | | - |
639 | | - |
640 | | - |
641 | | - |
642 | | - |
643 | | - |
644 | | - |
645 | | - |
646 | | - |
647 | | - |
648 | | - |
649 | | - |
650 | | - |
651 | | - |
652 | | - |
653 | | - |
654 | | - |
655 | | - |
656 | | - |
657 | | - |
658 | | - |
659 | | - |
660 | | - |
661 | | - |
662 | | - |
663 | | - |
664 | | - |
665 | | - |
666 | | - |
667 | | - |
668 | | - |
669 | | - |
670 | | - |
671 | | - |
672 | | - |
673 | | - |
674 | | - |
675 | | - |
676 | | - |
677 | | - |
678 | | - |
679 | | - |
680 | | - |
681 | | - |
682 | | - |
683 | | - |
684 | | - |
685 | | - |
686 | | - |
687 | | - |
688 | | - |
689 | | - |
690 | | - |
691 | | - |
692 | | - |
693 | | - |
694 | | - |
695 | #if defined(Q_OS_VXWORKS) && defined(EOS) | - |
696 | # undef EOS | - |
697 | #endif | - |
698 | | - |
699 | const int NumBadChars = 64; | - |
700 | #define BadChar(ch) ((ch).unicode() % NumBadChars) | - |
701 | | - |
702 | const int NoOccurrence = INT_MAX; | - |
703 | const int EmptyCapture = INT_MAX; | - |
704 | const int InftyLen = INT_MAX; | - |
705 | const int InftyRep = 1025; | - |
706 | const int EOS = -1; | - |
707 | | - |
708 | static bool isWord(QChar ch) | - |
709 | { | - |
710 | return ch.isLetterOrNumber() || ch.isMark() || ch == QLatin1Char('_');executed 287 times by 2 tests: return ch.isLetterOrNumber() || ch.isMark() || ch == QLatin1Char('_'); | 287 |
711 | } | - |
712 | | - |
713 | | - |
714 | | - |
715 | | - |
716 | | - |
717 | static void mergeInto(QVector<int> *a, const QVector<int> &b) | - |
718 | { | - |
719 | int asize = a->size(); | - |
720 | int bsize = b.size(); | - |
721 | if (asize == 0) {TRUE | evaluated 32753 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 11023 times by 107 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 11023-32753 |
722 | *a = b; | - |
723 | #ifndef QT_NO_REGEXP_OPTIM | - |
724 | } else if (bsize == 1 && a->at(asize - 1) < b.at(0)) {executed 32753 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
TRUE | evaluated 8124 times by 98 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 2899 times by 40 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- ...
|
TRUE | evaluated 6250 times by 97 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 1874 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
| 1874-32753 |
725 | a->resize(asize + 1); | - |
726 | (*a)[asize] = b.at(0); | - |
727 | #endif | - |
728 | } else if (bsize >= 1) {executed 6250 times by 97 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
TRUE | evaluated 3798 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| FALSE | evaluated 975 times by 40 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- ...
|
| 975-6250 |
729 | int csize = asize + bsize; | - |
730 | QVector<int> c(csize); | - |
731 | int i = 0, j = 0, k = 0; | - |
732 | while (i < asize) {TRUE | evaluated 8457 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| FALSE | evaluated 1500 times by 11 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTextDocument
- tst_QTime
|
| 1500-8457 |
733 | if (j < bsize) {TRUE | evaluated 6159 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| FALSE | evaluated 2298 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
| 2298-6159 |
734 | if (a->at(i) == b.at(j)) {TRUE | evaluated 172 times by 1 test | FALSE | evaluated 5987 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
| 172-5987 |
735 | ++i; | - |
736 | --csize; | - |
737 | } else if (a->at(i) < b.at(j)) {executed 172 times by 1 test: end of block TRUE | evaluated 3005 times by 11 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTextDocument
- tst_QTime
| FALSE | evaluated 2982 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
| 172-3005 |
738 | c[k++] = a->at(i++); | - |
739 | } else {executed 3005 times by 11 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTextDocument
- tst_QTime
| 3005 |
740 | c[k++] = b.at(j++); | - |
741 | }executed 2982 times by 69 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| 2982 |
742 | } else { | - |
743 | memcpy(c.data() + k, a->constData() + i, (asize - i) * sizeof(int)); | - |
744 | break;executed 2298 times by 69 tests: break; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| 2298 |
745 | } | - |
746 | } | - |
747 | c.resize(csize); | - |
748 | if (j < bsize)TRUE | evaluated 1500 times by 11 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTextDocument
- tst_QTime
| FALSE | evaluated 2298 times by 69 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
| 1500-2298 |
749 | memcpy(c.data() + k, b.constData() + j, (bsize - j) * sizeof(int));executed 1500 times by 11 tests: memcpy(c.data() + k, b.constData() + j, (bsize - j) * sizeof(int)); Executed by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTextDocument
- tst_QTime
| 1500 |
750 | *a = c; | - |
751 | }executed 3798 times by 69 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| 3798 |
752 | }executed 43776 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 43776 |
753 | | - |
754 | #ifndef QT_NO_REGEXP_WILDCARD | - |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | | - |
760 | | - |
761 | | - |
762 | static QString wc2rx(const QString &wc_str, const bool enableEscaping) | - |
763 | { | - |
764 | const int wclen = wc_str.length(); | - |
765 | QString rx; | - |
766 | int i = 0; | - |
767 | bool isEscaping = false; | - |
768 | const QChar *wc = wc_str.unicode(); | - |
769 | | - |
770 | while (i < wclen) {TRUE | evaluated 1641 times by 78 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 290 times by 78 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 290-1641 |
771 | const QChar c = wc[i++]; | - |
772 | switch (c.unicode()) { | - |
773 | case '\\':executed 12 times by 1 test: case '\\': | 12 |
774 | if (enableEscaping) {TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
| 0-12 |
775 | if (isEscaping) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 10 times by 1 test |
| 2-10 |
776 | rx += QLatin1String("\\\\"); | - |
777 | } executed 2 times by 1 test: end of block | 2 |
778 | if (i == wclen) { TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
779 | rx += QLatin1String("\\\\"); | - |
780 | }executed 1 time by 1 test: end of block | 1 |
781 | } else {executed 12 times by 1 test: end of block | 12 |
782 | rx += QLatin1String("\\\\"); | - |
783 | } never executed: end of block | 0 |
784 | isEscaping = true; | - |
785 | break;executed 12 times by 1 test: break; | 12 |
786 | case '*':executed 194 times by 71 tests: case '*': Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 194 |
787 | if (isEscaping) {TRUE | never evaluated | FALSE | evaluated 194 times by 71 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
|
| 0-194 |
788 | rx += QLatin1String("\\*"); | - |
789 | isEscaping = false; | - |
790 | } else { never executed: end of block | 0 |
791 | rx += QLatin1String(".*"); | - |
792 | }executed 194 times by 71 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 194 |
793 | break;executed 194 times by 71 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 194 |
794 | case '?':executed 8 times by 1 test: case '?': | 8 |
795 | if (isEscaping) {TRUE | evaluated 1 time by 1 test | FALSE | evaluated 7 times by 1 test |
| 1-7 |
796 | rx += QLatin1String("\\?"); | - |
797 | isEscaping = false; | - |
798 | } else {executed 1 time by 1 test: end of block | 1 |
799 | rx += QLatin1Char('.'); | - |
800 | }executed 7 times by 1 test: end of block | 7 |
801 | | - |
802 | break;executed 8 times by 1 test: break; | 8 |
803 | case '$': never executed: case '$': | 0 |
804 | case '(':executed 1 time by 1 test: case '(': | 1 |
805 | case ')':executed 1 time by 1 test: case ')': | 1 |
806 | case '+': never executed: case '+': | 0 |
807 | case '.':executed 120 times by 47 tests: case '.': Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- ...
| 120 |
808 | case '^': never executed: case '^': | 0 |
809 | case '{': never executed: case '{': | 0 |
810 | case '|': never executed: case '|': | 0 |
811 | case '}': never executed: case '}': | 0 |
812 | if (isEscaping) {TRUE | never evaluated | FALSE | evaluated 122 times by 47 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- ...
|
| 0-122 |
813 | isEscaping = false; | - |
814 | rx += QLatin1String("\\\\"); | - |
815 | } never executed: end of block | 0 |
816 | rx += QLatin1Char('\\'); | - |
817 | rx += c; | - |
818 | break;executed 122 times by 47 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- ...
| 122 |
819 | case '[':executed 249 times by 38 tests: case '[': Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 249 |
820 | if (isEscaping) {TRUE | evaluated 3 times by 1 test | FALSE | evaluated 246 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 3-246 |
821 | isEscaping = false; | - |
822 | rx += QLatin1String("\\["); | - |
823 | } else {executed 3 times by 1 test: end of block | 3 |
824 | rx += c; | - |
825 | if (wc[i] == QLatin1Char('^'))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 244 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 2-244 |
826 | rx += wc[i++];executed 2 times by 1 test: rx += wc[i++]; | 2 |
827 | if (i < wclen) {TRUE | evaluated 242 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| FALSE | evaluated 4 times by 1 test |
| 4-242 |
828 | if (rx[i] == QLatin1Char(']'))TRUE | never evaluated | FALSE | evaluated 242 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 0-242 |
829 | rx += wc[i++]; never executed: rx += wc[i++]; | 0 |
830 | while (i < wclen && wc[i] != QLatin1Char(']')) {TRUE | evaluated 1335 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| FALSE | evaluated 4 times by 1 test |
TRUE | evaluated 1097 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| FALSE | evaluated 238 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 4-1335 |
831 | if (wc[i] == QLatin1Char('\\'))TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1096 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 1-1096 |
832 | rx += QLatin1Char('\\');executed 1 time by 1 test: rx += QLatin1Char('\\'); | 1 |
833 | rx += wc[i++]; | - |
834 | }executed 1097 times by 38 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 1097 |
835 | }executed 242 times by 38 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 242 |
836 | }executed 246 times by 38 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 246 |
837 | break;executed 249 times by 38 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 249 |
838 | | - |
839 | case ']':executed 246 times by 38 tests: case ']': Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 246 |
840 | if(isEscaping){TRUE | evaluated 2 times by 1 test | FALSE | evaluated 244 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 2-244 |
841 | isEscaping = false; | - |
842 | rx += QLatin1String("\\"); | - |
843 | }executed 2 times by 1 test: end of block | 2 |
844 | rx += c; | - |
845 | break;executed 246 times by 38 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 246 |
846 | | - |
847 | default:executed 810 times by 38 tests: default: Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPlugin
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 810 |
848 | if(isEscaping){TRUE | evaluated 3 times by 1 test | FALSE | evaluated 807 times by 38 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPlugin
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
|
| 3-807 |
849 | isEscaping = false; | - |
850 | rx += QLatin1String("\\\\"); | - |
851 | }executed 3 times by 1 test: end of block | 3 |
852 | rx += c; | - |
853 | }executed 810 times by 38 tests: end of block Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPlugin
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- ...
| 810 |
854 | } | - |
855 | return rx;executed 290 times by 78 tests: return rx; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 290 |
856 | } | - |
857 | #endif | - |
858 | | - |
859 | static int caretIndex(int offset, QRegExp::CaretMode caretMode) | - |
860 | { | - |
861 | if (caretMode == QRegExp::CaretAtZero) {TRUE | evaluated 423766 times by 49 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- ...
| FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
| 25-423766 |
862 | return 0;executed 423766 times by 49 tests: return 0; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- ...
| 423766 |
863 | } else if (caretMode == QRegExp::CaretAtOffset) {TRUE | never evaluated | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_QString
- tst_QStringList
- tst_qmakelib
|
| 0-25 |
864 | return offset; never executed: return offset; | 0 |
865 | } else { | - |
866 | return -1;executed 25 times by 3 tests: return -1; Executed by:- tst_QString
- tst_QStringList
- tst_qmakelib
| 25 |
867 | } | - |
868 | } | - |
869 | | - |
870 | | - |
871 | | - |
872 | | - |
873 | struct QRegExpEngineKey | - |
874 | { | - |
875 | QString pattern; | - |
876 | QRegExp::PatternSyntax patternSyntax; | - |
877 | Qt::CaseSensitivity cs; | - |
878 | | - |
879 | inline QRegExpEngineKey(const QString &pattern, QRegExp::PatternSyntax patternSyntax, | - |
880 | Qt::CaseSensitivity cs) | - |
881 | : pattern(pattern), patternSyntax(patternSyntax), cs(cs) {}executed 624287 times by 162 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 624287 |
882 | | - |
883 | inline void clear() { | - |
884 | pattern.clear(); | - |
885 | patternSyntax = QRegExp::RegExp; | - |
886 | cs = Qt::CaseSensitive; | - |
887 | } never executed: end of block | 0 |
888 | }; | - |
889 | | - |
890 | static bool operator==(const QRegExpEngineKey &key1, const QRegExpEngineKey &key2) | - |
891 | { | - |
892 | return key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntaxexecuted 315960 times by 135 tests: return key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntax && key1.cs == key2.cs; Executed by:- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| 315960 |
893 | && key1.cs == key2.cs;executed 315960 times by 135 tests: return key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntax && key1.cs == key2.cs; Executed by:- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| 315960 |
894 | } | - |
895 | | - |
896 | static uint qHash(const QRegExpEngineKey &key, uint seed = 0) Q_DECL_NOTHROW | - |
897 | { | - |
898 | QtPrivate::QHashCombine hash; | - |
899 | seed = hash(seed, key.pattern); | - |
900 | seed = hash(seed, key.patternSyntax); | - |
901 | seed = hash(seed, key.cs); | - |
902 | return seed;executed 630297 times by 167 tests: return seed; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 630297 |
903 | } | - |
904 | | - |
905 | class QRegExpEngine; | - |
906 | | - |
907 | | - |
908 | | - |
909 | | - |
910 | | - |
911 | | - |
912 | struct QRegExpMatchState | - |
913 | { | - |
914 | const QChar *in; | - |
915 | int pos; | - |
916 | int caretPos; | - |
917 | int len; | - |
918 | bool minimal; | - |
919 | int *bigArray; | - |
920 | int *inNextStack; | - |
921 | int *curStack; | - |
922 | int *nextStack; | - |
923 | int *curCapBegin; | - |
924 | int *nextCapBegin; | - |
925 | int *curCapEnd; | - |
926 | int *nextCapEnd; | - |
927 | int *tempCapBegin; | - |
928 | int *tempCapEnd; | - |
929 | int *capBegin; | - |
930 | int *capEnd; | - |
931 | int *slideTab; | - |
932 | int *captured; | - |
933 | int slideTabSize; | - |
934 | int capturedSize; | - |
935 | #ifndef QT_NO_REGEXP_BACKREF | - |
936 | QList<QVector<int> > sleeping; | - |
937 | #endif | - |
938 | int matchLen; | - |
939 | int oneTestMatchedLen; | - |
940 | | - |
941 | const QRegExpEngine *eng; | - |
942 | | - |
943 | inline QRegExpMatchState() : bigArray(0), captured(0) {}executed 1424895 times by 162 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 1424895 |
944 | inline ~QRegExpMatchState() { free(bigArray); }executed 1424892 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 1424892 |
945 | | - |
946 | void drain() { free(bigArray); bigArray = 0; captured = 0; } executed 624921 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 624921 |
947 | void prepareForMatch(QRegExpEngine *eng); | - |
948 | void match(const QChar *str, int len, int pos, bool minimal, | - |
949 | bool oneTest, int caretIndex); | - |
950 | bool matchHere(); | - |
951 | bool testAnchor(int i, int a, const int *capBegin); | - |
952 | }; | - |
953 | | - |
954 | | - |
955 | | - |
956 | | - |
957 | | - |
958 | | - |
959 | | - |
960 | struct QRegExpAutomatonState | - |
961 | { | - |
962 | #ifndef QT_NO_REGEXP_CAPTURE | - |
963 | int atom; | - |
964 | #endif | - |
965 | int match; | - |
966 | QVector<int> outs; | - |
967 | QMap<int, int> reenter; | - |
968 | QMap<int, int> anchors; | - |
969 | | - |
970 | inline QRegExpAutomatonState() { } | - |
971 | #ifndef QT_NO_REGEXP_CAPTURE | - |
972 | inline QRegExpAutomatonState(int a, int m) | - |
973 | : atom(a), match(m) { }executed 29320 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 29320 |
974 | #else | - |
975 | inline QRegExpAutomatonState(int m) | - |
976 | : match(m) { } | - |
977 | #endif | - |
978 | }; | - |
979 | | - |
980 | Q_DECLARE_TYPEINFO(QRegExpAutomatonState, Q_MOVABLE_TYPE); | - |
981 | | - |
982 | | - |
983 | | - |
984 | | - |
985 | | - |
986 | struct QRegExpCharClassRange | - |
987 | { | - |
988 | ushort from; | - |
989 | ushort len; | - |
990 | }; | - |
991 | | - |
992 | Q_DECLARE_TYPEINFO(QRegExpCharClassRange, Q_PRIMITIVE_TYPE); | - |
993 | | - |
994 | #ifndef QT_NO_REGEXP_CAPTURE | - |
995 | | - |
996 | | - |
997 | | - |
998 | | - |
999 | struct QRegExpAtom | - |
1000 | { | - |
1001 | enum { NoCapture = -1, OfficialCapture = -2, UnofficialCapture = -3 }; | - |
1002 | | - |
1003 | int parent; | - |
1004 | int capture; | - |
1005 | }; | - |
1006 | | - |
1007 | Q_DECLARE_TYPEINFO(QRegExpAtom, Q_PRIMITIVE_TYPE); | - |
1008 | #endif | - |
1009 | | - |
1010 | struct QRegExpLookahead; | - |
1011 | | - |
1012 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
1013 | | - |
1014 | | - |
1015 | | - |
1016 | | - |
1017 | struct QRegExpAnchorAlternation | - |
1018 | { | - |
1019 | int a; | - |
1020 | int b; | - |
1021 | }; | - |
1022 | | - |
1023 | Q_DECLARE_TYPEINFO(QRegExpAnchorAlternation, Q_PRIMITIVE_TYPE); | - |
1024 | #endif | - |
1025 | | - |
1026 | #ifndef QT_NO_REGEXP_CCLASS | - |
1027 | | - |
1028 | #define FLAG(x) (1 << (x)) | - |
1029 | | - |
1030 | | - |
1031 | | - |
1032 | | - |
1033 | | - |
1034 | class QRegExpCharClass | - |
1035 | { | - |
1036 | public: | - |
1037 | QRegExpCharClass(); | - |
1038 | | - |
1039 | void clear(); | - |
1040 | bool negative() const { return n; }executed 1533679 times by 31 tests: return n; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- ...
| 1533679 |
1041 | void setNegative(bool negative); | - |
1042 | void addCategories(uint cats); | - |
1043 | void addRange(ushort from, ushort to); | - |
1044 | void addSingleton(ushort ch) { addRange(ch, ch); }executed 6188 times by 47 tests: end of block Executed by:- tst_ModelTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| 6188 |
1045 | | - |
1046 | bool in(QChar ch) const; | - |
1047 | #ifndef QT_NO_REGEXP_OPTIM | - |
1048 | const QVector<int> &firstOccurrence() const { return occ1; }executed 6409 times by 116 tests: return occ1; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 6409 |
1049 | #endif | - |
1050 | | - |
1051 | #if defined(QT_DEBUG) | - |
1052 | void dump() const; | - |
1053 | #endif | - |
1054 | | - |
1055 | private: | - |
1056 | QVector<QRegExpCharClassRange> r; | - |
1057 | #ifndef QT_NO_REGEXP_OPTIM | - |
1058 | QVector<int> occ1; | - |
1059 | #endif | - |
1060 | uint c; | - |
1061 | bool n; | - |
1062 | }; | - |
1063 | #else | - |
1064 | struct QRegExpCharClass | - |
1065 | { | - |
1066 | int dummy; | - |
1067 | | - |
1068 | #ifndef QT_NO_REGEXP_OPTIM | - |
1069 | QRegExpCharClass() { occ1.fill(0, NumBadChars); } | - |
1070 | | - |
1071 | const QVector<int> &firstOccurrence() const { return occ1; } | - |
1072 | QVector<int> occ1; | - |
1073 | #endif | - |
1074 | }; | - |
1075 | #endif | - |
1076 | | - |
1077 | Q_DECLARE_TYPEINFO(QRegExpCharClass, Q_MOVABLE_TYPE); | - |
1078 | | - |
1079 | | - |
1080 | | - |
1081 | | - |
1082 | | - |
1083 | class QRegExpEngine | - |
1084 | { | - |
1085 | public: | - |
1086 | QRegExpEngine(Qt::CaseSensitivity cs, bool greedyQuantifiers) | - |
1087 | : cs(cs), greedyQuantifiers(greedyQuantifiers) { setup(); }executed 126 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 126 |
1088 | | - |
1089 | QRegExpEngine(const QRegExpEngineKey &key); | - |
1090 | ~QRegExpEngine(); | - |
1091 | | - |
1092 | bool isValid() const { return valid; }executed 2263 times by 7 tests: return valid; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QRegExp
- tst_languageChange
- tst_qstandardpaths
- tst_uic
| 2263 |
1093 | const QString &errorString() const { return yyError; } never executed: return yyError; | 0 |
1094 | int captureCount() const { return officialncap; }executed 2510822 times by 162 tests: return officialncap; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 2510822 |
1095 | | - |
1096 | int createState(QChar ch); | - |
1097 | int createState(const QRegExpCharClass &cc); | - |
1098 | #ifndef QT_NO_REGEXP_BACKREF | - |
1099 | int createState(int bref); | - |
1100 | #endif | - |
1101 | | - |
1102 | void addCatTransitions(const QVector<int> &from, const QVector<int> &to); | - |
1103 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1104 | void addPlusTransitions(const QVector<int> &from, const QVector<int> &to, int atom); | - |
1105 | #endif | - |
1106 | | - |
1107 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
1108 | int anchorAlternation(int a, int b); | - |
1109 | int anchorConcatenation(int a, int b); | - |
1110 | #else | - |
1111 | int anchorAlternation(int a, int b) { return a & b; } | - |
1112 | int anchorConcatenation(int a, int b) { return a | b; } | - |
1113 | #endif | - |
1114 | void addAnchors(int from, int to, int a); | - |
1115 | | - |
1116 | #ifndef QT_NO_REGEXP_OPTIM | - |
1117 | void heuristicallyChooseHeuristic(); | - |
1118 | #endif | - |
1119 | | - |
1120 | #if defined(QT_DEBUG) | - |
1121 | void dump() const; | - |
1122 | #endif | - |
1123 | | - |
1124 | QAtomicInt ref; | - |
1125 | | - |
1126 | private: | - |
1127 | enum { CharClassBit = 0x10000, BackRefBit = 0x20000 }; | - |
1128 | enum { InitialState = 0, FinalState = 1 }; | - |
1129 | | - |
1130 | void setup(); | - |
1131 | int setupState(int match); | - |
1132 | | - |
1133 | | - |
1134 | | - |
1135 | | - |
1136 | | - |
1137 | enum { MaxLookaheads = 13, MaxBackRefs = 14 }; | - |
1138 | enum { Anchor_Dollar = 0x00000001, Anchor_Caret = 0x00000002, Anchor_Word = 0x00000004, | - |
1139 | Anchor_NonWord = 0x00000008, Anchor_FirstLookahead = 0x00000010, | - |
1140 | Anchor_BackRef1Empty = Anchor_FirstLookahead << MaxLookaheads, | - |
1141 | Anchor_BackRef0Empty = Anchor_BackRef1Empty >> 1, | - |
1142 | Anchor_Alternation = unsigned(Anchor_BackRef1Empty) << MaxBackRefs, | - |
1143 | | - |
1144 | Anchor_LookaheadMask = (Anchor_FirstLookahead - 1) ^ | - |
1145 | ((Anchor_FirstLookahead << MaxLookaheads) - 1) }; | - |
1146 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1147 | int startAtom(bool officialCapture); | - |
1148 | void finishAtom(int atom, bool needCapture); | - |
1149 | #endif | - |
1150 | | - |
1151 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1152 | int addLookahead(QRegExpEngine *eng, bool negative); | - |
1153 | #endif | - |
1154 | | - |
1155 | #ifndef QT_NO_REGEXP_OPTIM | - |
1156 | bool goodStringMatch(QRegExpMatchState &matchState) const; | - |
1157 | bool badCharMatch(QRegExpMatchState &matchState) const; | - |
1158 | #else | - |
1159 | bool bruteMatch(QRegExpMatchState &matchState) const; | - |
1160 | #endif | - |
1161 | | - |
1162 | QVector<QRegExpAutomatonState> s; | - |
1163 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1164 | QVector<QRegExpAtom> f; | - |
1165 | int nf; | - |
1166 | int cf; | - |
1167 | QVector<int> captureForOfficialCapture; | - |
1168 | #endif | - |
1169 | int officialncap; | - |
1170 | int ncap; | - |
1171 | #ifndef QT_NO_REGEXP_CCLASS | - |
1172 | QVector<QRegExpCharClass> cl; | - |
1173 | #endif | - |
1174 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1175 | QVector<QRegExpLookahead *> ahead; | - |
1176 | #endif | - |
1177 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
1178 | QVector<QRegExpAnchorAlternation> aa; | - |
1179 | #endif | - |
1180 | #ifndef QT_NO_REGEXP_OPTIM | - |
1181 | bool caretAnchored; | - |
1182 | bool trivial; | - |
1183 | #endif | - |
1184 | bool valid; | - |
1185 | Qt::CaseSensitivity cs; | - |
1186 | bool greedyQuantifiers; | - |
1187 | bool xmlSchemaExtensions; | - |
1188 | #ifndef QT_NO_REGEXP_BACKREF | - |
1189 | int nbrefs; | - |
1190 | #endif | - |
1191 | | - |
1192 | #ifndef QT_NO_REGEXP_OPTIM | - |
1193 | bool useGoodStringHeuristic; | - |
1194 | | - |
1195 | int goodEarlyStart; | - |
1196 | int goodLateStart; | - |
1197 | QString goodStr; | - |
1198 | | - |
1199 | int minl; | - |
1200 | QVector<int> occ1; | - |
1201 | #endif | - |
1202 | | - |
1203 | | - |
1204 | | - |
1205 | | - |
1206 | | - |
1207 | | - |
1208 | | - |
1209 | | - |
1210 | class Box | - |
1211 | { | - |
1212 | public: | - |
1213 | Box(QRegExpEngine *engine); | - |
1214 | Box(const Box &b) { operator=(b); } never executed: end of block | 0 |
1215 | | - |
1216 | Box &operator=(const Box &b); | - |
1217 | | - |
1218 | void clear() { operator=(Box(eng)); }executed 22 times by 2 tests: end of block Executed by:- tst_QDataStream
- tst_QRegExp
| 22 |
1219 | void set(QChar ch); | - |
1220 | void set(const QRegExpCharClass &cc); | - |
1221 | #ifndef QT_NO_REGEXP_BACKREF | - |
1222 | void set(int bref); | - |
1223 | #endif | - |
1224 | | - |
1225 | void cat(const Box &b); | - |
1226 | void orx(const Box &b); | - |
1227 | void plus(int atom); | - |
1228 | void opt(); | - |
1229 | void catAnchor(int a); | - |
1230 | #ifndef QT_NO_REGEXP_OPTIM | - |
1231 | void setupHeuristics(); | - |
1232 | #endif | - |
1233 | | - |
1234 | #if defined(QT_DEBUG) | - |
1235 | void dump() const; | - |
1236 | #endif | - |
1237 | | - |
1238 | private: | - |
1239 | void addAnchorsToEngine(const Box &to) const; | - |
1240 | | - |
1241 | QRegExpEngine *eng; | - |
1242 | QVector<int> ls; | - |
1243 | QVector<int> rs; | - |
1244 | QMap<int, int> lanchors; | - |
1245 | QMap<int, int> ranchors; | - |
1246 | int skipanchors; | - |
1247 | | - |
1248 | #ifndef QT_NO_REGEXP_OPTIM | - |
1249 | int earlyStart; | - |
1250 | int lateStart; | - |
1251 | QString str; | - |
1252 | QString leftStr; | - |
1253 | QString rightStr; | - |
1254 | int maxl; | - |
1255 | #endif | - |
1256 | | - |
1257 | int minl; | - |
1258 | #ifndef QT_NO_REGEXP_OPTIM | - |
1259 | QVector<int> occ1; | - |
1260 | #endif | - |
1261 | }; | - |
1262 | | - |
1263 | friend class Box; | - |
1264 | | - |
1265 | | - |
1266 | | - |
1267 | | - |
1268 | enum { Tok_Eos, Tok_Dollar, Tok_LeftParen, Tok_MagicLeftParen, Tok_PosLookahead, | - |
1269 | Tok_NegLookahead, Tok_RightParen, Tok_CharClass, Tok_Caret, Tok_Quantifier, Tok_Bar, | - |
1270 | Tok_Word, Tok_NonWord, Tok_Char = 0x10000, Tok_BackRef = 0x20000 }; | - |
1271 | int getChar(); | - |
1272 | int getEscape(); | - |
1273 | #ifndef QT_NO_REGEXP_INTERVAL | - |
1274 | int getRep(int def); | - |
1275 | #endif | - |
1276 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1277 | void skipChars(int n); | - |
1278 | #endif | - |
1279 | void error(const char *msg); | - |
1280 | void startTokenizer(const QChar *rx, int len); | - |
1281 | int getToken(); | - |
1282 | | - |
1283 | const QChar *yyIn; | - |
1284 | int yyPos0; | - |
1285 | int yyPos; | - |
1286 | int yyLen; | - |
1287 | int yyCh; | - |
1288 | QScopedPointer<QRegExpCharClass> yyCharClass; | - |
1289 | int yyMinRep; | - |
1290 | int yyMaxRep; | - |
1291 | QString yyError; | - |
1292 | | - |
1293 | | - |
1294 | | - |
1295 | | - |
1296 | int parse(const QChar *rx, int len); | - |
1297 | void parseAtom(Box *box); | - |
1298 | void parseFactor(Box *box); | - |
1299 | void parseTerm(Box *box); | - |
1300 | void parseExpression(Box *box); | - |
1301 | | - |
1302 | int yyTok; | - |
1303 | bool yyMayCapture; | - |
1304 | | - |
1305 | friend struct QRegExpMatchState; | - |
1306 | }; | - |
1307 | | - |
1308 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1309 | | - |
1310 | | - |
1311 | | - |
1312 | | - |
1313 | struct QRegExpLookahead | - |
1314 | { | - |
1315 | QRegExpEngine *eng; | - |
1316 | bool neg; | - |
1317 | | - |
1318 | inline QRegExpLookahead(QRegExpEngine *eng0, bool neg0) | - |
1319 | : eng(eng0), neg(neg0) { }executed 126 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 126 |
1320 | inline ~QRegExpLookahead() { delete eng; }executed 126 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_qtextdocument - unknown status
| 126 |
1321 | }; | - |
1322 | #endif | - |
1323 | | - |
1324 | | - |
1325 | | - |
1326 | | - |
1327 | | - |
1328 | | - |
1329 | | - |
1330 | Q_CORE_EXPORT QString qt_regexp_toCanonical(const QString &pattern, QRegExp::PatternSyntax patternSyntax) | - |
1331 | { | - |
1332 | switch (patternSyntax) { | - |
1333 | #ifndef QT_NO_REGEXP_WILDCARD | - |
1334 | case QRegExp::Wildcard:executed 214 times by 61 tests: case QRegExp::Wildcard: Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- ...
| 214 |
1335 | return wc2rx(pattern, false);executed 214 times by 61 tests: return wc2rx(pattern, false); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- ...
| 214 |
1336 | case QRegExp::WildcardUnix:executed 76 times by 23 tests: case QRegExp::WildcardUnix: Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QToolButton
- tst_languageChange
| 76 |
1337 | return wc2rx(pattern, true);executed 76 times by 23 tests: return wc2rx(pattern, true); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QRegExp
- tst_QSidebar
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QToolButton
- tst_languageChange
| 76 |
1338 | #endif | - |
1339 | case QRegExp::FixedString:executed 97 times by 9 tests: case QRegExp::FixedString: Executed by:- tst_QDataStream
- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
| 97 |
1340 | return QRegExp::escape(pattern);executed 97 times by 9 tests: return QRegExp::escape(pattern); Executed by:- tst_QDataStream
- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
| 97 |
1341 | case QRegExp::W3CXmlSchema11:executed 52 times by 1 test: case QRegExp::W3CXmlSchema11: | 52 |
1342 | default:executed 1113 times by 61 tests: default: Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QMetaType
- ...
| 1113 |
1343 | return pattern;executed 1165 times by 61 tests: return pattern; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QMetaType
- ...
| 1165 |
1344 | } | - |
1345 | } | - |
1346 | | - |
1347 | QRegExpEngine::QRegExpEngine(const QRegExpEngineKey &key) | - |
1348 | : cs(key.cs), greedyQuantifiers(key.patternSyntax == QRegExp::RegExp2), | - |
1349 | xmlSchemaExtensions(key.patternSyntax == QRegExp::W3CXmlSchema11) | - |
1350 | { | - |
1351 | setup(); | - |
1352 | | - |
1353 | QString rx = qt_regexp_toCanonical(key.pattern, key.patternSyntax); | - |
1354 | | - |
1355 | valid = (parse(rx.unicode(), rx.length()) == rx.length()); | - |
1356 | if (!valid) {TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| FALSE | evaluated 1500 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 52-1500 |
1357 | #ifndef QT_NO_REGEXP_OPTIM | - |
1358 | trivial = false; | - |
1359 | #endif | - |
1360 | error(RXERR_LEFTDELIM); | - |
1361 | }executed 52 times by 4 tests: end of block Executed by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| 52 |
1362 | }executed 1552 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1552 |
1363 | | - |
1364 | QRegExpEngine::~QRegExpEngine() | - |
1365 | { | - |
1366 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1367 | qDeleteAll(ahead); | - |
1368 | #endif | - |
1369 | }executed 1885 times by 299 tests: end of block Executed by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMetaType
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QStateMachine
- tst_QString
- tst_QTextDocument
- tst_QVariant
- tst_collections - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- ...
| 1885 |
1370 | | - |
1371 | void QRegExpMatchState::prepareForMatch(QRegExpEngine *eng) | - |
1372 | { | - |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | | - |
1377 | int ns = eng->s.size(); | - |
1378 | int ncap = eng->ncap; | - |
1379 | #ifndef QT_NO_REGEXP_OPTIM | - |
1380 | int newSlideTabSize = qMax(eng->minl + 1, 16); | - |
1381 | #else | - |
1382 | int newSlideTabSize = 0; | - |
1383 | #endif | - |
1384 | int numCaptures = eng->captureCount(); | - |
1385 | int newCapturedSize = 2 + 2 * numCaptures; | - |
1386 | bigArray = q_check_ptr((int *)realloc(bigArray, ((3 + 4 * ncap) * ns + 4 * ncap + newSlideTabSize + newCapturedSize)*sizeof(int))); | - |
1387 | | - |
1388 | | - |
1389 | | - |
1390 | | - |
1391 | slideTabSize = newSlideTabSize; | - |
1392 | capturedSize = newCapturedSize; | - |
1393 | inNextStack = bigArray; | - |
1394 | memset(inNextStack, -1, ns * sizeof(int)); | - |
1395 | curStack = inNextStack + ns; | - |
1396 | nextStack = inNextStack + 2 * ns; | - |
1397 | | - |
1398 | curCapBegin = inNextStack + 3 * ns; | - |
1399 | nextCapBegin = curCapBegin + ncap * ns; | - |
1400 | curCapEnd = curCapBegin + 2 * ncap * ns; | - |
1401 | nextCapEnd = curCapBegin + 3 * ncap * ns; | - |
1402 | | - |
1403 | tempCapBegin = curCapBegin + 4 * ncap * ns; | - |
1404 | tempCapEnd = tempCapBegin + ncap; | - |
1405 | capBegin = tempCapBegin + 2 * ncap; | - |
1406 | capEnd = tempCapBegin + 3 * ncap; | - |
1407 | | - |
1408 | slideTab = tempCapBegin + 4 * ncap; | - |
1409 | captured = slideTab + slideTabSize; | - |
1410 | memset(captured, -1, capturedSize*sizeof(int)); | - |
1411 | this->eng = eng; | - |
1412 | }executed 2420084 times by 162 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 2420084 |
1413 | | - |
1414 | | - |
1415 | | - |
1416 | | - |
1417 | | - |
1418 | void QRegExpMatchState::match(const QChar *str0, int len0, int pos0, | - |
1419 | bool minimal0, bool oneTest, int caretIndex) | - |
1420 | { | - |
1421 | bool matched = false; | - |
1422 | QChar char_null; | - |
1423 | | - |
1424 | #ifndef QT_NO_REGEXP_OPTIM | - |
1425 | if (eng->trivial && !oneTest) {TRUE | evaluated 121311 times by 14 testsEvaluated by:- tst_QFileSystemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QStateMachine
- tst_QString
- tst_QTextDocument
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1704783 times by 85 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
TRUE | evaluated 120085 times by 11 testsEvaluated by:- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QStateMachine
- tst_QString
- tst_QTextDocument
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1226 times by 6 testsEvaluated by:- tst_QFileSystemModel
- tst_QLibrary
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
|
| 1226-1704783 |
1426 | pos = qFindString(str0, len0, pos0, eng->goodStr.unicode(), eng->goodStr.length(), eng->cs); | - |
1427 | matchLen = eng->goodStr.length(); | - |
1428 | matched = (pos != -1); | - |
1429 | } elseexecuted 120085 times by 11 tests: end of block Executed by:- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QStateMachine
- tst_QString
- tst_QTextDocument
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qstandardpaths
| 120085 |
1430 | #endif | - |
1431 | { | - |
1432 | in = str0; | - |
1433 | if (in == 0)TRUE | never evaluated | FALSE | evaluated 1706009 times by 85 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 0-1706009 |
1434 | in = &char_null; never executed: in = &char_null; | 0 |
1435 | pos = pos0; | - |
1436 | caretPos = caretIndex; | - |
1437 | len = len0; | - |
1438 | minimal = minimal0; | - |
1439 | matchLen = 0; | - |
1440 | oneTestMatchedLen = 0; | - |
1441 | | - |
1442 | if (eng->valid && pos >= 0 && pos <= len) {TRUE | evaluated 1679055 times by 85 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 26954 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
|
TRUE | evaluated 1679055 times by 85 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | never evaluated |
TRUE | evaluated 1679048 times by 85 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 7 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
|
| 0-1679055 |
1443 | #ifndef QT_NO_REGEXP_OPTIM | - |
1444 | if (oneTest) {TRUE | evaluated 1434184 times by 57 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLibrary
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| FALSE | evaluated 244864 times by 45 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- ...
|
| 244864-1434184 |
1445 | matched = matchHere(); | - |
1446 | } else {executed 1434184 times by 57 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLibrary
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 1434184 |
1447 | if (pos <= len - eng->minl) {TRUE | evaluated 241713 times by 45 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- ...
| FALSE | evaluated 3151 times by 22 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
|
| 3151-241713 |
1448 | if (eng->caretAnchored) {TRUE | evaluated 2595 times by 26 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- ...
| FALSE | evaluated 239118 times by 35 testsEvaluated by:- tst_ModelTest
- tst_QDBusInterface
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- ...
|
| 2595-239118 |
1449 | matched = matchHere(); | - |
1450 | } else if (eng->useGoodStringHeuristic) {executed 2595 times by 26 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- ...
TRUE | evaluated 201074 times by 16 testsEvaluated by:- tst_QDBusInterface
- tst_QFontComboBox
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| FALSE | evaluated 38044 times by 28 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- ...
|
| 2595-201074 |
1451 | matched = eng->goodStringMatch(*this); | - |
1452 | } else {executed 201074 times by 16 tests: end of block Executed by:- tst_QDBusInterface
- tst_QFontComboBox
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 201074 |
1453 | matched = eng->badCharMatch(*this); | - |
1454 | }executed 38044 times by 28 tests: end of block Executed by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- ...
| 38044 |
1455 | } | - |
1456 | }executed 244864 times by 45 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- ...
| 244864 |
1457 | #else | - |
1458 | matched = oneTest ? matchHere() : eng->bruteMatch(*this); | - |
1459 | #endif | - |
1460 | } | - |
1461 | }executed 1706009 times by 85 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 1706009 |
1462 | | - |
1463 | if (matched) {TRUE | evaluated 461049 times by 67 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| FALSE | evaluated 1365045 times by 78 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
|
| 461049-1365045 |
1464 | int *c = captured; | - |
1465 | *c++ = pos; | - |
1466 | *c++ = matchLen; | - |
1467 | | - |
1468 | int numCaptures = (capturedSize - 2) >> 1; | - |
1469 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1470 | for (int i = 0; i < numCaptures; ++i) {TRUE | evaluated 220587 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 461049 times by 67 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| 220587-461049 |
1471 | int j = eng->captureForOfficialCapture.at(i); | - |
1472 | if (capBegin[j] != EmptyCapture) {TRUE | evaluated 211908 times by 22 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 8679 times by 11 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
- tst_QTime
- tst_qmakelib
|
| 8679-211908 |
1473 | int len = capEnd[j] - capBegin[j]; | - |
1474 | *c++ = (len > 0) ? pos + capBegin[j] : 0;TRUE | evaluated 211908 times by 22 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | never evaluated |
| 0-211908 |
1475 | *c++ = len; | - |
1476 | } else {executed 211908 times by 22 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 211908 |
1477 | *c++ = -1; | - |
1478 | *c++ = -1; | - |
1479 | }executed 8679 times by 11 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
- tst_QTime
- tst_qmakelib
| 8679 |
1480 | } | - |
1481 | #endif | - |
1482 | } else {executed 461049 times by 67 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 461049 |
1483 | | - |
1484 | memset(captured, -1, capturedSize * sizeof(int)); | - |
1485 | }executed 1365045 times by 78 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 1365045 |
1486 | } | - |
1487 | | - |
1488 | | - |
1489 | | - |
1490 | | - |
1491 | | - |
1492 | | - |
1493 | int QRegExpEngine::createState(QChar ch) | - |
1494 | { | - |
1495 | return setupState(ch.unicode());executed 22721 times by 82 tests: return setupState(ch.unicode()); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 22721 |
1496 | } | - |
1497 | | - |
1498 | int QRegExpEngine::createState(const QRegExpCharClass &cc) | - |
1499 | { | - |
1500 | #ifndef QT_NO_REGEXP_CCLASS | - |
1501 | int n = cl.size(); | - |
1502 | cl += QRegExpCharClass(cc); | - |
1503 | return setupState(CharClassBit | n);executed 6409 times by 116 tests: return setupState(CharClassBit | n); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 6409 |
1504 | #else | - |
1505 | Q_UNUSED(cc); | - |
1506 | return setupState(CharClassBit); | - |
1507 | #endif | - |
1508 | } | - |
1509 | | - |
1510 | #ifndef QT_NO_REGEXP_BACKREF | - |
1511 | int QRegExpEngine::createState(int bref) | - |
1512 | { | - |
1513 | if (bref > nbrefs) {TRUE | evaluated 72 times by 1 test | FALSE | evaluated 118 times by 1 test |
| 72-118 |
1514 | nbrefs = bref; | - |
1515 | if (nbrefs > MaxBackRefs) {TRUE | never evaluated | FALSE | evaluated 72 times by 1 test |
| 0-72 |
1516 | error(RXERR_LIMIT); | - |
1517 | return 0; never executed: return 0; | 0 |
1518 | } | - |
1519 | }executed 72 times by 1 test: end of block | 72 |
1520 | return setupState(BackRefBit | bref);executed 190 times by 1 test: return setupState(BackRefBit | bref); | 190 |
1521 | } | - |
1522 | #endif | - |
1523 | | - |
1524 | | - |
1525 | | - |
1526 | | - |
1527 | | - |
1528 | | - |
1529 | | - |
1530 | | - |
1531 | | - |
1532 | void QRegExpEngine::addCatTransitions(const QVector<int> &from, const QVector<int> &to) | - |
1533 | { | - |
1534 | for (int i = 0; i < from.size(); i++)TRUE | evaluated 32083 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 30263 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 30263-32083 |
1535 | mergeInto(&s[from.at(i)].outs, to);executed 32083 times by 116 tests: mergeInto(&s[from.at(i)].outs, to); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 32083 |
1536 | }executed 30263 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 30263 |
1537 | | - |
1538 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1539 | void QRegExpEngine::addPlusTransitions(const QVector<int> &from, const QVector<int> &to, int atom) | - |
1540 | { | - |
1541 | for (int i = 0; i < from.size(); i++) {TRUE | evaluated 3046 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 2194 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
|
| 2194-3046 |
1542 | QRegExpAutomatonState &st = s[from.at(i)]; | - |
1543 | const QVector<int> oldOuts = st.outs; | - |
1544 | mergeInto(&st.outs, to); | - |
1545 | if (f.at(atom).capture != QRegExpAtom::NoCapture) {TRUE | evaluated 626 times by 1 test | FALSE | evaluated 2420 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
|
| 626-2420 |
1546 | for (int j = 0; j < to.size(); j++) {TRUE | evaluated 1032 times by 1 test | FALSE | evaluated 626 times by 1 test |
| 626-1032 |
1547 | | - |
1548 | if (!st.reenter.contains(to.at(j)) &&TRUE | evaluated 1024 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-1024 |
1549 | !std::binary_search(oldOuts.constBegin(), oldOuts.constEnd(), to.at(j)))TRUE | evaluated 934 times by 1 test | FALSE | evaluated 90 times by 1 test |
| 90-934 |
1550 | st.reenter.insert(to.at(j), atom);executed 934 times by 1 test: st.reenter.insert(to.at(j), atom); | 934 |
1551 | }executed 1032 times by 1 test: end of block | 1032 |
1552 | }executed 626 times by 1 test: end of block | 626 |
1553 | }executed 3046 times by 97 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 3046 |
1554 | }executed 2194 times by 97 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 2194 |
1555 | #endif | - |
1556 | | - |
1557 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
1558 | | - |
1559 | | - |
1560 | | - |
1561 | int QRegExpEngine::anchorAlternation(int a, int b) | - |
1562 | { | - |
1563 | if (((a & b) == a || (a & b) == b) && ((a | b) & Anchor_Alternation) == 0)TRUE | evaluated 290 times by 1 test | FALSE | evaluated 422 times by 1 test |
TRUE | evaluated 12 times by 1 test | FALSE | evaluated 410 times by 1 test |
TRUE | evaluated 270 times by 1 test | FALSE | evaluated 32 times by 1 test |
| 12-422 |
1564 | return a & b;executed 270 times by 1 test: return a & b; | 270 |
1565 | | - |
1566 | int n = aa.size(); | - |
1567 | #ifndef QT_NO_REGEXP_OPTIM | - |
1568 | if (n > 0 && aa.at(n - 1).a == a && aa.at(n - 1).b == b)TRUE | evaluated 420 times by 1 test | FALSE | evaluated 22 times by 1 test |
TRUE | evaluated 84 times by 1 test | FALSE | evaluated 336 times by 1 test |
TRUE | evaluated 40 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 22-420 |
1569 | return Anchor_Alternation | (n - 1);executed 40 times by 1 test: return Anchor_Alternation | (n - 1); | 40 |
1570 | #endif | - |
1571 | | - |
1572 | QRegExpAnchorAlternation element = {a, b}; | - |
1573 | aa.append(element); | - |
1574 | return Anchor_Alternation | n;executed 402 times by 1 test: return Anchor_Alternation | n; | 402 |
1575 | } | - |
1576 | | - |
1577 | | - |
1578 | | - |
1579 | | - |
1580 | int QRegExpEngine::anchorConcatenation(int a, int b) | - |
1581 | { | - |
1582 | if (((a | b) & Anchor_Alternation) == 0)TRUE | evaluated 41363 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 500 times by 1 test |
| 500-41363 |
1583 | return a | b;executed 41363 times by 116 tests: return a | b; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 41363 |
1584 | if ((b & Anchor_Alternation) != 0)TRUE | evaluated 170 times by 1 test | FALSE | evaluated 330 times by 1 test |
| 170-330 |
1585 | qSwap(a, b);executed 170 times by 1 test: qSwap(a, b); | 170 |
1586 | | - |
1587 | int aprime = anchorConcatenation(aa.at(a ^ Anchor_Alternation).a, b); | - |
1588 | int bprime = anchorConcatenation(aa.at(a ^ Anchor_Alternation).b, b); | - |
1589 | return anchorAlternation(aprime, bprime);executed 500 times by 1 test: return anchorAlternation(aprime, bprime); | 500 |
1590 | } | - |
1591 | #endif | - |
1592 | | - |
1593 | | - |
1594 | | - |
1595 | | - |
1596 | | - |
1597 | void QRegExpEngine::addAnchors(int from, int to, int a) | - |
1598 | { | - |
1599 | QRegExpAutomatonState &st = s[from]; | - |
1600 | if (st.anchors.contains(to))TRUE | evaluated 172 times by 1 test | FALSE | evaluated 36566 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 172-36566 |
1601 | a = anchorAlternation(st.anchors.value(to), a);executed 172 times by 1 test: a = anchorAlternation(st.anchors.value(to), a); | 172 |
1602 | st.anchors.insert(to, a); | - |
1603 | }executed 36738 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 36738 |
1604 | | - |
1605 | #ifndef QT_NO_REGEXP_OPTIM | - |
1606 | | - |
1607 | | - |
1608 | | - |
1609 | | - |
1610 | | - |
1611 | | - |
1612 | | - |
1613 | | - |
1614 | | - |
1615 | | - |
1616 | | - |
1617 | | - |
1618 | | - |
1619 | | - |
1620 | void QRegExpEngine::heuristicallyChooseHeuristic() | - |
1621 | { | - |
1622 | if (minl == 0) {TRUE | evaluated 421 times by 61 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHeaderView
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- ...
| FALSE | evaluated 1257 times by 88 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
|
| 421-1257 |
1623 | useGoodStringHeuristic = false; | - |
1624 | } else if (trivial) {executed 421 times by 61 tests: end of block Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHeaderView
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- ...
TRUE | evaluated 482 times by 17 testsEvaluated by:- tst_QDataStream
- tst_QFileSystemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 775 times by 86 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
|
| 421-775 |
1625 | useGoodStringHeuristic = true; | - |
1626 | } else {executed 482 times by 17 tests: end of block Executed by:- tst_QDataStream
- tst_QFileSystemModel
- tst_QItemSelectionModel
- tst_QLibrary
- tst_QLineEdit
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qstandardpaths
| 482 |
1627 | | - |
1628 | | - |
1629 | | - |
1630 | | - |
1631 | | - |
1632 | int goodStringScore = (64 * goodStr.length() / minl) - | - |
1633 | (goodLateStart - goodEarlyStart); | - |
1634 | | - |
1635 | | - |
1636 | | - |
1637 | | - |
1638 | int badCharScore = 0; | - |
1639 | int step = qMax(1, NumBadChars / 32); | - |
1640 | for (int i = 1; i < NumBadChars; i += step) {TRUE | evaluated 24800 times by 86 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 775 times by 86 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
|
| 775-24800 |
1641 | if (occ1.at(i) == NoOccurrence)TRUE | evaluated 9241 times by 38 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QPixmap
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- ...
| FALSE | evaluated 15559 times by 86 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
|
| 9241-15559 |
1642 | badCharScore += minl;executed 9241 times by 38 tests: badCharScore += minl; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QPixmap
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- ...
| 9241 |
1643 | else | - |
1644 | badCharScore += occ1.at(i);executed 15559 times by 86 tests: badCharScore += occ1.at(i); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
| 15559 |
1645 | } | - |
1646 | badCharScore /= minl; | - |
1647 | useGoodStringHeuristic = (goodStringScore > badCharScore); | - |
1648 | }executed 775 times by 86 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
| 775 |
1649 | } | - |
1650 | #endif | - |
1651 | | - |
1652 | #if defined(QT_DEBUG) | - |
1653 | void QRegExpEngine::dump() const | - |
1654 | { | - |
1655 | int i, j; | - |
1656 | qDebug("Case %ssensitive engine", cs ? "" : "in"); | - |
1657 | qDebug(" States"); | - |
1658 | for (i = 0; i < s.size(); i++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1659 | qDebug(" %d%s", i, i == InitialState ? " (initial)" : i == FinalState ? " (final)" : ""); | - |
1660 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1661 | if (nf > 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1662 | qDebug(" in atom %d", s[i].atom); never executed: QMessageLogger(__FILE__, 1662, __PRETTY_FUNCTION__).debug(" in atom %d", s[i].atom); | 0 |
1663 | #endif | - |
1664 | int m = s[i].match; | - |
1665 | if ((m & CharClassBit) != 0) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1666 | qDebug(" match character class %d", m ^ CharClassBit); | - |
1667 | #ifndef QT_NO_REGEXP_CCLASS | - |
1668 | cl[m ^ CharClassBit].dump(); | - |
1669 | #else | - |
1670 | qDebug(" negative character class"); | - |
1671 | #endif | - |
1672 | } else if ((m & BackRefBit) != 0) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1673 | qDebug(" match back-reference %d", m ^ BackRefBit); | - |
1674 | } else if (m >= 0x20 && m <= 0x7e) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1675 | qDebug(" match 0x%.4x (%c)", m, m); | - |
1676 | } else { never executed: end of block | 0 |
1677 | qDebug(" match 0x%.4x", m); | - |
1678 | } never executed: end of block | 0 |
1679 | for (j = 0; j < s[i].outs.size(); j++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1680 | int next = s[i].outs[j]; | - |
1681 | qDebug(" -> %d", next); | - |
1682 | if (s[i].reenter.contains(next))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1683 | qDebug(" [reenter %d]", s[i].reenter[next]); never executed: QMessageLogger(__FILE__, 1683, __PRETTY_FUNCTION__).debug(" [reenter %d]", s[i].reenter[next]); | 0 |
1684 | if (s[i].anchors.value(next) != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1685 | qDebug(" [anchors 0x%.8x]", s[i].anchors[next]); never executed: QMessageLogger(__FILE__, 1685, __PRETTY_FUNCTION__).debug(" [anchors 0x%.8x]", s[i].anchors[next]); | 0 |
1686 | } never executed: end of block | 0 |
1687 | } never executed: end of block | 0 |
1688 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1689 | if (nf > 0) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1690 | qDebug(" Atom Parent Capture"); | - |
1691 | for (i = 0; i < nf; i++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1692 | if (f[i].capture == QRegExpAtom::NoCapture) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1693 | qDebug(" %6d %6d nil", i, f[i].parent); | - |
1694 | } else { never executed: end of block | 0 |
1695 | int cap = f[i].capture; | - |
1696 | bool official = captureForOfficialCapture.contains(cap); | - |
1697 | qDebug(" %6d %6d %6d %s", i, f[i].parent, f[i].capture, | - |
1698 | official ? "official" : ""); | - |
1699 | } never executed: end of block | 0 |
1700 | } | - |
1701 | } never executed: end of block | 0 |
1702 | #endif | - |
1703 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
1704 | for (i = 0; i < aa.size(); i++)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1705 | qDebug(" Anchor alternation 0x%.8x: 0x%.8x 0x%.9x", i, aa[i].a, aa[i].b); never executed: QMessageLogger(__FILE__, 1705, __PRETTY_FUNCTION__).debug(" Anchor alternation 0x%.8x: 0x%.8x 0x%.9x", i, aa[i].a, aa[i].b); | 0 |
1706 | #endif | - |
1707 | } never executed: end of block | 0 |
1708 | #endif | - |
1709 | | - |
1710 | void QRegExpEngine::setup() | - |
1711 | { | - |
1712 | ref.store(1); | - |
1713 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1714 | f.resize(32); | - |
1715 | nf = 0; | - |
1716 | cf = -1; | - |
1717 | #endif | - |
1718 | officialncap = 0; | - |
1719 | ncap = 0; | - |
1720 | #ifndef QT_NO_REGEXP_OPTIM | - |
1721 | caretAnchored = true; | - |
1722 | trivial = true; | - |
1723 | #endif | - |
1724 | valid = false; | - |
1725 | #ifndef QT_NO_REGEXP_BACKREF | - |
1726 | nbrefs = 0; | - |
1727 | #endif | - |
1728 | #ifndef QT_NO_REGEXP_OPTIM | - |
1729 | useGoodStringHeuristic = true; | - |
1730 | minl = 0; | - |
1731 | occ1.fill(0, NumBadChars); | - |
1732 | #endif | - |
1733 | }executed 1678 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1678 |
1734 | | - |
1735 | int QRegExpEngine::setupState(int match) | - |
1736 | { | - |
1737 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1738 | s += QRegExpAutomatonState(cf, match); | - |
1739 | #else | - |
1740 | s += QRegExpAutomatonState(match); | - |
1741 | #endif | - |
1742 | return s.size() - 1;executed 29320 times by 116 tests: return s.size() - 1; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 29320 |
1743 | } | - |
1744 | | - |
1745 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1746 | | - |
1747 | | - |
1748 | | - |
1749 | | - |
1750 | | - |
1751 | int QRegExpEngine::startAtom(bool officialCapture) | - |
1752 | { | - |
1753 | if ((nf & (nf + 1)) == 0 && nf + 1 >= f.size())TRUE | evaluated 4715 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 26924 times by 81 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
TRUE | evaluated 245 times by 14 testsEvaluated by:- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTime
| FALSE | evaluated 4470 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 245-26924 |
1754 | f.resize((nf + 1) << 1);executed 245 times by 14 tests: f.resize((nf + 1) << 1); Executed by:- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTime
| 245 |
1755 | f[nf].parent = cf; | - |
1756 | cf = nf++; | - |
1757 | f[cf].capture = officialCapture ? QRegExpAtom::OfficialCapture : QRegExpAtom::NoCapture;TRUE | evaluated 643 times by 25 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 30996 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 643-30996 |
1758 | return cf;executed 31639 times by 116 tests: return cf; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 31639 |
1759 | } | - |
1760 | | - |
1761 | void QRegExpEngine::finishAtom(int atom, bool needCapture) | - |
1762 | { | - |
1763 | if (greedyQuantifiers && needCapture && f[atom].capture == QRegExpAtom::NoCapture)TRUE | evaluated 5188 times by 1 test | FALSE | evaluated 26451 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
TRUE | evaluated 1136 times by 1 test | FALSE | evaluated 4052 times by 1 test |
TRUE | evaluated 1136 times by 1 test | FALSE | never evaluated |
| 0-26451 |
1764 | f[atom].capture = QRegExpAtom::UnofficialCapture;executed 1136 times by 1 test: f[atom].capture = QRegExpAtom::UnofficialCapture; | 1136 |
1765 | cf = f.at(atom).parent; | - |
1766 | }executed 31639 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 31639 |
1767 | #endif | - |
1768 | | - |
1769 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1770 | | - |
1771 | | - |
1772 | | - |
1773 | int QRegExpEngine::addLookahead(QRegExpEngine *eng, bool negative) | - |
1774 | { | - |
1775 | int n = ahead.size(); | - |
1776 | if (n == MaxLookaheads) {TRUE | never evaluated | FALSE | evaluated 126 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
|
| 0-126 |
1777 | error(RXERR_LIMIT); | - |
1778 | return 0; never executed: return 0; | 0 |
1779 | } | - |
1780 | ahead += new QRegExpLookahead(eng, negative); | - |
1781 | return Anchor_FirstLookahead << n;executed 126 times by 2 tests: return Anchor_FirstLookahead << n; Executed by:- tst_QRegExp
- tst_QTextDocument
| 126 |
1782 | } | - |
1783 | #endif | - |
1784 | | - |
1785 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1786 | | - |
1787 | | - |
1788 | | - |
1789 | static bool isBetterCapture(int ncap, const int *begin1, const int *end1, const int *begin2, | - |
1790 | const int *end2) | - |
1791 | { | - |
1792 | for (int i = 0; i < ncap; i++) {TRUE | evaluated 17888 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| FALSE | evaluated 2065 times by 2 tests |
| 2065-17888 |
1793 | int delta = begin2[i] - begin1[i]; | - |
1794 | if (delta == 0)TRUE | evaluated 17099 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| FALSE | evaluated 789 times by 2 tests |
| 789-17099 |
1795 | delta = end1[i] - end2[i]; executed 17099 times by 3 tests: delta = end1[i] - end2[i]; Executed by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| 17099 |
1796 | | - |
1797 | if (delta != 0)TRUE | evaluated 950 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| FALSE | evaluated 16938 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
|
| 950-16938 |
1798 | return delta > 0;executed 950 times by 3 tests: return delta > 0; Executed by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| 950 |
1799 | }executed 16938 times by 3 tests: end of block Executed by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| 16938 |
1800 | return false;executed 2065 times by 2 tests: return false; | 2065 |
1801 | } | - |
1802 | #endif | - |
1803 | | - |
1804 | | - |
1805 | | - |
1806 | | - |
1807 | | - |
1808 | bool QRegExpMatchState::testAnchor(int i, int a, const int *capBegin) | - |
1809 | { | - |
1810 | int j; | - |
1811 | | - |
1812 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
1813 | if ((a & QRegExpEngine::Anchor_Alternation) != 0)TRUE | evaluated 336 times by 1 test | FALSE | evaluated 1545780 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
|
| 336-1545780 |
1814 | return testAnchor(i, eng->aa.at(a ^ QRegExpEngine::Anchor_Alternation).a, capBegin)executed 336 times by 1 test: return testAnchor(i, eng->aa.at(a ^ QRegExpEngine::Anchor_Alternation).a, capBegin) || testAnchor(i, eng->aa.at(a ^ QRegExpEngine::Anchor_Alternation).b, capBegin); | 336 |
1815 | || testAnchor(i, eng->aa.at(a ^ QRegExpEngine::Anchor_Alternation).b, capBegin);executed 336 times by 1 test: return testAnchor(i, eng->aa.at(a ^ QRegExpEngine::Anchor_Alternation).a, capBegin) || testAnchor(i, eng->aa.at(a ^ QRegExpEngine::Anchor_Alternation).b, capBegin); | 336 |
1816 | #endif | - |
1817 | | - |
1818 | if ((a & QRegExpEngine::Anchor_Caret) != 0) {TRUE | evaluated 707353 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
| FALSE | evaluated 838427 times by 15 testsEvaluated by:- tst_Collections
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 707353-838427 |
1819 | if (pos + i != caretPos)TRUE | evaluated 90706 times by 4 testsEvaluated by:- tst_Lancelot
- tst_QRegExp
- tst_QString
- tst_QStringList
| FALSE | evaluated 616647 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
|
| 90706-616647 |
1820 | return false;executed 90706 times by 4 tests: return false; Executed by:- tst_Lancelot
- tst_QRegExp
- tst_QString
- tst_QStringList
| 90706 |
1821 | }executed 616647 times by 27 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
| 616647 |
1822 | if ((a & QRegExpEngine::Anchor_Dollar) != 0) {TRUE | evaluated 24202 times by 15 testsEvaluated by:- tst_Collections
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1430872 times by 26 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- ...
|
| 24202-1430872 |
1823 | if (pos + i != len)TRUE | evaluated 16175 times by 11 testsEvaluated by:- tst_Collections
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 8027 times by 15 testsEvaluated by:- tst_Collections
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 8027-16175 |
1824 | return false;executed 16175 times by 11 tests: return false; Executed by:- tst_Collections
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_qmakelib
- tst_qstandardpaths
| 16175 |
1825 | }executed 8027 times by 15 tests: end of block Executed by:- tst_Collections
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 8027 |
1826 | #ifndef QT_NO_REGEXP_ESCAPE | - |
1827 | if ((a & (QRegExpEngine::Anchor_Word | QRegExpEngine::Anchor_NonWord)) != 0) {TRUE | evaluated 149 times by 2 tests | FALSE | evaluated 1438750 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
|
| 149-1438750 |
1828 | bool before = false; | - |
1829 | bool after = false; | - |
1830 | if (pos + i != 0)TRUE | evaluated 143 times by 2 tests | FALSE | evaluated 6 times by 2 tests |
| 6-143 |
1831 | before = isWord(in[pos + i - 1]);executed 143 times by 2 tests: before = isWord(in[pos + i - 1]); | 143 |
1832 | if (pos + i != len)TRUE | evaluated 144 times by 2 tests | FALSE | evaluated 5 times by 1 test |
| 5-144 |
1833 | after = isWord(in[pos + i]);executed 144 times by 2 tests: after = isWord(in[pos + i]); | 144 |
1834 | if ((a & QRegExpEngine::Anchor_Word) != 0 && (before == after))TRUE | evaluated 149 times by 2 tests | FALSE | never evaluated |
TRUE | evaluated 101 times by 1 test | FALSE | evaluated 48 times by 2 tests |
| 0-149 |
1835 | return false;executed 101 times by 1 test: return false; | 101 |
1836 | if ((a & QRegExpEngine::Anchor_NonWord) != 0 && (before != after))TRUE | never evaluated | FALSE | evaluated 48 times by 2 tests |
TRUE | never evaluated | FALSE | never evaluated |
| 0-48 |
1837 | return false; never executed: return false; | 0 |
1838 | }executed 48 times by 2 tests: end of block | 48 |
1839 | #endif | - |
1840 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
1841 | if ((a & QRegExpEngine::Anchor_LookaheadMask) != 0) {TRUE | evaluated 800608 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
| FALSE | evaluated 638190 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
|
| 638190-800608 |
1842 | const QVector<QRegExpLookahead *> &ahead = eng->ahead; | - |
1843 | for (j = 0; j < ahead.size(); j++) {TRUE | evaluated 10402080 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
| FALSE | evaluated 800113 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
|
| 800113-10402080 |
1844 | if ((a & (QRegExpEngine::Anchor_FirstLookahead << j)) != 0) {TRUE | evaluated 800608 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
| FALSE | evaluated 9601472 times by 1 test |
| 800608-9601472 |
1845 | QRegExpMatchState matchState; | - |
1846 | matchState.prepareForMatch(ahead[j]->eng); | - |
1847 | matchState.match(in + pos + i, len - pos - i, 0, | - |
1848 | true, true, caretPos - pos - i); | - |
1849 | if ((matchState.captured[0] == 0) == ahead[j]->neg)TRUE | evaluated 495 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
| FALSE | evaluated 800113 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
|
| 495-800113 |
1850 | return false;executed 495 times by 2 tests: return false; Executed by:- tst_QRegExp
- tst_QTextDocument
| 495 |
1851 | }executed 800113 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 800113 |
1852 | }executed 10401585 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 10401585 |
1853 | }executed 800113 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 800113 |
1854 | #endif | - |
1855 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1856 | #ifndef QT_NO_REGEXP_BACKREF | - |
1857 | for (j = 0; j < eng->nbrefs; j++) {TRUE | evaluated 42778 times by 1 test | FALSE | evaluated 1415439 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
|
| 42778-1415439 |
1858 | if ((a & (QRegExpEngine::Anchor_BackRef1Empty << j)) != 0) {TRUE | evaluated 26367 times by 1 test | FALSE | evaluated 16411 times by 1 test |
| 16411-26367 |
1859 | int i = eng->captureForOfficialCapture.at(j); | - |
1860 | if (capBegin[i] != EmptyCapture)TRUE | evaluated 22864 times by 1 test | FALSE | evaluated 3503 times by 1 test |
| 3503-22864 |
1861 | return false;executed 22864 times by 1 test: return false; | 22864 |
1862 | }executed 3503 times by 1 test: end of block | 3503 |
1863 | }executed 19914 times by 1 test: end of block | 19914 |
1864 | #endif | - |
1865 | #endif | - |
1866 | return true;executed 1415439 times by 27 tests: return true; Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
| 1415439 |
1867 | } | - |
1868 | | - |
1869 | #ifndef QT_NO_REGEXP_OPTIM | - |
1870 | | - |
1871 | | - |
1872 | | - |
1873 | | - |
1874 | | - |
1875 | | - |
1876 | bool QRegExpEngine::goodStringMatch(QRegExpMatchState &matchState) const | - |
1877 | { | - |
1878 | int k = matchState.pos + goodEarlyStart; | - |
1879 | QStringMatcher matcher(goodStr.unicode(), goodStr.length(), cs); | - |
1880 | while ((k = matcher.indexIn(matchState.in, matchState.len, k)) != -1) {TRUE | evaluated 200568 times by 14 testsEvaluated by:- tst_QDBusInterface
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_uic
| FALSE | evaluated 528 times by 10 testsEvaluated by:- tst_QFontComboBox
- tst_QNetworkReply
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
|
| 528-200568 |
1881 | int from = k - goodLateStart; | - |
1882 | int to = k - goodEarlyStart; | - |
1883 | if (from > matchState.pos)TRUE | evaluated 200251 times by 10 testsEvaluated by:- tst_QDBusInterface
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_uic
| FALSE | evaluated 317 times by 8 testsEvaluated by:- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_qmakelib
|
| 317-200251 |
1884 | matchState.pos = from;executed 200251 times by 10 tests: matchState.pos = from; Executed by:- tst_QDBusInterface
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_uic
| 200251 |
1885 | | - |
1886 | while (matchState.pos <= to) {TRUE | evaluated 198808 times by 14 testsEvaluated by:- tst_QDBusInterface
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_uic
| FALSE | evaluated 22 times by 4 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_qmakelib
|
| 22-198808 |
1887 | if (matchState.matchHere())TRUE | evaluated 200546 times by 14 testsEvaluated by:- tst_QDBusInterface
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_uic
| FALSE | evaluated 22 times by 4 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_qmakelib
|
| 22-200546 |
1888 | return true;executed 200546 times by 14 tests: return true; Executed by:- tst_QDBusInterface
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_uic
| 200546 |
1889 | ++matchState.pos; | - |
1890 | }executed 22 times by 4 tests: end of block Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_qmakelib
| 22 |
1891 | ++k; | - |
1892 | }executed 22 times by 4 tests: end of block Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_qmakelib
| 22 |
1893 | return false;executed 528 times by 10 tests: return false; Executed by:- tst_QFontComboBox
- tst_QNetworkReply
- tst_QObject
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 528 |
1894 | } | - |
1895 | | - |
1896 | bool QRegExpEngine::badCharMatch(QRegExpMatchState &matchState) const | - |
1897 | { | - |
1898 | int slideHead = 0; | - |
1899 | int slideNext = 0; | - |
1900 | int i; | - |
1901 | int lastPos = matchState.len - minl; | - |
1902 | memset(matchState.slideTab, 0, matchState.slideTabSize * sizeof(int)); | - |
1903 | | - |
1904 | | - |
1905 | | - |
1906 | | - |
1907 | | - |
1908 | for (i = 0; i < minl; i++) {TRUE | evaluated 32203 times by 26 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- ...
| FALSE | evaluated 38044 times by 28 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- ...
|
| 32203-38044 |
1909 | int sk = occ1[BadChar(matchState.in[matchState.pos + i])]; | - |
1910 | if (sk == NoOccurrence)TRUE | evaluated 14097 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 18106 times by 22 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 14097-18106 |
1911 | sk = i + 1;executed 14097 times by 14 tests: sk = i + 1; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| 14097 |
1912 | if (sk > 0) {TRUE | evaluated 14525 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 17678 times by 22 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 14525-17678 |
1913 | int k = i + 1 - sk; | - |
1914 | if (k < 0) {TRUE | evaluated 18 times by 1 test | FALSE | evaluated 14507 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
|
| 18-14507 |
1915 | sk = i + 1; | - |
1916 | k = 0; | - |
1917 | }executed 18 times by 1 test: end of block | 18 |
1918 | if (sk > matchState.slideTab[k])TRUE | evaluated 14525 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| FALSE | never evaluated |
| 0-14525 |
1919 | matchState.slideTab[k] = sk;executed 14525 times by 14 tests: matchState.slideTab[k] = sk; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| 14525 |
1920 | }executed 14525 times by 14 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| 14525 |
1921 | }executed 32203 times by 26 tests: end of block Executed by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- ...
| 32203 |
1922 | | - |
1923 | if (matchState.pos > lastPos)TRUE | never evaluated | FALSE | evaluated 38044 times by 28 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- ...
|
| 0-38044 |
1924 | return false; never executed: return false; | 0 |
1925 | | - |
1926 | for (;;) { | - |
1927 | if (++slideNext >= matchState.slideTabSize)TRUE | evaluated 10662 times by 10 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_languageChange
| FALSE | evaluated 345462 times by 28 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- ...
|
| 10662-345462 |
1928 | slideNext = 0;executed 10662 times by 10 tests: slideNext = 0; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QProcess
- tst_QSslCertificate
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_languageChange
| 10662 |
1929 | if (matchState.slideTab[slideHead] > 0) {TRUE | evaluated 242580 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 113544 times by 26 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- ...
|
| 113544-242580 |
1930 | if (matchState.slideTab[slideHead] - 1 > matchState.slideTab[slideNext])TRUE | evaluated 167 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
| FALSE | evaluated 242413 times by 14 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
|
| 167-242413 |
1931 | matchState.slideTab[slideNext] = matchState.slideTab[slideHead] - 1;executed 167 times by 3 tests: matchState.slideTab[slideNext] = matchState.slideTab[slideHead] - 1; Executed by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
| 167 |
1932 | matchState.slideTab[slideHead] = 0; | - |
1933 | } else {executed 242580 times by 14 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| 242580 |
1934 | if (matchState.matchHere())TRUE | evaluated 32831 times by 24 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
| FALSE | evaluated 80713 times by 17 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QNetworkReply
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 32831-80713 |
1935 | return true;executed 32831 times by 24 tests: return true; Executed by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QNetworkReply
- tst_QObject
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
| 32831 |
1936 | }executed 80713 times by 17 tests: end of block Executed by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QNetworkReply
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| 80713 |
1937 | | - |
1938 | if (matchState.pos == lastPos)TRUE | evaluated 5213 times by 17 testsEvaluated by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| FALSE | evaluated 318080 times by 21 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 5213-318080 |
1939 | break;executed 5213 times by 17 tests: break; Executed by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| 5213 |
1940 | | - |
1941 | | - |
1942 | | - |
1943 | | - |
1944 | | - |
1945 | int sk = occ1[BadChar(matchState.in[matchState.pos + minl])]; | - |
1946 | if (sk == NoOccurrence) {TRUE | evaluated 228426 times by 13 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 89654 times by 19 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 89654-228426 |
1947 | matchState.slideTab[slideNext] = minl; | - |
1948 | } else if (sk > 0) {executed 228426 times by 13 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
TRUE | evaluated 177 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
| FALSE | evaluated 89477 times by 19 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 177-228426 |
1949 | int k = slideNext + minl - sk; | - |
1950 | if (k >= matchState.slideTabSize)TRUE | evaluated 17 times by 1 test | FALSE | evaluated 160 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
|
| 17-160 |
1951 | k -= matchState.slideTabSize;executed 17 times by 1 test: k -= matchState.slideTabSize; | 17 |
1952 | if (sk > matchState.slideTab[k])TRUE | evaluated 177 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
| FALSE | never evaluated |
| 0-177 |
1953 | matchState.slideTab[k] = sk;executed 177 times by 3 tests: matchState.slideTab[k] = sk; Executed by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
| 177 |
1954 | }executed 177 times by 3 tests: end of block Executed by:- tst_QRegExp
- tst_QSslCertificate
- tst_QString
| 177 |
1955 | slideHead = slideNext; | - |
1956 | ++matchState.pos; | - |
1957 | }executed 318080 times by 21 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_languageChange
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| 318080 |
1958 | return false;executed 5213 times by 17 tests: return false; Executed by:- tst_ModelTest
- tst_QFileDialog2
- tst_QFiledialog
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| 5213 |
1959 | } | - |
1960 | #else | - |
1961 | bool QRegExpEngine::bruteMatch(QRegExpMatchState &matchState) const | - |
1962 | { | - |
1963 | while (matchState.pos <= matchState.len) { | - |
1964 | if (matchState.matchHere()) | - |
1965 | return true; | - |
1966 | ++matchState.pos; | - |
1967 | } | - |
1968 | return false; | - |
1969 | } | - |
1970 | #endif | - |
1971 | | - |
1972 | | - |
1973 | | - |
1974 | | - |
1975 | bool QRegExpMatchState::matchHere() | - |
1976 | { | - |
1977 | int ncur = 1, nnext = 0; | - |
1978 | int i = 0, j, k, m; | - |
1979 | bool stop = false; | - |
1980 | | - |
1981 | matchLen = -1; | - |
1982 | oneTestMatchedLen = -1; | - |
1983 | curStack[0] = QRegExpEngine::InitialState; | - |
1984 | | - |
1985 | int ncap = eng->ncap; | - |
1986 | #ifndef QT_NO_REGEXP_CAPTURE | - |
1987 | if (ncap > 0) {TRUE | evaluated 252465 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1498426 times by 73 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
|
| 252465-1498426 |
1988 | for (j = 0; j < ncap; j++) {TRUE | evaluated 346655 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 252465 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 252465-346655 |
1989 | curCapBegin[j] = EmptyCapture; | - |
1990 | curCapEnd[j] = EmptyCapture; | - |
1991 | }executed 346655 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 346655 |
1992 | }executed 252465 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 252465 |
1993 | #endif | - |
1994 | | - |
1995 | #ifndef QT_NO_REGEXP_BACKREF | - |
1996 | while ((ncur > 0 || !sleeping.isEmpty()) && i <= len - pos && !stop)TRUE | evaluated 5921676 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 1245393 times by 66 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- ...
|
TRUE | evaluated 30940 times by 1 test | FALSE | evaluated 1214453 times by 66 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- ...
|
TRUE | evaluated 5637527 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 315089 times by 77 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
TRUE | evaluated 5416178 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 221349 times by 28 testsEvaluated by:- tst_ModelTest
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTime
- tst_languageChange
- ...
|
| 30940-5921676 |
1997 | #else | - |
1998 | while (ncur > 0 && i <= len - pos && !stop) | - |
1999 | #endif | - |
2000 | { | - |
2001 | int ch = (i < len - pos) ? in[pos + i].unicode() : 0;TRUE | evaluated 4199871 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 1216307 times by 77 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 1216307-4199871 |
2002 | for (j = 0; j < ncur; j++) {TRUE | evaluated 5822833 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 5416178 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 5416178-5822833 |
2003 | int cur = curStack[j]; | - |
2004 | const QRegExpAutomatonState &scur = eng->s.at(cur); | - |
2005 | const QVector<int> &outs = scur.outs; | - |
2006 | for (k = 0; k < outs.size(); k++) {TRUE | evaluated 11883742 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 5807367 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 5807367-11883742 |
2007 | int next = outs.at(k); | - |
2008 | const QRegExpAutomatonState &snext = eng->s.at(next); | - |
2009 | bool inside = true; | - |
2010 | #if !defined(QT_NO_REGEXP_BACKREF) && !defined(QT_NO_REGEXP_CAPTURE) | - |
2011 | int needSomeSleep = 0; | - |
2012 | #endif | - |
2013 | | - |
2014 | | - |
2015 | | - |
2016 | | - |
2017 | int a = scur.anchors.value(next); | - |
2018 | if (a != 0 && !testAnchor(i, a, curCapBegin + j * ncap))TRUE | evaluated 1545522 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
| FALSE | evaluated 10296053 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
TRUE | evaluated 130083 times by 13 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1415439 times by 27 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- ...
|
| 130083-10296053 |
2019 | inside = false;executed 130083 times by 13 tests: inside = false; Executed by:- tst_Collections
- tst_Lancelot
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_qmakelib
- tst_qstandardpaths
| 130083 |
2020 | | - |
2021 | | - |
2022 | | - |
2023 | | - |
2024 | | - |
2025 | if (inside) {TRUE | evaluated 11704903 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 130083 times by 13 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_qmakelib
- tst_qstandardpaths
|
| 130083-11704903 |
2026 | m = snext.match; | - |
2027 | if ((m & (QRegExpEngine::CharClassBit | QRegExpEngine::BackRefBit)) == 0) {TRUE | evaluated 6511470 times by 76 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| FALSE | evaluated 5242189 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 5242189-6511470 |
2028 | if (eng->cs)TRUE | evaluated 4821998 times by 56 testsEvaluated by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| FALSE | evaluated 1656977 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QProcess
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QVariant
- ...
|
| 1656977-4821998 |
2029 | inside = (m == ch);executed 4854493 times by 56 tests: inside = (m == ch); Executed by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| 4854493 |
2030 | else | - |
2031 | inside = (QChar(m).toLower() == QChar(ch).toLower());executed 1656977 times by 32 tests: inside = (QChar(m).toLower() == QChar(ch).toLower()); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QProcess
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QVariant
- ...
| 1656977 |
2032 | } else if (next == QRegExpEngine::FinalState) {TRUE | evaluated 590085 times by 64 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| FALSE | evaluated 4652104 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 590085-4652104 |
2033 | matchLen = i; | - |
2034 | stop = minimal; | - |
2035 | inside = true; | - |
2036 | } else if ((m & QRegExpEngine::CharClassBit) != 0) {executed 590085 times by 64 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
TRUE | evaluated 4633126 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 18978 times by 1 test |
| 18978-4633126 |
2037 | #ifndef QT_NO_REGEXP_CCLASS | - |
2038 | const QRegExpCharClass &cc = eng->cl.at(m ^ QRegExpEngine::CharClassBit); | - |
2039 | if (eng->cs)TRUE | evaluated 3099447 times by 64 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- ...
| FALSE | evaluated 1533679 times by 31 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- ...
|
| 1533679-3099447 |
2040 | inside = cc.in(ch);executed 3099447 times by 64 tests: inside = cc.in(ch); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- ...
| 3099447 |
2041 | else if (cc.negative())TRUE | evaluated 1533514 times by 19 testsEvaluated by:- tst_QAbstractItemModel
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
- tst_rcc
- tst_uic
| FALSE | evaluated 165 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
|
| 165-1533514 |
2042 | inside = cc.in(QChar(ch).toLower()) &&executed 1533514 times by 19 tests: inside = cc.in(QChar(ch).toLower()) && cc.in(QChar(ch).toUpper()); Executed by:- tst_QAbstractItemModel
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
- tst_rcc
- tst_uic
TRUE | evaluated 1533514 times by 19 testsEvaluated by:- tst_QAbstractItemModel
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
- tst_rcc
- tst_uic
| FALSE | never evaluated |
| 0-1533514 |
2043 | cc.in(QChar(ch).toUpper());executed 1533514 times by 19 tests: inside = cc.in(QChar(ch).toLower()) && cc.in(QChar(ch).toUpper()); Executed by:- tst_QAbstractItemModel
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
- tst_rcc
- tst_uic
TRUE | evaluated 1533514 times by 19 testsEvaluated by:- tst_QAbstractItemModel
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPlugin
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
- tst_rcc
- tst_uic
| FALSE | never evaluated |
| 0-1533514 |
2044 | else | - |
2045 | inside = cc.in(QChar(ch).toLower()) ||executed 165 times by 15 tests: inside = cc.in(QChar(ch).toLower()) || cc.in(QChar(ch).toUpper()); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
TRUE | evaluated 135 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 30 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
|
| 30-165 |
2046 | cc.in(QChar(ch).toUpper());executed 165 times by 15 tests: inside = cc.in(QChar(ch).toLower()) || cc.in(QChar(ch).toUpper()); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
TRUE | never evaluated | FALSE | evaluated 30 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QXmlInputSource
- tst_Spdy
|
| 0-165 |
2047 | #endif | - |
2048 | #if !defined(QT_NO_REGEXP_BACKREF) && !defined(QT_NO_REGEXP_CAPTURE) | - |
2049 | } else { | - |
2050 | int bref = m ^ QRegExpEngine::BackRefBit; | - |
2051 | int ell = j * ncap + eng->captureForOfficialCapture.at(bref - 1); | - |
2052 | | - |
2053 | inside = bref <= ncap && curCapBegin[ell] != EmptyCapture;TRUE | evaluated 18978 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 16330 times by 1 test | FALSE | evaluated 2648 times by 1 test |
| 0-18978 |
2054 | if (inside) {TRUE | evaluated 16330 times by 1 test | FALSE | evaluated 2648 times by 1 test |
| 2648-16330 |
2055 | if (eng->cs)TRUE | evaluated 16330 times by 1 test | FALSE | never evaluated |
| 0-16330 |
2056 | inside = (in[pos + curCapBegin[ell]] == QChar(ch));executed 16330 times by 1 test: inside = (in[pos + curCapBegin[ell]] == QChar(ch)); | 16330 |
2057 | else | - |
2058 | inside = (in[pos + curCapBegin[ell]].toLower() never executed: inside = (in[pos + curCapBegin[ell]].toLower() == QChar(ch).toLower()); | 0 |
2059 | == QChar(ch).toLower()); never executed: inside = (in[pos + curCapBegin[ell]].toLower() == QChar(ch).toLower()); | 0 |
2060 | } | - |
2061 | | - |
2062 | if (inside) {TRUE | evaluated 16014 times by 1 test | FALSE | evaluated 2964 times by 1 test |
| 2964-16014 |
2063 | int delta; | - |
2064 | if (curCapEnd[ell] == EmptyCapture)TRUE | evaluated 11606 times by 1 test | FALSE | evaluated 4408 times by 1 test |
| 4408-11606 |
2065 | delta = i - curCapBegin[ell];executed 11606 times by 1 test: delta = i - curCapBegin[ell]; | 11606 |
2066 | else | - |
2067 | delta = curCapEnd[ell] - curCapBegin[ell];executed 4408 times by 1 test: delta = curCapEnd[ell] - curCapBegin[ell]; | 4408 |
2068 | | - |
2069 | inside = (delta <= len - (pos + i)); | - |
2070 | if (inside && delta > 1) {TRUE | evaluated 13894 times by 1 test | FALSE | evaluated 2120 times by 1 test |
TRUE | evaluated 11762 times by 1 test | FALSE | evaluated 2132 times by 1 test |
| 2120-13894 |
2071 | int n = 1; | - |
2072 | if (eng->cs) {TRUE | evaluated 11762 times by 1 test | FALSE | never evaluated |
| 0-11762 |
2073 | while (n < delta) {TRUE | evaluated 64066 times by 1 test | FALSE | evaluated 11762 times by 1 test |
| 11762-64066 |
2074 | if (in[pos + curCapBegin[ell] + n]TRUE | never evaluated | FALSE | evaluated 64066 times by 1 test |
| 0-64066 |
2075 | != in[pos + i + n])TRUE | never evaluated | FALSE | evaluated 64066 times by 1 test |
| 0-64066 |
2076 | break; never executed: break; | 0 |
2077 | ++n; | - |
2078 | }executed 64066 times by 1 test: end of block | 64066 |
2079 | } else {executed 11762 times by 1 test: end of block | 11762 |
2080 | while (n < delta) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2081 | QChar a = in[pos + curCapBegin[ell] + n]; | - |
2082 | QChar b = in[pos + i + n]; | - |
2083 | if (a.toLower() != b.toLower())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2084 | break; never executed: break; | 0 |
2085 | ++n; | - |
2086 | } never executed: end of block | 0 |
2087 | } never executed: end of block | 0 |
2088 | inside = (n == delta); | - |
2089 | if (inside)TRUE | evaluated 11762 times by 1 test | FALSE | never evaluated |
| 0-11762 |
2090 | needSomeSleep = delta - 1;executed 11762 times by 1 test: needSomeSleep = delta - 1; | 11762 |
2091 | }executed 11762 times by 1 test: end of block | 11762 |
2092 | }executed 16014 times by 1 test: end of block | 16014 |
2093 | #endif | - |
2094 | }executed 18978 times by 1 test: end of block | 18978 |
2095 | } | - |
2096 | | - |
2097 | | - |
2098 | | - |
2099 | | - |
2100 | if (inside) {TRUE | evaluated 4638032 times by 82 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 7245710 times by 83 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 4638032-7245710 |
2101 | #ifndef QT_NO_REGEXP_CAPTURE | - |
2102 | int *capBegin, *capEnd; | - |
2103 | #endif | - |
2104 | | - |
2105 | | - |
2106 | | - |
2107 | | - |
2108 | if ((m = inNextStack[next]) == -1) {TRUE | evaluated 4635020 times by 82 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 3012 times by 6 testsEvaluated by:- tst_QDBusInterface
- tst_QDir
- tst_QFtp
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
|
| 3012-4635020 |
2109 | m = nnext++; | - |
2110 | nextStack[m] = next; | - |
2111 | inNextStack[next] = m; | - |
2112 | #ifndef QT_NO_REGEXP_CAPTURE | - |
2113 | capBegin = nextCapBegin + m * ncap; | - |
2114 | capEnd = nextCapEnd + m * ncap; | - |
2115 | | - |
2116 | | - |
2117 | | - |
2118 | | - |
2119 | | - |
2120 | | - |
2121 | | - |
2122 | } else {executed 4635020 times by 82 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 4635020 |
2123 | capBegin = tempCapBegin; | - |
2124 | capEnd = tempCapEnd; | - |
2125 | #endif | - |
2126 | }executed 3012 times by 6 tests: end of block Executed by:- tst_QDBusInterface
- tst_QDir
- tst_QFtp
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
| 3012 |
2127 | | - |
2128 | #ifndef QT_NO_REGEXP_CAPTURE | - |
2129 | | - |
2130 | | - |
2131 | | - |
2132 | if (ncap > 0) {TRUE | evaluated 2162295 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 2475737 times by 71 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
|
| 2162295-2475737 |
2133 | memcpy(capBegin, curCapBegin + j * ncap, ncap * sizeof(int)); | - |
2134 | memcpy(capEnd, curCapEnd + j * ncap, ncap * sizeof(int)); | - |
2135 | int c = scur.atom, n = snext.atom; | - |
2136 | int p = -1, q = -1; | - |
2137 | int cap; | - |
2138 | | - |
2139 | | - |
2140 | | - |
2141 | | - |
2142 | | - |
2143 | | - |
2144 | | - |
2145 | | - |
2146 | | - |
2147 | | - |
2148 | | - |
2149 | | - |
2150 | | - |
2151 | | - |
2152 | if ((q = scur.reenter.value(next)) != 0) {TRUE | evaluated 6244 times by 1 test | FALSE | evaluated 2140260 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 6244-2140260 |
2153 | QBitArray b(eng->nf, false); | - |
2154 | b.setBit(q, true); | - |
2155 | for (int ell = q + 1; ell < eng->nf; ell++) {TRUE | evaluated 55417 times by 1 test | FALSE | evaluated 6244 times by 1 test |
| 6244-55417 |
2156 | if (b.testBit(eng->f.at(ell).parent)) {TRUE | evaluated 31969 times by 1 test | FALSE | evaluated 23448 times by 1 test |
| 23448-31969 |
2157 | b.setBit(ell, true); | - |
2158 | cap = eng->f.at(ell).capture; | - |
2159 | if (cap >= 0) {TRUE | evaluated 3250 times by 1 test | FALSE | evaluated 28719 times by 1 test |
| 3250-28719 |
2160 | capBegin[cap] = EmptyCapture; | - |
2161 | capEnd[cap] = EmptyCapture; | - |
2162 | }executed 3250 times by 1 test: end of block | 3250 |
2163 | }executed 31969 times by 1 test: end of block | 31969 |
2164 | }executed 55417 times by 1 test: end of block | 55417 |
2165 | p = eng->f.at(q).parent; | - |
2166 | | - |
2167 | | - |
2168 | | - |
2169 | | - |
2170 | | - |
2171 | | - |
2172 | | - |
2173 | | - |
2174 | | - |
2175 | | - |
2176 | | - |
2177 | | - |
2178 | | - |
2179 | } else {executed 6244 times by 1 test: end of block | 6244 |
2180 | p = c; | - |
2181 | q = n; | - |
2182 | while (p != q) {TRUE | evaluated 3153123 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 2156051 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 2156051-3153123 |
2183 | if (p > q) {TRUE | evaluated 1721957 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1493376 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 1493376-1721957 |
2184 | cap = eng->f.at(p).capture; | - |
2185 | if (cap >= 0) {TRUE | evaluated 336440 times by 22 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1385517 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 336440-1385517 |
2186 | if (capBegin[cap] == i) {TRUE | never evaluated | FALSE | evaluated 336440 times by 22 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 0-336440 |
2187 | capBegin[cap] = EmptyCapture; | - |
2188 | capEnd[cap] = EmptyCapture; | - |
2189 | } else { never executed: end of block | 0 |
2190 | capEnd[cap] = i; | - |
2191 | }executed 336440 times by 22 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 336440 |
2192 | } | - |
2193 | p = eng->f.at(p).parent; | - |
2194 | } else {executed 1721957 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1721957 |
2195 | q = eng->f.at(q).parent; | - |
2196 | }executed 1493376 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1493376 |
2197 | } | - |
2198 | }executed 2156051 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 2156051 |
2199 | | - |
2200 | | - |
2201 | | - |
2202 | | - |
2203 | | - |
2204 | | - |
2205 | | - |
2206 | while (n > p) {TRUE | evaluated 1505617 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 2132432 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 1505617-2132432 |
2207 | cap = eng->f.at(n).capture; | - |
2208 | if (cap >= 0) {TRUE | evaluated 227699 times by 22 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1283560 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 227699-1283560 |
2209 | capBegin[cap] = i; | - |
2210 | capEnd[cap] = EmptyCapture; | - |
2211 | }executed 227699 times by 22 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 227699 |
2212 | n = eng->f.at(n).parent; | - |
2213 | }executed 1511259 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1511259 |
2214 | | - |
2215 | | - |
2216 | | - |
2217 | | - |
2218 | | - |
2219 | if (capBegin == tempCapBegin &&TRUE | evaluated 2995 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
| FALSE | evaluated 2159300 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 2995-2159300 |
2220 | isBetterCapture(ncap, capBegin, capEnd, nextCapBegin + m * ncap,TRUE | evaluated 12 times by 1 test | FALSE | evaluated 2983 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
|
| 12-2983 |
2221 | nextCapEnd + m * ncap)) {TRUE | evaluated 12 times by 1 test | FALSE | evaluated 2983 times by 3 testsEvaluated by:- tst_QFtp
- tst_QRegExp
- tst_QSslKey
|
| 12-2983 |
2222 | memcpy(nextCapBegin + m * ncap, capBegin, ncap * sizeof(int)); | - |
2223 | memcpy(nextCapEnd + m * ncap, capEnd, ncap * sizeof(int)); | - |
2224 | }executed 12 times by 1 test: end of block | 12 |
2225 | }executed 2162295 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 2162295 |
2226 | #ifndef QT_NO_REGEXP_BACKREF | - |
2227 | | - |
2228 | | - |
2229 | | - |
2230 | | - |
2231 | | - |
2232 | | - |
2233 | if (needSomeSleep > 0) {TRUE | evaluated 11762 times by 1 test | FALSE | evaluated 4626270 times by 82 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 11762-4626270 |
2234 | QVector<int> zzZ(2 + 2 * ncap); | - |
2235 | zzZ[0] = i + needSomeSleep; | - |
2236 | zzZ[1] = next; | - |
2237 | if (ncap > 0) {TRUE | evaluated 11762 times by 1 test | FALSE | never evaluated |
| 0-11762 |
2238 | memcpy(zzZ.data() + 2, capBegin, ncap * sizeof(int)); | - |
2239 | memcpy(zzZ.data() + 2 + ncap, capEnd, ncap * sizeof(int)); | - |
2240 | }executed 11762 times by 1 test: end of block | 11762 |
2241 | inNextStack[nextStack[--nnext]] = -1; | - |
2242 | sleeping.append(zzZ); | - |
2243 | }executed 11762 times by 1 test: end of block | 11762 |
2244 | #endif | - |
2245 | #endif | - |
2246 | }executed 4638032 times by 82 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 4638032 |
2247 | }executed 11834235 times by 84 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 11834235 |
2248 | }executed 5822833 times by 84 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 5822833 |
2249 | #ifndef QT_NO_REGEXP_CAPTURE | - |
2250 | | - |
2251 | | - |
2252 | | - |
2253 | | - |
2254 | if (ncap > 0 && (m = inNextStack[QRegExpEngine::FinalState]) != -1) {TRUE | evaluated 2081397 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 3334781 times by 73 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
|
TRUE | evaluated 327029 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1740314 times by 23 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 327029-3334781 |
2255 | memcpy(capBegin, nextCapBegin + m * ncap, ncap * sizeof(int)); | - |
2256 | memcpy(capEnd, nextCapEnd + m * ncap, ncap * sizeof(int)); | - |
2257 | }executed 327029 times by 23 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 327029 |
2258 | #ifndef QT_NO_REGEXP_BACKREF | - |
2259 | | - |
2260 | | - |
2261 | | - |
2262 | j = 0; | - |
2263 | while (j < sleeping.count()) {TRUE | evaluated 75828 times by 1 test | FALSE | evaluated 5399443 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 75828-5399443 |
2264 | if (sleeping.at(j)[0] == i) {TRUE | evaluated 11762 times by 1 test | FALSE | evaluated 64066 times by 1 test |
| 11762-64066 |
2265 | const QVector<int> &zzZ = sleeping.at(j); | - |
2266 | int next = zzZ[1]; | - |
2267 | const int *capBegin = zzZ.data() + 2; | - |
2268 | const int *capEnd = zzZ.data() + 2 + ncap; | - |
2269 | bool copyOver = true; | - |
2270 | | - |
2271 | if ((m = inNextStack[next]) == -1) {TRUE | evaluated 11742 times by 1 test | FALSE | evaluated 20 times by 1 test |
| 20-11742 |
2272 | m = nnext++; | - |
2273 | nextStack[m] = next; | - |
2274 | inNextStack[next] = m; | - |
2275 | } else {executed 11742 times by 1 test: end of block | 11742 |
2276 | copyOver = isBetterCapture(ncap, nextCapBegin + m * ncap, nextCapEnd + m * ncap, | - |
2277 | capBegin, capEnd); | - |
2278 | }executed 20 times by 1 test: end of block | 20 |
2279 | if (copyOver) {TRUE | evaluated 11762 times by 1 test | FALSE | never evaluated |
| 0-11762 |
2280 | memcpy(nextCapBegin + m * ncap, capBegin, ncap * sizeof(int)); | - |
2281 | memcpy(nextCapEnd + m * ncap, capEnd, ncap * sizeof(int)); | - |
2282 | }executed 11762 times by 1 test: end of block | 11762 |
2283 | | - |
2284 | sleeping.removeAt(j); | - |
2285 | } else {executed 11762 times by 1 test: end of block | 11762 |
2286 | ++j; | - |
2287 | }executed 64066 times by 1 test: end of block | 64066 |
2288 | } | - |
2289 | #endif | - |
2290 | #endif | - |
2291 | for (j = 0; j < nnext; j++)TRUE | evaluated 4635000 times by 82 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 5416178 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 4635000-5416178 |
2292 | inNextStack[nextStack[j]] = -1;executed 4635000 times by 82 tests: inNextStack[nextStack[j]] = -1; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 4635000 |
2293 | | - |
2294 | | - |
2295 | if (nnext == 1 && nextStack[0] == QRegExpEngine::FinalStateTRUE | evaluated 3714822 times by 81 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 1701356 times by 83 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
TRUE | evaluated 428667 times by 49 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- ...
| FALSE | evaluated 3286155 times by 81 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 428667-3714822 |
2296 | #ifndef QT_NO_REGEXP_BACKREF | - |
2297 | && sleeping.isEmpty()TRUE | evaluated 428667 times by 49 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- ...
| FALSE | never evaluated |
| 0-428667 |
2298 | #endif | - |
2299 | ) | - |
2300 | stop = true;executed 428667 times by 49 tests: stop = true; Executed by:- tst_Collections
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- ...
| 428667 |
2301 | | - |
2302 | qSwap(curStack, nextStack); | - |
2303 | #ifndef QT_NO_REGEXP_CAPTURE | - |
2304 | qSwap(curCapBegin, nextCapBegin); | - |
2305 | qSwap(curCapEnd, nextCapEnd); | - |
2306 | #endif | - |
2307 | ncur = nnext; | - |
2308 | nnext = 0; | - |
2309 | ++i; | - |
2310 | }executed 5407535 times by 84 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 5407535 |
2311 | | - |
2312 | #ifndef QT_NO_REGEXP_BACKREF | - |
2313 | | - |
2314 | | - |
2315 | | - |
2316 | | - |
2317 | if (!sleeping.isEmpty())TRUE | never evaluated | FALSE | evaluated 1750891 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 0-1750891 |
2318 | sleeping.clear(); never executed: sleeping.clear(); | 0 |
2319 | #endif | - |
2320 | | - |
2321 | oneTestMatchedLen = i - 1; | - |
2322 | return (matchLen >= 0);executed 1750891 times by 84 tests: return (matchLen >= 0); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 1750891 |
2323 | } | - |
2324 | | - |
2325 | #ifndef QT_NO_REGEXP_CCLASS | - |
2326 | | - |
2327 | QRegExpCharClass::QRegExpCharClass() | - |
2328 | : c(0), n(false) | - |
2329 | { | - |
2330 | #ifndef QT_NO_REGEXP_OPTIM | - |
2331 | occ1.fill(NoOccurrence, NumBadChars); | - |
2332 | #endif | - |
2333 | }executed 30858 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 30858 |
2334 | | - |
2335 | void QRegExpCharClass::clear() | - |
2336 | { | - |
2337 | c = 0; | - |
2338 | r.clear(); | - |
2339 | n = false; | - |
2340 | }executed 34392 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 34392 |
2341 | | - |
2342 | void QRegExpCharClass::setNegative(bool negative) | - |
2343 | { | - |
2344 | n = negative; | - |
2345 | #ifndef QT_NO_REGEXP_OPTIM | - |
2346 | occ1.fill(0, NumBadChars); | - |
2347 | #endif | - |
2348 | }executed 1553 times by 92 tests: end of block Executed by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
| 1553 |
2349 | | - |
2350 | void QRegExpCharClass::addCategories(uint cats) | - |
2351 | { | - |
2352 | static const int all_cats = FLAG(QChar::Mark_NonSpacing) | | - |
2353 | FLAG(QChar::Mark_SpacingCombining) | | - |
2354 | FLAG(QChar::Mark_Enclosing) | | - |
2355 | FLAG(QChar::Number_DecimalDigit) | | - |
2356 | FLAG(QChar::Number_Letter) | | - |
2357 | FLAG(QChar::Number_Other) | | - |
2358 | FLAG(QChar::Separator_Space) | | - |
2359 | FLAG(QChar::Separator_Line) | | - |
2360 | FLAG(QChar::Separator_Paragraph) | | - |
2361 | FLAG(QChar::Other_Control) | | - |
2362 | FLAG(QChar::Other_Format) | | - |
2363 | FLAG(QChar::Other_Surrogate) | | - |
2364 | FLAG(QChar::Other_PrivateUse) | | - |
2365 | FLAG(QChar::Other_NotAssigned) | | - |
2366 | FLAG(QChar::Letter_Uppercase) | | - |
2367 | FLAG(QChar::Letter_Lowercase) | | - |
2368 | FLAG(QChar::Letter_Titlecase) | | - |
2369 | FLAG(QChar::Letter_Modifier) | | - |
2370 | FLAG(QChar::Letter_Other) | | - |
2371 | FLAG(QChar::Punctuation_Connector) | | - |
2372 | FLAG(QChar::Punctuation_Dash) | | - |
2373 | FLAG(QChar::Punctuation_Open) | | - |
2374 | FLAG(QChar::Punctuation_Close) | | - |
2375 | FLAG(QChar::Punctuation_InitialQuote) | | - |
2376 | FLAG(QChar::Punctuation_FinalQuote) | | - |
2377 | FLAG(QChar::Punctuation_Other) | | - |
2378 | FLAG(QChar::Symbol_Math) | | - |
2379 | FLAG(QChar::Symbol_Currency) | | - |
2380 | FLAG(QChar::Symbol_Modifier) | | - |
2381 | FLAG(QChar::Symbol_Other); | - |
2382 | c |= (all_cats & cats); | - |
2383 | #ifndef QT_NO_REGEXP_OPTIM | - |
2384 | occ1.fill(0, NumBadChars); | - |
2385 | #endif | - |
2386 | }executed 308 times by 19 tests: end of block Executed by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSqlDatabase
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
| 308 |
2387 | | - |
2388 | void QRegExpCharClass::addRange(ushort from, ushort to) | - |
2389 | { | - |
2390 | if (from > to)TRUE | never evaluated | FALSE | evaluated 8272 times by 68 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 0-8272 |
2391 | qSwap(from, to); never executed: qSwap(from, to); | 0 |
2392 | int m = r.size(); | - |
2393 | r.resize(m + 1); | - |
2394 | r[m].from = from; | - |
2395 | r[m].len = to - from + 1; | - |
2396 | | - |
2397 | #ifndef QT_NO_REGEXP_OPTIM | - |
2398 | int i; | - |
2399 | | - |
2400 | if (to - from < NumBadChars) {TRUE | evaluated 7152 times by 68 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| FALSE | evaluated 1120 times by 1 test |
| 1120-7152 |
2401 | if (from % NumBadChars <= to % NumBadChars) {TRUE | evaluated 7131 times by 68 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| FALSE | evaluated 21 times by 5 testsEvaluated by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
|
| 21-7131 |
2402 | for (i = from % NumBadChars; i <= to % NumBadChars; i++)TRUE | evaluated 21587 times by 68 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| FALSE | evaluated 7131 times by 68 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 7131-21587 |
2403 | occ1[i] = 0;executed 21587 times by 68 tests: occ1[i] = 0; Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 21587 |
2404 | } else {executed 7131 times by 68 tests: end of block Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 7131 |
2405 | for (i = 0; i <= to % NumBadChars; i++)TRUE | evaluated 97 times by 5 testsEvaluated by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
| FALSE | evaluated 21 times by 5 testsEvaluated by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
|
| 21-97 |
2406 | occ1[i] = 0;executed 97 times by 5 tests: occ1[i] = 0; Executed by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
| 97 |
2407 | for (i = from % NumBadChars; i < NumBadChars; i++)TRUE | evaluated 21 times by 5 testsEvaluated by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
| FALSE | evaluated 21 times by 5 testsEvaluated by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
|
| 21 |
2408 | occ1[i] = 0;executed 21 times by 5 tests: occ1[i] = 0; Executed by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
| 21 |
2409 | }executed 21 times by 5 tests: end of block Executed by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
- tst_QString
| 21 |
2410 | } else { | - |
2411 | occ1.fill(0, NumBadChars); | - |
2412 | }executed 1120 times by 1 test: end of block | 1120 |
2413 | #endif | - |
2414 | } | - |
2415 | | - |
2416 | bool QRegExpCharClass::in(QChar ch) const | - |
2417 | { | - |
2418 | #ifndef QT_NO_REGEXP_OPTIM | - |
2419 | if (occ1.at(BadChar(ch)) == NoOccurrence)TRUE | evaluated 702101 times by 48 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| FALSE | evaluated 5464569 times by 84 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 702101-5464569 |
2420 | return n;executed 702101 times by 48 tests: return n; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 702101 |
2421 | #endif | - |
2422 | | - |
2423 | if (c != 0 && (c & FLAG(ch.category())) != 0)TRUE | evaluated 478079 times by 20 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSqlDatabase
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_uic
| FALSE | evaluated 4986490 times by 78 testsEvaluated by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
|
TRUE | evaluated 238590 times by 19 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_uic
| FALSE | evaluated 239489 times by 19 testsEvaluated by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSqlDatabase
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_uic
|
| 238590-4986490 |
2424 | return !n;executed 238590 times by 19 tests: return !n; Executed by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_uic
| 238590 |
2425 | | - |
2426 | const int uc = ch.unicode(); | - |
2427 | int size = r.size(); | - |
2428 | | - |
2429 | for (int i = 0; i < size; ++i) {TRUE | evaluated 20946500 times by 60 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- ...
| FALSE | evaluated 3833050 times by 72 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
|
| 3833050-20946500 |
2430 | const QRegExpCharClassRange &range = r.at(i); | - |
2431 | if (uint(uc - range.from) < uint(r.at(i).len))TRUE | evaluated 1392929 times by 41 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- ...
| FALSE | evaluated 19553571 times by 58 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- ...
|
| 1392929-19553571 |
2432 | return !n;executed 1392929 times by 41 tests: return !n; Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSharedMemory
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- ...
| 1392929 |
2433 | }executed 19553571 times by 58 tests: end of block Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- ...
| 19553571 |
2434 | return n;executed 3833050 times by 72 tests: return n; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 3833050 |
2435 | } | - |
2436 | | - |
2437 | #if defined(QT_DEBUG) | - |
2438 | void QRegExpCharClass::dump() const | - |
2439 | { | - |
2440 | int i; | - |
2441 | qDebug(" %stive character class", n ? "nega" : "posi"); | - |
2442 | #ifndef QT_NO_REGEXP_CCLASS | - |
2443 | if (c != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2444 | qDebug(" categories 0x%.8x", c); never executed: QMessageLogger(__FILE__, 2444, __PRETTY_FUNCTION__).debug(" categories 0x%.8x", c); | 0 |
2445 | #endif | - |
2446 | for (i = 0; i < r.size(); i++)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2447 | qDebug(" 0x%.4x through 0x%.4x", r[i].from, r[i].from + r[i].len - 1); never executed: QMessageLogger(__FILE__, 2447, __PRETTY_FUNCTION__).debug(" 0x%.4x through 0x%.4x", r[i].from, r[i].from + r[i].len - 1); | 0 |
2448 | } never executed: end of block | 0 |
2449 | #endif | - |
2450 | #endif | - |
2451 | | - |
2452 | QRegExpEngine::Box::Box(QRegExpEngine *engine) | - |
2453 | : eng(engine), skipanchors(0) | - |
2454 | #ifndef QT_NO_REGEXP_OPTIM | - |
2455 | , earlyStart(0), lateStart(0), maxl(0) | - |
2456 | #endif | - |
2457 | { | - |
2458 | #ifndef QT_NO_REGEXP_OPTIM | - |
2459 | occ1.fill(NoOccurrence, NumBadChars); | - |
2460 | #endif | - |
2461 | minl = 0; | - |
2462 | }executed 32429 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 32429 |
2463 | | - |
2464 | QRegExpEngine::Box &QRegExpEngine::Box::operator=(const Box &b) | - |
2465 | { | - |
2466 | eng = b.eng; | - |
2467 | ls = b.ls; | - |
2468 | rs = b.rs; | - |
2469 | lanchors = b.lanchors; | - |
2470 | ranchors = b.ranchors; | - |
2471 | skipanchors = b.skipanchors; | - |
2472 | #ifndef QT_NO_REGEXP_OPTIM | - |
2473 | earlyStart = b.earlyStart; | - |
2474 | lateStart = b.lateStart; | - |
2475 | str = b.str; | - |
2476 | leftStr = b.leftStr; | - |
2477 | rightStr = b.rightStr; | - |
2478 | maxl = b.maxl; | - |
2479 | occ1 = b.occ1; | - |
2480 | #endif | - |
2481 | minl = b.minl; | - |
2482 | return *this;executed 2978 times by 98 tests: return *this; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 2978 |
2483 | } | - |
2484 | | - |
2485 | void QRegExpEngine::Box::set(QChar ch) | - |
2486 | { | - |
2487 | ls.resize(1); | - |
2488 | ls[0] = eng->createState(ch); | - |
2489 | rs = ls; | - |
2490 | #ifndef QT_NO_REGEXP_OPTIM | - |
2491 | str = ch; | - |
2492 | leftStr = ch; | - |
2493 | rightStr = ch; | - |
2494 | maxl = 1; | - |
2495 | occ1[BadChar(ch)] = 0; | - |
2496 | #endif | - |
2497 | minl = 1; | - |
2498 | }executed 22721 times by 82 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 22721 |
2499 | | - |
2500 | void QRegExpEngine::Box::set(const QRegExpCharClass &cc) | - |
2501 | { | - |
2502 | ls.resize(1); | - |
2503 | ls[0] = eng->createState(cc); | - |
2504 | rs = ls; | - |
2505 | #ifndef QT_NO_REGEXP_OPTIM | - |
2506 | maxl = 1; | - |
2507 | occ1 = cc.firstOccurrence(); | - |
2508 | #endif | - |
2509 | minl = 1; | - |
2510 | }executed 6409 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 6409 |
2511 | | - |
2512 | #ifndef QT_NO_REGEXP_BACKREF | - |
2513 | void QRegExpEngine::Box::set(int bref) | - |
2514 | { | - |
2515 | ls.resize(1); | - |
2516 | ls[0] = eng->createState(bref); | - |
2517 | rs = ls; | - |
2518 | if (bref >= 1 && bref <= MaxBackRefs)TRUE | evaluated 190 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 190 times by 1 test | FALSE | never evaluated |
| 0-190 |
2519 | skipanchors = Anchor_BackRef0Empty << bref;executed 190 times by 1 test: skipanchors = Anchor_BackRef0Empty << bref; | 190 |
2520 | #ifndef QT_NO_REGEXP_OPTIM | - |
2521 | maxl = InftyLen; | - |
2522 | #endif | - |
2523 | minl = 0; | - |
2524 | }executed 190 times by 1 test: end of block | 190 |
2525 | #endif | - |
2526 | | - |
2527 | void QRegExpEngine::Box::cat(const Box &b) | - |
2528 | { | - |
2529 | eng->addCatTransitions(rs, b.ls); | - |
2530 | addAnchorsToEngine(b); | - |
2531 | if (minl == 0) {TRUE | evaluated 2861 times by 98 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 27402 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 2861-27402 |
2532 | lanchors.unite(b.lanchors); | - |
2533 | if (skipanchors != 0) {TRUE | evaluated 266 times by 29 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
| FALSE | evaluated 2595 times by 98 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 266-2595 |
2534 | for (int i = 0; i < b.ls.size(); i++) {TRUE | evaluated 409 times by 28 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- ...
| FALSE | evaluated 266 times by 29 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
|
| 266-409 |
2535 | int a = eng->anchorConcatenation(lanchors.value(b.ls.at(i), 0), skipanchors); | - |
2536 | lanchors.insert(b.ls.at(i), a); | - |
2537 | }executed 409 times by 28 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- ...
| 409 |
2538 | }executed 266 times by 29 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
| 266 |
2539 | mergeInto(&ls, b.ls); | - |
2540 | }executed 2861 times by 98 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 2861 |
2541 | if (b.minl == 0) {TRUE | evaluated 4854 times by 102 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 25409 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 4854-25409 |
2542 | ranchors.unite(b.ranchors); | - |
2543 | if (b.skipanchors != 0) {TRUE | evaluated 405 times by 18 testsEvaluated by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 4449 times by 102 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 405-4449 |
2544 | for (int i = 0; i < rs.size(); i++) {TRUE | evaluated 1028 times by 18 testsEvaluated by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 405 times by 18 testsEvaluated by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 405-1028 |
2545 | int a = eng->anchorConcatenation(ranchors.value(rs.at(i), 0), b.skipanchors); | - |
2546 | ranchors.insert(rs.at(i), a); | - |
2547 | }executed 1028 times by 18 tests: end of block Executed by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1028 |
2548 | }executed 405 times by 18 tests: end of block Executed by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 405 |
2549 | mergeInto(&rs, b.rs); | - |
2550 | } else {executed 4854 times by 102 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 4854 |
2551 | ranchors = b.ranchors; | - |
2552 | rs = b.rs; | - |
2553 | }executed 25409 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 25409 |
2554 | | - |
2555 | #ifndef QT_NO_REGEXP_OPTIM | - |
2556 | if (maxl != InftyLen) {TRUE | evaluated 26998 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 3265 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
|
| 3265-26998 |
2557 | if (rightStr.length() + b.leftStr.length() >TRUE | evaluated 19410 times by 56 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QLineEdit
- tst_QMimeDatabase
- ...
| FALSE | evaluated 7588 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 7588-19410 |
2558 | qMax(str.length(), b.str.length())) {TRUE | evaluated 19410 times by 56 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QLineEdit
- tst_QMimeDatabase
- ...
| FALSE | evaluated 7588 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 7588-19410 |
2559 | earlyStart = minl - rightStr.length(); | - |
2560 | lateStart = maxl - rightStr.length(); | - |
2561 | str = rightStr + b.leftStr; | - |
2562 | } else if (b.str.length() > str.length()) {executed 19410 times by 56 tests: end of block Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QLineEdit
- tst_QMimeDatabase
- ...
TRUE | evaluated 946 times by 69 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| FALSE | evaluated 6642 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 946-19410 |
2563 | earlyStart = minl + b.earlyStart; | - |
2564 | lateStart = maxl + b.lateStart; | - |
2565 | str = b.str; | - |
2566 | }executed 946 times by 69 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 946 |
2567 | }executed 26998 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 26998 |
2568 | | - |
2569 | if (leftStr.length() == maxl)TRUE | evaluated 22890 times by 99 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 7373 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 7373-22890 |
2570 | leftStr += b.leftStr;executed 22890 times by 99 tests: leftStr += b.leftStr; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 22890 |
2571 | | - |
2572 | if (b.rightStr.length() == b.maxl) {TRUE | evaluated 21808 times by 90 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- ...
| FALSE | evaluated 8455 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 8455-21808 |
2573 | rightStr += b.rightStr; | - |
2574 | } else {executed 21808 times by 90 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- ...
| 21808 |
2575 | rightStr = b.rightStr; | - |
2576 | }executed 8455 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 8455 |
2577 | | - |
2578 | if (maxl == InftyLen || b.maxl == InftyLen) {TRUE | evaluated 3265 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 26998 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
TRUE | evaluated 3533 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 23465 times by 89 testsEvaluated by:- tst_Collections
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
|
| 3265-26998 |
2579 | maxl = InftyLen; | - |
2580 | } else {executed 6798 times by 97 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 6798 |
2581 | maxl += b.maxl; | - |
2582 | }executed 23465 times by 89 tests: end of block Executed by:- tst_Collections
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 23465 |
2583 | | - |
2584 | for (int i = 0; i < NumBadChars; i++) {TRUE | evaluated 1936832 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 30263 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 30263-1936832 |
2585 | if (b.occ1.at(i) != NoOccurrence && minl + b.occ1.at(i) < occ1.at(i))TRUE | evaluated 363402 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 1573430 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
TRUE | evaluated 227116 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 136286 times by 80 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 136286-1573430 |
2586 | occ1[i] = minl + b.occ1.at(i);executed 227116 times by 110 tests: occ1[i] = minl + b.occ1.at(i); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 227116 |
2587 | }executed 1936832 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1936832 |
2588 | #endif | - |
2589 | | - |
2590 | minl += b.minl; | - |
2591 | if (minl == 0)TRUE | evaluated 2323 times by 93 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 27940 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 2323-27940 |
2592 | skipanchors = eng->anchorConcatenation(skipanchors, b.skipanchors);executed 2323 times by 93 tests: skipanchors = eng->anchorConcatenation(skipanchors, b.skipanchors); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 2323 |
2593 | else | - |
2594 | skipanchors = 0;executed 27940 times by 116 tests: skipanchors = 0; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 27940 |
2595 | } | - |
2596 | | - |
2597 | void QRegExpEngine::Box::orx(const Box &b) | - |
2598 | { | - |
2599 | mergeInto(&ls, b.ls); | - |
2600 | lanchors.unite(b.lanchors); | - |
2601 | mergeInto(&rs, b.rs); | - |
2602 | ranchors.unite(b.ranchors); | - |
2603 | | - |
2604 | if (b.minl == 0) {TRUE | evaluated 63 times by 4 testsEvaluated by:- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
| FALSE | evaluated 403 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
|
| 63-403 |
2605 | if (minl == 0)TRUE | evaluated 40 times by 1 test | FALSE | evaluated 23 times by 4 testsEvaluated by:- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
|
| 23-40 |
2606 | skipanchors = eng->anchorAlternation(skipanchors, b.skipanchors);executed 40 times by 1 test: skipanchors = eng->anchorAlternation(skipanchors, b.skipanchors); | 40 |
2607 | else | - |
2608 | skipanchors = b.skipanchors;executed 23 times by 4 tests: skipanchors = b.skipanchors; Executed by:- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
| 23 |
2609 | } | - |
2610 | | - |
2611 | #ifndef QT_NO_REGEXP_OPTIM | - |
2612 | for (int i = 0; i < NumBadChars; i++) {TRUE | evaluated 29824 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| FALSE | evaluated 466 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
|
| 466-29824 |
2613 | if (occ1.at(i) > b.occ1.at(i))TRUE | evaluated 1132 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| FALSE | evaluated 28692 times by 10 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
|
| 1132-28692 |
2614 | occ1[i] = b.occ1.at(i);executed 1132 times by 11 tests: occ1[i] = b.occ1.at(i); Executed by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| 1132 |
2615 | }executed 29824 times by 11 tests: end of block Executed by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| 29824 |
2616 | earlyStart = 0; | - |
2617 | lateStart = 0; | - |
2618 | str = QString(); | - |
2619 | leftStr = QString(); | - |
2620 | rightStr = QString(); | - |
2621 | if (b.maxl > maxl)TRUE | evaluated 210 times by 4 testsEvaluated by:- tst_QFtp
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
| FALSE | evaluated 256 times by 9 testsEvaluated by:- tst_QDataStream
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
|
| 210-256 |
2622 | maxl = b.maxl;executed 210 times by 4 tests: maxl = b.maxl; Executed by:- tst_QFtp
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
| 210 |
2623 | #endif | - |
2624 | if (b.minl < minl)TRUE | evaluated 43 times by 8 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
| FALSE | evaluated 423 times by 9 testsEvaluated by:- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
|
| 43-423 |
2625 | minl = b.minl;executed 43 times by 8 tests: minl = b.minl; Executed by:- tst_QDataStream
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
| 43 |
2626 | }executed 466 times by 11 tests: end of block Executed by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| 466 |
2627 | | - |
2628 | void QRegExpEngine::Box::plus(int atom) | - |
2629 | { | - |
2630 | #ifndef QT_NO_REGEXP_CAPTURE | - |
2631 | eng->addPlusTransitions(rs, ls, atom); | - |
2632 | #else | - |
2633 | Q_UNUSED(atom); | - |
2634 | eng->addCatTransitions(rs, ls); | - |
2635 | #endif | - |
2636 | addAnchorsToEngine(*this); | - |
2637 | #ifndef QT_NO_REGEXP_OPTIM | - |
2638 | maxl = InftyLen; | - |
2639 | #endif | - |
2640 | }executed 2194 times by 97 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 2194 |
2641 | | - |
2642 | void QRegExpEngine::Box::opt() | - |
2643 | { | - |
2644 | #ifndef QT_NO_REGEXP_OPTIM | - |
2645 | earlyStart = 0; | - |
2646 | lateStart = 0; | - |
2647 | str = QString(); | - |
2648 | leftStr = QString(); | - |
2649 | rightStr = QString(); | - |
2650 | #endif | - |
2651 | skipanchors = 0; | - |
2652 | minl = 0; | - |
2653 | }executed 2196 times by 93 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 2196 |
2654 | | - |
2655 | void QRegExpEngine::Box::catAnchor(int a) | - |
2656 | { | - |
2657 | if (a != 0) {TRUE | evaluated 365 times by 30 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| FALSE | never evaluated |
| 0-365 |
2658 | for (int i = 0; i < rs.size(); i++) {TRUE | never evaluated | FALSE | evaluated 365 times by 30 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
|
| 0-365 |
2659 | a = eng->anchorConcatenation(ranchors.value(rs.at(i), 0), a); | - |
2660 | ranchors.insert(rs.at(i), a); | - |
2661 | } never executed: end of block | 0 |
2662 | if (minl == 0)TRUE | evaluated 365 times by 30 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| FALSE | never evaluated |
| 0-365 |
2663 | skipanchors = eng->anchorConcatenation(skipanchors, a);executed 365 times by 30 tests: skipanchors = eng->anchorConcatenation(skipanchors, a); Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 365 |
2664 | }executed 365 times by 30 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 365 |
2665 | }executed 365 times by 30 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 365 |
2666 | | - |
2667 | #ifndef QT_NO_REGEXP_OPTIM | - |
2668 | void QRegExpEngine::Box::setupHeuristics() | - |
2669 | { | - |
2670 | eng->goodEarlyStart = earlyStart; | - |
2671 | eng->goodLateStart = lateStart; | - |
2672 | eng->goodStr = eng->cs ? str : str.toLower();TRUE | evaluated 1411 times by 80 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| FALSE | evaluated 267 times by 64 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- ...
|
| 267-1411 |
2673 | | - |
2674 | eng->minl = minl; | - |
2675 | if (eng->cs) {TRUE | evaluated 1411 times by 80 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| FALSE | evaluated 267 times by 64 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- ...
|
| 267-1411 |
2676 | | - |
2677 | | - |
2678 | | - |
2679 | | - |
2680 | | - |
2681 | | - |
2682 | | - |
2683 | | - |
2684 | | - |
2685 | for (int i = 0; i < NumBadChars; i++) {TRUE | evaluated 90304 times by 80 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| FALSE | evaluated 1411 times by 80 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
|
| 1411-90304 |
2686 | if (occ1.at(i) != NoOccurrence && occ1.at(i) >= minl)TRUE | evaluated 27941 times by 74 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- ...
| FALSE | evaluated 62363 times by 58 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHeaderView
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- ...
|
TRUE | evaluated 1832 times by 12 testsEvaluated by:- tst_QDirIterator
- tst_QItemModel
- tst_QLibrary
- tst_QMetaType
- tst_QObject
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QTextDocument
- tst_qmakelib
| FALSE | evaluated 26109 times by 71 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- ...
|
| 1832-62363 |
2687 | occ1[i] = minl;executed 1832 times by 12 tests: occ1[i] = minl; Executed by:- tst_QDirIterator
- tst_QItemModel
- tst_QLibrary
- tst_QMetaType
- tst_QObject
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QTextDocument
- tst_qmakelib
| 1832 |
2688 | }executed 90304 times by 80 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 90304 |
2689 | eng->occ1 = occ1; | - |
2690 | } else {executed 1411 times by 80 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 1411 |
2691 | eng->occ1.fill(0, NumBadChars); | - |
2692 | }executed 267 times by 64 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- ...
| 267 |
2693 | | - |
2694 | eng->heuristicallyChooseHeuristic(); | - |
2695 | }executed 1678 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1678 |
2696 | #endif | - |
2697 | | - |
2698 | #if defined(QT_DEBUG) | - |
2699 | void QRegExpEngine::Box::dump() const | - |
2700 | { | - |
2701 | int i; | - |
2702 | qDebug("Box of at least %d character%s", minl, minl == 1 ? "" : "s"); | - |
2703 | qDebug(" Left states:"); | - |
2704 | for (i = 0; i < ls.size(); i++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2705 | if (lanchors.value(ls[i], 0) == 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2706 | qDebug(" %d", ls[i]); never executed: QMessageLogger(__FILE__, 2706, __PRETTY_FUNCTION__).debug(" %d", ls[i]); | 0 |
2707 | else | - |
2708 | qDebug(" %d [anchors 0x%.8x]", ls[i], lanchors[ls[i]]); never executed: QMessageLogger(__FILE__, 2708, __PRETTY_FUNCTION__).debug(" %d [anchors 0x%.8x]", ls[i], lanchors[ls[i]]); | 0 |
2709 | } | - |
2710 | qDebug(" Right states:"); | - |
2711 | for (i = 0; i < rs.size(); i++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2712 | if (ranchors.value(rs[i], 0) == 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2713 | qDebug(" %d", rs[i]); never executed: QMessageLogger(__FILE__, 2713, __PRETTY_FUNCTION__).debug(" %d", rs[i]); | 0 |
2714 | else | - |
2715 | qDebug(" %d [anchors 0x%.8x]", rs[i], ranchors[rs[i]]); never executed: QMessageLogger(__FILE__, 2715, __PRETTY_FUNCTION__).debug(" %d [anchors 0x%.8x]", rs[i], ranchors[rs[i]]); | 0 |
2716 | } | - |
2717 | qDebug(" Skip anchors: 0x%.8x", skipanchors); | - |
2718 | } never executed: end of block | 0 |
2719 | #endif | - |
2720 | | - |
2721 | void QRegExpEngine::Box::addAnchorsToEngine(const Box &to) const | - |
2722 | { | - |
2723 | for (int i = 0; i < to.ls.size(); i++) {TRUE | evaluated 33388 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 32457 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 32457-33388 |
2724 | for (int j = 0; j < rs.size(); j++) {TRUE | evaluated 36738 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 33388 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 33388-36738 |
2725 | int a = eng->anchorConcatenation(ranchors.value(rs.at(j), 0), | - |
2726 | to.lanchors.value(to.ls.at(i), 0)); | - |
2727 | eng->addAnchors(rs[j], to.ls[i], a); | - |
2728 | }executed 36738 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 36738 |
2729 | }executed 33388 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 33388 |
2730 | }executed 32457 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 32457 |
2731 | | - |
2732 | #ifndef QT_NO_REGEXP_CCLASS | - |
2733 | | - |
2734 | | - |
2735 | static const struct CategoriesRangeMapEntry { | - |
2736 | const char name[40]; | - |
2737 | uint first, second; | - |
2738 | } categoriesRangeMap[] = { | - |
2739 | { "AegeanNumbers", 0x10100, 0x1013F }, | - |
2740 | { "AlphabeticPresentationForms", 0xFB00, 0xFB4F }, | - |
2741 | { "AncientGreekMusicalNotation", 0x1D200, 0x1D24F }, | - |
2742 | { "AncientGreekNumbers", 0x10140, 0x1018F }, | - |
2743 | { "Arabic", 0x0600, 0x06FF }, | - |
2744 | { "ArabicPresentationForms-A", 0xFB50, 0xFDFF }, | - |
2745 | { "ArabicPresentationForms-B", 0xFE70, 0xFEFF }, | - |
2746 | { "ArabicSupplement", 0x0750, 0x077F }, | - |
2747 | { "Armenian", 0x0530, 0x058F }, | - |
2748 | { "Arrows", 0x2190, 0x21FF }, | - |
2749 | { "BasicLatin", 0x0000, 0x007F }, | - |
2750 | { "Bengali", 0x0980, 0x09FF }, | - |
2751 | { "BlockElements", 0x2580, 0x259F }, | - |
2752 | { "Bopomofo", 0x3100, 0x312F }, | - |
2753 | { "BopomofoExtended", 0x31A0, 0x31BF }, | - |
2754 | { "BoxDrawing", 0x2500, 0x257F }, | - |
2755 | { "BraillePatterns", 0x2800, 0x28FF }, | - |
2756 | { "Buginese", 0x1A00, 0x1A1F }, | - |
2757 | { "Buhid", 0x1740, 0x175F }, | - |
2758 | { "ByzantineMusicalSymbols", 0x1D000, 0x1D0FF }, | - |
2759 | { "CJKCompatibility", 0x3300, 0x33FF }, | - |
2760 | { "CJKCompatibilityForms", 0xFE30, 0xFE4F }, | - |
2761 | { "CJKCompatibilityIdeographs", 0xF900, 0xFAFF }, | - |
2762 | { "CJKCompatibilityIdeographsSupplement", 0x2F800, 0x2FA1F }, | - |
2763 | { "CJKRadicalsSupplement", 0x2E80, 0x2EFF }, | - |
2764 | { "CJKStrokes", 0x31C0, 0x31EF }, | - |
2765 | { "CJKSymbolsandPunctuation", 0x3000, 0x303F }, | - |
2766 | { "CJKUnifiedIdeographs", 0x4E00, 0x9FFF }, | - |
2767 | { "CJKUnifiedIdeographsExtensionA", 0x3400, 0x4DB5 }, | - |
2768 | { "CJKUnifiedIdeographsExtensionB", 0x20000, 0x2A6DF }, | - |
2769 | { "Cherokee", 0x13A0, 0x13FF }, | - |
2770 | { "CombiningDiacriticalMarks", 0x0300, 0x036F }, | - |
2771 | { "CombiningDiacriticalMarksSupplement", 0x1DC0, 0x1DFF }, | - |
2772 | { "CombiningHalfMarks", 0xFE20, 0xFE2F }, | - |
2773 | { "CombiningMarksforSymbols", 0x20D0, 0x20FF }, | - |
2774 | { "ControlPictures", 0x2400, 0x243F }, | - |
2775 | { "Coptic", 0x2C80, 0x2CFF }, | - |
2776 | { "CurrencySymbols", 0x20A0, 0x20CF }, | - |
2777 | { "CypriotSyllabary", 0x10800, 0x1083F }, | - |
2778 | { "Cyrillic", 0x0400, 0x04FF }, | - |
2779 | { "CyrillicSupplement", 0x0500, 0x052F }, | - |
2780 | { "Deseret", 0x10400, 0x1044F }, | - |
2781 | { "Devanagari", 0x0900, 0x097F }, | - |
2782 | { "Dingbats", 0x2700, 0x27BF }, | - |
2783 | { "EnclosedAlphanumerics", 0x2460, 0x24FF }, | - |
2784 | { "EnclosedCJKLettersandMonths", 0x3200, 0x32FF }, | - |
2785 | { "Ethiopic", 0x1200, 0x137F }, | - |
2786 | { "EthiopicExtended", 0x2D80, 0x2DDF }, | - |
2787 | { "EthiopicSupplement", 0x1380, 0x139F }, | - |
2788 | { "GeneralPunctuation", 0x2000, 0x206F }, | - |
2789 | { "GeometricShapes", 0x25A0, 0x25FF }, | - |
2790 | { "Georgian", 0x10A0, 0x10FF }, | - |
2791 | { "GeorgianSupplement", 0x2D00, 0x2D2F }, | - |
2792 | { "Glagolitic", 0x2C00, 0x2C5F }, | - |
2793 | { "Gothic", 0x10330, 0x1034F }, | - |
2794 | { "Greek", 0x0370, 0x03FF }, | - |
2795 | { "GreekExtended", 0x1F00, 0x1FFF }, | - |
2796 | { "Gujarati", 0x0A80, 0x0AFF }, | - |
2797 | { "Gurmukhi", 0x0A00, 0x0A7F }, | - |
2798 | { "HalfwidthandFullwidthForms", 0xFF00, 0xFFEF }, | - |
2799 | { "HangulCompatibilityJamo", 0x3130, 0x318F }, | - |
2800 | { "HangulJamo", 0x1100, 0x11FF }, | - |
2801 | { "HangulSyllables", 0xAC00, 0xD7A3 }, | - |
2802 | { "Hanunoo", 0x1720, 0x173F }, | - |
2803 | { "Hebrew", 0x0590, 0x05FF }, | - |
2804 | { "Hiragana", 0x3040, 0x309F }, | - |
2805 | { "IPAExtensions", 0x0250, 0x02AF }, | - |
2806 | { "IdeographicDescriptionCharacters", 0x2FF0, 0x2FFF }, | - |
2807 | { "Kanbun", 0x3190, 0x319F }, | - |
2808 | { "KangxiRadicals", 0x2F00, 0x2FDF }, | - |
2809 | { "Kannada", 0x0C80, 0x0CFF }, | - |
2810 | { "Katakana", 0x30A0, 0x30FF }, | - |
2811 | { "KatakanaPhoneticExtensions", 0x31F0, 0x31FF }, | - |
2812 | { "Kharoshthi", 0x10A00, 0x10A5F }, | - |
2813 | { "Khmer", 0x1780, 0x17FF }, | - |
2814 | { "KhmerSymbols", 0x19E0, 0x19FF }, | - |
2815 | { "Lao", 0x0E80, 0x0EFF }, | - |
2816 | { "Latin-1Supplement", 0x0080, 0x00FF }, | - |
2817 | { "LatinExtended-A", 0x0100, 0x017F }, | - |
2818 | { "LatinExtended-B", 0x0180, 0x024F }, | - |
2819 | { "LatinExtendedAdditional", 0x1E00, 0x1EFF }, | - |
2820 | { "LetterlikeSymbols", 0x2100, 0x214F }, | - |
2821 | { "Limbu", 0x1900, 0x194F }, | - |
2822 | { "LinearBIdeograms", 0x10080, 0x100FF }, | - |
2823 | { "LinearBSyllabary", 0x10000, 0x1007F }, | - |
2824 | { "Malayalam", 0x0D00, 0x0D7F }, | - |
2825 | { "MathematicalAlphanumericSymbols", 0x1D400, 0x1D7FF }, | - |
2826 | { "MathematicalOperators", 0x2200, 0x22FF }, | - |
2827 | { "MiscellaneousMathematicalSymbols-A", 0x27C0, 0x27EF }, | - |
2828 | { "MiscellaneousMathematicalSymbols-B", 0x2980, 0x29FF }, | - |
2829 | { "MiscellaneousSymbols", 0x2600, 0x26FF }, | - |
2830 | { "MiscellaneousSymbolsandArrows", 0x2B00, 0x2BFF }, | - |
2831 | { "MiscellaneousTechnical", 0x2300, 0x23FF }, | - |
2832 | { "ModifierToneLetters", 0xA700, 0xA71F }, | - |
2833 | { "Mongolian", 0x1800, 0x18AF }, | - |
2834 | { "MusicalSymbols", 0x1D100, 0x1D1FF }, | - |
2835 | { "Myanmar", 0x1000, 0x109F }, | - |
2836 | { "NewTaiLue", 0x1980, 0x19DF }, | - |
2837 | { "NumberForms", 0x2150, 0x218F }, | - |
2838 | { "Ogham", 0x1680, 0x169F }, | - |
2839 | { "OldItalic", 0x10300, 0x1032F }, | - |
2840 | { "OldPersian", 0x103A0, 0x103DF }, | - |
2841 | { "OpticalCharacterRecognition", 0x2440, 0x245F }, | - |
2842 | { "Oriya", 0x0B00, 0x0B7F }, | - |
2843 | { "Osmanya", 0x10480, 0x104AF }, | - |
2844 | { "PhoneticExtensions", 0x1D00, 0x1D7F }, | - |
2845 | { "PhoneticExtensionsSupplement", 0x1D80, 0x1DBF }, | - |
2846 | { "PrivateUse", 0xE000, 0xF8FF }, | - |
2847 | { "Runic", 0x16A0, 0x16FF }, | - |
2848 | { "Shavian", 0x10450, 0x1047F }, | - |
2849 | { "Sinhala", 0x0D80, 0x0DFF }, | - |
2850 | { "SmallFormVariants", 0xFE50, 0xFE6F }, | - |
2851 | { "SpacingModifierLetters", 0x02B0, 0x02FF }, | - |
2852 | { "Specials", 0xFFF0, 0xFFFF }, | - |
2853 | { "SuperscriptsandSubscripts", 0x2070, 0x209F }, | - |
2854 | { "SupplementalArrows-A", 0x27F0, 0x27FF }, | - |
2855 | { "SupplementalArrows-B", 0x2900, 0x297F }, | - |
2856 | { "SupplementalMathematicalOperators", 0x2A00, 0x2AFF }, | - |
2857 | { "SupplementalPunctuation", 0x2E00, 0x2E7F }, | - |
2858 | { "SupplementaryPrivateUseArea-A", 0xF0000, 0xFFFFF }, | - |
2859 | { "SupplementaryPrivateUseArea-B", 0x100000, 0x10FFFF }, | - |
2860 | { "SylotiNagri", 0xA800, 0xA82F }, | - |
2861 | { "Syriac", 0x0700, 0x074F }, | - |
2862 | { "Tagalog", 0x1700, 0x171F }, | - |
2863 | { "Tagbanwa", 0x1760, 0x177F }, | - |
2864 | { "Tags", 0xE0000, 0xE007F }, | - |
2865 | { "TaiLe", 0x1950, 0x197F }, | - |
2866 | { "TaiXuanJingSymbols", 0x1D300, 0x1D35F }, | - |
2867 | { "Tamil", 0x0B80, 0x0BFF }, | - |
2868 | { "Telugu", 0x0C00, 0x0C7F }, | - |
2869 | { "Thaana", 0x0780, 0x07BF }, | - |
2870 | { "Thai", 0x0E00, 0x0E7F }, | - |
2871 | { "Tibetan", 0x0F00, 0x0FFF }, | - |
2872 | { "Tifinagh", 0x2D30, 0x2D7F }, | - |
2873 | { "Ugaritic", 0x10380, 0x1039F }, | - |
2874 | { "UnifiedCanadianAboriginalSyllabics", 0x1400, 0x167F }, | - |
2875 | { "VariationSelectors", 0xFE00, 0xFE0F }, | - |
2876 | { "VariationSelectorsSupplement", 0xE0100, 0xE01EF }, | - |
2877 | { "VerticalForms", 0xFE10, 0xFE1F }, | - |
2878 | { "YiRadicals", 0xA490, 0xA4CF }, | - |
2879 | { "YiSyllables", 0xA000, 0xA48F }, | - |
2880 | { "YijingHexagramSymbols", 0x4DC0, 0x4DFF } | - |
2881 | }; | - |
2882 | | - |
2883 | inline bool operator<(const CategoriesRangeMapEntry &entry1, const CategoriesRangeMapEntry &entry2) | - |
2884 | { never executed: return qstrcmp(entry1.name, entry2.name) < 0; return qstrcmp(entry1.name, entry2.name) < 0; }never executed: return qstrcmp(entry1.name, entry2.name) < 0; | 0 |
2885 | inline bool operator<(const char *name, const CategoriesRangeMapEntry &entry) | - |
2886 | { never executed: return qstrcmp(name, entry.name) < 0; return qstrcmp(name, entry.name) < 0; }never executed: return qstrcmp(name, entry.name) < 0; | 0 |
2887 | inline bool operator<(const CategoriesRangeMapEntry &entry, const char *name) | - |
2888 | { never executed: return qstrcmp(entry.name, name) < 0; return qstrcmp(entry.name, name) < 0; }never executed: return qstrcmp(entry.name, name) < 0; | 0 |
2889 | #endif // QT_NO_REGEXP_CCLASS | - |
2890 | | - |
2891 | int QRegExpEngine::getChar() | - |
2892 | { | - |
2893 | return (yyPos == yyLen) ? EOS : yyIn[yyPos++].unicode();executed 70631 times by 116 tests: return (yyPos == yyLen) ? EOS : yyIn[yyPos++].unicode(); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 70631 |
2894 | } | - |
2895 | | - |
2896 | int QRegExpEngine::getEscape() | - |
2897 | { | - |
2898 | #ifndef QT_NO_REGEXP_ESCAPE | - |
2899 | const char tab[] = "afnrtv"; | - |
2900 | const char backTab[] = "\a\f\n\r\t\v"; | - |
2901 | ushort low; | - |
2902 | int i; | - |
2903 | #endif | - |
2904 | ushort val; | - |
2905 | int prevCh = yyCh; | - |
2906 | | - |
2907 | if (prevCh == EOS) {TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| FALSE | evaluated 7706 times by 67 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
|
| 4-7706 |
2908 | error(RXERR_END); | - |
2909 | return Tok_Char | '\\';executed 4 times by 3 tests: return Tok_Char | '\\'; Executed by:- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| 4 |
2910 | } | - |
2911 | yyCh = getChar(); | - |
2912 | #ifndef QT_NO_REGEXP_ESCAPE | - |
2913 | if ((prevCh & ~0xff) == 0) {TRUE | evaluated 7706 times by 67 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
| FALSE | never evaluated |
| 0-7706 |
2914 | const char *p = strchr(tab, prevCh); | - |
2915 | if (p != 0)TRUE | evaluated 940 times by 10 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslCertificate
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
| FALSE | evaluated 6766 times by 67 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
|
| 940-6766 |
2916 | return Tok_Char | backTab[p - tab];executed 940 times by 10 tests: return Tok_Char | backTab[p - tab]; Executed by:- tst_QDate
- tst_QDateTime
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslCertificate
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
| 940 |
2917 | }executed 6766 times by 67 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
| 6766 |
2918 | #endif | - |
2919 | | - |
2920 | switch (prevCh) { | - |
2921 | #ifndef QT_NO_REGEXP_ESCAPE | - |
2922 | case '0':executed 1330 times by 1 test: case '0': | 1330 |
2923 | val = 0; | - |
2924 | for (i = 0; i < 3; i++) {TRUE | evaluated 3990 times by 1 test | FALSE | never evaluated |
| 0-3990 |
2925 | if (yyCh >= '0' && yyCh <= '7')TRUE | evaluated 3110 times by 1 test | FALSE | evaluated 880 times by 1 test |
TRUE | evaluated 2660 times by 1 test | FALSE | evaluated 450 times by 1 test |
| 450-3110 |
2926 | val = (val << 3) | (yyCh - '0');executed 2660 times by 1 test: val = (val << 3) | (yyCh - '0'); | 2660 |
2927 | else | - |
2928 | break;executed 1330 times by 1 test: break; | 1330 |
2929 | yyCh = getChar(); | - |
2930 | }executed 2660 times by 1 test: end of block | 2660 |
2931 | if ((val & ~0377) != 0)TRUE | never evaluated | FALSE | evaluated 1330 times by 1 test |
| 0-1330 |
2932 | error(RXERR_OCTAL); never executed: error("invalid octal value"); | 0 |
2933 | return Tok_Char | val;executed 1330 times by 1 test: return Tok_Char | val; | 1330 |
2934 | #endif | - |
2935 | #ifndef QT_NO_REGEXP_ESCAPE | - |
2936 | case 'B': never executed: case 'B': | 0 |
2937 | return Tok_NonWord; never executed: return Tok_NonWord; | 0 |
2938 | #endif | - |
2939 | #ifndef QT_NO_REGEXP_CCLASS | - |
2940 | case 'D':executed 1 time by 1 test: case 'D': | 1 |
2941 | | - |
2942 | yyCharClass->addCategories(uint(-1) ^ FLAG(QChar::Number_DecimalDigit)); | - |
2943 | return Tok_CharClass;executed 1 time by 1 test: return Tok_CharClass; | 1 |
2944 | case 'S':executed 19 times by 4 tests: case 'S': Executed by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
| 19 |
2945 | | - |
2946 | yyCharClass->addCategories(uint(-1) ^ (FLAG(QChar::Separator_Space) | | - |
2947 | FLAG(QChar::Separator_Line) | | - |
2948 | FLAG(QChar::Separator_Paragraph) | | - |
2949 | FLAG(QChar::Other_Control))); | - |
2950 | yyCharClass->addRange(0x0000, 0x0008); | - |
2951 | yyCharClass->addRange(0x000e, 0x001f); | - |
2952 | yyCharClass->addRange(0x007f, 0x0084); | - |
2953 | yyCharClass->addRange(0x0086, 0x009f); | - |
2954 | return Tok_CharClass;executed 19 times by 4 tests: return Tok_CharClass; Executed by:- tst_QFtp
- tst_QLibrary
- tst_QRegExp
- tst_QRegExpValidator
| 19 |
2955 | case 'W':executed 2 times by 2 tests: case 'W': | 2 |
2956 | | - |
2957 | yyCharClass->addCategories(uint(-1) ^ (FLAG(QChar::Mark_NonSpacing) | | - |
2958 | FLAG(QChar::Mark_SpacingCombining) | | - |
2959 | FLAG(QChar::Mark_Enclosing) | | - |
2960 | FLAG(QChar::Number_DecimalDigit) | | - |
2961 | FLAG(QChar::Number_Letter) | | - |
2962 | FLAG(QChar::Number_Other) | | - |
2963 | FLAG(QChar::Letter_Uppercase) | | - |
2964 | FLAG(QChar::Letter_Lowercase) | | - |
2965 | FLAG(QChar::Letter_Titlecase) | | - |
2966 | FLAG(QChar::Letter_Modifier) | | - |
2967 | FLAG(QChar::Letter_Other) | | - |
2968 | FLAG(QChar::Punctuation_Connector))); | - |
2969 | yyCharClass->addRange(0x203f, 0x2040); | - |
2970 | yyCharClass->addSingleton(0x2040); | - |
2971 | yyCharClass->addSingleton(0x2054); | - |
2972 | yyCharClass->addSingleton(0x30fb); | - |
2973 | yyCharClass->addRange(0xfe33, 0xfe34); | - |
2974 | yyCharClass->addRange(0xfe4d, 0xfe4f); | - |
2975 | yyCharClass->addSingleton(0xff3f); | - |
2976 | yyCharClass->addSingleton(0xff65); | - |
2977 | return Tok_CharClass;executed 2 times by 2 tests: return Tok_CharClass; | 2 |
2978 | #endif | - |
2979 | #ifndef QT_NO_REGEXP_ESCAPE | - |
2980 | case 'b':executed 2 times by 2 tests: case 'b': | 2 |
2981 | return Tok_Word;executed 2 times by 2 tests: return Tok_Word; | 2 |
2982 | #endif | - |
2983 | #ifndef QT_NO_REGEXP_CCLASS | - |
2984 | case 'd':executed 229 times by 13 tests: case 'd': Executed by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTime
| 229 |
2985 | | - |
2986 | yyCharClass->addCategories(FLAG(QChar::Number_DecimalDigit)); | - |
2987 | return Tok_CharClass;executed 229 times by 13 tests: return Tok_CharClass; Executed by:- tst_Collections
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTime
| 229 |
2988 | case 's':executed 43 times by 8 tests: case 's': Executed by:- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSqlDatabase
- tst_QString
- tst_QTextDocumentFragment
| 43 |
2989 | | - |
2990 | yyCharClass->addCategories(FLAG(QChar::Separator_Space) | | - |
2991 | FLAG(QChar::Separator_Line) | | - |
2992 | FLAG(QChar::Separator_Paragraph)); | - |
2993 | yyCharClass->addRange(0x0009, 0x000d); | - |
2994 | yyCharClass->addSingleton(0x0085); | - |
2995 | return Tok_CharClass;executed 43 times by 8 tests: return Tok_CharClass; Executed by:- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSqlDatabase
- tst_QString
- tst_QTextDocumentFragment
| 43 |
2996 | case 'w':executed 14 times by 4 tests: case 'w': Executed by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslKey
- tst_QTextEdit
| 14 |
2997 | | - |
2998 | yyCharClass->addCategories(FLAG(QChar::Mark_NonSpacing) | | - |
2999 | FLAG(QChar::Mark_SpacingCombining) | | - |
3000 | FLAG(QChar::Mark_Enclosing) | | - |
3001 | FLAG(QChar::Number_DecimalDigit) | | - |
3002 | FLAG(QChar::Number_Letter) | | - |
3003 | FLAG(QChar::Number_Other) | | - |
3004 | FLAG(QChar::Letter_Uppercase) | | - |
3005 | FLAG(QChar::Letter_Lowercase) | | - |
3006 | FLAG(QChar::Letter_Titlecase) | | - |
3007 | FLAG(QChar::Letter_Modifier) | | - |
3008 | FLAG(QChar::Letter_Other)); | - |
3009 | yyCharClass->addSingleton(0x005f); | - |
3010 | return Tok_CharClass;executed 14 times by 4 tests: return Tok_CharClass; Executed by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslKey
- tst_QTextEdit
| 14 |
3011 | case 'I':executed 2 times by 1 test: case 'I': | 2 |
3012 | if (xmlSchemaExtensions) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3013 | yyCharClass->setNegative(!yyCharClass->negative()); | - |
3014 | | - |
3015 | } else { never executed: end of block | 0 |
3016 | break;executed 2 times by 1 test: break; | 2 |
3017 | } | - |
3018 | case 'i': code before this statement never executed: case 'i': executed 2 times by 1 test: case 'i': | 0-2 |
3019 | if (xmlSchemaExtensions) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3020 | yyCharClass->addCategories(FLAG(QChar::Mark_NonSpacing) | | - |
3021 | FLAG(QChar::Mark_SpacingCombining) | | - |
3022 | FLAG(QChar::Mark_Enclosing) | | - |
3023 | FLAG(QChar::Number_DecimalDigit) | | - |
3024 | FLAG(QChar::Number_Letter) | | - |
3025 | FLAG(QChar::Number_Other) | | - |
3026 | FLAG(QChar::Letter_Uppercase) | | - |
3027 | FLAG(QChar::Letter_Lowercase) | | - |
3028 | FLAG(QChar::Letter_Titlecase) | | - |
3029 | FLAG(QChar::Letter_Modifier) | | - |
3030 | FLAG(QChar::Letter_Other)); | - |
3031 | yyCharClass->addSingleton(0x003a); | - |
3032 | yyCharClass->addSingleton(0x005f); | - |
3033 | yyCharClass->addRange(0x0041, 0x005a); | - |
3034 | yyCharClass->addRange(0x0061, 0x007a); | - |
3035 | yyCharClass->addRange(0xc0, 0xd6); | - |
3036 | yyCharClass->addRange(0xd8, 0xf6); | - |
3037 | yyCharClass->addRange(0xf8, 0x2ff); | - |
3038 | yyCharClass->addRange(0x370, 0x37d); | - |
3039 | yyCharClass->addRange(0x37f, 0x1fff); | - |
3040 | yyCharClass->addRange(0x200c, 0x200d); | - |
3041 | yyCharClass->addRange(0x2070, 0x218f); | - |
3042 | yyCharClass->addRange(0x2c00, 0x2fef); | - |
3043 | yyCharClass->addRange(0x3001, 0xd7ff); | - |
3044 | yyCharClass->addRange(0xf900, 0xfdcf); | - |
3045 | yyCharClass->addRange(0xfdf0, 0xfffd); | - |
3046 | yyCharClass->addRange((ushort)0x10000, (ushort)0xeffff); | - |
3047 | return Tok_CharClass; never executed: return Tok_CharClass; | 0 |
3048 | } else { | - |
3049 | break;executed 2 times by 1 test: break; | 2 |
3050 | } | - |
3051 | case 'C':executed 2 times by 1 test: case 'C': | 2 |
3052 | if (xmlSchemaExtensions) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3053 | yyCharClass->setNegative(!yyCharClass->negative()); | - |
3054 | | - |
3055 | } else { never executed: end of block | 0 |
3056 | break;executed 2 times by 1 test: break; | 2 |
3057 | } | - |
3058 | case 'c': code before this statement never executed: case 'c': executed 2 times by 1 test: case 'c': | 0-2 |
3059 | if (xmlSchemaExtensions) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3060 | yyCharClass->addCategories(FLAG(QChar::Mark_NonSpacing) | | - |
3061 | FLAG(QChar::Mark_SpacingCombining) | | - |
3062 | FLAG(QChar::Mark_Enclosing) | | - |
3063 | FLAG(QChar::Number_DecimalDigit) | | - |
3064 | FLAG(QChar::Number_Letter) | | - |
3065 | FLAG(QChar::Number_Other) | | - |
3066 | FLAG(QChar::Letter_Uppercase) | | - |
3067 | FLAG(QChar::Letter_Lowercase) | | - |
3068 | FLAG(QChar::Letter_Titlecase) | | - |
3069 | FLAG(QChar::Letter_Modifier) | | - |
3070 | FLAG(QChar::Letter_Other)); | - |
3071 | yyCharClass->addSingleton(0x002d); | - |
3072 | yyCharClass->addSingleton(0x002e); | - |
3073 | yyCharClass->addSingleton(0x003a); | - |
3074 | yyCharClass->addSingleton(0x005f); | - |
3075 | yyCharClass->addSingleton(0xb7); | - |
3076 | yyCharClass->addRange(0x0030, 0x0039); | - |
3077 | yyCharClass->addRange(0x0041, 0x005a); | - |
3078 | yyCharClass->addRange(0x0061, 0x007a); | - |
3079 | yyCharClass->addRange(0xc0, 0xd6); | - |
3080 | yyCharClass->addRange(0xd8, 0xf6); | - |
3081 | yyCharClass->addRange(0xf8, 0x2ff); | - |
3082 | yyCharClass->addRange(0x370, 0x37d); | - |
3083 | yyCharClass->addRange(0x37f, 0x1fff); | - |
3084 | yyCharClass->addRange(0x200c, 0x200d); | - |
3085 | yyCharClass->addRange(0x2070, 0x218f); | - |
3086 | yyCharClass->addRange(0x2c00, 0x2fef); | - |
3087 | yyCharClass->addRange(0x3001, 0xd7ff); | - |
3088 | yyCharClass->addRange(0xf900, 0xfdcf); | - |
3089 | yyCharClass->addRange(0xfdf0, 0xfffd); | - |
3090 | yyCharClass->addRange((ushort)0x10000, (ushort)0xeffff); | - |
3091 | yyCharClass->addRange(0x0300, 0x036f); | - |
3092 | yyCharClass->addRange(0x203f, 0x2040); | - |
3093 | return Tok_CharClass; never executed: return Tok_CharClass; | 0 |
3094 | } else { | - |
3095 | break;executed 2 times by 1 test: break; | 2 |
3096 | } | - |
3097 | case 'P':executed 2 times by 1 test: case 'P': | 2 |
3098 | if (xmlSchemaExtensions) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3099 | yyCharClass->setNegative(!yyCharClass->negative()); | - |
3100 | | - |
3101 | } else { never executed: end of block | 0 |
3102 | break;executed 2 times by 1 test: break; | 2 |
3103 | } | - |
3104 | case 'p': code before this statement never executed: case 'p': executed 2 times by 1 test: case 'p': | 0-2 |
3105 | if (xmlSchemaExtensions) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3106 | if (yyCh != '{') {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3107 | error(RXERR_CHARCLASS); | - |
3108 | return Tok_CharClass; never executed: return Tok_CharClass; | 0 |
3109 | } | - |
3110 | | - |
3111 | QByteArray category; | - |
3112 | yyCh = getChar(); | - |
3113 | while (yyCh != '}') {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3114 | if (yyCh == EOS) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3115 | error(RXERR_END); | - |
3116 | return Tok_CharClass; never executed: return Tok_CharClass; | 0 |
3117 | } | - |
3118 | category.append(yyCh); | - |
3119 | yyCh = getChar(); | - |
3120 | } never executed: end of block | 0 |
3121 | yyCh = getChar(); | - |
3122 | | - |
3123 | int catlen = category.length(); | - |
3124 | if (catlen == 1 || catlen == 2) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3125 | switch (category.at(0)) { | - |
3126 | case 'M': never executed: case 'M': | 0 |
3127 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3128 | yyCharClass->addCategories(FLAG(QChar::Mark_NonSpacing) | | - |
3129 | FLAG(QChar::Mark_SpacingCombining) | | - |
3130 | FLAG(QChar::Mark_Enclosing)); | - |
3131 | } else { never executed: end of block | 0 |
3132 | switch (category.at(1)) { | - |
3133 | case 'n': yyCharClass->addCategories(FLAG(QChar::Mark_NonSpacing)); break; never executed: break; never executed: case 'n': | 0 |
3134 | case 'c': yyCharClass->addCategories(FLAG(QChar::Mark_SpacingCombining)); break; never executed: break; never executed: case 'c': | 0 |
3135 | case 'e': yyCharClass->addCategories(FLAG(QChar::Mark_Enclosing)); break; never executed: break; never executed: case 'e': | 0 |
3136 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3137 | } | - |
3138 | } | - |
3139 | break; never executed: break; | 0 |
3140 | case 'N': never executed: case 'N': | 0 |
3141 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3142 | yyCharClass->addCategories(FLAG(QChar::Number_DecimalDigit) | | - |
3143 | FLAG(QChar::Number_Letter) | | - |
3144 | FLAG(QChar::Number_Other)); | - |
3145 | } else { never executed: end of block | 0 |
3146 | switch (category.at(1)) { | - |
3147 | case 'd': yyCharClass->addCategories(FLAG(QChar::Number_DecimalDigit)); break; never executed: break; never executed: case 'd': | 0 |
3148 | case 'l': yyCharClass->addCategories(FLAG(QChar::Number_Letter)); break; never executed: break; never executed: case 'l': | 0 |
3149 | case 'o': yyCharClass->addCategories(FLAG(QChar::Number_Other)); break; never executed: break; never executed: case 'o': | 0 |
3150 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3151 | } | - |
3152 | } | - |
3153 | break; never executed: break; | 0 |
3154 | case 'Z': never executed: case 'Z': | 0 |
3155 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3156 | yyCharClass->addCategories(FLAG(QChar::Separator_Space) | | - |
3157 | FLAG(QChar::Separator_Line) | | - |
3158 | FLAG(QChar::Separator_Paragraph)); | - |
3159 | } else { never executed: end of block | 0 |
3160 | switch (category.at(1)) { | - |
3161 | case 's': yyCharClass->addCategories(FLAG(QChar::Separator_Space)); break; never executed: break; never executed: case 's': | 0 |
3162 | case 'l': yyCharClass->addCategories(FLAG(QChar::Separator_Line)); break; never executed: break; never executed: case 'l': | 0 |
3163 | case 'p': yyCharClass->addCategories(FLAG(QChar::Separator_Paragraph)); break; never executed: break; never executed: case 'p': | 0 |
3164 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3165 | } | - |
3166 | } | - |
3167 | break; never executed: break; | 0 |
3168 | case 'C': never executed: case 'C': | 0 |
3169 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3170 | yyCharClass->addCategories(FLAG(QChar::Other_Control) | | - |
3171 | FLAG(QChar::Other_Format) | | - |
3172 | FLAG(QChar::Other_Surrogate) | | - |
3173 | FLAG(QChar::Other_PrivateUse) | | - |
3174 | FLAG(QChar::Other_NotAssigned)); | - |
3175 | } else { never executed: end of block | 0 |
3176 | switch (category.at(1)) { | - |
3177 | case 'c': yyCharClass->addCategories(FLAG(QChar::Other_Control)); break; never executed: break; never executed: case 'c': | 0 |
3178 | case 'f': yyCharClass->addCategories(FLAG(QChar::Other_Format)); break; never executed: break; never executed: case 'f': | 0 |
3179 | case 's': yyCharClass->addCategories(FLAG(QChar::Other_Surrogate)); break; never executed: break; never executed: case 's': | 0 |
3180 | case 'o': yyCharClass->addCategories(FLAG(QChar::Other_PrivateUse)); break; never executed: break; never executed: case 'o': | 0 |
3181 | case 'n': yyCharClass->addCategories(FLAG(QChar::Other_NotAssigned)); break; never executed: break; never executed: case 'n': | 0 |
3182 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3183 | } | - |
3184 | } | - |
3185 | break; never executed: break; | 0 |
3186 | case 'L': never executed: case 'L': | 0 |
3187 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3188 | yyCharClass->addCategories(FLAG(QChar::Letter_Uppercase) | | - |
3189 | FLAG(QChar::Letter_Lowercase) | | - |
3190 | FLAG(QChar::Letter_Titlecase) | | - |
3191 | FLAG(QChar::Letter_Modifier) | | - |
3192 | FLAG(QChar::Letter_Other)); | - |
3193 | } else { never executed: end of block | 0 |
3194 | switch (category.at(1)) { | - |
3195 | case 'u': yyCharClass->addCategories(FLAG(QChar::Letter_Uppercase)); break; never executed: break; never executed: case 'u': | 0 |
3196 | case 'l': yyCharClass->addCategories(FLAG(QChar::Letter_Lowercase)); break; never executed: break; never executed: case 'l': | 0 |
3197 | case 't': yyCharClass->addCategories(FLAG(QChar::Letter_Titlecase)); break; never executed: break; never executed: case 't': | 0 |
3198 | case 'm': yyCharClass->addCategories(FLAG(QChar::Letter_Modifier)); break; never executed: break; never executed: case 'm': | 0 |
3199 | case 'o': yyCharClass->addCategories(FLAG(QChar::Letter_Other)); break; never executed: break; never executed: case 'o': | 0 |
3200 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3201 | } | - |
3202 | } | - |
3203 | break; never executed: break; | 0 |
3204 | case 'P': never executed: case 'P': | 0 |
3205 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3206 | yyCharClass->addCategories(FLAG(QChar::Punctuation_Connector) | | - |
3207 | FLAG(QChar::Punctuation_Dash) | | - |
3208 | FLAG(QChar::Punctuation_Open) | | - |
3209 | FLAG(QChar::Punctuation_Close) | | - |
3210 | FLAG(QChar::Punctuation_InitialQuote) | | - |
3211 | FLAG(QChar::Punctuation_FinalQuote) | | - |
3212 | FLAG(QChar::Punctuation_Other)); | - |
3213 | } else { never executed: end of block | 0 |
3214 | switch (category.at(1)) { | - |
3215 | case 'c': yyCharClass->addCategories(FLAG(QChar::Punctuation_Connector)); break; never executed: break; never executed: case 'c': | 0 |
3216 | case 'd': yyCharClass->addCategories(FLAG(QChar::Punctuation_Dash)); break; never executed: break; never executed: case 'd': | 0 |
3217 | case 's': yyCharClass->addCategories(FLAG(QChar::Punctuation_Open)); break; never executed: break; never executed: case 's': | 0 |
3218 | case 'e': yyCharClass->addCategories(FLAG(QChar::Punctuation_Close)); break; never executed: break; never executed: case 'e': | 0 |
3219 | case 'i': yyCharClass->addCategories(FLAG(QChar::Punctuation_InitialQuote)); break; never executed: break; never executed: case 'i': | 0 |
3220 | case 'f': yyCharClass->addCategories(FLAG(QChar::Punctuation_FinalQuote)); break; never executed: break; never executed: case 'f': | 0 |
3221 | case 'o': yyCharClass->addCategories(FLAG(QChar::Punctuation_Other)); break; never executed: break; never executed: case 'o': | 0 |
3222 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3223 | } | - |
3224 | } | - |
3225 | break; never executed: break; | 0 |
3226 | case 'S': never executed: case 'S': | 0 |
3227 | if (catlen == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3228 | yyCharClass->addCategories(FLAG(QChar::Symbol_Math) | | - |
3229 | FLAG(QChar::Symbol_Currency) | | - |
3230 | FLAG(QChar::Symbol_Modifier) | | - |
3231 | FLAG(QChar::Symbol_Other)); | - |
3232 | } else { never executed: end of block | 0 |
3233 | switch (category.at(1)) { | - |
3234 | case 'm': yyCharClass->addCategories(FLAG(QChar::Symbol_Math)); break; never executed: break; never executed: case 'm': | 0 |
3235 | case 'c': yyCharClass->addCategories(FLAG(QChar::Symbol_Currency)); break; never executed: break; never executed: case 'c': | 0 |
3236 | case 'k': yyCharClass->addCategories(FLAG(QChar::Symbol_Modifier)); break; never executed: break; never executed: case 'k': | 0 |
3237 | case 'o': yyCharClass->addCategories(FLAG(QChar::Symbol_Other)); break; never executed: break; never executed: case 'o': | 0 |
3238 | default: error(RXERR_CATEGORY); break; never executed: break; never executed: default: | 0 |
3239 | } | - |
3240 | } | - |
3241 | break; never executed: break; | 0 |
3242 | default: never executed: default: | 0 |
3243 | error(RXERR_CATEGORY); | - |
3244 | break; never executed: break; | 0 |
3245 | } | - |
3246 | } else if (catlen > 2 && category.at(0) == 'I' && category.at(1) == 's') {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3247 | static const int N = sizeof(categoriesRangeMap) / sizeof(categoriesRangeMap[0]); | - |
3248 | const char * const categoryFamily = category.constData() + 2; | - |
3249 | const CategoriesRangeMapEntry *r = std::lower_bound(categoriesRangeMap, categoriesRangeMap + N, categoryFamily); | - |
3250 | if (r != categoriesRangeMap + N && qstrcmp(r->name, categoryFamily) == 0)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3251 | yyCharClass->addRange(r->first, r->second); never executed: yyCharClass->addRange(r->first, r->second); | 0 |
3252 | else | - |
3253 | error(RXERR_CATEGORY); never executed: error("invalid category"); | 0 |
3254 | } else { | - |
3255 | error(RXERR_CATEGORY); | - |
3256 | } never executed: end of block | 0 |
3257 | return Tok_CharClass; never executed: return Tok_CharClass; | 0 |
3258 | } else { | - |
3259 | break;executed 2 times by 1 test: break; | 2 |
3260 | } | - |
3261 | #endif | - |
3262 | #ifndef QT_NO_REGEXP_ESCAPE | - |
3263 | case 'x':executed 2240 times by 1 test: case 'x': | 2240 |
3264 | val = 0; | - |
3265 | for (i = 0; i < 4; i++) {TRUE | evaluated 6720 times by 1 test | FALSE | never evaluated |
| 0-6720 |
3266 | low = QChar(yyCh).toLower().unicode(); | - |
3267 | if (low >= '0' && low <= '9')TRUE | evaluated 5600 times by 1 test | FALSE | evaluated 1120 times by 1 test |
TRUE | evaluated 2240 times by 1 test | FALSE | evaluated 3360 times by 1 test |
| 1120-5600 |
3268 | val = (val << 4) | (low - '0');executed 2240 times by 1 test: val = (val << 4) | (low - '0'); | 2240 |
3269 | else if (low >= 'a' && low <= 'f')TRUE | evaluated 2240 times by 1 test | FALSE | evaluated 2240 times by 1 test |
TRUE | evaluated 2240 times by 1 test | FALSE | never evaluated |
| 0-2240 |
3270 | val = (val << 4) | (low - 'a' + 10);executed 2240 times by 1 test: val = (val << 4) | (low - 'a' + 10); | 2240 |
3271 | else | - |
3272 | break;executed 2240 times by 1 test: break; | 2240 |
3273 | yyCh = getChar(); | - |
3274 | }executed 4480 times by 1 test: end of block | 4480 |
3275 | return Tok_Char | val;executed 2240 times by 1 test: return Tok_Char | val; | 2240 |
3276 | #endif | - |
3277 | default:executed 2874 times by 58 tests: default: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 2874 |
3278 | break;executed 2874 times by 58 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 2874 |
3279 | } | - |
3280 | if (prevCh >= '1' && prevCh <= '9') {TRUE | evaluated 1975 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 911 times by 56 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- ...
|
TRUE | evaluated 190 times by 1 test | FALSE | evaluated 1785 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 190-1975 |
3281 | #ifndef QT_NO_REGEXP_BACKREF | - |
3282 | val = prevCh - '0'; | - |
3283 | while (yyCh >= '0' && yyCh <= '9') {TRUE | evaluated 145 times by 1 test | FALSE | evaluated 65 times by 1 test |
TRUE | evaluated 20 times by 1 test | FALSE | evaluated 125 times by 1 test |
| 20-145 |
3284 | val = (val * 10) + (yyCh - '0'); | - |
3285 | yyCh = getChar(); | - |
3286 | }executed 20 times by 1 test: end of block | 20 |
3287 | return Tok_BackRef | val;executed 190 times by 1 test: return Tok_BackRef | val; | 190 |
3288 | #else | - |
3289 | error(RXERR_DISABLED); | - |
3290 | #endif | - |
3291 | } | - |
3292 | return Tok_Char | prevCh;executed 2696 times by 58 tests: return Tok_Char | prevCh; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 2696 |
3293 | } | - |
3294 | | - |
3295 | #ifndef QT_NO_REGEXP_INTERVAL | - |
3296 | int QRegExpEngine::getRep(int def) | - |
3297 | { | - |
3298 | if (yyCh >= '0' && yyCh <= '9') {TRUE | evaluated 1222 times by 13 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
| FALSE | evaluated 4 times by 1 test |
TRUE | evaluated 860 times by 12 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
| FALSE | evaluated 362 times by 5 testsEvaluated by:- tst_QDataStream
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
|
| 4-1222 |
3299 | int rep = 0; | - |
3300 | do { | - |
3301 | rep = 10 * rep + yyCh - '0'; | - |
3302 | if (rep >= InftyRep) {TRUE | never evaluated | FALSE | evaluated 1180 times by 12 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
|
| 0-1180 |
3303 | error(RXERR_REPETITION); | - |
3304 | rep = def; | - |
3305 | } never executed: end of block | 0 |
3306 | yyCh = getChar(); | - |
3307 | } while (yyCh >= '0' && yyCh <= '9');executed 1180 times by 12 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
TRUE | evaluated 587 times by 12 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
| FALSE | evaluated 593 times by 9 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTime
|
TRUE | evaluated 320 times by 1 test | FALSE | evaluated 267 times by 12 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
|
| 267-1180 |
3308 | return rep;executed 860 times by 12 tests: return rep; Executed by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
| 860 |
3309 | } else { | - |
3310 | return def;executed 366 times by 5 tests: return def; Executed by:- tst_QDataStream
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
| 366 |
3311 | } | - |
3312 | } | - |
3313 | #endif | - |
3314 | | - |
3315 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
3316 | void QRegExpEngine::skipChars(int n) | - |
3317 | { | - |
3318 | if (n > 0) {TRUE | evaluated 78 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
| FALSE | evaluated 48 times by 1 test |
| 48-78 |
3319 | yyPos += n - 1; | - |
3320 | yyCh = getChar(); | - |
3321 | }executed 78 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 78 |
3322 | }executed 126 times by 2 tests: end of block Executed by:- tst_QRegExp
- tst_QTextDocument
| 126 |
3323 | #endif | - |
3324 | | - |
3325 | void QRegExpEngine::error(const char *msg) | - |
3326 | { | - |
3327 | if (yyError.isEmpty())TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| FALSE | evaluated 84 times by 4 testsEvaluated by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
|
| 52-84 |
3328 | yyError = QLatin1String(msg);executed 52 times by 4 tests: yyError = QLatin1String(msg); Executed by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| 52 |
3329 | }executed 136 times by 4 tests: end of block Executed by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| 136 |
3330 | | - |
3331 | void QRegExpEngine::startTokenizer(const QChar *rx, int len) | - |
3332 | { | - |
3333 | yyIn = rx; | - |
3334 | yyPos0 = 0; | - |
3335 | yyPos = 0; | - |
3336 | yyLen = len; | - |
3337 | yyCh = getChar(); | - |
3338 | yyCharClass.reset(new QRegExpCharClass); | - |
3339 | yyMinRep = 0; | - |
3340 | yyMaxRep = 0; | - |
3341 | yyError = QString(); | - |
3342 | }executed 1678 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1678 |
3343 | | - |
3344 | int QRegExpEngine::getToken() | - |
3345 | { | - |
3346 | #ifndef QT_NO_REGEXP_CCLASS | - |
3347 | ushort pendingCh = 0; | - |
3348 | bool charPending; | - |
3349 | bool rangePending; | - |
3350 | int tok; | - |
3351 | #endif | - |
3352 | int prevCh = yyCh; | - |
3353 | | - |
3354 | yyPos0 = yyPos - 1; | - |
3355 | #ifndef QT_NO_REGEXP_CCLASS | - |
3356 | yyCharClass->clear(); | - |
3357 | #endif | - |
3358 | yyMinRep = 0; | - |
3359 | yyMaxRep = 0; | - |
3360 | yyCh = getChar(); | - |
3361 | | - |
3362 | switch (prevCh) { | - |
3363 | case EOS:executed 1553 times by 116 tests: case EOS: Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1553 |
3364 | yyPos0 = yyPos; | - |
3365 | return Tok_Eos;executed 1553 times by 116 tests: return Tok_Eos; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1553 |
3366 | case '$':executed 105 times by 17 tests: case '$': Executed by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 105 |
3367 | return Tok_Dollar;executed 105 times by 17 tests: return Tok_Dollar; Executed by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 105 |
3368 | case '(':executed 1678 times by 25 tests: case '(': Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1678 |
3369 | if (yyCh == '?') {TRUE | evaluated 991 times by 6 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QRegExp
- tst_QSslCertificate
- tst_QTextDocument
- tst_QTime
| FALSE | evaluated 687 times by 25 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 687-991 |
3370 | prevCh = getChar(); | - |
3371 | yyCh = getChar(); | - |
3372 | switch (prevCh) { | - |
3373 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
3374 | case '!':executed 90 times by 2 tests: case '!': Executed by:- tst_QRegExp
- tst_QTextDocument
| 90 |
3375 | return Tok_NegLookahead;executed 90 times by 2 tests: return Tok_NegLookahead; Executed by:- tst_QRegExp
- tst_QTextDocument
| 90 |
3376 | case '=':executed 36 times by 1 test: case '=': | 36 |
3377 | return Tok_PosLookahead;executed 36 times by 1 test: return Tok_PosLookahead; | 36 |
3378 | #endif | - |
3379 | case ':':executed 865 times by 5 tests: case ':': Executed by:- tst_QDate
- tst_QDateTime
- tst_QRegExp
- tst_QSslCertificate
- tst_QTime
| 865 |
3380 | return Tok_MagicLeftParen;executed 865 times by 5 tests: return Tok_MagicLeftParen; Executed by:- tst_QDate
- tst_QDateTime
- tst_QRegExp
- tst_QSslCertificate
- tst_QTime
| 865 |
3381 | case '<': never executed: case '<': | 0 |
3382 | error(RXERR_LOOKBEHIND); | - |
3383 | return Tok_MagicLeftParen; never executed: return Tok_MagicLeftParen; | 0 |
3384 | default: never executed: default: | 0 |
3385 | error(RXERR_LOOKAHEAD); | - |
3386 | return Tok_MagicLeftParen; never executed: return Tok_MagicLeftParen; | 0 |
3387 | } | - |
3388 | } else { | - |
3389 | return Tok_LeftParen;executed 687 times by 25 tests: return Tok_LeftParen; Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 687 |
3390 | } | - |
3391 | case ')':executed 1915 times by 25 tests: case ')': Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1915 |
3392 | return Tok_RightParen;executed 1915 times by 25 tests: return Tok_RightParen; Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1915 |
3393 | case '*':executed 1902 times by 90 tests: case '*': Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 1902 |
3394 | yyMinRep = 0; | - |
3395 | yyMaxRep = InftyRep; | - |
3396 | return Tok_Quantifier;executed 1902 times by 90 tests: return Tok_Quantifier; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 1902 |
3397 | case '+':executed 274 times by 22 tests: case '+': Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTime
- tst_qmakelib
| 274 |
3398 | yyMinRep = 1; | - |
3399 | yyMaxRep = InftyRep; | - |
3400 | return Tok_Quantifier;executed 274 times by 22 tests: return Tok_Quantifier; Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTime
- tst_qmakelib
| 274 |
3401 | case '.':executed 346 times by 86 tests: case '.': Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- ...
| 346 |
3402 | #ifndef QT_NO_REGEXP_CCLASS | - |
3403 | yyCharClass->setNegative(true); | - |
3404 | #endif | - |
3405 | return Tok_CharClass;executed 346 times by 86 tests: return Tok_CharClass; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- ...
| 346 |
3406 | case '?':executed 161 times by 9 tests: case '?': Executed by:- tst_Collections
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
- tst_QTextDocument
- tst_QTime
| 161 |
3407 | yyMinRep = 0; | - |
3408 | yyMaxRep = 1; | - |
3409 | return Tok_Quantifier;executed 161 times by 9 tests: return Tok_Quantifier; Executed by:- tst_Collections
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslKey
- tst_QTextDocument
- tst_QTime
| 161 |
3410 | case '[':executed 2044 times by 63 tests: case '[': Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 2044 |
3411 | #ifndef QT_NO_REGEXP_CCLASS | - |
3412 | if (yyCh == '^') {TRUE | evaluated 1207 times by 10 testsEvaluated by:- tst_ModelTest
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QSharedMemory
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| FALSE | evaluated 837 times by 57 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
|
| 837-1207 |
3413 | yyCharClass->setNegative(true); | - |
3414 | yyCh = getChar(); | - |
3415 | }executed 1207 times by 10 tests: end of block Executed by:- tst_ModelTest
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QSharedMemory
- tst_QSslCertificate
- tst_QString
- tst_QSystemSemaphore
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
| 1207 |
3416 | charPending = false; | - |
3417 | rangePending = false; | - |
3418 | do { | - |
3419 | if (yyCh == '-' && charPending && !rangePending) {TRUE | evaluated 1966 times by 54 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | evaluated 10032 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
TRUE | evaluated 1965 times by 54 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | evaluated 1 time by 1 test |
TRUE | evaluated 1965 times by 54 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | never evaluated |
| 0-10032 |
3420 | rangePending = true; | - |
3421 | yyCh = getChar(); | - |
3422 | } else {executed 1965 times by 54 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| 1965 |
3423 | if (charPending && !rangePending) {TRUE | evaluated 6932 times by 62 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | evaluated 3101 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
TRUE | evaluated 4973 times by 25 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPixmap
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 1959 times by 54 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
|
| 1959-6932 |
3424 | yyCharClass->addSingleton(pendingCh); | - |
3425 | charPending = false; | - |
3426 | }executed 4973 times by 25 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkReply
- tst_QPixmap
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_languageChange
- tst_qmakelib
| 4973 |
3427 | if (yyCh == '\\') {TRUE | evaluated 5692 times by 15 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslCertificate
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 4341 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 4341-5692 |
3428 | yyCh = getChar(); | - |
3429 | tok = getEscape(); | - |
3430 | if (tok == Tok_Word)TRUE | never evaluated | FALSE | evaluated 5692 times by 15 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslCertificate
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_languageChange
- tst_qmakelib
|
| 0-5692 |
3431 | tok = '\b'; never executed: tok = '\b'; | 0 |
3432 | } else {executed 5692 times by 15 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSslCertificate
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- tst_languageChange
- tst_qmakelib
| 5692 |
3433 | tok = Tok_Char | yyCh; | - |
3434 | yyCh = getChar(); | - |
3435 | }executed 4341 times by 63 tests: end of block Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 4341 |
3436 | if (tok == Tok_CharClass) {TRUE | never evaluated | FALSE | evaluated 10033 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 0-10033 |
3437 | if (rangePending) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3438 | yyCharClass->addSingleton('-'); | - |
3439 | yyCharClass->addSingleton(pendingCh); | - |
3440 | charPending = false; | - |
3441 | rangePending = false; | - |
3442 | } never executed: end of block | 0 |
3443 | } else if ((tok & Tok_Char) != 0) { never executed: end of block TRUE | evaluated 10033 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| FALSE | never evaluated |
| 0-10033 |
3444 | if (rangePending) {TRUE | evaluated 1959 times by 54 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | evaluated 8074 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 1959-8074 |
3445 | yyCharClass->addRange(pendingCh, tok ^ Tok_Char); | - |
3446 | charPending = false; | - |
3447 | rangePending = false; | - |
3448 | } else {executed 1959 times by 54 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| 1959 |
3449 | pendingCh = tok ^ Tok_Char; | - |
3450 | charPending = true; | - |
3451 | }executed 8074 times by 63 tests: end of block Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 8074 |
3452 | } else { | - |
3453 | error(RXERR_CHARCLASS); | - |
3454 | } never executed: end of block | 0 |
3455 | } | - |
3456 | } while (yyCh != ']' && yyCh != EOS);TRUE | evaluated 9974 times by 62 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | evaluated 2024 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
TRUE | evaluated 9954 times by 62 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- ...
| FALSE | evaluated 20 times by 1 test |
| 20-9974 |
3457 | if (rangePending)TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QTime
| FALSE | evaluated 2038 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 6-2038 |
3458 | yyCharClass->addSingleton('-');executed 6 times by 3 tests: yyCharClass->addSingleton('-'); Executed by:- tst_QDate
- tst_QDateTime
- tst_QTime
| 6 |
3459 | if (charPending)TRUE | evaluated 1142 times by 43 testsEvaluated by:- tst_ModelTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPixmap
- ...
| FALSE | evaluated 902 times by 52 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| 902-1142 |
3460 | yyCharClass->addSingleton(pendingCh);executed 1142 times by 43 tests: yyCharClass->addSingleton(pendingCh); Executed by:- tst_ModelTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPixmap
- ...
| 1142 |
3461 | if (yyCh == EOS)TRUE | evaluated 20 times by 1 test | FALSE | evaluated 2024 times by 63 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
| 20-2024 |
3462 | error(RXERR_END);executed 20 times by 1 test: error("unexpected end"); | 20 |
3463 | else | - |
3464 | yyCh = getChar();executed 2024 times by 63 tests: yyCh = getChar(); Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 2024 |
3465 | return Tok_CharClass;executed 2044 times by 63 tests: return Tok_CharClass; Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 2044 |
3466 | #else | - |
3467 | error(RXERR_END); | - |
3468 | return Tok_Char | '['; | - |
3469 | #endif | - |
3470 | case '\\':executed 2018 times by 67 tests: case '\\': Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
| 2018 |
3471 | return getEscape();executed 2018 times by 67 tests: return getEscape(); Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- ...
| 2018 |
3472 | case ']':executed 22 times by 2 tests: case ']': Executed by:- tst_QDataStream
- tst_QRegExp
| 22 |
3473 | error(RXERR_LEFTDELIM); | - |
3474 | return Tok_Char | ']';executed 22 times by 2 tests: return Tok_Char | ']'; Executed by:- tst_QDataStream
- tst_QRegExp
| 22 |
3475 | case '^':executed 132 times by 30 tests: case '^': Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 132 |
3476 | return Tok_Caret;executed 132 times by 30 tests: return Tok_Caret; Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 132 |
3477 | case '{':executed 629 times by 13 tests: case '{': Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
| 629 |
3478 | #ifndef QT_NO_REGEXP_INTERVAL | - |
3479 | yyMinRep = getRep(0); | - |
3480 | yyMaxRep = yyMinRep; | - |
3481 | if (yyCh == ',') {TRUE | evaluated 597 times by 9 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTime
| FALSE | evaluated 32 times by 6 testsEvaluated by:- tst_QDataStream
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
|
| 32-597 |
3482 | yyCh = getChar(); | - |
3483 | yyMaxRep = getRep(InftyRep); | - |
3484 | }executed 597 times by 9 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTime
| 597 |
3485 | if (yyMaxRep < yyMinRep)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 628 times by 13 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
|
| 1-628 |
3486 | error(RXERR_INTERVAL);executed 1 time by 1 test: error("invalid interval"); | 1 |
3487 | if (yyCh != '}')TRUE | evaluated 13 times by 1 test | FALSE | evaluated 616 times by 12 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
|
| 13-616 |
3488 | error(RXERR_REPETITION);executed 13 times by 1 test: error("bad repetition syntax"); | 13 |
3489 | yyCh = getChar(); | - |
3490 | return Tok_Quantifier;executed 629 times by 13 tests: return Tok_Quantifier; Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
- tst_QTime
| 629 |
3491 | #else | - |
3492 | error(RXERR_DISABLED); | - |
3493 | return Tok_Char | '{'; | - |
3494 | #endif | - |
3495 | case '|':executed 466 times by 11 tests: case '|': Executed by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| 466 |
3496 | return Tok_Bar;executed 466 times by 11 tests: return Tok_Bar; Executed by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| 466 |
3497 | case '}':executed 13 times by 1 test: case '}': | 13 |
3498 | error(RXERR_LEFTDELIM); | - |
3499 | return Tok_Char | '}';executed 13 times by 1 test: return Tok_Char | '}'; | 13 |
3500 | default:executed 21134 times by 70 tests: default: Executed by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- ...
| 21134 |
3501 | return Tok_Char | prevCh;executed 21134 times by 70 tests: return Tok_Char | prevCh; Executed by:- tst_Lancelot
- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- ...
| 21134 |
3502 | } | - |
3503 | } | - |
3504 | | - |
3505 | int QRegExpEngine::parse(const QChar *pattern, int len) | - |
3506 | { | - |
3507 | valid = true; | - |
3508 | startTokenizer(pattern, len); | - |
3509 | yyTok = getToken(); | - |
3510 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3511 | yyMayCapture = true; | - |
3512 | #else | - |
3513 | yyMayCapture = false; | - |
3514 | #endif | - |
3515 | | - |
3516 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3517 | int atom = startAtom(false); | - |
3518 | #endif | - |
3519 | QRegExpCharClass anything; | - |
3520 | Box box(this); | - |
3521 | box.set(anything); | - |
3522 | Box rightBox(this); | - |
3523 | rightBox.set(anything); | - |
3524 | | - |
3525 | Box middleBox(this); | - |
3526 | parseExpression(&middleBox); | - |
3527 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3528 | finishAtom(atom, false); | - |
3529 | #endif | - |
3530 | #ifndef QT_NO_REGEXP_OPTIM | - |
3531 | middleBox.setupHeuristics(); | - |
3532 | #endif | - |
3533 | box.cat(middleBox); | - |
3534 | box.cat(rightBox); | - |
3535 | yyCharClass.reset(0); | - |
3536 | | - |
3537 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3538 | for (int i = 0; i < nf; ++i) {TRUE | evaluated 31639 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 1678 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 1678-31639 |
3539 | switch (f[i].capture) { | - |
3540 | case QRegExpAtom::NoCapture:executed 29860 times by 116 tests: case QRegExpAtom::NoCapture: Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 29860 |
3541 | break;executed 29860 times by 116 tests: break; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 29860 |
3542 | case QRegExpAtom::OfficialCapture:executed 643 times by 25 tests: case QRegExpAtom::OfficialCapture: Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 643 |
3543 | f[i].capture = ncap; | - |
3544 | captureForOfficialCapture.append(ncap); | - |
3545 | ++ncap; | - |
3546 | ++officialncap; | - |
3547 | break;executed 643 times by 25 tests: break; Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 643 |
3548 | case QRegExpAtom::UnofficialCapture:executed 1136 times by 1 test: case QRegExpAtom::UnofficialCapture: | 1136 |
3549 | f[i].capture = greedyQuantifiers ? ncap++ : QRegExpAtom::NoCapture;TRUE | evaluated 1136 times by 1 test | FALSE | never evaluated |
| 0-1136 |
3550 | }executed 1136 times by 1 test: end of block | 1136 |
3551 | }executed 31639 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 31639 |
3552 | | - |
3553 | #ifndef QT_NO_REGEXP_BACKREF | - |
3554 | #ifndef QT_NO_REGEXP_OPTIM | - |
3555 | if (officialncap == 0 && nbrefs == 0) {TRUE | evaluated 1443 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 235 times by 25 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
TRUE | evaluated 1440 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 3 times by 1 test |
| 3-1443 |
3556 | ncap = nf = 0; | - |
3557 | f.clear(); | - |
3558 | }executed 1440 times by 110 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 1440 |
3559 | #endif | - |
3560 | | - |
3561 | | - |
3562 | for (int i = 0; i < nbrefs - officialncap; ++i) {TRUE | evaluated 11 times by 1 test | FALSE | evaluated 1678 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 11-1678 |
3563 | captureForOfficialCapture.append(ncap); | - |
3564 | ++ncap; | - |
3565 | }executed 11 times by 1 test: end of block | 11 |
3566 | #endif | - |
3567 | #endif | - |
3568 | | - |
3569 | if (!yyError.isEmpty())TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| FALSE | evaluated 1626 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 52-1626 |
3570 | return -1;executed 52 times by 4 tests: return -1; Executed by:- tst_QDataStream
- tst_QRegExp
- tst_QString
- tst_QXmlSimpleReader
| 52 |
3571 | | - |
3572 | #ifndef QT_NO_REGEXP_OPTIM | - |
3573 | const QRegExpAutomatonState &sinit = s.at(InitialState); | - |
3574 | caretAnchored = !sinit.anchors.isEmpty(); | - |
3575 | if (caretAnchored) {TRUE | evaluated 1626 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | never evaluated |
| 0-1626 |
3576 | const QMap<int, int> &anchors = sinit.anchors; | - |
3577 | QMap<int, int>::const_iterator a; | - |
3578 | for (a = anchors.constBegin(); a != anchors.constEnd(); ++a) {TRUE | evaluated 1821 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 102 times by 28 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- ...
|
| 102-1821 |
3579 | if ( | - |
3580 | #ifndef QT_NO_REGEXP_ANCHOR_ALT | - |
3581 | (*a & Anchor_Alternation) != 0 ||TRUE | evaluated 6 times by 1 test | FALSE | evaluated 1815 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 6-1815 |
3582 | #endif | - |
3583 | (*a & Anchor_Caret) == 0)TRUE | evaluated 1518 times by 111 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
| FALSE | evaluated 297 times by 29 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
|
| 297-1518 |
3584 | { | - |
3585 | caretAnchored = false; | - |
3586 | break;executed 1524 times by 111 tests: break; Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
| 1524 |
3587 | } | - |
3588 | }executed 297 times by 29 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
| 297 |
3589 | }executed 1626 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1626 |
3590 | #endif | - |
3591 | | - |
3592 | | - |
3593 | int numStates = s.count(); | - |
3594 | for (int i = 0; i < numStates; ++i) {TRUE | evaluated 27968 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 1626 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 1626-27968 |
3595 | QRegExpAutomatonState &state = s[i]; | - |
3596 | if (!state.anchors.isEmpty()) {TRUE | evaluated 26334 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 1634 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 1634-26334 |
3597 | QMap<int, int>::iterator a = state.anchors.begin(); | - |
3598 | while (a != state.anchors.end()) {TRUE | evaluated 35214 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 26334 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 26334-35214 |
3599 | if (a.value() == 0)TRUE | evaluated 33366 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 1848 times by 29 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
|
| 1848-33366 |
3600 | a = state.anchors.erase(a);executed 33366 times by 116 tests: a = state.anchors.erase(a); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 33366 |
3601 | else | - |
3602 | ++a;executed 1848 times by 29 tests: ++a; Executed by:- tst_Collections
- tst_Lancelot
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- ...
| 1848 |
3603 | } | - |
3604 | }executed 26334 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 26334 |
3605 | }executed 27968 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 27968 |
3606 | | - |
3607 | return yyPos0;executed 1626 times by 116 tests: return yyPos0; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1626 |
3608 | } | - |
3609 | | - |
3610 | void QRegExpEngine::parseAtom(Box *box) | - |
3611 | { | - |
3612 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
3613 | QRegExpEngine *eng = 0; | - |
3614 | bool neg; | - |
3615 | int len; | - |
3616 | #endif | - |
3617 | | - |
3618 | if ((yyTok & Tok_Char) != 0) {TRUE | evaluated 22721 times by 82 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| FALSE | evaluated 5282 times by 107 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 5282-22721 |
3619 | box->set(QChar(yyTok ^ Tok_Char)); | - |
3620 | } else {executed 22721 times by 82 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 22721 |
3621 | #ifndef QT_NO_REGEXP_OPTIM | - |
3622 | trivial = false; | - |
3623 | #endif | - |
3624 | switch (yyTok) { | - |
3625 | case Tok_Dollar:executed 105 times by 17 tests: case Tok_Dollar: Executed by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 105 |
3626 | box->catAnchor(Anchor_Dollar); | - |
3627 | break;executed 105 times by 17 tests: break; Executed by:- tst_Collections
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 105 |
3628 | case Tok_Caret:executed 132 times by 30 tests: case Tok_Caret: Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 132 |
3629 | box->catAnchor(Anchor_Caret); | - |
3630 | break;executed 132 times by 30 tests: break; Executed by:- tst_Collections
- tst_Lancelot
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QPixmap
- tst_QPrinterInfo
- tst_QProcess
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- ...
| 132 |
3631 | #ifndef QT_NO_REGEXP_LOOKAHEAD | - |
3632 | case Tok_PosLookahead:executed 36 times by 1 test: case Tok_PosLookahead: | 36 |
3633 | case Tok_NegLookahead:executed 90 times by 2 tests: case Tok_NegLookahead: Executed by:- tst_QRegExp
- tst_QTextDocument
| 90 |
3634 | neg = (yyTok == Tok_NegLookahead); | - |
3635 | eng = new QRegExpEngine(cs, greedyQuantifiers); | - |
3636 | len = eng->parse(yyIn + yyPos - 1, yyLen - yyPos + 1); | - |
3637 | if (len >= 0)TRUE | evaluated 126 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
| FALSE | never evaluated |
| 0-126 |
3638 | skipChars(len);executed 126 times by 2 tests: skipChars(len); Executed by:- tst_QRegExp
- tst_QTextDocument
| 126 |
3639 | else | - |
3640 | error(RXERR_LOOKAHEAD); never executed: error("bad lookahead syntax"); | 0 |
3641 | box->catAnchor(addLookahead(eng, neg)); | - |
3642 | yyTok = getToken(); | - |
3643 | if (yyTok != Tok_RightParen)TRUE | never evaluated | FALSE | evaluated 126 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QTextDocument
|
| 0-126 |
3644 | error(RXERR_LOOKAHEAD); never executed: error("bad lookahead syntax"); | 0 |
3645 | break;executed 126 times by 2 tests: break; Executed by:- tst_QRegExp
- tst_QTextDocument
| 126 |
3646 | #endif | - |
3647 | #ifndef QT_NO_REGEXP_ESCAPE | - |
3648 | case Tok_Word:executed 2 times by 2 tests: case Tok_Word: | 2 |
3649 | box->catAnchor(Anchor_Word); | - |
3650 | break;executed 2 times by 2 tests: break; | 2 |
3651 | case Tok_NonWord: never executed: case Tok_NonWord: | 0 |
3652 | box->catAnchor(Anchor_NonWord); | - |
3653 | break; never executed: break; | 0 |
3654 | #endif | - |
3655 | case Tok_LeftParen:executed 799 times by 25 tests: case Tok_LeftParen: Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 799 |
3656 | case Tok_MagicLeftParen:executed 865 times by 5 tests: case Tok_MagicLeftParen: Executed by:- tst_QDate
- tst_QDateTime
- tst_QRegExp
- tst_QSslCertificate
- tst_QTime
| 865 |
3657 | yyTok = getToken(); | - |
3658 | parseExpression(box); | - |
3659 | if (yyTok != Tok_RightParen)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1663 times by 25 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 1-1663 |
3660 | error(RXERR_END);executed 1 time by 1 test: error("unexpected end"); | 1 |
3661 | break;executed 1664 times by 25 tests: break; Executed by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1664 |
3662 | case Tok_CharClass:executed 3053 times by 107 tests: case Tok_CharClass: Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 3053 |
3663 | box->set(*yyCharClass); | - |
3664 | break;executed 3053 times by 107 tests: break; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 3053 |
3665 | case Tok_Quantifier:executed 10 times by 1 test: case Tok_Quantifier: | 10 |
3666 | error(RXERR_REPETITION); | - |
3667 | break;executed 10 times by 1 test: break; | 10 |
3668 | default:executed 190 times by 1 test: default: | 190 |
3669 | #ifndef QT_NO_REGEXP_BACKREF | - |
3670 | if ((yyTok & Tok_BackRef) != 0)TRUE | evaluated 190 times by 1 test | FALSE | never evaluated |
| 0-190 |
3671 | box->set(yyTok ^ Tok_BackRef);executed 190 times by 1 test: box->set(yyTok ^ Tok_BackRef); | 190 |
3672 | else | - |
3673 | #endif | - |
3674 | error(RXERR_DISABLED); never executed: error("disabled feature used"); | 0 |
3675 | } | - |
3676 | } | - |
3677 | yyTok = getToken(); | - |
3678 | }executed 28003 times by 110 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 28003 |
3679 | | - |
3680 | void QRegExpEngine::parseFactor(Box *box) | - |
3681 | { | - |
3682 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3683 | int outerAtom = greedyQuantifiers ? startAtom(false) : -1;TRUE | evaluated 2459 times by 1 test | FALSE | evaluated 25043 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 2459-25043 |
3684 | int innerAtom = startAtom(yyMayCapture && yyTok == Tok_LeftParen); | - |
3685 | bool magicLeftParen = (yyTok == Tok_MagicLeftParen); | - |
3686 | #else | - |
3687 | const int innerAtom = -1; | - |
3688 | #endif | - |
3689 | | - |
3690 | #ifndef QT_NO_REGEXP_INTERVAL | - |
3691 | #define YYREDO() \ | - |
3692 | yyIn = in, yyPos0 = pos0, yyPos = pos, yyLen = len, yyCh = ch, \ | - |
3693 | *yyCharClass = charClass, yyMinRep = 0, yyMaxRep = 0, yyTok = tok | - |
3694 | | - |
3695 | const QChar *in = yyIn; | - |
3696 | int pos0 = yyPos0; | - |
3697 | int pos = yyPos; | - |
3698 | int len = yyLen; | - |
3699 | int ch = yyCh; | - |
3700 | QRegExpCharClass charClass; | - |
3701 | if (yyTok == Tok_CharClass)TRUE | evaluated 2698 times by 107 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 24804 times by 83 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
| 2698-24804 |
3702 | charClass = *yyCharClass;executed 2698 times by 107 tests: charClass = *yyCharClass; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 2698 |
3703 | int tok = yyTok; | - |
3704 | bool mayCapture = yyMayCapture; | - |
3705 | #endif | - |
3706 | | - |
3707 | parseAtom(box); | - |
3708 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3709 | finishAtom(innerAtom, magicLeftParen); | - |
3710 | #endif | - |
3711 | | - |
3712 | bool hasQuantifier = (yyTok == Tok_Quantifier); | - |
3713 | if (hasQuantifier) {TRUE | evaluated 2455 times by 98 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 25047 times by 89 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- ...
|
| 2455-25047 |
3714 | #ifndef QT_NO_REGEXP_OPTIM | - |
3715 | trivial = false; | - |
3716 | #endif | - |
3717 | if (yyMaxRep == InftyRep) {TRUE | evaluated 2194 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 261 times by 16 testsEvaluated by:- tst_Collections
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextDocument
- tst_QTextEdit
- tst_QTime
|
| 261-2194 |
3718 | box->plus(innerAtom); | - |
3719 | #ifndef QT_NO_REGEXP_INTERVAL | - |
3720 | } else if (yyMaxRep == 0) {executed 2194 times by 97 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QRegExp
| FALSE | evaluated 239 times by 16 testsEvaluated by:- tst_Collections
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextDocument
- tst_QTextEdit
- tst_QTime
|
| 22-2194 |
3721 | box->clear(); | - |
3722 | #endif | - |
3723 | }executed 22 times by 2 tests: end of block Executed by:- tst_QDataStream
- tst_QRegExp
| 22 |
3724 | if (yyMinRep == 0)TRUE | evaluated 2100 times by 93 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 355 times by 26 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPixmap
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- ...
|
| 355-2100 |
3725 | box->opt();executed 2100 times by 93 tests: box->opt(); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 2100 |
3726 | | - |
3727 | #ifndef QT_NO_REGEXP_INTERVAL | - |
3728 | yyMayCapture = false; | - |
3729 | int alpha = (yyMinRep == 0) ? 0 : yyMinRep - 1;TRUE | evaluated 2100 times by 93 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 355 times by 26 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLibrary
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPixmap
- tst_QPlainTextEdit
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTime
- ...
|
| 355-2100 |
3730 | int beta = (yyMaxRep == InftyRep) ? 0 : yyMaxRep - (alpha + 1);TRUE | evaluated 2194 times by 97 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 261 times by 16 testsEvaluated by:- tst_Collections
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextDocument
- tst_QTextEdit
- tst_QTime
|
| 261-2194 |
3731 | | - |
3732 | Box rightBox(this); | - |
3733 | int i; | - |
3734 | | - |
3735 | for (i = 0; i < beta; i++) {TRUE | evaluated 96 times by 8 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTime
| FALSE | evaluated 2455 times by 98 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 96-2455 |
3736 | YYREDO(); | - |
3737 | Box leftBox(this); | - |
3738 | parseAtom(&leftBox); | - |
3739 | leftBox.cat(rightBox); | - |
3740 | leftBox.opt(); | - |
3741 | rightBox = leftBox; | - |
3742 | }executed 96 times by 8 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QTime
| 96 |
3743 | for (i = 0; i < alpha; i++) {TRUE | evaluated 405 times by 6 testsEvaluated by:- tst_QFtp
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
| FALSE | evaluated 2455 times by 98 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 405-2455 |
3744 | YYREDO(); | - |
3745 | Box leftBox(this); | - |
3746 | parseAtom(&leftBox); | - |
3747 | leftBox.cat(rightBox); | - |
3748 | rightBox = leftBox; | - |
3749 | }executed 405 times by 6 tests: end of block Executed by:- tst_QFtp
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QTextEdit
| 405 |
3750 | rightBox.cat(*box); | - |
3751 | *box = rightBox; | - |
3752 | #endif | - |
3753 | yyTok = getToken(); | - |
3754 | #ifndef QT_NO_REGEXP_INTERVAL | - |
3755 | yyMayCapture = mayCapture; | - |
3756 | #endif | - |
3757 | }executed 2455 times by 98 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 2455 |
3758 | #undef YYREDO | - |
3759 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3760 | if (greedyQuantifiers)TRUE | evaluated 2459 times by 1 test | FALSE | evaluated 25043 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 2459-25043 |
3761 | finishAtom(outerAtom, hasQuantifier);executed 2459 times by 1 test: finishAtom(outerAtom, hasQuantifier); | 2459 |
3762 | #endif | - |
3763 | }executed 27502 times by 110 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 27502 |
3764 | | - |
3765 | void QRegExpEngine::parseTerm(Box *box) | - |
3766 | { | - |
3767 | #ifndef QT_NO_REGEXP_OPTIM | - |
3768 | if (yyTok != Tok_Eos && yyTok != Tok_RightParen && yyTok != Tok_Bar)TRUE | evaluated 3654 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 154 times by 21 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHeaderView
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSslCertificate
- tst_QStateMachine
- tst_QString
- tst_QTableView
- tst_QTreeView
- tst_QVariant
- tst_qmakelib
|
TRUE | evaluated 3567 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 87 times by 6 testsEvaluated by:- tst_QDataStream
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QString
|
TRUE | evaluated 3551 times by 110 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 16 times by 1 test |
| 16-3654 |
3769 | parseFactor(box);executed 3551 times by 110 tests: parseFactor(box); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 3551 |
3770 | #endif | - |
3771 | while (yyTok != Tok_Eos && yyTok != Tok_RightParen && yyTok != Tok_Bar) {TRUE | evaluated 26206 times by 81 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 1553 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
TRUE | evaluated 24417 times by 81 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 1789 times by 25 testsEvaluated by:- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPrinterInfo
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
TRUE | evaluated 23951 times by 81 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 466 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
|
| 466-26206 |
3772 | Box rightBox(this); | - |
3773 | parseFactor(&rightBox); | - |
3774 | box->cat(rightBox); | - |
3775 | }executed 23951 times by 81 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 23951 |
3776 | }executed 3808 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 3808 |
3777 | | - |
3778 | void QRegExpEngine::parseExpression(Box *box) | - |
3779 | { | - |
3780 | parseTerm(box); | - |
3781 | while (yyTok == Tok_Bar) {TRUE | evaluated 466 times by 11 testsEvaluated by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| FALSE | evaluated 3342 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 466-3342 |
3782 | #ifndef QT_NO_REGEXP_OPTIM | - |
3783 | trivial = false; | - |
3784 | #endif | - |
3785 | Box rightBox(this); | - |
3786 | yyTok = getToken(); | - |
3787 | parseTerm(&rightBox); | - |
3788 | box->orx(rightBox); | - |
3789 | }executed 466 times by 11 tests: end of block Executed by:- tst_QDataStream
- tst_QFtp
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslKey
| 466 |
3790 | }executed 3342 times by 116 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 3342 |
3791 | | - |
3792 | | - |
3793 | | - |
3794 | | - |
3795 | | - |
3796 | | - |
3797 | | - |
3798 | struct QRegExpPrivate | - |
3799 | { | - |
3800 | QRegExpEngine *eng; | - |
3801 | QRegExpEngineKey engineKey; | - |
3802 | bool minimal; | - |
3803 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3804 | QString t; | - |
3805 | QStringList capturedCache; | - |
3806 | #endif | - |
3807 | QRegExpMatchState matchState; | - |
3808 | | - |
3809 | inline QRegExpPrivate() | - |
3810 | : eng(0), engineKey(QString(), QRegExp::RegExp, Qt::CaseSensitive), minimal(false) { }executed 467872 times by 154 tests: end of block Executed by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
| 467872 |
3811 | inline QRegExpPrivate(const QRegExpEngineKey &key) | - |
3812 | : eng(0), engineKey(key), minimal(false) {}executed 156415 times by 161 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 156415 |
3813 | }; | - |
3814 | | - |
3815 | #if !defined(QT_NO_REGEXP_OPTIM) | - |
3816 | typedef QCache<QRegExpEngineKey, QRegExpEngine> EngineCache; | - |
3817 | Q_GLOBAL_STATIC(EngineCache, globalEngineCache)executed 413 times by 286 tests: end of block Executed by:- tst_collections - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
executed 413 times by 286 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_collections - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
executed 629042 times by 167 tests: return &holder.value; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
TRUE | evaluated 413 times by 286 testsEvaluated by:- tst_collections - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| FALSE | never evaluated |
| 0-629042 |
3818 | static QBasicMutex globalEngineCacheMutex; | - |
3819 | #endif // QT_NO_REGEXP_OPTIM | - |
3820 | | - |
3821 | static void derefEngine(QRegExpEngine *eng, const QRegExpEngineKey &key) | - |
3822 | { | - |
3823 | if (!eng->ref.deref()) {TRUE | evaluated 157259 times by 167 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | evaluated 467662 times by 152 testsEvaluated by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
|
| 157259-467662 |
3824 | #if !defined(QT_NO_REGEXP_OPTIM) | - |
3825 | if (globalEngineCache()) {TRUE | evaluated 157259 times by 167 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | never evaluated |
| 0-157259 |
3826 | QMutexLocker locker(&globalEngineCacheMutex); | - |
3827 | QT_TRY { | - |
3828 | globalEngineCache()->insert(key, eng, 4 + key.pattern.length() / 4); | - |
3829 | } QT_CATCH(const std::bad_alloc &) {executed 157259 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 157259 |
3830 | | - |
3831 | delete eng; | - |
3832 | } never executed: end of block | 0 |
3833 | } else { | - |
3834 | delete eng; | - |
3835 | } never executed: end of block | 0 |
3836 | #else | - |
3837 | Q_UNUSED(key); | - |
3838 | delete eng; | - |
3839 | #endif | - |
3840 | } | - |
3841 | }executed 624921 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 624921 |
3842 | | - |
3843 | static void prepareEngine_helper(QRegExpPrivate *priv) | - |
3844 | { | - |
3845 | bool initMatchState = !priv->eng; | - |
3846 | #if !defined(QT_NO_REGEXP_OPTIM) | - |
3847 | if (!priv->eng && globalEngineCache()) {TRUE | evaluated 157262 times by 162 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | never evaluated |
TRUE | evaluated 157262 times by 162 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | never evaluated |
| 0-157262 |
3848 | QMutexLocker locker(&globalEngineCacheMutex); | - |
3849 | priv->eng = globalEngineCache()->take(priv->engineKey); | - |
3850 | if (priv->eng != 0)TRUE | evaluated 155710 times by 131 testsEvaluated by:- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| FALSE | evaluated 1552 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
| 1552-155710 |
3851 | priv->eng->ref.ref();executed 155710 times by 131 tests: priv->eng->ref.ref(); Executed by:- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
| 155710 |
3852 | }executed 157262 times by 162 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 157262 |
3853 | #endif // QT_NO_REGEXP_OPTIM | - |
3854 | | - |
3855 | if (!priv->eng)TRUE | evaluated 1552 times by 116 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 155710 times by 131 testsEvaluated by:- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- ...
|
| 1552-155710 |
3856 | priv->eng = new QRegExpEngine(priv->engineKey);executed 1552 times by 116 tests: priv->eng = new QRegExpEngine(priv->engineKey); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 1552 |
3857 | | - |
3858 | if (initMatchState)TRUE | evaluated 157262 times by 162 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | never evaluated |
| 0-157262 |
3859 | priv->matchState.prepareForMatch(priv->eng);executed 157262 times by 162 tests: priv->matchState.prepareForMatch(priv->eng); Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 157262 |
3860 | }executed 157262 times by 162 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 157262 |
3861 | | - |
3862 | inline static void prepareEngine(QRegExpPrivate *priv) | - |
3863 | { | - |
3864 | if (priv->eng)TRUE | evaluated 1558958 times by 162 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | evaluated 157262 times by 162 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
|
| 157262-1558958 |
3865 | return;executed 1558958 times by 162 tests: return; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 1558958 |
3866 | prepareEngine_helper(priv); | - |
3867 | }executed 157262 times by 162 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 157262 |
3868 | | - |
3869 | static void prepareEngineForMatch(QRegExpPrivate *priv, const QString &str) | - |
3870 | { | - |
3871 | prepareEngine(priv); | - |
3872 | priv->matchState.prepareForMatch(priv->eng); | - |
3873 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3874 | priv->t = str; | - |
3875 | priv->capturedCache.clear(); | - |
3876 | #else | - |
3877 | Q_UNUSED(str); | - |
3878 | #endif | - |
3879 | }executed 994552 times by 88 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 994552 |
3880 | | - |
3881 | static void invalidateEngine(QRegExpPrivate *priv) | - |
3882 | { | - |
3883 | if (priv->eng != 0) {TRUE | evaluated 624921 times by 167 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| FALSE | evaluated 467301 times by 152 testsEvaluated by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
|
| 467301-624921 |
3884 | derefEngine(priv->eng, priv->engineKey); | - |
3885 | priv->eng = 0; | - |
3886 | priv->matchState.drain(); | - |
3887 | }executed 624921 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 624921 |
3888 | }executed 1092222 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 1092222 |
3889 | | - |
3890 | | - |
3891 | | - |
3892 | | - |
3893 | | - |
3894 | | - |
3895 | | - |
3896 | | - |
3897 | | - |
3898 | | - |
3899 | | - |
3900 | | - |
3901 | | - |
3902 | | - |
3903 | | - |
3904 | | - |
3905 | | - |
3906 | | - |
3907 | | - |
3908 | | - |
3909 | | - |
3910 | | - |
3911 | | - |
3912 | | - |
3913 | | - |
3914 | | - |
3915 | | - |
3916 | | - |
3917 | | - |
3918 | | - |
3919 | | - |
3920 | | - |
3921 | | - |
3922 | | - |
3923 | | - |
3924 | | - |
3925 | | - |
3926 | | - |
3927 | | - |
3928 | | - |
3929 | | - |
3930 | | - |
3931 | | - |
3932 | | - |
3933 | | - |
3934 | | - |
3935 | | - |
3936 | | - |
3937 | | - |
3938 | | - |
3939 | | - |
3940 | QRegExp::QRegExp() | - |
3941 | { | - |
3942 | priv = new QRegExpPrivate; | - |
3943 | prepareEngine(priv); | - |
3944 | }executed 609 times by 19 tests: end of block Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHeaderView
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStateMachine
- tst_QTableView
- tst_QTreeView
- tst_QVariant
- tst_qmakelib
| 609 |
3945 | | - |
3946 | | - |
3947 | | - |
3948 | | - |
3949 | | - |
3950 | | - |
3951 | | - |
3952 | | - |
3953 | | - |
3954 | | - |
3955 | | - |
3956 | QRegExp::QRegExp(const QString &pattern, Qt::CaseSensitivity cs, PatternSyntax syntax) | - |
3957 | { | - |
3958 | priv = new QRegExpPrivate(QRegExpEngineKey(pattern, syntax, cs)); | - |
3959 | prepareEngine(priv); | - |
3960 | }executed 156415 times by 161 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 156415 |
3961 | | - |
3962 | | - |
3963 | | - |
3964 | | - |
3965 | | - |
3966 | | - |
3967 | QRegExp::QRegExp(const QRegExp &rx) | - |
3968 | { | - |
3969 | priv = new QRegExpPrivate; | - |
3970 | operator=(rx); | - |
3971 | }executed 467263 times by 152 tests: end of block Executed by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
| 467263 |
3972 | | - |
3973 | | - |
3974 | | - |
3975 | | - |
3976 | QRegExp::~QRegExp() | - |
3977 | { | - |
3978 | invalidateEngine(priv); | - |
3979 | delete priv; | - |
3980 | }executed 624284 times by 167 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- ...
| 624284 |
3981 | | - |
3982 | | - |
3983 | | - |
3984 | | - |
3985 | | - |
3986 | | - |
3987 | QRegExp &QRegExp::operator=(const QRegExp &rx) | - |
3988 | { | - |
3989 | prepareEngine(rx.priv); | - |
3990 | QRegExpEngine *otherEng = rx.priv->eng; | - |
3991 | if (otherEng)TRUE | evaluated 467662 times by 152 testsEvaluated by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
| FALSE | never evaluated |
| 0-467662 |
3992 | otherEng->ref.ref();executed 467662 times by 152 tests: otherEng->ref.ref(); Executed by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
| 467662 |
3993 | invalidateEngine(priv); | - |
3994 | priv->eng = otherEng; | - |
3995 | priv->engineKey = rx.priv->engineKey; | - |
3996 | priv->minimal = rx.priv->minimal; | - |
3997 | #ifndef QT_NO_REGEXP_CAPTURE | - |
3998 | priv->t = rx.priv->t; | - |
3999 | priv->capturedCache = rx.priv->capturedCache; | - |
4000 | #endif | - |
4001 | if (priv->eng)TRUE | evaluated 467662 times by 152 testsEvaluated by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
| FALSE | never evaluated |
| 0-467662 |
4002 | priv->matchState.prepareForMatch(priv->eng);executed 467662 times by 152 tests: priv->matchState.prepareForMatch(priv->eng); Executed by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
| 467662 |
4003 | priv->matchState.captured = rx.priv->matchState.captured; | - |
4004 | return *this;executed 467662 times by 152 tests: return *this; Executed by:- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusInterface
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- ...
| 467662 |
4005 | } | - |
4006 | | - |
4007 | | - |
4008 | | - |
4009 | | - |
4010 | | - |
4011 | | - |
4012 | | - |
4013 | | - |
4014 | | - |
4015 | | - |
4016 | | - |
4017 | | - |
4018 | | - |
4019 | | - |
4020 | | - |
4021 | | - |
4022 | | - |
4023 | | - |
4024 | | - |
4025 | | - |
4026 | | - |
4027 | | - |
4028 | | - |
4029 | | - |
4030 | | - |
4031 | bool QRegExp::operator==(const QRegExp &rx) const | - |
4032 | { | - |
4033 | return priv->engineKey == rx.priv->engineKey && priv->minimal == rx.priv->minimal;executed 2237 times by 5 tests: return priv->engineKey == rx.priv->engineKey && priv->minimal == rx.priv->minimal; Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QRegExp
- tst_QRegExpValidator
- tst_QVariant
| 2237 |
4034 | } | - |
4035 | | - |
4036 | | - |
4037 | | - |
4038 | | - |
4039 | | - |
4040 | | - |
4041 | | - |
4042 | | - |
4043 | uint qHash(const QRegExp &key, uint seed) Q_DECL_NOTHROW | - |
4044 | { | - |
4045 | QtPrivate::QHashCombine hash; | - |
4046 | seed = hash(seed, key.priv->engineKey); | - |
4047 | seed = hash(seed, key.priv->minimal); | - |
4048 | return seed;executed 2048 times by 1 test: return seed; | 2048 |
4049 | } | - |
4050 | | - |
4051 | | - |
4052 | | - |
4053 | | - |
4054 | | - |
4055 | | - |
4056 | | - |
4057 | | - |
4058 | | - |
4059 | | - |
4060 | | - |
4061 | | - |
4062 | | - |
4063 | | - |
4064 | | - |
4065 | | - |
4066 | | - |
4067 | | - |
4068 | | - |
4069 | | - |
4070 | | - |
4071 | | - |
4072 | | - |
4073 | | - |
4074 | | - |
4075 | bool QRegExp::isEmpty() const | - |
4076 | { | - |
4077 | return priv->engineKey.pattern.isEmpty();executed 70068 times by 18 tests: return priv->engineKey.pattern.isEmpty(); Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHeaderView
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QTableView
- tst_QTextDocument
- tst_QTextEdit
- tst_QTreeView
- tst_qmakelib
| 70068 |
4078 | } | - |
4079 | | - |
4080 | | - |
4081 | | - |
4082 | | - |
4083 | | - |
4084 | | - |
4085 | | - |
4086 | | - |
4087 | | - |
4088 | | - |
4089 | | - |
4090 | | - |
4091 | | - |
4092 | | - |
4093 | bool QRegExp::isValid() const | - |
4094 | { | - |
4095 | if (priv->engineKey.pattern.isEmpty()) {TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QStateMachine
| FALSE | evaluated 2263 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QRegExp
- tst_languageChange
- tst_qstandardpaths
- tst_uic
|
| 32-2263 |
4096 | return true;executed 32 times by 2 tests: return true; Executed by:- tst_QRegExp
- tst_QStateMachine
| 32 |
4097 | } else { | - |
4098 | prepareEngine(priv); | - |
4099 | return priv->eng->isValid();executed 2263 times by 7 tests: return priv->eng->isValid(); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QRegExp
- tst_languageChange
- tst_qstandardpaths
- tst_uic
| 2263 |
4100 | } | - |
4101 | } | - |
4102 | | - |
4103 | | - |
4104 | | - |
4105 | | - |
4106 | | - |
4107 | | - |
4108 | | - |
4109 | | - |
4110 | QString QRegExp::pattern() const | - |
4111 | { | - |
4112 | return priv->engineKey.pattern;executed 610 times by 14 tests: return priv->engineKey.pattern; Executed by:- tst_ModelTest
- tst_QDataStream
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QMetaType
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QVariant
- tst_languageChange
| 610 |
4113 | } | - |
4114 | | - |
4115 | | - |
4116 | | - |
4117 | | - |
4118 | | - |
4119 | | - |
4120 | | - |
4121 | void QRegExp::setPattern(const QString &pattern) | - |
4122 | { | - |
4123 | if (priv->engineKey.pattern != pattern) {TRUE | evaluated 74 times by 4 testsEvaluated by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_qmakelib
| FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QRegExp
- tst_QSortFilterProxyModel
|
| 11-74 |
4124 | invalidateEngine(priv); | - |
4125 | priv->engineKey.pattern = pattern; | - |
4126 | }executed 74 times by 4 tests: end of block Executed by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_qmakelib
| 74 |
4127 | }executed 85 times by 4 tests: end of block Executed by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_qmakelib
| 85 |
4128 | | - |
4129 | | - |
4130 | | - |
4131 | | - |
4132 | | - |
4133 | | - |
4134 | | - |
4135 | Qt::CaseSensitivity QRegExp::caseSensitivity() const | - |
4136 | { | - |
4137 | return priv->engineKey.cs;executed 173 times by 3 tests: return priv->engineKey.cs; Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QVariant
| 173 |
4138 | } | - |
4139 | | - |
4140 | | - |
4141 | | - |
4142 | | - |
4143 | | - |
4144 | | - |
4145 | | - |
4146 | | - |
4147 | | - |
4148 | void QRegExp::setCaseSensitivity(Qt::CaseSensitivity cs) | - |
4149 | { | - |
4150 | if ((bool)cs != (bool)priv->engineKey.cs) {TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| FALSE | evaluated 63 times by 4 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_qmakelib
|
| 16-63 |
4151 | invalidateEngine(priv); | - |
4152 | priv->engineKey.cs = cs; | - |
4153 | }executed 16 times by 3 tests: end of block Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| 16 |
4154 | }executed 79 times by 4 tests: end of block Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_qmakelib
| 79 |
4155 | | - |
4156 | | - |
4157 | | - |
4158 | | - |
4159 | | - |
4160 | | - |
4161 | | - |
4162 | QRegExp::PatternSyntax QRegExp::patternSyntax() const | - |
4163 | { | - |
4164 | return priv->engineKey.patternSyntax;executed 177 times by 4 tests: return priv->engineKey.patternSyntax; Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QRegExp
- tst_QVariant
| 177 |
4165 | } | - |
4166 | | - |
4167 | | - |
4168 | | - |
4169 | | - |
4170 | | - |
4171 | | - |
4172 | | - |
4173 | | - |
4174 | | - |
4175 | | - |
4176 | | - |
4177 | | - |
4178 | | - |
4179 | | - |
4180 | | - |
4181 | | - |
4182 | void QRegExp::setPatternSyntax(PatternSyntax syntax) | - |
4183 | { | - |
4184 | if (syntax != priv->engineKey.patternSyntax) {TRUE | evaluated 186 times by 4 testsEvaluated by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QTextDocument
| FALSE | evaluated 45 times by 3 testsEvaluated by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
|
| 45-186 |
4185 | invalidateEngine(priv); | - |
4186 | priv->engineKey.patternSyntax = syntax; | - |
4187 | }executed 186 times by 4 tests: end of block Executed by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QTextDocument
| 186 |
4188 | }executed 231 times by 4 tests: end of block Executed by:- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QTextDocument
| 231 |
4189 | | - |
4190 | | - |
4191 | | - |
4192 | | - |
4193 | | - |
4194 | | - |
4195 | | - |
4196 | bool QRegExp::isMinimal() const | - |
4197 | { | - |
4198 | return priv->minimal;executed 173 times by 3 tests: return priv->minimal; Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QVariant
| 173 |
4199 | } | - |
4200 | | - |
4201 | | - |
4202 | | - |
4203 | | - |
4204 | | - |
4205 | | - |
4206 | | - |
4207 | | - |
4208 | | - |
4209 | | - |
4210 | | - |
4211 | | - |
4212 | | - |
4213 | | - |
4214 | | - |
4215 | | - |
4216 | | - |
4217 | | - |
4218 | void QRegExp::setMinimal(bool minimal) | - |
4219 | { | - |
4220 | priv->minimal = minimal; | - |
4221 | }executed 589 times by 5 tests: end of block Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QRegExp
- tst_QVariant
- tst_selftests - unknown status
| 589 |
4222 | | - |
4223 | | - |
4224 | | - |
4225 | | - |
4226 | | - |
4227 | | - |
4228 | | - |
4229 | | - |
4230 | | - |
4231 | | - |
4232 | | - |
4233 | | - |
4234 | | - |
4235 | | - |
4236 | | - |
4237 | | - |
4238 | | - |
4239 | | - |
4240 | | - |
4241 | | - |
4242 | | - |
4243 | | - |
4244 | bool QRegExp::exactMatch(const QString &str) const | - |
4245 | { | - |
4246 | prepareEngineForMatch(priv, str); | - |
4247 | priv->matchState.match(str.unicode(), str.length(), 0, priv->minimal, true, 0); | - |
4248 | if (priv->matchState.captured[1] == str.length()) {TRUE | evaluated 218548 times by 36 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStringList
- ...
| FALSE | evaluated 383147 times by 52 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- ...
|
| 218548-383147 |
4249 | return true;executed 218548 times by 36 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QPlugin
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStringList
- ...
| 218548 |
4250 | } else { | - |
4251 | priv->matchState.captured[0] = 0; | - |
4252 | priv->matchState.captured[1] = priv->matchState.oneTestMatchedLen; | - |
4253 | return false;executed 383147 times by 52 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- ...
| 383147 |
4254 | } | - |
4255 | } | - |
4256 | | - |
4257 | | - |
4258 | | - |
4259 | | - |
4260 | | - |
4261 | | - |
4262 | | - |
4263 | | - |
4264 | | - |
4265 | | - |
4266 | | - |
4267 | | - |
4268 | | - |
4269 | | - |
4270 | | - |
4271 | | - |
4272 | | - |
4273 | | - |
4274 | | - |
4275 | | - |
4276 | | - |
4277 | | - |
4278 | | - |
4279 | | - |
4280 | | - |
4281 | | - |
4282 | | - |
4283 | | - |
4284 | | - |
4285 | | - |
4286 | int QRegExp::indexIn(const QString &str, int offset, CaretMode caretMode) const | - |
4287 | { | - |
4288 | prepareEngineForMatch(priv, str); | - |
4289 | if (offset < 0)TRUE | never evaluated | FALSE | evaluated 391908 times by 49 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- ...
|
| 0-391908 |
4290 | offset += str.length(); never executed: offset += str.length(); | 0 |
4291 | priv->matchState.match(str.unicode(), str.length(), offset, | - |
4292 | priv->minimal, false, caretIndex(offset, caretMode)); | - |
4293 | return priv->matchState.captured[0];executed 391908 times by 49 tests: return priv->matchState.captured[0]; Executed by:- tst_Collections
- tst_Lancelot
- tst_ModelTest
- tst_QDBusInterface
- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinterInfo
- ...
| 391908 |
4294 | } | - |
4295 | | - |
4296 | | - |
4297 | | - |
4298 | | - |
4299 | | - |
4300 | | - |
4301 | | - |
4302 | | - |
4303 | | - |
4304 | | - |
4305 | | - |
4306 | | - |
4307 | | - |
4308 | | - |
4309 | | - |
4310 | | - |
4311 | | - |
4312 | | - |
4313 | | - |
4314 | | - |
4315 | | - |
4316 | | - |
4317 | int QRegExp::lastIndexIn(const QString &str, int offset, CaretMode caretMode) const | - |
4318 | { | - |
4319 | prepareEngineForMatch(priv, str); | - |
4320 | if (offset < 0)TRUE | evaluated 24 times by 1 test | FALSE | evaluated 925 times by 5 testsEvaluated by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
|
| 24-925 |
4321 | offset += str.length();executed 24 times by 1 test: offset += str.length(); | 24 |
4322 | if (offset < 0 || offset > str.length()) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 941 times by 5 testsEvaluated by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
|
TRUE | never evaluated | FALSE | evaluated 941 times by 5 testsEvaluated by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
|
| 0-941 |
4323 | memset(priv->matchState.captured, -1, priv->matchState.capturedSize*sizeof(int)); | - |
4324 | return -1;executed 8 times by 1 test: return -1; | 8 |
4325 | } | - |
4326 | | - |
4327 | while (offset >= 0) {TRUE | evaluated 31883 times by 5 testsEvaluated by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
| FALSE | evaluated 602 times by 3 testsEvaluated by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
|
| 602-31883 |
4328 | priv->matchState.match(str.unicode(), str.length(), offset, | - |
4329 | priv->minimal, true, caretIndex(offset, caretMode)); | - |
4330 | if (priv->matchState.captured[0] == offset)TRUE | evaluated 339 times by 5 testsEvaluated by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
| FALSE | evaluated 31544 times by 5 testsEvaluated by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
|
| 339-31544 |
4331 | return offset;executed 339 times by 5 tests: return offset; Executed by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
| 339 |
4332 | --offset; | - |
4333 | }executed 31544 times by 5 tests: end of block Executed by:- tst_QPlainTextEdit
- tst_QRegExp
- tst_QString
- tst_QTextDocument
- tst_QTextEdit
| 31544 |
4334 | return -1;executed 602 times by 3 tests: return -1; Executed by:- tst_QRegExp
- tst_QString
- tst_QTextDocument
| 602 |
4335 | } | - |
4336 | | - |
4337 | | - |
4338 | | - |
4339 | | - |
4340 | | - |
4341 | | - |
4342 | | - |
4343 | int QRegExp::matchedLength() const | - |
4344 | { | - |
4345 | return priv->matchState.captured[1];executed 26858 times by 27 tests: return priv->matchState.captured[1]; Executed by:- tst_Lancelot
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QProcess
- tst_QRegExp
- tst_QRegExpValidator
- tst_QSharedMemory
- tst_QSslCertificate
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_languageChange
- tst_qmakelib
- ...
| 26858 |
4346 | } | - |
4347 | | - |
4348 | #ifndef QT_NO_REGEXP_CAPTURE | - |
4349 | | - |
4350 | | - |
4351 | | - |
4352 | | - |
4353 | | - |
4354 | int QRegExp::captureCount() const | - |
4355 | { | - |
4356 | prepareEngine(priv); | - |
4357 | return priv->eng->captureCount();executed 90738 times by 17 tests: return priv->eng->captureCount(); Executed by:- tst_Lancelot
- tst_QFontComboBox
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSharedMemory
- tst_QSqlDatabase
- tst_QString
- tst_QStringList
- tst_QSystemSemaphore
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_uic
| 90738 |
4358 | } | - |
4359 | | - |
4360 | | - |
4361 | | - |
4362 | | - |
4363 | | - |
4364 | | - |
4365 | | - |
4366 | | - |
4367 | | - |
4368 | | - |
4369 | | - |
4370 | | - |
4371 | | - |
4372 | | - |
4373 | | - |
4374 | | - |
4375 | | - |
4376 | | - |
4377 | | - |
4378 | | - |
4379 | | - |
4380 | | - |
4381 | | - |
4382 | | - |
4383 | | - |
4384 | | - |
4385 | | - |
4386 | | - |
4387 | | - |
4388 | | - |
4389 | | - |
4390 | | - |
4391 | | - |
4392 | | - |
4393 | | - |
4394 | | - |
4395 | | - |
4396 | | - |
4397 | | - |
4398 | QStringList QRegExp::capturedTexts() const | - |
4399 | { | - |
4400 | if (priv->capturedCache.isEmpty()) {TRUE | evaluated 3981 times by 21 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 335 times by 6 testsEvaluated by:- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_qmakelib
|
| 335-3981 |
4401 | prepareEngine(priv); | - |
4402 | const int *captured = priv->matchState.captured; | - |
4403 | int n = priv->matchState.capturedSize; | - |
4404 | | - |
4405 | for (int i = 0; i < n; i += 2) {TRUE | evaluated 16628 times by 21 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 3981 times by 21 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 3981-16628 |
4406 | QString m; | - |
4407 | if (captured[i + 1] == 0)TRUE | evaluated 160 times by 1 test | FALSE | evaluated 16468 times by 21 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
| 160-16468 |
4408 | m = QLatin1String(""); executed 160 times by 1 test: m = QLatin1String(""); | 160 |
4409 | else if (captured[i] >= 0)TRUE | evaluated 11480 times by 21 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 4988 times by 9 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QString
- tst_QTime
- tst_qmakelib
|
| 4988-11480 |
4410 | m = priv->t.mid(captured[i], captured[i + 1]);executed 11480 times by 21 tests: m = priv->t.mid(captured[i], captured[i + 1]); Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 11480 |
4411 | priv->capturedCache.append(m); | - |
4412 | }executed 16628 times by 21 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 16628 |
4413 | priv->t.clear(); | - |
4414 | }executed 3981 times by 21 tests: end of block Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 3981 |
4415 | return priv->capturedCache;executed 4316 times by 21 tests: return priv->capturedCache; Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTemporaryDir
- tst_QTextDocument
- tst_QTime
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 4316 |
4416 | } | - |
4417 | | - |
4418 | | - |
4419 | | - |
4420 | | - |
4421 | QStringList QRegExp::capturedTexts() | - |
4422 | { | - |
4423 | return const_cast<const QRegExp *>(this)->capturedTexts();executed 3136 times by 11 tests: return const_cast<const QRegExp *>(this)->capturedTexts(); Executed by:- tst_QDate
- tst_QDateTime
- tst_QFileSystemModel
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegExp
- tst_QTemporaryDir
- tst_QTime
- tst_qstandardpaths
| 3136 |
4424 | } | - |
4425 | | - |
4426 | | - |
4427 | | - |
4428 | | - |
4429 | | - |
4430 | | - |
4431 | | - |
4432 | | - |
4433 | | - |
4434 | | - |
4435 | | - |
4436 | | - |
4437 | | - |
4438 | | - |
4439 | | - |
4440 | | - |
4441 | QString QRegExp::cap(int nth) const | - |
4442 | { | - |
4443 | return capturedTexts().value(nth);executed 1180 times by 12 tests: return capturedTexts().value(nth); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
| 1180 |
4444 | } | - |
4445 | | - |
4446 | | - |
4447 | | - |
4448 | | - |
4449 | QString QRegExp::cap(int nth) | - |
4450 | { | - |
4451 | return const_cast<const QRegExp *>(this)->cap(nth);executed 1180 times by 12 tests: return const_cast<const QRegExp *>(this)->cap(nth); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QRegExp
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
| 1180 |
4452 | } | - |
4453 | | - |
4454 | | - |
4455 | | - |
4456 | | - |
4457 | | - |
4458 | | - |
4459 | | - |
4460 | | - |
4461 | | - |
4462 | | - |
4463 | | - |
4464 | | - |
4465 | | - |
4466 | | - |
4467 | | - |
4468 | int QRegExp::pos(int nth) const | - |
4469 | { | - |
4470 | if (nth < 0 || nth >= priv->matchState.capturedSize / 2)TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
4471 | return -1; never executed: return -1; | 0 |
4472 | else | - |
4473 | return priv->matchState.captured[2 * nth];executed 52 times by 1 test: return priv->matchState.captured[2 * nth]; | 52 |
4474 | } | - |
4475 | | - |
4476 | | - |
4477 | | - |
4478 | | - |
4479 | int QRegExp::pos(int nth) | - |
4480 | { | - |
4481 | return const_cast<const QRegExp *>(this)->pos(nth);executed 52 times by 1 test: return const_cast<const QRegExp *>(this)->pos(nth); | 52 |
4482 | } | - |
4483 | | - |
4484 | | - |
4485 | | - |
4486 | | - |
4487 | | - |
4488 | | - |
4489 | | - |
4490 | QString QRegExp::errorString() const | - |
4491 | { | - |
4492 | if (isValid()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4493 | return QString::fromLatin1(RXERR_OK); never executed: return QString::fromLatin1("no error occurred"); | 0 |
4494 | } else { | - |
4495 | return priv->eng->errorString(); never executed: return priv->eng->errorString(); | 0 |
4496 | } | - |
4497 | } | - |
4498 | | - |
4499 | | - |
4500 | | - |
4501 | | - |
4502 | QString QRegExp::errorString() | - |
4503 | { | - |
4504 | return const_cast<const QRegExp *>(this)->errorString(); never executed: return const_cast<const QRegExp *>(this)->errorString(); | 0 |
4505 | } | - |
4506 | #endif | - |
4507 | | - |
4508 | | - |
4509 | | - |
4510 | | - |
4511 | | - |
4512 | | - |
4513 | | - |
4514 | | - |
4515 | | - |
4516 | | - |
4517 | | - |
4518 | | - |
4519 | | - |
4520 | | - |
4521 | | - |
4522 | | - |
4523 | QString QRegExp::escape(const QString &str) | - |
4524 | { | - |
4525 | QString quoted; | - |
4526 | const int count = str.count(); | - |
4527 | quoted.reserve(count * 2); | - |
4528 | const QLatin1Char backslash('\\'); | - |
4529 | for (int i = 0; i < count; i++) {TRUE | evaluated 17597 times by 14 testsEvaluated by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 838 times by 14 testsEvaluated by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
|
| 838-17597 |
4530 | switch (str.at(i).toLatin1()) { | - |
4531 | case '$':executed 2 times by 1 test: case '$': | 2 |
4532 | case '(':executed 2 times by 1 test: case '(': | 2 |
4533 | case ')':executed 2 times by 1 test: case ')': | 2 |
4534 | case '*':executed 23 times by 3 tests: case '*': Executed by:- tst_QSslCertificate
- tst_QString
- tst_qmakelib
| 23 |
4535 | case '+':executed 3 times by 2 tests: case '+': | 3 |
4536 | case '.':executed 24 times by 5 tests: case '.': Executed by:- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_qmakelib
| 24 |
4537 | case '?':executed 2 times by 1 test: case '?': | 2 |
4538 | case '[':executed 5 times by 3 tests: case '[': Executed by:- tst_QRegExp
- tst_QString
- tst_qmakelib
| 5 |
4539 | case '\\':executed 2 times by 1 test: case '\\': | 2 |
4540 | case ']':executed 5 times by 3 tests: case ']': Executed by:- tst_QRegExp
- tst_QString
- tst_qmakelib
| 5 |
4541 | case '^':executed 2 times by 1 test: case '^': | 2 |
4542 | case '{':executed 2 times by 1 test: case '{': | 2 |
4543 | case '|':executed 4 times by 1 test: case '|': | 4 |
4544 | case '}':executed 2 times by 1 test: case '}': | 2 |
4545 | quoted.append(backslash); | - |
4546 | }executed 80 times by 6 tests: end of block Executed by:- tst_QRegExp
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_qmakelib
| 80 |
4547 | quoted.append(str.at(i)); | - |
4548 | }executed 17597 times by 14 tests: end of block Executed by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
| 17597 |
4549 | return quoted;executed 838 times by 14 tests: return quoted; Executed by:- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextDocument
- tst_languageChange
- tst_qmakelib
| 838 |
4550 | } | - |
4551 | | - |
4552 | | - |
4553 | #ifndef QT_NO_DATASTREAM | - |
4554 | | - |
4555 | | - |
4556 | | - |
4557 | | - |
4558 | | - |
4559 | | - |
4560 | | - |
4561 | QDataStream &operator<<(QDataStream &out, const QRegExp ®Exp) | - |
4562 | { | - |
4563 | return out << regExp.pattern() << (quint8)regExp.caseSensitivity()executed 173 times by 3 tests: return out << regExp.pattern() << (quint8)regExp.caseSensitivity() << (quint8)regExp.patternSyntax() << (quint8)!!regExp.isMinimal(); Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QVariant
| 173 |
4564 | << (quint8)regExp.patternSyntax()executed 173 times by 3 tests: return out << regExp.pattern() << (quint8)regExp.caseSensitivity() << (quint8)regExp.patternSyntax() << (quint8)!!regExp.isMinimal(); Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QVariant
| 173 |
4565 | << (quint8)!!regExp.isMinimal();executed 173 times by 3 tests: return out << regExp.pattern() << (quint8)regExp.caseSensitivity() << (quint8)regExp.patternSyntax() << (quint8)!!regExp.isMinimal(); Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QVariant
| 173 |
4566 | } | - |
4567 | | - |
4568 | | - |
4569 | | - |
4570 | | - |
4571 | | - |
4572 | | - |
4573 | | - |
4574 | | - |
4575 | QDataStream &operator>>(QDataStream &in, QRegExp ®Exp) | - |
4576 | { | - |
4577 | QString pattern; | - |
4578 | quint8 cs; | - |
4579 | quint8 patternSyntax; | - |
4580 | quint8 isMinimal; | - |
4581 | | - |
4582 | in >> pattern >> cs >> patternSyntax >> isMinimal; | - |
4583 | | - |
4584 | QRegExp newRegExp(pattern, Qt::CaseSensitivity(cs), | - |
4585 | QRegExp::PatternSyntax(patternSyntax)); | - |
4586 | | - |
4587 | newRegExp.setMinimal(isMinimal); | - |
4588 | regExp = newRegExp; | - |
4589 | return in;executed 177 times by 3 tests: return in; Executed by:- tst_QDataStream
- tst_QMetaType
- tst_QVariant
| 177 |
4590 | } | - |
4591 | #endif // QT_NO_DATASTREAM | - |
4592 | | - |
4593 | #ifndef QT_NO_DEBUG_STREAM | - |
4594 | QDebug operator<<(QDebug dbg, const QRegExp &r) | - |
4595 | { | - |
4596 | QDebugStateSaver saver(dbg); | - |
4597 | dbg.nospace() << "QRegExp(patternSyntax=" << r.patternSyntax() | - |
4598 | << ", pattern='"<< r.pattern() << "')"; | - |
4599 | return dbg;executed 1 time by 1 test: return dbg; | 1 |
4600 | } | - |
4601 | #endif | - |
4602 | | - |
4603 | QT_END_NAMESPACE | - |
| | |