qregexp.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7int qFindString(const QChar *haystack, int haystackLen, int from,-
8 const QChar *needle, int needleLen, Qt::CaseSensitivity cs);-
9const int NumBadChars = 64;-
10-
11-
12const int NoOccurrence = 2147483647;-
13const int EmptyCapture = 2147483647;-
14const int InftyLen = 2147483647;-
15const int InftyRep = 1025;-
16const int EOS = -1;-
17-
18static bool isWord(QChar ch)-
19{-
20 return
executed 287 times by 2 tests: return ch.isLetterOrNumber() || ch.isMark() || ch == QLatin1Char('_');
Executed by:
  • tst_QString
  • tst_qmakelib
ch.isLetterOrNumber() || ch.isMark() || ch == QLatin1Char('_');
executed 287 times by 2 tests: return ch.isLetterOrNumber() || ch.isMark() || ch == QLatin1Char('_');
Executed by:
  • tst_QString
  • tst_qmakelib
287
21}-
22-
23-
24-
25-
26-
27static void mergeInto(QVector<int> *a, const QVector<int> &b)-
28{-
29 int asize = a->size();-
30 int bsize = b.size();-
31 if (asize == 0
asize == 0Description
TRUEevaluated 32753 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 11023 times by 107 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
11023-32753
32 *a = b;-
33-
34 }
executed 32753 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
else if (bsize == 1
bsize == 1Description
TRUEevaluated 8124 times by 98 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 2899 times by 40 tests
Evaluated 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
  • ...
&& a->at(asize - 1) < b.at(0)
a->at(asize - 1) < b.at(0)Description
TRUEevaluated 6250 times by 97 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 1874 times by 69 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
) {
1874-32753
35 a->resize(asize + 1);-
36 (*a)[asize] = b.at(0);-
37-
38 }
executed 6250 times by 97 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
else if (bsize >= 1
bsize >= 1Description
TRUEevaluated 3798 times by 69 tests
Evaluated 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
  • ...
FALSEevaluated 975 times by 40 tests
Evaluated by:
  • tst_Collections
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QMetaType
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSqlQueryModel
  • ...
) {
975-6250
39 int csize = asize + bsize;-
40 QVector<int> c(csize);-
41 int i = 0, j = 0, k = 0;-
42 while (i < asize
i < asizeDescription
TRUEevaluated 8457 times by 69 tests
Evaluated 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
  • ...
FALSEevaluated 1500 times by 11 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QTextDocument
  • tst_QTime
) {
1500-8457
43 if (j < bsize
j < bsizeDescription
TRUEevaluated 6159 times by 69 tests
Evaluated 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
  • ...
FALSEevaluated 2298 times by 69 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
) {
2298-6159
44 if (a->at(i) == b.at(j)
a->at(i) == b.at(j)Description
TRUEevaluated 172 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 5987 times by 69 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
) {
172-5987
45 ++i;-
46 --csize;-
47 }
executed 172 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else if (a->at(i) < b.at(j)
a->at(i) < b.at(j)Description
TRUEevaluated 3005 times by 11 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QTextDocument
  • tst_QTime
FALSEevaluated 2982 times by 69 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
) {
172-3005
48 c[k++] = a->at(i++);-
49 }
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
else {
3005
50 c[k++] = b.at(j++);-
51 }
executed 2982 times by 69 tests: end of block
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
2982
52 } else {-
53 memcpy(c.data() + k, a->constData() + i, (asize - i) * sizeof(int));-
54 break;
executed 2298 times by 69 tests: break;
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
2298
55 }-
56 }-
57 c.resize(csize);-
58 if (j < bsize
j < bsizeDescription
TRUEevaluated 1500 times by 11 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QTextDocument
  • tst_QTime
FALSEevaluated 2298 times by 69 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
)
1500-2298
59 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
60 *a = c;-
61 }
executed 3798 times by 69 tests: end of block
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
3798
62}
executed 43776 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
43776
63static QString wc2rx(const QString &wc_str, const bool enableEscaping)-
64{-
65 const int wclen = wc_str.length();-
66 QString rx;-
67 int i = 0;-
68 bool isEscaping = false;-
69 const QChar *wc = wc_str.unicode();-
70-
71 while (i < wclen
i < wclenDescription
TRUEevaluated 1641 times by 78 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 290 times by 78 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
) {
290-1641
72 const QChar c = wc[i++];-
73 switch (c.unicode()) {-
74 case
executed 12 times by 1 test: case '\\':
Executed by:
  • tst_QRegExp
'\\':
executed 12 times by 1 test: case '\\':
Executed by:
  • tst_QRegExp
12
75 if (enableEscaping
enableEscapingDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
) {
0-12
76 if (isEscaping
isEscapingDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
2-10
77 rx += QLatin1String("\\\\");-
78 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_QRegExp
2
79 if (i == wclen
i == wclenDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
1-11
80 rx += QLatin1String("\\\\");-
81 }
executed 1 time by 1 test: end of block
Executed by:
  • tst_QRegExp
1
82 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
12
83 rx += QLatin1String("\\\\");-
84 }
never executed: end of block
0
85 isEscaping = true;-
86 break;
executed 12 times by 1 test: break;
Executed by:
  • tst_QRegExp
12
87 case
executed 194 times by 71 tests: case '*':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
'*':
executed 194 times by 71 tests: case '*':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
194
88 if (isEscaping
isEscapingDescription
TRUEnever evaluated
FALSEevaluated 194 times by 71 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
) {
0-194
89 rx += QLatin1String("\\*");-
90 isEscaping = false;-
91 }
never executed: end of block
else {
0
92 rx += QLatin1String(".*");-
93 }
executed 194 times by 71 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
194
94 break;
executed 194 times by 71 tests: break;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
194
95 case
executed 8 times by 1 test: case '?':
Executed by:
  • tst_QRegExp
'?':
executed 8 times by 1 test: case '?':
Executed by:
  • tst_QRegExp
8
96 if (isEscaping
isEscapingDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
1-7
97 rx += QLatin1String("\\?");-
98 isEscaping = false;-
99 }
executed 1 time by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
1
100 rx += QLatin1Char('.');-
101 }
executed 7 times by 1 test: end of block
Executed by:
  • tst_QRegExp
7
102-
103 break;
executed 8 times by 1 test: break;
Executed by:
  • tst_QRegExp
8
104 case
never executed: case '$':
'$':
never executed: case '$':
0
105 case
executed 1 time by 1 test: case '(':
Executed by:
  • tst_QRegExp
'(':
executed 1 time by 1 test: case '(':
Executed by:
  • tst_QRegExp
1
106 case
executed 1 time by 1 test: case ')':
Executed by:
  • tst_QRegExp
')':
executed 1 time by 1 test: case ')':
Executed by:
  • tst_QRegExp
1
107 case
never executed: case '+':
'+':
never executed: case '+':
0
108 case
executed 120 times by 47 tests: case '.':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • ...
'.':
executed 120 times by 47 tests: case '.':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • ...
120
109 case
never executed: case '^':
'^':
never executed: case '^':
0
110 case
never executed: case '{':
'{':
never executed: case '{':
0
111 case
never executed: case '|':
'|':
never executed: case '|':
0
112 case
never executed: case '}':
'}':
never executed: case '}':
0
113 if (isEscaping
isEscapingDescription
TRUEnever evaluated
FALSEevaluated 122 times by 47 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • ...
) {
0-122
114 isEscaping = false;-
115 rx += QLatin1String("\\\\");-
116 }
never executed: end of block
0
117 rx += QLatin1Char('\\');-
118 rx += c;-
119 break;
executed 122 times by 47 tests: break;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • ...
122
120 case
executed 249 times by 38 tests: case '[':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
'[':
executed 249 times by 38 tests: case '[':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
249
121 if (isEscaping
isEscapingDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 246 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
) {
3-246
122 isEscaping = false;-
123 rx += QLatin1String("\\[");-
124 }
executed 3 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
3
125 rx += c;-
126 if (wc[i] == QLatin1Char('^')
wc[i] == QLatin1Char('^')Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 244 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
)
2-244
127 rx += wc[i++];
executed 2 times by 1 test: rx += wc[i++];
Executed by:
  • tst_QRegExp
2
128 if (i < wclen
i < wclenDescription
TRUEevaluated 242 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
4-242
129 if (rx[i] == QLatin1Char(']')
rx[i] == QLatin1Char(']')Description
TRUEnever evaluated
FALSEevaluated 242 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
)
0-242
130 rx += wc[i++];
never executed: rx += wc[i++];
0
131 while (i < wclen
i < wclenDescription
TRUEevaluated 1335 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRegExp
&& wc[i] != QLatin1Char(']')
wc[i] != QLatin1Char(']')Description
TRUEevaluated 1097 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
FALSEevaluated 238 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
) {
4-1335
132 if (wc[i] == QLatin1Char('\\')
wc[i] == QLatin1Char('\\')Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1096 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
)
1-1096
133 rx += QLatin1Char('\\');
executed 1 time by 1 test: rx += QLatin1Char('\\');
Executed by:
  • tst_QRegExp
1
134 rx += wc[i++];-
135 }
executed 1097 times by 38 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
1097
136 }
executed 242 times by 38 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
242
137 }
executed 246 times by 38 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
246
138 break;
executed 249 times by 38 tests: break;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
249
139-
140 case
executed 246 times by 38 tests: case ']':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
']':
executed 246 times by 38 tests: case ']':
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
246
141 if(isEscaping
isEscapingDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 244 times by 38 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
){
2-244
142 isEscaping = false;-
143 rx += QLatin1String("\\");-
144 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_QRegExp
2
145 rx += c;-
146 break;
executed 246 times by 38 tests: break;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
246
147-
148 default
executed 810 times by 38 tests: default:
Executed by:
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPlugin
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
:
executed 810 times by 38 tests: default:
Executed by:
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPlugin
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
810
149 if(isEscaping
isEscapingDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 807 times by 38 tests
Evaluated by:
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPlugin
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
){
3-807
150 isEscaping = false;-
151 rx += QLatin1String("\\\\");-
152 }
executed 3 times by 1 test: end of block
Executed by:
  • tst_QRegExp
3
153 rx += c;-
154 }
executed 810 times by 38 tests: end of block
Executed by:
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPlugin
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • ...
810
155 }-
156 return
executed 290 times by 78 tests: return rx;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
rx;
executed 290 times by 78 tests: return rx;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
290
157}-
158-
159-
160static int caretIndex(int offset, QRegExp::CaretMode caretMode)-
161{-
162 if (caretMode == QRegExp::CaretAtZero
caretMode == Q...p::CaretAtZeroDescription
TRUEevaluated 423766 times by 49 tests
Evaluated 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
  • ...
FALSEevaluated 25 times by 3 tests
Evaluated by:
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
) {
25-423766
163 return
executed 423766 times by 49 tests: return 0;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • ...
0;
executed 423766 times by 49 tests: return 0;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • ...
423766
164 } else if (caretMode == QRegExp::CaretAtOffset
caretMode == Q...:CaretAtOffsetDescription
TRUEnever evaluated
FALSEevaluated 25 times by 3 tests
Evaluated by:
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
) {
0-25
165 return
never executed: return offset;
offset;
never executed: return offset;
0
166 } else {-
167 return
executed 25 times by 3 tests: return -1;
Executed by:
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
-1;
executed 25 times by 3 tests: return -1;
Executed by:
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
25
168 }-
169}-
170-
171-
172-
173-
174struct QRegExpEngineKey-
175{-
176 QString pattern;-
177 QRegExp::PatternSyntax patternSyntax;-
178 Qt::CaseSensitivity cs;-
179-
180 inline QRegExpEngineKey(const QString &pattern, QRegExp::PatternSyntax patternSyntax,-
181 Qt::CaseSensitivity cs)-
182 : pattern(pattern), patternSyntax(patternSyntax), cs(cs) {}
executed 624287 times by 162 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
624287
183-
184 inline void clear() {-
185 pattern.clear();-
186 patternSyntax = QRegExp::RegExp;-
187 cs = Qt::CaseSensitive;-
188 }
never executed: end of block
0
189};-
190-
191static bool operator==(const QRegExpEngineKey &key1, const QRegExpEngineKey &key2)-
192{-
193 return
executed 315960 times by 135 tests: return key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntax && key1.cs == key2.cs;
Executed by:
  • tst_ModelTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • ...
key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntax
executed 315960 times by 135 tests: return key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntax && key1.cs == key2.cs;
Executed by:
  • tst_ModelTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • ...
315960
194 && key1.cs == key2.cs;
executed 315960 times by 135 tests: return key1.pattern == key2.pattern && key1.patternSyntax == key2.patternSyntax && key1.cs == key2.cs;
Executed by:
  • tst_ModelTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • ...
315960
195}-
196-
197static uint qHash(const QRegExpEngineKey &key, uint seed = 0) noexcept-
198{-
199 QtPrivate::QHashCombine hash;-
200 seed = hash(seed, key.pattern);-
201 seed = hash(seed, key.patternSyntax);-
202 seed = hash(seed, key.cs);-
203 return
executed 630297 times by 167 tests: return seed;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
seed;
executed 630297 times by 167 tests: return seed;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
630297
204}-
205-
206class QRegExpEngine;-
207-
208-
209-
210-
211-
212-
213struct QRegExpMatchState-
214{-
215 const QChar *in;-
216 int pos;-
217 int caretPos;-
218 int len;-
219 bool minimal;-
220 int *bigArray;-
221 int *inNextStack;-
222 int *curStack;-
223 int *nextStack;-
224 int *curCapBegin;-
225 int *nextCapBegin;-
226 int *curCapEnd;-
227 int *nextCapEnd;-
228 int *tempCapBegin;-
229 int *tempCapEnd;-
230 int *capBegin;-
231 int *capEnd;-
232 int *slideTab;-
233 int *captured;-
234 int slideTabSize;-
235 int capturedSize;-
236-
237 QList<QVector<int> > sleeping;-
238-
239 int matchLen;-
240 int oneTestMatchedLen;-
241-
242 const QRegExpEngine *eng;-
243-
244 inline QRegExpMatchState() : bigArray(0), captured(0) {}
executed 1424895 times by 162 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
1424895
245 inline ~QRegExpMatchState() { free(bigArray); }
executed 1424892 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
1424892
246-
247 void drain() { free(bigArray); bigArray = 0; captured = 0; }
executed 624921 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
624921
248 void prepareForMatch(QRegExpEngine *eng);-
249 void match(const QChar *str, int len, int pos, bool minimal,-
250 bool oneTest, int caretIndex);-
251 bool matchHere();-
252 bool testAnchor(int i, int a, const int *capBegin);-
253};-
254-
255-
256-
257-
258-
259-
260-
261struct QRegExpAutomatonState-
262{-
263-
264 int atom;-
265-
266 int match;-
267 QVector<int> outs;-
268 QMap<int, int> reenter;-
269 QMap<int, int> anchors;-
270-
271 inline QRegExpAutomatonState() { }-
272-
273 inline QRegExpAutomatonState(int a, int m)-
274 : atom(a), match(m) { }
executed 29320 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
29320
275-
276-
277-
278-
279};-
280-
281template<> class QTypeInfo<QRegExpAutomatonState > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QRegExpAutomatonState)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QRegExpAutomatonState >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QRegExpAutomatonState) }; static inline const char *name() { return "QRegExpAutomatonState"; } };-
282-
283-
284-
285-
286-
287struct QRegExpCharClassRange-
288{-
289 ushort from;-
290 ushort len;-
291};-
292-
293template<> class QTypeInfo<QRegExpCharClassRange > { public: enum { isComplex = (((Q_PRIMITIVE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_PRIMITIVE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_PRIMITIVE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QRegExpCharClassRange)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QRegExpCharClassRange >::value, isDummy = (((Q_PRIMITIVE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QRegExpCharClassRange) }; static inline const char *name() { return "QRegExpCharClassRange"; } };-
294-
295-
296-
297-
298-
299-
300struct QRegExpAtom-
301{-
302 enum { NoCapture = -1, OfficialCapture = -2, UnofficialCapture = -3 };-
303-
304 int parent;-
305 int capture;-
306};-
307-
308template<> class QTypeInfo<QRegExpAtom > { public: enum { isComplex = (((Q_PRIMITIVE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_PRIMITIVE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_PRIMITIVE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QRegExpAtom)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QRegExpAtom >::value, isDummy = (((Q_PRIMITIVE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QRegExpAtom) }; static inline const char *name() { return "QRegExpAtom"; } };-
309-
310-
311struct QRegExpLookahead;-
312-
313-
314-
315-
316-
317-
318struct QRegExpAnchorAlternation-
319{-
320 int a;-
321 int b;-
322};-
323-
324template<> class QTypeInfo<QRegExpAnchorAlternation > { public: enum { isComplex = (((Q_PRIMITIVE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_PRIMITIVE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_PRIMITIVE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QRegExpAnchorAlternation)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QRegExpAnchorAlternation >::value, isDummy = (((Q_PRIMITIVE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QRegExpAnchorAlternation) }; static inline const char *name() { return "QRegExpAnchorAlternation"; } };-
325class QRegExpCharClass-
326{-
327public:-
328 QRegExpCharClass();-
329-
330 void clear();-
331 bool negative() const { return
executed 1533679 times by 31 tests: return n;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlSimpleReader
  • ...
n;
executed 1533679 times by 31 tests: return n;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlSimpleReader
  • ...
}
1533679
332 void setNegative(bool negative);-
333 void addCategories(uint cats);-
334 void addRange(ushort from, ushort to);-
335 void addSingleton(ushort ch) { addRange(ch, ch); }
executed 6188 times by 47 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • ...
6188
336-
337 bool in(QChar ch) const;-
338-
339 const QVector<int> &firstOccurrence() const { return
executed 6409 times by 116 tests: return occ1;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
occ1;
executed 6409 times by 116 tests: return occ1;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
}
6409
340-
341-
342-
343 void dump() const;-
344-
345-
346private:-
347 QVector<QRegExpCharClassRange> r;-
348-
349 QVector<int> occ1;-
350-
351 uint c;-
352 bool n;-
353};-
354template<> class QTypeInfo<QRegExpCharClass > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QRegExpCharClass)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QRegExpCharClass >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QRegExpCharClass) }; static inline const char *name() { return "QRegExpCharClass"; } };-
355-
356-
357-
358-
359-
360class QRegExpEngine-
361{-
362public:-
363 QRegExpEngine(Qt::CaseSensitivity cs, bool greedyQuantifiers)-
364 : cs(cs), greedyQuantifiers(greedyQuantifiers) { setup(); }
executed 126 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
126
365-
366 QRegExpEngine(const QRegExpEngineKey &key);-
367 ~QRegExpEngine();-
368-
369 bool isValid() const { return
executed 2263 times by 7 tests: return valid;
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_languageChange
  • tst_qstandardpaths
  • tst_uic
valid;
executed 2263 times by 7 tests: return valid;
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_languageChange
  • tst_qstandardpaths
  • tst_uic
}
2263
370 const QString &errorString() const { return
never executed: return yyError;
yyError;
never executed: return yyError;
}
0
371 int captureCount() const { return
executed 2510822 times by 162 tests: return officialncap;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
officialncap;
executed 2510822 times by 162 tests: return officialncap;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
}
2510822
372-
373 int createState(QChar ch);-
374 int createState(const QRegExpCharClass &cc);-
375-
376 int createState(int bref);-
377-
378-
379 void addCatTransitions(const QVector<int> &from, const QVector<int> &to);-
380-
381 void addPlusTransitions(const QVector<int> &from, const QVector<int> &to, int atom);-
382-
383-
384-
385 int anchorAlternation(int a, int b);-
386 int anchorConcatenation(int a, int b);-
387-
388-
389-
390-
391 void addAnchors(int from, int to, int a);-
392-
393-
394 void heuristicallyChooseHeuristic();-
395-
396-
397-
398 void dump() const;-
399-
400-
401 QAtomicInt ref;-
402-
403private:-
404 enum { CharClassBit = 0x10000, BackRefBit = 0x20000 };-
405 enum { InitialState = 0, FinalState = 1 };-
406-
407 void setup();-
408 int setupState(int match);-
409-
410-
411-
412-
413-
414 enum { MaxLookaheads = 13, MaxBackRefs = 14 };-
415 enum { Anchor_Dollar = 0x00000001, Anchor_Caret = 0x00000002, Anchor_Word = 0x00000004,-
416 Anchor_NonWord = 0x00000008, Anchor_FirstLookahead = 0x00000010,-
417 Anchor_BackRef1Empty = Anchor_FirstLookahead << MaxLookaheads,-
418 Anchor_BackRef0Empty = Anchor_BackRef1Empty >> 1,-
419 Anchor_Alternation = unsigned(Anchor_BackRef1Empty) << MaxBackRefs,-
420-
421 Anchor_LookaheadMask = (Anchor_FirstLookahead - 1) ^-
422 ((Anchor_FirstLookahead << MaxLookaheads) - 1) };-
423-
424 int startAtom(bool officialCapture);-
425 void finishAtom(int atom, bool needCapture);-
426-
427-
428-
429 int addLookahead(QRegExpEngine *eng, bool negative);-
430-
431-
432-
433 bool goodStringMatch(QRegExpMatchState &matchState) const;-
434 bool badCharMatch(QRegExpMatchState &matchState) const;-
435-
436-
437-
438-
439 QVector<QRegExpAutomatonState> s;-
440-
441 QVector<QRegExpAtom> f;-
442 int nf;-
443 int cf;-
444 QVector<int> captureForOfficialCapture;-
445-
446 int officialncap;-
447 int ncap;-
448-
449 QVector<QRegExpCharClass> cl;-
450-
451-
452 QVector<QRegExpLookahead *> ahead;-
453-
454-
455 QVector<QRegExpAnchorAlternation> aa;-
456-
457-
458 bool caretAnchored;-
459 bool trivial;-
460-
461 bool valid;-
462 Qt::CaseSensitivity cs;-
463 bool greedyQuantifiers;-
464 bool xmlSchemaExtensions;-
465-
466 int nbrefs;-
467-
468-
469-
470 bool useGoodStringHeuristic;-
471-
472 int goodEarlyStart;-
473 int goodLateStart;-
474 QString goodStr;-
475-
476 int minl;-
477 QVector<int> occ1;-
478 class Box-
479 {-
480 public:-
481 Box(QRegExpEngine *engine);-
482 Box(const Box &b) { operator=(b); }
never executed: end of block
0
483-
484 Box &operator=(const Box &b);-
485-
486 void clear() { operator=(Box(eng)); }
executed 22 times by 2 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QRegExp
22
487 void set(QChar ch);-
488 void set(const QRegExpCharClass &cc);-
489-
490 void set(int bref);-
491-
492-
493 void cat(const Box &b);-
494 void orx(const Box &b);-
495 void plus(int atom);-
496 void opt();-
497 void catAnchor(int a);-
498-
499 void setupHeuristics();-
500-
501-
502-
503 void dump() const;-
504-
505-
506 private:-
507 void addAnchorsToEngine(const Box &to) const;-
508-
509 QRegExpEngine *eng;-
510 QVector<int> ls;-
511 QVector<int> rs;-
512 QMap<int, int> lanchors;-
513 QMap<int, int> ranchors;-
514 int skipanchors;-
515-
516-
517 int earlyStart;-
518 int lateStart;-
519 QString str;-
520 QString leftStr;-
521 QString rightStr;-
522 int maxl;-
523-
524-
525 int minl;-
526-
527 QVector<int> occ1;-
528-
529 };-
530-
531 friend class Box;-
532-
533-
534-
535-
536 enum { Tok_Eos, Tok_Dollar, Tok_LeftParen, Tok_MagicLeftParen, Tok_PosLookahead,-
537 Tok_NegLookahead, Tok_RightParen, Tok_CharClass, Tok_Caret, Tok_Quantifier, Tok_Bar,-
538 Tok_Word, Tok_NonWord, Tok_Char = 0x10000, Tok_BackRef = 0x20000 };-
539 int getChar();-
540 int getEscape();-
541-
542 int getRep(int def);-
543-
544-
545 void skipChars(int n);-
546-
547 void error(const char *msg);-
548 void startTokenizer(const QChar *rx, int len);-
549 int getToken();-
550-
551 const QChar *yyIn;-
552 int yyPos0;-
553 int yyPos;-
554 int yyLen;-
555 int yyCh;-
556 QScopedPointer<QRegExpCharClass> yyCharClass;-
557 int yyMinRep;-
558 int yyMaxRep;-
559 QString yyError;-
560-
561-
562-
563-
564 int parse(const QChar *rx, int len);-
565 void parseAtom(Box *box);-
566 void parseFactor(Box *box);-
567 void parseTerm(Box *box);-
568 void parseExpression(Box *box);-
569-
570 int yyTok;-
571 bool yyMayCapture;-
572-
573 friend struct QRegExpMatchState;-
574};-
575-
576-
577-
578-
579-
580-
581struct QRegExpLookahead-
582{-
583 QRegExpEngine *eng;-
584 bool neg;-
585-
586 inline QRegExpLookahead(QRegExpEngine *eng0, bool neg0)-
587 : eng(eng0), neg(neg0) { }
executed 126 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
126
588 inline ~QRegExpLookahead() { delete eng; }
executed 126 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_qtextdocument - unknown status
126
589};-
590__attribute__((visibility("default"))) QString qt_regexp_toCanonical(const QString &pattern, QRegExp::PatternSyntax patternSyntax)-
591{-
592 switch (patternSyntax) {-
593-
594 case
executed 214 times by 61 tests: case QRegExp::Wildcard:
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
QRegExp::Wildcard:
executed 214 times by 61 tests: case QRegExp::Wildcard:
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
214
595 return
executed 214 times by 61 tests: return wc2rx(pattern, false);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
wc2rx(pattern, false);
executed 214 times by 61 tests: return wc2rx(pattern, false);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • ...
214
596 case
executed 76 times by 23 tests: case QRegExp::WildcardUnix:
Executed by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • tst_QStyle
  • tst_QSystemTrayIcon
  • tst_QToolButton
  • tst_languageChange
QRegExp::WildcardUnix:
executed 76 times by 23 tests: case QRegExp::WildcardUnix:
Executed by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • tst_QStyle
  • tst_QSystemTrayIcon
  • tst_QToolButton
  • tst_languageChange
76
597 return
executed 76 times by 23 tests: return wc2rx(pattern, true);
Executed by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • tst_QStyle
  • tst_QSystemTrayIcon
  • tst_QToolButton
  • tst_languageChange
wc2rx(pattern, true);
executed 76 times by 23 tests: return wc2rx(pattern, true);
Executed by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QPrinter
  • tst_QRegExp
  • tst_QSidebar
  • tst_QStyle
  • tst_QSystemTrayIcon
  • tst_QToolButton
  • tst_languageChange
76
598-
599 case
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
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
600 return
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
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
601 case
executed 52 times by 1 test: case QRegExp::W3CXmlSchema11:
Executed by:
  • tst_QRegExp
QRegExp::W3CXmlSchema11:
executed 52 times by 1 test: case QRegExp::W3CXmlSchema11:
Executed by:
  • tst_QRegExp
52
602 default
executed 1113 times by 61 tests: default:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMetaType
  • ...
:
executed 1113 times by 61 tests: default:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMetaType
  • ...
1113
603 return
executed 1165 times by 61 tests: return pattern;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMetaType
  • ...
pattern;
executed 1165 times by 61 tests: return pattern;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMetaType
  • ...
1165
604 }-
605}-
606-
607QRegExpEngine::QRegExpEngine(const QRegExpEngineKey &key)-
608 : cs(key.cs), greedyQuantifiers(key.patternSyntax == QRegExp::RegExp2),-
609 xmlSchemaExtensions(key.patternSyntax == QRegExp::W3CXmlSchema11)-
610{-
611 setup();-
612-
613 QString rx = qt_regexp_toCanonical(key.pattern, key.patternSyntax);-
614-
615 valid = (parse(rx.unicode(), rx.length()) == rx.length());-
616 if (!valid
!validDescription
TRUEevaluated 52 times by 4 tests
Evaluated by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
FALSEevaluated 1500 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
52-1500
617-
618 trivial = false;-
619-
620 error("missing left delim");-
621 }
executed 52 times by 4 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
52
622}
executed 1552 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1552
623-
624QRegExpEngine::~QRegExpEngine()-
625{-
626-
627 qDeleteAll(ahead);-
628-
629}
executed 1885 times by 299 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QMetaType
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QStateMachine
  • tst_QString
  • tst_QTextDocument
  • tst_QVariant
  • tst_collections - unknown status
  • tst_gestures - unknown status
  • tst_lancelot - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractfileengine - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractprintdialog - unknown status
  • tst_qabstractproxymodel - unknown status
  • ...
1885
630-
631void QRegExpMatchState::prepareForMatch(QRegExpEngine *eng)-
632{-
633-
634-
635-
636-
637 int ns = eng->s.size();-
638 int ncap = eng->ncap;-
639-
640 int newSlideTabSize = qMax(eng->minl + 1, 16);-
641-
642-
643-
644 int numCaptures = eng->captureCount();-
645 int newCapturedSize = 2 + 2 * numCaptures;-
646 bigArray = q_check_ptr((int *)realloc(bigArray, ((3 + 4 * ncap) * ns + 4 * ncap + newSlideTabSize + newCapturedSize)*sizeof(int)));-
647-
648-
649-
650-
651 slideTabSize = newSlideTabSize;-
652 capturedSize = newCapturedSize;-
653 inNextStack = bigArray;-
654 memset(inNextStack, -1, ns * sizeof(int));-
655 curStack = inNextStack + ns;-
656 nextStack = inNextStack + 2 * ns;-
657-
658 curCapBegin = inNextStack + 3 * ns;-
659 nextCapBegin = curCapBegin + ncap * ns;-
660 curCapEnd = curCapBegin + 2 * ncap * ns;-
661 nextCapEnd = curCapBegin + 3 * ncap * ns;-
662-
663 tempCapBegin = curCapBegin + 4 * ncap * ns;-
664 tempCapEnd = tempCapBegin + ncap;-
665 capBegin = tempCapBegin + 2 * ncap;-
666 capEnd = tempCapBegin + 3 * ncap;-
667-
668 slideTab = tempCapBegin + 4 * ncap;-
669 captured = slideTab + slideTabSize;-
670 memset(captured, -1, capturedSize*sizeof(int));-
671 this->eng = eng;-
672}
executed 2420084 times by 162 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
2420084
673-
674-
675-
676-
677-
678void QRegExpMatchState::match(const QChar *str0, int len0, int pos0,-
679 bool minimal0, bool oneTest, int caretIndex)-
680{-
681 bool matched = false;-
682 QChar char_null;-
683-
684-
685 if (eng->trivial
eng->trivialDescription
TRUEevaluated 121311 times by 14 tests
Evaluated 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
FALSEevaluated 1704783 times by 85 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
&& !oneTest
!oneTestDescription
TRUEevaluated 120085 times by 11 tests
Evaluated by:
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QObject
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QStateMachine
  • tst_QString
  • tst_QTextDocument
  • tst_QXmlSimpleReader
  • tst_qmakelib
  • tst_qstandardpaths
FALSEevaluated 1226 times by 6 tests
Evaluated by:
  • tst_QFileSystemModel
  • tst_QLibrary
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
) {
1226-1704783
686 pos = qFindString(str0, len0, pos0, eng->goodStr.unicode(), eng->goodStr.length(), eng->cs);-
687 matchLen = eng->goodStr.length();-
688 matched = (pos != -1);-
689 }
executed 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
else
120085
690-
691 {-
692 in = str0;-
693 if (in == 0
in == 0Description
TRUEnever evaluated
FALSEevaluated 1706009 times by 85 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
)
0-1706009
694 in = &char_null;
never executed: in = &char_null;
0
695 pos = pos0;-
696 caretPos = caretIndex;-
697 len = len0;-
698 minimal = minimal0;-
699 matchLen = 0;-
700 oneTestMatchedLen = 0;-
701-
702 if (eng->valid
eng->validDescription
TRUEevaluated 1679055 times by 85 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 26954 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
&& pos >= 0
pos >= 0Description
TRUEevaluated 1679055 times by 85 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEnever evaluated
&& pos <= len
pos <= lenDescription
TRUEevaluated 1679048 times by 85 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 7 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
) {
0-1679055
703-
704 if (oneTest
oneTestDescription
TRUEevaluated 1434184 times by 57 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QLibrary
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
FALSEevaluated 244864 times by 45 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • ...
) {
244864-1434184
705 matched = matchHere();-
706 }
executed 1434184 times by 57 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QLibrary
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
else {
1434184
707 if (pos <= len - eng->minl
pos <= len - eng->minlDescription
TRUEevaluated 241713 times by 45 tests
Evaluated 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
  • ...
FALSEevaluated 3151 times by 22 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
  • tst_selftests - unknown status
) {
3151-241713
708 if (eng->caretAnchored
eng->caretAnchoredDescription
TRUEevaluated 2595 times by 26 tests
Evaluated 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
  • ...
FALSEevaluated 239118 times by 35 tests
Evaluated by:
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • ...
) {
2595-239118
709 matched = matchHere();-
710 }
executed 2595 times by 26 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • ...
else if (eng->useGoodStringHeuristic
eng->useGoodStringHeuristicDescription
TRUEevaluated 201074 times by 16 tests
Evaluated 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
FALSEevaluated 38044 times by 28 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • ...
) {
2595-201074
711 matched = eng->goodStringMatch(*this);-
712 }
executed 201074 times by 16 tests: end of block
Executed by:
  • tst_QDBusInterface
  • tst_QFontComboBox
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_qmakelib
  • tst_selftests - unknown status
  • tst_uic
else {
201074
713 matched = eng->badCharMatch(*this);-
714 }
executed 38044 times by 28 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • ...
38044
715 }-
716 }
executed 244864 times by 45 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • ...
244864
717-
718-
719-
720 }-
721 }
executed 1706009 times by 85 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
1706009
722-
723 if (matched
matchedDescription
TRUEevaluated 461049 times by 67 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
FALSEevaluated 1365045 times by 78 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
) {
461049-1365045
724 int *c = captured;-
725 *c++ = pos;-
726 *c++ = matchLen;-
727-
728 int numCaptures = (capturedSize - 2) >> 1;-
729-
730 for (int i = 0; i < numCaptures
i < numCapturesDescription
TRUEevaluated 220587 times by 23 tests
Evaluated 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
FALSEevaluated 461049 times by 67 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
; ++i) {
220587-461049
731 int j = eng->captureForOfficialCapture.at(i);-
732 if (capBegin[j] != EmptyCapture
capBegin[j] != EmptyCaptureDescription
TRUEevaluated 211908 times by 22 tests
Evaluated 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
FALSEevaluated 8679 times by 11 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
  • tst_QTime
  • tst_qmakelib
) {
8679-211908
733 int len = capEnd[j] - capBegin[j];-
734 *c++ = (
(len > 0)Description
TRUEevaluated 211908 times by 22 tests
Evaluated 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
FALSEnever evaluated
len > 0)
(len > 0)Description
TRUEevaluated 211908 times by 22 tests
Evaluated 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
FALSEnever evaluated
? pos + capBegin[j] : 0;
0-211908
735 *c++ = len;-
736 }
executed 211908 times by 22 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
else {
211908
737 *c++ = -1;-
738 *c++ = -1;-
739 }
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
740 }-
741-
742 }
executed 461049 times by 67 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
else {
461049
743-
744 memset(captured, -1, capturedSize * sizeof(int));-
745 }
executed 1365045 times by 78 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
1365045
746}-
747-
748-
749-
750-
751-
752-
753int QRegExpEngine::createState(QChar ch)-
754{-
755 return
executed 22721 times by 82 tests: return setupState(ch.unicode());
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
setupState(ch.unicode());
executed 22721 times by 82 tests: return setupState(ch.unicode());
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
22721
756}-
757-
758int QRegExpEngine::createState(const QRegExpCharClass &cc)-
759{-
760-
761 int n = cl.size();-
762 cl += QRegExpCharClass(cc);-
763 return
executed 6409 times by 116 tests: return setupState(CharClassBit | n);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
setupState(CharClassBit | n);
executed 6409 times by 116 tests: return setupState(CharClassBit | n);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
6409
764-
765-
766-
767-
768}-
769-
770-
771int QRegExpEngine::createState(int bref)-
772{-
773 if (bref > nbrefs
bref > nbrefsDescription
TRUEevaluated 72 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
72-118
774 nbrefs = bref;-
775 if (nbrefs > MaxBackRefs
nbrefs > MaxBackRefsDescription
TRUEnever evaluated
FALSEevaluated 72 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-72
776 error("met internal limit");-
777 return
never executed: return 0;
0;
never executed: return 0;
0
778 }-
779 }
executed 72 times by 1 test: end of block
Executed by:
  • tst_QRegExp
72
780 return
executed 190 times by 1 test: return setupState(BackRefBit | bref);
Executed by:
  • tst_QRegExp
setupState(BackRefBit | bref);
executed 190 times by 1 test: return setupState(BackRefBit | bref);
Executed by:
  • tst_QRegExp
190
781}-
782void QRegExpEngine::addCatTransitions(const QVector<int> &from, const QVector<int> &to)-
783{-
784 for (int i = 0; i < from.size()
i < from.size()Description
TRUEevaluated 32083 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 30263 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; i++)
30263-32083
785 mergeInto(&s[from.at(i)].outs, to);
executed 32083 times by 116 tests: mergeInto(&s[from.at(i)].outs, to);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
32083
786}
executed 30263 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
30263
787-
788-
789void QRegExpEngine::addPlusTransitions(const QVector<int> &from, const QVector<int> &to, int atom)-
790{-
791 for (int i = 0; i < from.size()
i < from.size()Description
TRUEevaluated 3046 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
FALSEevaluated 2194 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
; i++) {
2194-3046
792 QRegExpAutomatonState &st = s[from.at(i)];-
793 const QVector<int> oldOuts = st.outs;-
794 mergeInto(&st.outs, to);-
795 if (f.at(atom).capture != QRegExpAtom::NoCapture
f.at(atom).cap...tom::NoCaptureDescription
TRUEevaluated 626 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2420 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
) {
626-2420
796 for (int j = 0; j < to.size()
j < to.size()Description
TRUEevaluated 1032 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 626 times by 1 test
Evaluated by:
  • tst_QRegExp
; j++) {
626-1032
797-
798 if (!st.reenter.contains(to.at(j))
!st.reenter.contains(to.at(j))Description
TRUEevaluated 1024 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_QRegExp
&&
8-1024
799 !std::binary_search(oldOuts.constBegin(), oldOuts.constEnd(), to.at(j))
!std::binary_s...d(), to.at(j))Description
TRUEevaluated 934 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 90 times by 1 test
Evaluated by:
  • tst_QRegExp
)
90-934
800 st.reenter.insert(to.at(j), atom);
executed 934 times by 1 test: st.reenter.insert(to.at(j), atom);
Executed by:
  • tst_QRegExp
934
801 }
executed 1032 times by 1 test: end of block
Executed by:
  • tst_QRegExp
1032
802 }
executed 626 times by 1 test: end of block
Executed by:
  • tst_QRegExp
626
803 }
executed 3046 times by 97 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
3046
804}
executed 2194 times by 97 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
2194
805-
806-
807-
808-
809-
810-
811int QRegExpEngine::anchorAlternation(int a, int b)-
812{-
813 if (((
(a & b) == aDescription
TRUEevaluated 290 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 422 times by 1 test
Evaluated by:
  • tst_QRegExp
a & b) == a
(a & b) == aDescription
TRUEevaluated 290 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 422 times by 1 test
Evaluated by:
  • tst_QRegExp
|| (
(a & b) == bDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 410 times by 1 test
Evaluated by:
  • tst_QRegExp
a & b) == b
(a & b) == bDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 410 times by 1 test
Evaluated by:
  • tst_QRegExp
) && ((
((a | b) & Anc...ernation) == 0Description
TRUEevaluated 270 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 32 times by 1 test
Evaluated by:
  • tst_QRegExp
a | b) & Anchor_Alternation) == 0
((a | b) & Anc...ernation) == 0Description
TRUEevaluated 270 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 32 times by 1 test
Evaluated by:
  • tst_QRegExp
)
12-422
814 return
executed 270 times by 1 test: return a & b;
Executed by:
  • tst_QRegExp
a & b;
executed 270 times by 1 test: return a & b;
Executed by:
  • tst_QRegExp
270
815-
816 int n = aa.size();-
817-
818 if (n > 0
n > 0Description
TRUEevaluated 420 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 22 times by 1 test
Evaluated by:
  • tst_QRegExp
&& aa.at(n - 1).a == a
aa.at(n - 1).a == aDescription
TRUEevaluated 84 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 336 times by 1 test
Evaluated by:
  • tst_QRegExp
&& aa.at(n - 1).b == b
aa.at(n - 1).b == bDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tst_QRegExp
)
22-420
819 return
executed 40 times by 1 test: return Anchor_Alternation | (n - 1);
Executed by:
  • tst_QRegExp
Anchor_Alternation | (n - 1);
executed 40 times by 1 test: return Anchor_Alternation | (n - 1);
Executed by:
  • tst_QRegExp
40
820-
821-
822 QRegExpAnchorAlternation element = {a, b};-
823 aa.append(element);-
824 return
executed 402 times by 1 test: return Anchor_Alternation | n;
Executed by:
  • tst_QRegExp
Anchor_Alternation | n;
executed 402 times by 1 test: return Anchor_Alternation | n;
Executed by:
  • tst_QRegExp
402
825}-
826-
827-
828-
829-
830int QRegExpEngine::anchorConcatenation(int a, int b)-
831{-
832 if (((
((a | b) & Anc...ernation) == 0Description
TRUEevaluated 41363 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 500 times by 1 test
Evaluated by:
  • tst_QRegExp
a | b) & Anchor_Alternation) == 0
((a | b) & Anc...ernation) == 0Description
TRUEevaluated 41363 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 500 times by 1 test
Evaluated by:
  • tst_QRegExp
)
500-41363
833 return
executed 41363 times by 116 tests: return a | b;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
a | b;
executed 41363 times by 116 tests: return a | b;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
41363
834 if ((
(b & Anchor_Alternation) != 0Description
TRUEevaluated 170 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 330 times by 1 test
Evaluated by:
  • tst_QRegExp
b & Anchor_Alternation) != 0
(b & Anchor_Alternation) != 0Description
TRUEevaluated 170 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 330 times by 1 test
Evaluated by:
  • tst_QRegExp
)
170-330
835 qSwap(a, b);
executed 170 times by 1 test: qSwap(a, b);
Executed by:
  • tst_QRegExp
170
836-
837 int aprime = anchorConcatenation(aa.at(a ^ Anchor_Alternation).a, b);-
838 int bprime = anchorConcatenation(aa.at(a ^ Anchor_Alternation).b, b);-
839 return
executed 500 times by 1 test: return anchorAlternation(aprime, bprime);
Executed by:
  • tst_QRegExp
anchorAlternation(aprime, bprime);
executed 500 times by 1 test: return anchorAlternation(aprime, bprime);
Executed by:
  • tst_QRegExp
500
840}-
841-
842-
843-
844-
845-
846-
847void QRegExpEngine::addAnchors(int from, int to, int a)-
848{-
849 QRegExpAutomatonState &st = s[from];-
850 if (st.anchors.contains(to)
st.anchors.contains(to)Description
TRUEevaluated 172 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 36566 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
)
172-36566
851 a = anchorAlternation(st.anchors.value(to), a);
executed 172 times by 1 test: a = anchorAlternation(st.anchors.value(to), a);
Executed by:
  • tst_QRegExp
172
852 st.anchors.insert(to, a);-
853}
executed 36738 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
36738
854void QRegExpEngine::heuristicallyChooseHeuristic()-
855{-
856 if (minl == 0
minl == 0Description
TRUEevaluated 421 times by 61 tests
Evaluated 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
  • ...
FALSEevaluated 1257 times by 88 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
) {
421-1257
857 useGoodStringHeuristic = false;-
858 }
executed 421 times by 61 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHeaderView
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QMetaType
  • ...
else if (trivial
trivialDescription
TRUEevaluated 482 times by 17 tests
Evaluated 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
FALSEevaluated 775 times by 86 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
) {
421-775
859 useGoodStringHeuristic = true;-
860 }
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
else {
482
861-
862-
863-
864-
865-
866 int goodStringScore = (64 * goodStr.length() / minl) --
867 (goodLateStart - goodEarlyStart);-
868-
869-
870-
871-
872 int badCharScore = 0;-
873 int step = qMax(1, NumBadChars / 32);-
874 for (int i = 1; i < NumBadChars
i < NumBadCharsDescription
TRUEevaluated 24800 times by 86 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
FALSEevaluated 775 times by 86 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
; i += step) {
775-24800
875 if (occ1.at(i) == NoOccurrence
occ1.at(i) == NoOccurrenceDescription
TRUEevaluated 9241 times by 38 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • ...
FALSEevaluated 15559 times by 86 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
)
9241-15559
876 badCharScore += minl;
executed 9241 times by 38 tests: badCharScore += minl;
Executed by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • ...
9241
877 else-
878 badCharScore += occ1.at(i);
executed 15559 times by 86 tests: badCharScore += occ1.at(i);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
15559
879 }-
880 badCharScore /= minl;-
881 useGoodStringHeuristic = (goodStringScore > badCharScore);-
882 }
executed 775 times by 86 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
775
883}-
884-
885-
886-
887void QRegExpEngine::dump() const-
888{-
889 int i, j;-
890 QMessageLogger(__FILE__, 1656, __PRETTY_FUNCTION__).debug("Case %ssensitive engine", cs ? "" : "in");-
891 QMessageLogger(__FILE__, 1657, __PRETTY_FUNCTION__).debug(" States");-
892 for (i = 0; i < s.size()
i < s.size()Description
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
893 QMessageLogger(__FILE__, 1659, __PRETTY_FUNCTION__).debug(" %d%s", i, i == InitialState ? " (initial)" : i == FinalState ? " (final)" : "");-
894-
895 if (nf > 0
nf > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
896 QMessageLogger(__FILE__, 1662, __PRETTY_FUNCTION__).debug(" in atom %d", s[i].atom);
never executed: QMessageLogger(__FILE__, 1662, __PRETTY_FUNCTION__).debug(" in atom %d", s[i].atom);
0
897-
898 int m = s[i].match;-
899 if ((
(m & CharClassBit) != 0Description
TRUEnever evaluated
FALSEnever evaluated
m & CharClassBit) != 0
(m & CharClassBit) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
900 QMessageLogger(__FILE__, 1666, __PRETTY_FUNCTION__).debug(" match character class %d", m ^ CharClassBit);-
901-
902 cl[m ^ CharClassBit].dump();-
903-
904-
905-
906 }
never executed: end of block
else if ((
(m & BackRefBit) != 0Description
TRUEnever evaluated
FALSEnever evaluated
m & BackRefBit) != 0
(m & BackRefBit) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
907 QMessageLogger(__FILE__, 1673, __PRETTY_FUNCTION__).debug(" match back-reference %d", m ^ BackRefBit);-
908 }
never executed: end of block
else if (m >= 0x20
m >= 0x20Description
TRUEnever evaluated
FALSEnever evaluated
&& m <= 0x7e
m <= 0x7eDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
909 QMessageLogger(__FILE__, 1675, __PRETTY_FUNCTION__).debug(" match 0x%.4x (%c)", m, m);-
910 }
never executed: end of block
else {
0
911 QMessageLogger(__FILE__, 1677, __PRETTY_FUNCTION__).debug(" match 0x%.4x", m);-
912 }
never executed: end of block
0
913 for (j = 0; j < s[i].outs.size()
j < s[i].outs.size()Description
TRUEnever evaluated
FALSEnever evaluated
; j++) {
0
914 int next = s[i].outs[j];-
915 QMessageLogger(__FILE__, 1681, __PRETTY_FUNCTION__).debug(" -> %d", next);-
916 if (s[i].reenter.contains(next)
s[i].reenter.contains(next)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
917 QMessageLogger(__FILE__, 1683, __PRETTY_FUNCTION__).debug(" [reenter %d]", s[i].reenter[next]);
never executed: QMessageLogger(__FILE__, 1683, __PRETTY_FUNCTION__).debug(" [reenter %d]", s[i].reenter[next]);
0
918 if (s[i].anchors.value(next) != 0
s[i].anchors.value(next) != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
919 QMessageLogger(__FILE__, 1685, __PRETTY_FUNCTION__).debug(" [anchors 0x%.8x]", s[i].anchors[next]);
never executed: QMessageLogger(__FILE__, 1685, __PRETTY_FUNCTION__).debug(" [anchors 0x%.8x]", s[i].anchors[next]);
0
920 }
never executed: end of block
0
921 }
never executed: end of block
0
922-
923 if (nf > 0
nf > 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
924 QMessageLogger(__FILE__, 1690, __PRETTY_FUNCTION__).debug(" Atom Parent Capture");-
925 for (i = 0; i < nf
i < nfDescription
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
926 if (f[i].capture == QRegExpAtom::NoCapture
f[i].capture =...tom::NoCaptureDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
927 QMessageLogger(__FILE__, 1693, __PRETTY_FUNCTION__).debug(" %6d %6d nil", i, f[i].parent);-
928 }
never executed: end of block
else {
0
929 int cap = f[i].capture;-
930 bool official = captureForOfficialCapture.contains(cap);-
931 QMessageLogger(__FILE__, 1697, __PRETTY_FUNCTION__).debug(" %6d %6d %6d %s", i, f[i].parent, f[i].capture,-
932 official ? "official" : "");-
933 }
never executed: end of block
0
934 }-
935 }
never executed: end of block
0
936-
937-
938 for (i = 0; i < aa.size()
i < aa.size()Description
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
939 QMessageLogger(__FILE__, 1705, __PRETTY_FUNCTION__).debug(" Anchor alternation 0x%.8x: 0x%.8x 0x%.9x", i, aa[i].a, aa[i].b);
never executed: QMessageLogger(__FILE__, 1705, __PRETTY_FUNCTION__).debug(" Anchor alternation 0x%.8x: 0x%.8x 0x%.9x", i, aa[i].a, aa[i].b);
0
940-
941}
never executed: end of block
0
942-
943-
944void QRegExpEngine::setup()-
945{-
946 ref.store(1);-
947-
948 f.resize(32);-
949 nf = 0;-
950 cf = -1;-
951-
952 officialncap = 0;-
953 ncap = 0;-
954-
955 caretAnchored = true;-
956 trivial = true;-
957-
958 valid = false;-
959-
960 nbrefs = 0;-
961-
962-
963 useGoodStringHeuristic = true;-
964 minl = 0;-
965 occ1.fill(0, NumBadChars);-
966-
967}
executed 1678 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1678
968-
969int QRegExpEngine::setupState(int match)-
970{-
971-
972 s += QRegExpAutomatonState(cf, match);-
973-
974-
975-
976 return
executed 29320 times by 116 tests: return s.size() - 1;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
s.size() - 1;
executed 29320 times by 116 tests: return s.size() - 1;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
29320
977}-
978-
979-
980-
981-
982-
983-
984-
985int QRegExpEngine::startAtom(bool officialCapture)-
986{-
987 if ((
(nf & (nf + 1)) == 0Description
TRUEevaluated 4715 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 26924 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
nf & (nf + 1)) == 0
(nf & (nf + 1)) == 0Description
TRUEevaluated 4715 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 26924 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
&& nf + 1 >= f.size()
nf + 1 >= f.size()Description
TRUEevaluated 245 times by 14 tests
Evaluated 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
FALSEevaluated 4470 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
)
245-26924
988 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
989 f[nf].parent = cf;-
990 cf = nf++;-
991 f[cf].capture = officialCapture
officialCaptureDescription
TRUEevaluated 643 times by 25 tests
Evaluated 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
FALSEevaluated 30996 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
? QRegExpAtom::OfficialCapture : QRegExpAtom::NoCapture;
643-30996
992 return
executed 31639 times by 116 tests: return cf;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
cf;
executed 31639 times by 116 tests: return cf;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
31639
993}-
994-
995void QRegExpEngine::finishAtom(int atom, bool needCapture)-
996{-
997 if (greedyQuantifiers
greedyQuantifiersDescription
TRUEevaluated 5188 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 26451 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
&& needCapture
needCaptureDescription
TRUEevaluated 1136 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 4052 times by 1 test
Evaluated by:
  • tst_QRegExp
&& f[atom].capture == QRegExpAtom::NoCapture
f[atom].captur...tom::NoCaptureDescription
TRUEevaluated 1136 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
)
0-26451
998 f[atom].capture = QRegExpAtom::UnofficialCapture;
executed 1136 times by 1 test: f[atom].capture = QRegExpAtom::UnofficialCapture;
Executed by:
  • tst_QRegExp
1136
999 cf = f.at(atom).parent;-
1000}
executed 31639 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
31639
1001-
1002-
1003-
1004-
1005-
1006-
1007int QRegExpEngine::addLookahead(QRegExpEngine *eng, bool negative)-
1008{-
1009 int n = ahead.size();-
1010 if (n == MaxLookaheads
n == MaxLookaheadsDescription
TRUEnever evaluated
FALSEevaluated 126 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
) {
0-126
1011 error("met internal limit");-
1012 return
never executed: return 0;
0;
never executed: return 0;
0
1013 }-
1014 ahead += new QRegExpLookahead(eng, negative);-
1015 return
executed 126 times by 2 tests: return Anchor_FirstLookahead << n;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
Anchor_FirstLookahead << n;
executed 126 times by 2 tests: return Anchor_FirstLookahead << n;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
126
1016}-
1017-
1018-
1019-
1020-
1021-
1022-
1023static bool isBetterCapture(int ncap, const int *begin1, const int *end1, const int *begin2,-
1024 const int *end2)-
1025{-
1026 for (int i = 0; i < ncap
i < ncapDescription
TRUEevaluated 17888 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
FALSEevaluated 2065 times by 2 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
; i++) {
2065-17888
1027 int delta = begin2[i] - begin1[i];-
1028 if (delta == 0
delta == 0Description
TRUEevaluated 17099 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
FALSEevaluated 789 times by 2 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
)
789-17099
1029 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
1030-
1031 if (delta != 0
delta != 0Description
TRUEevaluated 950 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
FALSEevaluated 16938 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
)
950-16938
1032 return
executed 950 times by 3 tests: return delta > 0;
Executed by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
delta > 0;
executed 950 times by 3 tests: return delta > 0;
Executed by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
950
1033 }
executed 16938 times by 3 tests: end of block
Executed by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
16938
1034 return
executed 2065 times by 2 tests: return false;
Executed by:
  • tst_QFtp
  • tst_QRegExp
false;
executed 2065 times by 2 tests: return false;
Executed by:
  • tst_QFtp
  • tst_QRegExp
2065
1035}-
1036-
1037-
1038-
1039-
1040-
1041-
1042bool QRegExpMatchState::testAnchor(int i, int a, const int *capBegin)-
1043{-
1044 int j;-
1045-
1046-
1047 if ((
(a & QRegExpEn...ernation) != 0Description
TRUEevaluated 336 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1545780 times by 27 tests
Evaluated 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
  • ...
a & QRegExpEngine::Anchor_Alternation) != 0
(a & QRegExpEn...ernation) != 0Description
TRUEevaluated 336 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1545780 times by 27 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
)
336-1545780
1048 return
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);
Executed by:
  • tst_QRegExp
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);
Executed by:
  • tst_QRegExp
336
1049 || 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);
Executed by:
  • tst_QRegExp
336
1050-
1051-
1052 if ((
(a & QRegExpEn...or_Caret) != 0Description
TRUEevaluated 707353 times by 27 tests
Evaluated 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
  • ...
FALSEevaluated 838427 times by 15 tests
Evaluated 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
a & QRegExpEngine::Anchor_Caret) != 0
(a & QRegExpEn...or_Caret) != 0Description
TRUEevaluated 707353 times by 27 tests
Evaluated 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
  • ...
FALSEevaluated 838427 times by 15 tests
Evaluated by:
  • tst_Collections
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
707353-838427
1053 if (pos + i != caretPos
pos + i != caretPosDescription
TRUEevaluated 90706 times by 4 tests
Evaluated by:
  • tst_Lancelot
  • tst_QRegExp
  • tst_QString
  • tst_QStringList
FALSEevaluated 616647 times by 27 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
)
90706-616647
1054 return
executed 90706 times by 4 tests: return false;
Executed by:
  • tst_Lancelot
  • tst_QRegExp
  • tst_QString
  • tst_QStringList
false;
executed 90706 times by 4 tests: return false;
Executed by:
  • tst_Lancelot
  • tst_QRegExp
  • tst_QString
  • tst_QStringList
90706
1055 }
executed 616647 times by 27 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
616647
1056 if ((
(a & QRegExpEn...r_Dollar) != 0Description
TRUEevaluated 24202 times by 15 tests
Evaluated 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
FALSEevaluated 1430872 times by 26 tests
Evaluated 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
  • ...
a & QRegExpEngine::Anchor_Dollar) != 0
(a & QRegExpEn...r_Dollar) != 0Description
TRUEevaluated 24202 times by 15 tests
Evaluated 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
FALSEevaluated 1430872 times by 26 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • ...
) {
24202-1430872
1057 if (pos + i != len
pos + i != lenDescription
TRUEevaluated 16175 times by 11 tests
Evaluated by:
  • tst_Collections
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QItemModel
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_qmakelib
  • tst_qstandardpaths
FALSEevaluated 8027 times by 15 tests
Evaluated by:
  • tst_Collections
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
)
8027-16175
1058 return
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
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
1059 }
executed 8027 times by 15 tests: end of block
Executed by:
  • tst_Collections
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
8027
1060-
1061 if ((
(a & (QRegExpE...NonWord)) != 0Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
FALSEevaluated 1438750 times by 27 tests
Evaluated 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
  • ...
a & (QRegExpEngine::Anchor_Word | QRegExpEngine::Anchor_NonWord)) != 0
(a & (QRegExpE...NonWord)) != 0Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
FALSEevaluated 1438750 times by 27 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
) {
149-1438750
1062 bool before = false;-
1063 bool after = false;-
1064 if (pos + i != 0
pos + i != 0Description
TRUEevaluated 143 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
)
6-143
1065 before = isWord(in[pos + i - 1]);
executed 143 times by 2 tests: before = isWord(in[pos + i - 1]);
Executed by:
  • tst_QString
  • tst_qmakelib
143
1066 if (pos + i != len
pos + i != lenDescription
TRUEevaluated 144 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tst_QString
)
5-144
1067 after = isWord(in[pos + i]);
executed 144 times by 2 tests: after = isWord(in[pos + i]);
Executed by:
  • tst_QString
  • tst_qmakelib
144
1068 if ((
(a & QRegExpEn...hor_Word) != 0Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
FALSEnever evaluated
a & QRegExpEngine::Anchor_Word) != 0
(a & QRegExpEn...hor_Word) != 0Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
FALSEnever evaluated
&& (
(before == after)Description
TRUEevaluated 101 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 48 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
before == after)
(before == after)Description
TRUEevaluated 101 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 48 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
)
0-149
1069 return
executed 101 times by 1 test: return false;
Executed by:
  • tst_QString
false;
executed 101 times by 1 test: return false;
Executed by:
  • tst_QString
101
1070 if ((
(a & QRegExpEn..._NonWord) != 0Description
TRUEnever evaluated
FALSEevaluated 48 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
a & QRegExpEngine::Anchor_NonWord) != 0
(a & QRegExpEn..._NonWord) != 0Description
TRUEnever evaluated
FALSEevaluated 48 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_qmakelib
&& (
(before != after)Description
TRUEnever evaluated
FALSEnever evaluated
before != after)
(before != after)Description
TRUEnever evaluated
FALSEnever evaluated
)
0-48
1071 return
never executed: return false;
false;
never executed: return false;
0
1072 }
executed 48 times by 2 tests: end of block
Executed by:
  • tst_QString
  • tst_qmakelib
48
1073-
1074-
1075 if ((
(a & QRegExpEn...headMask) != 0Description
TRUEevaluated 800608 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 638190 times by 27 tests
Evaluated 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
  • ...
a & QRegExpEngine::Anchor_LookaheadMask) != 0
(a & QRegExpEn...headMask) != 0Description
TRUEevaluated 800608 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 638190 times by 27 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
) {
638190-800608
1076 const QVector<QRegExpLookahead *> &ahead = eng->ahead;-
1077 for (j = 0; j < ahead.size()
j < ahead.size()Description
TRUEevaluated 10402080 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 800113 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
; j++) {
800113-10402080
1078 if ((
(a & (QRegExpE...ad << j)) != 0Description
TRUEevaluated 800608 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 9601472 times by 1 test
Evaluated by:
  • tst_QRegExp
a & (QRegExpEngine::Anchor_FirstLookahead << j)) != 0
(a & (QRegExpE...ad << j)) != 0Description
TRUEevaluated 800608 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 9601472 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
800608-9601472
1079 QRegExpMatchState matchState;-
1080 matchState.prepareForMatch(ahead[j]->eng);-
1081 matchState.match(in + pos + i, len - pos - i, 0,-
1082 true, true, caretPos - pos - i);-
1083 if ((
(matchState.ca... ahead[j]->negDescription
TRUEevaluated 495 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 800113 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
matchState.captured[0] == 0) == ahead[j]->neg
(matchState.ca... ahead[j]->negDescription
TRUEevaluated 495 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 800113 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
)
495-800113
1084 return
executed 495 times by 2 tests: return false;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
false;
executed 495 times by 2 tests: return false;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
495
1085 }
executed 800113 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
800113
1086 }
executed 10401585 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
10401585
1087 }
executed 800113 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
800113
1088-
1089-
1090-
1091 for (j = 0; j < eng->nbrefs
j < eng->nbrefsDescription
TRUEevaluated 42778 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1415439 times by 27 tests
Evaluated 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
  • ...
; j++) {
42778-1415439
1092 if ((
(a & (QRegExpE...ty << j)) != 0Description
TRUEevaluated 26367 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 16411 times by 1 test
Evaluated by:
  • tst_QRegExp
a & (QRegExpEngine::Anchor_BackRef1Empty << j)) != 0
(a & (QRegExpE...ty << j)) != 0Description
TRUEevaluated 26367 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 16411 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
16411-26367
1093 int i = eng->captureForOfficialCapture.at(j);-
1094 if (capBegin[i] != EmptyCapture
capBegin[i] != EmptyCaptureDescription
TRUEevaluated 22864 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 3503 times by 1 test
Evaluated by:
  • tst_QRegExp
)
3503-22864
1095 return
executed 22864 times by 1 test: return false;
Executed by:
  • tst_QRegExp
false;
executed 22864 times by 1 test: return false;
Executed by:
  • tst_QRegExp
22864
1096 }
executed 3503 times by 1 test: end of block
Executed by:
  • tst_QRegExp
3503
1097 }
executed 19914 times by 1 test: end of block
Executed by:
  • tst_QRegExp
19914
1098-
1099-
1100 return
executed 1415439 times by 27 tests: return true;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
true;
executed 1415439 times by 27 tests: return true;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
1415439
1101}-
1102bool QRegExpEngine::goodStringMatch(QRegExpMatchState &matchState) const-
1103{-
1104 int k = matchState.pos + goodEarlyStart;-
1105 QStringMatcher matcher(goodStr.unicode(), goodStr.length(), cs);-
1106 while ((
(k = matcher.i...len, k)) != -1Description
TRUEevaluated 200568 times by 14 tests
Evaluated 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
FALSEevaluated 528 times by 10 tests
Evaluated by:
  • tst_QFontComboBox
  • tst_QNetworkReply
  • tst_QObject
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
  • tst_selftests - unknown status
  • tst_uic
k = matcher.indexIn(matchState.in, matchState.len, k)) != -1
(k = matcher.i...len, k)) != -1Description
TRUEevaluated 200568 times by 14 tests
Evaluated 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
FALSEevaluated 528 times by 10 tests
Evaluated by:
  • tst_QFontComboBox
  • tst_QNetworkReply
  • tst_QObject
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
  • tst_selftests - unknown status
  • tst_uic
) {
528-200568
1107 int from = k - goodLateStart;-
1108 int to = k - goodEarlyStart;-
1109 if (from > matchState.pos
from > matchState.posDescription
TRUEevaluated 200251 times by 10 tests
Evaluated by:
  • tst_QDBusInterface
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_qmakelib
  • tst_uic
FALSEevaluated 317 times by 8 tests
Evaluated by:
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_qmakelib
)
317-200251
1110 matchState.pos = from;
executed 200251 times by 10 tests: matchState.pos = from;
Executed by:
  • tst_QDBusInterface
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_qmakelib
  • tst_uic
200251
1111-
1112 while (matchState.pos <= to
matchState.pos <= toDescription
TRUEevaluated 198808 times by 14 tests
Evaluated 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
FALSEevaluated 22 times by 4 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
) {
22-198808
1113 if (matchState.matchHere()
matchState.matchHere()Description
TRUEevaluated 200546 times by 14 tests
Evaluated 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
FALSEevaluated 22 times by 4 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
)
22-200546
1114 return
executed 200546 times by 14 tests: return true;
Executed by:
  • tst_QDBusInterface
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_qmakelib
  • tst_uic
true;
executed 200546 times by 14 tests: return true;
Executed by:
  • tst_QDBusInterface
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_qmakelib
  • tst_uic
200546
1115 ++matchState.pos;-
1116 }
executed 22 times by 4 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
22
1117 ++k;-
1118 }
executed 22 times by 4 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
22
1119 return
executed 528 times by 10 tests: return false;
Executed by:
  • tst_QFontComboBox
  • tst_QNetworkReply
  • tst_QObject
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
  • tst_selftests - unknown status
  • tst_uic
false;
executed 528 times by 10 tests: return false;
Executed by:
  • tst_QFontComboBox
  • tst_QNetworkReply
  • tst_QObject
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
  • tst_selftests - unknown status
  • tst_uic
528
1120}-
1121-
1122bool QRegExpEngine::badCharMatch(QRegExpMatchState &matchState) const-
1123{-
1124 int slideHead = 0;-
1125 int slideNext = 0;-
1126 int i;-
1127 int lastPos = matchState.len - minl;-
1128 memset(matchState.slideTab, 0, matchState.slideTabSize * sizeof(int));-
1129-
1130-
1131-
1132-
1133-
1134 for (i = 0; i < minl
i < minlDescription
TRUEevaluated 32203 times by 26 tests
Evaluated 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
  • ...
FALSEevaluated 38044 times by 28 tests
Evaluated 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
  • ...
; i++) {
32203-38044
1135 int sk = occ1[((matchState.in[matchState.pos + i]).unicode() % NumBadChars)];-
1136 if (sk == NoOccurrence
sk == NoOccurrenceDescription
TRUEevaluated 14097 times by 14 tests
Evaluated 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
FALSEevaluated 18106 times by 22 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkReply
  • tst_QPrinterInfo
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
)
14097-18106
1137 sk = i + 1;
executed 14097 times by 14 tests: sk = i + 1;
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
14097
1138 if (sk > 0
sk > 0Description
TRUEevaluated 14525 times by 14 tests
Evaluated 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
FALSEevaluated 17678 times by 22 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkReply
  • tst_QPrinterInfo
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
) {
14525-17678
1139 int k = i + 1 - sk;-
1140 if (k < 0
k < 0Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • tst_QSslCertificate
FALSEevaluated 14507 times by 14 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
) {
18-14507
1141 sk = i + 1;-
1142 k = 0;-
1143 }
executed 18 times by 1 test: end of block
Executed by:
  • tst_QSslCertificate
18
1144 if (sk > matchState.slideTab[k]
sk > matchState.slideTab[k]Description
TRUEevaluated 14525 times by 14 tests
Evaluated 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
FALSEnever evaluated
)
0-14525
1145 matchState.slideTab[k] = sk;
executed 14525 times by 14 tests: matchState.slideTab[k] = sk;
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
14525
1146 }
executed 14525 times by 14 tests: end of block
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
14525
1147 }
executed 32203 times by 26 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • ...
32203
1148-
1149 if (matchState.pos > lastPos
matchState.pos > lastPosDescription
TRUEnever evaluated
FALSEevaluated 38044 times by 28 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • ...
)
0-38044
1150 return
never executed: return false;
false;
never executed: return false;
0
1151-
1152 for (;;) {-
1153 if (++
++slideNext >=...e.slideTabSizeDescription
TRUEevaluated 10662 times by 10 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QSslCertificate
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_languageChange
FALSEevaluated 345462 times by 28 tests
Evaluated 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
  • ...
slideNext >= matchState.slideTabSize
++slideNext >=...e.slideTabSizeDescription
TRUEevaluated 10662 times by 10 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QSslCertificate
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_languageChange
FALSEevaluated 345462 times by 28 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • ...
)
10662-345462
1154 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
1155 if (matchState.slideTab[slideHead] > 0
matchState.sli...slideHead] > 0Description
TRUEevaluated 242580 times by 14 tests
Evaluated 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
FALSEevaluated 113544 times by 26 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • ...
) {
113544-242580
1156 if (matchState.slideTab[slideHead] - 1 > matchState.slideTab[slideNext]
matchState.sli...Tab[slideNext]Description
TRUEevaluated 167 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
FALSEevaluated 242413 times by 14 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
)
167-242413
1157 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
1158 matchState.slideTab[slideHead] = 0;-
1159 }
executed 242580 times by 14 tests: end of block
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
else {
242580
1160 if (matchState.matchHere()
matchState.matchHere()Description
TRUEevaluated 32831 times by 24 tests
Evaluated 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
FALSEevaluated 80713 times by 17 tests
Evaluated by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
)
32831-80713
1161 return
executed 32831 times by 24 tests: return true;
Executed by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
true;
executed 32831 times by 24 tests: return true;
Executed by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
32831
1162 }
executed 80713 times by 17 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
80713
1163-
1164 if (matchState.pos == lastPos
matchState.pos == lastPosDescription
TRUEevaluated 5213 times by 17 tests
Evaluated 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
FALSEevaluated 318080 times by 21 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
)
5213-318080
1165 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
1166-
1167-
1168-
1169-
1170-
1171 int sk = occ1[((matchState.in[matchState.pos + minl]).unicode() % NumBadChars)];-
1172 if (sk == NoOccurrence
sk == NoOccurrenceDescription
TRUEevaluated 228426 times by 13 tests
Evaluated 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
FALSEevaluated 89654 times by 19 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
) {
89654-228426
1173 matchState.slideTab[slideNext] = minl;-
1174 }
executed 228426 times by 13 tests: end of block
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
else if (sk > 0
sk > 0Description
TRUEevaluated 177 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
FALSEevaluated 89477 times by 19 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
) {
177-228426
1175 int k = slideNext + minl - sk;-
1176 if (k >= matchState.slideTabSize
k >= matchState.slideTabSizeDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • tst_QSslCertificate
FALSEevaluated 160 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
)
17-160
1177 k -= matchState.slideTabSize;
executed 17 times by 1 test: k -= matchState.slideTabSize;
Executed by:
  • tst_QSslCertificate
17
1178 if (sk > matchState.slideTab[k]
sk > matchState.slideTab[k]Description
TRUEevaluated 177 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
FALSEnever evaluated
)
0-177
1179 matchState.slideTab[k] = sk;
executed 177 times by 3 tests: matchState.slideTab[k] = sk;
Executed by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
177
1180 }
executed 177 times by 3 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
177
1181 slideHead = slideNext;-
1182 ++matchState.pos;-
1183 }
executed 318080 times by 21 tests: end of block
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSqlDatabase
  • tst_QSslCertificate
  • tst_QString
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_languageChange
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
318080
1184 return
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
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
1185}-
1186bool QRegExpMatchState::matchHere()-
1187{-
1188 int ncur = 1, nnext = 0;-
1189 int i = 0, j, k, m;-
1190 bool stop = false;-
1191-
1192 matchLen = -1;-
1193 oneTestMatchedLen = -1;-
1194 curStack[0] = QRegExpEngine::InitialState;-
1195-
1196 int ncap = eng->ncap;-
1197-
1198 if (ncap > 0
ncap > 0Description
TRUEevaluated 252465 times by 23 tests
Evaluated 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
FALSEevaluated 1498426 times by 73 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
) {
252465-1498426
1199 for (j = 0; j < ncap
j < ncapDescription
TRUEevaluated 346655 times by 23 tests
Evaluated 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
FALSEevaluated 252465 times by 23 tests
Evaluated 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
; j++) {
252465-346655
1200 curCapBegin[j] = EmptyCapture;-
1201 curCapEnd[j] = EmptyCapture;-
1202 }
executed 346655 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
346655
1203 }
executed 252465 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
252465
1204-
1205-
1206-
1207 while ((ncur > 0
ncur > 0Description
TRUEevaluated 5921676 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 1245393 times by 66 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • ...
|| !sleeping.isEmpty()
!sleeping.isEmpty()Description
TRUEevaluated 30940 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1214453 times by 66 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • ...
) && i <= len - pos
i <= len - posDescription
TRUEevaluated 5637527 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 315089 times by 77 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
&& !stop
!stopDescription
TRUEevaluated 5416178 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 221349 times by 28 tests
Evaluated by:
  • tst_ModelTest
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTime
  • tst_languageChange
  • ...
)
30940-5921676
1208-
1209-
1210-
1211 {-
1212 int ch = (
(i < len - pos)Description
TRUEevaluated 4199871 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 1216307 times by 77 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
i < len - pos)
(i < len - pos)Description
TRUEevaluated 4199871 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 1216307 times by 77 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
? in[pos + i].unicode() : 0;
1216307-4199871
1213 for (j = 0; j < ncur
j < ncurDescription
TRUEevaluated 5822833 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 5416178 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
; j++) {
5416178-5822833
1214 int cur = curStack[j];-
1215 const QRegExpAutomatonState &scur = eng->s.at(cur);-
1216 const QVector<int> &outs = scur.outs;-
1217 for (k = 0; k < outs.size()
k < outs.size()Description
TRUEevaluated 11883742 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 5807367 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
; k++) {
5807367-11883742
1218 int next = outs.at(k);-
1219 const QRegExpAutomatonState &snext = eng->s.at(next);-
1220 bool inside = true;-
1221-
1222 int needSomeSleep = 0;-
1223-
1224-
1225-
1226-
1227-
1228 int a = scur.anchors.value(next);-
1229 if (a != 0
a != 0Description
TRUEevaluated 1545522 times by 27 tests
Evaluated 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
  • ...
FALSEevaluated 10296053 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
&& !testAnchor(i, a, curCapBegin + j * ncap)
!testAnchor(i,...in + j * ncap)Description
TRUEevaluated 130083 times by 13 tests
Evaluated 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
FALSEevaluated 1415439 times by 27 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • ...
)
130083-10296053
1230 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
1231-
1232-
1233-
1234-
1235-
1236 if (inside
insideDescription
TRUEevaluated 11704903 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 130083 times by 13 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QItemModel
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_qmakelib
  • tst_qstandardpaths
) {
130083-11704903
1237 m = snext.match;-
1238 if ((
(m & (QRegExpE...kRefBit)) == 0Description
TRUEevaluated 6511470 times by 76 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
FALSEevaluated 5242189 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
m & (QRegExpEngine::CharClassBit | QRegExpEngine::BackRefBit)) == 0
(m & (QRegExpE...kRefBit)) == 0Description
TRUEevaluated 6511470 times by 76 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
FALSEevaluated 5242189 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
) {
5242189-6511470
1239 if (eng->cs
eng->csDescription
TRUEevaluated 4821998 times by 56 tests
Evaluated by:
  • tst_Lancelot
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
FALSEevaluated 1656977 times by 32 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QProcess
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QVariant
  • ...
)
1656977-4821998
1240 inside = (m == ch);
executed 4854493 times by 56 tests: inside = (m == ch);
Executed by:
  • tst_Lancelot
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • ...
4854493
1241 else-
1242 inside = (QChar(m).toLower() == QChar(ch).toLower());
executed 1656977 times by 32 tests: inside = (QChar(m).toLower() == QChar(ch).toLower());
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QProcess
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QVariant
  • ...
1656977
1243 } else if (next == QRegExpEngine::FinalState
next == QRegEx...ne::FinalStateDescription
TRUEevaluated 590085 times by 64 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • ...
FALSEevaluated 4652104 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
) {
590085-4652104
1244 matchLen = i;-
1245 stop = minimal;-
1246 inside = true;-
1247 }
executed 590085 times by 64 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • ...
else if ((
(m & QRegExpEn...ClassBit) != 0Description
TRUEevaluated 4633126 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 18978 times by 1 test
Evaluated by:
  • tst_QRegExp
m & QRegExpEngine::CharClassBit) != 0
(m & QRegExpEn...ClassBit) != 0Description
TRUEevaluated 4633126 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 18978 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
18978-4633126
1248-
1249 const QRegExpCharClass &cc = eng->cl.at(m ^ QRegExpEngine::CharClassBit);-
1250 if (eng->cs
eng->csDescription
TRUEevaluated 3099447 times by 64 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • ...
FALSEevaluated 1533679 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QVariant
  • tst_QXmlInputSource
  • tst_QXmlSimpleReader
  • ...
)
1533679-3099447
1251 inside = cc.in(ch);
executed 3099447 times by 64 tests: inside = cc.in(ch);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • ...
3099447
1252 else if (cc.negative()
cc.negative()Description
TRUEevaluated 1533514 times by 19 tests
Evaluated 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
FALSEevaluated 165 times by 15 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QXmlInputSource
  • tst_Spdy
)
165-1533514
1253 inside = cc.in(QChar(ch).toLower())
cc.in(QChar(ch).toLower())Description
TRUEevaluated 1533514 times by 19 tests
Evaluated 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
FALSEnever evaluated
&&
executed 1533514 times by 19 tests: inside = cc.in(QChar(ch).toLower()) && cc.in(QChar(ch).toUpper());
Executed by:
  • tst_QAbstractItemModel
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlugin
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QVariant
  • tst_QXmlSimpleReader
  • tst_QXmlStream
  • tst_languageChange
  • tst_qmakelib
  • tst_rcc
  • tst_uic
0-1533514
1254 cc.in(QChar(ch).toUpper())
cc.in(QChar(ch).toUpper())Description
TRUEevaluated 1533514 times by 19 tests
Evaluated 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
FALSEnever evaluated
;
executed 1533514 times by 19 tests: inside = cc.in(QChar(ch).toLower()) && cc.in(QChar(ch).toUpper());
Executed by:
  • tst_QAbstractItemModel
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QPlugin
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QVariant
  • tst_QXmlSimpleReader
  • tst_QXmlStream
  • tst_languageChange
  • tst_qmakelib
  • tst_rcc
  • tst_uic
0-1533514
1255 else-
1256 inside = cc.in(QChar(ch).toLower())
cc.in(QChar(ch).toLower())Description
TRUEevaluated 135 times by 15 tests
Evaluated 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
FALSEevaluated 30 times by 15 tests
Evaluated 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
||
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
30-165
1257 cc.in(QChar(ch).toUpper())
cc.in(QChar(ch).toUpper())Description
TRUEnever evaluated
FALSEevaluated 30 times by 15 tests
Evaluated 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
;
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
0-165
1258-
1259-
1260 } else {-
1261 int bref = m ^ QRegExpEngine::BackRefBit;-
1262 int ell = j * ncap + eng->captureForOfficialCapture.at(bref - 1);-
1263-
1264 inside = bref <= ncap
bref <= ncapDescription
TRUEevaluated 18978 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
&& curCapBegin[ell] != EmptyCapture
curCapBegin[el...= EmptyCaptureDescription
TRUEevaluated 16330 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2648 times by 1 test
Evaluated by:
  • tst_QRegExp
;
0-18978
1265 if (inside
insideDescription
TRUEevaluated 16330 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2648 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
2648-16330
1266 if (eng->cs
eng->csDescription
TRUEevaluated 16330 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
)
0-16330
1267 inside = (in[pos + curCapBegin[ell]] == QChar(ch));
executed 16330 times by 1 test: inside = (in[pos + curCapBegin[ell]] == QChar(ch));
Executed by:
  • tst_QRegExp
16330
1268 else-
1269 inside = (in[pos + curCapBegin[ell]].toLower()
never executed: inside = (in[pos + curCapBegin[ell]].toLower() == QChar(ch).toLower());
0
1270 == QChar(ch).toLower());
never executed: inside = (in[pos + curCapBegin[ell]].toLower() == QChar(ch).toLower());
0
1271 }-
1272-
1273 if (inside
insideDescription
TRUEevaluated 16014 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2964 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
2964-16014
1274 int delta;-
1275 if (curCapEnd[ell] == EmptyCapture
curCapEnd[ell] == EmptyCaptureDescription
TRUEevaluated 11606 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 4408 times by 1 test
Evaluated by:
  • tst_QRegExp
)
4408-11606
1276 delta = i - curCapBegin[ell];
executed 11606 times by 1 test: delta = i - curCapBegin[ell];
Executed by:
  • tst_QRegExp
11606
1277 else-
1278 delta = curCapEnd[ell] - curCapBegin[ell];
executed 4408 times by 1 test: delta = curCapEnd[ell] - curCapBegin[ell];
Executed by:
  • tst_QRegExp
4408
1279-
1280 inside = (delta <= len - (pos + i));-
1281 if (inside
insideDescription
TRUEevaluated 13894 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2120 times by 1 test
Evaluated by:
  • tst_QRegExp
&& delta > 1
delta > 1Description
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2132 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
2120-13894
1282 int n = 1;-
1283 if (eng->cs
eng->csDescription
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
) {
0-11762
1284 while (n < delta
n < deltaDescription
TRUEevaluated 64066 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
11762-64066
1285 if (in[pos + curCapBegin[ell] + n]
in[pos + curCa...n[pos + i + n]Description
TRUEnever evaluated
FALSEevaluated 64066 times by 1 test
Evaluated by:
  • tst_QRegExp
0-64066
1286 != in[pos + i + n]
in[pos + curCa...n[pos + i + n]Description
TRUEnever evaluated
FALSEevaluated 64066 times by 1 test
Evaluated by:
  • tst_QRegExp
)
0-64066
1287 break;
never executed: break;
0
1288 ++n;-
1289 }
executed 64066 times by 1 test: end of block
Executed by:
  • tst_QRegExp
64066
1290 }
executed 11762 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
11762
1291 while (n < delta
n < deltaDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1292 QChar a = in[pos + curCapBegin[ell] + n];-
1293 QChar b = in[pos + i + n];-
1294 if (a.toLower() != b.toLower()
a.toLower() != b.toLower()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1295 break;
never executed: break;
0
1296 ++n;-
1297 }
never executed: end of block
0
1298 }
never executed: end of block
0
1299 inside = (n == delta);-
1300 if (inside
insideDescription
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
)
0-11762
1301 needSomeSleep = delta - 1;
executed 11762 times by 1 test: needSomeSleep = delta - 1;
Executed by:
  • tst_QRegExp
11762
1302 }
executed 11762 times by 1 test: end of block
Executed by:
  • tst_QRegExp
11762
1303 }
executed 16014 times by 1 test: end of block
Executed by:
  • tst_QRegExp
16014
1304-
1305 }
executed 18978 times by 1 test: end of block
Executed by:
  • tst_QRegExp
18978
1306 }-
1307-
1308-
1309-
1310-
1311 if (inside
insideDescription
TRUEevaluated 4638032 times by 82 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 7245710 times by 83 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
) {
4638032-7245710
1312-
1313 int *capBegin, *capEnd;-
1314-
1315-
1316-
1317-
1318-
1319 if ((
(m = inNextStack[next]) == -1Description
TRUEevaluated 4635020 times by 82 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 3012 times by 6 tests
Evaluated by:
  • tst_QDBusInterface
  • tst_QDir
  • tst_QFtp
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslKey
m = inNextStack[next]) == -1
(m = inNextStack[next]) == -1Description
TRUEevaluated 4635020 times by 82 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 3012 times by 6 tests
Evaluated by:
  • tst_QDBusInterface
  • tst_QDir
  • tst_QFtp
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslKey
) {
3012-4635020
1320 m = nnext++;-
1321 nextStack[m] = next;-
1322 inNextStack[next] = m;-
1323-
1324 capBegin = nextCapBegin + m * ncap;-
1325 capEnd = nextCapEnd + m * ncap;-
1326-
1327-
1328-
1329-
1330-
1331-
1332-
1333 }
executed 4635020 times by 82 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
else {
4635020
1334 capBegin = tempCapBegin;-
1335 capEnd = tempCapEnd;-
1336-
1337 }
executed 3012 times by 6 tests: end of block
Executed by:
  • tst_QDBusInterface
  • tst_QDir
  • tst_QFtp
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslKey
3012
1338-
1339-
1340-
1341-
1342-
1343 if (ncap > 0
ncap > 0Description
TRUEevaluated 2162295 times by 23 tests
Evaluated 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
FALSEevaluated 2475737 times by 71 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
) {
2162295-2475737
1344 memcpy(capBegin, curCapBegin + j * ncap, ncap * sizeof(int));-
1345 memcpy(capEnd, curCapEnd + j * ncap, ncap * sizeof(int));-
1346 int c = scur.atom, n = snext.atom;-
1347 int p = -1, q = -1;-
1348 int cap;-
1349 if ((
(q = scur.reen...ue(next)) != 0Description
TRUEevaluated 6244 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2140260 times by 23 tests
Evaluated 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
q = scur.reenter.value(next)) != 0
(q = scur.reen...ue(next)) != 0Description
TRUEevaluated 6244 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2140260 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
6244-2140260
1350 QBitArray b(eng->nf, false);-
1351 b.setBit(q, true);-
1352 for (int ell = q + 1; ell < eng->nf
ell < eng->nfDescription
TRUEevaluated 55417 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 6244 times by 1 test
Evaluated by:
  • tst_QRegExp
; ell++) {
6244-55417
1353 if (b.testBit(eng->f.at(ell).parent)
b.testBit(eng-...t(ell).parent)Description
TRUEevaluated 31969 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 23448 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
23448-31969
1354 b.setBit(ell, true);-
1355 cap = eng->f.at(ell).capture;-
1356 if (cap >= 0
cap >= 0Description
TRUEevaluated 3250 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 28719 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
3250-28719
1357 capBegin[cap] = EmptyCapture;-
1358 capEnd[cap] = EmptyCapture;-
1359 }
executed 3250 times by 1 test: end of block
Executed by:
  • tst_QRegExp
3250
1360 }
executed 31969 times by 1 test: end of block
Executed by:
  • tst_QRegExp
31969
1361 }
executed 55417 times by 1 test: end of block
Executed by:
  • tst_QRegExp
55417
1362 p = eng->f.at(q).parent;-
1363 }
executed 6244 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
6244
1364 p = c;-
1365 q = n;-
1366 while (p != q
p != qDescription
TRUEevaluated 3153123 times by 23 tests
Evaluated 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
FALSEevaluated 2156051 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
2156051-3153123
1367 if (p > q
p > qDescription
TRUEevaluated 1721957 times by 23 tests
Evaluated 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
FALSEevaluated 1493376 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
1493376-1721957
1368 cap = eng->f.at(p).capture;-
1369 if (cap >= 0
cap >= 0Description
TRUEevaluated 336440 times by 22 tests
Evaluated 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
FALSEevaluated 1385517 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
336440-1385517
1370 if (capBegin[cap] == i
capBegin[cap] == iDescription
TRUEnever evaluated
FALSEevaluated 336440 times by 22 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
0-336440
1371 capBegin[cap] = EmptyCapture;-
1372 capEnd[cap] = EmptyCapture;-
1373 }
never executed: end of block
else {
0
1374 capEnd[cap] = i;-
1375 }
executed 336440 times by 22 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
336440
1376 }-
1377 p = eng->f.at(p).parent;-
1378 }
executed 1721957 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
else {
1721957
1379 q = eng->f.at(q).parent;-
1380 }
executed 1493376 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
1493376
1381 }-
1382 }
executed 2156051 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
2156051
1383-
1384-
1385-
1386-
1387-
1388-
1389-
1390 while (n > p
n > pDescription
TRUEevaluated 1505617 times by 23 tests
Evaluated 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
FALSEevaluated 2132432 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
1505617-2132432
1391 cap = eng->f.at(n).capture;-
1392 if (cap >= 0
cap >= 0Description
TRUEevaluated 227699 times by 22 tests
Evaluated 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
FALSEevaluated 1283560 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
227699-1283560
1393 capBegin[cap] = i;-
1394 capEnd[cap] = EmptyCapture;-
1395 }
executed 227699 times by 22 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
227699
1396 n = eng->f.at(n).parent;-
1397 }
executed 1511259 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
1511259
1398-
1399-
1400-
1401-
1402-
1403 if (capBegin == tempCapBegin
capBegin == tempCapBeginDescription
TRUEevaluated 2995 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
FALSEevaluated 2159300 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
&&
2995-2159300
1404 isBetterCapture(ncap, capBegin, capEnd, nextCapBegin + m * ncap,
isBetterCaptur...nd + m * ncap)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2983 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
12-2983
1405 nextCapEnd + m * ncap)
isBetterCaptur...nd + m * ncap)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2983 times by 3 tests
Evaluated by:
  • tst_QFtp
  • tst_QRegExp
  • tst_QSslKey
) {
12-2983
1406 memcpy(nextCapBegin + m * ncap, capBegin, ncap * sizeof(int));-
1407 memcpy(nextCapEnd + m * ncap, capEnd, ncap * sizeof(int));-
1408 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_QRegExp
12
1409 }
executed 2162295 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
2162295
1410-
1411-
1412-
1413-
1414-
1415-
1416-
1417 if (needSomeSleep > 0
needSomeSleep > 0Description
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 4626270 times by 82 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
) {
11762-4626270
1418 QVector<int> zzZ(2 + 2 * ncap);-
1419 zzZ[0] = i + needSomeSleep;-
1420 zzZ[1] = next;-
1421 if (ncap > 0
ncap > 0Description
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
) {
0-11762
1422 memcpy(zzZ.data() + 2, capBegin, ncap * sizeof(int));-
1423 memcpy(zzZ.data() + 2 + ncap, capEnd, ncap * sizeof(int));-
1424 }
executed 11762 times by 1 test: end of block
Executed by:
  • tst_QRegExp
11762
1425 inNextStack[nextStack[--nnext]] = -1;-
1426 sleeping.append(zzZ);-
1427 }
executed 11762 times by 1 test: end of block
Executed by:
  • tst_QRegExp
11762
1428-
1429-
1430 }
executed 4638032 times by 82 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
4638032
1431 }
executed 11834235 times by 84 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
11834235
1432 }
executed 5822833 times by 84 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
5822833
1433-
1434-
1435-
1436-
1437-
1438 if (ncap > 0
ncap > 0Description
TRUEevaluated 2081397 times by 23 tests
Evaluated 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
FALSEevaluated 3334781 times by 73 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
&& (
(m = inNextSta...lState]) != -1Description
TRUEevaluated 327029 times by 23 tests
Evaluated 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
FALSEevaluated 1740314 times by 23 tests
Evaluated 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
m = inNextStack[QRegExpEngine::FinalState]) != -1
(m = inNextSta...lState]) != -1Description
TRUEevaluated 327029 times by 23 tests
Evaluated 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
FALSEevaluated 1740314 times by 23 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
) {
327029-3334781
1439 memcpy(capBegin, nextCapBegin + m * ncap, ncap * sizeof(int));-
1440 memcpy(capEnd, nextCapEnd + m * ncap, ncap * sizeof(int));-
1441 }
executed 327029 times by 23 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
327029
1442-
1443-
1444-
1445-
1446 j = 0;-
1447 while (j < sleeping.count()
j < sleeping.count()Description
TRUEevaluated 75828 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 5399443 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
) {
75828-5399443
1448 if (sleeping.at(j)[0] == i
sleeping.at(j)[0] == iDescription
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 64066 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
11762-64066
1449 const QVector<int> &zzZ = sleeping.at(j);-
1450 int next = zzZ[1];-
1451 const int *capBegin = zzZ.data() + 2;-
1452 const int *capEnd = zzZ.data() + 2 + ncap;-
1453 bool copyOver = true;-
1454-
1455 if ((
(m = inNextStack[next]) == -1Description
TRUEevaluated 11742 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 20 times by 1 test
Evaluated by:
  • tst_QRegExp
m = inNextStack[next]) == -1
(m = inNextStack[next]) == -1Description
TRUEevaluated 11742 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 20 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
20-11742
1456 m = nnext++;-
1457 nextStack[m] = next;-
1458 inNextStack[next] = m;-
1459 }
executed 11742 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
11742
1460 copyOver = isBetterCapture(ncap, nextCapBegin + m * ncap, nextCapEnd + m * ncap,-
1461 capBegin, capEnd);-
1462 }
executed 20 times by 1 test: end of block
Executed by:
  • tst_QRegExp
20
1463 if (copyOver
copyOverDescription
TRUEevaluated 11762 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
) {
0-11762
1464 memcpy(nextCapBegin + m * ncap, capBegin, ncap * sizeof(int));-
1465 memcpy(nextCapEnd + m * ncap, capEnd, ncap * sizeof(int));-
1466 }
executed 11762 times by 1 test: end of block
Executed by:
  • tst_QRegExp
11762
1467-
1468 sleeping.removeAt(j);-
1469 }
executed 11762 times by 1 test: end of block
Executed by:
  • tst_QRegExp
else {
11762
1470 ++j;-
1471 }
executed 64066 times by 1 test: end of block
Executed by:
  • tst_QRegExp
64066
1472 }-
1473-
1474-
1475 for (j = 0; j < nnext
j < nnextDescription
TRUEevaluated 4635000 times by 82 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 5416178 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
; j++)
4635000-5416178
1476 inNextStack[nextStack[j]] = -1;
executed 4635000 times by 82 tests: inNextStack[nextStack[j]] = -1;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
4635000
1477-
1478-
1479 if (nnext == 1
nnext == 1Description
TRUEevaluated 3714822 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 1701356 times by 83 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
&& nextStack[0] == QRegExpEngine::FinalState
nextStack[0] =...ne::FinalStateDescription
TRUEevaluated 428667 times by 49 tests
Evaluated by:
  • tst_Collections
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • ...
FALSEevaluated 3286155 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
428667-3714822
1480-
1481 && sleeping.isEmpty()
sleeping.isEmpty()Description
TRUEevaluated 428667 times by 49 tests
Evaluated by:
  • tst_Collections
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • ...
FALSEnever evaluated
0-428667
1482-
1483 )-
1484 stop = true;
executed 428667 times by 49 tests: stop = true;
Executed by:
  • tst_Collections
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • ...
428667
1485-
1486 qSwap(curStack, nextStack);-
1487-
1488 qSwap(curCapBegin, nextCapBegin);-
1489 qSwap(curCapEnd, nextCapEnd);-
1490-
1491 ncur = nnext;-
1492 nnext = 0;-
1493 ++i;-
1494 }
executed 5407535 times by 84 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
5407535
1495-
1496-
1497-
1498-
1499-
1500-
1501 if (!sleeping.isEmpty()
!sleeping.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 1750891 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
)
0-1750891
1502 sleeping.clear();
never executed: sleeping.clear();
0
1503-
1504-
1505 oneTestMatchedLen = i - 1;-
1506 return
executed 1750891 times by 84 tests: return (matchLen >= 0);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
(matchLen >= 0);
executed 1750891 times by 84 tests: return (matchLen >= 0);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
1750891
1507}-
1508-
1509-
1510-
1511QRegExpCharClass::QRegExpCharClass()-
1512 : c(0), n(false)-
1513{-
1514-
1515 occ1.fill(NoOccurrence, NumBadChars);-
1516-
1517}
executed 30858 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
30858
1518-
1519void QRegExpCharClass::clear()-
1520{-
1521 c = 0;-
1522 r.clear();-
1523 n = false;-
1524}
executed 34392 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
34392
1525-
1526void QRegExpCharClass::setNegative(bool negative)-
1527{-
1528 n = negative;-
1529-
1530 occ1.fill(0, NumBadChars);-
1531-
1532}
executed 1553 times by 92 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • ...
1553
1533-
1534void QRegExpCharClass::addCategories(uint cats)-
1535{-
1536 static const int all_cats = (1 << (QChar::Mark_NonSpacing)) |-
1537 (1 << (QChar::Mark_SpacingCombining)) |-
1538 (1 << (QChar::Mark_Enclosing)) |-
1539 (1 << (QChar::Number_DecimalDigit)) |-
1540 (1 << (QChar::Number_Letter)) |-
1541 (1 << (QChar::Number_Other)) |-
1542 (1 << (QChar::Separator_Space)) |-
1543 (1 << (QChar::Separator_Line)) |-
1544 (1 << (QChar::Separator_Paragraph)) |-
1545 (1 << (QChar::Other_Control)) |-
1546 (1 << (QChar::Other_Format)) |-
1547 (1 << (QChar::Other_Surrogate)) |-
1548 (1 << (QChar::Other_PrivateUse)) |-
1549 (1 << (QChar::Other_NotAssigned)) |-
1550 (1 << (QChar::Letter_Uppercase)) |-
1551 (1 << (QChar::Letter_Lowercase)) |-
1552 (1 << (QChar::Letter_Titlecase)) |-
1553 (1 << (QChar::Letter_Modifier)) |-
1554 (1 << (QChar::Letter_Other)) |-
1555 (1 << (QChar::Punctuation_Connector)) |-
1556 (1 << (QChar::Punctuation_Dash)) |-
1557 (1 << (QChar::Punctuation_Open)) |-
1558 (1 << (QChar::Punctuation_Close)) |-
1559 (1 << (QChar::Punctuation_InitialQuote)) |-
1560 (1 << (QChar::Punctuation_FinalQuote)) |-
1561 (1 << (QChar::Punctuation_Other)) |-
1562 (1 << (QChar::Symbol_Math)) |-
1563 (1 << (QChar::Symbol_Currency)) |-
1564 (1 << (QChar::Symbol_Modifier)) |-
1565 (1 << (QChar::Symbol_Other));-
1566 c |= (all_cats & cats);-
1567-
1568 occ1.fill(0, NumBadChars);-
1569-
1570}
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
1571-
1572void QRegExpCharClass::addRange(ushort from, ushort to)-
1573{-
1574 if (from > to
from > toDescription
TRUEnever evaluated
FALSEevaluated 8272 times by 68 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
)
0-8272
1575 qSwap(from, to);
never executed: qSwap(from, to);
0
1576 int m = r.size();-
1577 r.resize(m + 1);-
1578 r[m].from = from;-
1579 r[m].len = to - from + 1;-
1580-
1581-
1582 int i;-
1583-
1584 if (to - from < NumBadChars
to - from < NumBadCharsDescription
TRUEevaluated 7152 times by 68 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
FALSEevaluated 1120 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
1120-7152
1585 if (from % NumBadChars <= to % NumBadChars
from % NumBadC... % NumBadCharsDescription
TRUEevaluated 7131 times by 68 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
FALSEevaluated 21 times by 5 tests
Evaluated by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
) {
21-7131
1586 for (i = from % NumBadChars; i <= to % NumBadChars
i <= to % NumBadCharsDescription
TRUEevaluated 21587 times by 68 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
FALSEevaluated 7131 times by 68 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
; i++)
7131-21587
1587 occ1[i] = 0;
executed 21587 times by 68 tests: occ1[i] = 0;
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
21587
1588 }
executed 7131 times by 68 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
else {
7131
1589 for (i = 0; i <= to % NumBadChars
i <= to % NumBadCharsDescription
TRUEevaluated 97 times by 5 tests
Evaluated by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
FALSEevaluated 21 times by 5 tests
Evaluated by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
; i++)
21-97
1590 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
1591 for (i = from % NumBadChars; i < NumBadChars
i < NumBadCharsDescription
TRUEevaluated 21 times by 5 tests
Evaluated by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
FALSEevaluated 21 times by 5 tests
Evaluated by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
; i++)
21
1592 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
1593 }
executed 21 times by 5 tests: end of block
Executed by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QString
21
1594 } else {-
1595 occ1.fill(0, NumBadChars);-
1596 }
executed 1120 times by 1 test: end of block
Executed by:
  • tst_QRegExp
1120
1597-
1598}-
1599-
1600bool QRegExpCharClass::in(QChar ch) const-
1601{-
1602-
1603 if (occ1.at(((ch).unicode() % NumBadChars)) == NoOccurrence
occ1.at(((ch)....= NoOccurrenceDescription
TRUEevaluated 702101 times by 48 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
FALSEevaluated 5464569 times by 84 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
)
702101-5464569
1604 return
executed 702101 times by 48 tests: return n;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
n;
executed 702101 times by 48 tests: return n;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
702101
1605-
1606-
1607 if (c != 0
c != 0Description
TRUEevaluated 478079 times by 20 tests
Evaluated 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
FALSEevaluated 4986490 times by 78 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
&& (
(c & (1 << (ch...gory()))) != 0Description
TRUEevaluated 238590 times by 19 tests
Evaluated 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
FALSEevaluated 239489 times by 19 tests
Evaluated 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
c & (1 << (ch.category()))) != 0
(c & (1 << (ch...gory()))) != 0Description
TRUEevaluated 238590 times by 19 tests
Evaluated 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
FALSEevaluated 239489 times by 19 tests
Evaluated by:
  • tst_Collections
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QLibrary
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSqlDatabase
  • tst_QSslKey
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_uic
)
238590-4986490
1608 return
executed 238590 times by 19 tests: return !n;
Executed by:
  • tst_Collections
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QLibrary
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslKey
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_uic
!n;
executed 238590 times by 19 tests: return !n;
Executed by:
  • tst_Collections
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QLibrary
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslKey
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_uic
238590
1609-
1610 const int uc = ch.unicode();-
1611 int size = r.size();-
1612-
1613 for (int i = 0; i < size
i < sizeDescription
TRUEevaluated 20946500 times by 60 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGuiApplication
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • ...
FALSEevaluated 3833050 times by 72 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
; ++i) {
3833050-20946500
1614 const QRegExpCharClassRange &range = r.at(i);-
1615 if (uint(uc - range.from) < uint(r.at(i).len)
uint(uc - rang...t(r.at(i).len)Description
TRUEevaluated 1392929 times by 41 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • ...
FALSEevaluated 19553571 times by 58 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGuiApplication
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • ...
)
1392929-19553571
1616 return
executed 1392929 times by 41 tests: return !n;
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • ...
!n;
executed 1392929 times by 41 tests: return !n;
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSharedMemory
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • ...
1392929
1617 }
executed 19553571 times by 58 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGuiApplication
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • ...
19553571
1618 return
executed 3833050 times by 72 tests: return n;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
n;
executed 3833050 times by 72 tests: return n;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
3833050
1619}-
1620-
1621-
1622void QRegExpCharClass::dump() const-
1623{-
1624 int i;-
1625 QMessageLogger(__FILE__, 2441, __PRETTY_FUNCTION__).debug(" %stive character class", n ? "nega" : "posi");-
1626-
1627 if (c != 0
c != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1628 QMessageLogger(__FILE__, 2444, __PRETTY_FUNCTION__).debug(" categories 0x%.8x", c);
never executed: QMessageLogger(__FILE__, 2444, __PRETTY_FUNCTION__).debug(" categories 0x%.8x", c);
0
1629-
1630 for (i = 0; i < r.size()
i < r.size()Description
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
1631 QMessageLogger(__FILE__, 2447, __PRETTY_FUNCTION__).debug(" 0x%.4x through 0x%.4x", r[i].from, r[i].from + r[i].len - 1);
never executed: QMessageLogger(__FILE__, 2447, __PRETTY_FUNCTION__).debug(" 0x%.4x through 0x%.4x", r[i].from, r[i].from + r[i].len - 1);
0
1632}
never executed: end of block
0
1633-
1634-
1635-
1636QRegExpEngine::Box::Box(QRegExpEngine *engine)-
1637 : eng(engine), skipanchors(0)-
1638-
1639 , earlyStart(0), lateStart(0), maxl(0)-
1640-
1641{-
1642-
1643 occ1.fill(NoOccurrence, NumBadChars);-
1644-
1645 minl = 0;-
1646}
executed 32429 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
32429
1647-
1648QRegExpEngine::Box &QRegExpEngine::Box::operator=(const Box &b)-
1649{-
1650 eng = b.eng;-
1651 ls = b.ls;-
1652 rs = b.rs;-
1653 lanchors = b.lanchors;-
1654 ranchors = b.ranchors;-
1655 skipanchors = b.skipanchors;-
1656-
1657 earlyStart = b.earlyStart;-
1658 lateStart = b.lateStart;-
1659 str = b.str;-
1660 leftStr = b.leftStr;-
1661 rightStr = b.rightStr;-
1662 maxl = b.maxl;-
1663 occ1 = b.occ1;-
1664-
1665 minl = b.minl;-
1666 return
executed 2978 times by 98 tests: return *this;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
*this;
executed 2978 times by 98 tests: return *this;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
2978
1667}-
1668-
1669void QRegExpEngine::Box::set(QChar ch)-
1670{-
1671 ls.resize(1);-
1672 ls[0] = eng->createState(ch);-
1673 rs = ls;-
1674-
1675 str = ch;-
1676 leftStr = ch;-
1677 rightStr = ch;-
1678 maxl = 1;-
1679 occ1[((ch).unicode() % NumBadChars)] = 0;-
1680-
1681 minl = 1;-
1682}
executed 22721 times by 82 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
22721
1683-
1684void QRegExpEngine::Box::set(const QRegExpCharClass &cc)-
1685{-
1686 ls.resize(1);-
1687 ls[0] = eng->createState(cc);-
1688 rs = ls;-
1689-
1690 maxl = 1;-
1691 occ1 = cc.firstOccurrence();-
1692-
1693 minl = 1;-
1694}
executed 6409 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
6409
1695-
1696-
1697void QRegExpEngine::Box::set(int bref)-
1698{-
1699 ls.resize(1);-
1700 ls[0] = eng->createState(bref);-
1701 rs = ls;-
1702 if (bref >= 1
bref >= 1Description
TRUEevaluated 190 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
&& bref <= MaxBackRefs
bref <= MaxBackRefsDescription
TRUEevaluated 190 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
)
0-190
1703 skipanchors = Anchor_BackRef0Empty << bref;
executed 190 times by 1 test: skipanchors = Anchor_BackRef0Empty << bref;
Executed by:
  • tst_QRegExp
190
1704-
1705 maxl = InftyLen;-
1706-
1707 minl = 0;-
1708}
executed 190 times by 1 test: end of block
Executed by:
  • tst_QRegExp
190
1709-
1710-
1711void QRegExpEngine::Box::cat(const Box &b)-
1712{-
1713 eng->addCatTransitions(rs, b.ls);-
1714 addAnchorsToEngine(b);-
1715 if (minl == 0
minl == 0Description
TRUEevaluated 2861 times by 98 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 27402 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
2861-27402
1716 lanchors.unite(b.lanchors);-
1717 if (skipanchors != 0
skipanchors != 0Description
TRUEevaluated 266 times by 29 tests
Evaluated 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
  • ...
FALSEevaluated 2595 times by 98 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
) {
266-2595
1718 for (int i = 0; i < b.ls.size()
i < b.ls.size()Description
TRUEevaluated 409 times by 28 tests
Evaluated 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
  • ...
FALSEevaluated 266 times by 29 tests
Evaluated 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
  • ...
; i++) {
266-409
1719 int a = eng->anchorConcatenation(lanchors.value(b.ls.at(i), 0), skipanchors);-
1720 lanchors.insert(b.ls.at(i), a);-
1721 }
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
1722 }
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
1723 mergeInto(&ls, b.ls);-
1724 }
executed 2861 times by 98 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
2861
1725 if (b.minl == 0
b.minl == 0Description
TRUEevaluated 4854 times by 102 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 25409 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
4854-25409
1726 ranchors.unite(b.ranchors);-
1727 if (b.skipanchors != 0
b.skipanchors != 0Description
TRUEevaluated 405 times by 18 tests
Evaluated 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
FALSEevaluated 4449 times by 102 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
405-4449
1728 for (int i = 0; i < rs.size()
i < rs.size()Description
TRUEevaluated 1028 times by 18 tests
Evaluated 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
FALSEevaluated 405 times by 18 tests
Evaluated 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
; i++) {
405-1028
1729 int a = eng->anchorConcatenation(ranchors.value(rs.at(i), 0), b.skipanchors);-
1730 ranchors.insert(rs.at(i), a);-
1731 }
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
1732 }
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
1733 mergeInto(&rs, b.rs);-
1734 }
executed 4854 times by 102 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
else {
4854
1735 ranchors = b.ranchors;-
1736 rs = b.rs;-
1737 }
executed 25409 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
25409
1738-
1739-
1740 if (maxl != InftyLen
maxl != InftyLenDescription
TRUEevaluated 26998 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 3265 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
) {
3265-26998
1741 if (rightStr.length() + b.leftStr.length() >
rightStr.lengt....str.length())Description
TRUEevaluated 19410 times by 56 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMimeDatabase
  • ...
FALSEevaluated 7588 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
7588-19410
1742 qMax(str.length(), b.str.length())
rightStr.lengt....str.length())Description
TRUEevaluated 19410 times by 56 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMimeDatabase
  • ...
FALSEevaluated 7588 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
7588-19410
1743 earlyStart = minl - rightStr.length();-
1744 lateStart = maxl - rightStr.length();-
1745 str = rightStr + b.leftStr;-
1746 }
executed 19410 times by 56 tests: end of block
Executed by:
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QLineEdit
  • tst_QMimeDatabase
  • ...
else if (b.str.length() > str.length()
b.str.length() > str.length()Description
TRUEevaluated 946 times by 69 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
FALSEevaluated 6642 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
946-19410
1747 earlyStart = minl + b.earlyStart;-
1748 lateStart = maxl + b.lateStart;-
1749 str = b.str;-
1750 }
executed 946 times by 69 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
946
1751 }
executed 26998 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
26998
1752-
1753 if (leftStr.length() == maxl
leftStr.length() == maxlDescription
TRUEevaluated 22890 times by 99 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 7373 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
)
7373-22890
1754 leftStr += b.leftStr;
executed 22890 times by 99 tests: leftStr += b.leftStr;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
22890
1755-
1756 if (b.rightStr.length() == b.maxl
b.rightStr.length() == b.maxlDescription
TRUEevaluated 21808 times by 90 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • ...
FALSEevaluated 8455 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
8455-21808
1757 rightStr += b.rightStr;-
1758 }
executed 21808 times by 90 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • ...
else {
21808
1759 rightStr = b.rightStr;-
1760 }
executed 8455 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
8455
1761-
1762 if (maxl == InftyLen
maxl == InftyLenDescription
TRUEevaluated 3265 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
FALSEevaluated 26998 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
|| b.maxl == InftyLen
b.maxl == InftyLenDescription
TRUEevaluated 3533 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
FALSEevaluated 23465 times by 89 tests
Evaluated by:
  • tst_Collections
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
) {
3265-26998
1763 maxl = InftyLen;-
1764 }
executed 6798 times by 97 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
else {
6798
1765 maxl += b.maxl;-
1766 }
executed 23465 times by 89 tests: end of block
Executed by:
  • tst_Collections
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
23465
1767-
1768 for (int i = 0; i < NumBadChars
i < NumBadCharsDescription
TRUEevaluated 1936832 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 30263 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; i++) {
30263-1936832
1769 if (b.occ1.at(i) != NoOccurrence
b.occ1.at(i) != NoOccurrenceDescription
TRUEevaluated 363402 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 1573430 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
&& minl + b.occ1.at(i) < occ1.at(i)
minl + b.occ1....) < occ1.at(i)Description
TRUEevaluated 227116 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 136286 times by 80 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
)
136286-1573430
1770 occ1[i] = minl + b.occ1.at(i);
executed 227116 times by 110 tests: occ1[i] = minl + b.occ1.at(i);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
227116
1771 }
executed 1936832 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1936832
1772-
1773-
1774 minl += b.minl;-
1775 if (minl == 0
minl == 0Description
TRUEevaluated 2323 times by 93 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 27940 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
)
2323-27940
1776 skipanchors = eng->anchorConcatenation(skipanchors, b.skipanchors);
executed 2323 times by 93 tests: skipanchors = eng->anchorConcatenation(skipanchors, b.skipanchors);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
2323
1777 else-
1778 skipanchors = 0;
executed 27940 times by 116 tests: skipanchors = 0;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
27940
1779}-
1780-
1781void QRegExpEngine::Box::orx(const Box &b)-
1782{-
1783 mergeInto(&ls, b.ls);-
1784 lanchors.unite(b.lanchors);-
1785 mergeInto(&rs, b.rs);-
1786 ranchors.unite(b.ranchors);-
1787-
1788 if (b.minl == 0
b.minl == 0Description
TRUEevaluated 63 times by 4 tests
Evaluated by:
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
FALSEevaluated 403 times by 11 tests
Evaluated 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
1789 if (minl == 0
minl == 0Description
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 23 times by 4 tests
Evaluated by:
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
)
23-40
1790 skipanchors = eng->anchorAlternation(skipanchors, b.skipanchors);
executed 40 times by 1 test: skipanchors = eng->anchorAlternation(skipanchors, b.skipanchors);
Executed by:
  • tst_QRegExp
40
1791 else-
1792 skipanchors = b.skipanchors;
executed 23 times by 4 tests: skipanchors = b.skipanchors;
Executed by:
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
23
1793 }-
1794-
1795-
1796 for (int i = 0; i < NumBadChars
i < NumBadCharsDescription
TRUEevaluated 29824 times by 11 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
FALSEevaluated 466 times by 11 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
; i++) {
466-29824
1797 if (occ1.at(i) > b.occ1.at(i)
occ1.at(i) > b.occ1.at(i)Description
TRUEevaluated 1132 times by 11 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
FALSEevaluated 28692 times by 10 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
)
1132-28692
1798 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
1799 }
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
1800 earlyStart = 0;-
1801 lateStart = 0;-
1802 str = QString();-
1803 leftStr = QString();-
1804 rightStr = QString();-
1805 if (b.maxl > maxl
b.maxl > maxlDescription
TRUEevaluated 210 times by 4 tests
Evaluated by:
  • tst_QFtp
  • tst_QItemModel
  • tst_QRegExp
  • tst_QSslCertificate
FALSEevaluated 256 times by 9 tests
Evaluated by:
  • tst_QDataStream
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
)
210-256
1806 maxl = b.maxl;
executed 210 times by 4 tests: maxl = b.maxl;
Executed by:
  • tst_QFtp
  • tst_QItemModel
  • tst_QRegExp
  • tst_QSslCertificate
210
1807-
1808 if (b.minl < minl
b.minl < minlDescription
TRUEevaluated 43 times by 8 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
FALSEevaluated 423 times by 9 tests
Evaluated by:
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
)
43-423
1809 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
1810}
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
1811-
1812void QRegExpEngine::Box::plus(int atom)-
1813{-
1814-
1815 eng->addPlusTransitions(rs, ls, atom);-
1816-
1817-
1818-
1819-
1820 addAnchorsToEngine(*this);-
1821-
1822 maxl = InftyLen;-
1823-
1824}
executed 2194 times by 97 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
2194
1825-
1826void QRegExpEngine::Box::opt()-
1827{-
1828-
1829 earlyStart = 0;-
1830 lateStart = 0;-
1831 str = QString();-
1832 leftStr = QString();-
1833 rightStr = QString();-
1834-
1835 skipanchors = 0;-
1836 minl = 0;-
1837}
executed 2196 times by 93 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
2196
1838-
1839void QRegExpEngine::Box::catAnchor(int a)-
1840{-
1841 if (a != 0
a != 0Description
TRUEevaluated 365 times by 30 tests
Evaluated 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
  • ...
FALSEnever evaluated
) {
0-365
1842 for (int i = 0; i < rs.size()
i < rs.size()Description
TRUEnever evaluated
FALSEevaluated 365 times by 30 tests
Evaluated 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
  • ...
; i++) {
0-365
1843 a = eng->anchorConcatenation(ranchors.value(rs.at(i), 0), a);-
1844 ranchors.insert(rs.at(i), a);-
1845 }
never executed: end of block
0
1846 if (minl == 0
minl == 0Description
TRUEevaluated 365 times by 30 tests
Evaluated 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
  • ...
FALSEnever evaluated
)
0-365
1847 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
1848 }
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
1849}
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
1850-
1851-
1852void QRegExpEngine::Box::setupHeuristics()-
1853{-
1854 eng->goodEarlyStart = earlyStart;-
1855 eng->goodLateStart = lateStart;-
1856 eng->goodStr = eng->cs
eng->csDescription
TRUEevaluated 1411 times by 80 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
FALSEevaluated 267 times by 64 tests
Evaluated 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
  • ...
? str : str.toLower();
267-1411
1857-
1858 eng->minl = minl;-
1859 if (eng->cs
eng->csDescription
TRUEevaluated 1411 times by 80 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
FALSEevaluated 267 times by 64 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QMetaType
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • ...
) {
267-1411
1860 for (int i = 0; i < NumBadChars
i < NumBadCharsDescription
TRUEevaluated 90304 times by 80 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
FALSEevaluated 1411 times by 80 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
; i++) {
1411-90304
1861 if (occ1.at(i) != NoOccurrence
occ1.at(i) != NoOccurrenceDescription
TRUEevaluated 27941 times by 74 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • ...
FALSEevaluated 62363 times by 58 tests
Evaluated by:
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHeaderView
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • ...
&& occ1.at(i) >= minl
occ1.at(i) >= minlDescription
TRUEevaluated 1832 times by 12 tests
Evaluated by:
  • tst_QDirIterator
  • tst_QItemModel
  • tst_QLibrary
  • tst_QMetaType
  • tst_QObject
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QTextDocument
  • tst_qmakelib
FALSEevaluated 26109 times by 71 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • ...
)
1832-62363
1862 occ1[i] = minl;
executed 1832 times by 12 tests: occ1[i] = minl;
Executed by:
  • tst_QDirIterator
  • tst_QItemModel
  • tst_QLibrary
  • tst_QMetaType
  • tst_QObject
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QTextDocument
  • tst_qmakelib
1832
1863 }
executed 90304 times by 80 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
90304
1864 eng->occ1 = occ1;-
1865 }
executed 1411 times by 80 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • ...
else {
1411
1866 eng->occ1.fill(0, NumBadChars);-
1867 }
executed 267 times by 64 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QDataStream
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QImage
  • tst_QMetaType
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • ...
267
1868-
1869 eng->heuristicallyChooseHeuristic();-
1870}
executed 1678 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1678
1871-
1872-
1873-
1874void QRegExpEngine::Box::dump() const-
1875{-
1876 int i;-
1877 QMessageLogger(__FILE__, 2702, __PRETTY_FUNCTION__).debug("Box of at least %d character%s", minl, minl == 1 ? "" : "s");-
1878 QMessageLogger(__FILE__, 2703, __PRETTY_FUNCTION__).debug(" Left states:");-
1879 for (i = 0; i < ls.size()
i < ls.size()Description
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
1880 if (lanchors.value(ls[i], 0) == 0
lanchors.value(ls[i], 0) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1881 QMessageLogger(__FILE__, 2706, __PRETTY_FUNCTION__).debug(" %d", ls[i]);
never executed: QMessageLogger(__FILE__, 2706, __PRETTY_FUNCTION__).debug(" %d", ls[i]);
0
1882 else-
1883 QMessageLogger(__FILE__, 2708, __PRETTY_FUNCTION__).debug(" %d [anchors 0x%.8x]", ls[i], lanchors[ls[i]]);
never executed: QMessageLogger(__FILE__, 2708, __PRETTY_FUNCTION__).debug(" %d [anchors 0x%.8x]", ls[i], lanchors[ls[i]]);
0
1884 }-
1885 QMessageLogger(__FILE__, 2710, __PRETTY_FUNCTION__).debug(" Right states:");-
1886 for (i = 0; i < rs.size()
i < rs.size()Description
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
1887 if (ranchors.value(rs[i], 0) == 0
ranchors.value(rs[i], 0) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1888 QMessageLogger(__FILE__, 2713, __PRETTY_FUNCTION__).debug(" %d", rs[i]);
never executed: QMessageLogger(__FILE__, 2713, __PRETTY_FUNCTION__).debug(" %d", rs[i]);
0
1889 else-
1890 QMessageLogger(__FILE__, 2715, __PRETTY_FUNCTION__).debug(" %d [anchors 0x%.8x]", rs[i], ranchors[rs[i]]);
never executed: QMessageLogger(__FILE__, 2715, __PRETTY_FUNCTION__).debug(" %d [anchors 0x%.8x]", rs[i], ranchors[rs[i]]);
0
1891 }-
1892 QMessageLogger(__FILE__, 2717, __PRETTY_FUNCTION__).debug(" Skip anchors: 0x%.8x", skipanchors);-
1893}
never executed: end of block
0
1894-
1895-
1896void QRegExpEngine::Box::addAnchorsToEngine(const Box &to) const-
1897{-
1898 for (int i = 0; i < to.ls.size()
i < to.ls.size()Description
TRUEevaluated 33388 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 32457 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; i++) {
32457-33388
1899 for (int j = 0; j < rs.size()
j < rs.size()Description
TRUEevaluated 36738 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 33388 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; j++) {
33388-36738
1900 int a = eng->anchorConcatenation(ranchors.value(rs.at(j), 0),-
1901 to.lanchors.value(to.ls.at(i), 0));-
1902 eng->addAnchors(rs[j], to.ls[i], a);-
1903 }
executed 36738 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
36738
1904 }
executed 33388 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
33388
1905}
executed 32457 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
32457
1906-
1907-
1908-
1909-
1910static const struct CategoriesRangeMapEntry {-
1911 const char name[40];-
1912 uint first, second;-
1913} categoriesRangeMap[] = {-
1914 { "AegeanNumbers", 0x10100, 0x1013F },-
1915 { "AlphabeticPresentationForms", 0xFB00, 0xFB4F },-
1916 { "AncientGreekMusicalNotation", 0x1D200, 0x1D24F },-
1917 { "AncientGreekNumbers", 0x10140, 0x1018F },-
1918 { "Arabic", 0x0600, 0x06FF },-
1919 { "ArabicPresentationForms-A", 0xFB50, 0xFDFF },-
1920 { "ArabicPresentationForms-B", 0xFE70, 0xFEFF },-
1921 { "ArabicSupplement", 0x0750, 0x077F },-
1922 { "Armenian", 0x0530, 0x058F },-
1923 { "Arrows", 0x2190, 0x21FF },-
1924 { "BasicLatin", 0x0000, 0x007F },-
1925 { "Bengali", 0x0980, 0x09FF },-
1926 { "BlockElements", 0x2580, 0x259F },-
1927 { "Bopomofo", 0x3100, 0x312F },-
1928 { "BopomofoExtended", 0x31A0, 0x31BF },-
1929 { "BoxDrawing", 0x2500, 0x257F },-
1930 { "BraillePatterns", 0x2800, 0x28FF },-
1931 { "Buginese", 0x1A00, 0x1A1F },-
1932 { "Buhid", 0x1740, 0x175F },-
1933 { "ByzantineMusicalSymbols", 0x1D000, 0x1D0FF },-
1934 { "CJKCompatibility", 0x3300, 0x33FF },-
1935 { "CJKCompatibilityForms", 0xFE30, 0xFE4F },-
1936 { "CJKCompatibilityIdeographs", 0xF900, 0xFAFF },-
1937 { "CJKCompatibilityIdeographsSupplement", 0x2F800, 0x2FA1F },-
1938 { "CJKRadicalsSupplement", 0x2E80, 0x2EFF },-
1939 { "CJKStrokes", 0x31C0, 0x31EF },-
1940 { "CJKSymbolsandPunctuation", 0x3000, 0x303F },-
1941 { "CJKUnifiedIdeographs", 0x4E00, 0x9FFF },-
1942 { "CJKUnifiedIdeographsExtensionA", 0x3400, 0x4DB5 },-
1943 { "CJKUnifiedIdeographsExtensionB", 0x20000, 0x2A6DF },-
1944 { "Cherokee", 0x13A0, 0x13FF },-
1945 { "CombiningDiacriticalMarks", 0x0300, 0x036F },-
1946 { "CombiningDiacriticalMarksSupplement", 0x1DC0, 0x1DFF },-
1947 { "CombiningHalfMarks", 0xFE20, 0xFE2F },-
1948 { "CombiningMarksforSymbols", 0x20D0, 0x20FF },-
1949 { "ControlPictures", 0x2400, 0x243F },-
1950 { "Coptic", 0x2C80, 0x2CFF },-
1951 { "CurrencySymbols", 0x20A0, 0x20CF },-
1952 { "CypriotSyllabary", 0x10800, 0x1083F },-
1953 { "Cyrillic", 0x0400, 0x04FF },-
1954 { "CyrillicSupplement", 0x0500, 0x052F },-
1955 { "Deseret", 0x10400, 0x1044F },-
1956 { "Devanagari", 0x0900, 0x097F },-
1957 { "Dingbats", 0x2700, 0x27BF },-
1958 { "EnclosedAlphanumerics", 0x2460, 0x24FF },-
1959 { "EnclosedCJKLettersandMonths", 0x3200, 0x32FF },-
1960 { "Ethiopic", 0x1200, 0x137F },-
1961 { "EthiopicExtended", 0x2D80, 0x2DDF },-
1962 { "EthiopicSupplement", 0x1380, 0x139F },-
1963 { "GeneralPunctuation", 0x2000, 0x206F },-
1964 { "GeometricShapes", 0x25A0, 0x25FF },-
1965 { "Georgian", 0x10A0, 0x10FF },-
1966 { "GeorgianSupplement", 0x2D00, 0x2D2F },-
1967 { "Glagolitic", 0x2C00, 0x2C5F },-
1968 { "Gothic", 0x10330, 0x1034F },-
1969 { "Greek", 0x0370, 0x03FF },-
1970 { "GreekExtended", 0x1F00, 0x1FFF },-
1971 { "Gujarati", 0x0A80, 0x0AFF },-
1972 { "Gurmukhi", 0x0A00, 0x0A7F },-
1973 { "HalfwidthandFullwidthForms", 0xFF00, 0xFFEF },-
1974 { "HangulCompatibilityJamo", 0x3130, 0x318F },-
1975 { "HangulJamo", 0x1100, 0x11FF },-
1976 { "HangulSyllables", 0xAC00, 0xD7A3 },-
1977 { "Hanunoo", 0x1720, 0x173F },-
1978 { "Hebrew", 0x0590, 0x05FF },-
1979 { "Hiragana", 0x3040, 0x309F },-
1980 { "IPAExtensions", 0x0250, 0x02AF },-
1981 { "IdeographicDescriptionCharacters", 0x2FF0, 0x2FFF },-
1982 { "Kanbun", 0x3190, 0x319F },-
1983 { "KangxiRadicals", 0x2F00, 0x2FDF },-
1984 { "Kannada", 0x0C80, 0x0CFF },-
1985 { "Katakana", 0x30A0, 0x30FF },-
1986 { "KatakanaPhoneticExtensions", 0x31F0, 0x31FF },-
1987 { "Kharoshthi", 0x10A00, 0x10A5F },-
1988 { "Khmer", 0x1780, 0x17FF },-
1989 { "KhmerSymbols", 0x19E0, 0x19FF },-
1990 { "Lao", 0x0E80, 0x0EFF },-
1991 { "Latin-1Supplement", 0x0080, 0x00FF },-
1992 { "LatinExtended-A", 0x0100, 0x017F },-
1993 { "LatinExtended-B", 0x0180, 0x024F },-
1994 { "LatinExtendedAdditional", 0x1E00, 0x1EFF },-
1995 { "LetterlikeSymbols", 0x2100, 0x214F },-
1996 { "Limbu", 0x1900, 0x194F },-
1997 { "LinearBIdeograms", 0x10080, 0x100FF },-
1998 { "LinearBSyllabary", 0x10000, 0x1007F },-
1999 { "Malayalam", 0x0D00, 0x0D7F },-
2000 { "MathematicalAlphanumericSymbols", 0x1D400, 0x1D7FF },-
2001 { "MathematicalOperators", 0x2200, 0x22FF },-
2002 { "MiscellaneousMathematicalSymbols-A", 0x27C0, 0x27EF },-
2003 { "MiscellaneousMathematicalSymbols-B", 0x2980, 0x29FF },-
2004 { "MiscellaneousSymbols", 0x2600, 0x26FF },-
2005 { "MiscellaneousSymbolsandArrows", 0x2B00, 0x2BFF },-
2006 { "MiscellaneousTechnical", 0x2300, 0x23FF },-
2007 { "ModifierToneLetters", 0xA700, 0xA71F },-
2008 { "Mongolian", 0x1800, 0x18AF },-
2009 { "MusicalSymbols", 0x1D100, 0x1D1FF },-
2010 { "Myanmar", 0x1000, 0x109F },-
2011 { "NewTaiLue", 0x1980, 0x19DF },-
2012 { "NumberForms", 0x2150, 0x218F },-
2013 { "Ogham", 0x1680, 0x169F },-
2014 { "OldItalic", 0x10300, 0x1032F },-
2015 { "OldPersian", 0x103A0, 0x103DF },-
2016 { "OpticalCharacterRecognition", 0x2440, 0x245F },-
2017 { "Oriya", 0x0B00, 0x0B7F },-
2018 { "Osmanya", 0x10480, 0x104AF },-
2019 { "PhoneticExtensions", 0x1D00, 0x1D7F },-
2020 { "PhoneticExtensionsSupplement", 0x1D80, 0x1DBF },-
2021 { "PrivateUse", 0xE000, 0xF8FF },-
2022 { "Runic", 0x16A0, 0x16FF },-
2023 { "Shavian", 0x10450, 0x1047F },-
2024 { "Sinhala", 0x0D80, 0x0DFF },-
2025 { "SmallFormVariants", 0xFE50, 0xFE6F },-
2026 { "SpacingModifierLetters", 0x02B0, 0x02FF },-
2027 { "Specials", 0xFFF0, 0xFFFF },-
2028 { "SuperscriptsandSubscripts", 0x2070, 0x209F },-
2029 { "SupplementalArrows-A", 0x27F0, 0x27FF },-
2030 { "SupplementalArrows-B", 0x2900, 0x297F },-
2031 { "SupplementalMathematicalOperators", 0x2A00, 0x2AFF },-
2032 { "SupplementalPunctuation", 0x2E00, 0x2E7F },-
2033 { "SupplementaryPrivateUseArea-A", 0xF0000, 0xFFFFF },-
2034 { "SupplementaryPrivateUseArea-B", 0x100000, 0x10FFFF },-
2035 { "SylotiNagri", 0xA800, 0xA82F },-
2036 { "Syriac", 0x0700, 0x074F },-
2037 { "Tagalog", 0x1700, 0x171F },-
2038 { "Tagbanwa", 0x1760, 0x177F },-
2039 { "Tags", 0xE0000, 0xE007F },-
2040 { "TaiLe", 0x1950, 0x197F },-
2041 { "TaiXuanJingSymbols", 0x1D300, 0x1D35F },-
2042 { "Tamil", 0x0B80, 0x0BFF },-
2043 { "Telugu", 0x0C00, 0x0C7F },-
2044 { "Thaana", 0x0780, 0x07BF },-
2045 { "Thai", 0x0E00, 0x0E7F },-
2046 { "Tibetan", 0x0F00, 0x0FFF },-
2047 { "Tifinagh", 0x2D30, 0x2D7F },-
2048 { "Ugaritic", 0x10380, 0x1039F },-
2049 { "UnifiedCanadianAboriginalSyllabics", 0x1400, 0x167F },-
2050 { "VariationSelectors", 0xFE00, 0xFE0F },-
2051 { "VariationSelectorsSupplement", 0xE0100, 0xE01EF },-
2052 { "VerticalForms", 0xFE10, 0xFE1F },-
2053 { "YiRadicals", 0xA490, 0xA4CF },-
2054 { "YiSyllables", 0xA000, 0xA48F },-
2055 { "YijingHexagramSymbols", 0x4DC0, 0x4DFF }-
2056};-
2057-
2058inline bool operator<(const CategoriesRangeMapEntry &entry1, const CategoriesRangeMapEntry &entry2)-
2059{ return
never executed: return qstrcmp(entry1.name, entry2.name) < 0;
qstrcmp(entry1.name, entry2.name) < 0;
never executed: return qstrcmp(entry1.name, entry2.name) < 0;
}
0
2060inline bool operator<(const char *name, const CategoriesRangeMapEntry &entry)-
2061{ return
never executed: return qstrcmp(name, entry.name) < 0;
qstrcmp(name, entry.name) < 0;
never executed: return qstrcmp(name, entry.name) < 0;
}
0
2062inline bool operator<(const CategoriesRangeMapEntry &entry, const char *name)-
2063{ return
never executed: return qstrcmp(entry.name, name) < 0;
qstrcmp(entry.name, name) < 0;
never executed: return qstrcmp(entry.name, name) < 0;
}
0
2064-
2065-
2066int QRegExpEngine::getChar()-
2067{-
2068 return
executed 70631 times by 116 tests: return (yyPos == yyLen) ? EOS : yyIn[yyPos++].unicode();
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
(yyPos == yyLen) ? EOS : yyIn[yyPos++].unicode();
executed 70631 times by 116 tests: return (yyPos == yyLen) ? EOS : yyIn[yyPos++].unicode();
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
70631
2069}-
2070-
2071int QRegExpEngine::getEscape()-
2072{-
2073-
2074 const char tab[] = "afnrtv";-
2075 const char backTab[] = "\a\f\n\r\t\v";-
2076 ushort low;-
2077 int i;-
2078-
2079 ushort val;-
2080 int prevCh = yyCh;-
2081-
2082 if (prevCh == EOS
prevCh == EOSDescription
TRUEevaluated 4 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
FALSEevaluated 7706 times by 67 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
) {
4-7706
2083 error("unexpected end");-
2084 return
executed 4 times by 3 tests: return Tok_Char | '\\';
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
Tok_Char | '\\';
executed 4 times by 3 tests: return Tok_Char | '\\';
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
4
2085 }-
2086 yyCh = getChar();-
2087-
2088 if ((
(prevCh & ~0xff) == 0Description
TRUEevaluated 7706 times by 67 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
FALSEnever evaluated
prevCh & ~0xff) == 0
(prevCh & ~0xff) == 0Description
TRUEevaluated 7706 times by 67 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
FALSEnever evaluated
) {
0-7706
2089 const char *p = strchr(tab, prevCh);-
2090 if (p != 0
p != 0Description
TRUEevaluated 940 times by 10 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
FALSEevaluated 6766 times by 67 tests
Evaluated by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
)
940-6766
2091 return
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
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
2092 }
executed 6766 times by 67 tests: end of block
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
6766
2093-
2094-
2095 switch (prevCh) {-
2096-
2097 case
executed 1330 times by 1 test: case '0':
Executed by:
  • tst_QRegExp
'0':
executed 1330 times by 1 test: case '0':
Executed by:
  • tst_QRegExp
1330
2098 val = 0;-
2099 for (i = 0; i < 3
i < 3Description
TRUEevaluated 3990 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
; i++) {
0-3990
2100 if (yyCh >= '0'
yyCh >= '0'Description
TRUEevaluated 3110 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 880 times by 1 test
Evaluated by:
  • tst_QRegExp
&& yyCh <= '7'
yyCh <= '7'Description
TRUEevaluated 2660 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 450 times by 1 test
Evaluated by:
  • tst_QRegExp
)
450-3110
2101 val = (val << 3) | (yyCh - '0');
executed 2660 times by 1 test: val = (val << 3) | (yyCh - '0');
Executed by:
  • tst_QRegExp
2660
2102 else-
2103 break;
executed 1330 times by 1 test: break;
Executed by:
  • tst_QRegExp
1330
2104 yyCh = getChar();-
2105 }
executed 2660 times by 1 test: end of block
Executed by:
  • tst_QRegExp
2660
2106 if ((
(val & ~0377) != 0Description
TRUEnever evaluated
FALSEevaluated 1330 times by 1 test
Evaluated by:
  • tst_QRegExp
val & ~0377) != 0
(val & ~0377) != 0Description
TRUEnever evaluated
FALSEevaluated 1330 times by 1 test
Evaluated by:
  • tst_QRegExp
)
0-1330
2107 error("invalid octal value");
never executed: error("invalid octal value");
0
2108 return
executed 1330 times by 1 test: return Tok_Char | val;
Executed by:
  • tst_QRegExp
Tok_Char | val;
executed 1330 times by 1 test: return Tok_Char | val;
Executed by:
  • tst_QRegExp
1330
2109-
2110-
2111 case
never executed: case 'B':
'B':
never executed: case 'B':
0
2112 return
never executed: return Tok_NonWord;
Tok_NonWord;
never executed: return Tok_NonWord;
0
2113-
2114-
2115 case
executed 1 time by 1 test: case 'D':
Executed by:
  • tst_QRegExp
'D':
executed 1 time by 1 test: case 'D':
Executed by:
  • tst_QRegExp
1
2116-
2117 yyCharClass->addCategories(uint(-1) ^ (1 << (QChar::Number_DecimalDigit)));-
2118 return
executed 1 time by 1 test: return Tok_CharClass;
Executed by:
  • tst_QRegExp
Tok_CharClass;
executed 1 time by 1 test: return Tok_CharClass;
Executed by:
  • tst_QRegExp
1
2119 case
executed 19 times by 4 tests: case 'S':
Executed by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
'S':
executed 19 times by 4 tests: case 'S':
Executed by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
19
2120-
2121 yyCharClass->addCategories(uint(-1) ^ ((1 << (QChar::Separator_Space)) |-
2122 (1 << (QChar::Separator_Line)) |-
2123 (1 << (QChar::Separator_Paragraph)) |-
2124 (1 << (QChar::Other_Control))));-
2125 yyCharClass->addRange(0x0000, 0x0008);-
2126 yyCharClass->addRange(0x000e, 0x001f);-
2127 yyCharClass->addRange(0x007f, 0x0084);-
2128 yyCharClass->addRange(0x0086, 0x009f);-
2129 return
executed 19 times by 4 tests: return Tok_CharClass;
Executed by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
Tok_CharClass;
executed 19 times by 4 tests: return Tok_CharClass;
Executed by:
  • tst_QFtp
  • tst_QLibrary
  • tst_QRegExp
  • tst_QRegExpValidator
19
2130 case
executed 2 times by 2 tests: case 'W':
Executed by:
  • tst_QRegExp
  • tst_QString
'W':
executed 2 times by 2 tests: case 'W':
Executed by:
  • tst_QRegExp
  • tst_QString
2
2131-
2132 yyCharClass->addCategories(uint(-1) ^ ((1 << (QChar::Mark_NonSpacing)) |-
2133 (1 << (QChar::Mark_SpacingCombining)) |-
2134 (1 << (QChar::Mark_Enclosing)) |-
2135 (1 << (QChar::Number_DecimalDigit)) |-
2136 (1 << (QChar::Number_Letter)) |-
2137 (1 << (QChar::Number_Other)) |-
2138 (1 << (QChar::Letter_Uppercase)) |-
2139 (1 << (QChar::Letter_Lowercase)) |-
2140 (1 << (QChar::Letter_Titlecase)) |-
2141 (1 << (QChar::Letter_Modifier)) |-
2142 (1 << (QChar::Letter_Other)) |-
2143 (1 << (QChar::Punctuation_Connector))));-
2144 yyCharClass->addRange(0x203f, 0x2040);-
2145 yyCharClass->addSingleton(0x2040);-
2146 yyCharClass->addSingleton(0x2054);-
2147 yyCharClass->addSingleton(0x30fb);-
2148 yyCharClass->addRange(0xfe33, 0xfe34);-
2149 yyCharClass->addRange(0xfe4d, 0xfe4f);-
2150 yyCharClass->addSingleton(0xff3f);-
2151 yyCharClass->addSingleton(0xff65);-
2152 return
executed 2 times by 2 tests: return Tok_CharClass;
Executed by:
  • tst_QRegExp
  • tst_QString
Tok_CharClass;
executed 2 times by 2 tests: return Tok_CharClass;
Executed by:
  • tst_QRegExp
  • tst_QString
2
2153-
2154-
2155 case
executed 2 times by 2 tests: case 'b':
Executed by:
  • tst_QString
  • tst_qmakelib
'b':
executed 2 times by 2 tests: case 'b':
Executed by:
  • tst_QString
  • tst_qmakelib
2
2156 return
executed 2 times by 2 tests: return Tok_Word;
Executed by:
  • tst_QString
  • tst_qmakelib
Tok_Word;
executed 2 times by 2 tests: return Tok_Word;
Executed by:
  • tst_QString
  • tst_qmakelib
2
2157-
2158-
2159 case
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
'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
2160-
2161 yyCharClass->addCategories((1 << (QChar::Number_DecimalDigit)));-
2162 return
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
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
2163 case
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
'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
2164-
2165 yyCharClass->addCategories((1 << (QChar::Separator_Space)) |-
2166 (1 << (QChar::Separator_Line)) |-
2167 (1 << (QChar::Separator_Paragraph)));-
2168 yyCharClass->addRange(0x0009, 0x000d);-
2169 yyCharClass->addSingleton(0x0085);-
2170 return
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
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
2171 case
executed 14 times by 4 tests: case 'w':
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslKey
  • tst_QTextEdit
'w':
executed 14 times by 4 tests: case 'w':
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslKey
  • tst_QTextEdit
14
2172-
2173 yyCharClass->addCategories((1 << (QChar::Mark_NonSpacing)) |-
2174 (1 << (QChar::Mark_SpacingCombining)) |-
2175 (1 << (QChar::Mark_Enclosing)) |-
2176 (1 << (QChar::Number_DecimalDigit)) |-
2177 (1 << (QChar::Number_Letter)) |-
2178 (1 << (QChar::Number_Other)) |-
2179 (1 << (QChar::Letter_Uppercase)) |-
2180 (1 << (QChar::Letter_Lowercase)) |-
2181 (1 << (QChar::Letter_Titlecase)) |-
2182 (1 << (QChar::Letter_Modifier)) |-
2183 (1 << (QChar::Letter_Other)));-
2184 yyCharClass->addSingleton(0x005f);-
2185 return
executed 14 times by 4 tests: return Tok_CharClass;
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslKey
  • tst_QTextEdit
Tok_CharClass;
executed 14 times by 4 tests: return Tok_CharClass;
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslKey
  • tst_QTextEdit
14
2186 case
executed 2 times by 1 test: case 'I':
Executed by:
  • tst_QRegExp
'I':
executed 2 times by 1 test: case 'I':
Executed by:
  • tst_QRegExp
2
2187 if (xmlSchemaExtensions
xmlSchemaExtensionsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-2
2188 yyCharClass->setNegative(!yyCharClass->negative());-
2189-
2190 }
never executed: end of block
else {
0
2191 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QRegExp
2
2192 }-
2193 case
executed 2 times by 1 test: case 'i':
Executed by:
  • tst_QRegExp
code before this statement never executed: case 'i':
executed 2 times by 1 test: case 'i':
Executed by:
  • tst_QRegExp
'i':
code before this statement never executed: case 'i':
executed 2 times by 1 test: case 'i':
Executed by:
  • tst_QRegExp
0-2
2194 if (xmlSchemaExtensions
xmlSchemaExtensionsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-2
2195 yyCharClass->addCategories((1 << (QChar::Mark_NonSpacing)) |-
2196 (1 << (QChar::Mark_SpacingCombining)) |-
2197 (1 << (QChar::Mark_Enclosing)) |-
2198 (1 << (QChar::Number_DecimalDigit)) |-
2199 (1 << (QChar::Number_Letter)) |-
2200 (1 << (QChar::Number_Other)) |-
2201 (1 << (QChar::Letter_Uppercase)) |-
2202 (1 << (QChar::Letter_Lowercase)) |-
2203 (1 << (QChar::Letter_Titlecase)) |-
2204 (1 << (QChar::Letter_Modifier)) |-
2205 (1 << (QChar::Letter_Other)));-
2206 yyCharClass->addSingleton(0x003a);-
2207 yyCharClass->addSingleton(0x005f);-
2208 yyCharClass->addRange(0x0041, 0x005a);-
2209 yyCharClass->addRange(0x0061, 0x007a);-
2210 yyCharClass->addRange(0xc0, 0xd6);-
2211 yyCharClass->addRange(0xd8, 0xf6);-
2212 yyCharClass->addRange(0xf8, 0x2ff);-
2213 yyCharClass->addRange(0x370, 0x37d);-
2214 yyCharClass->addRange(0x37f, 0x1fff);-
2215 yyCharClass->addRange(0x200c, 0x200d);-
2216 yyCharClass->addRange(0x2070, 0x218f);-
2217 yyCharClass->addRange(0x2c00, 0x2fef);-
2218 yyCharClass->addRange(0x3001, 0xd7ff);-
2219 yyCharClass->addRange(0xf900, 0xfdcf);-
2220 yyCharClass->addRange(0xfdf0, 0xfffd);-
2221 yyCharClass->addRange((ushort)0x10000, (ushort)0xeffff);-
2222 return
never executed: return Tok_CharClass;
Tok_CharClass;
never executed: return Tok_CharClass;
0
2223 } else {-
2224 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QRegExp
2
2225 }-
2226 case
executed 2 times by 1 test: case 'C':
Executed by:
  • tst_QRegExp
'C':
executed 2 times by 1 test: case 'C':
Executed by:
  • tst_QRegExp
2
2227 if (xmlSchemaExtensions
xmlSchemaExtensionsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-2
2228 yyCharClass->setNegative(!yyCharClass->negative());-
2229-
2230 }
never executed: end of block
else {
0
2231 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QRegExp
2
2232 }-
2233 case
executed 2 times by 1 test: case 'c':
Executed by:
  • tst_QRegExp
code before this statement never executed: case 'c':
executed 2 times by 1 test: case 'c':
Executed by:
  • tst_QRegExp
'c':
code before this statement never executed: case 'c':
executed 2 times by 1 test: case 'c':
Executed by:
  • tst_QRegExp
0-2
2234 if (xmlSchemaExtensions
xmlSchemaExtensionsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-2
2235 yyCharClass->addCategories((1 << (QChar::Mark_NonSpacing)) |-
2236 (1 << (QChar::Mark_SpacingCombining)) |-
2237 (1 << (QChar::Mark_Enclosing)) |-
2238 (1 << (QChar::Number_DecimalDigit)) |-
2239 (1 << (QChar::Number_Letter)) |-
2240 (1 << (QChar::Number_Other)) |-
2241 (1 << (QChar::Letter_Uppercase)) |-
2242 (1 << (QChar::Letter_Lowercase)) |-
2243 (1 << (QChar::Letter_Titlecase)) |-
2244 (1 << (QChar::Letter_Modifier)) |-
2245 (1 << (QChar::Letter_Other)));-
2246 yyCharClass->addSingleton(0x002d);-
2247 yyCharClass->addSingleton(0x002e);-
2248 yyCharClass->addSingleton(0x003a);-
2249 yyCharClass->addSingleton(0x005f);-
2250 yyCharClass->addSingleton(0xb7);-
2251 yyCharClass->addRange(0x0030, 0x0039);-
2252 yyCharClass->addRange(0x0041, 0x005a);-
2253 yyCharClass->addRange(0x0061, 0x007a);-
2254 yyCharClass->addRange(0xc0, 0xd6);-
2255 yyCharClass->addRange(0xd8, 0xf6);-
2256 yyCharClass->addRange(0xf8, 0x2ff);-
2257 yyCharClass->addRange(0x370, 0x37d);-
2258 yyCharClass->addRange(0x37f, 0x1fff);-
2259 yyCharClass->addRange(0x200c, 0x200d);-
2260 yyCharClass->addRange(0x2070, 0x218f);-
2261 yyCharClass->addRange(0x2c00, 0x2fef);-
2262 yyCharClass->addRange(0x3001, 0xd7ff);-
2263 yyCharClass->addRange(0xf900, 0xfdcf);-
2264 yyCharClass->addRange(0xfdf0, 0xfffd);-
2265 yyCharClass->addRange((ushort)0x10000, (ushort)0xeffff);-
2266 yyCharClass->addRange(0x0300, 0x036f);-
2267 yyCharClass->addRange(0x203f, 0x2040);-
2268 return
never executed: return Tok_CharClass;
Tok_CharClass;
never executed: return Tok_CharClass;
0
2269 } else {-
2270 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QRegExp
2
2271 }-
2272 case
executed 2 times by 1 test: case 'P':
Executed by:
  • tst_QRegExp
'P':
executed 2 times by 1 test: case 'P':
Executed by:
  • tst_QRegExp
2
2273 if (xmlSchemaExtensions
xmlSchemaExtensionsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-2
2274 yyCharClass->setNegative(!yyCharClass->negative());-
2275-
2276 }
never executed: end of block
else {
0
2277 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QRegExp
2
2278 }-
2279 case
executed 2 times by 1 test: case 'p':
Executed by:
  • tst_QRegExp
code before this statement never executed: case 'p':
executed 2 times by 1 test: case 'p':
Executed by:
  • tst_QRegExp
'p':
code before this statement never executed: case 'p':
executed 2 times by 1 test: case 'p':
Executed by:
  • tst_QRegExp
0-2
2280 if (xmlSchemaExtensions
xmlSchemaExtensionsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
0-2
2281 if (yyCh != '{'
yyCh != '{'Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2282 error("bad char class syntax");-
2283 return
never executed: return Tok_CharClass;
Tok_CharClass;
never executed: return Tok_CharClass;
0
2284 }-
2285-
2286 QByteArray category;-
2287 yyCh = getChar();-
2288 while (yyCh != '}'
yyCh != '}'Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2289 if (yyCh == EOS
yyCh == EOSDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
2290 error("unexpected end");-
2291 return
never executed: return Tok_CharClass;
Tok_CharClass;
never executed: return Tok_CharClass;
0
2292 }-
2293 category.append(yyCh);-
2294 yyCh = getChar();-
2295 }
never executed: end of block
0
2296 yyCh = getChar();-
2297-
2298 int catlen = category.length();-
2299 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
|| catlen == 2
catlen == 2Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2300 switch (category.at(0)) {-
2301 case
never executed: case 'M':
'M':
never executed: case 'M':
0
2302 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2303 yyCharClass->addCategories((1 << (QChar::Mark_NonSpacing)) |-
2304 (1 << (QChar::Mark_SpacingCombining)) |-
2305 (1 << (QChar::Mark_Enclosing)));-
2306 }
never executed: end of block
else {
0
2307 switch (category.at(1)) {-
2308 case
never executed: case 'n':
'n':
never executed: case 'n':
yyCharClass->addCategories((1 << (QChar::Mark_NonSpacing))); break;
never executed: break;
0
2309 case
never executed: case 'c':
'c':
never executed: case 'c':
yyCharClass->addCategories((1 << (QChar::Mark_SpacingCombining))); break;
never executed: break;
0
2310 case
never executed: case 'e':
'e':
never executed: case 'e':
yyCharClass->addCategories((1 << (QChar::Mark_Enclosing))); break;
never executed: break;
0
2311 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2312 }-
2313 }-
2314 break;
never executed: break;
0
2315 case
never executed: case 'N':
'N':
never executed: case 'N':
0
2316 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2317 yyCharClass->addCategories((1 << (QChar::Number_DecimalDigit)) |-
2318 (1 << (QChar::Number_Letter)) |-
2319 (1 << (QChar::Number_Other)));-
2320 }
never executed: end of block
else {
0
2321 switch (category.at(1)) {-
2322 case
never executed: case 'd':
'd':
never executed: case 'd':
yyCharClass->addCategories((1 << (QChar::Number_DecimalDigit))); break;
never executed: break;
0
2323 case
never executed: case 'l':
'l':
never executed: case 'l':
yyCharClass->addCategories((1 << (QChar::Number_Letter))); break;
never executed: break;
0
2324 case
never executed: case 'o':
'o':
never executed: case 'o':
yyCharClass->addCategories((1 << (QChar::Number_Other))); break;
never executed: break;
0
2325 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2326 }-
2327 }-
2328 break;
never executed: break;
0
2329 case
never executed: case 'Z':
'Z':
never executed: case 'Z':
0
2330 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2331 yyCharClass->addCategories((1 << (QChar::Separator_Space)) |-
2332 (1 << (QChar::Separator_Line)) |-
2333 (1 << (QChar::Separator_Paragraph)));-
2334 }
never executed: end of block
else {
0
2335 switch (category.at(1)) {-
2336 case
never executed: case 's':
's':
never executed: case 's':
yyCharClass->addCategories((1 << (QChar::Separator_Space))); break;
never executed: break;
0
2337 case
never executed: case 'l':
'l':
never executed: case 'l':
yyCharClass->addCategories((1 << (QChar::Separator_Line))); break;
never executed: break;
0
2338 case
never executed: case 'p':
'p':
never executed: case 'p':
yyCharClass->addCategories((1 << (QChar::Separator_Paragraph))); break;
never executed: break;
0
2339 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2340 }-
2341 }-
2342 break;
never executed: break;
0
2343 case
never executed: case 'C':
'C':
never executed: case 'C':
0
2344 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2345 yyCharClass->addCategories((1 << (QChar::Other_Control)) |-
2346 (1 << (QChar::Other_Format)) |-
2347 (1 << (QChar::Other_Surrogate)) |-
2348 (1 << (QChar::Other_PrivateUse)) |-
2349 (1 << (QChar::Other_NotAssigned)));-
2350 }
never executed: end of block
else {
0
2351 switch (category.at(1)) {-
2352 case
never executed: case 'c':
'c':
never executed: case 'c':
yyCharClass->addCategories((1 << (QChar::Other_Control))); break;
never executed: break;
0
2353 case
never executed: case 'f':
'f':
never executed: case 'f':
yyCharClass->addCategories((1 << (QChar::Other_Format))); break;
never executed: break;
0
2354 case
never executed: case 's':
's':
never executed: case 's':
yyCharClass->addCategories((1 << (QChar::Other_Surrogate))); break;
never executed: break;
0
2355 case
never executed: case 'o':
'o':
never executed: case 'o':
yyCharClass->addCategories((1 << (QChar::Other_PrivateUse))); break;
never executed: break;
0
2356 case
never executed: case 'n':
'n':
never executed: case 'n':
yyCharClass->addCategories((1 << (QChar::Other_NotAssigned))); break;
never executed: break;
0
2357 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2358 }-
2359 }-
2360 break;
never executed: break;
0
2361 case
never executed: case 'L':
'L':
never executed: case 'L':
0
2362 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2363 yyCharClass->addCategories((1 << (QChar::Letter_Uppercase)) |-
2364 (1 << (QChar::Letter_Lowercase)) |-
2365 (1 << (QChar::Letter_Titlecase)) |-
2366 (1 << (QChar::Letter_Modifier)) |-
2367 (1 << (QChar::Letter_Other)));-
2368 }
never executed: end of block
else {
0
2369 switch (category.at(1)) {-
2370 case
never executed: case 'u':
'u':
never executed: case 'u':
yyCharClass->addCategories((1 << (QChar::Letter_Uppercase))); break;
never executed: break;
0
2371 case
never executed: case 'l':
'l':
never executed: case 'l':
yyCharClass->addCategories((1 << (QChar::Letter_Lowercase))); break;
never executed: break;
0
2372 case
never executed: case 't':
't':
never executed: case 't':
yyCharClass->addCategories((1 << (QChar::Letter_Titlecase))); break;
never executed: break;
0
2373 case
never executed: case 'm':
'm':
never executed: case 'm':
yyCharClass->addCategories((1 << (QChar::Letter_Modifier))); break;
never executed: break;
0
2374 case
never executed: case 'o':
'o':
never executed: case 'o':
yyCharClass->addCategories((1 << (QChar::Letter_Other))); break;
never executed: break;
0
2375 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2376 }-
2377 }-
2378 break;
never executed: break;
0
2379 case
never executed: case 'P':
'P':
never executed: case 'P':
0
2380 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2381 yyCharClass->addCategories((1 << (QChar::Punctuation_Connector)) |-
2382 (1 << (QChar::Punctuation_Dash)) |-
2383 (1 << (QChar::Punctuation_Open)) |-
2384 (1 << (QChar::Punctuation_Close)) |-
2385 (1 << (QChar::Punctuation_InitialQuote)) |-
2386 (1 << (QChar::Punctuation_FinalQuote)) |-
2387 (1 << (QChar::Punctuation_Other)));-
2388 }
never executed: end of block
else {
0
2389 switch (category.at(1)) {-
2390 case
never executed: case 'c':
'c':
never executed: case 'c':
yyCharClass->addCategories((1 << (QChar::Punctuation_Connector))); break;
never executed: break;
0
2391 case
never executed: case 'd':
'd':
never executed: case 'd':
yyCharClass->addCategories((1 << (QChar::Punctuation_Dash))); break;
never executed: break;
0
2392 case
never executed: case 's':
's':
never executed: case 's':
yyCharClass->addCategories((1 << (QChar::Punctuation_Open))); break;
never executed: break;
0
2393 case
never executed: case 'e':
'e':
never executed: case 'e':
yyCharClass->addCategories((1 << (QChar::Punctuation_Close))); break;
never executed: break;
0
2394 case
never executed: case 'i':
'i':
never executed: case 'i':
yyCharClass->addCategories((1 << (QChar::Punctuation_InitialQuote))); break;
never executed: break;
0
2395 case
never executed: case 'f':
'f':
never executed: case 'f':
yyCharClass->addCategories((1 << (QChar::Punctuation_FinalQuote))); break;
never executed: break;
0
2396 case
never executed: case 'o':
'o':
never executed: case 'o':
yyCharClass->addCategories((1 << (QChar::Punctuation_Other))); break;
never executed: break;
0
2397 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2398 }-
2399 }-
2400 break;
never executed: break;
0
2401 case
never executed: case 'S':
'S':
never executed: case 'S':
0
2402 if (catlen == 1
catlen == 1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2403 yyCharClass->addCategories((1 << (QChar::Symbol_Math)) |-
2404 (1 << (QChar::Symbol_Currency)) |-
2405 (1 << (QChar::Symbol_Modifier)) |-
2406 (1 << (QChar::Symbol_Other)));-
2407 }
never executed: end of block
else {
0
2408 switch (category.at(1)) {-
2409 case
never executed: case 'm':
'm':
never executed: case 'm':
yyCharClass->addCategories((1 << (QChar::Symbol_Math))); break;
never executed: break;
0
2410 case
never executed: case 'c':
'c':
never executed: case 'c':
yyCharClass->addCategories((1 << (QChar::Symbol_Currency))); break;
never executed: break;
0
2411 case
never executed: case 'k':
'k':
never executed: case 'k':
yyCharClass->addCategories((1 << (QChar::Symbol_Modifier))); break;
never executed: break;
0
2412 case
never executed: case 'o':
'o':
never executed: case 'o':
yyCharClass->addCategories((1 << (QChar::Symbol_Other))); break;
never executed: break;
0
2413 default
never executed: default:
:
never executed: default:
error("invalid category"); break;
never executed: break;
0
2414 }-
2415 }-
2416 break;
never executed: break;
0
2417 default
never executed: default:
:
never executed: default:
0
2418 error("invalid category");-
2419 break;
never executed: break;
0
2420 }-
2421 } else if (catlen > 2
catlen > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& category.at(0) == 'I'
category.at(0) == 'I'Description
TRUEnever evaluated
FALSEnever evaluated
&& category.at(1) == 's'
category.at(1) == 's'Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2422 static const int N = sizeof(categoriesRangeMap) / sizeof(categoriesRangeMap[0]);-
2423 const char * const categoryFamily = category.constData() + 2;-
2424 const CategoriesRangeMapEntry *r = std::lower_bound(categoriesRangeMap, categoriesRangeMap + N, categoryFamily);-
2425 if (r != categoriesRangeMap + N
r != categoriesRangeMap + NDescription
TRUEnever evaluated
FALSEnever evaluated
&& qstrcmp(r->name, categoryFamily) == 0
qstrcmp(r->nam...ryFamily) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2426 yyCharClass->addRange(r->first, r->second);
never executed: yyCharClass->addRange(r->first, r->second);
0
2427 else-
2428 error("invalid category");
never executed: error("invalid category");
0
2429 } else {-
2430 error("invalid category");-
2431 }
never executed: end of block
0
2432 return
never executed: return Tok_CharClass;
Tok_CharClass;
never executed: return Tok_CharClass;
0
2433 } else {-
2434 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QRegExp
2
2435 }-
2436-
2437-
2438 case
executed 2240 times by 1 test: case 'x':
Executed by:
  • tst_QRegExp
'x':
executed 2240 times by 1 test: case 'x':
Executed by:
  • tst_QRegExp
2240
2439 val = 0;-
2440 for (i = 0; i < 4
i < 4Description
TRUEevaluated 6720 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
; i++) {
0-6720
2441 low = QChar(yyCh).toLower().unicode();-
2442 if (low >= '0'
low >= '0'Description
TRUEevaluated 5600 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1120 times by 1 test
Evaluated by:
  • tst_QRegExp
&& low <= '9'
low <= '9'Description
TRUEevaluated 2240 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 3360 times by 1 test
Evaluated by:
  • tst_QRegExp
)
1120-5600
2443 val = (val << 4) | (low - '0');
executed 2240 times by 1 test: val = (val << 4) | (low - '0');
Executed by:
  • tst_QRegExp
2240
2444 else if (low >= 'a'
low >= 'a'Description
TRUEevaluated 2240 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2240 times by 1 test
Evaluated by:
  • tst_QRegExp
&& low <= 'f'
low <= 'f'Description
TRUEevaluated 2240 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
)
0-2240
2445 val = (val << 4) | (low - 'a' + 10);
executed 2240 times by 1 test: val = (val << 4) | (low - 'a' + 10);
Executed by:
  • tst_QRegExp
2240
2446 else-
2447 break;
executed 2240 times by 1 test: break;
Executed by:
  • tst_QRegExp
2240
2448 yyCh = getChar();-
2449 }
executed 4480 times by 1 test: end of block
Executed by:
  • tst_QRegExp
4480
2450 return
executed 2240 times by 1 test: return Tok_Char | val;
Executed by:
  • tst_QRegExp
Tok_Char | val;
executed 2240 times by 1 test: return Tok_Char | val;
Executed by:
  • tst_QRegExp
2240
2451-
2452 default
executed 2874 times by 58 tests: default:
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
:
executed 2874 times by 58 tests: default:
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
2874
2453 break;
executed 2874 times by 58 tests: break;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
2874
2454 }-
2455 if (prevCh >= '1'
prevCh >= '1'Description
TRUEevaluated 1975 times by 11 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
FALSEevaluated 911 times by 56 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCookie
  • ...
&& prevCh <= '9'
prevCh <= '9'Description
TRUEevaluated 190 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1785 times by 11 tests
Evaluated 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
2456-
2457 val = prevCh - '0';-
2458 while (yyCh >= '0'
yyCh >= '0'Description
TRUEevaluated 145 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 65 times by 1 test
Evaluated by:
  • tst_QRegExp
&& yyCh <= '9'
yyCh <= '9'Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 125 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
20-145
2459 val = (val * 10) + (yyCh - '0');-
2460 yyCh = getChar();-
2461 }
executed 20 times by 1 test: end of block
Executed by:
  • tst_QRegExp
20
2462 return
executed 190 times by 1 test: return Tok_BackRef | val;
Executed by:
  • tst_QRegExp
Tok_BackRef | val;
executed 190 times by 1 test: return Tok_BackRef | val;
Executed by:
  • tst_QRegExp
190
2463-
2464-
2465-
2466 }-
2467 return
executed 2696 times by 58 tests: return Tok_Char | prevCh;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
Tok_Char | prevCh;
executed 2696 times by 58 tests: return Tok_Char | prevCh;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
2696
2468}-
2469-
2470-
2471int QRegExpEngine::getRep(int def)-
2472{-
2473 if (yyCh >= '0'
yyCh >= '0'Description
TRUEevaluated 1222 times by 13 tests
Evaluated 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
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRegExp
&& yyCh <= '9'
yyCh <= '9'Description
TRUEevaluated 860 times by 12 tests
Evaluated 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
FALSEevaluated 362 times by 5 tests
Evaluated by:
  • tst_QDataStream
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
) {
4-1222
2474 int rep = 0;-
2475 do {-
2476 rep = 10 * rep + yyCh - '0';-
2477 if (rep >= InftyRep
rep >= InftyRepDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 12 tests
Evaluated 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
2478 error("bad repetition syntax");-
2479 rep = def;-
2480 }
never executed: end of block
0
2481 yyCh = getChar();-
2482 }
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
while (yyCh >= '0'
yyCh >= '0'Description
TRUEevaluated 587 times by 12 tests
Evaluated 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
FALSEevaluated 593 times by 9 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QTime
&& yyCh <= '9'
yyCh <= '9'Description
TRUEevaluated 320 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 267 times by 12 tests
Evaluated 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
2483 return
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
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
2484 } else {-
2485 return
executed 366 times by 5 tests: return def;
Executed by:
  • tst_QDataStream
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
def;
executed 366 times by 5 tests: return def;
Executed by:
  • tst_QDataStream
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
366
2486 }-
2487}-
2488-
2489-
2490-
2491void QRegExpEngine::skipChars(int n)-
2492{-
2493 if (n > 0
n > 0Description
TRUEevaluated 78 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
48-78
2494 yyPos += n - 1;-
2495 yyCh = getChar();-
2496 }
executed 78 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
78
2497}
executed 126 times by 2 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
126
2498-
2499-
2500void QRegExpEngine::error(const char *msg)-
2501{-
2502 if (yyError.isEmpty()
yyError.isEmpty()Description
TRUEevaluated 52 times by 4 tests
Evaluated by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
FALSEevaluated 84 times by 4 tests
Evaluated by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
)
52-84
2503 yyError = QLatin1String(msg);
executed 52 times by 4 tests: yyError = QLatin1String(msg);
Executed by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
52
2504}
executed 136 times by 4 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
136
2505-
2506void QRegExpEngine::startTokenizer(const QChar *rx, int len)-
2507{-
2508 yyIn = rx;-
2509 yyPos0 = 0;-
2510 yyPos = 0;-
2511 yyLen = len;-
2512 yyCh = getChar();-
2513 yyCharClass.reset(new QRegExpCharClass);-
2514 yyMinRep = 0;-
2515 yyMaxRep = 0;-
2516 yyError = QString();-
2517}
executed 1678 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1678
2518-
2519int QRegExpEngine::getToken()-
2520{-
2521-
2522 ushort pendingCh = 0;-
2523 bool charPending;-
2524 bool rangePending;-
2525 int tok;-
2526-
2527 int prevCh = yyCh;-
2528-
2529 yyPos0 = yyPos - 1;-
2530-
2531 yyCharClass->clear();-
2532-
2533 yyMinRep = 0;-
2534 yyMaxRep = 0;-
2535 yyCh = getChar();-
2536-
2537 switch (prevCh) {-
2538 case
executed 1553 times by 116 tests: case EOS:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
EOS:
executed 1553 times by 116 tests: case EOS:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1553
2539 yyPos0 = yyPos;-
2540 return
executed 1553 times by 116 tests: return Tok_Eos;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
Tok_Eos;
executed 1553 times by 116 tests: return Tok_Eos;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1553
2541 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
'$':
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
2542 return
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
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
2543 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
'(':
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
2544 if (yyCh == '?'
yyCh == '?'Description
TRUEevaluated 991 times by 6 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTextDocument
  • tst_QTime
FALSEevaluated 687 times by 25 tests
Evaluated 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
2545 prevCh = getChar();-
2546 yyCh = getChar();-
2547 switch (prevCh) {-
2548-
2549 case
executed 90 times by 2 tests: case '!':
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
'!':
executed 90 times by 2 tests: case '!':
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
90
2550 return
executed 90 times by 2 tests: return Tok_NegLookahead;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
Tok_NegLookahead;
executed 90 times by 2 tests: return Tok_NegLookahead;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
90
2551 case
executed 36 times by 1 test: case '=':
Executed by:
  • tst_QRegExp
'=':
executed 36 times by 1 test: case '=':
Executed by:
  • tst_QRegExp
36
2552 return
executed 36 times by 1 test: return Tok_PosLookahead;
Executed by:
  • tst_QRegExp
Tok_PosLookahead;
executed 36 times by 1 test: return Tok_PosLookahead;
Executed by:
  • tst_QRegExp
36
2553-
2554 case
executed 865 times by 5 tests: case ':':
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTime
':':
executed 865 times by 5 tests: case ':':
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTime
865
2555 return
executed 865 times by 5 tests: return Tok_MagicLeftParen;
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTime
Tok_MagicLeftParen;
executed 865 times by 5 tests: return Tok_MagicLeftParen;
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTime
865
2556 case
never executed: case '<':
'<':
never executed: case '<':
0
2557 error("lookbehinds not supported, see QTBUG-2371");-
2558 return
never executed: return Tok_MagicLeftParen;
Tok_MagicLeftParen;
never executed: return Tok_MagicLeftParen;
0
2559 default
never executed: default:
:
never executed: default:
0
2560 error("bad lookahead syntax");-
2561 return
never executed: return Tok_MagicLeftParen;
Tok_MagicLeftParen;
never executed: return Tok_MagicLeftParen;
0
2562 }-
2563 } else {-
2564 return
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
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
2565 }-
2566 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
')':
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
2567 return
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
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
2568 case
executed 1902 times by 90 tests: case '*':
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
'*':
executed 1902 times by 90 tests: case '*':
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
1902
2569 yyMinRep = 0;-
2570 yyMaxRep = InftyRep;-
2571 return
executed 1902 times by 90 tests: return Tok_Quantifier;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
Tok_Quantifier;
executed 1902 times by 90 tests: return Tok_Quantifier;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
1902
2572 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
'+':
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
2573 yyMinRep = 1;-
2574 yyMaxRep = InftyRep;-
2575 return
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
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
2576 case
executed 346 times by 86 tests: case '.':
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • ...
'.':
executed 346 times by 86 tests: case '.':
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • ...
346
2577-
2578 yyCharClass->setNegative(true);-
2579-
2580 return
executed 346 times by 86 tests: return Tok_CharClass;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • ...
Tok_CharClass;
executed 346 times by 86 tests: return Tok_CharClass;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • ...
346
2581 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
'?':
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
2582 yyMinRep = 0;-
2583 yyMaxRep = 1;-
2584 return
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
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
2585 case
executed 2044 times by 63 tests: case '[':
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
'[':
executed 2044 times by 63 tests: case '[':
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
2044
2586-
2587 if (yyCh == '^'
yyCh == '^'Description
TRUEevaluated 1207 times by 10 tests
Evaluated 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
FALSEevaluated 837 times by 57 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
) {
837-1207
2588 yyCharClass->setNegative(true);-
2589 yyCh = getChar();-
2590 }
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
2591 charPending = false;-
2592 rangePending = false;-
2593 do {-
2594 if (yyCh == '-'
yyCh == '-'Description
TRUEevaluated 1966 times by 54 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEevaluated 10032 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
&& charPending
charPendingDescription
TRUEevaluated 1965 times by 54 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QPrinterInfo
&& !rangePending
!rangePendingDescription
TRUEevaluated 1965 times by 54 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEnever evaluated
) {
0-10032
2595 rangePending = true;-
2596 yyCh = getChar();-
2597 }
executed 1965 times by 54 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
else {
1965
2598 if (charPending
charPendingDescription
TRUEevaluated 6932 times by 62 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEevaluated 3101 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
&& !rangePending
!rangePendingDescription
TRUEevaluated 4973 times by 25 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkReply
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
FALSEevaluated 1959 times by 54 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
) {
1959-6932
2599 yyCharClass->addSingleton(pendingCh);-
2600 charPending = false;-
2601 }
executed 4973 times by 25 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkReply
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
4973
2602 if (yyCh == '\\'
yyCh == '\\'Description
TRUEevaluated 5692 times by 15 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
FALSEevaluated 4341 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
) {
4341-5692
2603 yyCh = getChar();-
2604 tok = getEscape();-
2605 if (tok == Tok_Word
tok == Tok_WordDescription
TRUEnever evaluated
FALSEevaluated 5692 times by 15 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
)
0-5692
2606 tok = '\b';
never executed: tok = '\b';
0
2607 }
executed 5692 times by 15 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
else {
5692
2608 tok = Tok_Char | yyCh;-
2609 yyCh = getChar();-
2610 }
executed 4341 times by 63 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
4341
2611 if (tok == Tok_CharClass
tok == Tok_CharClassDescription
TRUEnever evaluated
FALSEevaluated 10033 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
) {
0-10033
2612 if (rangePending
rangePendingDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
2613 yyCharClass->addSingleton('-');-
2614 yyCharClass->addSingleton(pendingCh);-
2615 charPending = false;-
2616 rangePending = false;-
2617 }
never executed: end of block
0
2618 }
never executed: end of block
else if ((
(tok & Tok_Char) != 0Description
TRUEevaluated 10033 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
FALSEnever evaluated
tok & Tok_Char) != 0
(tok & Tok_Char) != 0Description
TRUEevaluated 10033 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
FALSEnever evaluated
) {
0-10033
2619 if (rangePending
rangePendingDescription
TRUEevaluated 1959 times by 54 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEevaluated 8074 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
) {
1959-8074
2620 yyCharClass->addRange(pendingCh, tok ^ Tok_Char);-
2621 charPending = false;-
2622 rangePending = false;-
2623 }
executed 1959 times by 54 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
else {
1959
2624 pendingCh = tok ^ Tok_Char;-
2625 charPending = true;-
2626 }
executed 8074 times by 63 tests: end of block
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
8074
2627 } else {-
2628 error("bad char class syntax");-
2629 }
never executed: end of block
0
2630 }-
2631 } while (yyCh != ']'
yyCh != ']'Description
TRUEevaluated 9974 times by 62 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEevaluated 2024 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
&& yyCh != EOS
yyCh != EOSDescription
TRUEevaluated 9954 times by 62 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • ...
FALSEevaluated 20 times by 1 test
Evaluated by:
  • tst_QRegExp
);
20-9974
2632 if (rangePending
rangePendingDescription
TRUEevaluated 6 times by 3 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QTime
FALSEevaluated 2038 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
)
6-2038
2633 yyCharClass->addSingleton('-');
executed 6 times by 3 tests: yyCharClass->addSingleton('-');
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QTime
6
2634 if (charPending
charPendingDescription
TRUEevaluated 1142 times by 43 tests
Evaluated by:
  • tst_ModelTest
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkReply
  • tst_QPixmap
  • ...
FALSEevaluated 902 times by 52 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
)
902-1142
2635 yyCharClass->addSingleton(pendingCh);
executed 1142 times by 43 tests: yyCharClass->addSingleton(pendingCh);
Executed by:
  • tst_ModelTest
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QMimeDatabase
  • tst_QNetworkReply
  • tst_QPixmap
  • ...
1142
2636 if (yyCh == EOS
yyCh == EOSDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 2024 times by 63 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
)
20-2024
2637 error("unexpected end");
executed 20 times by 1 test: error("unexpected end");
Executed by:
  • tst_QRegExp
20
2638 else-
2639 yyCh = getChar();
executed 2024 times by 63 tests: yyCh = getChar();
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
2024
2640 return
executed 2044 times by 63 tests: return Tok_CharClass;
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
Tok_CharClass;
executed 2044 times by 63 tests: return Tok_CharClass;
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • ...
2044
2641-
2642-
2643-
2644-
2645 case
executed 2018 times by 67 tests: case '\\':
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
'\\':
executed 2018 times by 67 tests: case '\\':
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
2018
2646 return
executed 2018 times by 67 tests: return getEscape();
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
getEscape();
executed 2018 times by 67 tests: return getEscape();
Executed by:
  • tst_Collections
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • ...
2018
2647 case
executed 22 times by 2 tests: case ']':
Executed by:
  • tst_QDataStream
  • tst_QRegExp
']':
executed 22 times by 2 tests: case ']':
Executed by:
  • tst_QDataStream
  • tst_QRegExp
22
2648 error("missing left delim");-
2649 return
executed 22 times by 2 tests: return Tok_Char | ']';
Executed by:
  • tst_QDataStream
  • tst_QRegExp
Tok_Char | ']';
executed 22 times by 2 tests: return Tok_Char | ']';
Executed by:
  • tst_QDataStream
  • tst_QRegExp
22
2650 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
  • ...
'^':
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
2651 return
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
  • ...
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
2652 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
'{':
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
2653-
2654 yyMinRep = getRep(0);-
2655 yyMaxRep = yyMinRep;-
2656 if (yyCh == ','
yyCh == ','Description
TRUEevaluated 597 times by 9 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QTime
FALSEevaluated 32 times by 6 tests
Evaluated by:
  • tst_QDataStream
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QTextEdit
) {
32-597
2657 yyCh = getChar();-
2658 yyMaxRep = getRep(InftyRep);-
2659 }
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
2660 if (yyMaxRep < yyMinRep
yyMaxRep < yyMinRepDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 628 times by 13 tests
Evaluated 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
2661 error("invalid interval");
executed 1 time by 1 test: error("invalid interval");
Executed by:
  • tst_QRegExp
1
2662 if (yyCh != '}'
yyCh != '}'Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • tst_QDataStream
FALSEevaluated 616 times by 12 tests
Evaluated 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
2663 error("bad repetition syntax");
executed 13 times by 1 test: error("bad repetition syntax");
Executed by:
  • tst_QDataStream
13
2664 yyCh = getChar();-
2665 return
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
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
2666-
2667-
2668-
2669-
2670 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
'|':
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
2671 return
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
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
2672 case
executed 13 times by 1 test: case '}':
Executed by:
  • tst_QDataStream
'}':
executed 13 times by 1 test: case '}':
Executed by:
  • tst_QDataStream
13
2673 error("missing left delim");-
2674 return
executed 13 times by 1 test: return Tok_Char | '}';
Executed by:
  • tst_QDataStream
Tok_Char | '}';
executed 13 times by 1 test: return Tok_Char | '}';
Executed by:
  • tst_QDataStream
13
2675 default
executed 21134 times by 70 tests: default:
Executed by:
  • tst_Lancelot
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • ...
:
executed 21134 times by 70 tests: default:
Executed by:
  • tst_Lancelot
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • ...
21134
2676 return
executed 21134 times by 70 tests: return Tok_Char | prevCh;
Executed by:
  • tst_Lancelot
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • ...
Tok_Char | prevCh;
executed 21134 times by 70 tests: return Tok_Char | prevCh;
Executed by:
  • tst_Lancelot
  • tst_QAbstractItemModel
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • ...
21134
2677 }-
2678}-
2679-
2680int QRegExpEngine::parse(const QChar *pattern, int len)-
2681{-
2682 valid = true;-
2683 startTokenizer(pattern, len);-
2684 yyTok = getToken();-
2685-
2686 yyMayCapture = true;-
2687-
2688-
2689-
2690-
2691-
2692 int atom = startAtom(false);-
2693-
2694 QRegExpCharClass anything;-
2695 Box box(this);-
2696 box.set(anything);-
2697 Box rightBox(this);-
2698 rightBox.set(anything);-
2699-
2700 Box middleBox(this);-
2701 parseExpression(&middleBox);-
2702-
2703 finishAtom(atom, false);-
2704-
2705-
2706 middleBox.setupHeuristics();-
2707-
2708 box.cat(middleBox);-
2709 box.cat(rightBox);-
2710 yyCharClass.reset(0);-
2711-
2712-
2713 for (int i = 0; i < nf
i < nfDescription
TRUEevaluated 31639 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 1678 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; ++i) {
1678-31639
2714 switch (f[i].capture) {-
2715 case
executed 29860 times by 116 tests: case QRegExpAtom::NoCapture:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
QRegExpAtom::NoCapture:
executed 29860 times by 116 tests: case QRegExpAtom::NoCapture:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
29860
2716 break;
executed 29860 times by 116 tests: break;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
29860
2717 case
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
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
2718 f[i].capture = ncap;-
2719 captureForOfficialCapture.append(ncap);-
2720 ++ncap;-
2721 ++officialncap;-
2722 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
2723 case
executed 1136 times by 1 test: case QRegExpAtom::UnofficialCapture:
Executed by:
  • tst_QRegExp
QRegExpAtom::UnofficialCapture:
executed 1136 times by 1 test: case QRegExpAtom::UnofficialCapture:
Executed by:
  • tst_QRegExp
1136
2724 f[i].capture = greedyQuantifiers
greedyQuantifiersDescription
TRUEevaluated 1136 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
? ncap++ : QRegExpAtom::NoCapture;
0-1136
2725 }
executed 1136 times by 1 test: end of block
Executed by:
  • tst_QRegExp
1136
2726 }
executed 31639 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
31639
2727-
2728-
2729-
2730 if (officialncap == 0
officialncap == 0Description
TRUEevaluated 1443 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 235 times by 25 tests
Evaluated 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
&& nbrefs == 0
nbrefs == 0Description
TRUEevaluated 1440 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRegExp
) {
3-1443
2731 ncap = nf = 0;-
2732 f.clear();-
2733 }
executed 1440 times by 110 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
1440
2734-
2735-
2736-
2737 for (int i = 0; i < nbrefs - officialncap
i < nbrefs - officialncapDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1678 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; ++i) {
11-1678
2738 captureForOfficialCapture.append(ncap);-
2739 ++ncap;-
2740 }
executed 11 times by 1 test: end of block
Executed by:
  • tst_QRegExp
11
2741-
2742-
2743-
2744 if (!yyError.isEmpty()
!yyError.isEmpty()Description
TRUEevaluated 52 times by 4 tests
Evaluated by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
FALSEevaluated 1626 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
)
52-1626
2745 return
executed 52 times by 4 tests: return -1;
Executed by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
-1;
executed 52 times by 4 tests: return -1;
Executed by:
  • tst_QDataStream
  • tst_QRegExp
  • tst_QString
  • tst_QXmlSimpleReader
52
2746-
2747-
2748 const QRegExpAutomatonState &sinit = s.at(InitialState);-
2749 caretAnchored = !sinit.anchors.isEmpty();-
2750 if (caretAnchored
caretAnchoredDescription
TRUEevaluated 1626 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEnever evaluated
) {
0-1626
2751 const QMap<int, int> &anchors = sinit.anchors;-
2752 QMap<int, int>::const_iterator a;-
2753 for (a = anchors.constBegin(); a != anchors.constEnd()
a != anchors.constEnd()Description
TRUEevaluated 1821 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 102 times by 28 tests
Evaluated 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
  • ...
; ++a) {
102-1821
2754 if (-
2755-
2756 (*
(*a & Anchor_Alternation) != 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1815 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
a & Anchor_Alternation) != 0
(*a & Anchor_Alternation) != 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1815 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
||
6-1815
2757-
2758 (*
(*a & Anchor_Caret) == 0Description
TRUEevaluated 1518 times by 111 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • ...
FALSEevaluated 297 times by 29 tests
Evaluated 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
  • ...
a & Anchor_Caret) == 0
(*a & Anchor_Caret) == 0Description
TRUEevaluated 1518 times by 111 tests
Evaluated by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • ...
FALSEevaluated 297 times by 29 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QPixmap
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • ...
)
297-1518
2759 {-
2760 caretAnchored = false;-
2761 break;
executed 1524 times by 111 tests: break;
Executed by:
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • tst_QFontComboBox
  • ...
1524
2762 }-
2763 }
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
2764 }
executed 1626 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1626
2765-
2766-
2767-
2768 int numStates = s.count();-
2769 for (int i = 0; i < numStates
i < numStatesDescription
TRUEevaluated 27968 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 1626 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
; ++i) {
1626-27968
2770 QRegExpAutomatonState &state = s[i];-
2771 if (!state.anchors.isEmpty()
!state.anchors.isEmpty()Description
TRUEevaluated 26334 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 1634 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
1634-26334
2772 QMap<int, int>::iterator a = state.anchors.begin();-
2773 while (a != state.anchors.end()
a != state.anchors.end()Description
TRUEevaluated 35214 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 26334 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
26334-35214
2774 if (a.value() == 0
a.value() == 0Description
TRUEevaluated 33366 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 1848 times by 29 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QPixmap
  • tst_QPrinterInfo
  • tst_QProcess
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • ...
)
1848-33366
2775 a = state.anchors.erase(a);
executed 33366 times by 116 tests: a = state.anchors.erase(a);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
33366
2776 else-
2777 ++
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
  • ...
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
2778 }-
2779 }
executed 26334 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
26334
2780 }
executed 27968 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
27968
2781-
2782 return
executed 1626 times by 116 tests: return yyPos0;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
yyPos0;
executed 1626 times by 116 tests: return yyPos0;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1626
2783}-
2784-
2785void QRegExpEngine::parseAtom(Box *box)-
2786{-
2787-
2788 QRegExpEngine *eng = 0;-
2789 bool neg;-
2790 int len;-
2791-
2792-
2793 if ((
(yyTok & Tok_Char) != 0Description
TRUEevaluated 22721 times by 82 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
FALSEevaluated 5282 times by 107 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
yyTok & Tok_Char) != 0
(yyTok & Tok_Char) != 0Description
TRUEevaluated 22721 times by 82 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
FALSEevaluated 5282 times by 107 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
) {
5282-22721
2794 box->set(QChar(yyTok ^ Tok_Char));-
2795 }
executed 22721 times by 82 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • ...
else {
22721
2796-
2797 trivial = false;-
2798-
2799 switch (yyTok) {-
2800 case
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
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
2801 box->catAnchor(Anchor_Dollar);-
2802 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
2803 case
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
  • ...
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
2804 box->catAnchor(Anchor_Caret);-
2805 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
2806-
2807 case
executed 36 times by 1 test: case Tok_PosLookahead:
Executed by:
  • tst_QRegExp
Tok_PosLookahead:
executed 36 times by 1 test: case Tok_PosLookahead:
Executed by:
  • tst_QRegExp
36
2808 case
executed 90 times by 2 tests: case Tok_NegLookahead:
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
Tok_NegLookahead:
executed 90 times by 2 tests: case Tok_NegLookahead:
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
90
2809 neg = (yyTok == Tok_NegLookahead);-
2810 eng = new QRegExpEngine(cs, greedyQuantifiers);-
2811 len = eng->parse(yyIn + yyPos - 1, yyLen - yyPos + 1);-
2812 if (len >= 0
len >= 0Description
TRUEevaluated 126 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
FALSEnever evaluated
)
0-126
2813 skipChars(len);
executed 126 times by 2 tests: skipChars(len);
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
126
2814 else-
2815 error("bad lookahead syntax");
never executed: error("bad lookahead syntax");
0
2816 box->catAnchor(addLookahead(eng, neg));-
2817 yyTok = getToken();-
2818 if (yyTok != Tok_RightParen
yyTok != Tok_RightParenDescription
TRUEnever evaluated
FALSEevaluated 126 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QTextDocument
)
0-126
2819 error("bad lookahead syntax");
never executed: error("bad lookahead syntax");
0
2820 break;
executed 126 times by 2 tests: break;
Executed by:
  • tst_QRegExp
  • tst_QTextDocument
126
2821-
2822-
2823 case
executed 2 times by 2 tests: case Tok_Word:
Executed by:
  • tst_QString
  • tst_qmakelib
Tok_Word:
executed 2 times by 2 tests: case Tok_Word:
Executed by:
  • tst_QString
  • tst_qmakelib
2
2824 box->catAnchor(Anchor_Word);-
2825 break;
executed 2 times by 2 tests: break;
Executed by:
  • tst_QString
  • tst_qmakelib
2
2826 case
never executed: case Tok_NonWord:
Tok_NonWord:
never executed: case Tok_NonWord:
0
2827 box->catAnchor(Anchor_NonWord);-
2828 break;
never executed: break;
0
2829-
2830 case
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
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
2831 case
executed 865 times by 5 tests: case Tok_MagicLeftParen:
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTime
Tok_MagicLeftParen:
executed 865 times by 5 tests: case Tok_MagicLeftParen:
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QTime
865
2832 yyTok = getToken();-
2833 parseExpression(box);-
2834 if (yyTok != Tok_RightParen
yyTok != Tok_RightParenDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 1663 times by 25 tests
Evaluated 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
2835 error("unexpected end");
executed 1 time by 1 test: error("unexpected end");
Executed by:
  • tst_QRegExp
1
2836 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
2837 case
executed 3053 times by 107 tests: case Tok_CharClass:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
Tok_CharClass:
executed 3053 times by 107 tests: case Tok_CharClass:
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
3053
2838 box->set(*yyCharClass);-
2839 break;
executed 3053 times by 107 tests: break;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
3053
2840 case
executed 10 times by 1 test: case Tok_Quantifier:
Executed by:
  • tst_QRegExp
Tok_Quantifier:
executed 10 times by 1 test: case Tok_Quantifier:
Executed by:
  • tst_QRegExp
10
2841 error("bad repetition syntax");-
2842 break;
executed 10 times by 1 test: break;
Executed by:
  • tst_QRegExp
10
2843 default
executed 190 times by 1 test: default:
Executed by:
  • tst_QRegExp
:
executed 190 times by 1 test: default:
Executed by:
  • tst_QRegExp
190
2844-
2845 if ((
(yyTok & Tok_BackRef) != 0Description
TRUEevaluated 190 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
yyTok & Tok_BackRef) != 0
(yyTok & Tok_BackRef) != 0Description
TRUEevaluated 190 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEnever evaluated
)
0-190
2846 box->set(yyTok ^ Tok_BackRef);
executed 190 times by 1 test: box->set(yyTok ^ Tok_BackRef);
Executed by:
  • tst_QRegExp
190
2847 else-
2848-
2849 error("disabled feature used");
never executed: error("disabled feature used");
0
2850 }-
2851 }-
2852 yyTok = getToken();-
2853}
executed 28003 times by 110 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
28003
2854-
2855void QRegExpEngine::parseFactor(Box *box)-
2856{-
2857-
2858 int outerAtom = greedyQuantifiers
greedyQuantifiersDescription
TRUEevaluated 2459 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 25043 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
? startAtom(false) : -1;
2459-25043
2859 int innerAtom = startAtom(yyMayCapture && yyTok == Tok_LeftParen);-
2860 bool magicLeftParen = (yyTok == Tok_MagicLeftParen);-
2861 const QChar *in = yyIn;-
2862 int pos0 = yyPos0;-
2863 int pos = yyPos;-
2864 int len = yyLen;-
2865 int ch = yyCh;-
2866 QRegExpCharClass charClass;-
2867 if (yyTok == Tok_CharClass
yyTok == Tok_CharClassDescription
TRUEevaluated 2698 times by 107 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 24804 times by 83 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
)
2698-24804
2868 charClass = *yyCharClass;
executed 2698 times by 107 tests: charClass = *yyCharClass;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
2698
2869 int tok = yyTok;-
2870 bool mayCapture = yyMayCapture;-
2871-
2872-
2873 parseAtom(box);-
2874-
2875 finishAtom(innerAtom, magicLeftParen);-
2876-
2877-
2878 bool hasQuantifier = (yyTok == Tok_Quantifier);-
2879 if (hasQuantifier
hasQuantifierDescription
TRUEevaluated 2455 times by 98 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 25047 times by 89 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • ...
) {
2455-25047
2880-
2881 trivial = false;-
2882-
2883 if (yyMaxRep == InftyRep
yyMaxRep == InftyRepDescription
TRUEevaluated 2194 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
FALSEevaluated 261 times by 16 tests
Evaluated by:
  • tst_Collections
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_QTime
) {
261-2194
2884 box->plus(innerAtom);-
2885-
2886 }
executed 2194 times by 97 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
else if (yyMaxRep == 0
yyMaxRep == 0Description
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • tst_QDataStream
  • tst_QRegExp
FALSEevaluated 239 times by 16 tests
Evaluated by:
  • tst_Collections
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_QTime
) {
22-2194
2887 box->clear();-
2888-
2889 }
executed 22 times by 2 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QRegExp
22
2890 if (yyMinRep == 0
yyMinRep == 0Description
TRUEevaluated 2100 times by 93 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 355 times by 26 tests
Evaluated by:
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFtp
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QLibrary
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTime
  • ...
)
355-2100
2891 box->opt();
executed 2100 times by 93 tests: box->opt();
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
2100
2892-
2893-
2894 yyMayCapture = false;-
2895 int alpha = (
(yyMinRep == 0)Description
TRUEevaluated 2100 times by 93 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 355 times by 26 tests
Evaluated 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
  • ...
yyMinRep == 0)
(yyMinRep == 0)Description
TRUEevaluated 2100 times by 93 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
FALSEevaluated 355 times by 26 tests
Evaluated 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
  • ...
? 0 : yyMinRep - 1;
355-2100
2896 int beta = (
(yyMaxRep == InftyRep)Description
TRUEevaluated 2194 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
FALSEevaluated 261 times by 16 tests
Evaluated 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
yyMaxRep == InftyRep)
(yyMaxRep == InftyRep)Description
TRUEevaluated 2194 times by 97 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • tst_QFiledialog
  • ...
FALSEevaluated 261 times by 16 tests
Evaluated 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
? 0 : yyMaxRep - (alpha + 1);
261-2194
2897-
2898 Box rightBox(this);-
2899 int i;-
2900-
2901 for (i = 0; i < beta
i < betaDescription
TRUEevaluated 96 times by 8 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QTime
FALSEevaluated 2455 times by 98 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
; i++) {
96-2455
2902 yyIn = in, yyPos0 = pos0, yyPos = pos, yyLen = len, yyCh = ch, *yyCharClass = charClass, yyMinRep = 0, yyMaxRep = 0, yyTok = tok;-
2903 Box leftBox(this);-
2904 parseAtom(&leftBox);-
2905 leftBox.cat(rightBox);-
2906 leftBox.opt();-
2907 rightBox = leftBox;-
2908 }
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
2909 for (i = 0; i < alpha
i < alphaDescription
TRUEevaluated 405 times by 6 tests
Evaluated by:
  • tst_QFtp
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QTextEdit
FALSEevaluated 2455 times by 98 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
; i++) {
405-2455
2910 yyIn = in, yyPos0 = pos0, yyPos = pos, yyLen = len, yyCh = ch, *yyCharClass = charClass, yyMinRep = 0, yyMaxRep = 0, yyTok = tok;-
2911 Box leftBox(this);-
2912 parseAtom(&leftBox);-
2913 leftBox.cat(rightBox);-
2914 rightBox = leftBox;-
2915 }
executed 405 times by 6 tests: end of block
Executed by:
  • tst_QFtp
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QTextEdit
405
2916 rightBox.cat(*box);-
2917 *box = rightBox;-
2918-
2919 yyTok = getToken();-
2920-
2921 yyMayCapture = mayCapture;-
2922-
2923 }
executed 2455 times by 98 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFileSystemWatcher
  • ...
2455
2924-
2925-
2926 if (greedyQuantifiers
greedyQuantifiersDescription
TRUEevaluated 2459 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 25043 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
)
2459-25043
2927 finishAtom(outerAtom, hasQuantifier);
executed 2459 times by 1 test: finishAtom(outerAtom, hasQuantifier);
Executed by:
  • tst_QRegExp
2459
2928-
2929}
executed 27502 times by 110 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
27502
2930-
2931void QRegExpEngine::parseTerm(Box *box)-
2932{-
2933-
2934 if (yyTok != Tok_Eos
yyTok != Tok_EosDescription
TRUEevaluated 3654 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 154 times by 21 tests
Evaluated 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
&& yyTok != Tok_RightParen
yyTok != Tok_RightParenDescription
TRUEevaluated 3567 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 87 times by 6 tests
Evaluated by:
  • tst_QDataStream
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QString
&& yyTok != Tok_Bar
yyTok != Tok_BarDescription
TRUEevaluated 3551 times by 110 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_QRegExp
)
16-3654
2935 parseFactor(box);
executed 3551 times by 110 tests: parseFactor(box);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
3551
2936-
2937 while (yyTok != Tok_Eos
yyTok != Tok_EosDescription
TRUEevaluated 26206 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 1553 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
&& yyTok != Tok_RightParen
yyTok != Tok_RightParenDescription
TRUEevaluated 24417 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 1789 times by 25 tests
Evaluated 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
&& yyTok != Tok_Bar
yyTok != Tok_BarDescription
TRUEevaluated 23951 times by 81 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
FALSEevaluated 466 times by 11 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
) {
466-26206
2938 Box rightBox(this);-
2939 parseFactor(&rightBox);-
2940 box->cat(rightBox);-
2941 }
executed 23951 times by 81 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
23951
2942}
executed 3808 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
3808
2943-
2944void QRegExpEngine::parseExpression(Box *box)-
2945{-
2946 parseTerm(box);-
2947 while (yyTok == Tok_Bar
yyTok == Tok_BarDescription
TRUEevaluated 466 times by 11 tests
Evaluated by:
  • tst_QDataStream
  • tst_QFtp
  • tst_QItemModel
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslKey
FALSEevaluated 3342 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
) {
466-3342
2948-
2949 trivial = false;-
2950-
2951 Box rightBox(this);-
2952 yyTok = getToken();-
2953 parseTerm(&rightBox);-
2954 box->orx(rightBox);-
2955 }
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
2956}
executed 3342 times by 116 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
3342
2957-
2958-
2959-
2960-
2961-
2962-
2963-
2964struct QRegExpPrivate-
2965{-
2966 QRegExpEngine *eng;-
2967 QRegExpEngineKey engineKey;-
2968 bool minimal;-
2969-
2970 QString t;-
2971 QStringList capturedCache;-
2972-
2973 QRegExpMatchState matchState;-
2974-
2975 inline QRegExpPrivate()-
2976 : eng(0), engineKey(QString(), QRegExp::RegExp, Qt::CaseSensitive), minimal(false) { }
executed 467872 times by 154 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • ...
467872
2977 inline QRegExpPrivate(const QRegExpEngineKey &key)-
2978 : eng(0), engineKey(key), minimal(false) {}
executed 156415 times by 161 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
156415
2979};-
2980-
2981-
2982typedef QCache<QRegExpEngineKey, QRegExpEngine> EngineCache;-
2983namespace { namespace Q_QGS_globalEngineCache { typedef EngineCache Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized
guard.load() =...c::InitializedDescription
TRUEevaluated 413 times by 286 tests
Evaluated 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
  • ...
FALSEnever evaluated
) guard.store(QtGlobalStatic::Destroyed);
executed 413 times by 286 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_collections - unknown status
  • tst_gestures - unknown status
  • tst_lancelot - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractfileengine - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractprintdialog - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbrush - unknown status
  • tst_qbuttongroup - unknown status
  • ...
}
executed 413 times by 286 tests: end of block
Executed by:
  • tst_collections - unknown status
  • tst_gestures - unknown status
  • tst_lancelot - unknown status
  • tst_languagechange - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractfileengine - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractprintdialog - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • tst_qactiongroup - unknown status
  • tst_qapplication - unknown status
  • tst_qbackingstore - unknown status
  • tst_qboxlayout - unknown status
  • tst_qbrush - unknown status
  • tst_qbuttongroup - unknown status
  • ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return
executed 629042 times by 167 tests: return &holder.value;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
&holder.value;
executed 629042 times by 167 tests: return &holder.value;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
} } } static QGlobalStatic<EngineCache, Q_QGS_globalEngineCache::innerFunction, Q_QGS_globalEngineCache::guard> globalEngineCache;
0-629042
2984static QBasicMutex globalEngineCacheMutex;-
2985-
2986-
2987static void derefEngine(QRegExpEngine *eng, const QRegExpEngineKey &key)-
2988{-
2989 if (!eng->ref.deref()
!eng->ref.deref()Description
TRUEevaluated 157259 times by 167 tests
Evaluated 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
  • ...
FALSEevaluated 467662 times by 152 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
) {
157259-467662
2990-
2991 if (globalEngineCache()
globalEngineCache()Description
TRUEevaluated 157259 times by 167 tests
Evaluated 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
  • ...
FALSEnever evaluated
) {
0-157259
2992 QMutexLocker locker(&globalEngineCacheMutex);-
2993 try {-
2994 globalEngineCache()->insert(key, eng, 4 + key.pattern.length() / 4);-
2995 }
executed 157259 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
catch (const std::bad_alloc &) {
157259
2996-
2997 delete eng;-
2998 }
never executed: end of block
0
2999 } else {-
3000 delete eng;-
3001 }
never executed: end of block
0
3002-
3003-
3004-
3005-
3006 }-
3007}
executed 624921 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
624921
3008-
3009static void prepareEngine_helper(QRegExpPrivate *priv)-
3010{-
3011 bool initMatchState = !priv->eng;-
3012-
3013 if (!priv->eng
!priv->engDescription
TRUEevaluated 157262 times by 162 tests
Evaluated 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
  • ...
FALSEnever evaluated
&& globalEngineCache()
globalEngineCache()Description
TRUEevaluated 157262 times by 162 tests
Evaluated 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
  • ...
FALSEnever evaluated
) {
0-157262
3014 QMutexLocker locker(&globalEngineCacheMutex);-
3015 priv->eng = globalEngineCache()->take(priv->engineKey);-
3016 if (priv->eng != 0
priv->eng != 0Description
TRUEevaluated 155710 times by 131 tests
Evaluated 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
  • ...
FALSEevaluated 1552 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
)
1552-155710
3017 priv->eng->ref.ref();
executed 155710 times by 131 tests: priv->eng->ref.ref();
Executed by:
  • tst_ModelTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • ...
155710
3018 }
executed 157262 times by 162 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
157262
3019-
3020-
3021 if (!priv->eng
!priv->engDescription
TRUEevaluated 1552 times by 116 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
FALSEevaluated 155710 times by 131 tests
Evaluated by:
  • tst_ModelTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • ...
)
1552-155710
3022 priv->eng = new QRegExpEngine(priv->engineKey);
executed 1552 times by 116 tests: priv->eng = new QRegExpEngine(priv->engineKey);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFactoryLoader
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • ...
1552
3023-
3024 if (initMatchState
initMatchStateDescription
TRUEevaluated 157262 times by 162 tests
Evaluated 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
  • ...
FALSEnever evaluated
)
0-157262
3025 priv->matchState.prepareForMatch(priv->eng);
executed 157262 times by 162 tests: priv->matchState.prepareForMatch(priv->eng);
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
157262
3026}
executed 157262 times by 162 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
157262
3027-
3028inline static void prepareEngine(QRegExpPrivate *priv)-
3029{-
3030 if (priv->eng
priv->engDescription
TRUEevaluated 1558958 times by 162 tests
Evaluated 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
  • ...
FALSEevaluated 157262 times by 162 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
)
157262-1558958
3031 return;
executed 1558958 times by 162 tests: return;
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
1558958
3032 prepareEngine_helper(priv);-
3033}
executed 157262 times by 162 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
157262
3034-
3035static void prepareEngineForMatch(QRegExpPrivate *priv, const QString &str)-
3036{-
3037 prepareEngine(priv);-
3038 priv->matchState.prepareForMatch(priv->eng);-
3039-
3040 priv->t = str;-
3041 priv->capturedCache.clear();-
3042-
3043-
3044-
3045}
executed 994552 times by 88 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • ...
994552
3046-
3047static void invalidateEngine(QRegExpPrivate *priv)-
3048{-
3049 if (priv->eng != 0
priv->eng != 0Description
TRUEevaluated 624921 times by 167 tests
Evaluated 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
  • ...
FALSEevaluated 467301 times by 152 tests
Evaluated by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
) {
467301-624921
3050 derefEngine(priv->eng, priv->engineKey);-
3051 priv->eng = 0;-
3052 priv->matchState.drain();-
3053 }
executed 624921 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
624921
3054}
executed 1092222 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
1092222
3055QRegExp::QRegExp()-
3056{-
3057 priv = new QRegExpPrivate;-
3058 prepareEngine(priv);-
3059}
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
3060QRegExp::QRegExp(const QString &pattern, Qt::CaseSensitivity cs, PatternSyntax syntax)-
3061{-
3062 priv = new QRegExpPrivate(QRegExpEngineKey(pattern, syntax, cs));-
3063 prepareEngine(priv);-
3064}
executed 156415 times by 161 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
156415
3065-
3066-
3067-
3068-
3069-
3070-
3071QRegExp::QRegExp(const QRegExp &rx)-
3072{-
3073 priv = new QRegExpPrivate;-
3074 operator=(rx);-
3075}
executed 467263 times by 152 tests: end of block
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
467263
3076-
3077-
3078-
3079-
3080QRegExp::~QRegExp()-
3081{-
3082 invalidateEngine(priv);-
3083 delete priv;-
3084}
executed 624284 times by 167 tests: end of block
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • ...
624284
3085-
3086-
3087-
3088-
3089-
3090-
3091QRegExp &QRegExp::operator=(const QRegExp &rx)-
3092{-
3093 prepareEngine(rx.priv);-
3094 QRegExpEngine *otherEng = rx.priv->eng;-
3095 if (otherEng
otherEngDescription
TRUEevaluated 467662 times by 152 tests
Evaluated 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
  • ...
FALSEnever evaluated
)
0-467662
3096 otherEng->ref.ref();
executed 467662 times by 152 tests: otherEng->ref.ref();
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
467662
3097 invalidateEngine(priv);-
3098 priv->eng = otherEng;-
3099 priv->engineKey = rx.priv->engineKey;-
3100 priv->minimal = rx.priv->minimal;-
3101-
3102 priv->t = rx.priv->t;-
3103 priv->capturedCache = rx.priv->capturedCache;-
3104-
3105 if (priv->eng
priv->engDescription
TRUEevaluated 467662 times by 152 tests
Evaluated 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
  • ...
FALSEnever evaluated
)
0-467662
3106 priv->matchState.prepareForMatch(priv->eng);
executed 467662 times by 152 tests: priv->matchState.prepareForMatch(priv->eng);
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
467662
3107 priv->matchState.captured = rx.priv->matchState.captured;-
3108 return
executed 467662 times by 152 tests: return *this;
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
*this;
executed 467662 times by 152 tests: return *this;
Executed by:
  • tst_Lancelot
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractFileEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusInterface
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDir
  • tst_QDirIterator
  • ...
467662
3109}-
3110bool QRegExp::operator==(const QRegExp &rx) const-
3111{-
3112 return
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
priv->engineKey == rx.priv->engineKey && priv->minimal == rx.priv->minimal;
executed 2237 times by 5 tests: return priv->engineKey == rx.priv->engineKey && priv->minimal == rx.priv->minimal;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QVariant
2237
3113}-
3114uint qHash(const QRegExp &key, uint seed) noexcept-
3115{-
3116 QtPrivate::QHashCombine hash;-
3117 seed = hash(seed, key.priv->engineKey);-
3118 seed = hash(seed, key.priv->minimal);-
3119 return
executed 2048 times by 1 test: return seed;
Executed by:
  • tst_QRegExp
seed;
executed 2048 times by 1 test: return seed;
Executed by:
  • tst_QRegExp
2048
3120}-
3121bool QRegExp::isEmpty() const-
3122{-
3123 return
executed 70068 times by 18 tests: return priv->engineKey.pattern.isEmpty();
Executed by:
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QHeaderView
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSqlQueryModel
  • tst_QTableView
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_QTreeView
  • tst_qmakelib
priv->engineKey.pattern.isEmpty();
executed 70068 times by 18 tests: return priv->engineKey.pattern.isEmpty();
Executed by:
  • tst_ModelTest
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QHeaderView
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSqlQueryModel
  • tst_QTableView
  • tst_QTextDocument
  • tst_QTextEdit
  • tst_QTreeView
  • tst_qmakelib
70068
3124}-
3125bool QRegExp::isValid() const-
3126{-
3127 if (priv->engineKey.pattern.isEmpty()
priv->engineKe...tern.isEmpty()Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QStateMachine
FALSEevaluated 2263 times by 7 tests
Evaluated by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_languageChange
  • tst_qstandardpaths
  • tst_uic
) {
32-2263
3128 return
executed 32 times by 2 tests: return true;
Executed by:
  • tst_QRegExp
  • tst_QStateMachine
true;
executed 32 times by 2 tests: return true;
Executed by:
  • tst_QRegExp
  • tst_QStateMachine
32
3129 } else {-
3130 prepareEngine(priv);-
3131 return
executed 2263 times by 7 tests: return priv->eng->isValid();
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_languageChange
  • tst_qstandardpaths
  • tst_uic
priv->eng->isValid();
executed 2263 times by 7 tests: return priv->eng->isValid();
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRegExp
  • tst_languageChange
  • tst_qstandardpaths
  • tst_uic
2263
3132 }-
3133}-
3134QString QRegExp::pattern() const-
3135{-
3136 return
executed 610 times by 14 tests: return priv->engineKey.pattern;
Executed by:
  • tst_ModelTest
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QMetaType
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QVariant
  • tst_languageChange
priv->engineKey.pattern;
executed 610 times by 14 tests: return priv->engineKey.pattern;
Executed by:
  • tst_ModelTest
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QMetaType
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QVariant
  • tst_languageChange
610
3137}-
3138-
3139-
3140-
3141-
3142-
3143-
3144-
3145void QRegExp::setPattern(const QString &pattern)-
3146{-
3147 if (priv->engineKey.pattern != pattern
priv->engineKe...ern != patternDescription
TRUEevaluated 74 times by 4 tests
Evaluated by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_qmakelib
FALSEevaluated 11 times by 2 tests
Evaluated by:
  • tst_QRegExp
  • tst_QSortFilterProxyModel
) {
11-74
3148 invalidateEngine(priv);-
3149 priv->engineKey.pattern = pattern;-
3150 }
executed 74 times by 4 tests: end of block
Executed by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_qmakelib
74
3151}
executed 85 times by 4 tests: end of block
Executed by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_qmakelib
85
3152-
3153-
3154-
3155-
3156-
3157-
3158-
3159Qt::CaseSensitivity QRegExp::caseSensitivity() const-
3160{-
3161 return
executed 173 times by 3 tests: return priv->engineKey.cs;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
priv->engineKey.cs;
executed 173 times by 3 tests: return priv->engineKey.cs;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
173
3162}-
3163void QRegExp::setCaseSensitivity(Qt::CaseSensitivity cs)-
3164{-
3165 if ((
(bool)cs != (b...->engineKey.csDescription
TRUEevaluated 16 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
FALSEevaluated 63 times by 4 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
bool)cs != (bool)priv->engineKey.cs
(bool)cs != (b...->engineKey.csDescription
TRUEevaluated 16 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
FALSEevaluated 63 times by 4 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
) {
16-63
3166 invalidateEngine(priv);-
3167 priv->engineKey.cs = cs;-
3168 }
executed 16 times by 3 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
16
3169}
executed 79 times by 4 tests: end of block
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_qmakelib
79
3170-
3171-
3172-
3173-
3174-
3175-
3176-
3177QRegExp::PatternSyntax QRegExp::patternSyntax() const-
3178{-
3179 return
executed 177 times by 4 tests: return priv->engineKey.patternSyntax;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QRegExp
  • tst_QVariant
priv->engineKey.patternSyntax;
executed 177 times by 4 tests: return priv->engineKey.patternSyntax;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QRegExp
  • tst_QVariant
177
3180}-
3181void QRegExp::setPatternSyntax(PatternSyntax syntax)-
3182{-
3183 if (syntax != priv->engineKey.patternSyntax
syntax != priv....patternSyntaxDescription
TRUEevaluated 186 times by 4 tests
Evaluated by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QTextDocument
FALSEevaluated 45 times by 3 tests
Evaluated by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
) {
45-186
3184 invalidateEngine(priv);-
3185 priv->engineKey.patternSyntax = syntax;-
3186 }
executed 186 times by 4 tests: end of block
Executed by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QTextDocument
186
3187}
executed 231 times by 4 tests: end of block
Executed by:
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QTextDocument
231
3188-
3189-
3190-
3191-
3192-
3193-
3194-
3195bool QRegExp::isMinimal() const-
3196{-
3197 return
executed 173 times by 3 tests: return priv->minimal;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
priv->minimal;
executed 173 times by 3 tests: return priv->minimal;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
173
3198}-
3199void QRegExp::setMinimal(bool minimal)-
3200{-
3201 priv->minimal = minimal;-
3202}
executed 589 times by 5 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QRegExp
  • tst_QVariant
  • tst_selftests - unknown status
589
3203bool QRegExp::exactMatch(const QString &str) const-
3204{-
3205 prepareEngineForMatch(priv, str);-
3206 priv->matchState.match(str.unicode(), str.length(), 0, priv->minimal, true, 0);-
3207 if (priv->matchState.captured[1] == str.length()
priv->matchSta...= str.length()Description
TRUEevaluated 218548 times by 36 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QStringList
  • ...
FALSEevaluated 383147 times by 52 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • ...
) {
218548-383147
3208 return
executed 218548 times by 36 tests: return true;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QStringList
  • ...
true;
executed 218548 times by 36 tests: return true;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QDir
  • tst_QDirIterator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QHttpNetworkConnection
  • tst_QLibrary
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QPlugin
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSslCertificate
  • tst_QSslEllipticCurve
  • tst_QSslError
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QStringList
  • ...
218548
3209 } else {-
3210 priv->matchState.captured[0] = 0;-
3211 priv->matchState.captured[1] = priv->matchState.oneTestMatchedLen;-
3212 return
executed 383147 times by 52 tests: return false;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • ...
false;
executed 383147 times by 52 tests: return false;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractItemModel
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDir
  • tst_QDirIterator
  • tst_QDirModel
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QIcon
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkDiskCache
  • ...
383147
3213 }-
3214}-
3215int QRegExp::indexIn(const QString &str, int offset, CaretMode caretMode) const-
3216{-
3217 prepareEngineForMatch(priv, str);-
3218 if (offset < 0
offset < 0Description
TRUEnever evaluated
FALSEevaluated 391908 times by 49 tests
Evaluated by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • ...
)
0-391908
3219 offset += str.length();
never executed: offset += str.length();
0
3220 priv->matchState.match(str.unicode(), str.length(), offset,-
3221 priv->minimal, false, caretIndex(offset, caretMode));-
3222 return
executed 391908 times by 49 tests: return priv->matchState.captured[0];
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • ...
priv->matchState.captured[0];
executed 391908 times by 49 tests: return priv->matchState.captured[0];
Executed by:
  • tst_Collections
  • tst_Lancelot
  • tst_ModelTest
  • tst_QDBusInterface
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QIcon
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QItemModel
  • tst_QItemSelectionModel
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QObject
  • tst_QPlainTextEdit
  • tst_QPrinterInfo
  • ...
391908
3223}-
3224int QRegExp::lastIndexIn(const QString &str, int offset, CaretMode caretMode) const-
3225{-
3226 prepareEngineForMatch(priv, str);-
3227 if (offset < 0
offset < 0Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 925 times by 5 tests
Evaluated by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
)
24-925
3228 offset += str.length();
executed 24 times by 1 test: offset += str.length();
Executed by:
  • tst_QString
24
3229 if (offset < 0
offset < 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 941 times by 5 tests
Evaluated by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
|| offset > str.length()
offset > str.length()Description
TRUEnever evaluated
FALSEevaluated 941 times by 5 tests
Evaluated by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
) {
0-941
3230 memset(priv->matchState.captured, -1, priv->matchState.capturedSize*sizeof(int));-
3231 return
executed 8 times by 1 test: return -1;
Executed by:
  • tst_QString
-1;
executed 8 times by 1 test: return -1;
Executed by:
  • tst_QString
8
3232 }-
3233-
3234 while (offset >= 0
offset >= 0Description
TRUEevaluated 31883 times by 5 tests
Evaluated by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
FALSEevaluated 602 times by 3 tests
Evaluated by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
) {
602-31883
3235 priv->matchState.match(str.unicode(), str.length(), offset,-
3236 priv->minimal, true, caretIndex(offset, caretMode));-
3237 if (priv->matchState.captured[0] == offset
priv->matchSta...d[0] == offsetDescription
TRUEevaluated 339 times by 5 tests
Evaluated by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
FALSEevaluated 31544 times by 5 tests
Evaluated by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
)
339-31544
3238 return
executed 339 times by 5 tests: return offset;
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
offset;
executed 339 times by 5 tests: return offset;
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
339
3239 --offset;-
3240 }
executed 31544 times by 5 tests: end of block
Executed by:
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
  • tst_QTextEdit
31544
3241 return
executed 602 times by 3 tests: return -1;
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
-1;
executed 602 times by 3 tests: return -1;
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_QTextDocument
602
3242}-
3243-
3244-
3245-
3246-
3247-
3248-
3249-
3250int QRegExp::matchedLength() const-
3251{-
3252 return
executed 26858 times by 27 tests: return priv->matchState.captured[1];
Executed by:
  • tst_Lancelot
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSharedMemory
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QXmlSimpleReader
  • tst_languageChange
  • tst_qmakelib
  • ...
priv->matchState.captured[1];
executed 26858 times by 27 tests: return priv->matchState.captured[1];
Executed by:
  • tst_Lancelot
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QImage
  • tst_QImageReader
  • tst_QImageWriter
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QProcess
  • tst_QRegExp
  • tst_QRegExpValidator
  • tst_QSharedMemory
  • tst_QSslCertificate
  • tst_QString
  • tst_QStringList
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QXmlSimpleReader
  • tst_languageChange
  • tst_qmakelib
  • ...
26858
3253}-
3254-
3255-
3256-
3257-
3258-
3259-
3260-
3261int QRegExp::captureCount() const-
3262{-
3263 prepareEngine(priv);-
3264 return
executed 90738 times by 17 tests: return priv->eng->captureCount();
Executed by:
  • tst_Lancelot
  • tst_QFontComboBox
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringList
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QXmlSimpleReader
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
  • tst_uic
priv->eng->captureCount();
executed 90738 times by 17 tests: return priv->eng->captureCount();
Executed by:
  • tst_Lancelot
  • tst_QFontComboBox
  • tst_QPlainTextEdit
  • tst_QRegExp
  • tst_QSharedMemory
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringList
  • tst_QSystemSemaphore
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QXmlSimpleReader
  • tst_qmakelib
  • tst_qsharedmemory - unknown status
  • tst_qsystemsemaphore - unknown status
  • tst_uic
90738
3265}-
3266QStringList QRegExp::capturedTexts() const-
3267{-
3268 if (priv->capturedCache.isEmpty()
priv->capturedCache.isEmpty()Description
TRUEevaluated 3981 times by 21 tests
Evaluated 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
FALSEevaluated 335 times by 6 tests
Evaluated by:
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_qmakelib
) {
335-3981
3269 prepareEngine(priv);-
3270 const int *captured = priv->matchState.captured;-
3271 int n = priv->matchState.capturedSize;-
3272-
3273 for (int i = 0; i < n
i < nDescription
TRUEevaluated 16628 times by 21 tests
Evaluated 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
FALSEevaluated 3981 times by 21 tests
Evaluated 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
; i += 2) {
3981-16628
3274 QString m;-
3275 if (captured[i + 1] == 0
captured[i + 1] == 0Description
TRUEevaluated 160 times by 1 test
Evaluated by:
  • tst_QRegExp
FALSEevaluated 16468 times by 21 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
)
160-16468
3276 m = QLatin1String("");
executed 160 times by 1 test: m = QLatin1String("");
Executed by:
  • tst_QRegExp
160
3277 else if (captured[i] >= 0
captured[i] >= 0Description
TRUEevaluated 11480 times by 21 tests
Evaluated 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
FALSEevaluated 4988 times by 9 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QString
  • tst_QTime
  • tst_qmakelib
)
4988-11480
3278 m = priv->t.mid(captured[i], captured[i + 1]);
executed 11480 times by 21 tests: m = priv->t.mid(captured[i], captured[i + 1]);
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
11480
3279 priv->capturedCache.append(m);-
3280 }
executed 16628 times by 21 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
16628
3281 priv->t.clear();-
3282 }
executed 3981 times by 21 tests: end of block
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
3981
3283 return
executed 4316 times by 21 tests: return priv->capturedCache;
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
priv->capturedCache;
executed 4316 times by 21 tests: return priv->capturedCache;
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFtp
  • tst_QGraphicsProxyWidget
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTemporaryDir
  • tst_QTextDocument
  • tst_QTime
  • tst_languageChange
  • tst_qmakelib
  • tst_qstandardpaths
4316
3284}-
3285-
3286-
3287-
3288-
3289QStringList QRegExp::capturedTexts()-
3290{-
3291 return
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
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
3292}-
3293QString QRegExp::cap(int nth) const-
3294{-
3295 return
executed 1180 times by 12 tests: return capturedTexts().value(nth);
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
capturedTexts().value(nth);
executed 1180 times by 12 tests: return capturedTexts().value(nth);
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
1180
3296}-
3297-
3298-
3299-
3300-
3301QString QRegExp::cap(int nth)-
3302{-
3303 return
executed 1180 times by 12 tests: return const_cast<const QRegExp *>(this)->cap(nth);
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
const_cast<const QRegExp *>(this)->cap(nth);
executed 1180 times by 12 tests: return const_cast<const QRegExp *>(this)->cap(nth);
Executed by:
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QNetworkReply
  • tst_QRegExp
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QString
  • tst_QStringList
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
1180
3304}-
3305int QRegExp::pos(int nth) const-
3306{-
3307 if (nth < 0
nth < 0Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tst_QRegExp
|| nth >= priv->matchState.capturedSize / 2
nth >= priv->m...pturedSize / 2Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tst_QRegExp
)
0-52
3308 return
never executed: return -1;
-1;
never executed: return -1;
0
3309 else-
3310 return
executed 52 times by 1 test: return priv->matchState.captured[2 * nth];
Executed by:
  • tst_QRegExp
priv->matchState.captured[2 * nth];
executed 52 times by 1 test: return priv->matchState.captured[2 * nth];
Executed by:
  • tst_QRegExp
52
3311}-
3312-
3313-
3314-
3315-
3316int QRegExp::pos(int nth)-
3317{-
3318 return
executed 52 times by 1 test: return const_cast<const QRegExp *>(this)->pos(nth);
Executed by:
  • tst_QRegExp
const_cast<const QRegExp *>(this)->pos(nth);
executed 52 times by 1 test: return const_cast<const QRegExp *>(this)->pos(nth);
Executed by:
  • tst_QRegExp
52
3319}-
3320-
3321-
3322-
3323-
3324-
3325-
3326-
3327QString QRegExp::errorString() const-
3328{-
3329 if (isValid()
isValid()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
3330 return
never executed: return QString::fromLatin1("no error occurred");
QString::fromLatin1("no error occurred");
never executed: return QString::fromLatin1("no error occurred");
0
3331 } else {-
3332 return
never executed: return priv->eng->errorString();
priv->eng->errorString();
never executed: return priv->eng->errorString();
0
3333 }-
3334}-
3335-
3336-
3337-
3338-
3339QString QRegExp::errorString()-
3340{-
3341 return
never executed: return const_cast<const QRegExp *>(this)->errorString();
const_cast<const QRegExp *>(this)->errorString();
never executed: return const_cast<const QRegExp *>(this)->errorString();
0
3342}-
3343QString QRegExp::escape(const QString &str)-
3344{-
3345 QString quoted;-
3346 const int count = str.count();-
3347 quoted.reserve(count * 2);-
3348 const QLatin1Char backslash('\\');-
3349 for (int i = 0; i < count
i < countDescription
TRUEevaluated 17597 times by 14 tests
Evaluated 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
FALSEevaluated 838 times by 14 tests
Evaluated 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
; i++) {
838-17597
3350 switch (str.at(i).toLatin1()) {-
3351 case
executed 2 times by 1 test: case '$':
Executed by:
  • tst_QString
'$':
executed 2 times by 1 test: case '$':
Executed by:
  • tst_QString
2
3352 case
executed 2 times by 1 test: case '(':
Executed by:
  • tst_QString
'(':
executed 2 times by 1 test: case '(':
Executed by:
  • tst_QString
2
3353 case
executed 2 times by 1 test: case ')':
Executed by:
  • tst_QString
')':
executed 2 times by 1 test: case ')':
Executed by:
  • tst_QString
2
3354 case
executed 23 times by 3 tests: case '*':
Executed by:
  • tst_QSslCertificate
  • tst_QString
  • tst_qmakelib
'*':
executed 23 times by 3 tests: case '*':
Executed by:
  • tst_QSslCertificate
  • tst_QString
  • tst_qmakelib
23
3355 case
executed 3 times by 2 tests: case '+':
Executed by:
  • tst_QString
  • tst_qmakelib
'+':
executed 3 times by 2 tests: case '+':
Executed by:
  • tst_QString
  • tst_qmakelib
3
3356 case
executed 24 times by 5 tests: case '.':
Executed by:
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_qmakelib
'.':
executed 24 times by 5 tests: case '.':
Executed by:
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_qmakelib
24
3357 case
executed 2 times by 1 test: case '?':
Executed by:
  • tst_QString
'?':
executed 2 times by 1 test: case '?':
Executed by:
  • tst_QString
2
3358 case
executed 5 times by 3 tests: case '[':
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_qmakelib
'[':
executed 5 times by 3 tests: case '[':
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_qmakelib
5
3359 case
executed 2 times by 1 test: case '\\':
Executed by:
  • tst_QString
'\\':
executed 2 times by 1 test: case '\\':
Executed by:
  • tst_QString
2
3360 case
executed 5 times by 3 tests: case ']':
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_qmakelib
']':
executed 5 times by 3 tests: case ']':
Executed by:
  • tst_QRegExp
  • tst_QString
  • tst_qmakelib
5
3361 case
executed 2 times by 1 test: case '^':
Executed by:
  • tst_QString
'^':
executed 2 times by 1 test: case '^':
Executed by:
  • tst_QString
2
3362 case
executed 2 times by 1 test: case '{':
Executed by:
  • tst_QString
'{':
executed 2 times by 1 test: case '{':
Executed by:
  • tst_QString
2
3363 case
executed 4 times by 1 test: case '|':
Executed by:
  • tst_QString
'|':
executed 4 times by 1 test: case '|':
Executed by:
  • tst_QString
4
3364 case
executed 2 times by 1 test: case '}':
Executed by:
  • tst_QString
'}':
executed 2 times by 1 test: case '}':
Executed by:
  • tst_QString
2
3365 quoted.append(backslash);-
3366 }
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
3367 quoted.append(str.at(i));-
3368 }
executed 17597 times by 14 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
17597
3369 return
executed 838 times by 14 tests: return quoted;
Executed by:
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
quoted;
executed 838 times by 14 tests: return quoted;
Executed by:
  • tst_QDataStream
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QLineEdit
  • tst_QRegExp
  • tst_QSortFilterProxyModel
  • tst_QSslCertificate
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QString
  • tst_QTextDocument
  • tst_languageChange
  • tst_qmakelib
838
3370}-
3371QDataStream &operator<<(QDataStream &out, const QRegExp &regExp)-
3372{-
3373 return
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
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
3374 << (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
3375 << (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
3376}-
3377QDataStream &operator>>(QDataStream &in, QRegExp &regExp)-
3378{-
3379 QString pattern;-
3380 quint8 cs;-
3381 quint8 patternSyntax;-
3382 quint8 isMinimal;-
3383-
3384 in >> pattern >> cs >> patternSyntax >> isMinimal;-
3385-
3386 QRegExp newRegExp(pattern, Qt::CaseSensitivity(cs),-
3387 QRegExp::PatternSyntax(patternSyntax));-
3388-
3389 newRegExp.setMinimal(isMinimal);-
3390 regExp = newRegExp;-
3391 return
executed 177 times by 3 tests: return in;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
in;
executed 177 times by 3 tests: return in;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
177
3392}-
3393-
3394-
3395-
3396QDebug operator<<(QDebug dbg, const QRegExp &r)-
3397{-
3398 QDebugStateSaver saver(dbg);-
3399 dbg.nospace() << "QRegExp(patternSyntax=" << r.patternSyntax()-
3400 << ", pattern='"<< r.pattern() << "')";-
3401 return
executed 1 time by 1 test: return dbg;
Executed by:
  • tst_QVariant
dbg;
executed 1 time by 1 test: return dbg;
Executed by:
  • tst_QVariant
1
3402}-
3403-
3404-
3405-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9