| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 | enum { Endian = 0, Data = 1 }; | - | 
| 6 |  | - | 
| 7 | static const uchar utf8bom[] = { 0xef, 0xbb, 0xbf }; | - | 
| 8 |  | - | 
| 9 |  | - | 
| 10 | static inline bool simdEncodeAscii(uchar *&dst, const ushort *&nextAscii, const ushort *&src, const ushort *end) | - | 
| 11 | { | - | 
| 12 |  | - | 
| 13 | for ( ; end - src >= 16 ; src += 16, dst += 16) {| TRUE | evaluated 2394194 times by 391 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 |  | FALSE | evaluated 3969456 times by 419 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 
 | 2394194-3969456 | 
| 14 | __m128i data1 = _mm_loadu_si128((const __m128i*)src); | - | 
| 15 | __m128i data2 = _mm_loadu_si128(1+(const __m128i*)src); | - | 
| 16 | __m128i packed = _mm_packus_epi16(data1, data2); | - | 
| 17 | __m128i nonAscii = _mm_cmpgt_epi8(packed, _mm_setzero_si128()); | - | 
| 18 |  | - | 
| 19 |  | - | 
| 20 | _mm_storeu_si128((__m128i*)dst, packed); | - | 
| 21 |  | - | 
| 22 |  | - | 
| 23 | ushort n = ~_mm_movemask_epi8(nonAscii); | - | 
| 24 | if (n ) {| TRUE | evaluated 3986 times by 23 tests Evaluated by:tst_QDnsLookuptst_QFileSystemWatchertst_QFtptst_QNetworkCookietst_QNetworkCookieJartst_QSqlQuerytst_QSslCertificatetst_QSslSockettst_QSslSocket_onDemandCertificates_statictst_QStringtst_QStringBuilder3tst_QStringBuilder4tst_QStringReftst_QTemporaryDirtst_QTemporaryFiletst_QTextCodectst_QTextDocumenttst_QTextLayouttst_QTextStreamtst_QUrlQuerytst_QXmlStreamtst_Selfteststst_Utf8
 |  | FALSE | evaluated 2390208 times by 389 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 | 
 | 3986-2390208 | 
| 25 |  | - | 
| 26 |  | - | 
| 27 |  | - | 
| 28 | nextAscii = src + __bsrd(n) + 1; | - | 
| 29 |  | - | 
| 30 | n = __bsfd(n); | - | 
| 31 | dst += n; | - | 
| 32 | src += n; | - | 
| 33 | return executed 3986 times by 23 testsfalse;:  return false;Executed by:tst_QDnsLookuptst_QFileSystemWatchertst_QFtptst_QNetworkCookietst_QNetworkCookieJartst_QSqlQuerytst_QSslCertificatetst_QSslSockettst_QSslSocket_onDemandCertificates_statictst_QStringtst_QStringBuilder3tst_QStringBuilder4tst_QStringReftst_QTemporaryDirtst_QTemporaryFiletst_QTextCodectst_QTextDocumenttst_QTextLayouttst_QTextStreamtst_QUrlQuerytst_QXmlStreamtst_Selfteststst_Utf8
 executed 3986 times by 23 tests:  return false;Executed by:tst_QDnsLookuptst_QFileSystemWatchertst_QFtptst_QNetworkCookietst_QNetworkCookieJartst_QSqlQuerytst_QSslCertificatetst_QSslSockettst_QSslSocket_onDemandCertificates_statictst_QStringtst_QStringBuilder3tst_QStringBuilder4tst_QStringReftst_QTemporaryDirtst_QTemporaryFiletst_QTextCodectst_QTextDocumenttst_QTextLayouttst_QTextStreamtst_QUrlQuerytst_QXmlStreamtst_Selfteststst_Utf8
 | 3986 | 
| 34 | } | - | 
| 35 | } executed 2390208 times by 389 tests:  end of blockExecuted by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 | 2390208 | 
| 36 | return executed 3969456 times by 419 testssrc == end;:  return src == end;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 executed 3969456 times by 419 tests:  return src == end;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 3969456 | 
| 37 | } | - | 
| 38 |  | - | 
| 39 | static inline bool simdDecodeAscii(ushort *&dst, const uchar *&nextAscii, const uchar *&src, const uchar *end) | - | 
| 40 | { | - | 
| 41 |  | - | 
| 42 | for ( ; end - src >= 16 ; src += 16, dst += 16) {| TRUE | evaluated 4564301 times by 534 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAuthenticator...
 |  | FALSE | evaluated 52293448 times by 569 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 
 | 4564301-52293448 | 
| 43 | __m128i data = _mm_loadu_si128((const __m128i*)src); | - | 
| 44 | const int BitSpacing = 1; | - | 
| 45 |  | - | 
| 46 |  | - | 
| 47 |  | - | 
| 48 | uint n = _mm_movemask_epi8(data); | - | 
| 49 | if (!n ) {| TRUE | evaluated 4320068 times by 530 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAuthenticator...
 |  | FALSE | evaluated 244233 times by 65 tests Evaluated by:tst_NetworkSelfTesttst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QComplexTexttst_QDateTimeEdittst_QDebugtst_QDnsLookuptst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFileSystemWatchertst_QFiledialogtst_QFontComboBoxtst_QFtptst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QHttpNetworkConnectiontst_QIcontst_QLabeltst_QLineEdit...
 | 
 | 244233-4320068 | 
| 50 |  | - | 
| 51 | _mm_storeu_si128((__m128i*)dst, _mm_unpacklo_epi8(data, _mm_setzero_si128())); | - | 
| 52 | _mm_storeu_si128(1+(__m128i*)dst, _mm_unpackhi_epi8(data, _mm_setzero_si128())); | - | 
| 53 | continue; executed 4320068 times by 530 tests:  continue;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAuthenticator...
 | 4320068 | 
| 54 | } | - | 
| 55 |  | - | 
| 56 |  | - | 
| 57 |  | - | 
| 58 | while (!(n & 1) ) {| TRUE | evaluated 1277262 times by 64 tests Evaluated by:tst_NetworkSelfTesttst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QComplexTexttst_QDateTimeEdittst_QDebugtst_QDnsLookuptst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFileSystemWatchertst_QFiledialogtst_QFontComboBoxtst_QFtptst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QHttpNetworkConnectiontst_QIcontst_QLabeltst_QLineEdit...
 |  | FALSE | evaluated 244233 times by 65 tests Evaluated by:tst_NetworkSelfTesttst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QComplexTexttst_QDateTimeEdittst_QDebugtst_QDnsLookuptst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFileSystemWatchertst_QFiledialogtst_QFontComboBoxtst_QFtptst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QHttpNetworkConnectiontst_QIcontst_QLabeltst_QLineEdit...
 | 
 | 244233-1277262 | 
| 59 | *dst++ = *src++; | - | 
| 60 | n >>= BitSpacing; | - | 
| 61 | } executed 1277262 times by 64 tests:  end of blockExecuted by:tst_NetworkSelfTesttst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QComplexTexttst_QDateTimeEdittst_QDebugtst_QDnsLookuptst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFileSystemWatchertst_QFiledialogtst_QFontComboBoxtst_QFtptst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QHttpNetworkConnectiontst_QIcontst_QLabeltst_QLineEdit...
 | 1277262 | 
| 62 |  | - | 
| 63 |  | - | 
| 64 |  | - | 
| 65 |  | - | 
| 66 | n = __bsrd(n); | - | 
| 67 | nextAscii = src + (n / BitSpacing) + 1; | - | 
| 68 | return executed 244233 times by 65 testsfalse;:  return false;Executed by:tst_NetworkSelfTesttst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QComplexTexttst_QDateTimeEdittst_QDebugtst_QDnsLookuptst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFileSystemWatchertst_QFiledialogtst_QFontComboBoxtst_QFtptst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QHttpNetworkConnectiontst_QIcontst_QLabeltst_QLineEdit...
 executed 244233 times by 65 tests:  return false;Executed by:tst_NetworkSelfTesttst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QComplexTexttst_QDateTimeEdittst_QDebugtst_QDnsLookuptst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFileSystemWatchertst_QFiledialogtst_QFontComboBoxtst_QFtptst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QHttpNetworkConnectiontst_QIcontst_QLabeltst_QLineEdit...
 | 244233 | 
| 69 |  | - | 
| 70 | } | - | 
| 71 | return executed 52293448 times by 569 testssrc == end;:  return src == end;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 executed 52293448 times by 569 tests:  return src == end;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 52293448 | 
| 72 | } | - | 
| 73 | QByteArray QUtf8::convertFromUnicode(const QChar *uc, int len) | - | 
| 74 | { | - | 
| 75 |  | - | 
| 76 | QByteArray result(len * 3, Qt::Uninitialized); | - | 
| 77 | uchar *dst = reinterpret_cast<uchar *>(const_cast<char *>(result.constData())); | - | 
| 78 | const ushort *src = reinterpret_cast<const ushort *>(uc); | - | 
| 79 | const ushort *const end = src + len; | - | 
| 80 |  | - | 
| 81 | while (src != end ) {| TRUE | evaluated 104982 times by 245 tests Evaluated by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 |  | FALSE | evaluated 101886 times by 243 tests Evaluated by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 | 
 | 101886-104982 | 
| 82 | const ushort *nextAscii = end; | - | 
| 83 | if (simdEncodeAscii(dst, nextAscii, src, end) )| TRUE | evaluated 3437 times by 70 tests Evaluated by:tst_NetworkSelfTesttst_QAbstractNetworkCachetst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBoxLayouttst_QButtonGrouptst_QColorDialogtst_QComplexTexttst_QCssParsertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusInterfacetst_QDBusMarshalltst_QDBusPendingReplytst_QDBusReplytst_QDateTimetst_QFileDialog2tst_QFileInfotst_QFiledialogtst_QFonttst_QFontCache...
 |  | FALSE | evaluated 101545 times by 243 tests Evaluated by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 | 
 | 3437-101545 | 
| 84 | break; executed 3437 times by 70 tests:  break;Executed by:tst_NetworkSelfTesttst_QAbstractNetworkCachetst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBoxLayouttst_QButtonGrouptst_QColorDialogtst_QComplexTexttst_QCssParsertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusInterfacetst_QDBusMarshalltst_QDBusPendingReplytst_QDBusReplytst_QDateTimetst_QFileDialog2tst_QFileInfotst_QFiledialogtst_QFonttst_QFontCache...
 | 3437 | 
| 85 |  | - | 
| 86 | do { | - | 
| 87 | ushort uc = *src++; | - | 
| 88 | int res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, dst, src, end); | - | 
| 89 | if (res < 0 ) {| TRUE | never evaluated |  | FALSE | evaluated 555898 times by 243 tests Evaluated by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 | 
 | 0-555898 | 
| 90 |  | - | 
| 91 | *dst++ = '?'; | - | 
| 92 | } never executed: end of block | 0 | 
| 93 | } executed 555898 times by 243 testswhile (src < nextAscii:  end of blockExecuted by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 );| TRUE | evaluated 454353 times by 238 tests Evaluated by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 |  | FALSE | evaluated 101545 times by 243 tests Evaluated by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 | 
 | 101545-555898 | 
| 94 | } executed 101545 times by 243 tests:  end of blockExecuted by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 | 101545 | 
| 95 |  | - | 
| 96 | result.truncate(dst - reinterpret_cast<uchar *>(const_cast<char *>(result.constData()))); | - | 
| 97 | return executed 105323 times by 245 testsresult;:  return result;Executed by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 executed 105323 times by 245 tests:  return result;Executed by:tst_Collectionstst_Gesturestst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QApplicationtst_QAuthenticatortst_QBackingStoretst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBox...
 | 105323 | 
