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