| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 |  | - | 
| 8 |  | - | 
| 9 | enum { StreamEOF = ~0U }; | - | 
| 10 | QXmlStreamEntityResolver::~QXmlStreamEntityResolver() | - | 
| 11 | { | - | 
| 12 | } | - | 
| 13 |  | - | 
| 14 |  | - | 
| 15 |  | - | 
| 16 |  | - | 
| 17 |  | - | 
| 18 |  | - | 
| 19 | QString QXmlStreamEntityResolver::resolveEntity(const QString& , const QString& ) | - | 
| 20 | { | - | 
| 21 | return never executed: QString();return QString(); never executed: return QString(); | 0 | 
| 22 | } | - | 
| 23 | QString QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString & ) | - | 
| 24 | { | - | 
| 25 | return never executed: QString();return QString(); never executed: return QString(); | 0 | 
| 26 | } | - | 
| 27 |  | - | 
| 28 |  | - | 
| 29 |  | - | 
| 30 | QString QXmlStreamReaderPrivate::resolveUndeclaredEntity(const QString &name) | - | 
| 31 | { | - | 
| 32 | if (entityResolver )| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
 | 0-2 | 
| 33 | return executed 2 times by 1 testentityResolver->resolveUndeclaredEntity(name);:  return entityResolver->resolveUndeclaredEntity(name); executed 2 times by 1 test:  return entityResolver->resolveUndeclaredEntity(name); | 2 | 
| 34 | return never executed: QString();return QString(); never executed: return QString(); | 0 | 
| 35 | } | - | 
| 36 | void QXmlStreamReader::setEntityResolver(QXmlStreamEntityResolver *resolver) | - | 
| 37 | { | - | 
| 38 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 39 | d->entityResolver = resolver; | - | 
| 40 | } executed 1 time by 1 test:  end of block | 1 | 
| 41 | QXmlStreamEntityResolver *QXmlStreamReader::entityResolver() const | - | 
| 42 | { | - | 
| 43 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 44 | return never executed: d->entityResolver;return d->entityResolver; never executed: return d->entityResolver; | 0 | 
| 45 | } | - | 
| 46 | QXmlStreamReader::QXmlStreamReader() | - | 
| 47 | : d_ptr(new QXmlStreamReaderPrivate(this)) | - | 
| 48 | { | - | 
| 49 | } executed 3174 times by 1 test:  end of block | 3174 | 
| 50 |  | - | 
| 51 |  | - | 
| 52 |  | - | 
| 53 |  | - | 
| 54 |  | - | 
| 55 | QXmlStreamReader::QXmlStreamReader(QIODevice *device) | - | 
| 56 | : d_ptr(new QXmlStreamReaderPrivate(this)) | - | 
| 57 | { | - | 
| 58 | setDevice(device); | - | 
| 59 | } executed 2948 times by 23 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 2948 | 
| 60 |  | - | 
| 61 |  | - | 
| 62 |  | - | 
| 63 |  | - | 
| 64 |  | - | 
| 65 |  | - | 
| 66 | QXmlStreamReader::QXmlStreamReader(const QByteArray &data) | - | 
| 67 | : d_ptr(new QXmlStreamReaderPrivate(this)) | - | 
| 68 | { | - | 
| 69 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 70 | d->dataBuffer = data; | - | 
| 71 | } executed 845 times by 2 tests:  end of blockExecuted by:tst_QXmlStreamtst_Selftests
 | 845 | 
