Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | void doubleToAscii(double d, QLocaleData::DoubleForm form, int precision, char *buf, int bufSize, | - |
17 | bool &sign, int &length, int &decpt) | - |
18 | { | - |
19 | if (bufSize == 0TRUE | never evaluated | FALSE | evaluated 110646 times by 55 testsEvaluated 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-110646 |
20 | decpt = 0; | - |
21 | sign = d < 0; | - |
22 | length = 0; | - |
23 | return; never executed: return; | 0 |
24 | } | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | if (qt_is_inf(d)TRUE | evaluated 550 times by 4 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
| FALSE | evaluated 110096 times by 55 testsEvaluated 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
- ...
|
) { | 550-110096 |
31 | sign = d < 0; | - |
32 | if (bufSize >= 3TRUE | evaluated 550 times by 4 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
| FALSE | never evaluated |
) { | 0-550 |
33 | buf[0] = 'i'; | - |
34 | buf[1] = 'n'; | - |
35 | buf[2] = 'f'; | - |
36 | length = 3; | - |
37 | }executed 550 times by 4 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
else { | 550 |
38 | length = 0; | - |
39 | } never executed: end of block | 0 |
40 | return;executed 550 times by 4 tests: return; Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
| 550 |
41 | } else if (qt_is_nan(d)TRUE | evaluated 262 times by 3 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
| FALSE | evaluated 109834 times by 55 testsEvaluated 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
- ...
|
) { | 262-109834 |
42 | if (bufSize >= 3TRUE | evaluated 262 times by 3 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
| FALSE | never evaluated |
) { | 0-262 |
43 | buf[0] = 'n'; | - |
44 | buf[1] = 'a'; | - |
45 | buf[2] = 'n'; | - |
46 | length = 3; | - |
47 | }executed 262 times by 3 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
else { | 262 |
48 | length = 0; | - |
49 | } never executed: end of block | 0 |
50 | return;executed 262 times by 3 tests: return; Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
| 262 |
51 | } | - |
52 | | - |
53 | if (form == QLocaleData::DFSignificantDigitsTRUE | evaluated 107580 times by 42 testsEvaluated 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
- ...
| FALSE | evaluated 2254 times by 21 testsEvaluated 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_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
|
&& precision == 0TRUE | evaluated 1729 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 105851 times by 42 testsEvaluated 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
- ...
|
) | 1729-107580 |
54 | precision = 1;executed 1729 times by 2 tests: precision = 1; Executed by:- tst_QString
- tst_QTextStream
| 1729 |
55 | | - |
56 | | - |
57 | | - |
58 | if (form == QLocaleData::DFExponentTRUE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 109817 times by 54 testsEvaluated 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
- ...
|
&& precision >= 0TRUE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | never evaluated |
) | 0-109817 |
59 | ++executed 17 times by 3 tests: ++precision; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
precision;executed 17 times by 3 tests: ++precision; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
60 | | - |
61 | double_conversion::DoubleToStringConverter::DtoaMode mode; | - |
62 | if (precision == QLocale::FloatingPointShortestTRUE | evaluated 144 times by 13 testsEvaluated by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
| FALSE | evaluated 109690 times by 48 testsEvaluated 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_QLCDNumber
- tst_QLabel
- ...
|
) { | 144-109690 |
63 | mode = double_conversion::DoubleToStringConverter::SHORTEST; | - |
64 | }executed 144 times by 13 tests: end of block Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
else if (form == QLocaleData::DFSignificantDigitsTRUE | evaluated 107436 times by 35 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
| FALSE | evaluated 2254 times by 21 testsEvaluated 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_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
|
|| form == QLocaleData::DFExponentTRUE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 2237 times by 20 testsEvaluated 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
|
) { | 17-107436 |
65 | mode = double_conversion::DoubleToStringConverter::PRECISION; | - |
66 | }executed 107453 times by 36 tests: end of block Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- ...
else { | 107453 |
67 | mode = double_conversion::DoubleToStringConverter::FIXED; | - |
68 | }executed 2237 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
| 2237 |
69 | double_conversion::DoubleToStringConverter::DoubleToAscii(d, mode, precision, buf, bufSize, | - |
70 | &sign, &length, &decpt); | - |
71 | while (length > 1TRUE | evaluated 159154 times by 50 testsEvaluated 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_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- ...
| FALSE | evaluated 61145 times by 46 testsEvaluated by:- tst_QAccessibility
- tst_QBrush
- 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_QLCDNumber
- tst_QOpenGlConfig
- ...
|
&& buf[length - 1] == '0'TRUE | evaluated 110465 times by 35 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- 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_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
| FALSE | evaluated 48689 times by 43 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- ...
|
) | 48689-159154 |
72 | --executed 110465 times by 35 tests: --length; Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- 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_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
length;executed 110465 times by 35 tests: --length; Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- 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_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
| 110465 |
73 | }executed 109834 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_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
- ...
| 109834 |
74 | | - |
75 | double asciiToDouble(const char *num, int numLen, bool &ok, int &processed, | - |
76 | TrailingJunkMode trailingJunkMode) | - |
77 | { | - |
78 | if (*TRUE | never evaluated | FALSE | evaluated 4198 times by 28 testsEvaluated 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
- ...
|
num == '\0'TRUE | never evaluated | FALSE | evaluated 4198 times by 28 testsEvaluated 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-4198 |
79 | ok = false; | - |
80 | processed = 0; | - |
81 | return never executed: return 0.0; 0.0;never executed: return 0.0; | 0 |
82 | } | - |
83 | | - |
84 | ok = true; | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | if (qstrcmp(num, "nan") == 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 4191 times by 28 testsEvaluated 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-4191 |
90 | processed = 3; | - |
91 | returnexecuted 7 times by 1 test: return qt_snan(); qt_snan();executed 7 times by 1 test: return qt_snan(); | 7 |
92 | } else if ((num[0] == '-'TRUE | evaluated 404 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 3787 times by 28 testsEvaluated 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
- ...
|
|| num[0] == '+'TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QString
| FALSE | evaluated 3777 times by 28 testsEvaluated 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
- ...
|
) && qstrcmp(num + 1, "nan") == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 412 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
) { | 2-3787 |
93 | processed = 0; | - |
94 | ok = false; | - |
95 | returnexecuted 2 times by 1 test: return 0.0; 0.0;executed 2 times by 1 test: return 0.0; | 2 |
96 | } | - |
97 | | - |
98 | | - |
99 | | - |
100 | if (qstrcmp(num, "+inf") == 0TRUE | evaluated 3 times by 1 test | FALSE | evaluated 4186 times by 28 testsEvaluated 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
- ...
|
) { | 3-4186 |
101 | processed = 4; | - |
102 | returnexecuted 3 times by 1 test: return qt_inf(); qt_inf();executed 3 times by 1 test: return qt_inf(); | 3 |
103 | } else if (qstrcmp(num, "inf") == 0TRUE | evaluated 6 times by 1 test | FALSE | evaluated 4180 times by 28 testsEvaluated 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
- ...
|
) { | 6-4180 |
104 | processed = 3; | - |
105 | returnexecuted 6 times by 1 test: return qt_inf(); qt_inf();executed 6 times by 1 test: return qt_inf(); | 6 |
106 | } else if (qstrcmp(num, "-inf") == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 4178 times by 28 testsEvaluated 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
- ...
|
) { | 2-4178 |
107 | processed = 4; | - |
108 | returnexecuted 2 times by 1 test: return -qt_inf(); -qt_inf();executed 2 times by 1 test: return -qt_inf(); | 2 |
109 | } | - |
110 | | - |
111 | double d = 0.0; | - |
112 | | - |
113 | int conv_flags = (TRUE | never evaluated | FALSE | evaluated 4178 times by 28 testsEvaluated 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
- ...
|
trailingJunkMode == TrailingJunkAllowed)TRUE | never evaluated | FALSE | evaluated 4178 times by 28 testsEvaluated 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-4178 |
114 | double_conversion::StringToDoubleConverter::ALLOW_TRAILING_JUNK : | - |
115 | double_conversion::StringToDoubleConverter::NO_FLAGS; | - |
116 | double_conversion::StringToDoubleConverter conv(conv_flags, 0.0, qt_snan(), 0, 0); | - |
117 | d = conv.StringToDouble(num, numLen, &processed); | - |
118 | | - |
119 | if (!qIsFinite(d)TRUE | evaluated 328 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| FALSE | evaluated 3850 times by 26 testsEvaluated 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
- ...
|
) { | 328-3850 |
120 | ok = false; | - |
121 | if (qIsNaN(d)TRUE | evaluated 328 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| FALSE | never evaluated |
) { | 0-328 |
122 | | - |
123 | processed = 0; | - |
124 | returnexecuted 328 times by 11 tests: return 0.0; Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
0.0;executed 328 times by 11 tests: return 0.0; Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| 328 |
125 | } else { | - |
126 | | - |
127 | return never executed: return d; d;never executed: return d; | 0 |
128 | } | - |
129 | } | - |
130 | ((!(trailingJunkMode == TrailingJunkAllowed || processed == numLen)) ? qt_assert("trailingJunkMode == TrailingJunkAllowed || processed == numLen",__FILE__,364) : qt_noop()); | - |
131 | | - |
132 | | - |
133 | if (isZero(d)TRUE | evaluated 1182 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| FALSE | evaluated 2668 times by 26 testsEvaluated 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
- ...
|
) { | 1182-2668 |
134 | for (int i = 0; i < processedTRUE | evaluated 4553 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| FALSE | evaluated 1182 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
|
; ++i) { | 1182-4553 |
135 | if (num[i] >= '1'TRUE | never evaluated | FALSE | evaluated 4553 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
|
&& num[i] <= '9'TRUE | never evaluated | FALSE | never evaluated |
) { | 0-4553 |
136 | | - |
137 | ok = false; | - |
138 | return never executed: return 0.0; 0.0;never executed: return 0.0; | 0 |
139 | } else if (num[i] == 'e'TRUE | never evaluated | FALSE | evaluated 4553 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
|
) { | 0-4553 |
140 | break; never executed: break; | 0 |
141 | } | - |
142 | }executed 4553 times by 18 tests: end of block Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| 4553 |
143 | }executed 1182 times by 18 tests: end of block Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| 1182 |
144 | returnexecuted 3850 times by 26 tests: return d; 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
- ...
d;executed 3850 times by 26 tests: return d; 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
- ...
| 3850 |
145 | } | - |
146 | | - |
147 | unsigned long long | - |
148 | qstrtoull(const char * nptr, const char **endptr, int base, bool *ok) | - |
149 | { | - |
150 | | - |
151 | | - |
152 | | - |
153 | const char *begin = nptr; | - |
154 | while (ascii_isspace(*begin)TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QUrl
- tst_QVersionNumber
| FALSE | evaluated 108198 times by 84 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- ...
|
) | 3-108198 |
155 | ++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 |
156 | if (*TRUE | evaluated 77 times by 10 testsEvaluated by:- tst_QDate
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QVersionNumber
| FALSE | evaluated 108121 times by 84 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- ...
|
begin == '-'TRUE | evaluated 77 times by 10 testsEvaluated by:- tst_QDate
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QVersionNumber
| FALSE | evaluated 108121 times by 84 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- ...
|
) { | 77-108121 |
157 | *ok = false; | - |
158 | returnexecuted 77 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 77 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
| 77 |
159 | } | - |
160 | | - |
161 | *ok = true; | - |
162 | (*__errno_location ()) = 0; | - |
163 | char *endptr2 = 0; | - |
164 | unsigned long long result = qt_strtoull(nptr, &endptr2, base); | - |
165 | if (endptrTRUE | evaluated 108121 times by 84 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- ...
| FALSE | never evaluated |
) | 0-108121 |
166 | *executed 108121 times by 84 tests: *endptr = endptr2; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- ...
endptr = endptr2;executed 108121 times by 84 tests: *endptr = endptr2; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- ...
| 108121 |
167 | if ((result == 0TRUE | evaluated 46394 times by 65 testsEvaluated 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
- ...
| FALSE | evaluated 61727 times by 70 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
|| result == std::numeric_limits<unsigned long long>::max()TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QVersionNumber
| FALSE | evaluated 61709 times by 70 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
|
) | 18-61727 |
168 | && ((*TRUE | evaluated 36779 times by 48 testsEvaluated 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
- ...
| FALSE | evaluated 9633 times by 43 testsEvaluated 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 ())TRUE | evaluated 36779 times by 48 testsEvaluated 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
- ...
| FALSE | evaluated 9633 times by 43 testsEvaluated 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 == nptrTRUE | never evaluated | FALSE | evaluated 9633 times by 43 testsEvaluated 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-36779 |
169 | *ok = false; | - |
170 | returnexecuted 36779 times by 48 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 36779 times by 48 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
- ...
| 36779 |
171 | } | - |
172 | returnexecuted 71342 times by 70 tests: return result; Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
result;executed 71342 times by 70 tests: return result; Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFile
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- ...
| 71342 |
173 | } | - |
174 | | - |
175 | long long | - |
176 | qstrtoll(const char * nptr, const char **endptr, int base, bool *ok) | - |
177 | { | - |
178 | *ok = true; | - |
179 | (*__errno_location ()) = 0; | - |
180 | char *endptr2 = 0; | - |
181 | long long result = qt_strtoll(nptr, &endptr2, base); | - |
182 | if (endptrTRUE | evaluated 355844 times by 105 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| FALSE | evaluated 43 times by 2 testsEvaluated by:- tst_QGestureRecognizer
- tst_QGetPutEnv
|
) | 43-355844 |
183 | *executed 355844 times by 105 tests: *endptr = endptr2; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
endptr = endptr2;executed 355844 times by 105 tests: *endptr = endptr2; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| 355844 |
184 | if ((result == 0TRUE | evaluated 9959 times by 49 testsEvaluated 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
- ...
| FALSE | evaluated 345928 times by 104 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGLBuffer
- ...
|
|| result == std::numeric_limits<long long>::min()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| FALSE | evaluated 345922 times by 104 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGLBuffer
- ...
|
| 6-345928 |
185 | || result == std::numeric_limits<long long>::max()TRUE | evaluated 13 times by 3 testsEvaluated by:- tst_QIntValidator
- tst_QString
- tst_QStringRef
| FALSE | evaluated 345909 times by 104 testsEvaluated by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGLBuffer
- ...
|
) | 13-345909 |
186 | && ((*TRUE | evaluated 201 times by 19 testsEvaluated 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
| FALSE | evaluated 9777 times by 42 testsEvaluated 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 ())TRUE | evaluated 201 times by 19 testsEvaluated 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
| FALSE | evaluated 9777 times by 42 testsEvaluated 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 == endptr2TRUE | never evaluated | FALSE | evaluated 9777 times by 42 testsEvaluated 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-9777 |
187 | *ok = false; | - |
188 | returnexecuted 201 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 201 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
| 201 |
189 | } | - |
190 | returnexecuted 355686 times by 105 tests: return result; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
result;executed 355686 times by 105 tests: return result; Executed by:- tst_Collections
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- 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_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| 355686 |
191 | } | - |
192 | | - |
193 | QString qulltoa(qulonglong l, int base, const QChar _zero) | - |
194 | { | - |
195 | ushort buff[65]; | - |
196 | ushort *p = buff + 65; | - |
197 | | - |
198 | if (base != 10TRUE | evaluated 26388 times by 96 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 4981420 times by 456 testsEvaluated 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'TRUE | evaluated 4981409 times by 456 testsEvaluated 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
- ...
| FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QProgressBar
- tst_QString
|
) { | 11-4981420 |
199 | while (l != 0TRUE | evaluated 10051446 times by 319 testsEvaluated 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
- ...
| FALSE | evaluated 5007797 times by 467 testsEvaluated 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
- ...
|
) { | 5007797-10051446 |
200 | int c = l % base; | - |
201 | | - |
202 | --p; | - |
203 | | - |
204 | if (c < 10TRUE | evaluated 9991798 times by 319 testsEvaluated 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
- ...
| FALSE | evaluated 59648 times by 90 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- ...
|
) | 59648-9991798 |
205 | *executed 9991798 times by 319 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 9991798 times by 319 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
- ...
| 9991798 |
206 | else | - |
207 | *executed 59648 times by 90 tests: *p = c - 10 + 'a'; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- ...
p = c - 10 + 'a';executed 59648 times by 90 tests: *p = c - 10 + 'a'; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QBrush
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDataStream
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- ...
| 59648 |
208 | | - |
209 | l /= base; | - |
210 | }executed 10051446 times by 319 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
- ...
| 10051446 |
211 | }executed 5007797 times by 467 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
- ...
| 5007797 |
212 | else { | - |
213 | while (l != 0TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_QProgressBar
- tst_QString
| FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QProgressBar
- tst_QString
|
) { | 11-32 |
214 | int c = l % base; | - |
215 | | - |
216 | *(--p) = _zero.unicode() + c; | - |
217 | | - |
218 | l /= base; | - |
219 | }executed 32 times by 2 tests: end of block Executed by:- tst_QProgressBar
- tst_QString
| 32 |
220 | }executed 11 times by 2 tests: end of block Executed by:- tst_QProgressBar
- tst_QString
| 11 |
221 | | - |
222 | returnexecuted 5007808 times by 467 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 5007808 times by 467 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
- ...
| 5007808 |
223 | } | - |
224 | | - |
225 | QString qlltoa(qlonglong l, int base, const QChar zero) | - |
226 | { | - |
227 | returnexecuted 4942476 times by 439 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 4942476 times by 439 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
- ...
| 4942476 |
228 | } | - |
229 | | - |
230 | QString &decimalForm(QChar zero, QChar decimal, QChar group, | - |
231 | QString &digits, int decpt, int precision, | - |
232 | PrecisionMode pm, | - |
233 | bool always_show_decpt, | - |
234 | bool thousands_group) | - |
235 | { | - |
236 | if (decpt < 0TRUE | evaluated 18518 times by 5 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| FALSE | evaluated 84964 times by 54 testsEvaluated 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
- ...
|
) { | 18518-84964 |
237 | for (int i = 0; i < -decptTRUE | evaluated 46372 times by 5 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| FALSE | evaluated 18518 times by 5 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
|
; ++i) | 18518-46372 |
238 | digits.prepend(zero);executed 46372 times by 5 tests: digits.prepend(zero); Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| 46372 |
239 | decpt = 0; | - |
240 | }executed 18518 times by 5 tests: end of block Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| 18518 |
241 | else if (decpt > digits.length()TRUE | evaluated 983 times by 20 testsEvaluated 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
| FALSE | evaluated 83981 times by 54 testsEvaluated 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
- ...
|
) { | 983-83981 |
242 | for (int i = digits.length(); i < decptTRUE | evaluated 2314 times by 20 testsEvaluated 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
| FALSE | evaluated 983 times by 20 testsEvaluated 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) | 983-2314 |
243 | digits.append(zero);executed 2314 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
| 2314 |
244 | }executed 983 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
| 983 |
245 | | - |
246 | if (pm == PMDecimalDigitsTRUE | evaluated 2237 times by 20 testsEvaluated 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
| FALSE | evaluated 101245 times by 42 testsEvaluated 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
- ...
|
) { | 2237-101245 |
247 | uint decimal_digits = digits.length() - decpt; | - |
248 | for (int i = decimal_digits; i < precisionTRUE | evaluated 9836 times by 18 testsEvaluated 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
| FALSE | evaluated 2237 times by 20 testsEvaluated 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) | 2237-9836 |
249 | digits.append(zero);executed 9836 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
| 9836 |
250 | }executed 2237 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
| 2237 |
251 | else if (pm == PMSignificantDigitsTRUE | evaluated 2386 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 98859 times by 42 testsEvaluated 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-98859 |
252 | for (int i = digits.length(); i < precisionTRUE | evaluated 7938 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 2386 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
|
; ++i) | 2386-7938 |
253 | digits.append(zero);executed 7938 times by 2 tests: digits.append(zero); Executed by:- tst_QString
- tst_QTextStream
| 7938 |
254 | }executed 2386 times by 2 tests: end of block Executed by:- tst_QString
- tst_QTextStream
| 2386 |
255 | else { | - |
256 | }executed 98859 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
- ...
| 98859 |
257 | | - |
258 | if (always_show_decptTRUE | evaluated 2388 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 101094 times by 54 testsEvaluated 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()TRUE | evaluated 47695 times by 34 testsEvaluated 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
- ...
| FALSE | evaluated 53399 times by 37 testsEvaluated 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-101094 |
259 | digits.insert(decpt, decimal);executed 50083 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
- ...
| 50083 |
260 | | - |
261 | if (thousands_groupTRUE | evaluated 5369 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QString
- tst_QTextStream
| FALSE | evaluated 98113 times by 49 testsEvaluated 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
- ...
|
) { | 5369-98113 |
262 | for (int i = decpt - 3; i > 0TRUE | evaluated 2234 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTextStream
| FALSE | evaluated 5369 times by 11 testsEvaluated 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-5369 |
263 | digits.insert(i, group);executed 2234 times by 3 tests: digits.insert(i, group); Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTextStream
| 2234 |
264 | }executed 5369 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
| 5369 |
265 | | - |
266 | if (decpt == 0TRUE | evaluated 45893 times by 13 testsEvaluated 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
| FALSE | evaluated 57589 times by 53 testsEvaluated 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
- ...
|
) | 45893-57589 |
267 | digits.prepend(zero);executed 45893 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
| 45893 |
268 | | - |
269 | returnexecuted 103482 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 103482 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
- ...
| 103482 |
270 | } | - |
271 | | - |
272 | QString &exponentForm(QChar zero, QChar decimal, QChar exponential, | - |
273 | QChar group, QChar plus, QChar minus, | - |
274 | QString &digits, int decpt, int precision, | - |
275 | PrecisionMode pm, | - |
276 | bool always_show_decpt, | - |
277 | bool leading_zero_in_exponent) | - |
278 | { | - |
279 | int exp = decpt - 1; | - |
280 | | - |
281 | if (pm == PMDecimalDigitsTRUE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 6335 times by 5 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
|
) { | 17-6335 |
282 | for (int i = digits.length(); i < precision + 1TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
|
; ++i) | 16-17 |
283 | digits.append(zero);executed 16 times by 3 tests: digits.append(zero); Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 16 |
284 | }executed 17 times by 3 tests: end of block Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
285 | else if (pm == PMSignificantDigitsTRUE | evaluated 2224 times by 1 test | FALSE | evaluated 4111 times by 5 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
|
) { | 2224-4111 |
286 | for (int i = digits.length(); i < precisionTRUE | evaluated 1920 times by 1 test | FALSE | evaluated 2224 times by 1 test |
; ++i) | 1920-2224 |
287 | digits.append(zero);executed 1920 times by 1 test: digits.append(zero); | 1920 |
288 | }executed 2224 times by 1 test: end of block | 2224 |
289 | else { | - |
290 | }executed 4111 times by 5 tests: end of block Executed by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
| 4111 |
291 | | - |
292 | if (always_show_decptTRUE | evaluated 2226 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 4126 times by 6 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
|| digits.length() > 1TRUE | evaluated 2805 times by 5 testsEvaluated by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 1321 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
|
) | 1321-4126 |
293 | 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 |
294 | | - |
295 | digits.append(exponential); | - |
296 | digits.append(QLocaleData::longLongToString(zero, group, plus, minus, | - |
297 | exp, leading_zero_in_exponent ? 2 : 1, 10, -1, QLocaleData::AlwaysShowSign)); | - |
298 | | - |
299 | returnexecuted 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 |
300 | } | - |
301 | | - |
302 | double qstrtod(const char *s00, const char **se, bool *ok) | - |
303 | { | - |
304 | const int len = static_cast<int>(strlen(s00)); | - |
305 | ((!(len >= 0)) ? qt_assert("len >= 0",__FILE__,539) : qt_noop()); | - |
306 | return never executed: return qstrntod(s00, len, se, ok); qstrntod(s00, len, se, ok);never executed: return qstrntod(s00, len, se, ok); | 0 |
307 | } | - |
308 | | - |
309 | | - |
310 | | - |
311 | | - |
312 | | - |
313 | | - |
314 | double qstrntod(const char *s00, int len, const char **se, bool *ok) | - |
315 | { | - |
316 | int processed = 0; | - |
317 | bool nonNullOk = false; | - |
318 | double d = asciiToDouble(s00, len, nonNullOk, processed, TrailingJunkAllowed); | - |
319 | if (seTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
320 | * never executed: *se = s00 + processed; se = s00 + processed;never executed: *se = s00 + processed; | 0 |
321 | if (okTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
322 | * never executed: *ok = nonNullOk; ok = nonNullOk;never executed: *ok = nonNullOk; | 0 |
323 | return never executed: return d; d;never executed: return d; | 0 |
324 | } | - |
325 | | - |
326 | QString qdtoa(qreal d, int *decpt, int *sign) | - |
327 | { | - |
328 | bool nonNullSign = false; | - |
329 | int nonNullDecpt = 0; | - |
330 | int length = 0; | - |
331 | | - |
332 | | - |
333 | char result[QLocaleData::DoubleMaxSignificant + 1]; | - |
334 | doubleToAscii(d, QLocaleData::DFSignificantDigits, QLocale::FloatingPointShortest, result, | - |
335 | QLocaleData::DoubleMaxSignificant + 1, nonNullSign, length, nonNullDecpt); | - |
336 | | - |
337 | if (signTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
338 | * never executed: *sign = nonNullSign ? 1 : 0; sign = nonNullSignTRUE | never evaluated | FALSE | never evaluated |
? 1 : 0;never executed: *sign = nonNullSign ? 1 : 0; | 0 |
339 | if (decptTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
340 | * never executed: *decpt = nonNullDecpt; decpt = nonNullDecpt;never executed: *decpt = nonNullDecpt; | 0 |
341 | | - |
342 | return never executed: return QLatin1String(result, length); QLatin1String(result, length);never executed: return QLatin1String(result, length); | 0 |
343 | } | - |
344 | | - |
345 | | - |
| | |