qlocale_tools.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8unsigned long long-
9qstrtoull(const char * nptr, const char **endptr, int base, bool *ok)-
10{-
11-
12-
13-
14 const char *begin = nptr;-
15 while (ascii_isspace(*begin)
ascii_isspace(*begin)Description
TRUEevaluated 3 times by 2 tests
Evaluated by:
  • tst_QUrl
  • tst_QVersionNumber
FALSEevaluated 83737 times by 77 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • ...
)
3-83737
16 ++
executed 3 times by 2 tests: ++begin;
Executed by:
  • tst_QUrl
  • tst_QVersionNumber
begin;
executed 3 times by 2 tests: ++begin;
Executed by:
  • tst_QUrl
  • tst_QVersionNumber
3
17 if (*
*begin == '-'Description
TRUEevaluated 66 times by 10 tests
Evaluated by:
  • tst_QDate
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QIpAddress
  • tst_QString
  • tst_QStringRef
  • tst_QUrl
  • tst_QUrlInternal
  • tst_QVariant
  • tst_QVersionNumber
FALSEevaluated 83671 times by 77 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • ...
begin == '-'
*begin == '-'Description
TRUEevaluated 66 times by 10 tests
Evaluated by:
  • tst_QDate
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QIpAddress
  • tst_QString
  • tst_QStringRef
  • tst_QUrl
  • tst_QUrlInternal
  • tst_QVariant
  • tst_QVersionNumber
FALSEevaluated 83671 times by 77 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • ...
) {
66-83671
18 *ok = false;-
19 return
executed 66 times by 10 tests: return 0;
Executed by:
  • tst_QDate
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QIpAddress
  • tst_QString
  • tst_QStringRef
  • tst_QUrl
  • tst_QUrlInternal
  • tst_QVariant
  • tst_QVersionNumber
0;
executed 66 times by 10 tests: return 0;
Executed by:
  • tst_QDate
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QIpAddress
  • tst_QString
  • tst_QStringRef
  • tst_QUrl
  • tst_QUrlInternal
  • tst_QVariant
  • tst_QVersionNumber
66
20 }-
21-
22 *ok = true;-
23 (*__errno_location ()) = 0;-
24 char *endptr2 = 0;-
25 unsigned long long result = qt_strtoull(nptr, &endptr2, base);-
26 if (endptr
endptrDescription
TRUEevaluated 83671 times by 77 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • ...
FALSEnever evaluated
)
0-83671
27 *
executed 83671 times by 77 tests: *endptr = endptr2;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • ...
endptr = endptr2;
executed 83671 times by 77 tests: *endptr = endptr2;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • ...
83671
28 if ((result == 0
result == 0Description
TRUEevaluated 44679 times by 66 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QDataUrl
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFileSelector
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMetaType
  • ...
FALSEevaluated 38992 times by 60 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
|| result == std::numeric_limits<unsigned long long>::max()
result == std:...g long>::max()Description
TRUEevaluated 18 times by 4 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
  • tst_QVersionNumber
FALSEevaluated 38974 times by 60 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
)
18-44679
29 && ((*
(*__errno_location ())Description
TRUEevaluated 36843 times by 49 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QDataUrl
  • tst_QFileSelector
  • tst_QFtp
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QIpAddress
  • tst_QMetaType
  • tst_QMimeData
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCacheMetaData
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
FALSEevaluated 7854 times by 43 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAddressEntry
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QObject
  • ...
__errno_location ())
(*__errno_location ())Description
TRUEevaluated 36843 times by 49 tests
Evaluated by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QDataUrl
  • tst_QFileSelector
  • tst_QFtp
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QIpAddress
  • tst_QMetaType
  • tst_QMimeData
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCacheMetaData
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
FALSEevaluated 7854 times by 43 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAddressEntry
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QObject
  • ...
|| endptr2 == nptr
endptr2 == nptrDescription
TRUEnever evaluated
FALSEevaluated 7854 times by 43 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAddressEntry
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • tst_QObject
  • ...
)) {
0-36843
30 *ok = false;-
31 return
executed 36843 times by 49 tests: return 0;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QDataUrl
  • tst_QFileSelector
  • tst_QFtp
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QIpAddress
  • tst_QMetaType
  • tst_QMimeData
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCacheMetaData
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
0;
executed 36843 times by 49 tests: return 0;
Executed by:
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QDataUrl
  • tst_QFileSelector
  • tst_QFtp
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QIODevice
  • tst_QIpAddress
  • tst_QMetaType
  • tst_QMimeData
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkCacheMetaData
  • tst_QNetworkCookie
  • tst_QNetworkCookieJar
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
36843
32 }-
33 return
executed 46828 times by 60 tests: return result;
Executed by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
result;
executed 46828 times by 60 tests: return result;
Executed by:
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QColorDialog
  • tst_QCssParser
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDnsLookup
  • tst_QEventLoop
  • tst_QFtp
  • tst_QGuiEventLoop
  • tst_QHostAddress
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpNetworkReply
  • tst_QHttpSocketEngine
  • tst_QImageReader
  • tst_QIpAddress
  • tst_QItemDelegate
  • tst_QMimeDatabase
  • tst_QNetworkAccessManager_And_QProgressDialog
  • ...
46828
34}-
35-
36long long-
37qstrtoll(const char * nptr, const char **endptr, int base, bool *ok)-
38{-
39 *ok = true;-
40 (*__errno_location ()) = 0;-
41 char *endptr2 = 0;-
42 long long result = qt_strtoll(nptr, &endptr2, base);-
43 if (endptr
endptrDescription
TRUEevaluated 380497 times by 113 tests
Evaluated by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
FALSEevaluated 112 times by 3 tests
Evaluated by:
  • tst_QGestureRecognizer
  • tst_QGetPutEnv
  • tst_selftests - unknown status
)
112-380497
44 *
executed 380497 times by 113 tests: *endptr = endptr2;
Executed by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
endptr = endptr2;
executed 380497 times by 113 tests: *endptr = endptr2;
Executed by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
380497
45 if ((result == 0
result == 0Description
TRUEevaluated 11836 times by 50 tests
Evaluated by:
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QColorDialog
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGLBuffer
  • tst_QGLFunctions
  • tst_QGLThreads
  • tst_QGetPutEnv
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QItemDelegate
  • tst_QLayout
  • tst_QLineEdit
  • tst_QMdiArea
  • tst_QMimeDatabase
  • tst_QNetworkCookieJar
  • ...
FALSEevaluated 368773 times by 112 tests
Evaluated by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • ...
|| result == std::numeric_limits<long long>::min()
result == std:...g long>::min()Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
FALSEevaluated 368767 times by 112 tests
Evaluated by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • ...
6-368773
46 || result == std::numeric_limits<long long>::max()
result == std:...g long>::max()Description
TRUEevaluated 13 times by 3 tests
Evaluated by:
  • tst_QIntValidator
  • tst_QString
  • tst_QStringRef
FALSEevaluated 368754 times by 112 tests
Evaluated by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • ...
)
13-368754
47 && ((*
(*__errno_location ())Description
TRUEevaluated 197 times by 19 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QGetPutEnv
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QNetworkReply
  • tst_QNetworkRequest
  • tst_QPlugin
  • tst_QSettings
  • tst_QSpinBox
  • tst_QSqlError
  • tst_QSqlRelationalTableModel
  • tst_QString
  • tst_QStringRef
  • tst_QTime
  • tst_QTreeWidget
  • tst_QVariant
  • tst_qmakelib
  • tst_selftests - unknown status
FALSEevaluated 11658 times by 43 tests
Evaluated by:
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QColorDialog
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGLBuffer
  • tst_QGLFunctions
  • tst_QGLThreads
  • tst_QGetPutEnv
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QItemDelegate
  • tst_QLayout
  • tst_QLineEdit
  • tst_QMdiArea
  • tst_QMimeDatabase
  • tst_QNetworkCookieJar
  • ...
__errno_location ())
(*__errno_location ())Description
TRUEevaluated 197 times by 19 tests
Evaluated by:
  • tst_QDate
  • tst_QDateTime
  • tst_QGetPutEnv
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QNetworkReply
  • tst_QNetworkRequest
  • tst_QPlugin
  • tst_QSettings
  • tst_QSpinBox
  • tst_QSqlError
  • tst_QSqlRelationalTableModel
  • tst_QString
  • tst_QStringRef
  • tst_QTime
  • tst_QTreeWidget
  • tst_QVariant
  • tst_qmakelib
  • tst_selftests - unknown status
FALSEevaluated 11658 times by 43 tests
Evaluated by:
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QColorDialog
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGLBuffer
  • tst_QGLFunctions
  • tst_QGLThreads
  • tst_QGetPutEnv
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QItemDelegate
  • tst_QLayout
  • tst_QLineEdit
  • tst_QMdiArea
  • tst_QMimeDatabase
  • tst_QNetworkCookieJar
  • ...
|| nptr == endptr2
nptr == endptr2Description
TRUEnever evaluated
FALSEevaluated 11658 times by 43 tests
Evaluated by:
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QColorDialog
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QFontDialog
  • tst_QFtp
  • tst_QGLBuffer
  • tst_QGLFunctions
  • tst_QGLThreads
  • tst_QGetPutEnv
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QHttpNetworkConnection
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QItemDelegate
  • tst_QLayout
  • tst_QLineEdit
  • tst_QMdiArea
  • tst_QMimeDatabase
  • tst_QNetworkCookieJar
  • ...
)) {
0-11658
48 *ok = false;-
49 return
executed 197 times by 19 tests: return 0;
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QGetPutEnv
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QNetworkReply
  • tst_QNetworkRequest
  • tst_QPlugin
  • tst_QSettings
  • tst_QSpinBox
  • tst_QSqlError
  • tst_QSqlRelationalTableModel
  • tst_QString
  • tst_QStringRef
  • tst_QTime
  • tst_QTreeWidget
  • tst_QVariant
  • tst_qmakelib
  • tst_selftests - unknown status
0;
executed 197 times by 19 tests: return 0;
Executed by:
  • tst_QDate
  • tst_QDateTime
  • tst_QGetPutEnv
  • tst_QInputDialog
  • tst_QIntValidator
  • tst_QNetworkReply
  • tst_QNetworkRequest
  • tst_QPlugin
  • tst_QSettings
  • tst_QSpinBox
  • tst_QSqlError
  • tst_QSqlRelationalTableModel
  • tst_QString
  • tst_QStringRef
  • tst_QTime
  • tst_QTreeWidget
  • tst_QVariant
  • tst_qmakelib
  • tst_selftests - unknown status
197
50 }-
51 return
executed 380412 times by 113 tests: return result;
Executed by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
result;
executed 380412 times by 113 tests: return result;
Executed by:
  • tst_Collections
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QAsn1Element
  • tst_QByteArray
  • tst_QCalendarWidget
  • tst_QChar
  • tst_QColorDialog
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataStream
  • tst_QDate
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QErrorMessage
  • tst_QFile
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • ...
380412
52}-
53-
54static char *_qdtoa( volatile double d, int mode, int ndigits, int *decpt,-
55 int *sign, char **rve, char **digits_str);-
56-
57QString qulltoa(qulonglong l, int base, const QChar _zero)-
58{-
59 ushort buff[65];-
60 ushort *p = buff + 65;-
61-
62 if (base != 10
base != 10Description
TRUEevaluated 24480 times by 82 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QChar
  • tst_QColor
  • tst_QColorDialog
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDebug
  • tst_QErrorMessage
  • tst_QEventLoop
  • tst_QFileSystemModel
  • tst_QGlyphRun
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiEventLoop
  • tst_QGuiVariant
  • tst_QImage
  • ...
FALSEevaluated 11772041 times by 463 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
|| _zero.unicode() == '0'
_zero.unicode() == '0'Description
TRUEevaluated 11772026 times by 463 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • ...
FALSEevaluated 11 times by 2 tests
Evaluated by:
  • tst_QProgressBar
  • tst_QString
) {
11-11772041
63 while (l != 0
l != 0Description
TRUEevaluated 21263159 times by 321 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 11796510 times by 468 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
) {
11796510-21263159
64 int c = l % base;-
65-
66 --p;-
67-
68 if (c < 10
c < 10Description
TRUEevaluated 21213268 times by 321 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
FALSEevaluated 49891 times by 75 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QChar
  • tst_QColor
  • tst_QColorDialog
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDebug
  • tst_QErrorMessage
  • tst_QEventLoop
  • tst_QFileSystemModel
  • tst_QGlyphRun
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiEventLoop
  • tst_QGuiVariant
  • tst_QImage
  • tst_QImageReader
  • ...
)
49891-21213268
69 *
executed 21213268 times by 321 tests: *p = '0' + c;
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
p = '0' + c;
executed 21213268 times by 321 tests: *p = '0' + c;
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
21213268
70 else-
71 *
executed 49891 times by 75 tests: *p = c - 10 + 'a';
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QChar
  • tst_QColor
  • tst_QColorDialog
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDebug
  • tst_QErrorMessage
  • tst_QEventLoop
  • tst_QFileSystemModel
  • tst_QGlyphRun
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiEventLoop
  • tst_QGuiVariant
  • tst_QImage
  • tst_QImageReader
  • ...
p = c - 10 + 'a';
executed 49891 times by 75 tests: *p = c - 10 + 'a';
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QChar
  • tst_QColor
  • tst_QColorDialog
  • tst_QDBusConnection
  • tst_QDBusConnection_NoApplication
  • tst_QDBusConnection_SpyHook
  • tst_QDebug
  • tst_QErrorMessage
  • tst_QEventLoop
  • tst_QFileSystemModel
  • tst_QGlyphRun
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiEventLoop
  • tst_QGuiVariant
  • tst_QImage
  • tst_QImageReader
  • ...
49891
72-
73 l /= base;-
74 }
executed 21263159 times by 321 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
21263159
75 }
executed 11796510 times by 468 tests: end of block
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
11796510
76 else {-
77 while (l != 0
l != 0Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • tst_QProgressBar
  • tst_QString
FALSEevaluated 11 times by 2 tests
Evaluated by:
  • tst_QProgressBar
  • tst_QString
) {
11-32
78 int c = l % base;-
79-
80 *(--p) = _zero.unicode() + c;-
81-
82 l /= base;-
83 }
executed 32 times by 2 tests: end of block
Executed by:
  • tst_QProgressBar
  • tst_QString
32
84 }
executed 11 times by 2 tests: end of block
Executed by:
  • tst_QProgressBar
  • tst_QString
11
85-
86 return
executed 11796521 times by 468 tests: return QString(reinterpret_cast<QChar *>(p), 65 - (p - buff));
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
QString(reinterpret_cast<QChar *>(p), 65 - (p - buff));
executed 11796521 times by 468 tests: return QString(reinterpret_cast<QChar *>(p), 65 - (p - buff));
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • ...
11796521
87}-
88-
89QString qlltoa(qlonglong l, int base, const QChar zero)-
90{-
91 return
executed 11729033 times by 447 tests: return qulltoa(l < 0 ? -l : l, base, zero);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • ...
qulltoa(l < 0 ? -l : l, base, zero);
executed 11729033 times by 447 tests: return qulltoa(l < 0 ? -l : l, base, zero);
Executed by:
  • tst_Collections
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QButtonGroup
  • ...
11729033
92}-
93-
94QString &decimalForm(QChar zero, QChar decimal, QChar group,-
95 QString &digits, int decpt, uint precision,-
96 PrecisionMode pm,-
97 bool always_show_decpt,-
98 bool thousands_group)-
99{-
100 if (decpt < 0
decpt < 0Description
TRUEevaluated 18519 times by 5 tests
Evaluated by:
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QInputDialog
  • tst_QString
  • tst_QTextStream
FALSEevaluated 84975 times by 54 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
) {
18519-84975
101 for (int i = 0; i < -decpt
i < -decptDescription
TRUEevaluated 46373 times by 5 tests
Evaluated by:
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QInputDialog
  • tst_QString
  • tst_QTextStream
FALSEevaluated 18519 times by 5 tests
Evaluated by:
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QInputDialog
  • tst_QString
  • tst_QTextStream
; ++i)
18519-46373
102 digits.prepend(zero);
executed 46373 times by 5 tests: digits.prepend(zero);
Executed by:
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QInputDialog
  • tst_QString
  • tst_QTextStream
46373
103 decpt = 0;-
104 }
executed 18519 times by 5 tests: end of block
Executed by:
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QInputDialog
  • tst_QString
  • tst_QTextStream
18519
105 else if (decpt > digits.length()
decpt > digits.length()Description
TRUEevaluated 988 times by 20 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_selftests - unknown status
FALSEevaluated 83987 times by 54 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
) {
988-83987
106 for (int i = digits.length(); i < decpt
i < decptDescription
TRUEevaluated 2319 times by 20 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_selftests - unknown status
FALSEevaluated 988 times by 20 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_selftests - unknown status
; ++i)
988-2319
107 digits.append(zero);
executed 2319 times by 20 tests: digits.append(zero);
Executed by:
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_selftests - unknown status
2319
108 }
executed 988 times by 20 tests: end of block
Executed by:
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_selftests - unknown status
988
109-
110 if (pm == PMDecimalDigits
pm == PMDecimalDigitsDescription
TRUEevaluated 2251 times by 20 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
FALSEevaluated 101243 times by 42 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • ...
) {
2251-101243
111 uint decimal_digits = digits.length() - decpt;-
112 for (uint i = decimal_digits; i < precision
i < precisionDescription
TRUEevaluated 9865 times by 18 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
FALSEevaluated 2251 times by 20 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
; ++i)
2251-9865
113 digits.append(zero);
executed 9865 times by 18 tests: digits.append(zero);
Executed by:
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
9865
114 }
executed 2251 times by 20 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
2251
115 else if (pm == PMSignificantDigits
pm == PMSignificantDigitsDescription
TRUEevaluated 2386 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QTextStream
FALSEevaluated 98857 times by 42 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • ...
) {
2386-98857
116 for (uint i = digits.length(); i < precision
i < precisionDescription
TRUEevaluated 7938 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QTextStream
FALSEevaluated 2386 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QTextStream
; ++i)
2386-7938
117 digits.append(zero);
executed 7938 times by 2 tests: digits.append(zero);
Executed by:
  • tst_QString
  • tst_QTextStream
7938
118 }
executed 2386 times by 2 tests: end of block
Executed by:
  • tst_QString
  • tst_QTextStream
2386
119 else {-
120 }
executed 98857 times by 42 tests: end of block
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • ...
98857
121-
122 if (always_show_decpt
always_show_decptDescription
TRUEevaluated 2388 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QTextStream
FALSEevaluated 101106 times by 54 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
|| decpt < digits.length()
decpt < digits.length()Description
TRUEevaluated 47712 times by 34 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDriver
  • ...
FALSEevaluated 53394 times by 37 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • ...
)
2388-101106
123 digits.insert(decpt, decimal);
executed 50100 times by 34 tests: digits.insert(decpt, decimal);
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDriver
  • ...
50100
124-
125 if (thousands_group
thousands_groupDescription
TRUEevaluated 5379 times by 11 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QString
  • tst_QTextStream
FALSEevaluated 98115 times by 49 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
) {
5379-98115
126 for (int i = decpt - 3; i > 0
i > 0Description
TRUEevaluated 2234 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTextStream
FALSEevaluated 5379 times by 11 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QString
  • tst_QTextStream
; i -= 3)
2234-5379
127 digits.insert(i, group);
executed 2234 times by 3 tests: digits.insert(i, group);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTextStream
2234
128 }
executed 5379 times by 11 tests: end of block
Executed by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QString
  • tst_QTextStream
5379
129-
130 if (decpt == 0
decpt == 0Description
TRUEevaluated 45891 times by 13 tests
Evaluated by:
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
FALSEevaluated 57603 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
)
45891-57603
131 digits.prepend(zero);
executed 45891 times by 13 tests: digits.prepend(zero);
Executed by:
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
45891
132-
133 return
executed 103494 times by 54 tests: return digits;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
digits;
executed 103494 times by 54 tests: return digits;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
103494
134}-
135-
136QString &exponentForm(QChar zero, QChar decimal, QChar exponential,-
137 QChar group, QChar plus, QChar minus,-
138 QString &digits, int decpt, uint precision,-
139 PrecisionMode pm,-
140 bool always_show_decpt)-
141{-
142 int exp = decpt - 1;-
143-
144 if (pm == PMDecimalDigits
pm == PMDecimalDigitsDescription
TRUEevaluated 17 times by 3 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 6335 times by 5 tests
Evaluated by:
  • tst_QByteArray
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QTextStream
) {
17-6335
145 for (uint i = digits.length(); i < precision + 1
i < precision + 1Description
TRUEevaluated 16 times by 3 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 17 times by 3 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
; ++i)
16-17
146 digits.append(zero);
executed 16 times by 3 tests: digits.append(zero);
Executed by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
16
147 }
executed 17 times by 3 tests: end of block
Executed by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
17
148 else if (pm == PMSignificantDigits
pm == PMSignificantDigitsDescription
TRUEevaluated 2224 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 4111 times by 5 tests
Evaluated by:
  • tst_QByteArray
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QTextStream
) {
2224-4111
149 for (uint i = digits.length(); i < precision
i < precisionDescription
TRUEevaluated 1920 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 2224 times by 1 test
Evaluated by:
  • tst_QString
; ++i)
1920-2224
150 digits.append(zero);
executed 1920 times by 1 test: digits.append(zero);
Executed by:
  • tst_QString
1920
151 }
executed 2224 times by 1 test: end of block
Executed by:
  • tst_QString
2224
152 else {-
153 }
executed 4111 times by 5 tests: end of block
Executed by:
  • tst_QByteArray
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QTextStream
4111
154-
155 if (always_show_decpt
always_show_decptDescription
TRUEevaluated 2226 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QTextStream
FALSEevaluated 4126 times by 6 tests
Evaluated by:
  • tst_QByteArray
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
|| digits.length() > 1
digits.length() > 1Description
TRUEevaluated 2805 times by 5 tests
Evaluated by:
  • tst_QByteArray
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 1321 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
)
1321-4126
156 digits.insert(1, decimal);
executed 5031 times by 5 tests: digits.insert(1, decimal);
Executed by:
  • tst_QByteArray
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
5031
157-
158 digits.append(exponential);-
159 digits.append(QLocaleData::longLongToString(zero, group, plus, minus,-
160 exp, 2, 10, -1, QLocaleData::AlwaysShowSign));-
161-
162 return
executed 6352 times by 6 tests: return digits;
Executed by:
  • tst_QByteArray
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
digits;
executed 6352 times by 6 tests: return digits;
Executed by:
  • tst_QByteArray
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
6352
163}-
164static inline quint32 getWord0(const volatile double x)-
165{-
166 const volatile uchar *ptr = reinterpret_cast<const volatile uchar *>(&x);-
167 if (QSysInfo::ByteOrder == QSysInfo::BigEndian
QSysInfo::Byte...nfo::BigEndianDescription
TRUEnever evaluated
FALSEevaluated 740615 times by 57 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
) {
0-740615
168 return
never executed: return (ptr[0]<<24) + (ptr[1]<<16) + (ptr[2]<<8) + ptr[3];
(ptr[0]<<24) + (ptr[1]<<16) + (ptr[2]<<8) + ptr[3];
never executed: return (ptr[0]<<24) + (ptr[1]<<16) + (ptr[2]<<8) + ptr[3];
0
169 } else {-
170 return
executed 740615 times by 57 tests: return (ptr[7]<<24) + (ptr[6]<<16) + (ptr[5]<<8) + ptr[4];
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
(ptr[7]<<24) + (ptr[6]<<16) + (ptr[5]<<8) + ptr[4];
executed 740615 times by 57 tests: return (ptr[7]<<24) + (ptr[6]<<16) + (ptr[5]<<8) + ptr[4];
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
740615
171 }-
172}-
173-
174static inline void setWord0(volatile double *x, quint32 l)-
175{-
176 volatile uchar *ptr = reinterpret_cast<volatile uchar *>(x);-
177 if (QSysInfo::ByteOrder == QSysInfo::BigEndian
QSysInfo::Byte...nfo::BigEndianDescription
TRUEnever evaluated
FALSEevaluated 306175 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
) {
0-306175
178 ptr[0] = uchar(l>>24);-
179 ptr[1] = uchar(l>>16);-
180 ptr[2] = uchar(l>>8);-
181 ptr[3] = uchar(l);-
182 }
never executed: end of block
else {
0
183 ptr[7] = uchar(l>>24);-
184 ptr[6] = uchar(l>>16);-
185 ptr[5] = uchar(l>>8);-
186 ptr[4] = uchar(l);-
187 }
executed 306175 times by 55 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
306175
188}-
189-
190static inline quint32 getWord1(const volatile double x)-
191{-
192 const volatile uchar *ptr = reinterpret_cast<const volatile uchar *>(&x);-
193 if (QSysInfo::ByteOrder == QSysInfo::BigEndian
QSysInfo::Byte...nfo::BigEndianDescription
TRUEnever evaluated
FALSEevaluated 71607 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
) {
0-71607
194 return
never executed: return (ptr[4]<<24) + (ptr[5]<<16) + (ptr[6]<<8) + ptr[7];
(ptr[4]<<24) + (ptr[5]<<16) + (ptr[6]<<8) + ptr[7];
never executed: return (ptr[4]<<24) + (ptr[5]<<16) + (ptr[6]<<8) + ptr[7];
0
195 } else {-
196 return
executed 71607 times by 55 tests: return (ptr[3]<<24) + (ptr[2]<<16) + (ptr[1]<<8) + ptr[0];
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
(ptr[3]<<24) + (ptr[2]<<16) + (ptr[1]<<8) + ptr[0];
executed 71607 times by 55 tests: return (ptr[3]<<24) + (ptr[2]<<16) + (ptr[1]<<8) + ptr[0];
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
71607
197 }-
198}-
199static inline void setWord1(volatile double *x, quint32 l)-
200{-
201 volatile uchar *ptr = reinterpret_cast<uchar volatile *>(x);-
202 if (QSysInfo::ByteOrder == QSysInfo::BigEndian
QSysInfo::Byte...nfo::BigEndianDescription
TRUEnever evaluated
FALSEevaluated 424 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
0-424
203 ptr[4] = uchar(l>>24);-
204 ptr[5] = uchar(l>>16);-
205 ptr[6] = uchar(l>>8);-
206 ptr[7] = uchar(l);-
207 }
never executed: end of block
else {
0
208 ptr[3] = uchar(l>>24);-
209 ptr[2] = uchar(l>>16);-
210 ptr[1] = uchar(l>>8);-
211 ptr[0] = uchar(l);-
212 }
executed 424 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
424
213}-
214-
215static inline void Storeinc(quint32 *&a, const quint32 &b, const quint32 &c)-
216{-
217-
218 *a = (ushort(b) << 16) | ushort(c);-
219 ++a;-
220}
executed 971010 times by 13 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
971010
221struct-
222Bigint {-
223 struct Bigint *next;-
224 int k, maxwds, sign, wds;-
225 quint32 x[1];-
226};-
227-
228 typedef struct Bigint Bigint;-
229-
230static Bigint *Balloc(int k)-
231{-
232 int x;-
233 Bigint *rv;-
234-
235 x = 1 << k;-
236 rv = static_cast<Bigint *>(malloc(sizeof(Bigint) + (x-1)*sizeof(qint32)));-
237 do { if (!(rv)
!(rv)Description
TRUEnever evaluated
FALSEevaluated 84562 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
) qBadAlloc();
never executed: qBadAlloc();
} while (0);
0-84562
238 rv->k = k;-
239 rv->maxwds = x;-
240 rv->sign = rv->wds = 0;-
241 return
executed 84562 times by 55 tests: return rv;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
rv;
executed 84562 times by 55 tests: return rv;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
84562
242}-
243-
244static void Bfree(Bigint *v)-
245{-
246 free(v);-
247}
executed 84564 times by 61 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
84564
248-
249-
250-
251-
252-
253static Bigint *multadd(Bigint *b, int m, int a)-
254{-
255 int i, wds;-
256 quint32 *x, y;-
257-
258 quint32 xi, z;-
259-
260 Bigint *b1;-
261-
262 wds = b->wds;-
263 x = b->x;-
264 i = 0;-
265 do {-
266-
267 xi = *x;-
268 y = (xi & 0xffff) * m + a;-
269 z = (xi >> 16) * m + (y >> 16);-
270 a = (z >> 16);-
271 *x++ = (z << 16) + (y & 0xffff);-
272-
273-
274-
275-
276-
277 }
executed 1277787 times by 13 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
1277787
278 while(++
++i < wdsDescription
TRUEevaluated 1134290 times by 11 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 143497 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
i < wds
++i < wdsDescription
TRUEevaluated 1134290 times by 11 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 143497 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
);
143497-1134290
279 if (a
aDescription
TRUEevaluated 2061 times by 8 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 141436 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
2061-141436
280 if (wds >= b->maxwds
wds >= b->maxwdsDescription
TRUEnever evaluated
FALSEevaluated 2061 times by 8 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
0-2061
281 b1 = Balloc(b->k+1);-
282 memcpy(reinterpret_cast<char *>(&b1->sign), reinterpret_cast<char *>(&b->sign), b->wds*sizeof(qint32) + 2*sizeof(int));-
283 Bfree(b);-
284 b = b1;-
285 }
never executed: end of block
0
286 b->x[wds++] = a;-
287 b->wds = wds;-
288 }
executed 2061 times by 8 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2061
289 return
executed 143497 times by 13 tests: return b;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
b;
executed 143497 times by 13 tests: return b;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
143497
290}-
291-
292static Bigint *s2b(const char *s, int nd0, int nd, quint32 y9)-
293{-
294 Bigint *b;-
295 int i, k;-
296 qint32 x, y;-
297-
298 x = (nd + 8) / 9;-
299 for(k = 0, y = 1; x > y
x > yDescription
TRUEevaluated 527 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
; y <<= 1, k++) ;
executed 527 times by 7 tests: ;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
161-527
300-
301 b = Balloc(k);-
302 b->x[0] = y9;-
303 b->wds = 1;-
304-
305-
306-
307-
308-
309-
310 i = 9;-
311 if (9 < nd0
9 < nd0Description
TRUEevaluated 127 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
FALSEevaluated 34 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
34-127
312 s += 9;-
313 do b = multadd(b, 10, *s++ - '0');
executed 18458 times by 6 tests: b = multadd(b, 10, *s++ - '0');
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
18458
314 while(++
++i < nd0Description
TRUEevaluated 18331 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
FALSEevaluated 127 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
i < nd0
++i < nd0Description
TRUEevaluated 18331 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
FALSEevaluated 127 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
);
127-18331
315 s++;-
316 }
executed 127 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
127
317 else-
318 s += 10;
executed 34 times by 4 tests: s += 10;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
34
319 for(; i < nd
i < ndDescription
TRUEevaluated 418 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
; i++)
161-418
320 b = multadd(b, 10, *s++ - '0');
executed 418 times by 5 tests: b = multadd(b, 10, *s++ - '0');
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
418
321 return
executed 161 times by 7 tests: return b;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
b;
executed 161 times by 7 tests: return b;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
161
322}-
323-
324static int hi0bits(quint32 x)-
325{-
326 int k = 0;-
327-
328 if (!(x & 0xffff0000)
!(x & 0xffff0000)Description
TRUEevaluated 492 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 415 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
) {
415-492
329 k = 16;-
330 x <<= 16;-
331 }
executed 492 times by 7 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
492
332 if (!(x & 0xff000000)
!(x & 0xff000000)Description
TRUEevaluated 399 times by 5 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 508 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
399-508
333 k += 8;-
334 x <<= 8;-
335 }
executed 399 times by 5 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
399
336 if (!(x & 0xf0000000)
!(x & 0xf0000000)Description
TRUEevaluated 419 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 488 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
419-488
337 k += 4;-
338 x <<= 4;-
339 }
executed 419 times by 7 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
419
340 if (!(x & 0xc0000000)
!(x & 0xc0000000)Description
TRUEevaluated 535 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 372 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
372-535
341 k += 2;-
342 x <<= 2;-
343 }
executed 535 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
535
344 if (!(x & 0x80000000)
!(x & 0x80000000)Description
TRUEevaluated 631 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 276 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
276-631
345 k++;-
346 if (!(x & 0x40000000)
!(x & 0x40000000)Description
TRUEnever evaluated
FALSEevaluated 631 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
0-631
347 return
never executed: return 32;
32;
never executed: return 32;
0
348 }
executed 631 times by 7 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
631
349 return
executed 907 times by 7 tests: return k;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
k;
executed 907 times by 7 tests: return k;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
907
350}-
351-
352static int lo0bits(quint32 *y)-
353{-
354 int k;-
355 quint32 x = *y;-
356-
357 if (x & 7
x & 7Description
TRUEevaluated 14797 times by 26 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsTransform
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • ...
FALSEevaluated 56796 times by 47 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
) {
14797-56796
358 if (x & 1
x & 1Description
TRUEevaluated 9355 times by 19 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
  • tst_QVariant
FALSEevaluated 5442 times by 20 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • tst_QVariant
)
5442-9355
359 return
executed 9355 times by 19 tests: return 0;
Executed by:
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
  • tst_QVariant
0;
executed 9355 times by 19 tests: return 0;
Executed by:
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
  • tst_QVariant
9355
360 if (x & 2
x & 2Description
TRUEevaluated 4046 times by 18 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 1396 times by 10 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
) {
1396-4046
361 *y = x >> 1;-
362 return
executed 4046 times by 18 tests: return 1;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • tst_QVariant
1;
executed 4046 times by 18 tests: return 1;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • tst_QVariant
4046
363 }-
364 *y = x >> 2;-
365 return
executed 1396 times by 10 tests: return 2;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
2;
executed 1396 times by 10 tests: return 2;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
1396
366 }-
367 k = 0;-
368 if (!(x & 0xffff)
!(x & 0xffff)Description
TRUEevaluated 54071 times by 43 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPainter
  • tst_QPrinter
  • ...
FALSEevaluated 2725 times by 25 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_QVariant
  • tst_qmakelib
  • tst_selftests - unknown status
) {
2725-54071
369 k = 16;-
370 x >>= 16;-
371 }
executed 54071 times by 43 tests: end of block
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPainter
  • tst_QPrinter
  • ...
54071
372 if (!(x & 0xff)
!(x & 0xff)Description
TRUEevaluated 37705 times by 26 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_qmakelib
  • ...
FALSEevaluated 19091 times by 43 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPainter
  • tst_QPrinter
  • ...
) {
19091-37705
373 k += 8;-
374 x >>= 8;-
375 }
executed 37705 times by 26 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_qmakelib
  • ...
37705
376 if (!(x & 0xf)
!(x & 0xf)Description
TRUEevaluated 53157 times by 39 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
FALSEevaluated 3639 times by 38 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • ...
) {
3639-53157
377 k += 4;-
378 x >>= 4;-
379 }
executed 53157 times by 39 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
53157
380 if (!(x & 0x3)
!(x & 0x3)Description
TRUEevaluated 22766 times by 36 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDatabase
  • ...
FALSEevaluated 34030 times by 42 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
) {
22766-34030
381 k += 2;-
382 x >>= 2;-
383 }
executed 22766 times by 36 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDatabase
  • ...
22766
384 if (!(x & 1)
!(x & 1)Description
TRUEevaluated 27102 times by 36 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • ...
FALSEevaluated 29694 times by 43 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • ...
) {
27102-29694
385 k++;-
386 x >>= 1;-
387 if (!x & 1
!x & 1Description
TRUEnever evaluated
FALSEevaluated 27102 times by 36 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • ...
)
0-27102
388 return
never executed: return 32;
32;
never executed: return 32;
0
389 }
executed 27102 times by 36 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • ...
27102
390 *y = x;-
391 return
executed 56796 times by 47 tests: return k;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
k;
executed 56796 times by 47 tests: return k;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
56796
392}-
393-
394static Bigint *i2b(int i)-
395{-
396 Bigint *b;-
397-
398 b = Balloc(1);-
399 b->x[0] = i;-
400 b->wds = 1;-
401 return
executed 2421 times by 13 tests: return b;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
b;
executed 2421 times by 13 tests: return b;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2421
402}-
403-
404static Bigint *mult(Bigint *a, Bigint *b)-
405{-
406 Bigint *c;-
407 int k, wa, wb, wc;-
408 quint32 carry, y, z;-
409 quint32 *x, *xa, *xae, *xb, *xbe, *xc, *xc0;-
410-
411 quint32 z2;-
412-
413-
414 if (a->wds < b->wds
a->wds < b->wdsDescription
TRUEevaluated 1550 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 1486 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
1486-1550
415 c = a;-
416 a = b;-
417 b = c;-
418 }
executed 1550 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
1550
419 k = a->k;-
420 wa = a->wds;-
421 wb = b->wds;-
422 wc = wa + wb;-
423 if (wc > a->maxwds
wc > a->maxwdsDescription
TRUEevaluated 1620 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 1416 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
1416-1620
424 k++;
executed 1620 times by 5 tests: k++;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
1620
425 c = Balloc(k);-
426 for(x = c->x, xa = x + wc; x < xa
x < xaDescription
TRUEevaluated 17498 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 3036 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
; x++)
3036-17498
427 *
executed 17498 times by 6 tests: *x = 0;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
x = 0;
executed 17498 times by 6 tests: *x = 0;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
17498
428 xa = a->x;-
429 xae = xa + wa;-
430 xb = b->x;-
431 xbe = xb + wb;-
432 xc0 = c->x;-
433-
434 for(; xb < xbe
xb < xbeDescription
TRUEevaluated 5621 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 3036 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
; xb++, xc0++) {
3036-5621
435 if ((
(y = *xb & 0xffff) != 0Description
TRUEevaluated 5621 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
y = *xb & 0xffff) != 0
(y = *xb & 0xffff) != 0Description
TRUEevaluated 5621 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
) {
0-5621
436 x = xa;-
437 xc = xc0;-
438 carry = 0;-
439 do {-
440 z = (*x & 0xffff) * y + (*xc & 0xffff) + carry;-
441 carry = z >> 16;-
442 z2 = (*x++ >> 16) * y + (*xc >> 16) + carry;-
443 carry = z2 >> 16;-
444 Storeinc(xc, z2, z);-
445 }
executed 35686 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
35686
446 while(x < xae
x < xaeDescription
TRUEevaluated 30065 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 5621 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
);
5621-30065
447 *xc = carry;-
448 }
executed 5621 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
5621
449 if ((
(y = *xb >> 16) != 0Description
TRUEevaluated 3335 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 2286 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
y = *xb >> 16) != 0
(y = *xb >> 16) != 0Description
TRUEevaluated 3335 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 2286 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
2286-3335
450 x = xa;-
451 xc = xc0;-
452 carry = 0;-
453 z2 = *xc;-
454 do {-
455 z = (*x & 0xffff) * y + (*xc >> 16) + carry;-
456 carry = z >> 16;-
457 Storeinc(xc, z, z2);-
458 z2 = (*x++ >> 16) * y + (*xc & 0xffff) + carry;-
459 carry = z2 >> 16;-
460 }
executed 29722 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
29722
461 while(x < xae
x < xaeDescription
TRUEevaluated 26387 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 3335 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
);
3335-26387
462 *xc = z2;-
463 }
executed 3335 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
3335
464 }
executed 5621 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
5621
465 for(xc0 = c->x, xc = xc0 + wc; wc > 0
wc > 0Description
TRUEevaluated 5209 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
&& !*--xc
!*--xcDescription
TRUEevaluated 2173 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 3036 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
; --wc) ;
executed 2173 times by 6 tests: ;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
0-5209
466 c->wds = wc;-
467 return
executed 3036 times by 6 tests: return c;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
c;
executed 3036 times by 6 tests: return c;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
3036
468}-
469-
470static Bigint *p5s;-
471-
472struct p5s_deleter-
473{-
474 ~p5s_deleter()-
475 {-
476 while (p5s
p5sDescription
TRUEevaluated 29 times by 6 tests
Evaluated by:
  • tst_qdoublespinbox - unknown status
  • tst_qitemdelegate - unknown status
  • tst_qsqldatabase - unknown status
  • tst_qstring - unknown status
  • tst_qstringref - unknown status
  • tst_qvariant - unknown status
FALSEevaluated 6 times by 6 tests
Evaluated by:
  • tst_qdoublespinbox - unknown status
  • tst_qitemdelegate - unknown status
  • tst_qsqldatabase - unknown status
  • tst_qstring - unknown status
  • tst_qstringref - unknown status
  • tst_qvariant - unknown status
) {
6-29
477 Bigint *next = p5s->next;-
478 Bfree(p5s);-
479 p5s = next;-
480 }
executed 29 times by 6 tests: end of block
Executed by:
  • tst_qdoublespinbox - unknown status
  • tst_qitemdelegate - unknown status
  • tst_qsqldatabase - unknown status
  • tst_qstring - unknown status
  • tst_qstringref - unknown status
  • tst_qvariant - unknown status
29
481 }
executed 6 times by 6 tests: end of block
Executed by:
  • tst_qdoublespinbox - unknown status
  • tst_qitemdelegate - unknown status
  • tst_qsqldatabase - unknown status
  • tst_qstring - unknown status
  • tst_qstringref - unknown status
  • tst_qvariant - unknown status
6
482};-
483-
484static Bigint *pow5mult(Bigint *b, int k)-
485{-
486 Bigint *b1, *p5, *p51;-
487 int i;-
488 static const int p05[3] = { 5, 25, 125 };-
489-
490 if ((
(i = k & 3) != 0Description
TRUEevaluated 1494 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 395 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QVariant
i = k & 3) != 0
(i = k & 3) != 0Description
TRUEevaluated 1494 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 395 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QVariant
)
395-1494
491 b = multadd(b, p05[i-1], 0);
executed 1494 times by 6 tests: b = multadd(b, p05[i-1], 0);
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
1494
492-
493 if (!(k >>= 2)
!(k >>= 2)Description
TRUEevaluated 621 times by 5 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 1268 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
621-1268
494 return
executed 621 times by 5 tests: return b;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
b;
executed 621 times by 5 tests: return b;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
621
495 if (!(p5 = p5s)
!(p5 = p5s)Description
TRUEevaluated 6 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 1262 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
6-1262
496-
497 static p5s_deleter deleter;-
498 p5 = p5s = i2b(625);-
499 p5->next = 0;-
500 }
executed 6 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
6
501 for(;;) {-
502 if (k & 1
k & 1Description
TRUEevaluated 2920 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 2354 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
2354-2920
503 b1 = mult(b, p5);-
504 Bfree(b);-
505 b = b1;-
506 }
executed 2920 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
2920
507 if (!(k >>= 1)
!(k >>= 1)Description
TRUEevaluated 1268 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 4006 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
1268-4006
508 break;
executed 1268 times by 6 tests: break;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
1268
509 if (!(p51 = p5->next)
!(p51 = p5->next)Description
TRUEevaluated 23 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 3983 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
23-3983
510 p51 = p5->next = mult(p5,p5);-
511 p51->next = 0;-
512 }
executed 23 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
23
513 p5 = p51;-
514 }
executed 4006 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
4006
515 return
executed 1268 times by 6 tests: return b;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
b;
executed 1268 times by 6 tests: return b;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
1268
516}-
517-
518static Bigint *lshift(Bigint *b, int k)-
519{-
520 int i, k1, n, n1;-
521 Bigint *b1;-
522 quint32 *x, *x1, *xe, z;-
523-
524-
525 n = k >> 5;-
526-
527-
528-
529 k1 = b->k;-
530 n1 = n + b->wds + 1;-
531 for(i = b->maxwds; n1 > i
n1 > iDescription
TRUEevaluated 5446 times by 11 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 7021 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
; i <<= 1)
5446-7021
532 k1++;
executed 5446 times by 11 tests: k1++;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
5446
533 b1 = Balloc(k1);-
534 x1 = b1->x;-
535 for(i = 0; i < n
i < nDescription
TRUEevaluated 13623 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 7021 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
; i++)
7021-13623
536 *
executed 13623 times by 9 tests: *x1++ = 0;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
x1++ = 0;
executed 13623 times by 9 tests: *x1++ = 0;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
13623
537 x = b->x;-
538 xe = x + b->wds;-
539-
540 if (k &= 0x1f
k &= 0x1fDescription
TRUEevaluated 7012 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
) {
9-7012
541 k1 = 32 - k;-
542 z = 0;-
543 do {-
544 *x1++ = *x << k | z;-
545 z = *x++ >> k1;-
546 }
executed 26550 times by 13 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
26550
547 while(x < xe
x < xeDescription
TRUEevaluated 19538 times by 11 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 7012 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
);
7012-19538
548 if ((*
(*x1 = z) != 0Description
TRUEevaluated 112 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
FALSEevaluated 6900 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
x1 = z) != 0
(*x1 = z) != 0Description
TRUEevaluated 112 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
FALSEevaluated 6900 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
)
112-6900
549 ++
executed 112 times by 3 tests: ++n1;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
n1;
executed 112 times by 3 tests: ++n1;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
112
550 }
executed 7012 times by 13 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
7012
551 else do-
552 *
executed 26 times by 1 test: *x1++ = *x++;
Executed by:
  • tst_QDoubleSpinBox
x1++ = *x++;
executed 26 times by 1 test: *x1++ = *x++;
Executed by:
  • tst_QDoubleSpinBox
26
553 while(x < xe
x < xeDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
);
9-17
554 b1->wds = n1 - 1;-
555 Bfree(b);-
556 return
executed 7021 times by 13 tests: return b1;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
b1;
executed 7021 times by 13 tests: return b1;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
7021
557}-
558-
559static int cmp(Bigint *a, Bigint *b)-
560{-
561 quint32 *xa, *xa0, *xb, *xb0;-
562 int i, j;-
563-
564 i = a->wds;-
565 j = b->wds;-
566-
567-
568-
569-
570-
571-
572 if (i -= j
i -= jDescription
TRUEevaluated 546 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 124493 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
)
546-124493
573 return
executed 546 times by 6 tests: return i;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
i;
executed 546 times by 6 tests: return i;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
546
574 xa0 = a->x;-
575 xa = xa0 + j;-
576 xb0 = b->x;-
577 xb = xb0 + j;-
578 for(;;) {-
579 if (*--
*--xa != *--xbDescription
TRUEevaluated 123906 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 4232 times by 10 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
xa != *--xb
*--xa != *--xbDescription
TRUEevaluated 123906 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 4232 times by 10 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
)
4232-123906
580 return
executed 123906 times by 13 tests: return *xa < *xb ? -1 : 1;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
*
*xa < *xbDescription
TRUEevaluated 121740 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 2166 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
xa < *xb
*xa < *xbDescription
TRUEevaluated 121740 times by 13 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 2166 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
? -1 : 1;
executed 123906 times by 13 tests: return *xa < *xb ? -1 : 1;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2166-123906
581 if (xa <= xa0
xa <= xa0Description
TRUEevaluated 587 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 3645 times by 8 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
)
587-3645
582 break;
executed 587 times by 6 tests: break;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
587
583 }
executed 3645 times by 8 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
3645
584 return
executed 587 times by 6 tests: return 0;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
0;
executed 587 times by 6 tests: return 0;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
587
585}-
586-
587static Bigint *diff(Bigint *a, Bigint *b)-
588{-
589 Bigint *c;-
590 int i, wa, wb;-
591 qint32 borrow, y;-
592 quint32 *xa, *xae, *xb, *xbe, *xc;-
593-
594 qint32 z;-
595-
596-
597 i = cmp(a,b);-
598 if (!i
!iDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
4-161
599 c = Balloc(0);-
600 c->wds = 1;-
601 c->x[0] = 0;-
602 return
executed 4 times by 2 tests: return c;
Executed by:
  • tst_QString
  • tst_QStringRef
c;
executed 4 times by 2 tests: return c;
Executed by:
  • tst_QString
  • tst_QStringRef
4
603 }-
604 if (i < 0
i < 0Description
TRUEevaluated 151 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
) {
10-151
605 c = a;-
606 a = b;-
607 b = c;-
608 i = 1;-
609 }
executed 151 times by 7 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
151
610 else-
611 i = 0;
executed 10 times by 1 test: i = 0;
Executed by:
  • tst_QDoubleSpinBox
10
612 c = Balloc(a->k);-
613 c->sign = i;-
614 wa = a->wds;-
615 xa = a->x;-
616 xae = xa + wa;-
617 wb = b->wds;-
618 xb = b->x;-
619 xbe = xb + wb;-
620 xc = c->x;-
621 borrow = 0;-
622-
623 do {-
624 y = (*xa & 0xffff) - (*xb & 0xffff) + borrow;-
625 borrow = y >> 16;-
626 ;-
627 z = (*xa++ >> 16) - (*xb++ >> 16) + borrow;-
628 borrow = z >> 16;-
629 ;-
630 Storeinc(xc, z, y);-
631 }
executed 2249 times by 7 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
2249
632 while(xb < xbe
xb < xbeDescription
TRUEevaluated 2088 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
);
161-2088
633 while(xa < xae
xa < xaeDescription
TRUEnever evaluated
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
0-161
634 y = (*xa & 0xffff) + borrow;-
635 borrow = y >> 16;-
636 ;-
637 z = (*xa++ >> 16) + borrow;-
638 borrow = z >> 16;-
639 ;-
640 Storeinc(xc, z, y);-
641 }
never executed: end of block
0
642 while(!*--xc
!*--xcDescription
TRUEevaluated 238 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
161-238
643 wa--;
executed 238 times by 7 tests: wa--;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
238
644 c->wds = wa;-
645 return
executed 161 times by 7 tests: return c;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
c;
executed 161 times by 7 tests: return c;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
161
646}-
647-
648static double ulp(double x)-
649{-
650 qint32 L;-
651 double a;-
652-
653 L = (getWord0(x) & 0x7ff00000) - (53 -1)*0x100000;-
654-
655 if (L > 0
L > 0Description
TRUEevaluated 141 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
) {
0-141
656-
657-
658-
659-
660 setWord0(&a, L);-
661 setWord1(&a, 0);-
662-
663 }
executed 141 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
141
664 else {-
665 L = -L >> 20;-
666 if (L < 20
L < 20Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
667 setWord0(&a, 0x80000 >> L);-
668 setWord1(&a, 0);-
669 }
never executed: end of block
0
670 else {-
671 setWord0(&a, 0);-
672 L -= 20;-
673 setWord1(&a, L >= 31 ? 1U : 1U << (31 - L));-
674 }
never executed: end of block
0
675 }-
676-
677 return
executed 141 times by 6 tests: return a;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
a;
executed 141 times by 6 tests: return a;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
141
678}-
679-
680static double b2d(Bigint *a, int *e)-
681{-
682 quint32 *xa, *xa0, w, y, z;-
683 int k;-
684 double d;-
685-
686 xa0 = a->x;-
687 xa = xa0 + a->wds;-
688 y = *--xa;-
689-
690-
691-
692 k = hi0bits(y);-
693 *e = 32 - k;-
694-
695 if (k < 11
k < 11Description
TRUEevaluated 62 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
FALSEevaluated 220 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
62-220
696 setWord0(&d, 0x3ff00000 | y >> (11 - k));-
697 w = xa > xa0
xa > xa0Description
TRUEevaluated 62 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
? *--xa : 0;
0-62
698 setWord1(&d, y << ((32-11) + k) | w >> (11 - k));-
699 goto
executed 62 times by 3 tests: goto ret_d;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
ret_d;
executed 62 times by 3 tests: goto ret_d;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
62
700 }-
701 z = xa > xa0
xa > xa0Description
TRUEevaluated 218 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleValidator
? *--xa : 0;
2-218
702 if (k -= 11
k -= 11Description
TRUEevaluated 214 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 6 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
) {
6-214
703 setWord0(&d, 0x3ff00000 | y << k | z >> (32 - k));-
704 y = xa > xa0
xa > xa0Description
TRUEevaluated 159 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 55 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QVariant
? *--xa : 0;
55-159
705 setWord1(&d, z << k | y >> (32 - k));-
706 }
executed 214 times by 6 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
214
707 else {-
708 setWord0(&d, 0x3ff00000 | y);-
709 setWord1(&d, z);-
710 }
executed 6 times by 3 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
6
711 ret_d:
code before this statement executed 220 times by 6 tests: ret_d:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
220
712 return
executed 282 times by 6 tests: return d;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
d;
executed 282 times by 6 tests: return d;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
282
713}-
714-
715static Bigint *d2b(double d, int *e, int *bits)-
716{-
717 Bigint *b;-
718 int de, i, k;-
719 quint32 *x, y, z;-
720-
721-
722 b = Balloc(1);-
723-
724-
725-
726 x = b->x;-
727-
728 z = getWord0(d) & 0xfffff;-
729 setWord0(&d, getWord0(d) & 0x7fffffff);-
730-
731-
732-
733-
734-
735-
736 if ((
(de = int(getW...) >> 20)) != 0Description
TRUEevaluated 71593 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
FALSEnever evaluated
de = int(getWord0(d) >> 20)) != 0
(de = int(getW...) >> 20)) != 0Description
TRUEevaluated 71593 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
FALSEnever evaluated
)
0-71593
737 z |= 0x100000;
executed 71593 times by 55 tests: z |= 0x100000;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
71593
738-
739-
740 if ((
(y = getWord1(d)) != 0Description
TRUEevaluated 44973 times by 31 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • ...
FALSEevaluated 26620 times by 46 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
y = getWord1(d)) != 0
(y = getWord1(d)) != 0Description
TRUEevaluated 44973 times by 31 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • ...
FALSEevaluated 26620 times by 46 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
) {
26620-44973
741 if ((
(k = lo0bits(&y)) != 0Description
TRUEevaluated 39794 times by 26 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • ...
FALSEevaluated 5179 times by 18 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
  • tst_QVariant
k = lo0bits(&y)) != 0
(k = lo0bits(&y)) != 0Description
TRUEevaluated 39794 times by 26 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • ...
FALSEevaluated 5179 times by 18 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
  • tst_QVariant
) {
5179-39794
742 x[0] = y | z << (32 - k);-
743 z >>= k;-
744 }
executed 39794 times by 26 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • ...
39794
745 else-
746 x[0] = y;
executed 5179 times by 18 tests: x[0] = y;
Executed by:
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextStream
  • tst_QVariant
5179
747 i = b->wds = (
(x[1] = z)Description
TRUEevaluated 7980 times by 26 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • ...
FALSEevaluated 36993 times by 13 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QHttpSocketEngine
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
  • tst_QVariant
x[1] = z)
(x[1] = z)Description
TRUEevaluated 7980 times by 26 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
  • ...
FALSEevaluated 36993 times by 13 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QHttpSocketEngine
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
  • tst_QVariant
? 2 : 1;
7980-36993
748 }
executed 44973 times by 31 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • ...
44973
749 else {-
750-
751-
752-
753-
754 k = lo0bits(&z);-
755 x[0] = z;-
756 i = b->wds = 1;-
757 k += 32;-
758 }
executed 26620 times by 46 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
26620
759 if (de
deDescription
TRUEevaluated 71593 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
FALSEnever evaluated
) {
0-71593
760-
761-
762-
763-
764-
765 *e = de - 1023 - (53 -1) + k;-
766 *bits = 53 - k;-
767-
768-
769 }
executed 71593 times by 55 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
71593
770 else {-
771 *e = de - 1023 - (53 -1) + 1 + k;-
772-
773 *bits = 32*i - hi0bits(x[i-1]);-
774-
775-
776-
777 }
never executed: end of block
0
778-
779 return
executed 71593 times by 55 tests: return b;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
b;
executed 71593 times by 55 tests: return b;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
71593
780}-
781-
782static double ratio(Bigint *a, Bigint *b)-
783{-
784 double da, db;-
785 int k, ka, kb;-
786-
787 da = b2d(a, &ka);-
788 db = b2d(b, &kb);-
789-
790 k = ka - kb + 32*(a->wds - b->wds);-
791 if (k > 0
k > 0Description
TRUEevaluated 133 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
)
8-133
792 setWord0(&da, getWord0(da) + k*0x100000);
executed 133 times by 6 tests: setWord0(&da, getWord0(da) + k*0x100000);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
133
793 else {-
794 k = -k;-
795 setWord0(&db, getWord0(db) + k*0x100000);-
796 }
executed 8 times by 2 tests: end of block
Executed by:
  • tst_QString
  • tst_QStringRef
8
797-
798 return
executed 141 times by 6 tests: return da / db;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
da / db;
executed 141 times by 6 tests: return da / db;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
141
799}-
800-
801static const double tens[] = {-
802 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,-
803 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,-
804 1e20, 1e21, 1e22-
805-
806-
807-
808};-
809-
810-
811static const double bigtens[] = { 1e16, 1e32, 1e64, 1e128, 1e256 };-
812static const double tinytens[] = { 1e-16, 1e-32, 1e-64, 1e-128, 1e-256 };-
813static double g_double_zero = 0.0;-
814-
815__attribute__((visibility("default"))) double qstrtod(const char *s00, const char **se, bool *ok)-
816{-
817 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,-
818 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign;-
819 const char *s, *s0, *s1;-
820 double aadj, aadj1, adj, rv, rv0;-
821 qint32 L;-
822 quint32 y, z;-
823 Bigint *bb1, *bd0;-
824 Bigint *bb = __null, *bd = __null, *bs = __null, *delta = __null;-
825-
826-
827-
828-
829-
830-
831-
832 if (ok != 0
ok != 0Description
TRUEevaluated 4123 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
FALSEnever evaluated
)
0-4123
833 *
executed 4123 times by 28 tests: *ok = true;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
ok = true;
executed 4123 times by 28 tests: *ok = true;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
4123
834-
835 const char decimal_point = '.';-
836-
837 sign = nz0 = nz = 0;-
838 rv = 0.;-
839-
840-
841 for(s = s00; ascii_isspace(uchar(*s))
ascii_isspace(uchar(*s))Description
TRUEnever evaluated
FALSEevaluated 4123 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
; s++)
0-4123
842 ;
never executed: ;
0
843-
844 if (*
*s == '-'Description
TRUEevaluated 403 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 3720 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
s == '-'
*s == '-'Description
TRUEevaluated 403 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 3720 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
) {
403-3720
845 sign = 1;-
846 s++;-
847 }
executed 403 times by 9 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
else if (*
*s == '+'Description
TRUEevaluated 7 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QString
FALSEevaluated 3713 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
s == '+'
*s == '+'Description
TRUEevaluated 7 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QString
FALSEevaluated 3713 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
) {
7-3713
848 s++;-
849 }
executed 7 times by 3 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QString
7
850-
851 if (*
*s == '\0'Description
TRUEevaluated 10 times by 3 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
FALSEevaluated 4113 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
s == '\0'
*s == '\0'Description
TRUEevaluated 10 times by 3 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
FALSEevaluated 4113 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
) {
10-4113
852 s = s00;-
853 goto
executed 10 times by 3 tests: goto ret;
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
ret;
executed 10 times by 3 tests: goto ret;
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
10
854 }-
855-
856 if (*
*s == '0'Description
TRUEevaluated 1428 times by 20 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
FALSEevaluated 2685 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
s == '0'
*s == '0'Description
TRUEevaluated 1428 times by 20 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
FALSEevaluated 2685 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
) {
1428-2685
857 nz0 = 1;-
858 while(*++
*++s == '0'Description
TRUEevaluated 81 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
FALSEevaluated 1428 times by 20 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
s == '0'
*++s == '0'Description
TRUEevaluated 81 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
FALSEevaluated 1428 times by 20 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
) ;
executed 81 times by 2 tests: ;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
81-1428
859 if (!*s
!*sDescription
TRUEevaluated 671 times by 15 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
FALSEevaluated 757 times by 10 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
)
671-757
860 goto
executed 671 times by 15 tests: goto ret;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
ret;
executed 671 times by 15 tests: goto ret;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_Selftests
671
861 }
executed 757 times by 10 tests: end of block
Executed by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
757
862 s0 = s;-
863 y = z = 0;-
864 for(nd = nf = 0; (
(c = *s) >= '0'Description
TRUEevaluated 23304 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
FALSEevaluated 3122 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
c = *s) >= '0'
(c = *s) >= '0'Description
TRUEevaluated 23304 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
FALSEevaluated 3122 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
&& c <= '9'
c <= '9'Description
TRUEevaluated 22984 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
FALSEevaluated 320 times by 10 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
  • tst_QVariant
; nd++, s++)
320-23304
865 if (nd < 9
nd < 9Description
TRUEevaluated 5535 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
FALSEevaluated 17449 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
)
5535-17449
866 y = 10*y + c - '0';
executed 5535 times by 26 tests: y = 10*y + c - '0';
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
5535
867 else if (nd < 16
nd < 16Description
TRUEevaluated 428 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
FALSEevaluated 17021 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
)
428-17021
868 z = 10*z + c - '0';
executed 428 times by 4 tests: z = 10*z + c - '0';
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
428
869 nd0 = nd;-
870 if (c == decimal_point
c == decimal_pointDescription
TRUEevaluated 1664 times by 17 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
FALSEevaluated 1778 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
) {
1664-1778
871 c = *++s;-
872 if (!nd
!ndDescription
TRUEevaluated 775 times by 10 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
FALSEevaluated 889 times by 15 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
) {
775-889
873 for(; c == '0'
c == '0'Description
TRUEevaluated 2853 times by 9 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
FALSEevaluated 775 times by 10 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
; c = *++s)
775-2853
874 nz++;
executed 2853 times by 9 tests: nz++;
Executed by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
2853
875 if (c > '0'
c > '0'Description
TRUEevaluated 249 times by 8 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
FALSEevaluated 526 times by 9 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
&& c <= '9'
c <= '9'Description
TRUEevaluated 249 times by 8 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
) {
0-526
876 s0 = s;-
877 nf += nz;-
878 nz = 0;-
879 goto
executed 249 times by 8 tests: goto have_dig;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
have_dig;
executed 249 times by 8 tests: goto have_dig;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
249
880 }-
881 goto
executed 526 times by 9 tests: goto dig_done;
Executed by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
dig_done;
executed 526 times by 9 tests: goto dig_done;
Executed by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
526
882 }-
883 for(; c >= '0'
c >= '0'Description
TRUEevaluated 6379 times by 15 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
FALSEevaluated 1110 times by 16 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
&& c <= '9'
c <= '9'Description
TRUEevaluated 6351 times by 15 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
FALSEevaluated 28 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
; c = *++s) {
28-6379
884 have_dig:-
885 nz++;-
886 if (c -= '0'
c -= '0'Description
TRUEevaluated 3141 times by 13 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
FALSEevaluated 3459 times by 13 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
) {
3141-3459
887 nf += nz;-
888 for(i = 1; i < nz
i < nzDescription
TRUEevaluated 174 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 3141 times by 13 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
; i++)
174-3141
889 if (nd++ < 9
nd++ < 9Description
TRUEevaluated 115 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 59 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QVariant
)
59-115
890 y *= 10;
executed 115 times by 6 tests: y *= 10;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
115
891 else if (nd <= 15 + 1
nd <= 15 + 1Description
TRUEevaluated 29 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QVariant
FALSEevaluated 30 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
)
29-30
892 z *= 10;
executed 29 times by 3 tests: z *= 10;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QVariant
29
893 if (nd++ < 9
nd++ < 9Description
TRUEevaluated 1733 times by 12 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
FALSEevaluated 1408 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
1408-1733
894 y = 10*y + c;
executed 1733 times by 12 tests: y = 10*y + c;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
1733
895 else if (nd <= 15 + 1
nd <= 15 + 1Description
TRUEevaluated 710 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 698 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
698-710
896 z = 10*z + c;
executed 710 times by 4 tests: z = 10*z + c;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
710
897 nz = 0;-
898 }
executed 3141 times by 13 tests: end of block
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
3141
899 }
executed 6600 times by 16 tests: end of block
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
6600
900 }
executed 1138 times by 16 tests: end of block
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
  • tst_Selftests
1138
901 dig_done:
code before this statement executed 2916 times by 28 tests: dig_done:
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
2916
902 e = 0;-
903 if (c == 'e'
c == 'e'Description
TRUEevaluated 112 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 3330 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
|| c == 'E'
c == 'E'Description
TRUEnever evaluated
FALSEevaluated 3330 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
) {
0-3330
904 if (!nd
!ndDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_QDoubleValidator
FALSEevaluated 92 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
&& !nz
!nzDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_QDoubleValidator
FALSEnever evaluated
&& !nz0
!nz0Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_QDoubleValidator
FALSEnever evaluated
) {
0-92
905 s = s00;-
906 goto
executed 20 times by 1 test: goto ret;
Executed by:
  • tst_QDoubleValidator
ret;
executed 20 times by 1 test: goto ret;
Executed by:
  • tst_QDoubleValidator
20
907 }-
908 s00 = s;-
909 esign = 0;-
910 switch(c = *++s) {-
911 case
executed 26 times by 4 tests: case '-':
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
'-':
executed 26 times by 4 tests: case '-':
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
26
912 esign = 1;-
913 case
executed 68 times by 4 tests: case '+':
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
'+':
executed 68 times by 4 tests: case '+':
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
code before this statement executed 26 times by 4 tests: case '+':
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
26-68
914 c = *++s;-
915 }
executed 68 times by 4 tests: end of block
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
68
916 if (c >= '0'
c >= '0'Description
TRUEevaluated 70 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 22 times by 3 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
&& c <= '9'
c <= '9'Description
TRUEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
) {
2-70
917 while(c == '0'
c == '0'Description
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
)
12-68
918 c = *++s;
executed 12 times by 3 tests: c = *++s;
Executed by:
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
12
919 if (c > '0'
c > '0'Description
TRUEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEnever evaluated
&& c <= '9'
c <= '9'Description
TRUEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEnever evaluated
) {
0-68
920 L = c - '0';-
921 s1 = s;-
922 while((
(c = *++s) >= '0'Description
TRUEevaluated 38 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
c = *++s) >= '0'
(c = *++s) >= '0'Description
TRUEevaluated 38 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
&& c <= '9'
c <= '9'Description
TRUEevaluated 38 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
)
0-68
923 L = 10*L + c - '0';
executed 38 times by 2 tests: L = 10*L + c - '0';
Executed by:
  • tst_QString
  • tst_QStringRef
38
924 if (s - s1 > 8
s - s1 > 8Description
TRUEnever evaluated
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
|| L > 19999
L > 19999Description
TRUEnever evaluated
FALSEevaluated 68 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
)
0-68
925-
926-
927-
928 e = 19999;
never executed: e = 19999;
0
929 else-
930 e = int(L);
executed 68 times by 4 tests: e = int(L);
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
68
931 if (esign
esignDescription
TRUEevaluated 20 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 48 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
)
20-48
932 e = -e;
executed 20 times by 4 tests: e = -e;
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
20
933 }
executed 68 times by 4 tests: end of block
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
68
934 else-
935 e = 0;
never executed: e = 0;
0
936 }-
937 else-
938 s = s00;
executed 24 times by 3 tests: s = s00;
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
24
939 }-
940 if (!nd
!ndDescription
TRUEevaluated 758 times by 13 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 2664 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
) {
758-2664
941 if (!nz
!nzDescription
TRUEevaluated 291 times by 9 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 467 times by 7 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QSpinBox
&& !nz0
!nz0Description
TRUEevaluated 236 times by 9 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 55 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QInputDialog
  • tst_QString
  • tst_QStringRef
)
55-467
942 s = s00;
executed 236 times by 9 tests: s = s00;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
236
943 goto
executed 758 times by 13 tests: goto ret;
Executed by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
ret;
executed 758 times by 13 tests: goto ret;
Executed by:
  • tst_QAccessibility
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
758
944 }-
945 e1 = e -= nf;-
946-
947-
948-
949-
950-
951-
952 if (!nd0
!nd0Description
TRUEevaluated 249 times by 8 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
FALSEevaluated 2415 times by 26 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • ...
)
249-2415
953 nd0 = nd;
executed 249 times by 8 tests: nd0 = nd;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
249
954 k = nd < 15 + 1
nd < 15 + 1Description
TRUEevaluated 2503 times by 25 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
? nd : 15 + 1;
161-2503
955 rv = y;-
956 if (k > 9
k > 9Description
TRUEevaluated 172 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 2492 times by 25 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
)
172-2492
957 rv = tens[k - 9] * rv + z;
executed 172 times by 7 tests: rv = tens[k - 9] * rv + z;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
172
958-
959 bd0 = 0;-
960 if (nd <= 15
nd <= 15Description
TRUEevaluated 2503 times by 25 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
FALSEevaluated 161 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
161-2503
961-
962 && 1 == 1
1 == 1Description
TRUEevaluated 2503 times by 25 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
FALSEnever evaluated
0-2503
963-
964 ) {-
965 if (!e
!eDescription
TRUEevaluated 2002 times by 24 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
FALSEevaluated 501 times by 12 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
)
501-2002
966 goto
executed 2002 times by 24 tests: goto ret;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
ret;
executed 2002 times by 24 tests: goto ret;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • tst_QVariant
  • tst_QWidget
  • tst_Selftests
2002
967 if (e > 0
e > 0Description
TRUEevaluated 32 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 469 times by 12 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
) {
32-469
968 if (e <= 22
e <= 22Description
TRUEevaluated 32 times by 4 tests
Evaluated by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEnever evaluated
) {
0-32
969-
970-
971-
972 rv *= tens[e];-
973 goto
executed 32 times by 4 tests: goto ret;
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
ret;
executed 32 times by 4 tests: goto ret;
Executed by:
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
32
974-
975 }-
976 i = 15 - nd;-
977 if (e <= 22 + i
e <= 22 + iDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
978-
979-
980-
981 e -= i;-
982 rv *= tens[i];-
983 rv *= tens[e];-
984-
985 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
986 }-
987 }
never executed: end of block
0
988-
989 else if (e >= -22
e >= -22Description
TRUEevaluated 469 times by 12 tests
Evaluated by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
FALSEnever evaluated
) {
0-469
990 rv /= tens[-e];-
991 goto
executed 469 times by 12 tests: goto ret;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
ret;
executed 469 times by 12 tests: goto ret;
Executed by:
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextStream
  • tst_QVariant
469
992 }-
993-
994 }
never executed: end of block
0
995 e1 += nd - k;-
996-
997-
998-
999 if (e1 > 0
e1 > 0Description
TRUEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 89 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
72-89
1000 if ((
(i = e1 & 15) != 0Description
TRUEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
i = e1 & 15) != 0
(i = e1 & 15) != 0Description
TRUEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
)
0-72
1001 rv *= tens[i];
executed 72 times by 5 tests: rv *= tens[i];
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
72
1002 if (e1 &= ~15
e1 &= ~15Description
TRUEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_QDoubleValidator
) {
1-71
1003 if (e1 > 308
e1 > 308Description
TRUEnever evaluated
FALSEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
0-71
1004 ovfl:-
1005-
1006 if (ok != 0
ok != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1007 *
never executed: *ok = false;
ok = false;
never executed: *ok = false;
0
1008-
1009 rv = (__builtin_huge_val());-
1010 if (bd0
bd0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1011 goto
never executed: goto retfree;
retfree;
never executed: goto retfree;
0
1012 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1013 }-
1014 if (e1 >>= 4
e1 >>= 4Description
TRUEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
) {
0-71
1015 for(j = 0; e1 > 1
e1 > 1Description
TRUEevaluated 232 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
FALSEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
; j++, e1 >>= 1)
71-232
1016 if (e1 & 1
e1 & 1Description
TRUEevaluated 58 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
FALSEevaluated 174 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
)
58-174
1017 rv *= bigtens[j];
executed 58 times by 2 tests: rv *= bigtens[j];
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
58
1018-
1019 setWord0(&rv, getWord0(rv) - 53*0x100000);-
1020 rv *= bigtens[j];-
1021 if ((
(z = getWord0(...024 +1023 -53)Description
TRUEnever evaluated
FALSEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
z = getWord0(rv) & 0x7ff00000)
(z = getWord0(...024 +1023 -53)Description
TRUEnever evaluated
FALSEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
0-71
1022 > 0x100000*(1024 +1023 -53)
(z = getWord0(...024 +1023 -53)Description
TRUEnever evaluated
FALSEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
)
0-71
1023 goto
never executed: goto ovfl;
ovfl;
never executed: goto ovfl;
0
1024 if (z > 0x100000*(1024 +1023 -1-53)
z > 0x100000*(...4 +1023 -1-53)Description
TRUEnever evaluated
FALSEevaluated 71 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
0-71
1025-
1026-
1027 setWord0(&rv, (0xfffff | 0x100000*(1024 +1023 -1)));-
1028 setWord1(&rv, 0xffffffff);-
1029 }
never executed: end of block
0
1030 else-
1031 setWord0(&rv, getWord0(rv) + 53*0x100000);
executed 71 times by 4 tests: setWord0(&rv, getWord0(rv) + 53*0x100000);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
71
1032 }-
1033-
1034 }
executed 71 times by 4 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
71
1035 }
executed 72 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
72
1036 else if (e1 < 0
e1 < 0Description
TRUEevaluated 89 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
) {
0-89
1037 e1 = -e1;-
1038 if ((
(i = e1 & 15) != 0Description
TRUEevaluated 27 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 62 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
i = e1 & 15) != 0
(i = e1 & 15) != 0Description
TRUEevaluated 27 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 62 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
)
27-62
1039 rv /= tens[i];
executed 27 times by 5 tests: rv /= tens[i];
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
27
1040 if (e1 &= ~15
e1 &= ~15Description
TRUEevaluated 66 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
FALSEevaluated 23 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QVariant
) {
23-66
1041 e1 >>= 4;-
1042 if (e1 >= 1 << 5
e1 >= 1 << 5Description
TRUEnever evaluated
FALSEevaluated 66 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
)
0-66
1043 goto
never executed: goto undfl;
undfl;
never executed: goto undfl;
0
1044 for(j = 0; e1 > 1
e1 > 1Description
TRUEnever evaluated
FALSEevaluated 66 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
; j++, e1 >>= 1)
0-66
1045 if (e1 & 1
e1 & 1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1046 rv *= tinytens[j];
never executed: rv *= tinytens[j];
0
1047-
1048 rv0 = rv;-
1049 rv *= tinytens[j];-
1050 if (rv == g_double_zero
rv == g_double_zeroDescription
TRUEnever evaluated
FALSEevaluated 66 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
)
0-66
1051 {-
1052 rv = 2.*rv0;-
1053 rv *= tinytens[j];-
1054 if (rv == g_double_zero
rv == g_double_zeroDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1055 {-
1056 undfl:-
1057 rv = 0.;-
1058-
1059 if (ok != 0
ok != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1060 *
never executed: *ok = false;
ok = false;
never executed: *ok = false;
0
1061 if (bd0
bd0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1062 goto
never executed: goto retfree;
retfree;
never executed: goto retfree;
0
1063 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1064 }-
1065 setWord0(&rv, 0);-
1066 setWord1(&rv, 1);-
1067-
1068-
1069-
1070 }
never executed: end of block
0
1071 }
executed 66 times by 3 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
66
1072 }
executed 89 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
89
1073-
1074-
1075-
1076-
1077-
1078 bd0 = s2b(s0, nd0, nd, y);-
1079-
1080 for(;;) {-
1081 bd = Balloc(bd0->k);-
1082 memcpy(reinterpret_cast<char *>(&bd->sign), reinterpret_cast<char *>(&bd0->sign), bd0->wds*sizeof(qint32) + 2*sizeof(int));-
1083 bb = d2b(rv, &bbe, &bbbits);-
1084 bs = i2b(1);-
1085-
1086 if (e >= 0
e >= 0Description
TRUEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 93 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
72-93
1087 bb2 = bb5 = 0;-
1088 bd2 = bd5 = e;-
1089 }
executed 72 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
72
1090 else {-
1091 bb2 = bb5 = -e;-
1092 bd2 = bd5 = 0;-
1093 }
executed 93 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
93
1094 if (bbe >= 0
bbe >= 0Description
TRUEevaluated 76 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 89 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
76-89
1095 bb2 += bbe;
executed 76 times by 7 tests: bb2 += bbe;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
76
1096 else-
1097 bd2 -= bbe;
executed 89 times by 4 tests: bd2 -= bbe;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
89
1098 bs2 = bb2;-
1099-
1100-
1101-
1102-
1103-
1104-
1105-
1106 i = bbe + bbbits - 1;-
1107 if (i < (-1022)
i < (-1022)Description
TRUEnever evaluated
FALSEevaluated 165 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
0-165
1108 j = bbe + (53 -(-1022));
never executed: j = bbe + (53 -(-1022));
0
1109 else-
1110 j = 53 + 1 - bbbits;
executed 165 times by 7 tests: j = 53 + 1 - bbbits;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
165
1111-
1112 bb2 += j;-
1113 bd2 += j;-
1114 i = bb2 < bd2
bb2 < bd2Description
TRUEevaluated 85 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 80 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
? bb2 : bd2;
80-85
1115 if (i > bs2
i > bs2Description
TRUEevaluated 93 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
)
72-93
1116 i = bs2;
executed 93 times by 5 tests: i = bs2;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
93
1117 if (i > 0
i > 0Description
TRUEevaluated 165 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
) {
0-165
1118 bb2 -= i;-
1119 bd2 -= i;-
1120 bs2 -= i;-
1121 }
executed 165 times by 7 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
165
1122 if (bb5 > 0
bb5 > 0Description
TRUEevaluated 93 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
72-93
1123 bs = pow5mult(bs, bb5);-
1124 bb1 = mult(bs, bb);-
1125 Bfree(bb);-
1126 bb = bb1;-
1127 }
executed 93 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
93
1128 if (bb2 > 0
bb2 > 0Description
TRUEevaluated 165 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
)
0-165
1129 bb = lshift(bb, bb2);
executed 165 times by 7 tests: bb = lshift(bb, bb2);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
165
1130 if (bd5 > 0
bd5 > 0Description
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
FALSEevaluated 153 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
12-153
1131 bd = pow5mult(bd, bd5);
executed 12 times by 2 tests: bd = pow5mult(bd, bd5);
Executed by:
  • tst_QString
  • tst_QStringRef
12
1132 if (bd2 > 0
bd2 > 0Description
TRUEevaluated 93 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
)
72-93
1133 bd = lshift(bd, bd2);
executed 93 times by 5 tests: bd = lshift(bd, bd2);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
93
1134 if (bs2 > 0
bs2 > 0Description
TRUEevaluated 72 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEevaluated 93 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
)
72-93
1135 bs = lshift(bs, bs2);
executed 72 times by 5 tests: bs = lshift(bs, bs2);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
72
1136 delta = diff(bb, bd);-
1137 dsign = delta->sign;-
1138 delta->sign = 0;-
1139 i = cmp(delta, bs);-
1140 if (i < 0
i < 0Description
TRUEevaluated 24 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
FALSEevaluated 141 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
24-141
1141-
1142-
1143-
1144 if (dsign
dsignDescription
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
FALSEevaluated 14 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
|| getWord1(rv)
getWord1(rv)Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEevaluated 5 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
|| getWord0(rv) & 0xfffff
getWord0(rv) & 0xfffffDescription
TRUEnever evaluated
FALSEevaluated 5 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
)
0-14
1145 break;
executed 19 times by 2 tests: break;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDatabase
19
1146 delta = lshift(delta,1);-
1147 if (cmp(delta, bs) > 0
cmp(delta, bs) > 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
)
1-4
1148 goto
executed 1 time by 1 test: goto drop_down;
Executed by:
  • tst_QDoubleSpinBox
drop_down;
executed 1 time by 1 test: goto drop_down;
Executed by:
  • tst_QDoubleSpinBox
1
1149 break;
executed 4 times by 2 tests: break;
Executed by:
  • tst_QString
  • tst_QStringRef
4
1150 }-
1151 if (i == 0
i == 0Description
TRUEnever evaluated
FALSEevaluated 141 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
0-141
1152-
1153 if (dsign
dsignDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1154 if ((
(getWord0(rv) ...ff) == 0xfffffDescription
TRUEnever evaluated
FALSEnever evaluated
getWord0(rv) & 0xfffff) == 0xfffff
(getWord0(rv) ...ff) == 0xfffffDescription
TRUEnever evaluated
FALSEnever evaluated
0
1155 && getWord1(rv) == 0xffffffff
getWord1(rv) == 0xffffffffDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1156-
1157 setWord0(&rv, (getWord0(rv) & 0x7ff00000)-
1158 + 0x100000-
1159-
1160-
1161-
1162 );-
1163 setWord1(&rv, 0);-
1164 break;
never executed: break;
0
1165 }-
1166 }
never executed: end of block
0
1167 else if (!(getWord0(rv) & 0xfffff)
!(getWord0(rv) & 0xfffff)Description
TRUEnever evaluated
FALSEnever evaluated
&& !getWord1(rv)
!getWord1(rv)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1168 drop_down:-
1169 L = (getWord0(rv) & 0x7ff00000) - 0x100000;-
1170-
1171 setWord0(&rv, L | 0xfffff);-
1172 setWord1(&rv, 0xffffffff);-
1173-
1174-
1175-
1176 break;
executed 1 time by 1 test: break;
Executed by:
  • tst_QDoubleSpinBox
1
1177-
1178 }-
1179-
1180 if (!(getWord1(rv) & 1)
!(getWord1(rv) & 1)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1181 break;
never executed: break;
0
1182-
1183 if (dsign
dsignDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1184 rv += ulp(rv);
never executed: rv += ulp(rv);
0
1185-
1186 else {-
1187 rv -= ulp(rv);-
1188-
1189 if (rv == g_double_zero
rv == g_double_zeroDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1190 goto
never executed: goto undfl;
undfl;
never executed: goto undfl;
0
1191-
1192 }
never executed: end of block
0
1193-
1194 break;
never executed: break;
0
1195 }-
1196 if ((
(aadj = ratio(...ta, bs)) <= 2.Description
TRUEevaluated 19 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 122 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
aadj = ratio(delta, bs)) <= 2.
(aadj = ratio(...ta, bs)) <= 2.Description
TRUEevaluated 19 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 122 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
19-122
1197 if (dsign
dsignDescription
TRUEevaluated 19 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
)
0-19
1198 aadj = aadj1 = 1.;
executed 19 times by 4 tests: aadj = aadj1 = 1.;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
19
1199 else if (getWord1(rv)
getWord1(rv)Description
TRUEnever evaluated
FALSEnever evaluated
|| getWord0(rv) & 0xfffff
getWord0(rv) & 0xfffffDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1200-
1201 if (getWord1(rv) == 1
getWord1(rv) == 1Description
TRUEnever evaluated
FALSEnever evaluated
&& !getWord0(rv)
!getWord0(rv)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1202 goto
never executed: goto undfl;
undfl;
never executed: goto undfl;
0
1203-
1204 aadj = 1.;-
1205 aadj1 = -1.;-
1206 }
never executed: end of block
0
1207 else {-
1208-
1209-
1210-
1211 if (aadj < 2./2
aadj < 2./2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1212 aadj = 1./2;
never executed: aadj = 1./2;
0
1213 else-
1214 aadj *= 0.5;
never executed: aadj *= 0.5;
0
1215 aadj1 = -aadj;-
1216 }
never executed: end of block
0
1217 }-
1218 else {-
1219 aadj *= 0.5;-
1220 aadj1 = dsign
dsignDescription
TRUEevaluated 122 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
FALSEnever evaluated
? aadj : -aadj;
0-122
1221 if (1 == 0
1 == 0Description
TRUEnever evaluated
FALSEevaluated 122 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
)
0-122
1222 aadj1 += 0.5;
never executed: aadj1 += 0.5;
0
1223-
1224 }
executed 122 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
122
1225 y = getWord0(rv) & 0x7ff00000;-
1226-
1227-
1228-
1229 if (y == 0x100000*(1024 +1023 -1)
y == 0x100000*(1024 +1023 -1)Description
TRUEevaluated 58 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
FALSEevaluated 83 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
58-83
1230 rv0 = rv;-
1231 setWord0(&rv, getWord0(rv) - 53*0x100000);-
1232 adj = aadj1 * ulp(rv);-
1233 rv += adj;-
1234 if ((
(getWord0(rv) ...024 +1023 -53)Description
TRUEnever evaluated
FALSEevaluated 58 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
getWord0(rv) & 0x7ff00000) >=
(getWord0(rv) ...024 +1023 -53)Description
TRUEnever evaluated
FALSEevaluated 58 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
0-58
1235 0x100000*(1024 +1023 -53)
(getWord0(rv) ...024 +1023 -53)Description
TRUEnever evaluated
FALSEevaluated 58 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
) {
0-58
1236 if (getWord0(rv0) == (0xfffff | 0x100000*(1024 +1023 -1))
getWord0(rv0) ...024 +1023 -1))Description
TRUEnever evaluated
FALSEnever evaluated
&& getWord1(rv0) == 0xffffffff
getWord1(rv0) == 0xffffffffDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1237 goto
never executed: goto ovfl;
ovfl;
never executed: goto ovfl;
0
1238 setWord0(&rv, (0xfffff | 0x100000*(1024 +1023 -1)));-
1239 setWord1(&rv, 0xffffffff);-
1240 goto
never executed: goto cont;
cont;
never executed: goto cont;
0
1241 }-
1242 else-
1243 setWord0(&rv, getWord0(rv) + 53*0x100000);
executed 58 times by 2 tests: setWord0(&rv, getWord0(rv) + 53*0x100000);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
58
1244 }-
1245 else {-
1246 if (y <= (53 -1)*0x100000
y <= (53 -1)*0x100000Description
TRUEnever evaluated
FALSEevaluated 83 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
&& aadj >= 1.
aadj >= 1.Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-83
1247 aadj1 = int(aadj + 0.5);-
1248 if (!dsign
!dsignDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1249 aadj1 = -aadj1;
never executed: aadj1 = -aadj1;
0
1250 }
never executed: end of block
0
1251 adj = aadj1 * ulp(rv);-
1252 rv += adj;-
1253-
1254 }
executed 83 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
83
1255 z = getWord0(rv) & 0x7ff00000;-
1256 if (y == z
y == zDescription
TRUEevaluated 137 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QStringRef
) {
4-137
1257-
1258 L = qint32(aadj);-
1259 aadj -= L;-
1260-
1261 if (dsign
dsignDescription
TRUEevaluated 137 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEnever evaluated
|| getWord1(rv)
getWord1(rv)Description
TRUEnever evaluated
FALSEnever evaluated
|| getWord0(rv) & 0xfffff
getWord0(rv) & 0xfffffDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0-137
1262 if (aadj < .4999999
aadj < .4999999Description
TRUEevaluated 125 times by 6 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
|| aadj > .5000001
aadj > .5000001Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEnever evaluated
)
0-125
1263 break;
executed 137 times by 6 tests: break;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
137
1264 }
never executed: end of block
0
1265 else if (aadj < .4999999/2
aadj < .4999999/2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1266 break;
never executed: break;
0
1267 }
never executed: end of block
0
1268 cont:
code before this statement executed 4 times by 2 tests: cont:
Executed by:
  • tst_QString
  • tst_QStringRef
4
1269 Bfree(bb);-
1270 Bfree(bd);-
1271 Bfree(bs);-
1272 Bfree(delta);-
1273 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_QString
  • tst_QStringRef
4
1274 retfree:
code before this statement executed 161 times by 7 tests: retfree:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
161
1275 Bfree(bb);-
1276 Bfree(bd);-
1277 Bfree(bs);-
1278 Bfree(bd0);-
1279 Bfree(delta);-
1280 ret:
code before this statement executed 161 times by 7 tests: ret:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QItemDelegate
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
161
1281 if (se
seDescription
TRUEevaluated 4123 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
FALSEnever evaluated
)
0-4123
1282 *
executed 4123 times by 28 tests: *se = s;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
se = s;
executed 4123 times by 28 tests: *se = s;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
4123
1283 return
executed 4123 times by 28 tests: return sign ? -rv : rv;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
sign
signDescription
TRUEevaluated 403 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextStream
FALSEevaluated 3720 times by 28 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
? -rv : rv;
executed 4123 times by 28 tests: return sign ? -rv : rv;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QDoubleValidator
  • tst_QEasingCurve
  • tst_QGraphicsProxyWidget
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QMainWindow
  • tst_QMetaType
  • tst_QObject
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QSqlDatabase
  • tst_QString
  • tst_QStringRef
  • tst_QStyleSheetStyle
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextList
  • tst_QTextStream
  • ...
403-4123
1284}-
1285-
1286static int quorem(Bigint *b, Bigint *S)-
1287{-
1288 int n;-
1289 qint32 borrow, y;-
1290 quint32 carry, q, ys;-
1291 quint32 *bx, *bxe, *sx, *sxe;-
1292-
1293 qint32 z;-
1294 quint32 si, zs;-
1295-
1296-
1297 n = S->wds;-
1298-
1299-
1300-
1301-
1302 if (b->wds < n
b->wds < nDescription
TRUEevaluated 3965 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 120900 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
)
3965-120900
1303 return
executed 3965 times by 7 tests: return 0;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
0;
executed 3965 times by 7 tests: return 0;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
3965
1304 sx = S->x;-
1305 sxe = sx + --n;-
1306 bx = b->x;-
1307 bxe = bx + n;-
1308 q = *bxe / (*sxe + 1);-
1309-
1310-
1311-
1312-
1313 if (q
qDescription
TRUEevaluated 111100 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 9800 times by 7 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
9800-111100
1314 borrow = 0;-
1315 carry = 0;-
1316 do {-
1317-
1318 si = *sx++;-
1319 ys = (si & 0xffff) * q + carry;-
1320 zs = (si >> 16) * q + (ys >> 16);-
1321 carry = zs >> 16;-
1322 y = (*bx & 0xffff) - (ys & 0xffff) + borrow;-
1323 borrow = y >> 16;-
1324 ;-
1325 z = (*bx >> 16) - (zs & 0xffff) + borrow;-
1326 borrow = z >> 16;-
1327 ;-
1328 Storeinc(bx, z, y);-
1329 }
executed 900570 times by 11 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
900570
1330 while(sx <= sxe
sx <= sxeDescription
TRUEevaluated 789470 times by 9 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 111100 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
);
111100-789470
1331 if (!*bxe
!*bxeDescription
TRUEnever evaluated
FALSEevaluated 111100 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
0-111100
1332 bx = b->x;-
1333 while(--
--bxe > bxDescription
TRUEnever evaluated
FALSEnever evaluated
bxe > bx
--bxe > bxDescription
TRUEnever evaluated
FALSEnever evaluated
&& !*bxe
!*bxeDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1334 --
never executed: --n;
n;
never executed: --n;
0
1335 b->wds = n;-
1336 }
never executed: end of block
0
1337 }
executed 111100 times by 11 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
111100
1338 if (cmp(b, S) >= 0
cmp(b, S) >= 0Description
TRUEevaluated 592 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 120308 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
592-120308
1339 q++;-
1340 borrow = 0;-
1341 carry = 0;-
1342 bx = b->x;-
1343 sx = S->x;-
1344 do {-
1345-
1346 si = *sx++;-
1347 ys = (si & 0xffff) + carry;-
1348 zs = (si >> 16) + (ys >> 16);-
1349 carry = zs >> 16;-
1350 y = (*bx & 0xffff) - (ys & 0xffff) + borrow;-
1351 borrow = y >> 16;-
1352 ;-
1353 z = (*bx >> 16) - (zs & 0xffff) + borrow;-
1354 borrow = z >> 16;-
1355 ;-
1356 Storeinc(bx, z, y);-
1357 }
executed 2783 times by 7 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
2783
1358 while(sx <= sxe
sx <= sxeDescription
TRUEevaluated 2191 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 592 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
);
592-2191
1359 bx = b->x;-
1360 bxe = bx + n;-
1361 if (!*bxe
!*bxeDescription
TRUEevaluated 592 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
FALSEnever evaluated
) {
0-592
1362 while(--
--bxe > bxDescription
TRUEevaluated 1603 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
FALSEevaluated 592 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
bxe > bx
--bxe > bxDescription
TRUEevaluated 1603 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
FALSEevaluated 592 times by 7 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
&& !*bxe
!*bxeDescription
TRUEevaluated 1603 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
FALSEnever evaluated
)
0-1603
1363 --
executed 1603 times by 3 tests: --n;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
n;
executed 1603 times by 3 tests: --n;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
1603
1364 b->wds = n;-
1365 }
executed 592 times by 7 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
592
1366 }
executed 592 times by 7 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
592
1367 return
executed 120900 times by 11 tests: return q;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
q;
executed 120900 times by 11 tests: return q;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
120900
1368}-
1369__attribute__((visibility("default"))) char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp)-
1370{-
1371 fenv_t envp;-
1372 feholdexcept(&envp);-
1373-
1374-
1375 char *s = _qdtoa(d, mode, ndigits, decpt, sign, rve, resultp);-
1376 fesetenv(&envp);-
1377-
1378-
1379 return
executed 109846 times by 55 tests: return s;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
s;
executed 109846 times by 55 tests: return s;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
109846
1380}-
1381-
1382static char *_qdtoa( volatile double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp)-
1383{-
1384 int bbits, b2, b5, be, dig, i, ieps, ilim0,-
1385 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,-
1386 try_quick;-
1387 int ilim = 0, ilim1 = 0, spec_case = 0;-
1388 qint32 L;-
1389-
1390 int denorm;-
1391 quint32 x;-
1392-
1393 Bigint *b, *b1, *delta, *mhi, *S;-
1394 Bigint *mlo = __null;-
1395 double d2;-
1396 double ds, eps;-
1397 char *s, *s0;-
1398-
1399 if (getWord0(d) & 0x80000000
getWord0(d) & 0x80000000Description
TRUEevaluated 22157 times by 15 tests
Evaluated by:
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QVariant
FALSEevaluated 87689 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
) {
22157-87689
1400-
1401 *sign = 1;-
1402 setWord0(&d, getWord0(d) & ~0x80000000);-
1403 }
executed 22157 times by 15 tests: end of block
Executed by:
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QVariant
22157
1404 else-
1405 *
executed 87689 times by 55 tests: *sign = 0;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
sign = 0;
executed 87689 times by 55 tests: *sign = 0;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
87689
1406-
1407-
1408-
1409 if ((
(getWord0(d) &... == 0x7ff00000Description
TRUEnever evaluated
FALSEevaluated 109846 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
getWord0(d) & 0x7ff00000) == 0x7ff00000
(getWord0(d) &... == 0x7ff00000Description
TRUEnever evaluated
FALSEevaluated 109846 times by 55 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
)
0-109846
1410-
1411-
1412-
1413 {-
1414-
1415 *decpt = 9999;-
1416 s =-
1417-
1418 !getWord1(d)
!getWord1(d)Description
TRUEnever evaluated
FALSEnever evaluated
&& !(getWord0(d) & 0xfffff)
!(getWord0(d) & 0xfffff)Description
TRUEnever evaluated
FALSEnever evaluated
? const_cast<char*>("Infinity") :
0
1419-
1420 const_cast<char*>("NaN");-
1421 if (rve
rveDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1422 *
never executed: *rve = s[3] ? s + 8 : s + 3;
rve =
never executed: *rve = s[3] ? s + 8 : s + 3;
0
14230
1424 s[3]
s[3]Description
TRUEnever evaluated
FALSEnever evaluated
? s + 8 :
never executed: *rve = s[3] ? s + 8 : s + 3;
0
14250
1426 s + 3;
never executed: *rve = s[3] ? s + 8 : s + 3;
0
1427 return
never executed: return s;
s;
never executed: return s;
0
1428 }-
1429-
1430-
1431-
1432-
1433 if (d == g_double_zero
d == g_double_zeroDescription
TRUEevaluated 38418 times by 24 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QDoubleSpinBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • tst_QTextList
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
  • tst_selftests - unknown status
FALSEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
)
38418-71428
1434 {-
1435 *decpt = 1;-
1436 s = const_cast<char*>("0");-
1437 if (rve
rveDescription
TRUEevaluated 38418 times by 24 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QDoubleSpinBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • tst_QTextList
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
  • tst_selftests - unknown status
FALSEnever evaluated
)
0-38418
1438 *
executed 38418 times by 24 tests: *rve = s + 1;
Executed by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QDoubleSpinBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • tst_QTextList
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
  • tst_selftests - unknown status
rve = s + 1;
executed 38418 times by 24 tests: *rve = s + 1;
Executed by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QDoubleSpinBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • tst_QTextList
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
  • tst_selftests - unknown status
38418
1439 return
executed 38418 times by 24 tests: return s;
Executed by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QDoubleSpinBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • tst_QTextList
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
  • tst_selftests - unknown status
s;
executed 38418 times by 24 tests: return s;
Executed by:
  • tst_QAccessibility
  • tst_QBrush
  • tst_QDoubleSpinBox
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLCDNumber
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • tst_QTextList
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
  • tst_selftests - unknown status
38418
1440 }-
1441-
1442 b = d2b(d, &be, &bbits);-
1443 i = (int)(getWord0(d) >> 20 & (0x7ff00000>>20));-
1444-
1445 if (i != 0
i != 0Description
TRUEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
FALSEnever evaluated
) {
0-71428
1446-
1447 d2 = d;-
1448 setWord0(&d2, getWord0(d2) & 0xfffff);-
1449 setWord0(&d2, getWord0(d2) | 0x3ff00000);-
1450 i -= 1023;-
1451-
1452-
1453-
1454-
1455-
1456 denorm = 0;-
1457 }
executed 71428 times by 53 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
71428
1458 else {-
1459-
1460-
1461 i = bbits + be + (1023 + (53 -1) - 1);-
1462 x = i > 32
i > 32Description
TRUEnever evaluated
FALSEnever evaluated
? getWord0(d) << (64 - i) | getWord1(d) >> (i - 32)
0
1463 : getWord1(d) << (32 - i);-
1464 d2 = x;-
1465 setWord0(&d2, getWord0(d2) - 31*0x100000);-
1466 i -= (1023 + (53 -1) - 1) + 1;-
1467 denorm = 1;-
1468 }
never executed: end of block
0
1469-
1470 ds = (d2-1.5)*0.289529654602168 + 0.1760912590558 + i*0.301029995663981;-
1471 k = int(ds);-
1472 if (ds < 0.
ds < 0.Description
TRUEevaluated 47424 times by 14 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
FALSEevaluated 24004 times by 52 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
&& ds != k
ds != kDescription
TRUEevaluated 47424 times by 14 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
FALSEnever evaluated
)
0-47424
1473 k--;
executed 47424 times by 14 tests: k--;
Executed by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
47424
1474 k_check = 1;-
1475 if (k >= 0
k >= 0Description
TRUEevaluated 24004 times by 52 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
FALSEevaluated 47424 times by 14 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
&& k <= 22
k <= 22Description
TRUEevaluated 22393 times by 51 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
FALSEevaluated 1611 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
1611-47424
1476 if (d < tens[k]
d < tens[k]Description
TRUEevaluated 3288 times by 7 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_qmakelib
FALSEevaluated 19105 times by 49 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • ...
)
3288-19105
1477 k--;
executed 3288 times by 7 tests: k--;
Executed by:
  • tst_QAccessibility
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_qmakelib
3288
1478 k_check = 0;-
1479 }
executed 22393 times by 51 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
22393
1480 j = bbits - i - 1;-
1481 if (j >= 0
j >= 0Description
TRUEevaluated 67654 times by 46 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • ...
FALSEevaluated 3774 times by 31 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • ...
) {
3774-67654
1482 b2 = 0;-
1483 s2 = j;-
1484 }
executed 67654 times by 46 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • ...
67654
1485 else {-
1486 b2 = -j;-
1487 s2 = 0;-
1488 }
executed 3774 times by 31 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • tst_QTextLayout
  • ...
3774
1489 if (k >= 0
k >= 0Description
TRUEevaluated 20880 times by 52 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
FALSEevaluated 50548 times by 14 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
) {
20880-50548
1490 b5 = 0;-
1491 s5 = k;-
1492 s2 += k;-
1493 }
executed 20880 times by 52 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
20880
1494 else {-
1495 b2 -= k;-
1496 b5 = -k;-
1497 s5 = 0;-
1498 }
executed 50548 times by 14 tests: end of block
Executed by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QTreeWidget
50548
1499 if (mode < 0
mode < 0Description
TRUEnever evaluated
FALSEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
|| mode > 9
mode > 9Description
TRUEnever evaluated
FALSEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
)
0-71428
1500 mode = 0;
never executed: mode = 0;
0
1501 try_quick = 1;-
1502 if (mode > 5
mode > 5Description
TRUEnever evaluated
FALSEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
) {
0-71428
1503 mode -= 4;-
1504 try_quick = 0;-
1505 }
never executed: end of block
0
1506 leftright = 1;-
1507 switch(mode) {-
1508 case
never executed: case 0:
0:
never executed: case 0:
0
1509 case
never executed: case 1:
1:
never executed: case 1:
0
1510 ilim = ilim1 = -1;-
1511 i = 18;-
1512 ndigits = 0;-
1513 break;
never executed: break;
0
1514 case
executed 69690 times by 41 tests: case 2:
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDriver
  • ...
2:
executed 69690 times by 41 tests: case 2:
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDriver
  • ...
69690
1515 leftright = 0;-
1516-
1517 case
never executed: case 4:
code before this statement executed 69690 times by 41 tests: case 4:
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDriver
  • ...
never executed: case 4:
4:
code before this statement executed 69690 times by 41 tests: case 4:
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDriver
  • ...
never executed: case 4:
0-69690
1518 if (ndigits <= 0
ndigits <= 0Description
TRUEevaluated 1681 times by 2 tests
Evaluated by:
  • tst_QString
  • tst_QTextStream
FALSEevaluated 68009 times by 41 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDriver
  • ...
)
1681-68009
1519 ndigits = 1;
executed 1681 times by 2 tests: ndigits = 1;
Executed by:
  • tst_QString
  • tst_QTextStream
1681
1520 ilim = ilim1 = i = ndigits;-
1521 break;
executed 69690 times by 41 tests: break;
Executed by:
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QMetaType
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • tst_QSqlDriver
  • ...
69690
1522 case
executed 1738 times by 20 tests: case 3:
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
3:
executed 1738 times by 20 tests: case 3:
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
1738
1523 leftright = 0;-
1524-
1525 case
never executed: case 5:
code before this statement executed 1738 times by 20 tests: case 5:
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
never executed: case 5:
5:
code before this statement executed 1738 times by 20 tests: case 5:
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
never executed: case 5:
0-1738
1526 i = ndigits + k + 1;-
1527 ilim = i;-
1528 ilim1 = i - 1;-
1529 if (i <= 0
i <= 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEevaluated 1736 times by 20 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
)
2-1736
1530 i = 1;
executed 2 times by 1 test: i = 1;
Executed by:
  • tst_QDoubleSpinBox
2
1531 }
executed 1738 times by 20 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteDataBuffer
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItemAnimation
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
  • tst_QUdpSocket
  • tst_selftests - unknown status
1738
1532 try {-
1533 *resultp = static_cast<char *>(malloc(i + 1));-
1534 do { if (!(*resultp)
!(*resultp)Description
TRUEnever evaluated
FALSEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
) qBadAlloc();
never executed: qBadAlloc();
} while (0);
0-71428
1535 }
executed 71428 times by 53 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
catch (...) {
71428
1536 Bfree(b);-
1537 throw;
never executed: throw;
0
1538 }-
1539 s = s0 = *resultp;-
1540-
1541 if (ilim >= 0
ilim >= 0Description
TRUEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
FALSEnever evaluated
&& ilim <= 14
ilim <= 14Description
TRUEevaluated 68746 times by 45 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • ...
FALSEevaluated 2682 times by 18 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QTreeWidget
  • tst_QVariant
  • tst_selftests - unknown status
&& try_quick
try_quickDescription
TRUEevaluated 68746 times by 45 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • ...
FALSEnever evaluated
) {
0-71428
1542-
1543-
1544-
1545 i = 0;-
1546 d2 = d;-
1547 k0 = k;-
1548 ilim0 = ilim;-
1549 ieps = 2;-
1550 if (k > 0
k > 0Description
TRUEevaluated 3325 times by 36 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • ...
FALSEevaluated 65421 times by 35 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • ...
) {
3325-65421
1551 ds = tens[k&0xf];-
1552 j = k >> 4;-
1553 if (j & 0x10
j & 0x10Description
TRUEevaluated 192 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 3133 times by 36 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • ...
) {
192-3133
1554-
1555 j &= 0x10 - 1;-
1556 d /= bigtens[5 -1];-
1557 ieps++;-
1558 }
executed 192 times by 1 test: end of block
Executed by:
  • tst_QString
192
1559 for(; j
jDescription
TRUEevaluated 3072 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 3325 times by 36 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • ...
; j >>= 1, i++)
3072-3325
1560 if (j & 1
j & 1Description
TRUEevaluated 2112 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 960 times by 1 test
Evaluated by:
  • tst_QString
) {
960-2112
1561 ieps++;-
1562 ds *= bigtens[i];-
1563 }
executed 2112 times by 1 test: end of block
Executed by:
  • tst_QString
2112
1564 d /= ds;-
1565 }
executed 3325 times by 36 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QString
  • ...
3325
1566 else if ((
(j1 = -k) != 0Description
TRUEevaluated 49389 times by 13 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
FALSEevaluated 16032 times by 35 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • ...
j1 = -k) != 0
(j1 = -k) != 0Description
TRUEevaluated 49389 times by 13 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
FALSEevaluated 16032 times by 35 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTcpSocket
  • ...
) {
16032-49389
1567 d *= tens[j1 & 0xf];-
1568 for(j = j1 >> 4; j
jDescription
TRUEevaluated 3840 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 49389 times by 13 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
; j >>= 1, i++)
3840-49389
1569 if (j & 1
j & 1Description
TRUEevaluated 2496 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 1344 times by 1 test
Evaluated by:
  • tst_QString
) {
1344-2496
1570 ieps++;-
1571 d *= bigtens[i];-
1572 }
executed 2496 times by 1 test: end of block
Executed by:
  • tst_QString
2496
1573 }
executed 49389 times by 13 tests: end of block
Executed by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
49389
1574 if (k_check
k_checkDescription
TRUEevaluated 47481 times by 13 tests
Evaluated by:
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
FALSEevaluated 21265 times by 45 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • ...
&& d < 1.
d < 1.Description
TRUEevaluated 3920 times by 3 tests
Evaluated by:
  • tst_QByteArray
  • tst_QGraphicsTransform
  • tst_QString
FALSEevaluated 43561 times by 12 tests
Evaluated by:
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextDocument
  • tst_QTextStream
&& ilim > 0
ilim > 0Description
TRUEevaluated 3920 times by 3 tests
Evaluated by:
  • tst_QByteArray
  • tst_QGraphicsTransform
  • tst_QString
FALSEnever evaluated
) {
0-47481
1575 if (ilim1 <= 0
ilim1 <= 0Description
TRUEnever evaluated
FALSEevaluated 3920 times by 3 tests
Evaluated by:
  • tst_QByteArray
  • tst_QGraphicsTransform
  • tst_QString
)
0-3920
1576 goto
never executed: goto fast_failed;
fast_failed;
never executed: goto fast_failed;
0
1577 ilim = ilim1;-
1578 k--;-
1579 d *= 10.;-
1580 ieps++;-
1581 }
executed 3920 times by 3 tests: end of block
Executed by:
  • tst_QByteArray
  • tst_QGraphicsTransform
  • tst_QString
3920
1582 eps = ieps*d + 7.;-
1583 setWord0(&eps, getWord0(eps) - (53 -1)*0x100000);-
1584 if (ilim == 0
ilim == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEevaluated 68744 times by 45 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • ...
) {
2-68744
1585 S = mhi = 0;-
1586 d -= 5.;-
1587 if (d > eps
d > epsDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
)
0-2
1588 goto
never executed: goto one_digit;
one_digit;
never executed: goto one_digit;
0
1589 if (d < -eps
d < -epsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEnever evaluated
)
0-2
1590 goto
executed 2 times by 1 test: goto no_digits;
Executed by:
  • tst_QDoubleSpinBox
no_digits;
executed 2 times by 1 test: goto no_digits;
Executed by:
  • tst_QDoubleSpinBox
2
1591 goto
never executed: goto fast_failed;
fast_failed;
never executed: goto fast_failed;
0
1592 }-
1593-
1594 if (leftright
leftrightDescription
TRUEnever evaluated
FALSEevaluated 68744 times by 45 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • ...
) {
0-68744
1595-
1596-
1597-
1598 eps = 0.5/tens[ilim-1] - eps;-
1599 for(i = 0;;) {-
1600 L = qint32(d);-
1601 d -= L;-
1602 *s++ = '0' + int(L);-
1603 if (d < eps
d < epsDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1604 goto
never executed: goto ret1;
ret1;
never executed: goto ret1;
0
1605 if (1. - d < eps
1. - d < epsDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1606 goto
never executed: goto bump_up;
bump_up;
never executed: goto bump_up;
0
1607 if (++
++i >= ilimDescription
TRUEnever evaluated
FALSEnever evaluated
i >= ilim
++i >= ilimDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1608 break;
never executed: break;
0
1609 eps *= 10.;-
1610 d *= 10.;-
1611 }
never executed: end of block
0
1612 }
never executed: end of block
0
1613 else {-
1614-
1615-
1616 eps *= tens[ilim-1];-
1617 for(i = 1;; i++, d *= 10.) {-
1618 L = qint32(d);-
1619 d -= L;-
1620 *s++ = '0' + int(L);-
1621 if (i == ilim
i == ilimDescription
TRUEevaluated 68744 times by 45 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • ...
FALSEevaluated 319237 times by 44 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
) {
68744-319237
1622 if (d > 0.5 + eps
d > 0.5 + epsDescription
TRUEevaluated 27251 times by 27 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
FALSEevaluated 41493 times by 41 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
)
27251-41493
1623 goto
executed 27251 times by 27 tests: goto bump_up;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
bump_up;
executed 27251 times by 27 tests: goto bump_up;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
27251
1624 else if (d < 0.5 - eps
d < 0.5 - epsDescription
TRUEevaluated 41491 times by 41 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
) {
2-41491
1625 while(*--
*--s == '0'Description
TRUEevaluated 81744 times by 34 tests
Evaluated by:
  • tst_QBrush
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • ...
FALSEevaluated 41491 times by 41 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
s == '0'
*--s == '0'Description
TRUEevaluated 81744 times by 34 tests
Evaluated by:
  • tst_QBrush
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • ...
FALSEevaluated 41491 times by 41 tests
Evaluated by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
) {}
executed 81744 times by 34 tests: end of block
Executed by:
  • tst_QBrush
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • tst_QPrinter
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocument
  • tst_QTextDocumentFragment
  • tst_QTextEdit
  • ...
41491-81744
1626 s++;-
1627 goto
executed 41491 times by 41 tests: goto ret1;
Executed by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
ret1;
executed 41491 times by 41 tests: goto ret1;
Executed by:
  • tst_QBrush
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPdfWriter
  • ...
41491
1628 }-
1629 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_QDoubleSpinBox
2
1630 }-
1631 }
executed 319237 times by 44 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QLabel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • ...
319237
1632-
1633 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_QDoubleSpinBox
2
1634-
1635 fast_failed:
code before this statement executed 2 times by 1 test: fast_failed:
Executed by:
  • tst_QDoubleSpinBox
2
1636 s = s0;-
1637 d = d2;-
1638 k = k0;-
1639 ilim = ilim0;-
1640 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_QDoubleSpinBox
2
1641-
1642-
1643-
1644 if (be >= 0
be >= 0Description
TRUEevaluated 893 times by 13 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QStringRef
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
FALSEevaluated 1791 times by 9 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
&& k <= 14
k <= 14Description
TRUEevaluated 434 times by 12 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
FALSEevaluated 459 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
) {
434-1791
1645-
1646 ds = tens[k];-
1647 if (ndigits < 0
ndigits < 0Description
TRUEnever evaluated
FALSEevaluated 434 times by 12 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
&& ilim <= 0
ilim <= 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-434
1648 S = mhi = 0;-
1649 if (ilim < 0
ilim < 0Description
TRUEnever evaluated
FALSEnever evaluated
|| d <= 5*ds
d <= 5*dsDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1650 goto
never executed: goto no_digits;
no_digits;
never executed: goto no_digits;
0
1651 goto
never executed: goto one_digit;
one_digit;
never executed: goto one_digit;
0
1652 }-
1653 for(i = 1;; i++) {-
1654 L = qint32(d / ds);-
1655 d -= L*ds;-
1656-
1657-
1658-
1659-
1660-
1661-
1662-
1663 *s++ = '0' + int(L);-
1664 if (i == ilim
i == ilimDescription
TRUEnever evaluated
FALSEevaluated 483 times by 12 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
) {
0-483
1665 d += d;-
1666 if (d > ds
d > dsDescription
TRUEnever evaluated
FALSEnever evaluated
|| (d == ds
d == dsDescription
TRUEnever evaluated
FALSEnever evaluated
&& L & 1
L & 1Description
TRUEnever evaluated
FALSEnever evaluated
)) {
0
1667 bump_up:-
1668 while(*--
*--s == '9'Description
TRUEevaluated 20374 times by 22 tests
Evaluated by:
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
FALSEevaluated 23695 times by 27 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
s == '9'
*--s == '9'Description
TRUEevaluated 20374 times by 22 tests
Evaluated by:
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
FALSEevaluated 23695 times by 27 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
)
20374-23695
1669 if (s == s0
s == s0Description
TRUEevaluated 3556 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QString
FALSEevaluated 16818 times by 22 tests
Evaluated by:
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGuiVariant
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • tst_QVariant
) {
3556-16818
1670 k++;-
1671 *s = '0';-
1672 break;
executed 3556 times by 4 tests: break;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsTransform
  • tst_QInputDialog
  • tst_QString
3556
1673 }-
1674 ++*s++;-
1675 }
executed 27251 times by 27 tests: end of block
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
27251
1676 break;
executed 27251 times by 27 tests: break;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QString
  • tst_QTcpSocket
  • tst_QTextLayout
  • tst_QTextStream
  • tst_QToolButton
  • ...
27251
1677 }-
1678 if ((
(d *= 10.) == g_double_zeroDescription
TRUEevaluated 434 times by 12 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
FALSEevaluated 49 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QPropertyAnimation
  • tst_QTextDocumentFragment
  • tst_selftests - unknown status
d *= 10.) == g_double_zero
(d *= 10.) == g_double_zeroDescription
TRUEevaluated 434 times by 12 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
FALSEevaluated 49 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QPropertyAnimation
  • tst_QTextDocumentFragment
  • tst_selftests - unknown status
)
49-434
1679 break;
executed 434 times by 12 tests: break;
Executed by:
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QPropertyAnimation
  • tst_QSpinBox
  • tst_QString
  • tst_QTextDocumentFragment
  • tst_QTextList
  • tst_QVariant
  • tst_selftests - unknown status
434
1680 }
executed 49 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QPropertyAnimation
  • tst_QTextDocumentFragment
  • tst_selftests - unknown status
49
1681 goto
executed 27685 times by 35 tests: goto ret1;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • ...
ret1;
executed 27685 times by 35 tests: goto ret1;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QGraphicsItem
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • tst_QOpenGlConfig
  • tst_QPageSize
  • tst_QPainter
  • tst_QPrinter
  • tst_QPropertyAnimation
  • ...
27685
1682 }-
1683-
1684 m2 = b2;-
1685 m5 = b5;-
1686 mhi = mlo = 0;-
1687 if (leftright
leftrightDescription
TRUEnever evaluated
FALSEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
0-2250
1688 if (mode < 2
mode < 2Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1689 i =-
1690-
1691 denorm
denormDescription
TRUEnever evaluated
FALSEnever evaluated
? be + (1023 + (53 -1) - 1 + 1) :
0
1692-
1693-
1694-
1695-
1696 1 + 53 - bbits;-
1697-
1698 }
never executed: end of block
0
1699 else {-
1700 j = ilim - 1;-
1701 if (m5 >= j
m5 >= jDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1702 m5 -= j;
never executed: m5 -= j;
0
1703 else {-
1704 s5 += j -= m5;-
1705 b5 += j;-
1706 m5 = 0;-
1707 }
never executed: end of block
0
1708 if ((
(i = ilim) < 0Description
TRUEnever evaluated
FALSEnever evaluated
i = ilim) < 0
(i = ilim) < 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1709 m2 -= i;-
1710 i = 0;-
1711 }
never executed: end of block
0
1712 }
never executed: end of block
0
1713 b2 += i;-
1714 s2 += i;-
1715 mhi = i2b(1);-
1716 }
never executed: end of block
0
1717 if (m2 > 0
m2 > 0Description
TRUEevaluated 1618 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
FALSEevaluated 632 times by 8 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QVariant
&& s2 > 0
s2 > 0Description
TRUEevaluated 1618 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
FALSEnever evaluated
) {
0-1618
1718 i = m2 < s2
m2 < s2Description
TRUEevaluated 1159 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
FALSEevaluated 459 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
? m2 : s2;
459-1159
1719 b2 -= i;-
1720 m2 -= i;-
1721 s2 -= i;-
1722 }
executed 1618 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
1618
1723 if (b5 > 0
b5 > 0Description
TRUEevaluated 1159 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
FALSEevaluated 1091 times by 10 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
) {
1091-1159
1724 if (leftright
leftrightDescription
TRUEnever evaluated
FALSEevaluated 1159 times by 3 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
) {
0-1159
1725 if (m5 > 0
m5 > 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1726 mhi = pow5mult(mhi, m5);-
1727 b1 = mult(mhi, b);-
1728 Bfree(b);-
1729 b = b1;-
1730 }
never executed: end of block
0
1731 if ((
(j = b5 - m5) != 0Description
TRUEnever evaluated
FALSEnever evaluated
j = b5 - m5) != 0
(j = b5 - m5) != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1732 b = pow5mult(b, j);
never executed: b = pow5mult(b, j);
0
1733 }
never executed: end of block
0
1734 else-
1735 b = pow5mult(b, b5);
executed 1159 times by 3 tests: b = pow5mult(b, b5);
Executed by:
  • tst_QDoubleSpinBox
  • tst_QString
  • tst_QTreeWidget
1159
1736 }-
1737 S = i2b(1);-
1738 if (s5 > 0
s5 > 0Description
TRUEevaluated 625 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 1625 times by 8 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
)
625-1625
1739 S = pow5mult(S, s5);
executed 625 times by 6 tests: S = pow5mult(S, s5);
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
625
1740-
1741-
1742-
1743 if (mode < 2
mode < 2Description
TRUEnever evaluated
FALSEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
0-2250
1744 if (!getWord1(d)
!getWord1(d)Description
TRUEnever evaluated
FALSEnever evaluated
&& !(getWord0(d) & 0xfffff)
!(getWord0(d) & 0xfffff)Description
TRUEnever evaluated
FALSEnever evaluated
0
1745-
1746 && getWord0(d) & 0x7ff00000
getWord0(d) & 0x7ff00000Description
TRUEnever evaluated
FALSEnever evaluated
0
1747-
1748 ) {-
1749-
1750 b2 += 1;-
1751 s2 += 1;-
1752 spec_case = 1;-
1753 }
never executed: end of block
0
1754 else-
1755 spec_case = 0;
never executed: spec_case = 0;
0
1756 }-
1757 if ((
(i = ((s5 ? 32...) & 0x1f) != 0Description
TRUEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEnever evaluated
i = ((s5
s5Description
TRUEevaluated 625 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QVariant
FALSEevaluated 1625 times by 8 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QTreeWidget
  • tst_QVariant
? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0x1f) != 0
(i = ((s5 ? 32...) & 0x1f) != 0Description
TRUEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEnever evaluated
)
0-2250
1758 i = 32 - i;
executed 2250 times by 11 tests: i = 32 - i;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2250
1759-
1760-
1761-
1762-
1763 if (i > 4
i > 4Description
TRUEevaluated 2122 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 128 times by 1 test
Evaluated by:
  • tst_QString
) {
128-2122
1764 i -= 4;-
1765 b2 += i;-
1766 m2 += i;-
1767 s2 += i;-
1768 }
executed 2122 times by 11 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2122
1769 else if (i < 4
i < 4Description
TRUEevaluated 64 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tst_QString
) {
64
1770 i += 28;-
1771 b2 += i;-
1772 m2 += i;-
1773 s2 += i;-
1774 }
executed 64 times by 1 test: end of block
Executed by:
  • tst_QString
64
1775 if (b2 > 0
b2 > 0Description
TRUEevaluated 2186 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tst_QString
)
64-2186
1776 b = lshift(b, b2);
executed 2186 times by 11 tests: b = lshift(b, b2);
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2186
1777 if (s2 > 0
s2 > 0Description
TRUEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEnever evaluated
)
0-2250
1778 S = lshift(S, s2);
executed 2250 times by 11 tests: S = lshift(S, s2);
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2250
1779 if (k_check
k_checkDescription
TRUEevaluated 1554 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
FALSEevaluated 696 times by 8 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QVariant
) {
696-1554
1780 if (cmp(b,S) < 0
cmp(b,S) < 0Description
TRUEevaluated 512 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 1042 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
) {
512-1042
1781 k--;-
1782 b = multadd(b, 10, 0);-
1783 if (leftright
leftrightDescription
TRUEnever evaluated
FALSEevaluated 512 times by 1 test
Evaluated by:
  • tst_QString
)
0-512
1784 mhi = multadd(mhi, 10, 0);
never executed: mhi = multadd(mhi, 10, 0);
0
1785 ilim = ilim1;-
1786 }
executed 512 times by 1 test: end of block
Executed by:
  • tst_QString
512
1787 }
executed 1554 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
1554
1788 if (ilim <= 0
ilim <= 0Description
TRUEnever evaluated
FALSEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
&& mode > 2
mode > 2Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-2250
1789 if (ilim < 0
ilim < 0Description
TRUEnever evaluated
FALSEnever evaluated
|| cmp(b,S = multadd(S,5,0)) <= 0
cmp(b,S = multadd(S,5,0)) <= 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1790-
1791 no_digits:-
1792 k = -1 - ndigits;-
1793 goto
executed 2 times by 1 test: goto ret;
Executed by:
  • tst_QDoubleSpinBox
ret;
executed 2 times by 1 test: goto ret;
Executed by:
  • tst_QDoubleSpinBox
2
1794 }-
1795 one_digit:
code before this statement never executed: one_digit:
0
1796 *s++ = '1';-
1797 k++;-
1798 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1799 }-
1800 if (leftright
leftrightDescription
TRUEnever evaluated
FALSEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
0-2250
1801 if (m2 > 0
m2 > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1802 mhi = lshift(mhi, m2);
never executed: mhi = lshift(mhi, m2);
0
1803-
1804-
1805-
1806-
1807-
1808 mlo = mhi;-
1809 if (spec_case
spec_caseDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
1810 mhi = Balloc(mhi->k);-
1811 memcpy(reinterpret_cast<char *>(&mhi->sign), reinterpret_cast<char *>(&mlo->sign), mlo->wds*sizeof(qint32) + 2*sizeof(int));-
1812 mhi = lshift(mhi, 1);-
1813 }
never executed: end of block
0
1814-
1815 for(i = 1;;i++) {-
1816 dig = quorem(b,S) + '0';-
1817-
1818-
1819-
1820 j = cmp(b, mlo);-
1821 delta = diff(S, mhi);-
1822 j1 = delta->sign
delta->signDescription
TRUEnever evaluated
FALSEnever evaluated
? 1 : cmp(b, delta);
0
1823 Bfree(delta);-
1824-
1825 if (j1 == 0
j1 == 0Description
TRUEnever evaluated
FALSEnever evaluated
&& !mode
!modeDescription
TRUEnever evaluated
FALSEnever evaluated
&& !(getWord1(d) & 1)
!(getWord1(d) & 1)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1826 if (dig == '9'
dig == '9'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1827 goto
never executed: goto round_9_up;
round_9_up;
never executed: goto round_9_up;
0
1828 if (j > 0
j > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1829 dig++;
never executed: dig++;
0
1830 *s++ = dig;-
1831 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1832 }-
1833-
1834 if (j < 0
j < 0Description
TRUEnever evaluated
FALSEnever evaluated
|| (j == 0
j == 0Description
TRUEnever evaluated
FALSEnever evaluated
&& !mode
!modeDescription
TRUEnever evaluated
FALSEnever evaluated
0
1835-
1836 && !(getWord1(d) & 1)
!(getWord1(d) & 1)Description
TRUEnever evaluated
FALSEnever evaluated
0
1837-
1838 )) {-
1839 if (j1 > 0
j1 > 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1840 b = lshift(b, 1);-
1841 j1 = cmp(b, S);-
1842 if ((j1 > 0
j1 > 0Description
TRUEnever evaluated
FALSEnever evaluated
|| (j1 == 0
j1 == 0Description
TRUEnever evaluated
FALSEnever evaluated
&& dig & 1
dig & 1Description
TRUEnever evaluated
FALSEnever evaluated
))
0
1843 && dig++ == '9'
dig++ == '9'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1844 goto
never executed: goto round_9_up;
round_9_up;
never executed: goto round_9_up;
0
1845 }
never executed: end of block
0
1846 *s++ = dig;-
1847 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1848 }-
1849 if (j1 > 0
j1 > 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1850 if (dig == '9'
dig == '9'Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1851 round_9_up:-
1852 *s++ = '9';-
1853 goto
never executed: goto roundoff;
roundoff;
never executed: goto roundoff;
0
1854 }-
1855 *s++ = dig + 1;-
1856 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1857 }-
1858 *s++ = dig;-
1859 if (i == ilim
i == ilimDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1860 break;
never executed: break;
0
1861 b = multadd(b, 10, 0);-
1862 if (mlo == mhi
mlo == mhiDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1863 mlo = mhi = multadd(mhi, 10, 0);
never executed: mlo = mhi = multadd(mhi, 10, 0);
0
1864 else {-
1865 mlo = multadd(mlo, 10, 0);-
1866 mhi = multadd(mhi, 10, 0);-
1867 }
never executed: end of block
0
1868 }-
1869 }
never executed: end of block
0
1870 else-
1871 for(i = 1;; i++) {-
1872 *s++ = dig = quorem(b,S) + '0';-
1873 if (i >= ilim
i >= ilimDescription
TRUEevaluated 2250 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
FALSEevaluated 122615 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
)
2250-122615
1874 break;
executed 2250 times by 11 tests: break;
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2250
1875 b = multadd(b, 10, 0);-
1876 }
executed 122615 times by 11 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
122615
1877-
1878-
1879-
1880 b = lshift(b, 1);-
1881 j = cmp(b, S);-
1882 if (j > 0
j > 0Description
TRUEevaluated 900 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
FALSEevaluated 1350 times by 9 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
|| (j == 0
j == 0Description
TRUEevaluated 66 times by 2 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QString
FALSEevaluated 1284 times by 9 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
&& dig & 1
dig & 1Description
TRUEevaluated 64 times by 1 test
Evaluated by:
  • tst_QString
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
)) {
2-1350
1883 roundoff:-
1884 while(*--
*--s == '9'Description
TRUEevaluated 149 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QString
  • tst_QStringRef
FALSEevaluated 964 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
s == '9'
*--s == '9'Description
TRUEevaluated 149 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QString
  • tst_QStringRef
FALSEevaluated 964 times by 5 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
)
149-964
1885 if (s == s0
s == s0Description
TRUEnever evaluated
FALSEevaluated 149 times by 4 tests
Evaluated by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QString
  • tst_QStringRef
) {
0-149
1886 k++;-
1887 *s++ = '1';-
1888 goto
never executed: goto ret;
ret;
never executed: goto ret;
0
1889 }-
1890 ++*s++;-
1891 }
executed 964 times by 5 tests: end of block
Executed by:
  • tst_QDoubleSpinBox
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
964
1892 else {-
1893 while(*--
*--s == '0'Description
TRUEevaluated 3567 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QVariant
FALSEevaluated 1286 times by 9 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
s == '0'
*--s == '0'Description
TRUEevaluated 3567 times by 6 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QVariant
FALSEevaluated 1286 times by 9 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {}
executed 3567 times by 6 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QString
  • tst_QVariant
1286-3567
1894 s++;-
1895 }
executed 1286 times by 9 tests: end of block
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
1286
1896 ret:
code before this statement executed 2250 times by 11 tests: ret:
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2250
1897 Bfree(S);-
1898 if (mhi
mhiDescription
TRUEnever evaluated
FALSEevaluated 2252 times by 11 tests
Evaluated by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
) {
0-2252
1899 if (mlo
mloDescription
TRUEnever evaluated
FALSEnever evaluated
&& mlo != mhi
mlo != mhiDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1900 Bfree(mlo);
never executed: Bfree(mlo);
0
1901 Bfree(mhi);-
1902 }
never executed: end of block
0
1903 ret1:
code before this statement executed 2252 times by 11 tests: ret1:
Executed by:
  • tst_QDBusMarshall
  • tst_QDoubleSpinBox
  • tst_QGraphicsItem
  • tst_QItemDelegate
  • tst_QMetaType
  • tst_QSqlDriver
  • tst_QSqlQuery
  • tst_QString
  • tst_QStringRef
  • tst_QTreeWidget
  • tst_QVariant
2252
1904 Bfree(b);-
1905 if (s == s0
s == s0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QDoubleSpinBox
FALSEevaluated 71426 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
) {
2-71426
1906 *s++ = '0';-
1907 k = 0;-
1908 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_QDoubleSpinBox
2
1909 *s = 0;-
1910 *decpt = k + 1;-
1911 if (rve
rveDescription
TRUEevaluated 71428 times by 53 tests
Evaluated by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
FALSEnever evaluated
)
0-71428
1912 *
executed 71428 times by 53 tests: *rve = s;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
rve = s;
executed 71428 times by 53 tests: *rve = s;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
71428
1913 return
executed 71428 times by 53 tests: return s0;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
s0;
executed 71428 times by 53 tests: return s0;
Executed by:
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QBrush
  • tst_QByteArray
  • tst_QByteDataBuffer
  • tst_QColor
  • tst_QCssParser
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDebug
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFont
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsTransform
  • tst_QGraphicsView
  • tst_QGuiVariant
  • tst_QHttpSocketEngine
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemModel
  • ...
71428
1914}-
1915-
1916-
Switch to Source codePreprocessed file

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