| 72 |  | - | 
| 73 |  | - | 
| 74 |  | - | 
| 75 |  | - | 
| 76 |  | - | 
| 77 |  | - | 
| 78 | QXmlStreamReader::QXmlStreamReader(const QString &data) | - | 
| 79 | : d_ptr(new QXmlStreamReaderPrivate(this)) | - | 
| 80 | { | - | 
| 81 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 82 |  | - | 
| 83 |  | - | 
| 84 |  | - | 
| 85 | d->dataBuffer = d->codec->fromUnicode(data); | - | 
| 86 | d->decoder = d->codec->makeDecoder(); | - | 
| 87 |  | - | 
| 88 | d->lockEncoding = true; | - | 
| 89 |  | - | 
| 90 | } executed 378 times by 13 tests:  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 378 | 
| 91 |  | - | 
| 92 |  | - | 
| 93 |  | - | 
| 94 |  | - | 
| 95 |  | - | 
| 96 |  | - | 
| 97 | QXmlStreamReader::QXmlStreamReader(const char *data) | - | 
| 98 | : d_ptr(new QXmlStreamReaderPrivate(this)) | - | 
| 99 | { | - | 
| 100 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 101 | d->dataBuffer = QByteArray(data); | - | 
| 102 | } executed 6 times by 1 test:  end of block | 6 | 
| 103 |  | - | 
| 104 |  | - | 
| 105 |  | - | 
| 106 |  | - | 
| 107 | QXmlStreamReader::~QXmlStreamReader() | - | 
| 108 | { | - | 
| 109 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 110 | if (d->deleteDevice )| TRUE | never evaluated |  | FALSE | evaluated 7351 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 0-7351 | 
| 111 | delete d->device; never executed: delete d->device; | 0 | 
| 112 | } executed 7351 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 7351 | 
| 113 | void QXmlStreamReader::setDevice(QIODevice *device) | - | 
| 114 | { | - | 
| 115 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 116 | if (d->deleteDevice ) {| TRUE | never evaluated |  | FALSE | evaluated 4669 times by 23 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 
 | 0-4669 | 
| 117 | delete d->device; | - | 
| 118 | d->deleteDevice = false; | - | 
| 119 | } never executed: end of block | 0 | 
| 120 | d->device = device; | - | 
| 121 | d->init(); | - | 
| 122 |  | - | 
| 123 | } executed 4669 times by 23 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 4669 | 
| 124 |  | - | 
| 125 |  | - | 
| 126 |  | - | 
| 127 |  | - | 
| 128 |  | - | 
| 129 |  | - | 
| 130 |  | - | 
| 131 | QIODevice *QXmlStreamReader::device() const | - | 
| 132 | { | - | 
| 133 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 134 | return never executed: d->device;return d->device; never executed: return d->device; | 0 | 
| 135 | } | - | 
| 136 | void QXmlStreamReader::addData(const QByteArray &data) | - | 
| 137 | { | - | 
| 138 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 139 | if (d->device ) {| TRUE | never evaluated |  | FALSE | evaluated 57484 times by 1 test | 
 | 0-57484 | 
| 140 | QMessageLogger(__FILE__, 497, __PRETTY_FUNCTION__).warning("QXmlStreamReader: addData() with device()"); | - | 
| 141 | return; never executed: return; | 0 | 
| 142 | } | - | 
| 143 | d->dataBuffer += data; | - | 
| 144 | } executed 57484 times by 1 test:  end of block | 57484 | 
| 145 |  | - | 
| 146 |  | - | 
| 147 |  | - | 
| 148 |  | - | 
| 149 |  | - | 
| 150 |  | - | 
| 151 |  | - | 
| 152 | void QXmlStreamReader::addData(const QString &data) | - | 
| 153 | { | - | 
| 154 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 155 | d->lockEncoding = true; | - | 
| 156 |  | - | 
| 157 |  | - | 
| 158 |  | - | 
| 159 | addData(d->codec->fromUnicode(data)); | - | 
| 160 |  | - | 
| 161 | } executed 4 times by 1 test:  end of block | 4 | 
| 162 |  | - | 
| 163 |  | - | 
| 164 |  | - | 
| 165 |  | - | 
| 166 |  | - | 
| 167 |  | - | 
| 168 |  | - | 
| 169 | void QXmlStreamReader::addData(const char *data) | - | 
| 170 | { | - | 
| 171 | addData(QByteArray(data)); | - | 
| 172 | } executed 2 times by 1 test:  end of block | 2 | 
| 173 |  | - | 
| 174 |  | - | 
| 175 |  | - | 
| 176 |  | - | 
| 177 |  | - | 
| 178 |  | - | 
| 179 |  | - | 
| 180 | void QXmlStreamReader::clear() | - | 
| 181 | { | - | 
| 182 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 183 | d->init(); | - | 
| 184 | if (d->device ) {| TRUE | never evaluated |  | FALSE | evaluated 3 times by 1 test | 
 | 0-3 | 
| 185 | if (d->deleteDevice )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 186 | delete d->device; never executed: delete d->device; | 0 | 
| 187 | d->device = 0; | - | 
| 188 | } never executed: end of block | 0 | 
| 189 | } executed 3 times by 1 test:  end of block | 3 | 
| 190 | bool QXmlStreamReader::atEnd() const | - | 
| 191 | { | - | 
| 192 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 193 | if (d->atEnd | TRUE | evaluated 118570 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 691847 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 118570-691847 | 
| 194 | && ((d->type == QXmlStreamReader::Invalid && d->error == PrematureEndOfDocumentError| TRUE | evaluated 115547 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | evaluated 3023 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
)| TRUE | evaluated 115547 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-115547 | 
| 195 | || ( d->type == QXmlStreamReader::EndDocument)| TRUE | evaluated 3023 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
)) {| TRUE | evaluated 3023 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
 | 0-3023 | 
| 196 | if (d->device )| TRUE | evaluated 551 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 118019 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 551-118019 | 
| 197 | return executed 551 times by 2 testsd->device->atEnd();:  return d->device->atEnd();Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 551 times by 2 tests:  return d->device->atEnd();Executed by:tst_QMimeDatabasetst_QXmlStream
 | 551 | 
| 198 | else | - | 
| 199 | return executed 118019 times by 14 tests!d->dataBuffer.size();:  return !d->dataBuffer.size();Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 executed 118019 times by 14 tests:  return !d->dataBuffer.size();Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 118019 | 
| 200 | } | - | 
| 201 | return executed 691847 times by 15 tests(d->atEnd || d->type == QXmlStreamReader::Invalid);:  return (d->atEnd || d->type == QXmlStreamReader::Invalid);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 executed 691847 times by 15 tests:  return (d->atEnd || d->type == QXmlStreamReader::Invalid);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 691847 | 
| 202 | } | - | 
| 203 | QXmlStreamReader::TokenType QXmlStreamReader::readNext() | - | 
| 204 | { | - | 
| 205 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 206 | if (d->type != Invalid ) {| TRUE | evaluated 1515198 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 57494 times by 2 tests Evaluated by:tst_QDBusMetaObjecttst_QXmlStream
 | 
 | 57494-1515198 | 
| 207 | if (!d->hasCheckedStartDocument )| TRUE | evaluated 8383 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 1506815 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 8383-1506815 | 
| 208 | if (!d->checkStartDocument() )| TRUE | evaluated 4669 times by 13 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 3714 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 
 | 3714-4669 | 
| 209 | return executed 4669 times by 13 testsd->type;:  return d->type;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 executed 4669 times by 13 tests:  return d->type;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 | 4669 | 
| 210 | d->parse(); | - | 
| 211 | if (d->atEnd && d->type != EndDocument| TRUE | evaluated 58409 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 1452120 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
&& d->type != Invalid| TRUE | evaluated 56038 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | evaluated 2371 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
)| TRUE | evaluated 45171 times by 1 test |  | FALSE | evaluated 10867 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 | 
 | 2371-1452120 | 
| 212 | d->raiseError(PrematureEndOfDocumentError); executed 45171 times by 1 test:  d->raiseError(PrematureEndOfDocumentError); | 45171 | 
| 213 | else if (!d->atEnd && d->type == EndDocument| TRUE | evaluated 1452120 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 13238 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
)| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 1452115 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 5-1452120 | 
| 214 | d->raiseWellFormedError(QXmlStream::tr("Extra content at end of document.")); executed 5 times by 1 test:  d->raiseWellFormedError(QXmlStream::tr("Extra content at end of document.")); | 5 | 
| 215 | } executed 1510529 times by 36 testselse if (d->error == PrematureEndOfDocumentError:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 ) {| TRUE | evaluated 57482 times by 1 test |  | FALSE | evaluated 12 times by 1 test | 
 | 12-1510529 | 
| 216 |  | - | 
| 217 | d->type = NoToken; | - | 
| 218 | d->atEnd = false; | - | 
| 219 | d->token = -1; | - | 
| 220 | return executed 57482 times by 1 testreadNext();:  return readNext(); executed 57482 times by 1 test:  return readNext(); | 57482 | 
| 221 | } | - | 
| 222 | return executed 1510541 times by 36 testsd->type;:  return d->type;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 1510541 times by 36 tests:  return d->type;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 1510541 | 
| 223 | } | - | 
| 224 | QXmlStreamReader::TokenType QXmlStreamReader::tokenType() const | - | 
| 225 | { | - | 
| 226 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 227 | return executed 1214190 times by 35 testsd->type;:  return d->type;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 1214190 times by 35 tests:  return d->type;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 1214190 | 
| 228 | } | - | 
| 229 | bool QXmlStreamReader::readNextStartElement() | - | 
| 230 | { | - | 
| 231 | while (readNext() != Invalid ) {| TRUE | evaluated 263503 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 12 times by 1 test | 
 | 12-263503 | 
| 232 | if (isEndElement() )| TRUE | evaluated 5055 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 258448 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 5055-258448 | 
| 233 | return executed 5055 times by 35 testsfalse;:  return false;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 5055 times by 35 tests:  return false;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 5055 | 
| 234 | else if (isStartElement() )| TRUE | evaluated 124463 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 133985 times by 33 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 | 
 | 124463-133985 | 
| 235 | return executed 124463 times by 35 teststrue;:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 124463 times by 35 tests:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 124463 | 
| 236 | } executed 133985 times by 33 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 | 133985 | 
| 237 | return executed 12 times by 1 testfalse;:  return false; executed 12 times by 1 test:  return false; | 12 | 
| 238 | } | - | 
| 239 | void QXmlStreamReader::skipCurrentElement() | - | 
| 240 | { | - | 
| 241 | int depth = 1; | - | 
| 242 | while (depth && readNext() != Invalid| TRUE | evaluated 5120 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 5076 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
) {| TRUE | evaluated 5113 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 7 times by 2 tests Evaluated by:tst_QDBusMetaObjecttst_QXmlStream
 | 
 | 7-5120 | 
| 243 | if (isEndElement() )| TRUE | evaluated 5089 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 24 times by 3 tests Evaluated by:tst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStream
 | 
 | 24-5089 | 
| 244 | -- executed 5089 times by 35 testsdepth;:  --depth;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 5089 times by 35 tests:  --depth;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 5089 | 
| 245 | else if (isStartElement() )| TRUE | evaluated 13 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | evaluated 11 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 11-13 | 
| 246 | ++ executed 13 times by 2 testsdepth;:  ++depth;Executed by:tst_QDBusXmlParsertst_QXmlStream
 executed 13 times by 2 tests:  ++depth;Executed by:tst_QDBusXmlParsertst_QXmlStream
 | 13 | 
| 247 | } executed 5113 times by 35 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 5113 | 
| 248 | } executed 5083 times by 35 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 5083 | 
| 249 | static const char QXmlStreamReader_tokenTypeString_string[] = | - | 
| 250 | "NoToken\0" | - | 
| 251 | "Invalid\0" | - | 
| 252 | "StartDocument\0" | - | 
| 253 | "EndDocument\0" | - | 
| 254 | "StartElement\0" | - | 
| 255 | "EndElement\0" | - | 
| 256 | "Characters\0" | - | 
| 257 | "Comment\0" | - | 
| 258 | "DTD\0" | - | 
| 259 | "EntityReference\0" | - | 
| 260 | "ProcessingInstruction\0"; | - | 
| 261 |  | - | 
| 262 | static const short QXmlStreamReader_tokenTypeString_indices[] = { | - | 
| 263 | 0, 8, 16, 30, 42, 55, 66, 77, 85, 89, 105, 0 | - | 
| 264 | }; | - | 
| 265 | void QXmlStreamReader::setNamespaceProcessing(bool enable) | - | 
| 266 | { | - | 
| 267 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 268 | d->namespaceProcessing = enable; | - | 
| 269 | } never executed: end of block | 0 | 
| 270 |  | - | 
| 271 | bool QXmlStreamReader::namespaceProcessing() const | - | 
| 272 | { | - | 
| 273 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 274 | return never executed: d->namespaceProcessing;return d->namespaceProcessing; never executed: return d->namespaceProcessing; | 0 | 
| 275 | } | - | 
| 276 |  | - | 
| 277 |  | - | 
| 278 |  | - | 
| 279 |  | - | 
| 280 |  | - | 
| 281 | QString QXmlStreamReader::tokenString() const | - | 
| 282 | { | - | 
| 283 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 284 | return executed 1903 times by 1 testQLatin1String(QXmlStreamReader_tokenTypeString_string +:  return QLatin1String(QXmlStreamReader_tokenTypeString_string + QXmlStreamReader_tokenTypeString_indices[d->type]); executed 1903 times by 1 test:  return QLatin1String(QXmlStreamReader_tokenTypeString_string + QXmlStreamReader_tokenTypeString_indices[d->type]); | 1903 | 
| 285 | QXmlStreamReader_tokenTypeString_indices[d->type]); executed 1903 times by 1 test:  return QLatin1String(QXmlStreamReader_tokenTypeString_string + QXmlStreamReader_tokenTypeString_indices[d->type]); | 1903 | 
| 286 | } | - | 
| 287 |  | - | 
| 288 |  | - | 
| 289 |  | - | 
| 290 | QXmlStreamPrivateTagStack::QXmlStreamPrivateTagStack() | - | 
| 291 | { | - | 
| 292 | tagStack.reserve(16); | - | 
| 293 | tagStackStringStorage.reserve(32); | - | 
| 294 | tagStackStringStorageSize = 0; | - | 
| 295 | NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.push(); | - | 
| 296 | namespaceDeclaration.prefix = addToStringStorage(QLatin1String("xml")); | - | 
| 297 | namespaceDeclaration.namespaceUri = addToStringStorage(QLatin1String("http://www.w3.org/XML/1998/namespace")); | - | 
| 298 | initialTagStackStringStorageSize = tagStackStringStorageSize; | - | 
| 299 | } executed 8186 times by 38 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 8186 | 
| 300 |  | - | 
| 301 |  | - | 
| 302 |  | - | 
| 303 | QXmlStreamReaderPrivate::QXmlStreamReaderPrivate(QXmlStreamReader *q) | - | 
| 304 | :q_ptr(q) | - | 
| 305 | { | - | 
| 306 | device = 0; | - | 
| 307 | deleteDevice = false; | - | 
| 308 |  | - | 
| 309 | decoder = 0; | - | 
| 310 |  | - | 
| 311 | stack_size = 64; | - | 
| 312 | sym_stack = 0; | - | 
| 313 | state_stack = 0; | - | 
| 314 | reallocateStack(); | - | 
| 315 | entityResolver = 0; | - | 
| 316 | init(); | - | 
| 317 | entityHash.insert(QLatin1String("lt"), Entity::createLiteral(QLatin1String("<"))); | - | 
| 318 | entityHash.insert(QLatin1String("gt"), Entity::createLiteral(QLatin1String(">"))); | - | 
| 319 | entityHash.insert(QLatin1String("amp"), Entity::createLiteral(QLatin1String("&"))); | - | 
| 320 | entityHash.insert(QLatin1String("apos"), Entity::createLiteral(QLatin1String("'"))); | - | 
| 321 | entityHash.insert(QLatin1String("quot"), Entity::createLiteral(QLatin1String("\""))); | - | 
| 322 | } executed 7442 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 7442 | 
| 323 |  | - | 
| 324 | void QXmlStreamReaderPrivate::init() | - | 
| 325 | { | - | 
| 326 | scanDtd = false; | - | 
| 327 | token = -1; | - | 
| 328 | token_char = 0; | - | 
| 329 | isEmptyElement = false; | - | 
| 330 | isWhitespace = true; | - | 
| 331 | isCDATA = false; | - | 
| 332 | standalone = false; | - | 
| 333 | tos = 0; | - | 
| 334 | resumeReduction = 0; | - | 
| 335 | state_stack[tos++] = 0; | - | 
| 336 | state_stack[tos] = 0; | - | 
| 337 | putStack.clear(); | - | 
| 338 | putStack.reserve(32); | - | 
| 339 | textBuffer.clear(); | - | 
| 340 | textBuffer.reserve(256); | - | 
| 341 | tagStack.clear(); | - | 
| 342 | tagsDone = false; | - | 
| 343 | attributes.clear(); | - | 
| 344 | attributes.reserve(16); | - | 
| 345 | lineNumber = lastLineStart = characterOffset = 0; | - | 
| 346 | readBufferPos = 0; | - | 
| 347 | nbytesread = 0; | - | 
| 348 |  | - | 
| 349 | codec = QTextCodec::codecForMib(106); | - | 
| 350 | delete decoder; | - | 
| 351 | decoder = 0; | - | 
| 352 |  | - | 
| 353 | attributeStack.clear(); | - | 
| 354 | attributeStack.reserve(16); | - | 
| 355 | entityParser = 0; | - | 
| 356 | hasCheckedStartDocument = false; | - | 
| 357 | normalizeLiterals = false; | - | 
| 358 | hasSeenTag = false; | - | 
| 359 | atEnd = false; | - | 
| 360 | inParseEntity = false; | - | 
| 361 | referenceToUnparsedEntityDetected = false; | - | 
| 362 | referenceToParameterEntityDetected = false; | - | 
| 363 | hasExternalDtdSubset = false; | - | 
| 364 | lockEncoding = false; | - | 
| 365 | namespaceProcessing = true; | - | 
| 366 | rawReadBuffer.clear(); | - | 
| 367 | dataBuffer.clear(); | - | 
| 368 | readBuffer.clear(); | - | 
| 369 | tagStackStringStorageSize = initialTagStackStringStorageSize; | - | 
| 370 |  | - | 
| 371 | type = QXmlStreamReader::NoToken; | - | 
| 372 | error = QXmlStreamReader::NoError; | - | 
| 373 | } executed 12147 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 12147 | 
| 374 |  | - | 
| 375 |  | - | 
| 376 |  | - | 
| 377 |  | - | 
| 378 |  | - | 
| 379 | void QXmlStreamReaderPrivate::parseEntity(const QString &value) | - | 
| 380 | { | - | 
| 381 | QXmlStreamReader * const q = q_func(); | - | 
| 382 |  | - | 
| 383 | if (value.isEmpty() )| TRUE | evaluated 14 times by 1 test |  | FALSE | evaluated 124 times by 1 test | 
 | 14-124 | 
| 384 | return; executed 14 times by 1 test:  return; | 14 | 
| 385 |  | - | 
| 386 |  | - | 
| 387 | if (!entityParser )| TRUE | evaluated 91 times by 1 test |  | FALSE | evaluated 33 times by 1 test | 
 | 33-91 | 
| 388 | entityParser = new QXmlStreamReaderPrivate(q); executed 91 times by 1 test:  entityParser = new QXmlStreamReaderPrivate(q); | 91 | 
| 389 | else | - | 
| 390 | entityParser->init(); executed 33 times by 1 test:  entityParser->init(); | 33 | 
| 391 | entityParser->inParseEntity = true; | - | 
| 392 | entityParser->readBuffer = value; | - | 
| 393 | entityParser->injectToken(PARSE_ENTITY); | - | 
| 394 | while (!entityParser->atEnd && entityParser->type != QXmlStreamReader::Invalid| TRUE | evaluated 215 times by 1 test |  | FALSE | evaluated 118 times by 1 test | 
)| TRUE | evaluated 209 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
 | 6-215 | 
| 395 | entityParser->parse(); executed 209 times by 1 test:  entityParser->parse(); | 209 | 
| 396 | if (entityParser->type == QXmlStreamReader::Invalid || entityParser->tagStack.size()| TRUE | evaluated 16 times by 1 test |  | FALSE | evaluated 108 times by 1 test | 
)| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 106 times by 1 test | 
 | 2-108 | 
| 397 | raiseWellFormedError(QXmlStream::tr("Invalid entity value.")); executed 18 times by 1 test:  raiseWellFormedError(QXmlStream::tr("Invalid entity value.")); | 18 | 
| 398 |  | - | 
| 399 | } executed 124 times by 1 test:  end of block | 124 | 
| 400 |  | - | 
| 401 | inline void QXmlStreamReaderPrivate::reallocateStack() | - | 
| 402 | { | - | 
| 403 | stack_size <<= 1; | - | 
| 404 | sym_stack = reinterpret_cast<Value*> (realloc(sym_stack, stack_size * sizeof(Value))); | - | 
| 405 | do { if (!(sym_stack) ) qBadAlloc();| TRUE | never evaluated |  | FALSE | evaluated 7443 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
never executed: } while (0);qBadAlloc(); | 0-7443 | 
| 406 | state_stack = reinterpret_cast<int*> (realloc(state_stack, stack_size * sizeof(int))); | - | 
| 407 | do { if (!(state_stack) ) qBadAlloc();| TRUE | never evaluated |  | FALSE | evaluated 7443 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
never executed: } while (0);qBadAlloc(); | 0-7443 | 
| 408 | } executed 7443 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 7443 | 
| 409 |  | - | 
| 410 |  | - | 
| 411 | QXmlStreamReaderPrivate::~QXmlStreamReaderPrivate() | - | 
| 412 | { | - | 
| 413 |  | - | 
| 414 | delete decoder; | - | 
| 415 |  | - | 
| 416 | free(sym_stack); | - | 
| 417 | free(state_stack); | - | 
| 418 | delete entityParser; | - | 
| 419 | } executed 7442 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 7442 | 
| 420 |  | - | 
| 421 |  | - | 
| 422 | inline uint QXmlStreamReaderPrivate::filterCarriageReturn() | - | 
| 423 | { | - | 
| 424 | uint peekc = peekChar(); | - | 
| 425 | if (peekc == '\n' ) {| TRUE | evaluated 8307 times by 1 test |  | FALSE | evaluated 2158 times by 1 test | 
 | 2158-8307 | 
| 426 | if (putStack.size() )| TRUE | never evaluated |  | FALSE | evaluated 8307 times by 1 test | 
 | 0-8307 | 
| 427 | putStack.pop(); never executed: putStack.pop(); | 0 | 
| 428 | else | - | 
| 429 | ++ executed 8307 times by 1 testreadBufferPos;:  ++readBufferPos; executed 8307 times by 1 test:  ++readBufferPos; | 8307 | 
| 430 | return executed 8307 times by 1 testpeekc;:  return peekc; executed 8307 times by 1 test:  return peekc; | 8307 | 
| 431 | } | - | 
| 432 | if (peekc == StreamEOF ) {| TRUE | evaluated 2146 times by 1 test |  | FALSE | evaluated 12 times by 1 test | 
 | 12-2146 | 
| 433 | putChar('\r'); | - | 
| 434 | return executed 2146 times by 1 test0;:  return 0; executed 2146 times by 1 test:  return 0; | 2146 | 
| 435 | } | - | 
| 436 | return executed 12 times by 1 test'\n';:  return '\n'; executed 12 times by 1 test:  return '\n'; | 12 | 
| 437 | } | - | 
| 438 |  | - | 
| 439 |  | - | 
| 440 |  | - | 
| 441 |  | - | 
| 442 |  | - | 
| 443 | inline uint QXmlStreamReaderPrivate::getChar() | - | 
| 444 | { | - | 
| 445 | uint c; | - | 
| 446 | if (putStack.size() ) {| TRUE | evaluated 2882731 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 19625700 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 2882731-19625700 | 
| 447 | c = atEnd ? StreamEOF : putStack.pop();| TRUE | evaluated 4859 times by 1 test |  | FALSE | evaluated 2877872 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 4859-2877872 | 
| 448 | } executed 2882731 times by 36 testselse {:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 2882731 | 
| 449 | if (readBufferPos < readBuffer.size() )| TRUE | evaluated 19508616 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 117084 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 117084-19508616 | 
| 450 | c = readBuffer.at(readBufferPos++).unicode(); executed 19508616 times by 36 tests:  c = readBuffer.at(readBufferPos++).unicode();Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 19508616 | 
| 451 | else | - | 
| 452 | c = getChar_helper(); executed 117084 times by 36 tests:  c = getChar_helper();Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 117084 | 
| 453 | } | - | 
| 454 |  | - | 
| 455 | return executed 22508431 times by 36 testsc;:  return c;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 22508431 times by 36 tests:  return c;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 22508431 | 
| 456 | } | - | 
| 457 |  | - | 
| 458 | inline uint QXmlStreamReaderPrivate::peekChar() | - | 
| 459 | { | - | 
| 460 | uint c; | - | 
| 461 | if (putStack.size() ) {| TRUE | evaluated 14016 times by 13 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 83809 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 
 | 14016-83809 | 
| 462 | c = putStack.top(); | - | 
| 463 | } executed 14016 times by 13 testselse if (readBufferPos < readBuffer.size():  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 ) {| TRUE | evaluated 77127 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 |  | FALSE | evaluated 6682 times by 1 test | 
 | 6682-77127 | 
| 464 | c = readBuffer.at(readBufferPos).unicode(); | - | 
| 465 | } executed 77127 times by 35 testselse {:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 77127 | 
| 466 | if (( c = getChar_helper()) != StreamEOF| TRUE | evaluated 3331 times by 1 test |  | FALSE | evaluated 3351 times by 1 test | 
)| TRUE | evaluated 3331 times by 1 test |  | FALSE | evaluated 3351 times by 1 test | 
 | 3331-3351 | 
| 467 | -- executed 3331 times by 1 testreadBufferPos;:  --readBufferPos; executed 3331 times by 1 test:  --readBufferPos; | 3331 | 
| 468 | } executed 6682 times by 1 test:  end of block | 6682 | 
| 469 |  | - | 
| 470 | return executed 97825 times by 35 testsc;:  return c;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 executed 97825 times by 35 tests:  return c;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 97825 | 
| 471 | } | - | 
| 472 | bool QXmlStreamReaderPrivate::scanUntil(const char *str, short tokenToInject) | - | 
| 473 | { | - | 
| 474 | int pos = textBuffer.size(); | - | 
| 475 | int oldLineNumber = lineNumber; | - | 
| 476 |  | - | 
| 477 | uint c; | - | 
| 478 | while (( c = getChar()) != StreamEOF| TRUE | evaluated 1254415 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 5870 times by 1 test | 
) {| TRUE | evaluated 1254415 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 5870 times by 1 test | 
 | 5870-1254415 | 
| 479 |  | - | 
| 480 | switch (c) { | - | 
| 481 | case executed 407 times by 1 test'\r'::  case '\r': executed 407 times by 1 test:  case '\r': | 407 | 
| 482 | if (( c = filterCarriageReturn()) == 0| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 404 times by 1 test | 
)| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 404 times by 1 test | 
 | 3-404 | 
| 483 | break; executed 3 times by 1 test:  break; | 3 | 
| 484 |  | - | 
| 485 | case executed 1800 times by 3 tests'\n'::  case '\n':Executed by:tst_QMimeDatabasetst_QXmlStreamtst_Selftests
 executed 1800 times by 3 tests:  case '\n':Executed by:tst_QMimeDatabasetst_QXmlStreamtst_Selftests
 code before this statement executed 404 times by 1 test:  case '\n': | 404-1800 | 
| 486 | ++lineNumber; | - | 
| 487 | lastLineStart = characterOffset + readBufferPos; | - | 
| 488 |  | - | 
| 489 | case executed 723 times by 1 test'\t'::  case '\t': executed 723 times by 1 test:  case '\t': code before this statement executed 2204 times by 3 tests:  case '\t':Executed by:tst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 723-2204 | 
| 490 | textBuffer += QChar(c); | - | 
| 491 | continue; executed 2927 times by 3 tests:  continue;Executed by:tst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 2927 | 
| 492 | default executed 1251485 times by 25 tests::  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 executed 1251485 times by 25 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 1251485 | 
| 493 | if (c < 0x20 || (c > 0xFFFD| TRUE | evaluated 36 times by 1 test |  | FALSE | evaluated 1251449 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
&& c < 0x10000| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 1251444 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
) || c > QChar::LastValidCodePoint| TRUE | evaluated 5 times by 1 test |  | FALSE | never evaluated | 
) {| TRUE | never evaluated |  | FALSE | evaluated 1251444 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 0-1251449 | 
| 494 | raiseWellFormedError(QXmlStream::tr("Invalid XML character.")); | - | 
| 495 | lineNumber = oldLineNumber; | - | 
| 496 | return executed 41 times by 1 testfalse;:  return false; executed 41 times by 1 test:  return false; | 41 | 
| 497 | } | - | 
| 498 | textBuffer += QChar(c); | - | 
| 499 | } executed 1251444 times by 25 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 1251444 | 
| 500 |  | - | 
| 501 |  | - | 
| 502 |  | - | 
| 503 | if (c == uint(*str) ) {| TRUE | evaluated 71833 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 1179614 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 71833-1179614 | 
| 504 | if (!*(str + 1) ) {| TRUE | never evaluated |  | FALSE | evaluated 71833 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 0-71833 | 
| 505 | if (tokenToInject >= 0 )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 506 | injectToken(tokenToInject); never executed: injectToken(tokenToInject); | 0 | 
| 507 | return never executed: true;return true; never executed: return true; | 0 | 
| 508 | } else { | - | 
| 509 | if (scanString(str + 1, tokenToInject, false) )| TRUE | evaluated 66081 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 5752 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
 | 5752-66081 | 
| 510 | return executed 66081 times by 25 teststrue;:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 executed 66081 times by 25 tests:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 66081 | 
| 511 | } executed 5752 times by 24 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 5752 | 
| 512 | } | - | 
| 513 | } executed 1185366 times by 25 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 1185366 | 
| 514 | putString(textBuffer, pos); | - | 
| 515 | textBuffer.resize(pos); | - | 
| 516 | lineNumber = oldLineNumber; | - | 
| 517 | return executed 5870 times by 1 testfalse;:  return false; executed 5870 times by 1 test:  return false; | 5870 | 
| 518 | } | - | 
| 519 |  | - | 
| 520 | bool QXmlStreamReaderPrivate::scanString(const char *str, short tokenToInject, bool requireSpace) | - | 
| 521 | { | - | 
| 522 | int n = 0; | - | 
| 523 | while (str[n] ) {| TRUE | evaluated 635395 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 133216 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 
 | 133216-635395 | 
| 524 | uint c = getChar(); | - | 
| 525 | if (c != ushort(str[n]) ) {| TRUE | evaluated 29730 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 605665 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 29730-605665 | 
| 526 | if (c != StreamEOF )| TRUE | evaluated 11559 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 18171 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 | 
 | 11559-18171 | 
| 527 | putChar(c); executed 11559 times by 35 tests:  putChar(c);Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 11559 | 
| 528 | while (n-- ) {| TRUE | evaluated 39487 times by 13 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 29730 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 29730-39487 | 
| 529 | putChar(ushort(str[n])); | - | 
| 530 | } executed 39487 times by 13 tests:  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 | 39487 | 
| 531 | return executed 29730 times by 35 testsfalse;:  return false;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 29730 times by 35 tests:  return false;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 29730 | 
| 532 | } | - | 
| 533 | ++n; | - | 
| 534 | } executed 605665 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 605665 | 
| 535 | for (int i = 0; i < n ; ++i)| TRUE | evaluated 566178 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 |  | FALSE | evaluated 133216 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 
 | 133216-566178 | 
| 536 | textBuffer += QChar(ushort(str[i])); executed 566178 times by 35 tests:  textBuffer += QChar(ushort(str[i]));Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 566178 | 
| 537 | if (requireSpace ) {| TRUE | evaluated 13715 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 |  | FALSE | evaluated 119501 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 
 | 13715-119501 | 
| 538 | int s = fastScanSpace(); | - | 
| 539 | if (!s || atEnd| TRUE | evaluated 1609 times by 1 test |  | FALSE | evaluated 12106 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 
) {| TRUE | evaluated 1435 times by 1 test |  | FALSE | evaluated 10671 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 
 | 1435-12106 | 
| 540 | int pos = textBuffer.size() - n - s; | - | 
| 541 | putString(textBuffer, pos); | - | 
| 542 | textBuffer.resize(pos); | - | 
| 543 | return executed 3044 times by 1 testfalse;:  return false; executed 3044 times by 1 test:  return false; | 3044 | 
| 544 | } | - | 
| 545 | } executed 10671 times by 35 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 10671 | 
| 546 | if (tokenToInject >= 0 )| TRUE | evaluated 64091 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 |  | FALSE | evaluated 66081 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 64091-66081 | 
| 547 | injectToken(tokenToInject); executed 64091 times by 35 tests:  injectToken(tokenToInject);Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 64091 | 
| 548 | return executed 130172 times by 35 teststrue;:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 executed 130172 times by 35 tests:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 130172 | 
| 549 | } | - | 
| 550 |  | - | 
| 551 | bool QXmlStreamReaderPrivate::scanAfterLangleBang() | - | 
| 552 | { | - | 
| 553 | switch (peekChar()) { | - | 
| 554 | case executed 46996 times by 2 tests'['::  case '[':Executed by:tst_QXmlStreamtst_Selftests
 executed 46996 times by 2 tests:  case '[':Executed by:tst_QXmlStreamtst_Selftests
 | 46996 | 
| 555 | return executed 46996 times by 2 testsscanString(spell[CDATA_START], CDATA_START, false);:  return scanString(spell[CDATA_START], CDATA_START, false);Executed by:tst_QXmlStreamtst_Selftests
 executed 46996 times by 2 tests:  return scanString(spell[CDATA_START], CDATA_START, false);Executed by:tst_QXmlStreamtst_Selftests
 | 46996 | 
| 556 | case executed 3815 times by 13 tests'D'::  case 'D':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 3815 times by 13 tests:  case 'D':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 3815 | 
| 557 | return executed 3815 times by 13 testsscanString(spell[DOCTYPE], DOCTYPE);:  return scanString(spell[DOCTYPE], DOCTYPE);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 3815 times by 13 tests:  return scanString(spell[DOCTYPE], DOCTYPE);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 3815 | 
| 558 | case executed 2355 times by 2 tests'A'::  case 'A':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 2355 times by 2 tests:  case 'A':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 2355 | 
| 559 | return executed 2355 times by 2 testsscanString(spell[ATTLIST], ATTLIST);:  return scanString(spell[ATTLIST], ATTLIST);Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 2355 times by 2 tests:  return scanString(spell[ATTLIST], ATTLIST);Executed by:tst_QMimeDatabasetst_QXmlStream
 | 2355 | 
| 560 | case executed 382 times by 1 test'N'::  case 'N': executed 382 times by 1 test:  case 'N': | 382 | 
| 561 | return executed 382 times by 1 testscanString(spell[NOTATION], NOTATION);:  return scanString(spell[NOTATION], NOTATION); executed 382 times by 1 test:  return scanString(spell[NOTATION], NOTATION); | 382 | 
| 562 | case executed 6772 times by 2 tests'E'::  case 'E':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 6772 times by 2 tests:  case 'E':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 6772 | 
| 563 | if (scanString(spell[ELEMENT], ELEMENT) )| TRUE | evaluated 2196 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 4576 times by 1 test | 
 | 2196-4576 | 
| 564 | return executed 2196 times by 2 teststrue;:  return true;Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 2196 times by 2 tests:  return true;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 2196 | 
| 565 | return executed 4576 times by 1 testscanString(spell[ENTITY], ENTITY);:  return scanString(spell[ENTITY], ENTITY); executed 4576 times by 1 test:  return scanString(spell[ENTITY], ENTITY); | 4576 | 
| 566 |  | - | 
| 567 | default executed 19837 times by 25 tests::  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 executed 19837 times by 25 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 19837 | 
| 568 | ; | - | 
| 569 | } executed 19837 times by 25 tests;:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 19837 | 
| 570 | return executed 19837 times by 25 testsfalse;:  return false;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 executed 19837 times by 25 tests:  return false;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 19837 | 
| 571 | } | - | 
| 572 |  | - | 
| 573 | bool QXmlStreamReaderPrivate::scanPublicOrSystem() | - | 
| 574 | { | - | 
| 575 | switch (peekChar()) { | - | 
| 576 | case executed 440 times by 1 test'S'::  case 'S': executed 440 times by 1 test:  case 'S': | 440 | 
| 577 | return executed 440 times by 1 testscanString(spell[SYSTEM], SYSTEM);:  return scanString(spell[SYSTEM], SYSTEM); executed 440 times by 1 test:  return scanString(spell[SYSTEM], SYSTEM); | 440 | 
| 578 | case executed 386 times by 12 tests'P'::  case 'P':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 386 times by 12 tests:  case 'P':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 386 | 
| 579 | return executed 386 times by 12 testsscanString(spell[PUBLIC], PUBLIC);:  return scanString(spell[PUBLIC], PUBLIC);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 386 times by 12 tests:  return scanString(spell[PUBLIC], PUBLIC);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 386 | 
| 580 | default executed 1864 times by 2 tests::  default:Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 1864 times by 2 tests:  default:Executed by:tst_QMimeDatabasetst_QXmlStream
 | 1864 | 
| 581 | ; | - | 
| 582 | } executed 1864 times by 2 tests:  end of blockExecuted by:tst_QMimeDatabasetst_QXmlStream
 | 1864 | 
| 583 | return executed 1864 times by 2 testsfalse;:  return false;Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 1864 times by 2 tests:  return false;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 1864 | 
| 584 | } | - | 
| 585 |  | - | 
| 586 | bool QXmlStreamReaderPrivate::scanNData() | - | 
| 587 | { | - | 
| 588 | if (fastScanSpace() ) {| TRUE | evaluated 150 times by 1 test |  | FALSE | evaluated 48 times by 1 test | 
 | 48-150 | 
| 589 | if (scanString(spell[NDATA], NDATA) )| TRUE | evaluated 47 times by 1 test |  | FALSE | evaluated 103 times by 1 test | 
 | 47-103 | 
| 590 | return executed 47 times by 1 testtrue;:  return true; executed 47 times by 1 test:  return true; | 47 | 
| 591 | putChar(' '); | - | 
| 592 | } executed 103 times by 1 test:  end of block | 103 | 
| 593 | return executed 151 times by 1 testfalse;:  return false; executed 151 times by 1 test:  return false; | 151 | 
| 594 | } | - | 
| 595 |  | - | 
| 596 | bool QXmlStreamReaderPrivate::scanAfterDefaultDecl() | - | 
| 597 | { | - | 
| 598 | switch (peekChar()) { | - | 
| 599 | case executed 615 times by 2 tests'R'::  case 'R':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 615 times by 2 tests:  case 'R':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 615 | 
| 600 | return executed 615 times by 2 testsscanString(spell[REQUIRED], REQUIRED, false);:  return scanString(spell[REQUIRED], REQUIRED, false);Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 615 times by 2 tests:  return scanString(spell[REQUIRED], REQUIRED, false);Executed by:tst_QMimeDatabasetst_QXmlStream
 | 615 | 
| 601 | case executed 1387 times by 2 tests'I'::  case 'I':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 1387 times by 2 tests:  case 'I':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 1387 | 
| 602 | return executed 1387 times by 2 testsscanString(spell[IMPLIED], IMPLIED, false);:  return scanString(spell[IMPLIED], IMPLIED, false);Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 1387 times by 2 tests:  return scanString(spell[IMPLIED], IMPLIED, false);Executed by:tst_QMimeDatabasetst_QXmlStream
 | 1387 | 
| 603 | case executed 77 times by 2 tests'F'::  case 'F':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 77 times by 2 tests:  case 'F':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 77 | 
| 604 | return executed 77 times by 2 testsscanString(spell[FIXED], FIXED, false);:  return scanString(spell[FIXED], FIXED, false);Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 77 times by 2 tests:  return scanString(spell[FIXED], FIXED, false);Executed by:tst_QMimeDatabasetst_QXmlStream
 | 77 | 
| 605 | default executed 200 times by 1 test::  default: executed 200 times by 1 test:  default: | 200 | 
| 606 | ; | - | 
| 607 | } executed 200 times by 1 test:  end of block | 200 | 
| 608 | return executed 200 times by 1 testfalse;:  return false; executed 200 times by 1 test:  return false; | 200 | 
| 609 | } | - | 
| 610 |  | - | 
| 611 | bool QXmlStreamReaderPrivate::scanAttType() | - | 
| 612 | { | - | 
| 613 | switch (peekChar()) { | - | 
| 614 | case executed 1351 times by 2 tests'C'::  case 'C':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 1351 times by 2 tests:  case 'C':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 1351 | 
| 615 | return executed 1351 times by 2 testsscanString(spell[CDATA], CDATA);:  return scanString(spell[CDATA], CDATA);Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 1351 times by 2 tests:  return scanString(spell[CDATA], CDATA);Executed by:tst_QMimeDatabasetst_QXmlStream
 | 1351 | 
| 616 | case executed 272 times by 1 test'I'::  case 'I': executed 272 times by 1 test:  case 'I': | 272 | 
| 617 | if (scanString(spell[ID], ID) )| TRUE | evaluated 70 times by 1 test |  | FALSE | evaluated 202 times by 1 test | 
 | 70-202 | 
| 618 | return executed 70 times by 1 testtrue;:  return true; executed 70 times by 1 test:  return true; | 70 | 
| 619 | if (scanString(spell[IDREF], IDREF) )| TRUE | evaluated 23 times by 1 test |  | FALSE | evaluated 179 times by 1 test | 
 | 23-179 | 
| 620 | return executed 23 times by 1 testtrue;:  return true; executed 23 times by 1 test:  return true; | 23 | 
| 621 | return executed 179 times by 1 testscanString(spell[IDREFS], IDREFS);:  return scanString(spell[IDREFS], IDREFS); executed 179 times by 1 test:  return scanString(spell[IDREFS], IDREFS); | 179 | 
| 622 | case executed 163 times by 1 test'E'::  case 'E': executed 163 times by 1 test:  case 'E': | 163 | 
| 623 | if (scanString(spell[ENTITY], ENTITY) )| TRUE | evaluated 26 times by 1 test |  | FALSE | evaluated 137 times by 1 test | 
 | 26-137 | 
| 624 | return executed 26 times by 1 testtrue;:  return true; executed 26 times by 1 test:  return true; | 26 | 
| 625 | return executed 137 times by 1 testscanString(spell[ENTITIES], ENTITIES);:  return scanString(spell[ENTITIES], ENTITIES); executed 137 times by 1 test:  return scanString(spell[ENTITIES], ENTITIES); | 137 | 
| 626 | case executed 334 times by 1 test'N'::  case 'N': executed 334 times by 1 test:  case 'N': | 334 | 
| 627 | if (scanString(spell[NOTATION], NOTATION) )| TRUE | evaluated 42 times by 1 test |  | FALSE | evaluated 292 times by 1 test | 
 | 42-292 | 
| 628 | return executed 42 times by 1 testtrue;:  return true; executed 42 times by 1 test:  return true; | 42 | 
| 629 | if (scanString(spell[NMTOKEN], NMTOKEN) )| TRUE | evaluated 24 times by 1 test |  | FALSE | evaluated 268 times by 1 test | 
 | 24-268 | 
| 630 | return executed 24 times by 1 testtrue;:  return true; executed 24 times by 1 test:  return true; | 24 | 
| 631 | return executed 268 times by 1 testscanString(spell[NMTOKENS], NMTOKENS);:  return scanString(spell[NMTOKENS], NMTOKENS); executed 268 times by 1 test:  return scanString(spell[NMTOKENS], NMTOKENS); | 268 | 
| 632 | default executed 114 times by 2 tests::  default:Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 114 times by 2 tests:  default:Executed by:tst_QMimeDatabasetst_QXmlStream
 | 114 | 
| 633 | ; | - | 
| 634 | } executed 114 times by 2 tests:  end of blockExecuted by:tst_QMimeDatabasetst_QXmlStream
 | 114 | 
| 635 | return executed 114 times by 2 testsfalse;:  return false;Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 114 times by 2 tests:  return false;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 114 | 
| 636 | } | - | 
| 637 | inline int QXmlStreamReaderPrivate::fastScanLiteralContent() | - | 
| 638 | { | - | 
| 639 | int n = 0; | - | 
| 640 | uint c; | - | 
| 641 | while (( c = getChar()) != StreamEOF| TRUE | evaluated 1550595 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 2235 times by 1 test | 
) {| TRUE | evaluated 1550595 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 2235 times by 1 test | 
 | 2235-1550595 | 
| 642 | switch (ushort(c)) { | - | 
| 643 | case never executed: 0xfffe:case 0xfffe: never executed: case 0xfffe: | 0 | 
| 644 | case never executed: 0xffff:case 0xffff: never executed: case 0xffff: | 0 | 
| 645 | case executed 82 times by 1 test0::  case 0: executed 82 times by 1 test:  case 0: | 82 | 
| 646 |  | - | 
| 647 |  | - | 
| 648 | putChar(c); | - | 
| 649 | return executed 82 times by 1 testn;:  return n; executed 82 times by 1 test:  return n; | 82 | 
| 650 | case executed 24 times by 1 test'\r'::  case '\r': executed 24 times by 1 test:  case '\r': | 24 | 
| 651 | if (filterCarriageReturn() == 0 )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 23 times by 1 test | 
 | 1-23 | 
| 652 | return executed 1 time by 1 testn;:  return n; executed 1 time by 1 test:  return n; | 1 | 
| 653 |  | - | 
| 654 | case executed 534 times by 2 tests'\n'::  case '\n':Executed by:tst_QXmlStreamtst_Selftests
 executed 534 times by 2 tests:  case '\n':Executed by:tst_QXmlStreamtst_Selftests
 code before this statement executed 23 times by 1 test:  case '\n': | 23-534 | 
| 655 | ++lineNumber; | - | 
| 656 | lastLineStart = characterOffset + readBufferPos; | - | 
| 657 |  | - | 
| 658 | case executed 15991 times by 14 tests' '::  case ' ':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 executed 15991 times by 14 tests:  case ' ':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 code before this statement executed 557 times by 2 tests:  case ' ':Executed by:tst_QXmlStreamtst_Selftests
 | 557-15991 | 
| 659 | case executed 18 times by 1 test'\t'::  case '\t': executed 18 times by 1 test:  case '\t': | 18 | 
| 660 | if (normalizeLiterals )| TRUE | evaluated 15517 times by 4 tests Evaluated by:tst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 1049 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
 | 1049-15517 | 
| 661 | textBuffer += QLatin1Char(' '); executed 15517 times by 4 tests:  textBuffer += QLatin1Char(' ');Executed by:tst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 15517 | 
| 662 | else | - | 
| 663 | textBuffer += QChar(c); executed 1049 times by 12 tests:  textBuffer += QChar(c);Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 1049 | 
| 664 | ++n; | - | 
| 665 | break; executed 16566 times by 14 tests:  break;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 16566 | 
| 666 | case executed 1664 times by 4 tests'&'::  case '&':Executed by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 executed 1664 times by 4 tests:  case '&':Executed by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 1664 | 
| 667 | case executed 19 times by 1 test'<'::  case '<': executed 19 times by 1 test:  case '<': | 19 | 
| 668 | case executed 369034 times by 36 tests'\"'::  case '\"':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 369034 times by 36 tests:  case '\"':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 369034 | 
| 669 | case executed 245 times by 2 tests'\''::  case '\'':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 245 times by 2 tests:  case '\'':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 245 | 
| 670 | if (!(c & 0xff0000) ) {| TRUE | evaluated 370962 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | never evaluated | 
 | 0-370962 | 
| 671 | putChar(c); | - | 
| 672 | return executed 370962 times by 36 testsn;:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 370962 times by 36 tests:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 370962 | 
| 673 | } | - | 
| 674 |  | - | 
| 675 | default executed 1162984 times by 36 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 code before this statement never executed: default: executed 1162984 times by 36 tests::  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 code before this statement never executed: default: executed 1162984 times by 36 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 0-1162984 | 
| 676 | if (c < 0x20 ) {| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 1162981 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 3-1162981 | 
| 677 | putChar(c); | - | 
| 678 | return executed 3 times by 1 testn;:  return n; executed 3 times by 1 test:  return n; | 3 | 
| 679 | } | - | 
| 680 | textBuffer += QChar(c); | - | 
| 681 | ++n; | - | 
| 682 | } executed 1162981 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 1162981 | 
| 683 | } | - | 
| 684 | return executed 2235 times by 1 testn;:  return n; executed 2235 times by 1 test:  return n; | 2235 | 
| 685 | } | - | 
| 686 |  | - | 
| 687 | inline int QXmlStreamReaderPrivate::fastScanSpace() | - | 
| 688 | { | - | 
| 689 | int n = 0; | - | 
| 690 | uint c; | - | 
| 691 | while (( c = getChar()) != StreamEOF| TRUE | evaluated 435917 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 6683 times by 1 test | 
) {| TRUE | evaluated 435917 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 6683 times by 1 test | 
 | 6683-435917 | 
| 692 | switch (c) { | - | 
| 693 | case executed 323 times by 1 test'\r'::  case '\r': executed 323 times by 1 test:  case '\r': | 323 | 
| 694 | if (( c = filterCarriageReturn()) == 0| TRUE | evaluated 45 times by 1 test |  | FALSE | evaluated 278 times by 1 test | 
)| TRUE | evaluated 45 times by 1 test |  | FALSE | evaluated 278 times by 1 test | 
 | 45-278 | 
| 695 | return executed 45 times by 1 testn;:  return n; executed 45 times by 1 test:  return n; | 45 | 
| 696 |  | - | 
| 697 | case executed 135 times by 2 tests'\n'::  case '\n':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 135 times by 2 tests:  case '\n':Executed by:tst_QMimeDatabasetst_QXmlStream
 code before this statement executed 278 times by 1 test:  case '\n': | 135-278 | 
| 698 | ++lineNumber; | - | 
| 699 | lastLineStart = characterOffset + readBufferPos; | - | 
| 700 |  | - | 
| 701 | case executed 16432 times by 35 tests' '::  case ' ':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 executed 16432 times by 35 tests:  case ' ':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 code before this statement executed 413 times by 2 tests:  case ' ':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 413-16432 | 
| 702 | case executed 562 times by 1 test'\t'::  case '\t': executed 562 times by 1 test:  case '\t': | 562 | 
| 703 | textBuffer += QChar(c); | - | 
| 704 | ++n; | - | 
| 705 | break; executed 17407 times by 35 tests:  break;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcon...
 | 17407 | 
| 706 | default executed 418465 times by 36 tests::  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 418465 times by 36 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 418465 | 
| 707 | putChar(c); | - | 
| 708 | return executed 418465 times by 36 testsn;:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 418465 times by 36 tests:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 418465 | 
| 709 | } | - | 
| 710 | } | - | 
| 711 | return executed 6683 times by 1 testn;:  return n; executed 6683 times by 1 test:  return n; | 6683 | 
| 712 | } | - | 
| 713 |  | - | 
| 714 |  | - | 
| 715 |  | - | 
| 716 |  | - | 
| 717 |  | - | 
| 718 |  | - | 
| 719 |  | - | 
| 720 | inline int QXmlStreamReaderPrivate::fastScanContentCharList() | - | 
| 721 | { | - | 
| 722 | int n = 0; | - | 
| 723 | uint c; | - | 
| 724 | while (( c = getChar()) != StreamEOF| TRUE | evaluated 5116550 times by 34 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 |  | FALSE | evaluated 8002 times by 1 test | 
) {| TRUE | evaluated 5116550 times by 34 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 |  | FALSE | evaluated 8002 times by 1 test | 
 | 8002-5116550 | 
| 725 | switch (ushort(c)) { | - | 
| 726 | case never executed: 0xfffe:case 0xfffe: never executed: case 0xfffe: | 0 | 
| 727 | case executed 1 time by 1 test0xffff::  case 0xffff: executed 1 time by 1 test:  case 0xffff: | 1 | 
| 728 | case executed 60 times by 1 test0::  case 0: executed 60 times by 1 test:  case 0: | 60 | 
| 729 | putChar(c); | - | 
| 730 | return executed 61 times by 1 testn;:  return n; executed 61 times by 1 test:  return n; | 61 | 
| 731 | case executed 17 times by 1 test']'::  case ']': executed 17 times by 1 test{:  case ']': | 17 | 
| 732 | isWhitespace = false; | - | 
| 733 | int pos = textBuffer.size(); | - | 
| 734 | textBuffer += QChar(ushort(c)); | - | 
| 735 | ++n; | - | 
| 736 | while (( c = getChar()) == ']'| TRUE | evaluated 11 times by 1 test |  | FALSE | evaluated 17 times by 1 test | 
) {| TRUE | evaluated 11 times by 1 test |  | FALSE | evaluated 17 times by 1 test | 
 | 11-17 | 
| 737 | textBuffer += QChar(ushort(c)); | - | 
| 738 | ++n; | - | 
| 739 | } executed 11 times by 1 test:  end of block | 11 | 
| 740 | if (c == 0 ) {| TRUE | never evaluated |  | FALSE | evaluated 17 times by 1 test | 
 | 0-17 | 
| 741 | putString(textBuffer, pos); | - | 
| 742 | textBuffer.resize(pos); | - | 
| 743 | } never executed: else if (c == '>'end of block && textBuffer.at(textBuffer.size()-2) == QLatin1Char(']')| TRUE | evaluated 9 times by 1 test |  | FALSE | evaluated 8 times by 1 test | 
) {| TRUE | evaluated 8 times by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 0-9 | 
| 744 | raiseWellFormedError(QXmlStream::tr("Sequence ']]>' not allowed in content.")); | - | 
| 745 | } executed 8 times by 1 testelse {:  end of block | 8 | 
| 746 | putChar(c); | - | 
| 747 | break; executed 9 times by 1 test:  break; | 9 | 
| 748 | } | - | 
| 749 | return executed 8 times by 1 testn;:  return n; executed 8 times by 1 test:  return n; | 8 | 
| 750 | } break; dead code: break; | - | 
| 751 | case executed 389 times by 1 test'\r'::  case '\r': executed 389 times by 1 test:  case '\r': | 389 | 
| 752 | if (( c = filterCarriageReturn()) == 0| TRUE | evaluated 127 times by 1 test |  | FALSE | evaluated 262 times by 1 test | 
)| TRUE | evaluated 127 times by 1 test |  | FALSE | evaluated 262 times by 1 test | 
 | 127-262 | 
| 753 | return executed 127 times by 1 testn;:  return n; executed 127 times by 1 test:  return n; | 127 | 
| 754 |  | - | 
| 755 | case executed 439 times by 3 tests'\n'::  case '\n':Executed by:tst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 439 times by 3 tests:  case '\n':Executed by:tst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 code before this statement executed 262 times by 1 test:  case '\n': | 262-439 | 
| 756 | ++lineNumber; | - | 
| 757 | lastLineStart = characterOffset + readBufferPos; | - | 
| 758 |  | - | 
| 759 | case executed 1433440 times by 34 tests' '::  case ' ':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 executed 1433440 times by 34 tests:  case ' ':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 code before this statement executed 701 times by 3 tests:  case ' ':Executed by:tst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 701-1433440 | 
| 760 | case never executed: '\t':case '\t': never executed: case '\t': | 0 | 
| 761 | textBuffer += QChar(ushort(c)); | - | 
| 762 | ++n; | - | 
| 763 | break; executed 1434141 times by 34 tests:  break;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 | 1434141 | 
| 764 | case executed 967 times by 2 tests'&'::  case '&':Executed by:tst_QXmlStreamtst_Selftests
 executed 967 times by 2 tests:  case '&':Executed by:tst_QXmlStreamtst_Selftests
 | 967 | 
| 765 | case executed 676459 times by 34 tests'<'::  case '<':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 executed 676459 times by 34 tests:  case '<':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 | 676459 | 
| 766 | if (!(c & 0xff0000) ) {| TRUE | evaluated 677426 times by 34 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 |  | FALSE | never evaluated | 
 | 0-677426 | 
| 767 | putChar(c); | - | 
| 768 | return executed 677426 times by 34 testsn;:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 executed 677426 times by 34 tests:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabase...
 | 677426 | 
| 769 | } | - | 
| 770 |  | - | 
| 771 | default executed 3004778 times by 24 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 code before this statement never executed: default: executed 3004778 times by 24 tests::  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 code before this statement never executed: default: executed 3004778 times by 24 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 0-3004778 | 
| 772 | if (c < 0x20 ) {| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 3004773 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
 | 5-3004773 | 
| 773 | putChar(c); | - | 
| 774 | return executed 5 times by 1 testn;:  return n; executed 5 times by 1 test:  return n; | 5 | 
| 775 | } | - | 
| 776 | isWhitespace = false; | - | 
| 777 | textBuffer += QChar(ushort(c)); | - | 
| 778 | ++n; | - | 
| 779 | } executed 3004773 times by 24 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 3004773 | 
| 780 | } | - | 
| 781 | return executed 8002 times by 1 testn;:  return n; executed 8002 times by 1 test:  return n; | 8002 | 
| 782 | } | - | 
| 783 |  | - | 
| 784 | inline int QXmlStreamReaderPrivate::fastScanName(int *prefix) | - | 
| 785 | { | - | 
| 786 | int n = 0; | - | 
| 787 | uint c; | - | 
| 788 | while (( c = getChar()) != StreamEOF| TRUE | evaluated 7714886 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 9761 times by 1 test | 
) {| TRUE | evaluated 7714886 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 9761 times by 1 test | 
 | 9761-7714886 | 
| 789 | switch (c) { | - | 
| 790 | case executed 46 times by 1 test'\n'::  case '\n': executed 46 times by 1 test:  case '\n': | 46 | 
| 791 | case executed 316372 times by 36 tests' '::  case ' ':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 316372 times by 36 tests:  case ' ':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 316372 | 
| 792 | case executed 63 times by 1 test'\t'::  case '\t': executed 63 times by 1 test:  case '\t': | 63 | 
| 793 | case executed 300 times by 1 test'\r'::  case '\r': executed 300 times by 1 test:  case '\r': | 300 | 
| 794 | case executed 1 time by 1 test'&'::  case '&': executed 1 time by 1 test:  case '&': | 1 | 
| 795 | case executed 1 time by 1 test'#'::  case '#': executed 1 time by 1 test:  case '#': | 1 | 
| 796 | case executed 1 time by 1 test'\''::  case '\'': executed 1 time by 1 test:  case '\'': | 1 | 
| 797 | case executed 13 times by 1 test'\"'::  case '\"': executed 13 times by 1 test:  case '\"': | 13 | 
| 798 | case executed 2 times by 1 test'<'::  case '<': executed 2 times by 1 test:  case '<': | 2 | 
| 799 | case executed 370821 times by 36 tests'>'::  case '>':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 370821 times by 36 tests:  case '>':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 370821 | 
| 800 | case executed 1 time by 1 test'['::  case '[': executed 1 time by 1 test:  case '[': | 1 | 
| 801 | case executed 2 times by 1 test']'::  case ']': executed 2 times by 1 test:  case ']': | 2 | 
| 802 | case executed 392288 times by 36 tests'='::  case '=':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 392288 times by 36 tests:  case '=':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 392288 | 
| 803 | case never executed: '%':case '%': never executed: case '%': | 0 | 
| 804 | case executed 374 times by 4 tests'/'::  case '/':Executed by:tst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selftests
 executed 374 times by 4 tests:  case '/':Executed by:tst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 374 | 
| 805 | case executed 2130 times by 4 tests';'::  case ';':Executed by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 executed 2130 times by 4 tests:  case ';':Executed by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 2130 | 
| 806 | case executed 61 times by 2 tests'?'::  case '?':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 61 times by 2 tests:  case '?':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 61 | 
| 807 | case executed 2 times by 1 test'!'::  case '!': executed 2 times by 1 test:  case '!': | 2 | 
| 808 | case executed 2 times by 1 test'^'::  case '^': executed 2 times by 1 test:  case '^': | 2 | 
| 809 | case executed 102 times by 1 test'|'::  case '|': executed 102 times by 1 test:  case '|': | 102 | 
| 810 | case executed 97 times by 2 tests','::  case ',':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 97 times by 2 tests:  case ',':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 97 | 
| 811 | case executed 7 times by 1 test'('::  case '(': executed 7 times by 1 test:  case '(': | 7 | 
| 812 | case executed 227 times by 2 tests')'::  case ')':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 227 times by 2 tests:  case ')':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 227 | 
| 813 | case executed 14 times by 2 tests'+'::  case '+':Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 14 times by 2 tests:  case '+':Executed by:tst_QMimeDatabasetst_QXmlStream
 | 14 | 
| 814 | case executed 31 times by 1 test'*'::  case '*': executed 31 times by 1 test:  case '*': | 31 | 
| 815 | putChar(c); | - | 
| 816 | if (prefix && *| TRUE | evaluated 1079735 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 3223 times by 4 tests Evaluated by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 
prefix == n+1| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 1079731 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 1079731 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 4-1079735 | 
| 817 | *prefix = 0; | - | 
| 818 | putChar(':'); | - | 
| 819 | --n; | - | 
| 820 | } executed 4 times by 1 test:  end of block | 4 | 
| 821 | return executed 1082958 times by 36 testsn;:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 1082958 times by 36 tests:  return n;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 1082958 | 
| 822 | case executed 243743 times by 24 tests':'::  case ':':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 executed 243743 times by 24 tests:  case ':':Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 243743 | 
| 823 | if (prefix ) {| TRUE | evaluated 243736 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | evaluated 7 times by 1 test | 
 | 7-243736 | 
| 824 | if (* prefix == 0| TRUE | evaluated 243734 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | evaluated 2 times by 1 test | 
) {| TRUE | evaluated 243734 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | evaluated 2 times by 1 test | 
 | 2-243734 | 
| 825 | *prefix = n+2; | - | 
| 826 | } executed 243734 times by 24 testselse {:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 243734 | 
| 827 | putChar(c); | - | 
| 828 | return executed 2 times by 1 testn;:  return n; executed 2 times by 1 test:  return n; | 2 | 
| 829 | } | - | 
| 830 | } else { | - | 
| 831 | putChar(c); | - | 
| 832 | return executed 7 times by 1 testn;:  return n; executed 7 times by 1 test:  return n; | 7 | 
| 833 | } | - | 
| 834 |  | - | 
| 835 | default executed 6388185 times by 36 tests::  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 6388185 times by 36 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 code before this statement executed 243734 times by 24 tests:  default:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 243734-6388185 | 
| 836 | textBuffer += QChar(c); | - | 
| 837 | ++n; | - | 
| 838 | } executed 6631919 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 6631919 | 
| 839 | } | - | 
| 840 |  | - | 
| 841 | if (prefix )| TRUE | evaluated 8770 times by 1 test |  | FALSE | evaluated 991 times by 1 test | 
 | 991-8770 | 
| 842 | * executed 8770 times by 1 testprefix = 0;:  *prefix = 0; executed 8770 times by 1 test:  *prefix = 0; | 8770 | 
| 843 | int pos = textBuffer.size() - n; | - | 
| 844 | putString(textBuffer, pos); | - | 
| 845 | textBuffer.resize(pos); | - | 
| 846 | return executed 9761 times by 1 test0;:  return 0; executed 9761 times by 1 test:  return 0; | 9761 | 
| 847 | } | - | 
| 848 |  | - | 
| 849 | enum NameChar { NameBeginning, NameNotBeginning, NotName }; | - | 
| 850 |  | - | 
| 851 | static const char Begi = static_cast<char>(NameBeginning); | - | 
| 852 | static const char NtBg = static_cast<char>(NameNotBeginning); | - | 
| 853 | static const char NotN = static_cast<char>(NotName); | - | 
| 854 |  | - | 
| 855 | static const char nameCharTable[128] = | - | 
| 856 | { | - | 
| 857 |  | - | 
| 858 | NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, | - | 
| 859 | NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, | - | 
| 860 |  | - | 
| 861 | NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, | - | 
| 862 | NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, | - | 
| 863 |  | - | 
| 864 | NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, | - | 
| 865 | NotN, NotN, NotN, NotN, NotN, NtBg, NtBg, NotN, | - | 
| 866 |  | - | 
| 867 | NtBg, NtBg, NtBg, NtBg, NtBg, NtBg, NtBg, NtBg, | - | 
| 868 | NtBg, NtBg, Begi, NotN, NotN, NotN, NotN, NotN, | - | 
| 869 |  | - | 
| 870 | NotN, Begi, Begi, Begi, Begi, Begi, Begi, Begi, | - | 
| 871 | Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, | - | 
| 872 |  | - | 
| 873 | Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, | - | 
| 874 | Begi, Begi, Begi, NotN, NotN, NotN, NotN, Begi, | - | 
| 875 |  | - | 
| 876 | NotN, Begi, Begi, Begi, Begi, Begi, Begi, Begi, | - | 
| 877 | Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, | - | 
| 878 |  | - | 
| 879 | Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, | - | 
| 880 | Begi, Begi, Begi, NotN, NotN, NotN, NotN, NotN | - | 
| 881 | }; | - | 
| 882 |  | - | 
| 883 | static inline NameChar fastDetermineNameChar(QChar ch) | - | 
| 884 | { | - | 
| 885 | ushort uc = ch.unicode(); | - | 
| 886 | if (!(uc & ~0x7f) )| TRUE | evaluated 2874 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-2874 | 
| 887 | return executed 2874 times by 2 testsstatic_cast<NameChar>(nameCharTable[uc]);:  return static_cast<NameChar>(nameCharTable[uc]);Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 2874 times by 2 tests:  return static_cast<NameChar>(nameCharTable[uc]);Executed by:tst_QMimeDatabasetst_QXmlStream
 | 2874 | 
| 888 |  | - | 
| 889 | QChar::Category cat = ch.category(); | - | 
| 890 |  | - | 
| 891 | if ((cat >= QChar::Letter_Uppercase && cat <= QChar::Letter_Other| TRUE | never evaluated |  | FALSE | never evaluated | 
)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 892 | || cat == QChar::Number_Letter )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 893 | return never executed: NameBeginning;return NameBeginning; never executed: return NameBeginning; | 0 | 
| 894 | if ((cat >= QChar::Number_DecimalDigit && cat <= QChar::Number_Other| TRUE | never evaluated |  | FALSE | never evaluated | 
)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 895 | || (cat >= QChar::Mark_NonSpacing && cat <= QChar::Mark_Enclosing| TRUE | never evaluated |  | FALSE | never evaluated | 
))| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 896 | return never executed: NameNotBeginning;return NameNotBeginning; never executed: return NameNotBeginning; | 0 | 
| 897 | return never executed: NotName;return NotName; never executed: return NotName; | 0 | 
| 898 | } | - | 
| 899 |  | - | 
| 900 | inline int QXmlStreamReaderPrivate::fastScanNMTOKEN() | - | 
| 901 | { | - | 
| 902 | int n = 0; | - | 
| 903 | uint c; | - | 
| 904 | while (( c = getChar()) != StreamEOF| TRUE | evaluated 2874 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 229 times by 1 test | 
) {| TRUE | evaluated 2874 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 229 times by 1 test | 
 | 229-2874 | 
| 905 | if (fastDetermineNameChar(c) == NotName ) {| TRUE | evaluated 350 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 2524 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 350-2524 | 
| 906 | putChar(c); | - | 
| 907 | return executed 350 times by 2 testsn;:  return n;Executed by:tst_QMimeDatabasetst_QXmlStream
 executed 350 times by 2 tests:  return n;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 350 | 
| 908 | } else { | - | 
| 909 | ++n; | - | 
| 910 | textBuffer += QChar(c); | - | 
| 911 | } executed 2524 times by 2 tests:  end of blockExecuted by:tst_QMimeDatabasetst_QXmlStream
 | 2524 | 
| 912 | } | - | 
| 913 |  | - | 
| 914 | int pos = textBuffer.size() - n; | - | 
| 915 | putString(textBuffer, pos); | - | 
| 916 | textBuffer.resize(pos); | - | 
| 917 |  | - | 
| 918 | return executed 229 times by 1 testn;:  return n; executed 229 times by 1 test:  return n; | 229 | 
| 919 | } | - | 
| 920 |  | - | 
| 921 | void QXmlStreamReaderPrivate::putString(const QString &s, int from) | - | 
| 922 | { | - | 
| 923 | putStack.reserve(s.size()); | - | 
| 924 | for (int i = s.size()-1; i >= from ; --i)| TRUE | evaluated 205554 times by 1 test |  | FALSE | evaluated 18909 times by 1 test | 
 | 18909-205554 | 
| 925 | putStack.rawPush() = s.at(i).unicode(); executed 205554 times by 1 test:  putStack.rawPush() = s.at(i).unicode(); | 205554 | 
| 926 | } executed 18909 times by 1 test:  end of block | 18909 | 
| 927 |  | - | 
| 928 | void QXmlStreamReaderPrivate::putStringLiteral(const QString &s) | - | 
| 929 | { | - | 
| 930 | putStack.reserve(s.size()); | - | 
| 931 | for (int i = s.size()-1; i >= 0 ; --i)| TRUE | evaluated 1805 times by 4 tests Evaluated by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 1792 times by 4 tests Evaluated by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 
 | 1792-1805 | 
| 932 | putStack.rawPush() = ((LETTER << 16) | s.at(i).unicode()); executed 1805 times by 4 tests:  putStack.rawPush() = ((LETTER << 16) | s.at(i).unicode());Executed by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 1805 | 
| 933 | } executed 1792 times by 4 tests:  end of blockExecuted by:tst_QDBusInterfacetst_QMimeDatabasetst_QXmlStreamtst_Selftests
 | 1792 | 