| 98 | } | - | 
| 99 |  | - | 
| 100 | QByteArray QUtf8::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state) | - | 
| 101 | { | - | 
| 102 | uchar replacement = '?'; | - | 
| 103 | int rlen = 3*len; | - | 
| 104 | int surrogate_high = -1; | - | 
| 105 | if (state ) {| TRUE | evaluated 39366 times by 21 tests Evaluated by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 450707 times by 409 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 
 | 39366-450707 | 
| 106 | if (state->flags & QTextCodec::ConvertInvalidToNull )| TRUE | evaluated 2468 times by 2 tests Evaluated by:tst_QDBusXmlParsertst_QXmlSimpleReader
 |  | FALSE | evaluated 36898 times by 19 tests Evaluated by:tst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 
 | 2468-36898 | 
| 107 | replacement = 0; executed 2468 times by 2 tests:  replacement = 0;Executed by:tst_QDBusXmlParsertst_QXmlSimpleReader
 | 2468 | 
| 108 | if (!(state->flags & QTextCodec::IgnoreHeader) )| TRUE | evaluated 2721 times by 4 tests Evaluated by:tst_QDBusXmlParsertst_QTextCodectst_QXmlSimpleReadertst_Utf8
 |  | FALSE | evaluated 36645 times by 19 tests Evaluated by:tst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 
 | 2721-36645 | 
| 109 | rlen += 3; executed 2721 times by 4 tests:  rlen += 3;Executed by:tst_QDBusXmlParsertst_QTextCodectst_QXmlSimpleReadertst_Utf8
 | 2721 | 
| 110 | if (state->remainingChars )| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 39360 times by 21 tests Evaluated by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 
 | 6-39360 | 
| 111 | surrogate_high = state->state_data[0]; executed 6 times by 1 test:  surrogate_high = state->state_data[0]; | 6 | 
| 112 | } executed 39366 times by 21 tests:  end of blockExecuted by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 39366 | 
| 113 |  | - | 
| 114 |  | - | 
| 115 | QByteArray rstr(rlen, Qt::Uninitialized); | - | 
| 116 | uchar *cursor = reinterpret_cast<uchar *>(const_cast<char *>(rstr.constData())); | - | 
| 117 | const ushort *src = reinterpret_cast<const ushort *>(uc); | - | 
| 118 | const ushort *const end = src + len; | - | 
| 119 |  | - | 
| 120 | int invalid = 0; | - | 
| 121 | if (state && !(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 39366 times by 21 tests Evaluated by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 450707 times by 409 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 
) {| TRUE | evaluated 2721 times by 4 tests Evaluated by:tst_QDBusXmlParsertst_QTextCodectst_QXmlSimpleReadertst_Utf8
 |  | FALSE | evaluated 36645 times by 19 tests Evaluated by:tst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 
 | 2721-450707 | 
| 122 |  | - | 
| 123 | *cursor++ = utf8bom[0]; | - | 
| 124 | *cursor++ = utf8bom[1]; | - | 
| 125 | *cursor++ = utf8bom[2]; | - | 
| 126 | } executed 2721 times by 4 tests:  end of blockExecuted by:tst_QDBusXmlParsertst_QTextCodectst_QXmlSimpleReadertst_Utf8
 | 2721 | 
| 127 |  | - | 
| 128 | const ushort *nextAscii = src; | - | 
| 129 | while (src != end ) {| TRUE | evaluated 3879611 times by 408 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 |  | FALSE | evaluated 477672 times by 408 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 
 | 477672-3879611 | 
| 130 | int res; | - | 
| 131 | ushort uc; | - | 
| 132 | if (surrogate_high != -1 ) {| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 3879605 times by 408 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 
 | 6-3879605 | 
| 133 | uc = surrogate_high; | - | 
| 134 | surrogate_high = -1; | - | 
| 135 | res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, cursor, src, end); | - | 
| 136 | } executed 6 times by 1 testelse {:  end of block | 6 | 
| 137 | if (src >= nextAscii && simdEncodeAscii(cursor, nextAscii, src, end)| TRUE | evaluated 3868460 times by 408 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 |  | FALSE | evaluated 11145 times by 10 tests Evaluated by:tst_QSslCertificatetst_QSslSockettst_QSslSocket_onDemandCertificates_statictst_QTemporaryDirtst_QTemporaryFiletst_QTextCodectst_QTextStreamtst_QUrlQuerytst_QXmlStreamtst_Selftests
 | 
)| TRUE | evaluated 12395 times by 176 tests Evaluated by:tst_Collectionstst_LargeFiletst_NetworkSelfTesttst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAccessibilitytst_QActionGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QClipboardtst_QColorDialogtst_QComboBoxtst_QCommandLineParsertst_QCompletertst_QCoreApplicationtst_QCryptographicHashtst_QCssParsertst_QDBusConnectionNoBustst_QDBusConnectionNoLibDBus1tst_QDBusConnection_Delayedtst_QDBusConnection_NoApplication...
 |  | FALSE | evaluated 3856065 times by 405 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 | 
 | 11145-3868460 | 
| 138 | break; executed 12395 times by 176 tests:  break;Executed by:tst_Collectionstst_LargeFiletst_NetworkSelfTesttst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAccessibilitytst_QActionGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QClipboardtst_QColorDialogtst_QComboBoxtst_QCommandLineParsertst_QCompletertst_QCoreApplicationtst_QCryptographicHashtst_QCssParsertst_QDBusConnectionNoBustst_QDBusConnectionNoLibDBus1tst_QDBusConnection_Delayedtst_QDBusConnection_NoApplication...
 | 12395 | 
| 139 |  | - | 
| 140 | uc = *src++; | - | 
| 141 | res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, cursor, src, end); | - | 
| 142 | } executed 3867210 times by 405 tests:  end of blockExecuted by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 | 3867210 | 
| 143 | if (__builtin_expect(!!(res >= 0), true) )| TRUE | evaluated 3867210 times by 405 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 |  | FALSE | evaluated 6 times by 1 test | 
 | 6-3867210 | 
| 144 | continue; executed 3867210 times by 405 tests:  continue;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAsn1Element...
 | 3867210 | 
| 145 |  | - | 
| 146 | if (res == QUtf8BaseTraits::Error ) {| TRUE | never evaluated |  | FALSE | evaluated 6 times by 1 test | 
 | 0-6 | 
| 147 |  | - | 
| 148 | ++invalid; | - | 
| 149 | *cursor++ = replacement; | - | 
| 150 | } never executed: else if (res == QUtf8BaseTraits::EndOfStringend of block ) {| TRUE | evaluated 6 times by 1 test |  | FALSE | never evaluated | 
 | 0-6 | 
| 151 | surrogate_high = uc; | - | 
| 152 | break; executed 6 times by 1 test:  break; | 6 | 
| 153 | } | - | 
| 154 | } never executed: end of block | 0 | 
| 155 |  | - | 
| 156 | rstr.resize(cursor - (const uchar*)rstr.constData()); | - | 
| 157 | if (state ) {| TRUE | evaluated 39366 times by 21 tests Evaluated by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 450707 times by 409 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 
 | 39366-450707 | 
| 158 | state->invalidChars += invalid; | - | 
| 159 | state->flags |= QTextCodec::IgnoreHeader; | - | 
| 160 | state->remainingChars = 0; | - | 
| 161 | if (surrogate_high >= 0 ) {| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 39360 times by 21 tests Evaluated by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 
 | 6-39360 | 
| 162 | state->remainingChars = 1; | - | 
| 163 | state->state_data[0] = surrogate_high; | - | 
| 164 | } executed 6 times by 1 test:  end of block | 6 | 
| 165 | } executed 39366 times by 21 tests:  end of blockExecuted by:tst_QDBusXmlParsertst_QFiletst_QFileDialog2tst_QFileInfotst_QFileSystemModeltst_QImagetst_QImageReadertst_QImageWritertst_QKeyEventtst_QLocalSockettst_QLoggingRegistrytst_QPlainTextEdittst_QSaveFiletst_QSettingstst_QTextCodectst_QTextEdittst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8tst_qdbusxml2cpp - unknown status
 | 39366 | 