| 934 |  | - | 
| 935 | void QXmlStreamReaderPrivate::putReplacement(const QString &s) | - | 
| 936 | { | - | 
| 937 | putStack.reserve(s.size()); | - | 
| 938 | for (int i = s.size()-1; i >= 0 ; --i) {| TRUE | evaluated 1077 times by 1 test |  | FALSE | evaluated 117 times by 1 test | 
 | 117-1077 | 
| 939 | ushort c = s.at(i).unicode(); | - | 
| 940 | if (c == '\n' || c == '\r'| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 1075 times by 1 test | 
)| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 1073 times by 1 test | 
 | 2-1075 | 
| 941 | putStack.rawPush() = ((LETTER << 16) | c); executed 4 times by 1 test:  putStack.rawPush() = ((LETTER << 16) | c); | 4 | 
| 942 | else | - | 
| 943 | putStack.rawPush() = c; executed 1073 times by 1 test:  putStack.rawPush() = c; | 1073 | 
| 944 | } | - | 
| 945 | } executed 117 times by 1 test:  end of block | 117 | 
| 946 | void QXmlStreamReaderPrivate::putReplacementInAttributeValue(const QString &s) | - | 
| 947 | { | - | 
| 948 | putStack.reserve(s.size()); | - | 
| 949 | for (int i = s.size()-1; i >= 0 ; --i) {| TRUE | evaluated 990 times by 1 test |  | FALSE | evaluated 98 times by 1 test | 
 | 98-990 | 
| 950 | ushort c = s.at(i).unicode(); | - | 
| 951 | if (c == '&' || c == ';'| TRUE | evaluated 49 times by 1 test |  | FALSE | evaluated 941 times by 1 test | 
)| TRUE | evaluated 60 times by 1 test |  | FALSE | evaluated 881 times by 1 test | 
 | 49-941 | 
| 952 | putStack.rawPush() = c; executed 109 times by 1 test:  putStack.rawPush() = c; | 109 | 
| 953 | else if (c == '\n' || c == '\r'| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 877 times by 1 test | 
)| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 875 times by 1 test | 
 | 2-877 | 
| 954 | putStack.rawPush() = ' '; executed 6 times by 1 test:  putStack.rawPush() = ' '; | 6 | 
| 955 | else | - | 
| 956 | putStack.rawPush() = ((LETTER << 16) | c); executed 875 times by 1 test:  putStack.rawPush() = ((LETTER << 16) | c); | 875 | 
| 957 | } | - | 
| 958 | } executed 98 times by 1 test:  end of block | 98 | 
| 959 |  | - | 
| 960 | uint QXmlStreamReaderPrivate::getChar_helper() | - | 
| 961 | { | - | 
| 962 | const int BUFFER_SIZE = 8192; | - | 
| 963 | characterOffset += readBufferPos; | - | 
| 964 | readBufferPos = 0; | - | 
| 965 | readBuffer.resize(0); | - | 
| 966 |  | - | 
| 967 | if (decoder )| TRUE | evaluated 116020 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 7746 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
 | 7746-116020 | 
| 968 |  | - | 
| 969 | nbytesread = 0; executed 116020 times by 15 tests:  nbytesread = 0;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 116020 | 
| 970 | if (device ) {| TRUE | evaluated 5829 times by 23 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | evaluated 117937 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 5829-117937 | 
| 971 | rawReadBuffer.resize(BUFFER_SIZE); | - | 
| 972 | int nbytesreadOrMinus1 = device->read(rawReadBuffer.data() + nbytesread, BUFFER_SIZE - nbytesread); | - | 
| 973 | nbytesread += qMax(nbytesreadOrMinus1, 0); | - | 
| 974 | } executed 5829 times by 23 testselse {:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 5829 | 
| 975 | if (nbytesread )| TRUE | evaluated 780 times by 1 test |  | FALSE | evaluated 117157 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 780-117157 | 
| 976 | rawReadBuffer += dataBuffer; executed 780 times by 1 test:  rawReadBuffer += dataBuffer; | 780 | 
| 977 | else | - | 
| 978 | rawReadBuffer = dataBuffer; executed 117157 times by 14 tests:  rawReadBuffer = dataBuffer;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 117157 | 
| 979 | nbytesread = rawReadBuffer.size(); | - | 
| 980 | dataBuffer.clear(); | - | 
| 981 | } executed 117937 times by 14 tests:  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 117937 | 
| 982 | if (!nbytesread ) {| TRUE | evaluated 59780 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 63986 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 59780-63986 | 
| 983 | atEnd = true; | - | 
| 984 | return executed 59780 times by 15 testsStreamEOF;:  return StreamEOF;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 executed 59780 times by 15 tests:  return StreamEOF;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 59780 | 
| 985 | } | - | 
| 986 |  | - | 
| 987 |  | - | 
| 988 | if (!decoder ) {| TRUE | evaluated 6108 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 |  | FALSE | evaluated 57878 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
 | 6108-57878 | 
| 989 | if (nbytesread < 4 ) {| TRUE | evaluated 782 times by 1 test |  | FALSE | evaluated 5326 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
 | 782-5326 | 
| 990 |  | - | 
| 991 | atEnd = true; | - | 
| 992 | return executed 782 times by 1 testStreamEOF;:  return StreamEOF; executed 782 times by 1 test:  return StreamEOF; | 782 | 
| 993 | } | - | 
| 994 | int mib = 106; | - | 
| 995 |  | - | 
| 996 |  | - | 
| 997 | uchar ch1 = rawReadBuffer.at(0); | - | 
| 998 | uchar ch2 = rawReadBuffer.at(1); | - | 
| 999 | uchar ch3 = rawReadBuffer.at(2); | - | 
| 1000 | uchar ch4 = rawReadBuffer.at(3); | - | 
| 1001 |  | - | 
| 1002 | if ((ch1 == 0 && ch2 == 0| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 5325 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
&& ch3 == 0xfe| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test | 
&& ch4 == 0xff| TRUE | never evaluated |  | FALSE | never evaluated | 
) ||| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-5325 | 
| 1003 | (ch1 == 0xff && ch2 == 0xfe| TRUE | evaluated 40 times by 1 test |  | FALSE | evaluated 5286 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
&& ch3 == 0| TRUE | evaluated 40 times by 1 test |  | FALSE | never evaluated | 
&& ch4 == 0| TRUE | never evaluated |  | FALSE | evaluated 40 times by 1 test | 
))| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-5286 | 
| 1004 | mib = 1017; never executed: mib = 1017; | 0 | 
| 1005 | else if (ch1 == 0x3c && ch2 == 0x00| TRUE | evaluated 5248 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 |  | FALSE | evaluated 78 times by 1 test | 
&& ch3 == 0x00| TRUE | never evaluated |  | FALSE | evaluated 5248 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
&& ch4 == 0x00| TRUE | never evaluated |  | FALSE | never evaluated | 
)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-5248 | 
| 1006 | mib = 1019; never executed: mib = 1019; | 0 | 
| 1007 | else if (ch1 == 0x00 && ch2 == 0x00| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 5325 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
&& ch3 == 0x00| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test | 
&& ch4 == 0x3c| TRUE | never evaluated |  | FALSE | never evaluated | 
)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-5325 | 
| 1008 | mib = 1018; never executed: mib = 1018; | 0 | 
| 1009 | else if ((ch1 == 0xfe && ch2 == 0xff| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 5325 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
) || (ch1 == 0xff| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated | 
&& ch2 == 0xfe| TRUE | evaluated 40 times by 1 test |  | FALSE | evaluated 5285 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
))| TRUE | evaluated 40 times by 1 test |  | FALSE | never evaluated | 
 | 0-5325 | 
| 1010 | mib = 1015; executed 41 times by 1 test:  mib = 1015; | 41 | 
| 1011 | else if (ch1 == 0x3c && ch2 == 0x00| TRUE | evaluated 5248 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 |  | FALSE | evaluated 37 times by 1 test | 
)| TRUE | never evaluated |  | FALSE | evaluated 5248 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
 | 0-5248 | 
| 1012 | mib = 1014; never executed: mib = 1014; | 0 | 
| 1013 | else if (ch1 == 0x00 && ch2 == 0x3c| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 5284 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
)| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated | 
 | 0-5284 | 
| 1014 | mib = 1013; executed 1 time by 1 test:  mib = 1013; | 1 | 
| 1015 | codec = QTextCodec::codecForMib(mib); | - | 
| 1016 | ((!(codec)) ? qt_assert("codec",__FILE__,1524) : qt_noop()); | - | 
| 1017 | decoder = codec->makeDecoder(); | - | 
| 1018 | } executed 5326 times by 24 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 5326 | 
| 1019 |  | - | 
| 1020 | decoder->toUnicode(&readBuffer, rawReadBuffer.constData(), nbytesread); | - | 
| 1021 |  | - | 
| 1022 | if(lockEncoding && decoder->hasFailure()| TRUE | evaluated 55226 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 7978 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange
 | 
) {| TRUE | never evaluated |  | FALSE | evaluated 55226 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
 | 0-55226 | 
| 1023 | raiseWellFormedError(QXmlStream::tr("Encountered incorrectly encoded content.")); | - | 
| 1024 | readBuffer.clear(); | - | 
| 1025 | return never executed: StreamEOF;return StreamEOF; never executed: return StreamEOF; | 0 | 
| 1026 | } | - | 
| 1027 |  | - | 
| 1028 |  | - | 
| 1029 |  | - | 
| 1030 |  | - | 
| 1031 | readBuffer.reserve(1); | - | 
| 1032 |  | - | 
| 1033 | if (readBufferPos < readBuffer.size() ) {| TRUE | evaluated 62961 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 243 times by 1 test | 
 | 243-62961 | 
| 1034 | ushort c = readBuffer.at(readBufferPos++).unicode(); | - | 
| 1035 | return executed 62961 times by 36 testsc;:  return c;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 62961 times by 36 tests:  return c;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 62961 | 
| 1036 | } | - | 
| 1037 |  | - | 
| 1038 | atEnd = true; | - | 
| 1039 | return executed 243 times by 1 testStreamEOF;:  return StreamEOF; executed 243 times by 1 test:  return StreamEOF; | 243 | 
| 1040 | } | - | 
| 1041 |  | - | 
| 1042 | QStringRef QXmlStreamReaderPrivate::namespaceForPrefix(const QStringRef &prefix) | - | 
| 1043 | { | - | 
| 1044 | for (int j = namespaceDeclarations.size() - 1; j >= 0 ; --j) {| TRUE | evaluated 970435 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 78711 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 78711-970435 | 
| 1045 | const NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.at(j); | - | 
| 1046 | if (namespaceDeclaration.prefix == prefix ) {| TRUE | evaluated 516892 times by 24 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | evaluated 453543 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 453543-516892 | 
| 1047 | return executed 516892 times by 24 testsnamespaceDeclaration.namespaceUri;:  return namespaceDeclaration.namespaceUri;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 executed 516892 times by 24 tests:  return namespaceDeclaration.namespaceUri;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 516892 | 
| 1048 | } | - | 
| 1049 | } executed 453543 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 453543 | 
| 1050 |  | - | 
| 1051 |  | - | 
| 1052 | if (namespaceProcessing && !prefix.isEmpty()| TRUE | evaluated 78711 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
)| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 78705 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 0-78711 | 
| 1053 | raiseWellFormedError(QXmlStream::tr("Namespace prefix '%1' not declared").arg(prefix.toString())); executed 6 times by 1 test:  raiseWellFormedError(QXmlStream::tr("Namespace prefix '%1' not declared").arg(prefix.toString())); | 6 | 
| 1054 |  | - | 
| 1055 |  | - | 
| 1056 | return executed 78711 times by 14 testsQStringRef();:  return QStringRef();Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 executed 78711 times by 14 tests:  return QStringRef();Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 78711 | 
| 1057 | } | - | 
| 1058 |  | - | 
| 1059 |  | - | 
| 1060 |  | - | 
| 1061 |  | - | 
| 1062 | void QXmlStreamReaderPrivate::resolveTag() | - | 
| 1063 | { | - | 
| 1064 | int n = attributeStack.size(); | - | 
| 1065 |  | - | 
| 1066 | if (namespaceProcessing ) {| TRUE | evaluated 352257 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | never evaluated | 
 | 0-352257 | 
| 1067 | for (int a = 0; a < dtdAttributes.size() ; ++a) {| TRUE | evaluated 3832797 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 352257 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 352257-3832797 | 
| 1068 | DtdAttribute &dtdAttribute = dtdAttributes[a]; | - | 
| 1069 | if (!dtdAttribute.isNamespaceAttribute | TRUE | evaluated 3679128 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 153669 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 153669-3679128 | 
| 1070 | || dtdAttribute.defaultValue.isNull() | TRUE | evaluated 91 times by 1 test |  | FALSE | evaluated 153578 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 91-153578 | 
| 1071 | || dtdAttribute.tagName != qualifiedName | TRUE | evaluated 153569 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 9 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 9-153569 | 
| 1072 | || dtdAttribute.attributeQualifiedName.isNull() )| TRUE | never evaluated |  | FALSE | evaluated 9 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 0-9 | 
| 1073 | continue; executed 3832788 times by 2 tests:  continue;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 3832788 | 
| 1074 | int i = 0; | - | 
| 1075 | while (i < n && symName(attributeStack[i].key) != dtdAttribute.attributeQualifiedName| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 9 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
)| TRUE | evaluated 3 times by 1 test |  | FALSE | never evaluated | 
 | 0-9 | 
| 1076 | ++ executed 3 times by 1 testi;:  ++i; executed 3 times by 1 test:  ++i; | 3 | 
| 1077 | if (i != n )| TRUE | never evaluated |  | FALSE | evaluated 9 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 0-9 | 
| 1078 | continue; never executed: continue; | 0 | 
| 1079 | if (dtdAttribute.attributePrefix.isEmpty() && dtdAttribute.attributeName == QLatin1String("xmlns")| TRUE | evaluated 7 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 2 times by 1 test | 
) {| TRUE | evaluated 7 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-7 | 
| 1080 | NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.push(); | - | 
| 1081 | namespaceDeclaration.prefix.clear(); | - | 
| 1082 |  | - | 
| 1083 | const QStringRef ns(dtdAttribute.defaultValue); | - | 
| 1084 | if(ns == QLatin1String("http://www.w3.org/2000/xmlns/") ||| TRUE | never evaluated |  | FALSE | evaluated 7 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 0-7 | 
| 1085 | ns == QLatin1String("http://www.w3.org/XML/1998/namespace") )| TRUE | never evaluated |  | FALSE | evaluated 7 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 0-7 | 
| 1086 | raiseWellFormedError(QXmlStream::tr("Illegal namespace declaration.")); never executed: raiseWellFormedError(QXmlStream::tr("Illegal namespace declaration.")); | 0 | 
| 1087 | else | - | 
| 1088 | namespaceDeclaration.namespaceUri = ns; executed 7 times by 2 tests:  namespaceDeclaration.namespaceUri = ns;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 7 | 
| 1089 | } else if (dtdAttribute.attributePrefix == QLatin1String("xmlns") ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
 | 0-2 | 
| 1090 | NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.push(); | - | 
| 1091 | QStringRef namespacePrefix = dtdAttribute.attributeName; | - | 
| 1092 | QStringRef namespaceUri = dtdAttribute.defaultValue; | - | 
| 1093 | if ((( namespacePrefix == QLatin1String("xml"))| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1094 | ^ (namespaceUri == QLatin1String("http://www.w3.org/XML/1998/namespace"))) | TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1095 | || namespaceUri == QLatin1String("http://www.w3.org/2000/xmlns/") | TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1096 | || namespaceUri.isEmpty() | TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1097 | || namespacePrefix == QLatin1String("xmlns") )| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1098 | raiseWellFormedError(QXmlStream::tr("Illegal namespace declaration.")); never executed: raiseWellFormedError(QXmlStream::tr("Illegal namespace declaration.")); | 0 | 
| 1099 |  | - | 
| 1100 | namespaceDeclaration.prefix = namespacePrefix; | - | 
| 1101 | namespaceDeclaration.namespaceUri = namespaceUri; | - | 
| 1102 | } executed 2 times by 1 test:  end of block | 2 | 
| 1103 | } executed 9 times by 2 tests:  end of blockExecuted by:tst_QMimeDatabasetst_QXmlStream
 | 9 | 
| 1104 | } executed 352257 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 352257 | 
| 1105 |  | - | 
| 1106 | tagStack.top().namespaceDeclaration.namespaceUri = namespaceUri = namespaceForPrefix(prefix); | - | 
| 1107 |  | - | 
| 1108 | attributes.resize(n); | - | 
| 1109 |  | - | 
| 1110 | for (int i = 0; i < n ; ++i) {| TRUE | evaluated 386636 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 352257 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 352257-386636 | 
| 1111 | QXmlStreamAttribute &attribute = attributes[i]; | - | 
| 1112 | Attribute &attrib = attributeStack[i]; | - | 
| 1113 | QStringRef prefix(symPrefix(attrib.key)); | - | 
| 1114 | QStringRef name(symString(attrib.key)); | - | 
| 1115 | QStringRef qualifiedName(symName(attrib.key)); | - | 
| 1116 | QStringRef value(symString(attrib.value)); | - | 
| 1117 |  | - | 
| 1118 | attribute.m_name = QXmlStreamStringRef(name); | - | 
| 1119 | attribute.m_qualifiedName = QXmlStreamStringRef(qualifiedName); | - | 
| 1120 | attribute.m_value = QXmlStreamStringRef(value); | - | 
| 1121 |  | - | 
| 1122 | if (!prefix.isEmpty() ) {| TRUE | evaluated 243346 times by 23 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | evaluated 143290 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 143290-243346 | 
| 1123 | QStringRef attributeNamespaceUri = namespaceForPrefix(prefix); | - | 
| 1124 | attribute.m_namespaceUri = QXmlStreamStringRef(attributeNamespaceUri); | - | 
| 1125 | } executed 243346 times by 23 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 243346 | 
| 1126 |  | - | 
| 1127 | for (int j = 0; j < i ; ++j) {| TRUE | evaluated 114648 times by 16 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QIcontst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 386636 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 114648-386636 | 
| 1128 | if (attributes[j].name() == attribute.name() | TRUE | evaluated 38 times by 1 test |  | FALSE | evaluated 114610 times by 16 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QIcontst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 38-114610 | 
| 1129 | && attributes[j].namespaceUri() == attribute.namespaceUri() | TRUE | evaluated 16 times by 1 test |  | FALSE | evaluated 22 times by 1 test | 
 | 16-22 | 
| 1130 | && (namespaceProcessing || attributes[j].qualifiedName() == attribute.qualifiedName()| TRUE | evaluated 16 times by 1 test |  | FALSE | never evaluated | 
))| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-16 | 
| 1131 | raiseWellFormedError(QXmlStream::tr("Attribute '%1' redefined.").arg(attribute.qualifiedName().toString())); executed 16 times by 1 test:  raiseWellFormedError(QXmlStream::tr("Attribute '%1' redefined.").arg(attribute.qualifiedName().toString())); | 16 | 
| 1132 | } executed 114648 times by 16 tests:  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QIcontst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 114648 | 
| 1133 | } executed 386636 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 386636 | 
| 1134 |  | - | 
| 1135 | for (int a = 0; a < dtdAttributes.size() ; ++a) {| TRUE | evaluated 3832797 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 352257 times by 36 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 352257-3832797 | 
| 1136 | DtdAttribute &dtdAttribute = dtdAttributes[a]; | - | 
| 1137 | if (dtdAttribute.isNamespaceAttribute | TRUE | evaluated 153669 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 3679128 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 | 
 | 153669-3679128 | 
| 1138 | || dtdAttribute.defaultValue.isNull() | TRUE | evaluated 3678960 times by 2 tests Evaluated by:tst_QMimeDatabasetst_QXmlStream
 |  | FALSE | evaluated 168 times by 1 test | 
 | 168-3678960 | 
| 1139 | || dtdAttribute.tagName != qualifiedName | TRUE | evaluated 75 times by 1 test |  | FALSE | evaluated 93 times by 1 test | 
 | 75-93 | 
| 1140 | || dtdAttribute.attributeQualifiedName.isNull() )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 91 times by 1 test | 
 | 2-91 | 
| 1141 | continue; executed 3832706 times by 2 tests:  continue;Executed by:tst_QMimeDatabasetst_QXmlStream
 | 3832706 | 
| 1142 | int i = 0; | - | 
| 1143 | while (i < n && symName(attributeStack[i].key) != dtdAttribute.attributeQualifiedName| TRUE | evaluated 117 times by 1 test |  | FALSE | evaluated 36 times by 1 test | 
)| TRUE | evaluated 62 times by 1 test |  | FALSE | evaluated 55 times by 1 test | 
 | 36-117 | 
| 1144 | ++ executed 62 times by 1 testi;:  ++i; executed 62 times by 1 test:  ++i; | 62 | 
| 1145 | if (i != n )| TRUE | evaluated 55 times by 1 test |  | FALSE | evaluated 36 times by 1 test | 
 | 36-55 | 
| 1146 | continue; executed 55 times by 1 test:  continue; | 55 | 
| 1147 |  | - | 
| 1148 |  | - | 
| 1149 |  | - | 
| 1150 | QXmlStreamAttribute attribute; | - | 
| 1151 | attribute.m_name = QXmlStreamStringRef(dtdAttribute.attributeName); | - | 
| 1152 | attribute.m_qualifiedName = QXmlStreamStringRef(dtdAttribute.attributeQualifiedName); | - | 
| 1153 | attribute.m_value = QXmlStreamStringRef(dtdAttribute.defaultValue); | - | 
| 1154 |  | - | 
| 1155 | if (!dtdAttribute.attributePrefix.isEmpty() ) {| TRUE | never evaluated |  | FALSE | evaluated 36 times by 1 test | 
 | 0-36 | 
| 1156 | QStringRef attributeNamespaceUri = namespaceForPrefix(dtdAttribute.attributePrefix); | - | 
| 1157 | attribute.m_namespaceUri = QXmlStreamStringRef(attributeNamespaceUri); | - | 
| 1158 | } never executed: end of block | 0 | 
| 1159 | attribute.m_isDefault = true; | - | 
| 1160 | attributes.append(attribute); | - | 
| 1161 | } executed 36 times by 1 test:  end of block | 36 | 
| 1162 |  | - | 
| 1163 | attributeStack.clear(); | - | 
| 1164 | } executed 352257 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 352257 | 
| 1165 |  | - | 
| 1166 | void QXmlStreamReaderPrivate::resolvePublicNamespaces() | - | 
| 1167 | { | - | 
| 1168 | const Tag &tag = tagStack.top(); | - | 
| 1169 | int n = namespaceDeclarations.size() - tag.namespaceDeclarationsSize; | - | 
| 1170 | publicNamespaceDeclarations.resize(n); | - | 
| 1171 | for (int i = 0; i < n ; ++i) {| TRUE | evaluated 54 times by 1 test |  | FALSE | evaluated 446 times by 1 test | 
 | 54-446 | 
| 1172 | const NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.at(tag.namespaceDeclarationsSize + i); | - | 
| 1173 | QXmlStreamNamespaceDeclaration &publicNamespaceDeclaration = publicNamespaceDeclarations[i]; | - | 
| 1174 | publicNamespaceDeclaration.m_prefix = QXmlStreamStringRef(namespaceDeclaration.prefix); | - | 
| 1175 | publicNamespaceDeclaration.m_namespaceUri = QXmlStreamStringRef(namespaceDeclaration.namespaceUri); | - | 
| 1176 | } executed 54 times by 1 test:  end of block | 54 | 
| 1177 | } executed 446 times by 1 test:  end of block | 446 | 
| 1178 |  | - | 
| 1179 | void QXmlStreamReaderPrivate::resolveDtd() | - | 
| 1180 | { | - | 
| 1181 | publicNotationDeclarations.resize(notationDeclarations.size()); | - | 
| 1182 | for (int i = 0; i < notationDeclarations.size() ; ++i) {| TRUE | evaluated 79 times by 1 test |  | FALSE | evaluated 52 times by 1 test | 
 | 52-79 | 
| 1183 | const QXmlStreamReaderPrivate::NotationDeclaration ¬ationDeclaration = notationDeclarations.at(i); | - | 
| 1184 | QXmlStreamNotationDeclaration &publicNotationDeclaration = publicNotationDeclarations[i]; | - | 
| 1185 | publicNotationDeclaration.m_name = QXmlStreamStringRef(notationDeclaration.name); | - | 
| 1186 | publicNotationDeclaration.m_systemId = QXmlStreamStringRef(notationDeclaration.systemId); | - | 
| 1187 | publicNotationDeclaration.m_publicId = QXmlStreamStringRef(notationDeclaration.publicId); | - | 
| 1188 |  | - | 
| 1189 | } executed 79 times by 1 test:  end of block | 79 | 
| 1190 | notationDeclarations.clear(); | - | 
| 1191 | publicEntityDeclarations.resize(entityDeclarations.size()); | - | 
| 1192 | for (int i = 0; i < entityDeclarations.size() ; ++i) {| TRUE | evaluated 44 times by 1 test |  | FALSE | evaluated 52 times by 1 test | 
 | 44-52 | 
| 1193 | const QXmlStreamReaderPrivate::EntityDeclaration &entityDeclaration = entityDeclarations.at(i); | - | 
| 1194 | QXmlStreamEntityDeclaration &publicEntityDeclaration = publicEntityDeclarations[i]; | - | 
| 1195 | publicEntityDeclaration.m_name = QXmlStreamStringRef(entityDeclaration.name); | - | 
| 1196 | publicEntityDeclaration.m_notationName = QXmlStreamStringRef(entityDeclaration.notationName); | - | 
| 1197 | publicEntityDeclaration.m_systemId = QXmlStreamStringRef(entityDeclaration.systemId); | - | 
| 1198 | publicEntityDeclaration.m_publicId = QXmlStreamStringRef(entityDeclaration.publicId); | - | 
| 1199 | publicEntityDeclaration.m_value = QXmlStreamStringRef(entityDeclaration.value); | - | 
| 1200 | } executed 44 times by 1 test:  end of block | 44 | 
| 1201 | entityDeclarations.clear(); | - | 
| 1202 | parameterEntityHash.clear(); | - | 
| 1203 | } executed 52 times by 1 test:  end of block | 52 | 
| 1204 |  | - | 
| 1205 | uint QXmlStreamReaderPrivate::resolveCharRef(int symbolIndex) | - | 
| 1206 | { | - | 
| 1207 | bool ok = true; | - | 
| 1208 | uint s; | - | 
| 1209 |  | - | 
| 1210 | if (sym(symbolIndex).c == 'x' )| TRUE | evaluated 1291 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 143 times by 1 test | 
 | 143-1291 | 
| 1211 | s = symString(symbolIndex, 1).toUInt(&ok, 16); executed 1291 times by 2 tests:  s = symString(symbolIndex, 1).toUInt(&ok, 16);Executed by:tst_QXmlStreamtst_Selftests
 | 1291 | 
| 1212 | else | - | 
| 1213 | s = symString(symbolIndex).toUInt(&ok, 10); executed 143 times by 1 test:  s = symString(symbolIndex).toUInt(&ok, 10); | 143 | 
| 1214 |  | - | 
| 1215 | ok &= (s == 0x9 || s == 0xa| TRUE | evaluated 14 times by 1 test |  | FALSE | evaluated 1420 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 | 
|| s == 0xd| TRUE | evaluated 18 times by 1 test |  | FALSE | evaluated 1402 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 | 
|| (s >= 0x20| TRUE | evaluated 13 times by 1 test |  | FALSE | evaluated 1389 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 | 
&& s <= 0xd7ff| TRUE | evaluated 1369 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 20 times by 1 test | 
)| TRUE | evaluated 1346 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 |  | FALSE | evaluated 23 times by 1 test | 
 | 13-1420 | 
| 1216 | || (s >= 0xe000 && s <= 0xfffd| TRUE | evaluated 21 times by 1 test |  | FALSE | evaluated 22 times by 1 test | 
) || (s >= 0x10000| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 17 times by 1 test | 
&& s <= QChar::LastValidCodePoint| TRUE | evaluated 14 times by 1 test |  | FALSE | evaluated 25 times by 1 test | 
));| TRUE | evaluated 13 times by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 1-25 | 
| 1217 |  | - | 
| 1218 | return executed 1434 times by 2 testsok ? s : 0;:  return ok ? s : 0;Executed by:tst_QXmlStreamtst_Selftests
 executed 1434 times by 2 tests:  return ok ? s : 0;Executed by:tst_QXmlStreamtst_Selftests
 | 1434 | 
| 1219 | } | - | 
| 1220 |  | - | 
| 1221 |  | - | 
| 1222 | void QXmlStreamReaderPrivate::checkPublicLiteral(const QStringRef &publicId) | - | 
| 1223 | { | - | 
| 1224 |  | - | 
| 1225 |  | - | 
| 1226 | const ushort *data = reinterpret_cast<const ushort *>(publicId.constData()); | - | 
| 1227 | uchar c = 0; | - | 
| 1228 | int i; | - | 
| 1229 | for (i = publicId.size() - 1; i >= 0 ; --i) {| TRUE | evaluated 13888 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 295 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
 | 295-13888 | 
| 1230 | if (data[i] < 256 )| TRUE | evaluated 13888 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
 | 0-13888 | 
| 1231 | switch ((c = data[i])) { | - | 
| 1232 | case executed 987 times by 12 tests' '::  case ' ':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 987 times by 12 testscase:  case ' ':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 never executed: '\n':case '\n': never executed: casecase '\n': executed 1 time by 1 test'\r'::  case '\r': executed 1 time by 1 testcase:  case '\r': executed 501 times by 12 tests'-'::  case '-':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 501 times by 12 testscase:  case '-':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 3 times by 1 test'('::  case '(': executed 3 times by 1 testcase:  case '(': executed 3 times by 1 test')'::  case ')': executed 3 times by 1 test:  case ')': | 0-987 | 
| 1233 | case executed 3 times by 1 test'+'::  case '+': executed 3 times by 1 testcase:  case '+': executed 3 times by 1 test','::  case ',': executed 3 times by 1 testcase:  case ',': executed 246 times by 12 tests'.'::  case '.':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 246 times by 12 testscase:  case '.':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 1546 times by 12 tests'/'::  case '/':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 1546 times by 12 testscase:  case '/':Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 3 times by 1 test':'::  case ':': executed 3 times by 1 testcase:  case ':': executed 3 times by 1 test'='::  case '=': executed 3 times by 1 test:  case '=': | 3-1546 | 
| 1234 | case executed 3 times by 1 test'?'::  case '?': executed 3 times by 1 testcase:  case '?': executed 5 times by 1 test';'::  case ';': executed 5 times by 1 testcase:  case ';': executed 5 times by 1 test'!'::  case '!': executed 5 times by 1 testcase:  case '!': executed 5 times by 1 test'*'::  case '*': executed 5 times by 1 testcase:  case '*': executed 5 times by 1 test'#'::  case '#': executed 5 times by 1 testcase:  case '#': executed 5 times by 1 test'@'::  case '@': executed 5 times by 1 test:  case '@': | 3-5 | 
| 1235 | case executed 5 times by 1 test'$'::  case '$': executed 5 times by 1 testcase:  case '$': executed 5 times by 1 test'_'::  case '_': executed 5 times by 1 testcase:  case '_': executed 5 times by 1 test'%'::  case '%': executed 5 times by 1 testcase:  case '%': executed 3 times by 1 test'\''::  case '\'': executed 3 times by 1 testcase:  case '\'': never executed: '\"':case '\"': never executed: case '\"': | 0-5 | 
| 1236 | continue; executed 3345 times by 12 tests:  continue;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 3345 | 
| 1237 | default executed 10543 times by 12 tests::  default:Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 executed 10543 times by 12 tests:  default:Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 10543 | 
| 1238 | if ((c >= 'a' && c <= 'z'| TRUE | evaluated 7242 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 3301 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
)| TRUE | evaluated 7242 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
 | 0-7242 | 
| 1239 | || (c >= 'A' && c <= 'Z'| TRUE | evaluated 2782 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 519 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
)| TRUE | evaluated 2782 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
 | 0-2782 | 
| 1240 | || (c >= '0' && c <= '9'| TRUE | evaluated 519 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
))| TRUE | evaluated 519 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
 | 0-519 | 
| 1241 | continue; executed 10543 times by 12 tests:  continue;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 10543 | 
| 1242 | } never executed: end of block | 0 | 
| 1243 | break; never executed: break; | 0 | 
| 1244 | } | - | 
| 1245 | if (i >= 0 )| TRUE | never evaluated |  | FALSE | evaluated 295 times by 12 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
 | 0-295 | 
| 1246 | raiseWellFormedError(QXmlStream::tr("Unexpected character '%1' in public id literal.").arg(QChar(QLatin1Char(c)))); never executed: raiseWellFormedError(QXmlStream::tr("Unexpected character '%1' in public id literal.").arg(QChar(QLatin1Char(c)))); | 0 | 
| 1247 | } executed 295 times by 12 tests:  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 295 | 
| 1248 |  | - | 
| 1249 |  | - | 
| 1250 |  | - | 
| 1251 |  | - | 
| 1252 |  | - | 
| 1253 |  | - | 
| 1254 | bool QXmlStreamReaderPrivate::checkStartDocument() | - | 
| 1255 | { | - | 
| 1256 | hasCheckedStartDocument = true; | - | 
| 1257 |  | - | 
| 1258 | if (scanString(spell[XML], XML) )| TRUE | evaluated 3714 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 |  | FALSE | evaluated 4669 times by 13 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 | 
 | 3714-4669 | 
| 1259 | return executed 3714 times by 26 teststrue;:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 executed 3714 times by 26 tests:  return true;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 3714 | 
| 1260 |  | - | 
| 1261 | type = QXmlStreamReader::StartDocument; | - | 
| 1262 | if (atEnd ) {| TRUE | evaluated 2685 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | evaluated 1984 times by 13 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 | 
 | 1984-2685 | 
| 1263 | hasCheckedStartDocument = false; | - | 
| 1264 | raiseError(QXmlStreamReader::PrematureEndOfDocumentError); | - | 
| 1265 | } executed 2685 times by 2 tests:  end of blockExecuted by:tst_QDBusXmlParsertst_QXmlStream
 | 2685 | 
| 1266 | return executed 4669 times by 13 testsfalse;:  return false;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 executed 4669 times by 13 tests:  return false;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QXmlStreamtst_Selftests
 | 4669 | 
| 1267 | } | - | 
| 1268 |  | - | 
| 1269 | void QXmlStreamReaderPrivate::startDocument() | - | 
| 1270 | { | - | 
| 1271 | QString err; | - | 
| 1272 | if (documentVersion != QLatin1String("1.0") ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 3666 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 
 | 4-3666 | 
| 1273 | if (documentVersion.contains(QLatin1Char(' ')) )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 3 times by 1 test | 
 | 1-3 | 
| 1274 | err = QXmlStream::tr("Invalid XML version string."); executed 1 time by 1 test:  err = QXmlStream::tr("Invalid XML version string."); | 1 | 
| 1275 | else | - | 
| 1276 | err = QXmlStream::tr("Unsupported XML version."); executed 3 times by 1 test:  err = QXmlStream::tr("Unsupported XML version."); | 3 | 
| 1277 | } | - | 
| 1278 | int n = attributeStack.size(); | - | 
| 1279 |  | - | 
| 1280 |  | - | 
| 1281 |  | - | 
| 1282 |  | - | 
| 1283 |  | - | 
| 1284 | bool hasStandalone = false; | - | 
| 1285 |  | - | 
| 1286 | for (int i = 0; err.isNull() && i < n| TRUE | evaluated 6760 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 |  | FALSE | evaluated 31 times by 1 test | 
; ++i) {| TRUE | evaluated 3121 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 3639 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 
 | 31-6760 | 
| 1287 | Attribute &attrib = attributeStack[i]; | - | 
| 1288 | QStringRef prefix(symPrefix(attrib.key)); | - | 
| 1289 | QStringRef key(symString(attrib.key)); | - | 
| 1290 | QStringRef value(symString(attrib.value)); | - | 
| 1291 |  | - | 
| 1292 | if (prefix.isEmpty() && key == QLatin1String("encoding")| TRUE | evaluated 3121 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | never evaluated | 
) {| TRUE | evaluated 3088 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 33 times by 1 test | 
 | 0-3121 | 
| 1293 | const QString name(value.toString()); | - | 
| 1294 | documentEncoding = value; | - | 
| 1295 |  | - | 
| 1296 | if(hasStandalone )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 3087 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 1-3087 | 
| 1297 | err = QXmlStream::tr("The standalone pseudo attribute must appear after the encoding."); executed 1 time by 1 test:  err = QXmlStream::tr("The standalone pseudo attribute must appear after the encoding."); | 1 | 
| 1298 | if(!QXmlUtils::isEncName(name) )| TRUE | evaluated 16 times by 1 test |  | FALSE | evaluated 3072 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 16-3072 | 
| 1299 | err = QXmlStream::tr("%1 is an invalid encoding name.").arg(name); executed 16 times by 1 test:  err = QXmlStream::tr("%1 is an invalid encoding name.").arg(name); | 16 | 
| 1300 | else { | - | 
| 1301 |  | - | 
| 1302 |  | - | 
| 1303 |  | - | 
| 1304 | QTextCodec *const newCodec = QTextCodec::codecForName(name.toLatin1()); | - | 
| 1305 | if (!newCodec )| TRUE | never evaluated |  | FALSE | evaluated 3072 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 0-3072 | 
| 1306 | err = QXmlStream::tr("Encoding %1 is unsupported").arg(name); never executed: err = QXmlStream::tr("Encoding %1 is unsupported").arg(name); | 0 | 
| 1307 | else if (newCodec != codec && !lockEncoding| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 3068 times by 25 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 
) {| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
 | 0-3068 | 
| 1308 | codec = newCodec; | - | 
| 1309 | delete decoder; | - | 
| 1310 | decoder = codec->makeDecoder(); | - | 
| 1311 | decoder->toUnicode(&readBuffer, rawReadBuffer.data(), nbytesread); | - | 
| 1312 | } executed 4 times by 1 test:  end of block | 4 | 
| 1313 |  | - | 
| 1314 | } executed 3072 times by 25 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChangetst_qdbusxml2cpp - unknown status
 | 3072 | 
| 1315 | } else if (prefix.isEmpty() && key == QLatin1String("standalone")| TRUE | evaluated 33 times by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 29 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 0-33 | 
| 1316 | hasStandalone = true; | - | 
| 1317 | if (value == QLatin1String("yes") )| TRUE | evaluated 21 times by 1 test |  | FALSE | evaluated 8 times by 1 test | 
 | 8-21 | 
| 1318 | standalone = true; executed 21 times by 1 test:  standalone = true; | 21 | 
| 1319 | else if (value == QLatin1String("no") )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
 | 2-6 | 
| 1320 | standalone = false; executed 2 times by 1 test:  standalone = false; | 2 | 
| 1321 | else | - | 
| 1322 | err = QXmlStream::tr("Standalone accepts only yes or no."); executed 6 times by 1 test:  err = QXmlStream::tr("Standalone accepts only yes or no."); | 6 | 
| 1323 | } else { | - | 
| 1324 | err = QXmlStream::tr("Invalid attribute in XML declaration."); | - | 
| 1325 | } executed 4 times by 1 test:  end of block | 4 | 
| 1326 | } | - | 
| 1327 |  | - | 
| 1328 | if (!err.isNull() )| TRUE | evaluated 31 times by 1 test |  | FALSE | evaluated 3639 times by 26 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 
 | 31-3639 | 
| 1329 | raiseWellFormedError(err); executed 31 times by 1 test:  raiseWellFormedError(err); | 31 | 
| 1330 | attributeStack.clear(); | - | 
| 1331 | } executed 3670 times by 26 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_Selfteststst_languageChange...
 | 3670 | 
| 1332 |  | - | 
| 1333 |  | - | 
| 1334 | void QXmlStreamReaderPrivate::raiseError(QXmlStreamReader::Error error, const QString& message) | - | 
| 1335 | { | - | 
| 1336 | this->error = error; | - | 
| 1337 | errorString = message; | - | 
| 1338 | if (errorString.isNull() ) {| TRUE | evaluated 58733 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | evaluated 1235 times by 2 tests Evaluated by:tst_QDBusMetaObjecttst_QXmlStream
 | 
 | 1235-58733 | 
| 1339 | if (error == QXmlStreamReader::PrematureEndOfDocumentError )| TRUE | evaluated 58733 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-58733 | 
| 1340 | errorString = QXmlStream::tr("Premature end of document."); executed 58733 times by 2 tests:  errorString = QXmlStream::tr("Premature end of document.");Executed by:tst_QDBusXmlParsertst_QXmlStream
 | 58733 | 
| 1341 | else if (error == QXmlStreamReader::CustomError )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1342 | errorString = QXmlStream::tr("Invalid document."); never executed: errorString = QXmlStream::tr("Invalid document."); | 0 | 
| 1343 | } executed 58733 times by 2 tests:  end of blockExecuted by:tst_QDBusXmlParsertst_QXmlStream
 | 58733 | 
| 1344 |  | - | 
| 1345 | type = QXmlStreamReader::Invalid; | - | 
| 1346 | } executed 59968 times by 3 tests:  end of blockExecuted by:tst_QDBusMetaObjecttst_QDBusXmlParsertst_QXmlStream
 | 59968 | 