| 166 | return executed 490073 times by 409 testsrstr;:  return rstr;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 executed 490073 times by 409 tests:  return rstr;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 490073 | 
| 167 | } | - | 
| 168 |  | - | 
| 169 | QString QUtf8::convertToUnicode(const char *chars, int len) | - | 
| 170 | { | - | 
| 171 | QString result(len, Qt::Uninitialized); | - | 
| 172 | QChar *data = const_cast<QChar*>(result.constData()); | - | 
| 173 | const QChar *end = convertToUnicode(data, chars, len); | - | 
| 174 | result.truncate(end - data); | - | 
| 175 | return executed 3930821 times by 532 testsresult;:  return result;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QAsn1Element...
 executed 3930821 times by 532 tests:  return result;Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QAsn1Element...
 | 3930821 | 
| 176 | } | - | 
| 177 | QChar *QUtf8::convertToUnicode(QChar *buffer, const char *chars, int len) noexcept | - | 
| 178 | { | - | 
| 179 | ushort *dst = reinterpret_cast<ushort *>(buffer); | - | 
| 180 | const uchar *src = reinterpret_cast<const uchar *>(chars); | - | 
| 181 | const uchar *end = src + len; | - | 
| 182 |  | - | 
| 183 |  | - | 
| 184 | const uchar *nextAscii = end; | - | 
| 185 | if (!simdDecodeAscii(dst, nextAscii, src, end) ) {| TRUE | evaluated 4015432 times by 546 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 |  | FALSE | evaluated 598854 times by 300 tests Evaluated by:tst_Collectionstst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QAlgorithmstst_QApplicationtst_QAuthenticatortst_QBitArraytst_QBoxLayouttst_QBuffertst_QButtonGrouptst_QByteArraytst_QCalendarWidgettst_QCheckBoxtst_QColortst_QColorDialogtst_QColumnView...
 | 
 | 598854-4015432 | 
| 186 |  | - | 
| 187 |  | - | 
| 188 | if (__builtin_expect(!!(src == reinterpret_cast<const uchar *>(chars)), false) | TRUE | evaluated 3479490 times by 518 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayData...
 |  | FALSE | evaluated 535942 times by 497 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QAuthenticator...
 | 
 | 535942-3479490 | 
| 189 | && end - src >= 3 | TRUE | evaluated 1873886 times by 389 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QAsn1Elementtst_QAuthenticator...
 |  | FALSE | evaluated 1605604 times by 445 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStore...
 | 
 | 1605604-1873886 | 
| 190 | && __builtin_expect(!!(src[0] == utf8bom[0] && src[1] == utf8bom[1] && src[2] == utf8bom[2]), false) ) {| TRUE | evaluated 5 times by 2 tests Evaluated by:tst_QStringtst_QUrlInternal
 |  | FALSE | evaluated 1873881 times by 389 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QAsn1Elementtst_QAuthenticator...
 | 
 | 5-1873881 | 
| 191 | src += 3; | - | 
| 192 | } executed 5 times by 2 tests:  end of blockExecuted by:tst_QStringtst_QUrlInternal
 | 5 | 
| 193 |  | - | 
| 194 | while (src < end ) {| TRUE | evaluated 4064914 times by 546 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 |  | FALSE | evaluated 4015424 times by 546 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 
 | 4015424-4064914 | 
| 195 | nextAscii = end; | - | 
| 196 | if (simdDecodeAscii(dst, nextAscii, src, end) )| TRUE | evaluated 8 times by 1 test |  | FALSE | evaluated 4064906 times by 546 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 
 | 8-4064906 | 
| 197 | break; executed 8 times by 1 test:  break; | 8 | 
| 198 |  | - | 
| 199 | do { | - | 
| 200 | uchar b = *src++; | - | 
| 201 | int res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(b, dst, src, end); | - | 
| 202 | if (res < 0 ) {| TRUE | evaluated 530 times by 5 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReader
 |  | FALSE | evaluated 17941153 times by 546 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 
 | 530-17941153 | 
| 203 |  | - | 
| 204 | *dst++ = QChar::ReplacementCharacter; | - | 
| 205 | } executed 530 times by 5 tests:  end of blockExecuted by:tst_QStringtst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReader
 | 530 | 
| 206 | } executed 17941683 times by 546 testswhile (src < nextAscii:  end of blockExecuted by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 );| TRUE | evaluated 13876777 times by 543 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 |  | FALSE | evaluated 4064906 times by 546 tests Evaluated by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 
 | 4064906-17941683 | 
| 207 | } executed 4064906 times by 546 tests:  end of blockExecuted by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 4064906 | 
| 208 | } executed 4015432 times by 546 tests:  end of blockExecuted by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 4015432 | 
| 209 |  | - | 
| 210 | return executed 4614286 times by 546 testsreinterpret_cast<QChar *>(dst);:  return reinterpret_cast<QChar *>(dst);Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 executed 4614286 times by 546 tests:  return reinterpret_cast<QChar *>(dst);Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemModeltst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QAnimationGrouptst_QApplication...
 | 4614286 | 
| 211 | } | - | 
| 212 |  | - | 
| 213 | QString QUtf8::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state) | - | 
| 214 | { | - | 
| 215 | bool headerdone = false; | - | 
| 216 | ushort replacement = QChar::ReplacementCharacter; | - | 
| 217 | int invalid = 0; | - | 
| 218 | int res; | - | 
| 219 | uchar ch = 0; | - | 
| 220 | QString result(len + 1, Qt::Uninitialized); | - | 
| 221 |  | - | 
| 222 | ushort *dst = reinterpret_cast<ushort *>(const_cast<QChar *>(result.constData())); | - | 
| 223 | const uchar *src = reinterpret_cast<const uchar *>(chars); | - | 
| 224 | const uchar *end = src + len; | - | 
| 225 |  | - | 
| 226 | if (state ) {| TRUE | evaluated 41147320 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 |  | FALSE | evaluated 279743 times by 337 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 279743-41147320 | 
| 227 | if (state->flags & QTextCodec::IgnoreHeader )| TRUE | evaluated 41134414 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 12906 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 
 | 12906-41134414 | 
| 228 | headerdone = true; executed 41134414 times by 6 tests:  headerdone = true;Executed by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 41134414 | 
| 229 | if (state->flags & QTextCodec::ConvertInvalidToNull )| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 41147316 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 
 | 4-41147316 | 
| 230 | replacement = QChar::Null; executed 4 times by 1 test:  replacement = QChar::Null; | 4 | 
| 231 | if (state->remainingChars ) {| TRUE | evaluated 324 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 41146996 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 
 | 324-41146996 | 
| 232 |  | - | 
| 233 | uchar remainingCharsData[4]; | - | 
| 234 | int remainingCharsCount = state->remainingChars; | - | 
| 235 | int newCharsToCopy = qMin<int>(sizeof(remainingCharsData) - remainingCharsCount, end - src); | - | 
| 236 |  | - | 
| 237 | memset(remainingCharsData, 0, sizeof(remainingCharsData)); | - | 
| 238 | memcpy(remainingCharsData, &state->state_data[0], remainingCharsCount); | - | 
| 239 | memcpy(remainingCharsData + remainingCharsCount, src, newCharsToCopy); | - | 
| 240 |  | - | 
| 241 | const uchar *begin = &remainingCharsData[1]; | - | 
| 242 | res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(remainingCharsData[0], dst, begin, | - | 
| 243 | static_cast<const uchar *>(remainingCharsData) + remainingCharsCount + newCharsToCopy); | - | 
| 244 | if (res == QUtf8BaseTraits::Error || (res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 14 times by 1 test |  | FALSE | evaluated 310 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
&& len == 0| TRUE | evaluated 86 times by 5 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 224 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
)) {| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 80 times by 5 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 6-310 | 
| 245 |  | - | 
| 246 |  | - | 
| 247 | ++invalid; | - | 
| 248 | *dst++ = replacement; | - | 
| 249 | } executed 20 times by 1 testelse if (res == QUtf8BaseTraits::EndOfString:  end of block ) {| TRUE | evaluated 80 times by 5 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 224 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 20-224 | 
| 250 |  | - | 
| 251 |  | - | 
| 252 | state->remainingChars = remainingCharsCount + newCharsToCopy; | - | 
| 253 | memcpy(&state->state_data[0], remainingCharsData, state->remainingChars); | - | 
| 254 | return executed 80 times by 5 testsQString();:  return QString();Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 executed 80 times by 5 tests:  return QString();Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 80 | 
| 255 | } else if (!headerdone && res >= 0| TRUE | evaluated 27 times by 3 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_Utf8
 |  | FALSE | evaluated 197 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
) {| TRUE | evaluated 27 times by 3 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_Utf8
 |  | FALSE | never evaluated | 
 | 0-197 | 
| 256 |  | - | 
| 257 | headerdone = true; | - | 
| 258 | if (dst[-1] == 0xfeff )| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 17 times by 2 tests | 
 | 10-17 | 
| 259 | -- executed 10 times by 2 testsdst;:  --dst;Executed by:tst_QTextCodectst_QTextStream
 executed 10 times by 2 tests:  --dst;Executed by:tst_QTextCodectst_QTextStream
 | 10 | 
| 260 | } executed 27 times by 3 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStreamtst_Utf8
 | 27 | 
| 261 |  | - | 
| 262 |  | - | 
| 263 | if (res >= 0 ) {| TRUE | evaluated 224 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 20 times by 1 test | 
 | 20-224 | 
| 264 | ((!(res > remainingCharsCount)) ? qt_assert("res > remainingCharsCount",__FILE__,386) : qt_noop()); | - | 
| 265 | src += res - remainingCharsCount; | - | 
| 266 | } executed 224 times by 6 tests:  end of blockExecuted by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 224 | 
| 267 | } executed 244 times by 6 tests:  end of blockExecuted by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 244 | 
| 268 | } executed 41147240 times by 54 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 41147240 | 
| 269 |  | - | 
| 270 |  | - | 
| 271 | res = 0; | - | 
| 272 | const uchar *nextAscii = src; | - | 
| 273 | const uchar *start = src; | - | 
| 274 | while (res >= 0 && src < end| TRUE | evaluated 85706989 times by 344 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 |  | FALSE | evaluated 258 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
) {| TRUE | evaluated 44293839 times by 344 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 |  | FALSE | evaluated 41413150 times by 342 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 258-85706989 | 
| 275 | if (src >= nextAscii && simdDecodeAscii(dst, nextAscii, src, end)| TRUE | evaluated 43858481 times by 344 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 |  | FALSE | evaluated 435358 times by 33 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDateTimeEdittst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatabasetst_QPrintertst_QSidebartst_QSslCertificatetst_QSslSockettst_QSslSocket_onDemandCertificates_statictst_QStyletst_QSystemTrayIcontst_QTemporaryDirtst_QTemporaryFile...
 | 
)| TRUE | evaluated 13575 times by 208 tests Evaluated by:tst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QApplicationtst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBoxtst_QCommandLinkButtontst_QCompletertst_QComplexTexttst_QCssParsertst_QDBusConnection_Delayedtst_QDBusMarshalltst_QDBusMetaTypetst_QDBusXmlParsertst_QDataWidgetMapper...
 |  | FALSE | evaluated 43844906 times by 342 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 13575-43858481 | 
| 276 | break; executed 13575 times by 208 tests:  break;Executed by:tst_NetworkSelfTesttst_QAbstractButtontst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QApplicationtst_QBoxLayouttst_QButtonGrouptst_QCalendarWidgettst_QCheckBoxtst_QColorDialogtst_QColumnViewtst_QComboBoxtst_QCommandLinkButtontst_QCompletertst_QComplexTexttst_QCssParsertst_QDBusConnection_Delayedtst_QDBusMarshalltst_QDBusMetaTypetst_QDBusXmlParsertst_QDataWidgetMapper...
 | 13575 | 
| 277 |  | - | 
| 278 | ch = *src++; | - | 
| 279 | res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(ch, dst, src, end); | - | 
| 280 | if (!headerdone && res >= 0| TRUE | evaluated 280915 times by 342 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 |  | FALSE | evaluated 43999349 times by 340 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
) {| TRUE | evaluated 280030 times by 342 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 |  | FALSE | evaluated 885 times by 5 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 885-43999349 | 
| 281 | headerdone = true; | - | 
| 282 | if (src == start + 3 ) {| TRUE | evaluated 151 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 279879 times by 342 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 151-279879 | 
| 283 |  | - | 
| 284 | if (dst[-1] == 0xfeff )| TRUE | evaluated 15 times by 3 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 |  | FALSE | evaluated 136 times by 3 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_Utf8
 | 
 | 15-136 | 
| 285 | -- executed 15 times by 3 testsdst;:  --dst;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 executed 15 times by 3 tests:  --dst;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 | 15 | 
| 286 | } executed 151 times by 4 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStreamtst_QXmlStreamtst_Utf8
 | 151 | 
| 287 | } executed 280030 times by 342 tests:  end of blockExecuted by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 280030 | 
| 288 | if (res == QUtf8BaseTraits::Error ) {| TRUE | evaluated 1176 times by 4 tests Evaluated by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 44279088 times by 342 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 1176-44279088 | 
| 289 | res = 0; | - | 
| 290 | ++invalid; | - | 
| 291 | *dst++ = replacement; | - | 
| 292 | } executed 1176 times by 4 tests:  end of blockExecuted by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 1176 | 
| 293 | } executed 44280264 times by 342 tests:  end of blockExecuted by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 44280264 | 
| 294 |  | - | 
| 295 | if (!state && res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 279743 times by 337 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 |  | FALSE | evaluated 41147240 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 
) {| TRUE | evaluated 9 times by 1 test |  | FALSE | evaluated 279734 times by 337 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 9-41147240 | 
| 296 |  | - | 
| 297 | *dst++ = QChar::ReplacementCharacter; | - | 
| 298 | while (src++ < end )| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 9 times by 1 test | 
 | 5-9 | 
| 299 | * executed 5 times by 1 testdst++ = QChar::ReplacementCharacter;:  *dst++ = QChar::ReplacementCharacter; executed 5 times by 1 test:  *dst++ = QChar::ReplacementCharacter; | 5 | 
| 300 | } executed 9 times by 1 test:  end of block | 9 | 
| 301 |  | - | 
| 302 | result.truncate(dst - (const ushort *)result.unicode()); | - | 
| 303 | if (state ) {| TRUE | evaluated 41147240 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 |  | FALSE | evaluated 279743 times by 337 tests Evaluated by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 
 | 279743-41147240 | 
| 304 | state->invalidChars += invalid; | - | 
| 305 | if (headerdone )| TRUE | evaluated 41146128 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 |  | FALSE | evaluated 1112 times by 13 tests Evaluated by:tst_QDBusXmlParsertst_QLayouttst_QLocalSockettst_QSplittertst_QTextCodectst_QTextStreamtst_QTimeZonetst_QXmlSimpleReadertst_QXmlStreamtst_Selfteststst_Utf8tst_qdbusxml2cpp - unknown statustst_qmakelib
 | 
 | 1112-41146128 | 
| 306 | state->flags |= QTextCodec::IgnoreHeader; executed 41146128 times by 54 tests:  state->flags |= QTextCodec::IgnoreHeader;Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 41146128 | 
| 307 | if (res == QUtf8BaseTraits::EndOfString ) {| TRUE | evaluated 249 times by 6 tests Evaluated by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 41146991 times by 54 tests Evaluated by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 
 | 249-41146991 | 
| 308 | --src; | - | 
| 309 | state->remainingChars = end - src; | - | 
| 310 | memcpy(&state->state_data[0], src, end - src); | - | 
| 311 | } executed 249 times by 6 testselse {:  end of blockExecuted by:tst_QMimeDatabasetst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 249 | 
| 312 | state->remainingChars = 0; | - | 
| 313 | } executed 41146991 times by 54 tests:  end of blockExecuted by:tst_QAccessibilitytst_QCalendarWidgettst_QComboBoxtst_QCompletertst_QDBusAbstractAdaptortst_QDBusAbstractInterfacetst_QDBusConnectiontst_QDBusConnection_NoApplicationtst_QDBusConnection_SpyHooktst_QDBusContexttst_QDBusInterfacetst_QDBusMetaObjecttst_QDBusPendingCalltst_QDBusThreadingtst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileInfotst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGraphicsProxyWidgettst_QGraphicsWidget...
 | 41146991 | 
| 314 | } | - | 
| 315 | return executed 41426983 times by 344 testsresult;:  return result;Executed by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 executed 41426983 times by 344 tests:  return result;Executed by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 41426983 | 
| 316 | } | - | 
| 317 |  | - | 
| 318 | QByteArray QUtf16::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state, DataEndianness e) | - | 
| 319 | { | - | 
| 320 | DataEndianness endian = e; | - | 
| 321 | int length = 2*len; | - | 
| 322 | if (!state || (| TRUE | evaluated 52 times by 1 test |  | FALSE | evaluated 16 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
!(state->flags & QTextCodec::IgnoreHeader))| TRUE | evaluated 3 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 13 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
) {| TRUE | evaluated 3 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 13 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
 | 3-52 | 
| 323 | length += 2; | - | 
| 324 | } executed 55 times by 2 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStream
 | 55 | 
| 325 | if (e == DetectEndianness ) {| TRUE | evaluated 15 times by 3 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 53 times by 3 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
 | 15-53 | 
| 326 | endian = ( QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated |  | FALSE | evaluated 15 times by 3 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStream
 | 
? BigEndianness : LittleEndianness;| TRUE | never evaluated |  | FALSE | evaluated 15 times by 3 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStream
 | 
 | 0-15 | 
| 327 | } executed 15 times by 3 tests:  end of blockExecuted by:tst_QStringtst_QTextCodectst_QTextStream
 | 15 | 
| 328 |  | - | 
| 329 | QByteArray d; | - | 
| 330 | d.resize(length); | - | 
| 331 | char *data = d.data(); | - | 
| 332 | if (!state || !(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 52 times by 1 test |  | FALSE | evaluated 16 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
) {| TRUE | evaluated 3 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 13 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
 | 3-52 | 
| 333 | QChar bom(QChar::ByteOrderMark); | - | 
| 334 | if (endian == BigEndianness ) {| TRUE | evaluated 23 times by 1 test |  | FALSE | evaluated 32 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 | 
 | 23-32 | 
| 335 | data[0] = bom.row(); | - | 
| 336 | data[1] = bom.cell(); | - | 
| 337 | } executed 23 times by 1 testelse {:  end of block | 23 | 
| 338 | data[0] = bom.cell(); | - | 
| 339 | data[1] = bom.row(); | - | 
| 340 | } executed 32 times by 2 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStream
 | 32 | 
| 341 | data += 2; | - | 
| 342 | } executed 55 times by 2 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStream
 | 55 | 
| 343 | if (endian == BigEndianness ) {| TRUE | evaluated 23 times by 1 test |  | FALSE | evaluated 45 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
 | 23-45 | 
| 344 | for (int i = 0; i < len ; ++i) {| TRUE | evaluated 206 times by 1 test |  | FALSE | evaluated 23 times by 1 test | 
 | 23-206 | 
| 345 | *(data++) = uc[i].row(); | - | 
| 346 | *(data++) = uc[i].cell(); | - | 
| 347 | } executed 206 times by 1 test:  end of block | 206 | 
| 348 | } executed 23 times by 1 testelse {:  end of block | 23 | 
| 349 | for (int i = 0; i < len ; ++i) {| TRUE | evaluated 337 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 |  | FALSE | evaluated 45 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 
 | 45-337 | 
| 350 | *(data++) = uc[i].cell(); | - | 
| 351 | *(data++) = uc[i].row(); | - | 
| 352 | } executed 337 times by 4 tests:  end of blockExecuted by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 337 | 
| 353 | } executed 45 times by 4 tests:  end of blockExecuted by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 45 | 
| 354 |  | - | 
| 355 | if (state ) {| TRUE | evaluated 16 times by 4 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 |  | FALSE | evaluated 52 times by 1 test | 
 | 16-52 | 
| 356 | state->remainingChars = 0; | - | 
| 357 | state->flags |= QTextCodec::IgnoreHeader; | - | 
| 358 | } executed 16 times by 4 tests:  end of blockExecuted by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 16 | 
| 359 | return executed 68 times by 4 testsd;:  return d;Executed by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 executed 68 times by 4 tests:  return d;Executed by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 68 | 
| 360 | } | - | 
| 361 |  | - | 
| 362 | QString QUtf16::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e) | - | 
| 363 | { | - | 
| 364 | DataEndianness endian = e; | - | 
| 365 | bool half = false; | - | 
| 366 | uchar buf = 0; | - | 
| 367 | bool headerdone = false; | - | 
| 368 | if (state ) {| TRUE | evaluated 1988 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 233881 times by 18 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_Utf8
 | 
 | 1988-233881 | 
| 369 | headerdone = state->flags & QTextCodec::IgnoreHeader; | - | 
| 370 | if (endian == DetectEndianness )| TRUE | evaluated 1171 times by 3 tests Evaluated by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 817 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 
 | 817-1171 | 
| 371 | endian = (DataEndianness)state->state_data[Endian]; executed 1171 times by 3 tests:  endian = (DataEndianness)state->state_data[Endian];Executed by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 | 1171 | 
| 372 | if (state->remainingChars ) {| TRUE | evaluated 651 times by 3 tests Evaluated by:tst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 1337 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 
 | 651-1337 | 
| 373 | half = true; | - | 
| 374 | buf = state->state_data[Data]; | - | 
| 375 | } executed 651 times by 3 tests:  end of blockExecuted by:tst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 651 | 
| 376 | } executed 1988 times by 4 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 1988 | 
| 377 | if (headerdone && endian == DetectEndianness| TRUE | evaluated 1659 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 234210 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
)| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 1658 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 
 | 1-234210 | 
| 378 | endian = ( QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test | 
? BigEndianness : LittleEndianness;| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test | 
executed 1 time by 1 test:  endian = (QSysInfo::ByteOrder == QSysInfo::BigEndian) ? BigEndianness : LittleEndianness; | 0-1 | 
| 379 |  | - | 
| 380 | QString result(len, Qt::Uninitialized); | - | 
| 381 | QChar *qch = (QChar *)result.data(); | - | 
| 382 | while (len-- ) {| TRUE | evaluated 1186645 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 235869 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 235869-1186645 | 
| 383 | if (half ) {| TRUE | evaluated 593322 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 593323 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 593322-593323 | 
| 384 | QChar ch; | - | 
| 385 | if (endian == LittleEndianness ) {| TRUE | evaluated 356752 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 236570 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 236570-356752 | 
| 386 | ch.setRow(*chars++); | - | 
| 387 | ch.setCell(buf); | - | 
| 388 | } executed 356752 times by 21 testselse {:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 356752 | 
| 389 | ch.setRow(buf); | - | 
| 390 | ch.setCell(*chars++); | - | 
| 391 | } executed 236570 times by 21 tests:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 236570 | 
| 392 | if (!headerdone ) {| TRUE | evaluated 234162 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 359160 times by 21 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 234162-359160 | 
| 393 | headerdone = true; | - | 
| 394 | if (endian == DetectEndianness ) {| TRUE | evaluated 233914 times by 20 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 248 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 
 | 248-233914 | 
| 395 | if (ch == QChar::ByteOrderSwapped ) {| TRUE | evaluated 78 times by 3 tests Evaluated by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 233836 times by 20 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 
 | 78-233836 | 
| 396 | endian = LittleEndianness; | - | 
| 397 | } executed 78 times by 3 testselse if (ch == QChar::ByteOrderMark:  end of blockExecuted by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 ) {| TRUE | evaluated 3 times by 3 tests Evaluated by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 233833 times by 19 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_QXmlStreamtst_Utf8
 | 
 | 3-233833 | 
| 398 | endian = BigEndianness; | - | 
| 399 | } executed 3 times by 3 testselse {:  end of blockExecuted by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 | 3 | 
| 400 | if (QSysInfo::ByteOrder == QSysInfo::BigEndian ) {| TRUE | never evaluated |  | FALSE | evaluated 233833 times by 19 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_QXmlStreamtst_Utf8
 | 
 | 0-233833 | 
| 401 | endian = BigEndianness; | - | 
| 402 | } never executed: else {end of block | 0 | 
| 403 | endian = LittleEndianness; | - | 
| 404 | ch = QChar((ch.unicode() >> 8) | ((ch.unicode() & 0xff) << 8)); | - | 
| 405 | } executed 233833 times by 19 tests:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_QXmlStreamtst_Utf8
 | 233833 | 
| 406 | *qch++ = ch; | - | 
| 407 | } executed 233833 times by 19 tests:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_QXmlStreamtst_Utf8
 | 233833 | 
| 408 | } else if (ch != QChar::ByteOrderMark ) {| TRUE | evaluated 4 times by 3 tests Evaluated by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 244 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 | 
 | 4-244 | 
| 409 | *qch++ = ch; | - | 
| 410 | } executed 4 times by 3 tests:  end of blockExecuted by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 | 4 | 
| 411 | } executed 234162 times by 21 testselse {:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 234162 | 
| 412 | *qch++ = ch; | - | 
| 413 | } executed 359160 times by 21 tests:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 359160 | 
| 414 | half = false; | - | 
| 415 | } executed 593322 times by 21 testselse {:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 593322 | 
| 416 | buf = *chars++; | - | 
| 417 | half = true; | - | 
| 418 | } executed 593323 times by 21 tests:  end of blockExecuted by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 593323 | 
| 419 | } | - | 
| 420 | result.truncate(qch - result.unicode()); | - | 
| 421 |  | - | 
| 422 | if (state ) {| TRUE | evaluated 1988 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 233881 times by 18 tests Evaluated by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QUrlInternaltst_Utf8
 | 
 | 1988-233881 | 
| 423 | if (headerdone )| TRUE | evaluated 1940 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 48 times by 1 test | 
 | 48-1940 | 
| 424 | state->flags |= QTextCodec::IgnoreHeader; executed 1940 times by 4 tests:  state->flags |= QTextCodec::IgnoreHeader;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 1940 | 
| 425 | state->state_data[Endian] = endian; | - | 
| 426 | if (half ) {| TRUE | evaluated 652 times by 3 tests Evaluated by:tst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 |  | FALSE | evaluated 1336 times by 4 tests Evaluated by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 
 | 652-1336 | 
| 427 | state->remainingChars = 1; | - | 
| 428 | state->state_data[Data] = buf; | - | 
| 429 | } executed 652 times by 3 testselse {:  end of blockExecuted by:tst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 652 | 
| 430 | state->remainingChars = 0; | - | 
| 431 | state->state_data[Data] = 0; | - | 
| 432 | } executed 1336 times by 4 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 1336 | 
| 433 | } | - | 
| 434 | return executed 235869 times by 21 testsresult;:  return result;Executed by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 executed 235869 times by 21 tests:  return result;Executed by:tst_QDebugtst_QItemModeltst_QNetworkCookieJartst_QRegularExpression_AlwaysOptimizetst_QRegularExpression_DefaultOptimizetst_QRegularExpression_ForceOptimizetst_QSqlDatabasetst_QSqlQuerytst_QSqlQueryModeltst_QSqlRelationalTableModeltst_QSqlResulttst_QSqlTableModeltst_QSqlThreadtst_QStringtst_QStringReftst_QTextCodectst_QTextStreamtst_QUrlInternaltst_QXmlSimpleReadertst_QXmlStreamtst_Utf8
 | 235869 | 
| 435 | } | - | 
| 436 |  | - | 
| 437 | QByteArray QUtf32::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state, DataEndianness e) | - | 
| 438 | { | - | 
| 439 | DataEndianness endian = e; | - | 
| 440 | int length = 4*len; | - | 
| 441 | if (!state || (| TRUE | evaluated 22 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
!(state->flags & QTextCodec::IgnoreHeader))| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 2-22 | 
| 442 | length += 4; | - | 
| 443 | } executed 24 times by 1 test:  end of block | 24 | 
| 444 | if (e == DetectEndianness ) {| TRUE | evaluated 11 times by 1 test |  | FALSE | evaluated 15 times by 1 test | 
 | 11-15 | 
| 445 | endian = ( QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated |  | FALSE | evaluated 11 times by 1 test | 
? BigEndianness : LittleEndianness;| TRUE | never evaluated |  | FALSE | evaluated 11 times by 1 test | 
 | 0-11 | 
| 446 | } executed 11 times by 1 test:  end of block | 11 | 
| 447 |  | - | 
| 448 | QByteArray d(length, Qt::Uninitialized); | - | 
| 449 | char *data = d.data(); | - | 
| 450 | if (!state || !(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 22 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 2-22 | 
| 451 | if (endian == BigEndianness ) {| TRUE | evaluated 7 times by 1 test |  | FALSE | evaluated 17 times by 1 test | 
 | 7-17 | 
| 452 | data[0] = 0; | - | 
| 453 | data[1] = 0; | - | 
| 454 | data[2] = (char)0xfe; | - | 
| 455 | data[3] = (char)0xff; | - | 
| 456 | } executed 7 times by 1 testelse {:  end of block | 7 | 
| 457 | data[0] = (char)0xff; | - | 
| 458 | data[1] = (char)0xfe; | - | 
| 459 | data[2] = 0; | - | 
| 460 | data[3] = 0; | - | 
| 461 | } executed 17 times by 1 test:  end of block | 17 | 
| 462 | data += 4; | - | 
| 463 | } executed 24 times by 1 test:  end of block | 24 | 
| 464 |  | - | 
| 465 | QStringIterator i(uc, uc + len); | - | 
| 466 | if (endian == BigEndianness ) {| TRUE | evaluated 7 times by 1 test |  | FALSE | evaluated 19 times by 1 test | 
 | 7-19 | 
| 467 | while (i.hasNext() ) {| TRUE | evaluated 54 times by 1 test |  | FALSE | evaluated 7 times by 1 test | 
 | 7-54 | 
| 468 | uint cp = i.next(); | - | 
| 469 |  | - | 
| 470 | *(data++) = cp >> 24; | - | 
| 471 | *(data++) = (cp >> 16) & 0xff; | - | 
| 472 | *(data++) = (cp >> 8) & 0xff; | - | 
| 473 | *(data++) = cp & 0xff; | - | 
| 474 | } executed 54 times by 1 test:  end of block | 54 | 
| 475 | } executed 7 times by 1 testelse {:  end of block | 7 | 
| 476 | while (i.hasNext() ) {| TRUE | evaluated 122 times by 1 test |  | FALSE | evaluated 19 times by 1 test | 
 | 19-122 | 
| 477 | uint cp = i.next(); | - | 
| 478 |  | - | 
| 479 | *(data++) = cp & 0xff; | - | 
| 480 | *(data++) = (cp >> 8) & 0xff; | - | 
| 481 | *(data++) = (cp >> 16) & 0xff; | - | 
| 482 | *(data++) = cp >> 24; | - | 
| 483 | } executed 122 times by 1 test:  end of block | 122 | 
| 484 | } executed 19 times by 1 test:  end of block | 19 | 
| 485 |  | - | 
| 486 | if (state ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 22 times by 1 test | 
 | 4-22 | 
| 487 | state->remainingChars = 0; | - | 
| 488 | state->flags |= QTextCodec::IgnoreHeader; | - | 
| 489 | } executed 4 times by 1 test:  end of block | 4 | 
| 490 | return executed 26 times by 1 testd;:  return d; executed 26 times by 1 test:  return d; | 26 | 
| 491 | } | - | 
| 492 |  | - | 
| 493 | QString QUtf32::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e) | - | 
| 494 | { | - | 
| 495 | DataEndianness endian = e; | - | 
| 496 | uchar tuple[4]; | - | 
| 497 | int num = 0; | - | 
| 498 | bool headerdone = false; | - | 
| 499 | if (state ) {| TRUE | evaluated 364 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 410534 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 | 
 | 364-410534 | 
| 500 | headerdone = state->flags & QTextCodec::IgnoreHeader; | - | 
| 501 | if (endian == DetectEndianness ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 360 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 | 
 | 4-360 | 
| 502 | endian = (DataEndianness)state->state_data[Endian]; | - | 
| 503 | } executed 4 times by 1 test:  end of block | 4 | 
| 504 | num = state->remainingChars; | - | 
| 505 | memcpy(tuple, &state->state_data[Data], 4); | - | 
| 506 | } executed 364 times by 2 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStream
 | 364 | 
| 507 | if (headerdone && endian == DetectEndianness| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 410895 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 
)| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 1-410895 | 
| 508 | endian = ( QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test | 
? BigEndianness : LittleEndianness;| TRUE | never evaluated |  | FALSE | evaluated 1 time by 1 test | 
executed 1 time by 1 test:  endian = (QSysInfo::ByteOrder == QSysInfo::BigEndian) ? BigEndianness : LittleEndianness; | 0-1 | 
| 509 |  | - | 
| 510 | QString result; | - | 
| 511 | result.resize((num + len) >> 2 << 1); | - | 
| 512 | QChar *qch = (QChar *)result.data(); | - | 
| 513 |  | - | 
| 514 | const char *end = chars + len; | - | 
| 515 | while (chars < end ) {| TRUE | evaluated 1647700 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 |  | FALSE | evaluated 410898 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 
 | 410898-1647700 | 
| 516 | tuple[num++] = *chars++; | - | 
| 517 | if (num == 4 ) {| TRUE | evaluated 411925 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 |  | FALSE | evaluated 1235775 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 
 | 411925-1235775 | 
| 518 | if (!headerdone ) {| TRUE | evaluated 411913 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 |  | FALSE | evaluated 12 times by 1 test | 
 | 12-411913 | 
| 519 | if (endian == DetectEndianness ) {| TRUE | evaluated 410515 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 |  | FALSE | evaluated 1398 times by 5 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_Utf8tst_qmakelib
 | 
 | 1398-410515 | 
| 520 | if (tuple[0] == 0xff && tuple[1] == 0xfe| TRUE | evaluated 9 times by 1 test |  | FALSE | evaluated 410506 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 | 
&& tuple[2] == 0| TRUE | evaluated 9 times by 1 test |  | FALSE | never evaluated | 
&& tuple[3] == 0| TRUE | evaluated 9 times by 1 test |  | FALSE | never evaluated | 
&& endian != BigEndianness| TRUE | evaluated 9 times by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 9 times by 1 test |  | FALSE | never evaluated | 
 | 0-410506 | 
| 521 | endian = LittleEndianness; | - | 
| 522 | num = 0; | - | 
| 523 | continue; executed 9 times by 1 test:  continue; | 9 | 
| 524 | } else if (tuple[0] == 0 && tuple[1] == 0| TRUE | evaluated 22 times by 4 tests Evaluated by:tst_QStringtst_QStringIteratortst_QTextCodectst_QXmlStream
 |  | FALSE | evaluated 410484 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 | 
&& tuple[2] == 0xfe| TRUE | evaluated 14 times by 4 tests Evaluated by:tst_QStringtst_QStringIteratortst_QTextCodectst_QXmlStream
 |  | FALSE | evaluated 8 times by 1 test | 
&& tuple[3] == 0xff| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 13 times by 3 tests Evaluated by:tst_QStringtst_QStringIteratortst_QXmlStream
 | 
&& endian != LittleEndianness| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated | 
 | 0-410484 | 
| 525 | endian = BigEndianness; | - | 
| 526 | num = 0; | - | 
| 527 | continue; executed 1 time by 1 test:  continue; | 1 | 
| 528 | } else if (QSysInfo::ByteOrder == QSysInfo::BigEndian ) {| TRUE | never evaluated |  | FALSE | evaluated 410505 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 | 
 | 0-410505 | 
| 529 | endian = BigEndianness; | - | 
| 530 | } never executed: else {end of block | 0 | 
| 531 | endian = LittleEndianness; | - | 
| 532 | } executed 410505 times by 9 tests:  end of blockExecuted by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 | 410505 | 
| 533 | } else if ((( endian == BigEndianness)| TRUE | evaluated 220 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 1178 times by 5 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_Utf8tst_qmakelib
 | 
? qFromBigEndian<quint32>(tuple) : qFromLittleEndian<quint32>(tuple)) == QChar::ByteOrderMark| TRUE | evaluated 220 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 1178 times by 5 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_Utf8tst_qmakelib
 | 
) {| TRUE | evaluated 47 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 1351 times by 5 tests Evaluated by:tst_QStringtst_QTextCodectst_QTextStreamtst_Utf8tst_qmakelib
 | 
 | 47-1351 | 
| 534 | num = 0; | - | 
| 535 | continue; executed 47 times by 2 tests:  continue;Executed by:tst_QTextCodectst_QTextStream
 | 47 | 
| 536 | } | - | 
| 537 | } executed 411856 times by 10 tests:  end of blockExecuted by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 411856 | 
| 538 | uint code = ( endian == BigEndianness)| TRUE | evaluated 200 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 411668 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 
? qFromBigEndian<quint32>(tuple) : qFromLittleEndian<quint32>(tuple);| TRUE | evaluated 200 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 411668 times by 10 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 
 | 200-411668 | 
| 539 | if (QChar::requiresSurrogates(code) ) {| TRUE | evaluated 58 times by 4 tests Evaluated by:tst_QStringtst_QStringIteratortst_QXmlStreamtst_Utf8
 |  | FALSE | evaluated 411810 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_Utf8tst_qmakelib
 | 
 | 58-411810 | 
| 540 | *qch++ = QChar::highSurrogate(code); | - | 
| 541 | *qch++ = QChar::lowSurrogate(code); | - | 
| 542 | } executed 58 times by 4 testselse {:  end of blockExecuted by:tst_QStringtst_QStringIteratortst_QXmlStreamtst_Utf8
 | 58 | 
| 543 | *qch++ = code; | - | 
| 544 | } executed 411810 times by 9 tests:  end of blockExecuted by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_Utf8tst_qmakelib
 | 411810 | 
| 545 | num = 0; | - | 
| 546 | } executed 411868 times by 10 tests:  end of blockExecuted by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 411868 | 
| 547 | } executed 1647643 times by 10 tests:  end of blockExecuted by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 1647643 | 
| 548 | result.truncate(qch - result.unicode()); | - | 
| 549 |  | - | 
| 550 | if (state ) {| TRUE | evaluated 364 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 |  | FALSE | evaluated 410534 times by 9 tests Evaluated by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QXmlStreamtst_Utf8tst_qmakelib
 | 
 | 364-410534 | 
| 551 | if (headerdone )| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 361 times by 2 tests Evaluated by:tst_QTextCodectst_QTextStream
 | 
 | 3-361 | 
| 552 | state->flags |= QTextCodec::IgnoreHeader; executed 3 times by 1 test:  state->flags |= QTextCodec::IgnoreHeader; | 3 | 
| 553 | state->state_data[Endian] = endian; | - | 
| 554 | state->remainingChars = num; | - | 
| 555 | memcpy(&state->state_data[Data], tuple, 4); | - | 
| 556 | } executed 364 times by 2 tests:  end of blockExecuted by:tst_QTextCodectst_QTextStream
 | 364 | 
| 557 | return executed 410898 times by 10 testsresult;:  return result;Executed by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 executed 410898 times by 10 tests:  return result;Executed by:tst_QLabeltst_QStringtst_QStringIteratortst_QTextCodectst_QTextLayouttst_QTextScriptEnginetst_QTextStreamtst_QXmlStreamtst_Utf8tst_qmakelib
 | 410898 | 
| 558 | } | - | 
| 559 |  | - | 
| 560 |  | - | 
| 561 |  | - | 
| 562 |  | - | 
| 563 | QUtf8Codec::~QUtf8Codec() | - | 
| 564 | { | - | 
| 565 | } | - | 
| 566 |  | - | 
| 567 | QByteArray QUtf8Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - | 
| 568 | { | - | 
| 569 | return executed 490073 times by 409 testsQUtf8::convertFromUnicode(uc, len, state);:  return QUtf8::convertFromUnicode(uc, len, state);Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 executed 490073 times by 409 tests:  return QUtf8::convertFromUnicode(uc, len, state);Executed by:tst_Collectionstst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_ModelTesttst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractProxyModeltst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAlgorithmstst_QApplicationtst_QArrayDatatst_QArrayData_StrictIterators...
 | 490073 | 
| 570 | } | - | 
| 571 |  | - | 
| 572 | void QUtf8Codec::convertToUnicode(QString *target, const char *chars, int len, ConverterState *state) const | - | 
| 573 | { | - | 
| 574 | *target += QUtf8::convertToUnicode(chars, len, state); | - | 
| 575 | } executed 62786 times by 37 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...
 | 62786 | 
| 576 |  | - | 
| 577 | QString QUtf8Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - | 
| 578 | { | - | 
| 579 | return executed 41364277 times by 337 testsQUtf8::convertToUnicode(chars, len, state);:  return QUtf8::convertToUnicode(chars, len, state);Executed by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 executed 41364277 times by 337 tests:  return QUtf8::convertToUnicode(chars, len, state);Executed by:tst_Compilertst_Gesturestst_Lancelottst_LargeFiletst_NetworkSelfTesttst_PlatformSocketEnginetst_QAbstractButtontst_QAbstractFileEnginetst_QAbstractItemViewtst_QAbstractNetworkCachetst_QAbstractPrintDialogtst_QAbstractScrollAreatst_QAbstractSlidertst_QAbstractSpinBoxtst_QAbstractTextDocumentLayouttst_QAccessibilitytst_QActiontst_QActionGrouptst_QAnimationGrouptst_QApplicationtst_QArrayDatatst_QArrayData_StrictIteratorstst_QBackingStoretst_QBoxLayouttst_QBrush...
 | 41364277 | 
| 580 | } | - | 
| 581 |  | - | 
| 582 | QByteArray QUtf8Codec::name() const | - | 
| 583 | { | - | 
| 584 | return executed 357 times by 38 tests"UTF-8";:  return "UTF-8";Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QClipboardtst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGlobaltst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatatst_QMimeDatabasetst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebar...
 executed 357 times by 38 tests:  return "UTF-8";Executed by:tst_QAccessibilitytst_QCalendarWidgettst_QClipboardtst_QComboBoxtst_QCompletertst_QDBusXmlParsertst_QDateTimeEdittst_QFiletst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QFontComboBoxtst_QGlobaltst_QGraphicsProxyWidgettst_QGraphicsWidgettst_QGuiApplicationtst_QGuiVarianttst_QIcontst_QMimeDatatst_QMimeDatabasetst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebar...
 | 357 | 
| 585 | } | - | 
| 586 |  | - | 
| 587 | int QUtf8Codec::mibEnum() const | - | 
| 588 | { | - | 
| 589 | return executed 63049 times by 43 tests106;:  return 106;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 63049 times by 43 tests:  return 106;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...
 | 63049 | 
| 590 | } | - | 
| 591 |  | - | 
| 592 | QUtf16Codec::~QUtf16Codec() | - | 
| 593 | { | - | 
| 594 | } | - | 
| 595 |  | - | 
| 596 | QByteArray QUtf16Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - | 
| 597 | { | - | 
| 598 | return executed 68 times by 4 testsQUtf16::convertFromUnicode(uc, len, state, e);:  return QUtf16::convertFromUnicode(uc, len, state, e);Executed by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 executed 68 times by 4 tests:  return QUtf16::convertFromUnicode(uc, len, state, e);Executed by:tst_QStringtst_QTextCodectst_QTextStreamtst_QXmlStream
 | 68 | 
| 599 | } | - | 
| 600 |  | - | 
| 601 | QString QUtf16Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - | 
| 602 | { | - | 
| 603 | return executed 2038 times by 4 testsQUtf16::convertToUnicode(chars, len, state, e);:  return QUtf16::convertToUnicode(chars, len, state, e);Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 executed 2038 times by 4 tests:  return QUtf16::convertToUnicode(chars, len, state, e);Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 2038 | 
| 604 | } | - | 
| 605 |  | - | 
| 606 | int QUtf16Codec::mibEnum() const | - | 
| 607 | { | - | 
| 608 | return executed 445 times by 3 tests1015;:  return 1015;Executed by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 executed 445 times by 3 tests:  return 1015;Executed by:tst_QTextCodectst_QXmlSimpleReadertst_QXmlStream
 | 445 | 
| 609 | } | - | 
| 610 |  | - | 
| 611 | QByteArray QUtf16Codec::name() const | - | 
| 612 | { | - | 
| 613 | return executed 145 times by 5 tests"UTF-16";:  return "UTF-16";Executed by:tst_QTextCodectst_QTextDocumenttst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 executed 145 times by 5 tests:  return "UTF-16";Executed by:tst_QTextCodectst_QTextDocumenttst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 145 | 
| 614 | } | - | 
| 615 |  | - | 
| 616 | QList<QByteArray> QUtf16Codec::aliases() const | - | 
| 617 | { | - | 
| 618 | return executed 143 times by 4 testsQList<QByteArray>();:  return QList<QByteArray>();Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 executed 143 times by 4 tests:  return QList<QByteArray>();Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 143 | 
| 619 | } | - | 
| 620 |  | - | 
| 621 | int QUtf16BECodec::mibEnum() const | - | 
| 622 | { | - | 
| 623 | return executed 22 times by 3 tests1013;:  return 1013;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 executed 22 times by 3 tests:  return 1013;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 | 22 | 
| 624 | } | - | 
| 625 |  | - | 
| 626 | QByteArray QUtf16BECodec::name() const | - | 
| 627 | { | - | 
| 628 | return executed 159 times by 3 tests"UTF-16BE";:  return "UTF-16BE";Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 executed 159 times by 3 tests:  return "UTF-16BE";Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 | 159 | 
| 629 | } | - | 
| 630 |  | - | 
| 631 | QList<QByteArray> QUtf16BECodec::aliases() const | - | 
| 632 | { | - | 
| 633 | QList<QByteArray> list; | - | 
| 634 | return executed 158 times by 3 testslist;:  return list;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 executed 158 times by 3 tests:  return list;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlStream
 | 158 | 
| 635 | } | - | 
| 636 |  | - | 
| 637 | int QUtf16LECodec::mibEnum() const | - | 
| 638 | { | - | 
| 639 | return executed 22 times by 2 tests1014;:  return 1014;Executed by:tst_QTextCodectst_QTextStream
 executed 22 times by 2 tests:  return 1014;Executed by:tst_QTextCodectst_QTextStream
 | 22 | 
| 640 | } | - | 
| 641 |  | - | 
| 642 | QByteArray QUtf16LECodec::name() const | - | 
| 643 | { | - | 
| 644 | return executed 153 times by 4 tests"UTF-16LE";:  return "UTF-16LE";Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 executed 153 times by 4 tests:  return "UTF-16LE";Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 153 | 
| 645 | } | - | 
| 646 |  | - | 
| 647 | QList<QByteArray> QUtf16LECodec::aliases() const | - | 
| 648 | { | - | 
| 649 | QList<QByteArray> list; | - | 
| 650 | return executed 150 times by 4 testslist;:  return list;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 executed 150 times by 4 tests:  return list;Executed by:tst_QTextCodectst_QTextStreamtst_QXmlSimpleReadertst_QXmlStream
 | 150 | 
| 651 | } | - | 
| 652 |  | - | 
| 653 | QUtf32Codec::~QUtf32Codec() | - | 
| 654 | { | - | 
| 655 | } | - | 
| 656 |  | - | 
| 657 | QByteArray QUtf32Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - | 
| 658 | { | - | 
| 659 | return executed 26 times by 1 testQUtf32::convertFromUnicode(uc, len, state, e);:  return QUtf32::convertFromUnicode(uc, len, state, e); executed 26 times by 1 test:  return QUtf32::convertFromUnicode(uc, len, state, e); | 26 | 
| 660 | } | - | 
| 661 |  | - | 
| 662 | QString QUtf32Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - | 
| 663 | { | - | 
| 664 | return executed 383 times by 2 testsQUtf32::convertToUnicode(chars, len, state, e);:  return QUtf32::convertToUnicode(chars, len, state, e);Executed by:tst_QTextCodectst_QTextStream
 executed 383 times by 2 tests:  return QUtf32::convertToUnicode(chars, len, state, e);Executed by:tst_QTextCodectst_QTextStream
 | 383 | 
| 665 | } | - | 
| 666 |  | - | 
| 667 | int QUtf32Codec::mibEnum() const | - | 
| 668 | { | - | 
| 669 | return executed 17 times by 1 test1017;:  return 1017; executed 17 times by 1 test:  return 1017; | 17 | 
| 670 | } | - | 
| 671 |  | - | 
| 672 | QByteArray QUtf32Codec::name() const | - | 
| 673 | { | - | 
| 674 | return executed 131 times by 1 test"UTF-32";:  return "UTF-32"; executed 131 times by 1 test:  return "UTF-32"; | 131 | 
| 675 | } | - | 
| 676 |  | - | 
| 677 | QList<QByteArray> QUtf32Codec::aliases() const | - | 
| 678 | { | - | 
| 679 | QList<QByteArray> list; | - | 
| 680 | return executed 130 times by 1 testlist;:  return list; executed 130 times by 1 test:  return list; | 130 | 
| 681 | } | - | 
| 682 |  | - | 
| 683 | int QUtf32BECodec::mibEnum() const | - | 
| 684 | { | - | 
| 685 | return executed 21 times by 2 tests1018;:  return 1018;Executed by:tst_QTextCodectst_QTextStream
 executed 21 times by 2 tests:  return 1018;Executed by:tst_QTextCodectst_QTextStream
 | 21 | 
| 686 | } | - | 
| 687 |  | - | 
| 688 | QByteArray QUtf32BECodec::name() const | - | 
| 689 | { | - | 
| 690 | return executed 135 times by 2 tests"UTF-32BE";:  return "UTF-32BE";Executed by:tst_QTextCodectst_QTextStream
 executed 135 times by 2 tests:  return "UTF-32BE";Executed by:tst_QTextCodectst_QTextStream
 | 135 | 
| 691 | } | - | 
| 692 |  | - | 
| 693 | QList<QByteArray> QUtf32BECodec::aliases() const | - | 
| 694 | { | - | 
| 695 | QList<QByteArray> list; | - | 
| 696 | return executed 134 times by 2 testslist;:  return list;Executed by:tst_QTextCodectst_QTextStream
 executed 134 times by 2 tests:  return list;Executed by:tst_QTextCodectst_QTextStream
 | 134 | 
| 697 | } | - | 
| 698 |  | - | 
| 699 | int QUtf32LECodec::mibEnum() const | - | 
| 700 | { | - | 
| 701 | return executed 22 times by 2 tests1019;:  return 1019;Executed by:tst_QTextCodectst_QTextStream
 executed 22 times by 2 tests:  return 1019;Executed by:tst_QTextCodectst_QTextStream
 | 22 | 
| 702 | } | - | 
| 703 |  | - | 
| 704 | QByteArray QUtf32LECodec::name() const | - | 
| 705 | { | - | 
| 706 | return executed 132 times by 2 tests"UTF-32LE";:  return "UTF-32LE";Executed by:tst_QTextCodectst_QTextStream
 executed 132 times by 2 tests:  return "UTF-32LE";Executed by:tst_QTextCodectst_QTextStream
 | 132 | 
| 707 | } | - | 
| 708 |  | - | 
| 709 | QList<QByteArray> QUtf32LECodec::aliases() const | - | 
| 710 | { | - | 
| 711 | QList<QByteArray> list; | - | 
| 712 | return executed 131 times by 2 testslist;:  return list;Executed by:tst_QTextCodectst_QTextStream
 executed 131 times by 2 tests:  return list;Executed by:tst_QTextCodectst_QTextStream
 | 131 | 
| 713 | } | - | 
| 714 |  | - | 
| 715 |  | - | 
| 716 |  | - | 
| 717 |  | - | 
|  |  |  |