| 1347 |  | - | 
| 1348 | void QXmlStreamReaderPrivate::raiseWellFormedError(const QString &message) | - | 
| 1349 | { | - | 
| 1350 | raiseError(QXmlStreamReader::NotWellFormedError, message); | - | 
| 1351 | } executed 1196 times by 2 tests:  end of blockExecuted by:tst_QDBusMetaObjecttst_QXmlStream
 | 1196 | 
| 1352 |  | - | 
| 1353 | void QXmlStreamReaderPrivate::parseError() | - | 
| 1354 | { | - | 
| 1355 |  | - | 
| 1356 | if (token == EOF_SYMBOL ) {| TRUE | evaluated 6305 times by 1 test |  | FALSE | evaluated 613 times by 1 test | 
 | 613-6305 | 
| 1357 | raiseError(QXmlStreamReader::PrematureEndOfDocumentError); | - | 
| 1358 | return; executed 6305 times by 1 test:  return; | 6305 | 
| 1359 | } | - | 
| 1360 | const int nmax = 4; | - | 
| 1361 | QString error_message; | - | 
| 1362 | int ers = state_stack[tos]; | - | 
| 1363 | int nexpected = 0; | - | 
| 1364 | int expected[nmax]; | - | 
| 1365 | if (token != ERROR )| TRUE | evaluated 606 times by 1 test |  | FALSE | evaluated 7 times by 1 test | 
 | 7-606 | 
| 1366 | for (int tk = 0; tk < TERMINAL_COUNT ; ++tk) {| TRUE | evaluated 34542 times by 1 test |  | FALSE | evaluated 606 times by 1 test | 
 | 606-34542 | 
| 1367 | int k = t_action(ers, tk); | - | 
| 1368 | if (k <= 0 )| TRUE | evaluated 31219 times by 1 test |  | FALSE | evaluated 3323 times by 1 test | 
 | 3323-31219 | 
| 1369 | continue; executed 31219 times by 1 test:  continue; | 31219 | 
| 1370 | if (spell[tk] ) {| TRUE | evaluated 3227 times by 1 test |  | FALSE | evaluated 96 times by 1 test | 
 | 96-3227 | 
| 1371 | if (nexpected < nmax )| TRUE | evaluated 1391 times by 1 test |  | FALSE | evaluated 1836 times by 1 test | 
 | 1391-1836 | 
| 1372 | expected[nexpected++] = tk; executed 1391 times by 1 test:  expected[nexpected++] = tk; | 1391 | 
| 1373 | } executed 3227 times by 1 test:  end of block | 3227 | 
| 1374 | } executed 3323 times by 1 test:  end of block | 3323 | 
| 1375 |  | - | 
| 1376 | error_message.clear (); | - | 
| 1377 | if (nexpected && nexpected < nmax| TRUE | evaluated 606 times by 1 test |  | FALSE | evaluated 7 times by 1 test | 
) {| TRUE | evaluated 448 times by 1 test |  | FALSE | evaluated 158 times by 1 test | 
 | 7-606 | 
| 1378 | bool first = true; | - | 
| 1379 |  | - | 
| 1380 | for (int s = 0; s < nexpected ; ++s) {| TRUE | evaluated 759 times by 1 test |  | FALSE | evaluated 448 times by 1 test | 
 | 448-759 | 
| 1381 | if (first )| TRUE | evaluated 448 times by 1 test |  | FALSE | evaluated 311 times by 1 test | 
 | 311-448 | 
| 1382 | error_message += QXmlStream::tr ("Expected "); executed 448 times by 1 test:  error_message += QXmlStream::tr ("Expected "); | 448 | 
| 1383 | else if (s == nexpected - 1 )| TRUE | evaluated 222 times by 1 test |  | FALSE | evaluated 89 times by 1 test | 
 | 89-222 | 
| 1384 | error_message += QLatin1String (nexpected > 2 ? ", or " : " or "); executed 222 times by 1 test:  error_message += QLatin1String (nexpected > 2 ? ", or " : " or "); | 222 | 
| 1385 | else | - | 
| 1386 | error_message += QLatin1String (", "); executed 89 times by 1 test:  error_message += QLatin1String (", "); | 89 | 
| 1387 |  | - | 
| 1388 | first = false; | - | 
| 1389 | error_message += QLatin1String("\'"); | - | 
| 1390 | error_message += QLatin1String (spell [expected[s]]); | - | 
| 1391 | error_message += QLatin1String("\'"); | - | 
| 1392 | } executed 759 times by 1 test:  end of block | 759 | 
| 1393 | error_message += QXmlStream::tr(", but got \'"); | - | 
| 1394 | error_message += QLatin1String(spell [token]); | - | 
| 1395 | error_message += QLatin1String("\'"); | - | 
| 1396 | } executed 448 times by 1 testelse {:  end of block | 448 | 
| 1397 | error_message += QXmlStream::tr("Unexpected \'"); | - | 
| 1398 | error_message += QLatin1String(spell [token]); | - | 
| 1399 | error_message += QLatin1String("\'"); | - | 
| 1400 | } executed 165 times by 1 test:  end of block | 165 | 
| 1401 | error_message += QLatin1Char('.'); | - | 
| 1402 |  | - | 
| 1403 | raiseWellFormedError(error_message); | - | 
| 1404 | } executed 613 times by 1 test:  end of block | 613 | 
| 1405 |  | - | 
| 1406 | void QXmlStreamReaderPrivate::resume(int rule) { | - | 
| 1407 | resumeReduction = rule; | - | 
| 1408 | if (error == QXmlStreamReader::NoError )| TRUE | evaluated 26 times by 1 test |  | FALSE | evaluated 44571 times by 1 test | 
 | 26-44571 | 
| 1409 | raiseError(QXmlStreamReader::PrematureEndOfDocumentError); executed 26 times by 1 test:  raiseError(QXmlStreamReader::PrematureEndOfDocumentError); | 26 | 
| 1410 | } executed 44597 times by 1 test:  end of block | 44597 | 
| 1411 |  | - | 
| 1412 |  | - | 
| 1413 |  | - | 
| 1414 |  | - | 
| 1415 |  | - | 
| 1416 | qint64 QXmlStreamReader::lineNumber() const | - | 
| 1417 | { | - | 
| 1418 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1419 | return executed 584 times by 1 testd->lineNumber + 1;:  return d->lineNumber + 1; executed 584 times by 1 test:  return d->lineNumber + 1; | 584 | 
| 1420 | } | - | 
| 1421 |  | - | 
| 1422 |  | - | 
| 1423 |  | - | 
| 1424 |  | - | 
| 1425 |  | - | 
| 1426 | qint64 QXmlStreamReader::columnNumber() const | - | 
| 1427 | { | - | 
| 1428 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1429 | return executed 584 times by 1 testd->characterOffset - d->lastLineStart + d->readBufferPos;:  return d->characterOffset - d->lastLineStart + d->readBufferPos; executed 584 times by 1 test:  return d->characterOffset - d->lastLineStart + d->readBufferPos; | 584 | 
| 1430 | } | - | 
| 1431 |  | - | 
| 1432 |  | - | 
| 1433 |  | - | 
| 1434 |  | - | 
| 1435 |  | - | 
| 1436 | qint64 QXmlStreamReader::characterOffset() const | - | 
| 1437 | { | - | 
| 1438 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1439 | return never executed: d->characterOffset + d->readBufferPos;return d->characterOffset + d->readBufferPos; never executed: return d->characterOffset + d->readBufferPos; | 0 | 
| 1440 | } | - | 
| 1441 |  | - | 
| 1442 |  | - | 
| 1443 |  | - | 
| 1444 |  | - | 
| 1445 |  | - | 
| 1446 | QStringRef QXmlStreamReader::text() const | - | 
| 1447 | { | - | 
| 1448 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1449 | return executed 3556 times by 1 testd->text;:  return d->text; executed 3556 times by 1 test:  return d->text; | 3556 | 
| 1450 | } | - | 
| 1451 | QXmlStreamNotationDeclarations QXmlStreamReader::notationDeclarations() const | - | 
| 1452 | { | - | 
| 1453 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1454 | if (d->notationDeclarations.size() )| TRUE | evaluated 47 times by 1 test |  | FALSE | evaluated 2545 times by 1 test | 
 | 47-2545 | 
| 1455 | const_cast< executed 47 times by 1 testQXmlStreamReaderPrivate *>(d)->resolveDtd();:  const_cast<QXmlStreamReaderPrivate *>(d)->resolveDtd(); executed 47 times by 1 test:  const_cast<QXmlStreamReaderPrivate *>(d)->resolveDtd(); | 47 | 
| 1456 | return executed 2592 times by 1 testd->publicNotationDeclarations;:  return d->publicNotationDeclarations; executed 2592 times by 1 test:  return d->publicNotationDeclarations; | 2592 | 
| 1457 | } | - | 
| 1458 | QXmlStreamEntityDeclarations QXmlStreamReader::entityDeclarations() const | - | 
| 1459 | { | - | 
| 1460 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1461 | if (d->entityDeclarations.size() )| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 1903 times by 1 test | 
 | 5-1903 | 
| 1462 | const_cast< executed 5 times by 1 testQXmlStreamReaderPrivate *>(d)->resolveDtd();:  const_cast<QXmlStreamReaderPrivate *>(d)->resolveDtd(); executed 5 times by 1 test:  const_cast<QXmlStreamReaderPrivate *>(d)->resolveDtd(); | 5 | 
| 1463 | return executed 1908 times by 1 testd->publicEntityDeclarations;:  return d->publicEntityDeclarations; executed 1908 times by 1 test:  return d->publicEntityDeclarations; | 1908 | 
| 1464 | } | - | 
| 1465 | QStringRef QXmlStreamReader::dtdName() const | - | 
| 1466 | { | - | 
| 1467 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1468 | if (d->type == QXmlStreamReader::DTD )| TRUE | evaluated 50 times by 1 test |  | FALSE | evaluated 1878 times by 1 test | 
 | 50-1878 | 
| 1469 | return executed 50 times by 1 testd->dtdName;:  return d->dtdName; executed 50 times by 1 test:  return d->dtdName; | 50 | 
| 1470 | return executed 1878 times by 1 testQStringRef();:  return QStringRef(); executed 1878 times by 1 test:  return QStringRef(); | 1878 | 
| 1471 | } | - | 
| 1472 | QStringRef QXmlStreamReader::dtdPublicId() const | - | 
| 1473 | { | - | 
| 1474 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1475 | if (d->type == QXmlStreamReader::DTD )| TRUE | evaluated 27 times by 1 test |  | FALSE | evaluated 1878 times by 1 test | 
 | 27-1878 | 
| 1476 | return executed 27 times by 1 testd->dtdPublicId;:  return d->dtdPublicId; executed 27 times by 1 test:  return d->dtdPublicId; | 27 | 
| 1477 | return executed 1878 times by 1 testQStringRef();:  return QStringRef(); executed 1878 times by 1 test:  return QStringRef(); | 1878 | 
| 1478 | } | - | 
| 1479 | QStringRef QXmlStreamReader::dtdSystemId() const | - | 
| 1480 | { | - | 
| 1481 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1482 | if (d->type == QXmlStreamReader::DTD )| TRUE | evaluated 27 times by 1 test |  | FALSE | evaluated 1878 times by 1 test | 
 | 27-1878 | 
| 1483 | return executed 27 times by 1 testd->dtdSystemId;:  return d->dtdSystemId; executed 27 times by 1 test:  return d->dtdSystemId; | 27 | 
| 1484 | return executed 1878 times by 1 testQStringRef();:  return QStringRef(); executed 1878 times by 1 test:  return QStringRef(); | 1878 | 
| 1485 | } | - | 
| 1486 | QXmlStreamNamespaceDeclarations QXmlStreamReader::namespaceDeclarations() const | - | 
| 1487 | { | - | 
| 1488 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1489 | if (d->publicNamespaceDeclarations.isEmpty() && d->type == StartElement| TRUE | evaluated 1907 times by 1 test |  | FALSE | evaluated 38 times by 1 test | 
)| TRUE | evaluated 446 times by 1 test |  | FALSE | evaluated 1461 times by 1 test | 
 | 38-1907 | 
| 1490 | const_cast< executed 446 times by 1 testQXmlStreamReaderPrivate *>(d)->resolvePublicNamespaces();:  const_cast<QXmlStreamReaderPrivate *>(d)->resolvePublicNamespaces(); executed 446 times by 1 test:  const_cast<QXmlStreamReaderPrivate *>(d)->resolvePublicNamespaces(); | 446 | 
| 1491 | return executed 1945 times by 1 testd->publicNamespaceDeclarations;:  return d->publicNamespaceDeclarations; executed 1945 times by 1 test:  return d->publicNamespaceDeclarations; | 1945 | 
| 1492 | } | - | 
| 1493 | void QXmlStreamReader::addExtraNamespaceDeclaration(const QXmlStreamNamespaceDeclaration &extraNamespaceDeclaration) | - | 
| 1494 | { | - | 
| 1495 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1496 | QXmlStreamReaderPrivate::NamespaceDeclaration &namespaceDeclaration = d->namespaceDeclarations.push(); | - | 
| 1497 | namespaceDeclaration.prefix = d->addToStringStorage(extraNamespaceDeclaration.prefix()); | - | 
| 1498 | namespaceDeclaration.namespaceUri = d->addToStringStorage(extraNamespaceDeclaration.namespaceUri()); | - | 
| 1499 | } executed 2 times by 1 test:  end of block | 2 | 
| 1500 | void QXmlStreamReader::addExtraNamespaceDeclarations(const QXmlStreamNamespaceDeclarations &extraNamespaceDeclarations) | - | 
| 1501 | { | - | 
| 1502 | for (int i = 0; i < extraNamespaceDeclarations.size() ; ++i)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1503 | addExtraNamespaceDeclaration(extraNamespaceDeclarations.at(i)); never executed: addExtraNamespaceDeclaration(extraNamespaceDeclarations.at(i)); | 0 | 
| 1504 | } never executed: end of block | 0 | 
| 1505 | QString QXmlStreamReader::readElementText(ReadElementTextBehaviour behaviour) | - | 
| 1506 | { | - | 
| 1507 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1508 | if (isStartElement() ) {| TRUE | evaluated 249021 times by 23 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 |  | FALSE | never evaluated | 
 | 0-249021 | 
| 1509 | QString result; | - | 
| 1510 | for(;;) { | - | 
| 1511 | switch (readNext()) { | - | 
| 1512 | case executed 249024 times by 23 testsCharacters::  case Characters:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 executed 249024 times by 23 tests:  case Characters:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 249024 | 
| 1513 | case never executed: EntityReference:case EntityReference: never executed: case EntityReference: | 0 | 
| 1514 | result.insert(result.size(), d->text.unicode(), d->text.size()); | - | 
| 1515 | break; executed 249024 times by 23 tests:  break;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 249024 | 
| 1516 | case executed 249016 times by 23 testsEndElement::  case EndElement:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 executed 249016 times by 23 tests:  case EndElement:Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 249016 | 
| 1517 | return executed 249016 times by 23 testsresult;:  return result;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 executed 249016 times by 23 tests:  return result;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QStyletst_QSystemTrayIcontst_QToolButtontst_QXmlStreamtst_languageChange
 | 249016 | 
| 1518 | case never executed: ProcessingInstruction:case ProcessingInstruction: never executed: case ProcessingInstruction: | 0 | 
| 1519 | case executed 2 times by 1 testComment::  case Comment: executed 2 times by 1 test:  case Comment: | 2 | 
| 1520 | break; executed 2 times by 1 test:  break; | 2 | 
| 1521 | case executed 6 times by 1 testStartElement::  case StartElement: executed 6 times by 1 test:  case StartElement: | 6 | 
| 1522 | if (behaviour == SkipChildElements ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 2-4 | 
| 1523 | skipCurrentElement(); | - | 
| 1524 | break; executed 2 times by 1 test:  break; | 2 | 
| 1525 | } else if (behaviour == IncludeChildElements ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 2 | 
| 1526 | result += readElementText(behaviour); | - | 
| 1527 | break; executed 2 times by 1 test:  break; | 2 | 
| 1528 | } | - | 
| 1529 |  | - | 
| 1530 | default executed 5 times by 1 test::  default: executed 5 times by 1 test:  default: code before this statement executed 2 times by 1 test:  default: | 2-5 | 
| 1531 | if (d->error || behaviour == ErrorOnUnexpectedElement ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
 | 0-2 | 
| 1532 | if (!d->error )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 3 times by 1 test | 
 | 2-3 | 
| 1533 | d->raiseError(UnexpectedElementError, QXmlStream::tr("Expected character data.")); executed 2 times by 1 test:  d->raiseError(UnexpectedElementError, QXmlStream::tr("Expected character data.")); | 2 | 
| 1534 | return executed 5 times by 1 testresult;:  return result; executed 5 times by 1 test:  return result; | 5 | 
| 1535 | } | - | 
| 1536 | } never executed: end of block | 0 | 
| 1537 | } | - | 
| 1538 | } never executed: end of block | 0 | 
| 1539 | return never executed: QString();return QString(); never executed: return QString(); | 0 | 
| 1540 | } | - | 
| 1541 |  | - | 
| 1542 |  | - | 
| 1543 |  | - | 
| 1544 |  | - | 
| 1545 |  | - | 
| 1546 | void QXmlStreamReader::raiseError(const QString& message) | - | 
| 1547 | { | - | 
| 1548 | QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1549 | d->raiseError(CustomError, message); | - | 
| 1550 | } never executed: end of block | 0 | 
| 1551 |  | - | 
| 1552 |  | - | 
| 1553 |  | - | 
| 1554 |  | - | 
| 1555 |  | - | 
| 1556 |  | - | 
| 1557 | QString QXmlStreamReader::errorString() const | - | 
| 1558 | { | - | 
| 1559 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1560 | if (d->type == QXmlStreamReader::Invalid )| TRUE | evaluated 39 times by 1 test |  | FALSE | evaluated 586 times by 2 tests Evaluated by:tst_QXmlStreamtst_Selftests
 | 
 | 39-586 | 
| 1561 | return executed 39 times by 1 testd->errorString;:  return d->errorString; executed 39 times by 1 test:  return d->errorString; | 39 | 
| 1562 | return executed 586 times by 2 testsQString();:  return QString();Executed by:tst_QXmlStreamtst_Selftests
 executed 586 times by 2 tests:  return QString();Executed by:tst_QXmlStreamtst_Selftests
 | 586 | 
| 1563 | } | - | 
| 1564 |  | - | 
| 1565 |  | - | 
| 1566 |  | - | 
| 1567 |  | - | 
| 1568 |  | - | 
| 1569 | QXmlStreamReader::Error QXmlStreamReader::error() const | - | 
| 1570 | { | - | 
| 1571 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1572 | if (d->type == QXmlStreamReader::Invalid )| TRUE | evaluated 59946 times by 3 tests Evaluated by:tst_QDBusMetaObjecttst_QDBusXmlParsertst_QXmlStream
 |  | FALSE | evaluated 2921 times by 15 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 
 | 2921-59946 | 
| 1573 | return executed 59946 times by 3 testsd->error;:  return d->error;Executed by:tst_QDBusMetaObjecttst_QDBusXmlParsertst_QXmlStream
 executed 59946 times by 3 tests:  return d->error;Executed by:tst_QDBusMetaObjecttst_QDBusXmlParsertst_QXmlStream
 | 59946 | 
| 1574 | return executed 2921 times by 15 testsNoError;:  return NoError;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 executed 2921 times by 15 tests:  return NoError;Executed by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_Selfteststst_qdbusxml2cpp - unknown status
 | 2921 | 
| 1575 | } | - | 
| 1576 |  | - | 
| 1577 |  | - | 
| 1578 |  | - | 
| 1579 |  | - | 
| 1580 | QStringRef QXmlStreamReader::processingInstructionTarget() const | - | 
| 1581 | { | - | 
| 1582 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1583 | return executed 1988 times by 1 testd->processingInstructionTarget;:  return d->processingInstructionTarget; executed 1988 times by 1 test:  return d->processingInstructionTarget; | 1988 | 
| 1584 | } | - | 
| 1585 |  | - | 
| 1586 |  | - | 
| 1587 |  | - | 
| 1588 |  | - | 
| 1589 | QStringRef QXmlStreamReader::processingInstructionData() const | - | 
| 1590 | { | - | 
| 1591 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1592 | return executed 2024 times by 1 testd->processingInstructionData;:  return d->processingInstructionData; executed 2024 times by 1 test:  return d->processingInstructionData; | 2024 | 
| 1593 | } | - | 
| 1594 | QStringRef QXmlStreamReader::name() const | - | 
| 1595 | { | - | 
| 1596 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1597 | return executed 311578 times by 35 testsd->name;:  return d->name;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 311578 times by 35 tests:  return d->name;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 311578 | 
| 1598 | } | - | 
| 1599 |  | - | 
| 1600 |  | - | 
| 1601 |  | - | 
| 1602 |  | - | 
| 1603 |  | - | 
| 1604 |  | - | 
| 1605 | QStringRef QXmlStreamReader::namespaceUri() const | - | 
| 1606 | { | - | 
| 1607 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1608 | return executed 3754 times by 1 testd->namespaceUri;:  return d->namespaceUri; executed 3754 times by 1 test:  return d->namespaceUri; | 3754 | 
| 1609 | } | - | 
| 1610 | QStringRef QXmlStreamReader::qualifiedName() const | - | 
| 1611 | { | - | 
| 1612 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1613 | return executed 3055 times by 1 testd->qualifiedName;:  return d->qualifiedName; executed 3055 times by 1 test:  return d->qualifiedName; | 3055 | 
| 1614 | } | - | 
| 1615 | QStringRef QXmlStreamReader::prefix() const | - | 
| 1616 | { | - | 
| 1617 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1618 | return executed 1943 times by 2 testsd->prefix;:  return d->prefix;Executed by:tst_QDBusXmlParsertst_QXmlStream
 executed 1943 times by 2 tests:  return d->prefix;Executed by:tst_QDBusXmlParsertst_QXmlStream
 | 1943 | 
| 1619 | } | - | 
| 1620 |  | - | 
| 1621 |  | - | 
| 1622 |  | - | 
| 1623 |  | - | 
| 1624 | QXmlStreamAttributes QXmlStreamReader::attributes() const | - | 
| 1625 | { | - | 
| 1626 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1627 | return executed 282020 times by 35 testsd->attributes;:  return d->attributes;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 282020 times by 35 tests:  return d->attributes;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 282020 | 
| 1628 | } | - | 
| 1629 | QXmlStreamAttribute::QXmlStreamAttribute() | - | 
| 1630 | { | - | 
| 1631 | m_isDefault = false; | - | 
| 1632 | } executed 386672 times by 36 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 386672 | 
| 1633 |  | - | 
| 1634 |  | - | 
| 1635 |  | - | 
| 1636 |  | - | 
| 1637 | QXmlStreamAttribute::~QXmlStreamAttribute() | - | 
| 1638 | { | - | 
| 1639 | } | - | 
| 1640 |  | - | 
| 1641 |  | - | 
| 1642 |  | - | 
| 1643 |  | - | 
| 1644 | QXmlStreamAttribute::QXmlStreamAttribute(const QString &namespaceUri, const QString &name, const QString &value) | - | 
| 1645 | { | - | 
| 1646 | m_namespaceUri = QXmlStreamStringRef(QStringRef(&namespaceUri)); | - | 
| 1647 | m_name = m_qualifiedName = QXmlStreamStringRef(QStringRef(&name)); | - | 
| 1648 | m_value = QXmlStreamStringRef(QStringRef(&value)); | - | 
| 1649 | m_namespaceUri = QXmlStreamStringRef(QStringRef(&namespaceUri)); | - | 
| 1650 | } never executed: end of block | 0 | 
| 1651 |  | - | 
| 1652 |  | - | 
| 1653 |  | - | 
| 1654 |  | - | 
| 1655 | QXmlStreamAttribute::QXmlStreamAttribute(const QString &qualifiedName, const QString &value) | - | 
| 1656 | { | - | 
| 1657 | int colon = qualifiedName.indexOf(QLatin1Char(':')); | - | 
| 1658 | m_name = QXmlStreamStringRef(QStringRef(&qualifiedName, | - | 
| 1659 | colon + 1, | - | 
| 1660 | qualifiedName.size() - (colon + 1))); | - | 
| 1661 | m_qualifiedName = QXmlStreamStringRef(QStringRef(&qualifiedName)); | - | 
| 1662 | m_value = QXmlStreamStringRef(QStringRef(&value)); | - | 
| 1663 | } never executed: end of block | 0 | 
| 1664 | QXmlStreamAttribute::QXmlStreamAttribute(const QXmlStreamAttribute &other) | - | 
| 1665 | { | - | 
| 1666 | *this = other; | - | 
| 1667 | } executed 2543 times by 1 test:  end of block | 2543 | 
| 1668 |  | - | 
| 1669 |  | - | 
| 1670 |  | - | 
| 1671 |  | - | 
| 1672 | QXmlStreamAttribute& QXmlStreamAttribute::operator=(const QXmlStreamAttribute &other) | - | 
| 1673 | { | - | 
| 1674 | m_name = other.m_name; | - | 
| 1675 | m_namespaceUri = other.m_namespaceUri; | - | 
| 1676 | m_qualifiedName = other.m_qualifiedName; | - | 
| 1677 | m_value = other.m_value; | - | 
| 1678 | m_isDefault = other.m_isDefault; | - | 
| 1679 | return executed 2552 times by 1 test*this;:  return *this; executed 2552 times by 1 test:  return *this; | 2552 | 
| 1680 | } | - | 
| 1681 | QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration() | - | 
| 1682 | { | - | 
| 1683 | } | - | 
| 1684 |  | - | 
| 1685 |  | - | 
| 1686 |  | - | 
| 1687 | QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration &other) | - | 
| 1688 | { | - | 
| 1689 | *this = other; | - | 
| 1690 | } executed 304 times by 1 test:  end of block | 304 | 
| 1691 |  | - | 
| 1692 |  | - | 
| 1693 |  | - | 
| 1694 |  | - | 
| 1695 | QXmlStreamNotationDeclaration& QXmlStreamNotationDeclaration::operator=(const QXmlStreamNotationDeclaration &other) | - | 
| 1696 | { | - | 
| 1697 | m_name = other.m_name; | - | 
| 1698 | m_systemId = other.m_systemId; | - | 
| 1699 | m_publicId = other.m_publicId; | - | 
| 1700 | return executed 304 times by 1 test*this;:  return *this; executed 304 times by 1 test:  return *this; | 304 | 
| 1701 | } | - | 
| 1702 |  | - | 
| 1703 |  | - | 
| 1704 |  | - | 
| 1705 |  | - | 
| 1706 | QXmlStreamNotationDeclaration::~QXmlStreamNotationDeclaration() | - | 
| 1707 | { | - | 
| 1708 | } | - | 
| 1709 | QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration() | - | 
| 1710 | { | - | 
| 1711 | } | - | 
| 1712 |  | - | 
| 1713 |  | - | 
| 1714 |  | - | 
| 1715 |  | - | 
| 1716 |  | - | 
| 1717 |  | - | 
| 1718 | QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri) | - | 
| 1719 | { | - | 
| 1720 | m_prefix = prefix; | - | 
| 1721 | m_namespaceUri = namespaceUri; | - | 
| 1722 | } executed 2 times by 1 test:  end of block | 2 | 
| 1723 |  | - | 
| 1724 |  | - | 
| 1725 |  | - | 
| 1726 |  | - | 
| 1727 | QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration &other) | - | 
| 1728 | { | - | 
| 1729 | *this = other; | - | 
| 1730 | } executed 54 times by 1 test:  end of block | 54 | 
| 1731 |  | - | 
| 1732 |  | - | 
| 1733 |  | - | 
| 1734 |  | - | 
| 1735 | QXmlStreamNamespaceDeclaration& QXmlStreamNamespaceDeclaration::operator=(const QXmlStreamNamespaceDeclaration &other) | - | 
| 1736 | { | - | 
| 1737 | m_prefix = other.m_prefix; | - | 
| 1738 | m_namespaceUri = other.m_namespaceUri; | - | 
| 1739 | return executed 54 times by 1 test*this;:  return *this; executed 54 times by 1 test:  return *this; | 54 | 
| 1740 | } | - | 
| 1741 |  | - | 
| 1742 |  | - | 
| 1743 |  | - | 
| 1744 | QXmlStreamNamespaceDeclaration::~QXmlStreamNamespaceDeclaration() | - | 
| 1745 | { | - | 
| 1746 | } | - | 
| 1747 | QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration() | - | 
| 1748 | { | - | 
| 1749 | } | - | 
| 1750 |  | - | 
| 1751 |  | - | 
| 1752 |  | - | 
| 1753 |  | - | 
| 1754 | QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration &other) | - | 
| 1755 | { | - | 
| 1756 | *this = other; | - | 
| 1757 | } executed 10 times by 1 test:  end of block | 10 | 
| 1758 |  | - | 
| 1759 |  | - | 
| 1760 |  | - | 
| 1761 |  | - | 
| 1762 | QXmlStreamEntityDeclaration& QXmlStreamEntityDeclaration::operator=(const QXmlStreamEntityDeclaration &other) | - | 
| 1763 | { | - | 
| 1764 | m_name = other.m_name; | - | 
| 1765 | m_notationName = other.m_notationName; | - | 
| 1766 | m_systemId = other.m_systemId; | - | 
| 1767 | m_publicId = other.m_publicId; | - | 
| 1768 | m_value = other.m_value; | - | 
| 1769 | return executed 10 times by 1 test*this;:  return *this; executed 10 times by 1 test:  return *this; | 10 | 
| 1770 | } | - | 
| 1771 |  | - | 
| 1772 |  | - | 
| 1773 |  | - | 
| 1774 |  | - | 
| 1775 | QXmlStreamEntityDeclaration::~QXmlStreamEntityDeclaration() | - | 
| 1776 | { | - | 
| 1777 | } | - | 
| 1778 | QStringRef QXmlStreamAttributes::value(const QString &namespaceUri, const QString &name) const | - | 
| 1779 | { | - | 
| 1780 | for (int i = 0; i < size() ; ++i) {| TRUE | evaluated 28 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
 | 6-28 | 
| 1781 | const QXmlStreamAttribute &attribute = at(i); | - | 
| 1782 | if (attribute.name() == name && attribute.namespaceUri() == namespaceUri| TRUE | evaluated 7 times by 1 test |  | FALSE | evaluated 21 times by 1 test | 
)| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 2-21 | 
| 1783 | return executed 5 times by 1 testattribute.value();:  return attribute.value(); executed 5 times by 1 test:  return attribute.value(); | 5 | 
| 1784 | } executed 23 times by 1 test:  end of block | 23 | 
| 1785 | return executed 6 times by 1 testQStringRef();:  return QStringRef(); executed 6 times by 1 test:  return QStringRef(); | 6 | 
| 1786 | } | - | 
| 1787 |  | - | 
| 1788 |  | - | 
| 1789 |  | - | 
| 1790 |  | - | 
| 1791 |  | - | 
| 1792 |  | - | 
| 1793 | QStringRef QXmlStreamAttributes::value(const QString &namespaceUri, QLatin1String name) const | - | 
| 1794 | { | - | 
| 1795 | for (int i = 0; i < size() ; ++i) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1796 | const QXmlStreamAttribute &attribute = at(i); | - | 
| 1797 | if (attribute.name() == name && attribute.namespaceUri() == namespaceUri| TRUE | never evaluated |  | FALSE | never evaluated | 
)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1798 | return never executed: attribute.value();return attribute.value(); never executed: return attribute.value(); | 0 | 
| 1799 | } never executed: end of block | 0 | 
| 1800 | return never executed: QStringRef();return QStringRef(); never executed: return QStringRef(); | 0 | 
| 1801 | } | - | 
| 1802 |  | - | 
| 1803 |  | - | 
| 1804 |  | - | 
| 1805 |  | - | 
| 1806 |  | - | 
| 1807 |  | - | 
| 1808 | QStringRef QXmlStreamAttributes::value(QLatin1String namespaceUri, QLatin1String name) const | - | 
| 1809 | { | - | 
| 1810 | for (int i = 0; i < size() ; ++i) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1811 | const QXmlStreamAttribute &attribute = at(i); | - | 
| 1812 | if (attribute.name() == name && attribute.namespaceUri() == namespaceUri| TRUE | never evaluated |  | FALSE | never evaluated | 
)| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1813 | return never executed: attribute.value();return attribute.value(); never executed: return attribute.value(); | 0 | 
| 1814 | } never executed: end of block | 0 | 
| 1815 | return never executed: QStringRef();return QStringRef(); never executed: return QStringRef(); | 0 | 
| 1816 | } | - | 
| 1817 | QStringRef QXmlStreamAttributes::value(const QString &qualifiedName) const | - | 
| 1818 | { | - | 
| 1819 | for (int i = 0; i < size() ; ++i) {| TRUE | evaluated 19 times by 1 test |  | FALSE | evaluated 3 times by 1 test | 
 | 3-19 | 
| 1820 | const QXmlStreamAttribute &attribute = at(i); | - | 
| 1821 | if (attribute.qualifiedName() == qualifiedName )| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 14 times by 1 test | 
 | 5-14 | 
| 1822 | return executed 5 times by 1 testattribute.value();:  return attribute.value(); executed 5 times by 1 test:  return attribute.value(); | 5 | 
| 1823 | } executed 14 times by 1 test:  end of block | 14 | 
| 1824 | return executed 3 times by 1 testQStringRef();:  return QStringRef(); executed 3 times by 1 test:  return QStringRef(); | 3 | 
| 1825 | } | - | 
| 1826 | QStringRef QXmlStreamAttributes::value(QLatin1String qualifiedName) const | - | 
| 1827 | { | - | 
| 1828 | for (int i = 0; i < size() ; ++i) {| TRUE | evaluated 340807 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 19261 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 
 | 19261-340807 | 
| 1829 | const QXmlStreamAttribute &attribute = at(i); | - | 
| 1830 | if (attribute.qualifiedName() == qualifiedName )| TRUE | evaluated 289780 times by 35 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 |  | FALSE | evaluated 51027 times by 14 tests Evaluated by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 
 | 51027-289780 | 
| 1831 | return executed 289780 times by 35 testsattribute.value();:  return attribute.value();Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 289780 times by 35 tests:  return attribute.value();Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 289780 | 
| 1832 | } executed 51027 times by 14 tests:  end of blockExecuted by:tst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QMimeDatabasetst_QXmlStreamtst_qdbusxml2cpp - unknown status
 | 51027 | 
| 1833 | return executed 19261 times by 35 testsQStringRef();:  return QStringRef();Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 executed 19261 times by 35 tests:  return QStringRef();Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVariant...
 | 19261 | 
| 1834 | } | - | 
| 1835 |  | - | 
| 1836 |  | - | 
| 1837 |  | - | 
| 1838 |  | - | 
| 1839 |  | - | 
| 1840 | void QXmlStreamAttributes::append(const QString &namespaceUri, const QString &name, const QString &value) | - | 
| 1841 | { | - | 
| 1842 | append(QXmlStreamAttribute(namespaceUri, name, value)); | - | 
| 1843 | } never executed: end of block | 0 | 
| 1844 |  | - | 
| 1845 |  | - | 
| 1846 |  | - | 
| 1847 |  | - | 
| 1848 |  | - | 
| 1849 | void QXmlStreamAttributes::append(const QString &qualifiedName, const QString &value) | - | 
| 1850 | { | - | 
| 1851 | append(QXmlStreamAttribute(qualifiedName, value)); | - | 
| 1852 | } never executed: end of block | 0 | 
| 1853 | bool QXmlStreamReader::isWhitespace() const | - | 
| 1854 | { | - | 
| 1855 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1856 | return executed 1903 times by 1 testd->type == QXmlStreamReader::Characters && d->isWhitespace;:  return d->type == QXmlStreamReader::Characters && d->isWhitespace; executed 1903 times by 1 test:  return d->type == QXmlStreamReader::Characters && d->isWhitespace; | 1903 | 
| 1857 | } | - | 
| 1858 |  | - | 
| 1859 |  | - | 
| 1860 |  | - | 
| 1861 |  | - | 
| 1862 |  | - | 
| 1863 |  | - | 
| 1864 | bool QXmlStreamReader::isCDATA() const | - | 
| 1865 | { | - | 
| 1866 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1867 | return executed 1903 times by 1 testd->type == QXmlStreamReader::Characters && d->isCDATA;:  return d->type == QXmlStreamReader::Characters && d->isCDATA; executed 1903 times by 1 test:  return d->type == QXmlStreamReader::Characters && d->isCDATA; | 1903 | 
| 1868 | } | - | 
| 1869 | bool QXmlStreamReader::isStandaloneDocument() const | - | 
| 1870 | { | - | 
| 1871 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1872 | return executed 77 times by 1 testd->standalone;:  return d->standalone; executed 77 times by 1 test:  return d->standalone; | 77 | 
| 1873 | } | - | 
| 1874 | QStringRef QXmlStreamReader::documentVersion() const | - | 
| 1875 | { | - | 
| 1876 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1877 | if (d->type == QXmlStreamReader::StartDocument )| TRUE | evaluated 133 times by 1 test |  | FALSE | evaluated 1826 times by 1 test | 
 | 133-1826 | 
| 1878 | return executed 133 times by 1 testd->documentVersion;:  return d->documentVersion; executed 133 times by 1 test:  return d->documentVersion; | 133 | 
| 1879 | return executed 1826 times by 1 testQStringRef();:  return QStringRef(); executed 1826 times by 1 test:  return QStringRef(); | 1826 | 
| 1880 | } | - | 
| 1881 | QStringRef QXmlStreamReader::documentEncoding() const | - | 
| 1882 | { | - | 
| 1883 | const QXmlStreamReaderPrivate * const d = d_func(); | - | 
| 1884 | if (d->type == QXmlStreamReader::StartDocument )| TRUE | evaluated 83 times by 1 test |  | FALSE | evaluated 1826 times by 1 test | 
 | 83-1826 | 
| 1885 | return executed 83 times by 1 testd->documentEncoding;:  return d->documentEncoding; executed 83 times by 1 test:  return d->documentEncoding; | 83 | 
| 1886 | return executed 1826 times by 1 testQStringRef();:  return QStringRef(); executed 1826 times by 1 test:  return QStringRef(); | 1826 | 
| 1887 | } | - | 
| 1888 | class QXmlStreamWriterPrivate : public QXmlStreamPrivateTagStack { | - | 
| 1889 | QXmlStreamWriter *q_ptr; | - | 
| 1890 | inline QXmlStreamWriter* q_func() { return static_cast<QXmlStreamWriter *>(q_ptr); } inline const QXmlStreamWriter* q_func() const { return static_cast<const QXmlStreamWriter *>(q_ptr); } friend class QXmlStreamWriter; | - | 
| 1891 | public: | - | 
| 1892 | QXmlStreamWriterPrivate(QXmlStreamWriter *q); | - | 
| 1893 | ~QXmlStreamWriterPrivate() { | - | 
| 1894 | if (deleteDevice )| TRUE | evaluated 710 times by 1 test |  | FALSE | evaluated 34 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 34-710 | 
| 1895 | delete device; executed 710 times by 1 test:  delete device; | 710 | 
| 1896 |  | - | 
| 1897 | delete encoder; | - | 
| 1898 |  | - | 
| 1899 | } executed 744 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 744 | 
| 1900 |  | - | 
| 1901 | void write(const QStringRef &); | - | 
| 1902 | void write(const QString &); | - | 
| 1903 | void writeEscaped(const QString &, bool escapeWhitespace = false); | - | 
| 1904 | void write(const char *s, int len); | - | 
| 1905 | template <int N> void write(const char (&s)[N]) { write(s, N - 1); } executed 9934 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 9934 | 
| 1906 | bool finishStartElement(bool contents = true); | - | 
| 1907 | void writeStartElement(const QString &namespaceUri, const QString &name); | - | 
| 1908 | QIODevice *device; | - | 
| 1909 | QString *stringDevice; | - | 
| 1910 | uint deleteDevice :1; | - | 
| 1911 | uint inStartElement :1; | - | 
| 1912 | uint inEmptyElement :1; | - | 
| 1913 | uint lastWasStartElement :1; | - | 
| 1914 | uint wroteSomething :1; | - | 
| 1915 | uint hasError :1; | - | 
| 1916 | uint autoFormatting :1; | - | 
| 1917 | uint isCodecASCIICompatible :1; | - | 
| 1918 | QByteArray autoFormattingIndent; | - | 
| 1919 | NamespaceDeclaration emptyNamespace; | - | 
| 1920 | int lastNamespaceDeclaration; | - | 
| 1921 |  | - | 
| 1922 |  | - | 
| 1923 | QTextCodec *codec; | - | 
| 1924 | QTextEncoder *encoder; | - | 
| 1925 |  | - | 
| 1926 | void checkIfASCIICompatibleCodec(); | - | 
| 1927 |  | - | 
| 1928 | NamespaceDeclaration &findNamespace(const QString &namespaceUri, bool writeDeclaration = false, bool noDefault = false); | - | 
| 1929 | void writeNamespaceDeclaration(const NamespaceDeclaration &namespaceDeclaration); | - | 
| 1930 |  | - | 
| 1931 | int namespacePrefixCount; | - | 
| 1932 |  | - | 
| 1933 | void indent(int level); | - | 
| 1934 | }; | - | 
| 1935 |  | - | 
| 1936 |  | - | 
| 1937 | QXmlStreamWriterPrivate::QXmlStreamWriterPrivate(QXmlStreamWriter *q) | - | 
| 1938 | :autoFormattingIndent(4, ' ') | - | 
| 1939 | { | - | 
| 1940 | q_ptr = q; | - | 
| 1941 | device = 0; | - | 
| 1942 | stringDevice = 0; | - | 
| 1943 | deleteDevice = false; | - | 
| 1944 |  | - | 
| 1945 | codec = QTextCodec::codecForMib(106); | - | 
| 1946 | encoder = codec->makeEncoder(QTextCodec::IgnoreHeader); | - | 
| 1947 |  | - | 
| 1948 | checkIfASCIICompatibleCodec(); | - | 
| 1949 | inStartElement = inEmptyElement = false; | - | 
| 1950 | wroteSomething = false; | - | 
| 1951 | hasError = false; | - | 
| 1952 | lastWasStartElement = false; | - | 
| 1953 | lastNamespaceDeclaration = 1; | - | 
| 1954 | autoFormatting = false; | - | 
| 1955 | namespacePrefixCount = 0; | - | 
| 1956 | } executed 744 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 744 | 
| 1957 |  | - | 
| 1958 | void QXmlStreamWriterPrivate::checkIfASCIICompatibleCodec() | - | 
| 1959 | { | - | 
| 1960 |  | - | 
| 1961 | ((!(encoder)) ? qt_assert("encoder",__FILE__,3031) : qt_noop()); | - | 
| 1962 |  | - | 
| 1963 | QChar letterA = QLatin1Char('a'); | - | 
| 1964 | const QByteArray bytesA = encoder->fromUnicode(&letterA, 1); | - | 
| 1965 | const bool isCodecASCIICompatibleA = ( bytesA.count() == 1)| TRUE | evaluated 757 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
&& (| TRUE | evaluated 757 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
bytesA[0] == 0x61)| TRUE | evaluated 756 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
;| TRUE | evaluated 756 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
 | 1-757 | 
| 1966 | QChar letterLess = QLatin1Char('<'); | - | 
| 1967 | const QByteArray bytesLess = encoder->fromUnicode(&letterLess, 1); | - | 
| 1968 | const bool isCodecASCIICompatibleLess = ( bytesLess.count() == 1)| TRUE | evaluated 757 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
&& (| TRUE | evaluated 757 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
bytesLess[0] == 0x3C)| TRUE | evaluated 756 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
;| TRUE | evaluated 756 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1 time by 1 test | 
 | 1-757 | 
| 1969 | isCodecASCIICompatible = isCodecASCIICompatibleA && isCodecASCIICompatibleLess| TRUE | evaluated 756 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 2 times by 1 test | 
;| TRUE | evaluated 756 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-756 | 
| 1970 |  | - | 
| 1971 |  | - | 
| 1972 |  | - | 
| 1973 | } executed 758 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 758 | 
| 1974 |  | - | 
| 1975 | void QXmlStreamWriterPrivate::write(const QStringRef &s) | - | 
| 1976 | { | - | 
| 1977 | if (device ) {| TRUE | evaluated 3151 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 8 times by 1 test | 
 | 8-3151 | 
| 1978 | if (hasError )| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 3147 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 4-3147 | 
| 1979 | return; executed 4 times by 1 test:  return; | 4 | 
| 1980 |  | - | 
| 1981 |  | - | 
| 1982 |  | - | 
| 1983 | QByteArray bytes = encoder->fromUnicode(s.constData(), s.size()); | - | 
| 1984 |  | - | 
| 1985 | if (device->write(bytes) != bytes.size() )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 3146 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 1-3146 | 
| 1986 | hasError = true; executed 1 time by 1 test:  hasError = true; | 1 | 
| 1987 | } executed 3147 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 3147 | 
| 1988 | else if (stringDevice )| TRUE | evaluated 8 times by 1 test |  | FALSE | never evaluated | 
 | 0-8 | 
| 1989 | s.appendTo(stringDevice); executed 8 times by 1 test:  s.appendTo(stringDevice); | 8 | 
| 1990 | else | - | 
| 1991 | QMessageLogger(__FILE__, 3061, __PRETTY_FUNCTION__).warning("QXmlStreamWriter: No device"); never executed: QMessageLogger(__FILE__, 3061, __PRETTY_FUNCTION__).warning("QXmlStreamWriter: No device"); | 0 | 
| 1992 | } | - | 
| 1993 |  | - | 
| 1994 | void QXmlStreamWriterPrivate::write(const QString &s) | - | 
| 1995 | { | - | 
| 1996 | if (device ) {| TRUE | evaluated 5148 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 72 times by 1 test | 
 | 72-5148 | 
| 1997 | if (hasError )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 5147 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 1-5147 | 
| 1998 | return; executed 1 time by 1 test:  return; | 1 | 
| 1999 |  | - | 
| 2000 |  | - | 
| 2001 |  | - | 
| 2002 | QByteArray bytes = encoder->fromUnicode(s); | - | 
| 2003 |  | - | 
| 2004 | if (device->write(bytes) != bytes.size() )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 5146 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 1-5146 | 
| 2005 | hasError = true; executed 1 time by 1 test:  hasError = true; | 1 | 
| 2006 | } executed 5147 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 5147 | 
| 2007 | else if (stringDevice )| TRUE | evaluated 72 times by 1 test |  | FALSE | never evaluated | 
 | 0-72 | 
| 2008 | stringDevice->append(s); executed 72 times by 1 test:  stringDevice->append(s); | 72 | 
| 2009 | else | - | 
| 2010 | QMessageLogger(__FILE__, 3080, __PRETTY_FUNCTION__).warning("QXmlStreamWriter: No device"); never executed: QMessageLogger(__FILE__, 3080, __PRETTY_FUNCTION__).warning("QXmlStreamWriter: No device"); | 0 | 
| 2011 | } | - | 
| 2012 |  | - | 
| 2013 | void QXmlStreamWriterPrivate::writeEscaped(const QString &s, bool escapeWhitespace) | - | 
| 2014 | { | - | 
| 2015 | QString escaped; | - | 
| 2016 | escaped.reserve(s.size()); | - | 
| 2017 | for ( int i = 0; i < s.size() ; ++i ) {| TRUE | evaluated 20852 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 3437 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 3437-20852 | 
| 2018 | QChar c = s.at(i); | - | 
| 2019 | if (c.unicode() == '<' )| TRUE | evaluated 50 times by 1 test |  | FALSE | evaluated 20802 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 50-20802 | 
| 2020 | escaped.append(QLatin1String("<")); executed 50 times by 1 test:  escaped.append(QLatin1String("<")); | 50 | 
| 2021 | else if (c.unicode() == '>' )| TRUE | evaluated 52 times by 1 test |  | FALSE | evaluated 20750 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 52-20750 | 
| 2022 | escaped.append(QLatin1String(">")); executed 52 times by 1 test:  escaped.append(QLatin1String(">")); | 52 | 
| 2023 | else if (c.unicode() == '&' )| TRUE | evaluated 29 times by 1 test |  | FALSE | evaluated 20721 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 29-20721 | 
| 2024 | escaped.append(QLatin1String("&")); executed 29 times by 1 test:  escaped.append(QLatin1String("&")); | 29 | 
| 2025 | else if (c.unicode() == '\"' )| TRUE | evaluated 21 times by 1 test |  | FALSE | evaluated 20700 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 21-20700 | 
| 2026 | escaped.append(QLatin1String(""")); executed 21 times by 1 test:  escaped.append(QLatin1String(""")); | 21 | 
| 2027 | else if (escapeWhitespace && c.isSpace()| TRUE | evaluated 4056 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 16644 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
) {| TRUE | evaluated 173 times by 1 test |  | FALSE | evaluated 3883 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 173-16644 | 
| 2028 | if (c.unicode() == '\n' )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 171 times by 1 test | 
 | 2-171 | 
| 2029 | escaped.append(QLatin1String("
")); executed 2 times by 1 test:  escaped.append(QLatin1String("
")); | 2 | 
| 2030 | else if (c.unicode() == '\r' )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 169 times by 1 test | 
 | 2-169 | 
| 2031 | escaped.append(QLatin1String("
")); executed 2 times by 1 test:  escaped.append(QLatin1String("
")); | 2 | 
| 2032 | else if (c.unicode() == '\t' )| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 166 times by 1 test | 
 | 3-166 | 
| 2033 | escaped.append(QLatin1String("	")); executed 3 times by 1 test:  escaped.append(QLatin1String("	")); | 3 | 
| 2034 | else | - | 
| 2035 | escaped += c; executed 166 times by 1 test:  escaped += c; | 166 | 
| 2036 | } else { | - | 
| 2037 | escaped += QChar(c); | - | 
| 2038 | } executed 20527 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 20527 | 
| 2039 | } | - | 
| 2040 | write(escaped); | - | 
| 2041 | } executed 3437 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 3437 | 
| 2042 |  | - | 
| 2043 |  | - | 
| 2044 | void QXmlStreamWriterPrivate::write(const char *s, int len) | - | 
| 2045 | { | - | 
| 2046 | if (device ) {| TRUE | evaluated 10239 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 64 times by 1 test | 
 | 64-10239 | 
| 2047 | if (hasError )| TRUE | evaluated 14 times by 1 test |  | FALSE | evaluated 10225 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 14-10225 | 
| 2048 | return; executed 14 times by 1 test:  return; | 14 | 
| 2049 | if (isCodecASCIICompatible ) {| TRUE | evaluated 10211 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 14 times by 1 test | 
 | 14-10211 | 
| 2050 | if (device->write(s, len) != len )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 10209 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 2-10209 | 
| 2051 | hasError = true; executed 2 times by 1 test:  hasError = true; | 2 | 
| 2052 | return; executed 10211 times by 3 tests:  return;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 10211 | 
| 2053 | } | - | 
| 2054 | } executed 14 times by 1 test:  end of block | 14 | 
| 2055 |  | - | 
| 2056 | write(QString::fromLatin1(s, len)); | - | 
| 2057 | } executed 78 times by 1 test:  end of block | 78 | 
| 2058 |  | - | 
| 2059 | void QXmlStreamWriterPrivate::writeNamespaceDeclaration(const NamespaceDeclaration &namespaceDeclaration) { | - | 
| 2060 | if (namespaceDeclaration.prefix.isEmpty() ) {| TRUE | never evaluated |  | FALSE | evaluated 102 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 0-102 | 
| 2061 | write(" xmlns=\""); | - | 
| 2062 | write(namespaceDeclaration.namespaceUri); | - | 
| 2063 | write("\""); | - | 
| 2064 | } never executed: else {end of block | 0 | 
| 2065 | write(" xmlns:"); | - | 
| 2066 | write(namespaceDeclaration.prefix); | - | 
| 2067 | write("=\""); | - | 
| 2068 | write(namespaceDeclaration.namespaceUri); | - | 
| 2069 | write("\""); | - | 
| 2070 | } executed 102 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 102 | 
| 2071 | } | - | 
| 2072 |  | - | 
| 2073 | bool QXmlStreamWriterPrivate::finishStartElement(bool contents) | - | 
| 2074 | { | - | 
| 2075 | bool hadSomethingWritten = wroteSomething; | - | 
| 2076 | wroteSomething = contents; | - | 
| 2077 | if (!inStartElement )| TRUE | evaluated 5103 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1276 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 1276-5103 | 
| 2078 | return executed 5103 times by 3 testshadSomethingWritten;:  return hadSomethingWritten;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 executed 5103 times by 3 tests:  return hadSomethingWritten;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 5103 | 
| 2079 |  | - | 
| 2080 | if (inEmptyElement ) {| TRUE | evaluated 39 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1237 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 39-1237 | 
| 2081 | write("/>"); | - | 
| 2082 | QXmlStreamWriterPrivate::Tag &tag = tagStack_pop(); | - | 
| 2083 | lastNamespaceDeclaration = tag.namespaceDeclarationsSize; | - | 
| 2084 | lastWasStartElement = false; | - | 
| 2085 | } executed 39 times by 3 testselse {:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 39 | 
| 2086 | write(">"); | - | 
| 2087 | } executed 1237 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 1237 | 
| 2088 | inStartElement = inEmptyElement = false; | - | 
| 2089 | lastNamespaceDeclaration = namespaceDeclarations.size(); | - | 
| 2090 | return executed 1276 times by 3 testshadSomethingWritten;:  return hadSomethingWritten;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 executed 1276 times by 3 tests:  return hadSomethingWritten;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 1276 | 
| 2091 | } | - | 
| 2092 |  | - | 
| 2093 | QXmlStreamPrivateTagStack::NamespaceDeclaration &QXmlStreamWriterPrivate::findNamespace(const QString &namespaceUri, bool writeDeclaration, bool noDefault) | - | 
| 2094 | { | - | 
| 2095 | for (int j = namespaceDeclarations.size() - 1; j >= 0 ; --j) {| TRUE | evaluated 2565 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1162 times by 1 test | 
 | 1162-2565 | 
| 2096 | NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations[j]; | - | 
| 2097 | if (namespaceDeclaration.namespaceUri == namespaceUri ) {| TRUE | evaluated 302 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 2263 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 302-2263 | 
| 2098 | if (!noDefault || !namespaceDeclaration.prefix.isEmpty()| TRUE | evaluated 134 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 168 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
)| TRUE | evaluated 168 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-168 | 
| 2099 | return executed 302 times by 3 testsnamespaceDeclaration;:  return namespaceDeclaration;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 executed 302 times by 3 tests:  return namespaceDeclaration;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 302 | 
| 2100 | } never executed: end of block | 0 | 
| 2101 | } executed 2263 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 2263 | 
| 2102 | if (namespaceUri.isEmpty() )| TRUE | evaluated 1143 times by 1 test |  | FALSE | evaluated 19 times by 1 test | 
 | 19-1143 | 
| 2103 | return executed 1143 times by 1 testemptyNamespace;:  return emptyNamespace; executed 1143 times by 1 test:  return emptyNamespace; | 1143 | 
| 2104 | NamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.push(); | - | 
| 2105 | if (namespaceUri.isEmpty() ) {| TRUE | never evaluated |  | FALSE | evaluated 19 times by 1 test | 
 | 0-19 | 
| 2106 | namespaceDeclaration.prefix.clear(); | - | 
| 2107 | } never executed: else {end of block | 0 | 
| 2108 | QString s; | - | 
| 2109 | int n = ++namespacePrefixCount; | - | 
| 2110 | for(;;) { | - | 
| 2111 | s = QLatin1Char('n') + QString::number(n++); | - | 
| 2112 | int j = namespaceDeclarations.size() - 2; | - | 
| 2113 | while (j >= 0 && namespaceDeclarations.at(j).prefix != s| TRUE | evaluated 22 times by 1 test |  | FALSE | evaluated 19 times by 1 test | 
)| TRUE | evaluated 22 times by 1 test |  | FALSE | never evaluated | 
 | 0-22 | 
| 2114 | -- executed 22 times by 1 testj;:  --j; executed 22 times by 1 test:  --j; | 22 | 
| 2115 | if (j < 0 )| TRUE | evaluated 19 times by 1 test |  | FALSE | never evaluated | 
 | 0-19 | 
| 2116 | break; executed 19 times by 1 test:  break; | 19 | 
| 2117 | } never executed: end of block | 0 | 
| 2118 | namespaceDeclaration.prefix = addToStringStorage(s); | - | 
| 2119 | } executed 19 times by 1 test:  end of block | 19 | 
| 2120 | namespaceDeclaration.namespaceUri = addToStringStorage(namespaceUri); | - | 
| 2121 | if (writeDeclaration )| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 15 times by 1 test | 
 | 4-15 | 
| 2122 | writeNamespaceDeclaration(namespaceDeclaration); executed 4 times by 1 test:  writeNamespaceDeclaration(namespaceDeclaration); | 4 | 
| 2123 | return executed 19 times by 1 testnamespaceDeclaration;:  return namespaceDeclaration; executed 19 times by 1 test:  return namespaceDeclaration; | 19 | 
| 2124 | } | - | 
| 2125 |  | - | 
| 2126 |  | - | 
| 2127 |  | - | 
| 2128 | void QXmlStreamWriterPrivate::indent(int level) | - | 
| 2129 | { | - | 
| 2130 | write("\n"); | - | 
| 2131 | for (int i = level; i > 0 ; --i)| TRUE | evaluated 332 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 218 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 218-332 | 
| 2132 | write(autoFormattingIndent.constData(), autoFormattingIndent.length()); executed 332 times by 3 tests:  write(autoFormattingIndent.constData(), autoFormattingIndent.length());Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 332 | 
| 2133 | } executed 218 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 218 | 
| 2134 |  | - | 
| 2135 |  | - | 
| 2136 |  | - | 
| 2137 |  | - | 
| 2138 |  | - | 
| 2139 |  | - | 
| 2140 |  | - | 
| 2141 | QXmlStreamWriter::QXmlStreamWriter() | - | 
| 2142 | : d_ptr(new QXmlStreamWriterPrivate(this)) | - | 
| 2143 | { | - | 
| 2144 | } never executed: end of block | 0 | 
| 2145 |  | - | 
| 2146 |  | - | 
| 2147 |  | - | 
| 2148 |  | - | 
| 2149 | QXmlStreamWriter::QXmlStreamWriter(QIODevice *device) | - | 
| 2150 | : d_ptr(new QXmlStreamWriterPrivate(this)) | - | 
| 2151 | { | - | 
| 2152 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2153 | d->device = device; | - | 
| 2154 | } executed 32 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 32 | 
| 2155 |  | - | 
| 2156 |  | - | 
| 2157 |  | - | 
| 2158 |  | - | 
| 2159 |  | - | 
| 2160 | QXmlStreamWriter::QXmlStreamWriter(QByteArray *array) | - | 
| 2161 | : d_ptr(new QXmlStreamWriterPrivate(this)) | - | 
| 2162 | { | - | 
| 2163 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2164 | d->device = new QBuffer(array); | - | 
| 2165 | d->device->open(QIODevice::WriteOnly); | - | 
| 2166 | d->deleteDevice = true; | - | 
| 2167 | } executed 710 times by 1 test:  end of block | 710 | 
| 2168 |  | - | 
| 2169 |  | - | 
| 2170 |  | - | 
| 2171 |  | - | 
| 2172 | QXmlStreamWriter::QXmlStreamWriter(QString *string) | - | 
| 2173 | : d_ptr(new QXmlStreamWriterPrivate(this)) | - | 
| 2174 | { | - | 
| 2175 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2176 | d->stringDevice = string; | - | 
| 2177 | } executed 2 times by 1 test:  end of block | 2 | 
| 2178 |  | - | 
| 2179 |  | - | 
| 2180 |  | - | 
| 2181 |  | - | 
| 2182 | QXmlStreamWriter::~QXmlStreamWriter() | - | 
| 2183 | { | - | 
| 2184 | } | - | 
| 2185 | void QXmlStreamWriter::setDevice(QIODevice *device) | - | 
| 2186 | { | - | 
| 2187 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2188 | if (device == d->device )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 2189 | return; never executed: return; | 0 | 
| 2190 | d->stringDevice = 0; | - | 
| 2191 | if (d->deleteDevice ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 2192 | delete d->device; | - | 
| 2193 | d->deleteDevice = false; | - | 
| 2194 | } never executed: end of block | 0 | 
| 2195 | d->device = device; | - | 
| 2196 | } never executed: end of block | 0 | 
| 2197 |  | - | 
| 2198 |  | - | 
| 2199 |  | - | 
| 2200 |  | - | 
| 2201 |  | - | 
| 2202 |  | - | 
| 2203 |  | - | 
| 2204 | QIODevice *QXmlStreamWriter::device() const | - | 
| 2205 | { | - | 
| 2206 | const QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2207 | return never executed: d->device;return d->device; never executed: return d->device; | 0 | 
| 2208 | } | - | 
| 2209 | void QXmlStreamWriter::setCodec(QTextCodec *codec) | - | 
| 2210 | { | - | 
| 2211 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2212 | if (codec ) {| TRUE | evaluated 14 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-14 | 
| 2213 | d->codec = codec; | - | 
| 2214 | delete d->encoder; | - | 
| 2215 | d->encoder = codec->makeEncoder(QTextCodec::IgnoreHeader); | - | 
| 2216 | d->checkIfASCIICompatibleCodec(); | - | 
| 2217 | } executed 14 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 14 | 
| 2218 | } executed 14 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 14 | 
| 2219 | void QXmlStreamWriter::setCodec(const char *codecName) | - | 
| 2220 | { | - | 
| 2221 | setCodec(QTextCodec::codecForName(codecName)); | - | 
| 2222 | } executed 1 time by 1 test:  end of block | 1 | 
| 2223 |  | - | 
| 2224 |  | - | 
| 2225 |  | - | 
| 2226 |  | - | 
| 2227 |  | - | 
| 2228 |  | - | 
| 2229 | QTextCodec *QXmlStreamWriter::codec() const | - | 
| 2230 | { | - | 
| 2231 | const QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2232 | return never executed: d->codec;return d->codec; never executed: return d->codec; | 0 | 
| 2233 | } | - | 
| 2234 | void QXmlStreamWriter::setAutoFormatting(bool enable) | - | 
| 2235 | { | - | 
| 2236 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2237 | d->autoFormatting = enable; | - | 
| 2238 | } executed 28 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 28 | 
| 2239 |  | - | 
| 2240 |  | - | 
| 2241 |  | - | 
| 2242 |  | - | 
| 2243 |  | - | 
| 2244 |  | - | 
| 2245 | bool QXmlStreamWriter::autoFormatting() const | - | 
| 2246 | { | - | 
| 2247 | const QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2248 | return never executed: d->autoFormatting;return d->autoFormatting; never executed: return d->autoFormatting; | 0 | 
| 2249 | } | - | 
| 2250 | void QXmlStreamWriter::setAutoFormattingIndent(int spacesOrTabs) | - | 
| 2251 | { | - | 
| 2252 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2253 | d->autoFormattingIndent = QByteArray(qAbs(spacesOrTabs), spacesOrTabs >= 0 ? ' ' : '\t'); | - | 
| 2254 | } executed 21 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 21 | 
| 2255 |  | - | 
| 2256 | int QXmlStreamWriter::autoFormattingIndent() const | - | 
| 2257 | { | - | 
| 2258 | const QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2259 | return executed 1 time by 1 testd->autoFormattingIndent.count(' ') - d->autoFormattingIndent.count('\t');:  return d->autoFormattingIndent.count(' ') - d->autoFormattingIndent.count('\t'); executed 1 time by 1 test:  return d->autoFormattingIndent.count(' ') - d->autoFormattingIndent.count('\t'); | 1 | 
| 2260 | } | - | 
| 2261 |  | - | 
| 2262 |  | - | 
| 2263 |  | - | 
| 2264 |  | - | 
| 2265 |  | - | 
| 2266 |  | - | 
| 2267 |  | - | 
| 2268 | bool QXmlStreamWriter::hasError() const | - | 
| 2269 | { | - | 
| 2270 | const QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2271 | return executed 6 times by 1 testd->hasError;:  return d->hasError; executed 6 times by 1 test:  return d->hasError; | 6 | 
| 2272 | } | - | 
| 2273 | void QXmlStreamWriter::writeAttribute(const QString &qualifiedName, const QString &value) | - | 
| 2274 | { | - | 
| 2275 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2276 | ((!(d->inStartElement)) ? qt_assert("d->inStartElement",__FILE__,3427) : qt_noop()); | - | 
| 2277 | ((!(qualifiedName.count(QLatin1Char(':')) <= 1)) ? qt_assert("qualifiedName.count(QLatin1Char(':')) <= 1",__FILE__,3428) : qt_noop()); | - | 
| 2278 | d->write(" "); | - | 
| 2279 | d->write(qualifiedName); | - | 
| 2280 | d->write("=\""); | - | 
| 2281 | d->writeEscaped(value, true); | - | 
| 2282 | d->write("\""); | - | 
| 2283 | } executed 440 times by 1 test:  end of block | 440 | 
| 2284 | void QXmlStreamWriter::writeAttribute(const QString &namespaceUri, const QString &name, const QString &value) | - | 
| 2285 | { | - | 
| 2286 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2287 | ((!(d->inStartElement)) ? qt_assert("d->inStartElement",__FILE__,3447) : qt_noop()); | - | 
| 2288 | ((!(!name.contains(QLatin1Char(':')))) ? qt_assert("!name.contains(QLatin1Char(':'))",__FILE__,3448) : qt_noop()); | - | 
| 2289 | QXmlStreamWriterPrivate::NamespaceDeclaration &namespaceDeclaration = d->findNamespace(namespaceUri, true, true); | - | 
| 2290 | d->write(" "); | - | 
| 2291 | if (!namespaceDeclaration.prefix.isEmpty() ) {| TRUE | evaluated 172 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | never evaluated | 
 | 0-172 | 
| 2292 | d->write(namespaceDeclaration.prefix); | - | 
| 2293 | d->write(":"); | - | 
| 2294 | } executed 172 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 172 | 
| 2295 | d->write(name); | - | 
| 2296 | d->write("=\""); | - | 
| 2297 | d->writeEscaped(value, true); | - | 
| 2298 | d->write("\""); | - | 
| 2299 | } executed 172 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 172 | 
| 2300 | void QXmlStreamWriter::writeAttribute(const QXmlStreamAttribute& attribute) | - | 
| 2301 | { | - | 
| 2302 | if (attribute.namespaceUri().isEmpty() )| TRUE | evaluated 433 times by 1 test |  | FALSE | evaluated 34 times by 1 test | 
 | 34-433 | 
| 2303 | writeAttribute(attribute.qualifiedName().toString(), executed 433 times by 1 test:  writeAttribute(attribute.qualifiedName().toString(), attribute.value().toString()); | 433 | 
| 2304 | attribute.value().toString()); executed 433 times by 1 test:  writeAttribute(attribute.qualifiedName().toString(), attribute.value().toString()); | 433 | 
| 2305 | else | - | 
| 2306 | writeAttribute(attribute.namespaceUri().toString(), executed 34 times by 1 test:  writeAttribute(attribute.namespaceUri().toString(), attribute.name().toString(), attribute.value().toString()); | 34 | 
| 2307 | attribute.name().toString(), executed 34 times by 1 test:  writeAttribute(attribute.namespaceUri().toString(), attribute.name().toString(), attribute.value().toString()); | 34 | 
| 2308 | attribute.value().toString()); executed 34 times by 1 test:  writeAttribute(attribute.namespaceUri().toString(), attribute.name().toString(), attribute.value().toString()); | 34 | 
| 2309 | } | - | 
| 2310 | void QXmlStreamWriter::writeAttributes(const QXmlStreamAttributes& attributes) | - | 
| 2311 | { | - | 
| 2312 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2313 | ((!(d->inStartElement)) ? qt_assert("d->inStartElement",__FILE__,3493) : qt_noop()); | - | 
| 2314 | (void)d;; | - | 
| 2315 | for (int i = 0; i < attributes.size() ; ++i)| TRUE | never evaluated |  | FALSE | evaluated 4 times by 1 test | 
 | 0-4 | 
| 2316 | writeAttribute(attributes.at(i)); never executed: writeAttribute(attributes.at(i)); | 0 | 
| 2317 | } executed 4 times by 1 test:  end of block | 4 | 
| 2318 | void QXmlStreamWriter::writeCDATA(const QString &text) | - | 
| 2319 | { | - | 
| 2320 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2321 | d->finishStartElement(); | - | 
| 2322 | QString copy(text); | - | 
| 2323 | copy.replace(QLatin1String("]]>"), QLatin1String("]]]]><![CDATA[>")); | - | 
| 2324 | d->write("<![CDATA["); | - | 
| 2325 | d->write(copy); | - | 
| 2326 | d->write("]]>"); | - | 
| 2327 | } never executed: end of block | 0 | 
| 2328 | void QXmlStreamWriter::writeCharacters(const QString &text) | - | 
| 2329 | { | - | 
| 2330 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2331 | d->finishStartElement(); | - | 
| 2332 | d->writeEscaped(text); | - | 
| 2333 | } executed 2825 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 2825 | 
| 2334 |  | - | 
| 2335 |  | - | 
| 2336 |  | - | 
| 2337 |  | - | 
| 2338 |  | - | 
| 2339 |  | - | 
| 2340 | void QXmlStreamWriter::writeComment(const QString &text) | - | 
| 2341 | { | - | 
| 2342 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2343 | ((!(!text.contains(QLatin1String("--")) && !text.endsWith(QLatin1Char('-')))) ? qt_assert("!text.contains(QLatin1String(\"--\")) && !text.endsWith(QLatin1Char('-'))",__FILE__,3541) : qt_noop()); | - | 
| 2344 | if (!d->finishStartElement(false) && d->autoFormatting| TRUE | evaluated 7 times by 1 test |  | FALSE | never evaluated | 
)| TRUE | evaluated 7 times by 1 test |  | FALSE | never evaluated | 
 | 0-7 | 
| 2345 | d->indent(d->tagStack.size()); executed 7 times by 1 test:  d->indent(d->tagStack.size()); | 7 | 
| 2346 | d->write("<!--"); | - | 
| 2347 | d->write(text); | - | 
| 2348 | d->write("-->"); | - | 
| 2349 | d->inStartElement = d->lastWasStartElement = false; | - | 
| 2350 | } executed 7 times by 1 test:  end of block | 7 | 
| 2351 |  | - | 
| 2352 |  | - | 
| 2353 |  | - | 
| 2354 |  | - | 
| 2355 |  | - | 
| 2356 | void QXmlStreamWriter::writeDTD(const QString &dtd) | - | 
| 2357 | { | - | 
| 2358 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2359 | d->finishStartElement(); | - | 
| 2360 | if (d->autoFormatting )| TRUE | never evaluated |  | FALSE | evaluated 46 times by 1 test | 
 | 0-46 | 
| 2361 | d->write("\n"); never executed: d->write("\n"); | 0 | 
| 2362 | d->write(dtd); | - | 
| 2363 | if (d->autoFormatting )| TRUE | never evaluated |  | FALSE | evaluated 46 times by 1 test | 
 | 0-46 | 
| 2364 | d->write("\n"); never executed: d->write("\n"); | 0 | 
| 2365 | } executed 46 times by 1 test:  end of block | 46 | 
| 2366 |  | - | 
| 2367 |  | - | 
| 2368 |  | - | 
| 2369 |  | - | 
| 2370 |  | - | 
| 2371 |  | - | 
| 2372 |  | - | 
| 2373 | void QXmlStreamWriter::writeEmptyElement(const QString &qualifiedName) | - | 
| 2374 | { | - | 
| 2375 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2376 | ((!(qualifiedName.count(QLatin1Char(':')) <= 1)) ? qt_assert("qualifiedName.count(QLatin1Char(':')) <= 1",__FILE__,3574) : qt_noop()); | - | 
| 2377 | d->writeStartElement(QString(), qualifiedName); | - | 
| 2378 | d->inEmptyElement = true; | - | 
| 2379 | } executed 5 times by 1 test:  end of block | 5 | 
| 2380 | void QXmlStreamWriter::writeEmptyElement(const QString &namespaceUri, const QString &name) | - | 
| 2381 | { | - | 
| 2382 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2383 | ((!(!name.contains(QLatin1Char(':')))) ? qt_assert("!name.contains(QLatin1Char(':'))",__FILE__,3590) : qt_noop()); | - | 
| 2384 | d->writeStartElement(namespaceUri, name); | - | 
| 2385 | d->inEmptyElement = true; | - | 
| 2386 | } executed 34 times by 2 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdit
 | 34 | 
| 2387 | void QXmlStreamWriter::writeTextElement(const QString &qualifiedName, const QString &text) | - | 
| 2388 | { | - | 
| 2389 | writeStartElement(qualifiedName); | - | 
| 2390 | writeCharacters(text); | - | 
| 2391 | writeEndElement(); | - | 
| 2392 | } executed 1 time by 1 test:  end of block | 1 | 
| 2393 | void QXmlStreamWriter::writeTextElement(const QString &namespaceUri, const QString &name, const QString &text) | - | 
| 2394 | { | - | 
| 2395 | writeStartElement(namespaceUri, name); | - | 
| 2396 | writeCharacters(text); | - | 
| 2397 | writeEndElement(); | - | 
| 2398 | } never executed: end of block | 0 | 
| 2399 |  | - | 
| 2400 |  | - | 
| 2401 |  | - | 
| 2402 |  | - | 
| 2403 |  | - | 
| 2404 |  | - | 
| 2405 |  | - | 
| 2406 | void QXmlStreamWriter::writeEndDocument() | - | 
| 2407 | { | - | 
| 2408 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2409 | while (d->tagStack.size() )| TRUE | evaluated 14 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 33 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 14-33 | 
| 2410 | writeEndElement(); executed 14 times by 3 tests:  writeEndElement();Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 14 | 
| 2411 | d->write("\n"); | - | 
| 2412 | } executed 33 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 33 | 
| 2413 |  | - | 
| 2414 |  | - | 
| 2415 |  | - | 
| 2416 |  | - | 
| 2417 |  | - | 
| 2418 |  | - | 
| 2419 | void QXmlStreamWriter::writeEndElement() | - | 
| 2420 | { | - | 
| 2421 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2422 | if (d->tagStack.isEmpty() )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 1255 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 1-1255 | 
| 2423 | return; executed 1 time by 1 test:  return; | 1 | 
| 2424 |  | - | 
| 2425 |  | - | 
| 2426 | if (d->inStartElement && !d->inEmptyElement| TRUE | evaluated 42 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1213 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
) {| TRUE | evaluated 14 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 28 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 14-1213 | 
| 2427 | d->write("/>"); | - | 
| 2428 | d->lastWasStartElement = d->inStartElement = false; | - | 
| 2429 | QXmlStreamWriterPrivate::Tag &tag = d->tagStack_pop(); | - | 
| 2430 | d->lastNamespaceDeclaration = tag.namespaceDeclarationsSize; | - | 
| 2431 | return; executed 14 times by 3 tests:  return;Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 14 | 
| 2432 | } | - | 
| 2433 |  | - | 
| 2434 | if (!d->finishStartElement(false) && !d->lastWasStartElement| TRUE | evaluated 145 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1096 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
&& d->autoFormatting| TRUE | evaluated 138 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 7 times by 1 test | 
)| TRUE | evaluated 77 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 61 times by 1 test | 
 | 7-1096 | 
| 2435 | d->indent(d->tagStack.size()-1); executed 77 times by 3 tests:  d->indent(d->tagStack.size()-1);Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 77 | 
| 2436 | if (d->tagStack.isEmpty() )| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 1237 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 4-1237 | 
| 2437 | return; executed 4 times by 1 test:  return; | 4 | 
| 2438 | d->lastWasStartElement = false; | - | 
| 2439 | QXmlStreamWriterPrivate::Tag &tag = d->tagStack_pop(); | - | 
| 2440 | d->lastNamespaceDeclaration = tag.namespaceDeclarationsSize; | - | 
| 2441 | d->write("</"); | - | 
| 2442 | if (!tag.namespaceDeclaration.prefix.isEmpty() ) {| TRUE | evaluated 105 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1132 times by 1 test | 
 | 105-1132 | 
| 2443 | d->write(tag.namespaceDeclaration.prefix); | - | 
| 2444 | d->write(":"); | - | 
| 2445 | } executed 105 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 105 | 
| 2446 | d->write(tag.name); | - | 
| 2447 | d->write(">"); | - | 
| 2448 | } executed 1237 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 1237 | 
| 2449 |  | - | 
| 2450 |  | - | 
| 2451 |  | - | 
| 2452 |  | - | 
| 2453 |  | - | 
| 2454 |  | - | 
| 2455 | void QXmlStreamWriter::writeEntityReference(const QString &name) | - | 
| 2456 | { | - | 
| 2457 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2458 | d->finishStartElement(); | - | 
| 2459 | d->write("&"); | - | 
| 2460 | d->write(name); | - | 
| 2461 | d->write(";"); | - | 
| 2462 | } executed 857 times by 1 test:  end of block | 857 | 
| 2463 | void QXmlStreamWriter::writeNamespace(const QString &namespaceUri, const QString &prefix) | - | 
| 2464 | { | - | 
| 2465 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2466 | ((!(!namespaceUri.isEmpty())) ? qt_assert("!namespaceUri.isEmpty()",__FILE__,3711) : qt_noop()); | - | 
| 2467 | ((!(prefix != QLatin1String("xmlns"))) ? qt_assert("prefix != QLatin1String(\"xmlns\")",__FILE__,3712) : qt_noop()); | - | 
| 2468 | if (prefix.isEmpty() ) {| TRUE | never evaluated |  | FALSE | evaluated 83 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 0-83 | 
| 2469 | d->findNamespace(namespaceUri, d->inStartElement); | - | 
| 2470 | } never executed: else {end of block | 0 | 
| 2471 | ((!(!((prefix == QLatin1String("xml")) ^ (namespaceUri == QLatin1String("http://www.w3.org/XML/1998/namespace"))))) ? qt_assert("!((prefix == QLatin1String(\"xml\")) ^ (namespaceUri == QLatin1String(\"http://www.w3.org/XML/1998/namespace\")))",__FILE__,3716) : qt_noop()); | - | 
| 2472 | ((!(namespaceUri != QLatin1String("http://www.w3.org/2000/xmlns/"))) ? qt_assert("namespaceUri != QLatin1String(\"http://www.w3.org/2000/xmlns/\")",__FILE__,3717) : qt_noop()); | - | 
| 2473 | QXmlStreamWriterPrivate::NamespaceDeclaration &namespaceDeclaration = d->namespaceDeclarations.push(); | - | 
| 2474 | namespaceDeclaration.prefix = d->addToStringStorage(prefix); | - | 
| 2475 | namespaceDeclaration.namespaceUri = d->addToStringStorage(namespaceUri); | - | 
| 2476 | if (d->inStartElement )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 81 times by 2 tests Evaluated by:tst_QPlainTextEdittst_QTextEdit
 | 
 | 2-81 | 
| 2477 | d->writeNamespaceDeclaration(namespaceDeclaration); executed 2 times by 1 test:  d->writeNamespaceDeclaration(namespaceDeclaration); | 2 | 
| 2478 | } executed 83 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 83 | 
| 2479 | } | - | 
| 2480 | void QXmlStreamWriter::writeDefaultNamespace(const QString &namespaceUri) | - | 
| 2481 | { | - | 
| 2482 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2483 | ((!(namespaceUri != QLatin1String("http://www.w3.org/XML/1998/namespace"))) ? qt_assert("namespaceUri != QLatin1String(\"http://www.w3.org/XML/1998/namespace\")",__FILE__,3740) : qt_noop()); | - | 
| 2484 | ((!(namespaceUri != QLatin1String("http://www.w3.org/2000/xmlns/"))) ? qt_assert("namespaceUri != QLatin1String(\"http://www.w3.org/2000/xmlns/\")",__FILE__,3741) : qt_noop()); | - | 
| 2485 | QXmlStreamWriterPrivate::NamespaceDeclaration &namespaceDeclaration = d->namespaceDeclarations.push(); | - | 
| 2486 | namespaceDeclaration.prefix.clear(); | - | 
| 2487 | namespaceDeclaration.namespaceUri = d->addToStringStorage(namespaceUri); | - | 
| 2488 | if (d->inStartElement )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 2489 | d->writeNamespaceDeclaration(namespaceDeclaration); never executed: d->writeNamespaceDeclaration(namespaceDeclaration); | 0 | 
| 2490 | } never executed: end of block | 0 | 
| 2491 |  | - | 
| 2492 |  | - | 
| 2493 |  | - | 
| 2494 |  | - | 
| 2495 |  | - | 
| 2496 |  | - | 
| 2497 | void QXmlStreamWriter::writeProcessingInstruction(const QString &target, const QString &data) | - | 
| 2498 | { | - | 
| 2499 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2500 | ((!(!data.contains(QLatin1String("?>")))) ? qt_assert("!data.contains(QLatin1String(\"?>\"))",__FILE__,3757) : qt_noop()); | - | 
| 2501 | if (!d->finishStartElement(false) && d->autoFormatting| TRUE | evaluated 61 times by 1 test |  | FALSE | evaluated 11 times by 1 test | 
)| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 60 times by 1 test | 
 | 1-61 | 
| 2502 | d->indent(d->tagStack.size()); executed 1 time by 1 test:  d->indent(d->tagStack.size()); | 1 | 
| 2503 | d->write("<?"); | - | 
| 2504 | d->write(target); | - | 
| 2505 | if (!data.isNull() ) {| TRUE | evaluated 72 times by 1 test |  | FALSE | never evaluated | 
 | 0-72 | 
| 2506 | d->write(" "); | - | 
| 2507 | d->write(data); | - | 
| 2508 | } executed 72 times by 1 test:  end of block | 72 | 
| 2509 | d->write("?>"); | - | 
| 2510 | } executed 72 times by 1 test:  end of block | 72 | 
| 2511 | void QXmlStreamWriter::writeStartDocument() | - | 
| 2512 | { | - | 
| 2513 | writeStartDocument(QLatin1String("1.0")); | - | 
| 2514 | } executed 34 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 34 | 
| 2515 |  | - | 
| 2516 |  | - | 
| 2517 |  | - | 
| 2518 |  | - | 
| 2519 |  | - | 
| 2520 |  | - | 
| 2521 |  | - | 
| 2522 | void QXmlStreamWriter::writeStartDocument(const QString &version) | - | 
| 2523 | { | - | 
| 2524 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2525 | d->finishStartElement(false); | - | 
| 2526 | d->write("<?xml version=\""); | - | 
| 2527 | d->write(version); | - | 
| 2528 | if (d->device ) {| TRUE | evaluated 35 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 2 times by 1 test | 
 | 2-35 | 
| 2529 | d->write("\" encoding=\""); | - | 
| 2530 |  | - | 
| 2531 |  | - | 
| 2532 |  | - | 
| 2533 | const QByteArray name = d->codec->name(); | - | 
| 2534 | d->write(name.constData(), name.length()); | - | 
| 2535 |  | - | 
| 2536 | } executed 35 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 35 | 
| 2537 | d->write("\"?>"); | - | 
| 2538 | } executed 37 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 37 | 
| 2539 |  | - | 
| 2540 |  | - | 
| 2541 |  | - | 
| 2542 |  | - | 
| 2543 |  | - | 
| 2544 |  | - | 
| 2545 |  | - | 
| 2546 | void QXmlStreamWriter::writeStartDocument(const QString &version, bool standalone) | - | 
| 2547 | { | - | 
| 2548 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2549 | d->finishStartElement(false); | - | 
| 2550 | d->write("<?xml version=\""); | - | 
| 2551 | d->write(version); | - | 
| 2552 | if (d->device ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
 | 0-2 | 
| 2553 | d->write("\" encoding=\""); | - | 
| 2554 |  | - | 
| 2555 |  | - | 
| 2556 |  | - | 
| 2557 | const QByteArray name = d->codec->name(); | - | 
| 2558 | d->write(name.constData(), name.length()); | - | 
| 2559 |  | - | 
| 2560 | } executed 2 times by 1 test:  end of block | 2 | 
| 2561 | if (standalone )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 1 | 
| 2562 | d->write("\" standalone=\"yes\"?>"); executed 1 time by 1 test:  d->write("\" standalone=\"yes\"?>"); | 1 | 
| 2563 | else | - | 
| 2564 | d->write("\" standalone=\"no\"?>"); executed 1 time by 1 test:  d->write("\" standalone=\"no\"?>"); | 1 | 
| 2565 | } | - | 
| 2566 | void QXmlStreamWriter::writeStartElement(const QString &qualifiedName) | - | 
| 2567 | { | - | 
| 2568 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2569 | ((!(qualifiedName.count(QLatin1Char(':')) <= 1)) ? qt_assert("qualifiedName.count(QLatin1Char(':')) <= 1",__FILE__,3846) : qt_noop()); | - | 
| 2570 | d->writeStartElement(QString(), qualifiedName); | - | 
| 2571 | } executed 10 times by 1 test:  end of block | 10 | 
| 2572 | void QXmlStreamWriter::writeStartElement(const QString &namespaceUri, const QString &name) | - | 
| 2573 | { | - | 
| 2574 | QXmlStreamWriterPrivate * const d = d_func(); | - | 
| 2575 | ((!(!name.contains(QLatin1Char(':')))) ? qt_assert("!name.contains(QLatin1Char(':'))",__FILE__,3862) : qt_noop()); | - | 
| 2576 | d->writeStartElement(namespaceUri, name); | - | 
| 2577 | } executed 1243 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 1243 | 
| 2578 |  | - | 
| 2579 | void QXmlStreamWriterPrivate::writeStartElement(const QString &namespaceUri, const QString &name) | - | 
| 2580 | { | - | 
| 2581 | if (!finishStartElement(false) && autoFormatting| TRUE | evaluated 845 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 447 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
)| TRUE | evaluated 133 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 712 times by 1 test | 
 | 133-845 | 
| 2582 | indent(tagStack.size()); executed 133 times by 3 tests:  indent(tagStack.size());Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 133 | 
| 2583 |  | - | 
| 2584 | Tag &tag = tagStack_push(); | - | 
| 2585 | tag.name = addToStringStorage(name); | - | 
| 2586 | tag.namespaceDeclaration = findNamespace(namespaceUri); | - | 
| 2587 | write("<"); | - | 
| 2588 | if (!tag.namespaceDeclaration.prefix.isEmpty() ) {| TRUE | evaluated 149 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1143 times by 1 test | 
 | 149-1143 | 
| 2589 | write(tag.namespaceDeclaration.prefix); | - | 
| 2590 | write(":"); | - | 
| 2591 | } executed 149 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 149 | 
| 2592 | write(tag.name); | - | 
| 2593 | inStartElement = lastWasStartElement = true; | - | 
| 2594 |  | - | 
| 2595 | for (int i = lastNamespaceDeclaration; i < namespaceDeclarations.size() ; ++i)| TRUE | evaluated 96 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 |  | FALSE | evaluated 1292 times by 3 tests Evaluated by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 
 | 96-1292 | 
| 2596 | writeNamespaceDeclaration(namespaceDeclarations[i]); executed 96 times by 3 tests:  writeNamespaceDeclaration(namespaceDeclarations[i]);Executed by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 96 | 
| 2597 | tag.namespaceDeclarationsSize = lastNamespaceDeclaration; | - | 
| 2598 | } executed 1292 times by 3 tests:  end of blockExecuted by:tst_QPlainTextEdittst_QTextEdittst_QXmlStream
 | 1292 | 
| 2599 | void QXmlStreamWriter::writeCurrentToken(const QXmlStreamReader &reader) | - | 
| 2600 | { | - | 
| 2601 | switch (reader.tokenType()) { | - | 
| 2602 | case never executed: QXmlStreamReader::NoToken:case QXmlStreamReader::NoToken: never executed: case QXmlStreamReader::NoToken: | 0 | 
| 2603 | break; never executed: break; | 0 | 
| 2604 | case executed 2 times by 1 testQXmlStreamReader::StartDocument::  case QXmlStreamReader::StartDocument: executed 2 times by 1 test:  case QXmlStreamReader::StartDocument: | 2 | 
| 2605 | writeStartDocument(); | - | 
| 2606 | break; executed 2 times by 1 test:  break; | 2 | 
| 2607 | case executed 2 times by 1 testQXmlStreamReader::EndDocument::  case QXmlStreamReader::EndDocument: executed 2 times by 1 test:  case QXmlStreamReader::EndDocument: | 2 | 
| 2608 | writeEndDocument(); | - | 
| 2609 | break; executed 2 times by 1 test:  break; | 2 | 
| 2610 | case executed 4 times by 1 testQXmlStreamReader::StartElement::  case QXmlStreamReader::StartElement: executed 4 times by 1 test{:  case QXmlStreamReader::StartElement: | 4 | 
| 2611 | QXmlStreamNamespaceDeclarations namespaceDeclarations = reader.namespaceDeclarations(); | - | 
| 2612 | for (int i = 0; i < namespaceDeclarations.size() ; ++i) {| TRUE | never evaluated |  | FALSE | evaluated 4 times by 1 test | 
 | 0-4 | 
| 2613 | const QXmlStreamNamespaceDeclaration &namespaceDeclaration = namespaceDeclarations.at(i); | - | 
| 2614 | writeNamespace(namespaceDeclaration.namespaceUri().toString(), | - | 
| 2615 | namespaceDeclaration.prefix().toString()); | - | 
| 2616 | } never executed: end of block | 0 | 
| 2617 | writeStartElement(reader.namespaceUri().toString(), reader.name().toString()); | - | 
| 2618 | writeAttributes(reader.attributes()); | - | 
| 2619 | } break; executed 4 times by 1 test:  break; | 4 | 
| 2620 | case executed 1144 times by 1 testQXmlStreamReader::EndElement::  case QXmlStreamReader::EndElement: executed 1144 times by 1 test:  case QXmlStreamReader::EndElement: | 1144 | 
| 2621 | writeEndElement(); | - | 
| 2622 | break; executed 1144 times by 1 test:  break; | 1144 | 
| 2623 | case never executed: QXmlStreamReader::Characters:case QXmlStreamReader::Characters: never executed: case QXmlStreamReader::Characters: | 0 | 
| 2624 | if (reader.isCDATA() )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 2625 | writeCDATA(reader.text().toString()); never executed: writeCDATA(reader.text().toString()); | 0 | 
| 2626 | else | - | 
| 2627 | writeCharacters(reader.text().toString()); never executed: writeCharacters(reader.text().toString()); | 0 | 
| 2628 | break; never executed: break; | 0 | 
| 2629 | case executed 6 times by 1 testQXmlStreamReader::Comment::  case QXmlStreamReader::Comment: executed 6 times by 1 test:  case QXmlStreamReader::Comment: | 6 | 
| 2630 | writeComment(reader.text().toString()); | - | 
| 2631 | break; executed 6 times by 1 test:  break; | 6 | 
| 2632 | case never executed: QXmlStreamReader::DTD:case QXmlStreamReader::DTD: never executed: case QXmlStreamReader::DTD: | 0 | 
| 2633 | writeDTD(reader.text().toString()); | - | 
| 2634 | break; never executed: break; | 0 | 
| 2635 | case executed 1 time by 1 testQXmlStreamReader::EntityReference::  case QXmlStreamReader::EntityReference: executed 1 time by 1 test:  case QXmlStreamReader::EntityReference: | 1 | 
| 2636 | writeEntityReference(reader.name().toString()); | - | 
| 2637 | break; executed 1 time by 1 test:  break; | 1 | 
| 2638 | case executed 48 times by 1 testQXmlStreamReader::ProcessingInstruction::  case QXmlStreamReader::ProcessingInstruction: executed 48 times by 1 test:  case QXmlStreamReader::ProcessingInstruction: | 48 | 
| 2639 | writeProcessingInstruction(reader.processingInstructionTarget().toString(), | - | 
| 2640 | reader.processingInstructionData().toString()); | - | 
| 2641 | break; executed 48 times by 1 test:  break; | 48 | 
| 2642 | default never executed: :default: never executed: default: | 0 | 
| 2643 | ((!(reader.tokenType() != QXmlStreamReader::Invalid)) ? qt_assert("reader.tokenType() != QXmlStreamReader::Invalid",__FILE__,3939) : qt_noop()); | - | 
| 2644 | QMessageLogger(__FILE__, 3940, __PRETTY_FUNCTION__).warning("QXmlStreamWriter: writeCurrentToken() with invalid state."); | - | 
| 2645 | break; never executed: break; | 0 | 
| 2646 | } | - | 
| 2647 | } | - | 
| 2648 |  | - | 
|  |  |  |