qdbusutil.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10static inline bool isValidCharacterNoDash(QChar c)-
11{-
12 ushort u = c.unicode();-
13 return
executed 181761 times by 181 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
(u >= 'a' && u <= 'z')
executed 181761 times by 181 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
181761
14 || (u >= 'A' && u <= 'Z')
executed 181761 times by 181 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
181761
15 || (u >= '0' && u <= '9')
executed 181761 times by 181 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
181761
16 || (u == '_');
executed 181761 times by 181 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
181761
17}-
18-
19static inline bool isValidCharacter(QChar c)-
20{-
21 ushort u = c.unicode();-
22 return
executed 47895 times by 160 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_') || (u == '-');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
(u >= 'a' && u <= 'z')
executed 47895 times by 160 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_') || (u == '-');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
47895
23 || (u >= 'A' && u <= 'Z')
executed 47895 times by 160 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_') || (u == '-');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
47895
24 || (u >= '0' && u <= '9')
executed 47895 times by 160 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_') || (u == '-');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
47895
25 || (u == '_') || (u == '-');
executed 47895 times by 160 tests: return (u >= 'a' && u <= 'z') || (u >= 'A' && u <= 'Z') || (u >= '0' && u <= '9') || (u == '_') || (u == '-');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
47895
26}-
27-
28static inline bool isValidNumber(QChar c)-
29{-
30 ushort u = c.unicode();-
31 return
executed 22951 times by 181 tests: return (u >= '0' && u <= '9');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
(u >= '0' && u <= '9');
executed 22951 times by 181 tests: return (u >= '0' && u <= '9');
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
22951
32}-
33-
34-
35static bool argToString(const QDBusArgument &arg, QString &out);-
36-
37static bool variantToString(const QVariant &arg, QString &out)-
38{-
39 int argType = arg.userType();-
40-
41 if (argType == QVariant::StringList
argType == QVa...nt::StringListDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 599 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
9-599
42 out += QLatin1Char('{');-
43 const QStringList list = arg.toStringList();-
44 for (const QString &item : list)-
45 out += QLatin1Char('\"') + item + QLatin1String("\", ");
executed 14 times by 1 test: out += QLatin1Char('\"') + item + QLatin1String("\", ");
Executed by:
  • tst_qdbusmarshall - unknown status
14
46 if (!list.isEmpty()
!list.isEmpty()Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
3-6
47 out.chop(2);
executed 6 times by 1 test: out.chop(2);
Executed by:
  • tst_qdbusmarshall - unknown status
6
48 out += QLatin1Char('}');-
49 }
executed 9 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == QVariant::ByteArray
argType == QVariant::ByteArrayDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 582 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
9-582
50 out += QLatin1Char('{');-
51 QByteArray list = arg.toByteArray();-
52 for (int i = 0; i < list.count()
i < list.count()Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 17 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
; ++i) {
17-49
53 out += QString::number(list.at(i));-
54 out += QLatin1String(", ");-
55 }
executed 49 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
49
56 if (!list.isEmpty()
!list.isEmpty()Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
6-11
57 out.chop(2);
executed 11 times by 1 test: out.chop(2);
Executed by:
  • tst_qdbusmarshall - unknown status
11
58 out += QLatin1Char('}');-
59 }
executed 17 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == QVariant::List
argType == QVariant::ListDescription
TRUEnever evaluated
FALSEevaluated 582 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
0-582
60 out += QLatin1Char('{');-
61 const QList<QVariant> list = arg.toList();-
62 for (const QVariant &item : list) {-
63 if (!variantToString(item, out)
!variantToString(item, out)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
64 return
never executed: return false;
false;
never executed: return false;
0
65 out += QLatin1String(", ");-
66 }
never executed: end of block
0
67 if (!list.isEmpty()
!list.isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
68 out.chop(2);
never executed: out.chop(2);
0
69 out += QLatin1Char('}');-
70 }
never executed: end of block
else if (argType == QMetaType::Char
argType == QMetaType::CharDescription
TRUEnever evaluated
FALSEevaluated 582 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| argType == QMetaType::Short
argType == QMetaType::ShortDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 562 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| argType == QMetaType::Int
argType == QMetaType::IntDescription
TRUEevaluated 179 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 383 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
0-582
71 || argType == QMetaType::Long
argType == QMetaType::LongDescription
TRUEnever evaluated
FALSEevaluated 383 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| argType == QMetaType::LongLong
argType == QMetaType::LongLongDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 366 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
0-383
72 out += QString::number(arg.toLongLong());-
73 }
executed 216 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == QMetaType::UChar
argType == QMetaType::UCharDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 365 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| argType == QMetaType::UShort
argType == QMetaType::UShortDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 354 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| argType == QMetaType::UInt
argType == QMetaType::UIntDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 338 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
1-365
74 || argType == QMetaType::ULong
argType == QMetaType::ULongDescription
TRUEnever evaluated
FALSEevaluated 338 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| argType == QMetaType::ULongLong
argType == QMe...ype::ULongLongDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 329 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
0-338
75 out += QString::number(arg.toULongLong());-
76 }
executed 37 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == QMetaType::Double
argType == QMetaType::DoubleDescription
TRUEevaluated 29 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 300 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
29-300
77 out += QString::number(arg.toDouble());-
78 }
executed 29 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == QMetaType::Bool
argType == QMetaType::BoolDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 290 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
10-290
79 out += QLatin1String(arg.toBool() ? "true" : "false");-
80 }
executed 10 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == qMetaTypeId<QDBusArgument>()
argType == qMe...BusArgument>()Description
TRUEevaluated 105 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 185 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
10-185
81 argToString(qvariant_cast<QDBusArgument>(arg), out);-
82 }
executed 105 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == qMetaTypeId<QDBusObjectPath>()
argType == qMe...sObjectPath>()Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 175 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
10-175
83 const QString path = qvariant_cast<QDBusObjectPath>(arg).path();-
84 out += QLatin1String("[ObjectPath: ");-
85 out += path;-
86 out += QLatin1Char(']');-
87 }
executed 10 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == qMetaTypeId<QDBusSignature>()
argType == qMe...usSignature>()Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 164 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
10-164
88 out += QLatin1String("[Signature: ") + qvariant_cast<QDBusSignature>(arg).signature();-
89 out += QLatin1Char(']');-
90 }
executed 11 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == qMetaTypeId<QDBusUnixFileDescriptor>()
argType == qMe...eDescriptor>()Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 158 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
6-158
91 out += QLatin1String("[Unix FD: ");-
92 out += QLatin1String(qvariant_cast<QDBusUnixFileDescriptor>(arg).isValid() ? "valid" : "not valid");-
93 out += QLatin1Char(']');-
94 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (argType == qMetaTypeId<QDBusVariant>()
argType == qMe...DBusVariant>()Description
TRUEevaluated 64 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 94 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
6-94
95 const QVariant v = qvariant_cast<QDBusVariant>(arg).variant();-
96 out += QLatin1String("[Variant");-
97 int vUserType = v.userType();-
98 if (vUserType != qMetaTypeId<QDBusVariant>()
vUserType != q...DBusVariant>()Description
TRUEevaluated 60 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
4-60
99 && vUserType != qMetaTypeId<QDBusSignature>()
vUserType != q...usSignature>()Description
TRUEevaluated 59 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
1-59
100 && vUserType != qMetaTypeId<QDBusObjectPath>()
vUserType != q...sObjectPath>()Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
1-58
101 && vUserType != qMetaTypeId<QDBusArgument>()
vUserType != q...BusArgument>()Description
TRUEevaluated 45 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
13-45
102 out += QLatin1Char('(') + QLatin1String(v.typeName()) + QLatin1Char(')');
executed 45 times by 1 test: out += QLatin1Char('(') + QLatin1String(v.typeName()) + QLatin1Char(')');
Executed by:
  • tst_qdbusmarshall - unknown status
45
103 out += QLatin1String(": ");-
104 if (!variantToString(v, out)
!variantToString(v, out)Description
TRUEnever evaluated
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
0-64
105 return
never executed: return false;
false;
never executed: return false;
0
106 out += QLatin1Char(']');-
107 }
executed 64 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else if (arg.canConvert(QVariant::String)
arg.canConvert...riant::String)Description
TRUEevaluated 94 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever evaluated
) {
0-94
108 out += QLatin1Char('\"') + arg.toString() + QLatin1Char('\"');-
109 }
executed 94 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
else {
94
110 out += QLatin1Char('[');-
111 out += QLatin1String(arg.typeName());-
112 out += QLatin1Char(']');-
113 }
never executed: end of block
0
114-
115 return
executed 608 times by 1 test: return true;
Executed by:
  • tst_qdbusmarshall - unknown status
true;
executed 608 times by 1 test: return true;
Executed by:
  • tst_qdbusmarshall - unknown status
608
116}-
117-
118bool argToString(const QDBusArgument &busArg, QString &out)-
119{-
120 QString busSig = busArg.currentSignature();-
121 bool doIterate = false;-
122 QDBusArgument::ElementType elementType = busArg.currentType();-
123-
124 if (elementType != QDBusArgument::BasicType
elementType !=...ent::BasicTypeDescription
TRUEevaluated 341 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 290 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
&& elementType != QDBusArgument::VariantType
elementType !=...t::VariantTypeDescription
TRUEevaluated 281 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 60 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
60-341
125 && elementType != QDBusArgument::MapEntryType
elementType !=...::MapEntryTypeDescription
TRUEevaluated 202 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
79-202
126 out += QLatin1String("[Argument: ") + busSig + QLatin1Char(' ');
executed 202 times by 1 test: out += QLatin1String("[Argument: ") + busSig + QLatin1Char(' ');
Executed by:
  • tst_qdbusmarshall - unknown status
202
127-
128 switch (elementType) {-
129 case
executed 290 times by 1 test: case QDBusArgument::BasicType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::BasicType:
executed 290 times by 1 test: case QDBusArgument::BasicType:
Executed by:
  • tst_qdbusmarshall - unknown status
290
130 case
executed 60 times by 1 test: case QDBusArgument::VariantType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::VariantType:
executed 60 times by 1 test: case QDBusArgument::VariantType:
Executed by:
  • tst_qdbusmarshall - unknown status
60
131 if (!variantToString(busArg.asVariant(), out)
!variantToStri...ariant(), out)Description
TRUEnever evaluated
FALSEevaluated 350 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
0-350
132 return
never executed: return false;
false;
never executed: return false;
0
133 break;
executed 350 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
350
134 case
executed 68 times by 1 test: case QDBusArgument::StructureType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::StructureType:
executed 68 times by 1 test: case QDBusArgument::StructureType:
Executed by:
  • tst_qdbusmarshall - unknown status
68
135 busArg.beginStructure();-
136 doIterate = true;-
137 break;
executed 68 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
68
138 case
executed 108 times by 1 test: case QDBusArgument::ArrayType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::ArrayType:
executed 108 times by 1 test: case QDBusArgument::ArrayType:
Executed by:
  • tst_qdbusmarshall - unknown status
108
139 busArg.beginArray();-
140 out += QLatin1Char('{');-
141 doIterate = true;-
142 break;
executed 108 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
108
143 case
executed 26 times by 1 test: case QDBusArgument::MapType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::MapType:
executed 26 times by 1 test: case QDBusArgument::MapType:
Executed by:
  • tst_qdbusmarshall - unknown status
26
144 busArg.beginMap();-
145 out += QLatin1Char('{');-
146 doIterate = true;-
147 break;
executed 26 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
26
148 case
executed 79 times by 1 test: case QDBusArgument::MapEntryType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::MapEntryType:
executed 79 times by 1 test: case QDBusArgument::MapEntryType:
Executed by:
  • tst_qdbusmarshall - unknown status
79
149 busArg.beginMapEntry();-
150 if (!variantToString(busArg.asVariant(), out)
!variantToStri...ariant(), out)Description
TRUEnever evaluated
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
0-79
151 return
never executed: return false;
false;
never executed: return false;
0
152 out += QLatin1String(" = ");-
153 if (!argToString(busArg, out)
!argToString(busArg, out)Description
TRUEnever evaluated
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
0-79
154 return
never executed: return false;
false;
never executed: return false;
0
155 busArg.endMapEntry();-
156 break;
executed 79 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
79
157 case
never executed: case QDBusArgument::UnknownType:
QDBusArgument::UnknownType:
never executed: case QDBusArgument::UnknownType:
0
158 default
never executed: default:
:
never executed: default:
0
159 out += QLatin1String("<ERROR - Unknown Type>");-
160 return
never executed: return false;
false;
never executed: return false;
0
161 }-
162 if (doIterate
doIterateDescription
TRUEevaluated 202 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 429 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
&& !busArg.atEnd()
!busArg.atEnd()Description
TRUEevaluated 144 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 58 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
58-429
163 while (!busArg.atEnd()
!busArg.atEnd()Description
TRUEevaluated 447 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 144 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
144-447
164 if (!argToString(busArg, out)
!argToString(busArg, out)Description
TRUEnever evaluated
FALSEevaluated 447 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
0-447
165 return
never executed: return false;
false;
never executed: return false;
0
166 out += QLatin1String(", ");-
167 }
executed 447 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
447
168 out.chop(2);-
169 }
executed 144 times by 1 test: end of block
Executed by:
  • tst_qdbusmarshall - unknown status
144
170 switch (elementType) {-
171 case
executed 290 times by 1 test: case QDBusArgument::BasicType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::BasicType:
executed 290 times by 1 test: case QDBusArgument::BasicType:
Executed by:
  • tst_qdbusmarshall - unknown status
290
172 case
executed 60 times by 1 test: case QDBusArgument::VariantType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::VariantType:
executed 60 times by 1 test: case QDBusArgument::VariantType:
Executed by:
  • tst_qdbusmarshall - unknown status
60
173 case
never executed: case QDBusArgument::UnknownType:
QDBusArgument::UnknownType:
never executed: case QDBusArgument::UnknownType:
0
174 case
executed 79 times by 1 test: case QDBusArgument::MapEntryType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::MapEntryType:
executed 79 times by 1 test: case QDBusArgument::MapEntryType:
Executed by:
  • tst_qdbusmarshall - unknown status
79
175-
176 break;
executed 429 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
429
177 case
executed 68 times by 1 test: case QDBusArgument::StructureType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::StructureType:
executed 68 times by 1 test: case QDBusArgument::StructureType:
Executed by:
  • tst_qdbusmarshall - unknown status
68
178 busArg.endStructure();-
179 break;
executed 68 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
68
180 case
executed 108 times by 1 test: case QDBusArgument::ArrayType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::ArrayType:
executed 108 times by 1 test: case QDBusArgument::ArrayType:
Executed by:
  • tst_qdbusmarshall - unknown status
108
181 out += QLatin1Char('}');-
182 busArg.endArray();-
183 break;
executed 108 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
108
184 case
executed 26 times by 1 test: case QDBusArgument::MapType:
Executed by:
  • tst_qdbusmarshall - unknown status
QDBusArgument::MapType:
executed 26 times by 1 test: case QDBusArgument::MapType:
Executed by:
  • tst_qdbusmarshall - unknown status
26
185 out += QLatin1Char('}');-
186 busArg.endMap();-
187 break;
executed 26 times by 1 test: break;
Executed by:
  • tst_qdbusmarshall - unknown status
26
188 }-
189-
190 if (elementType != QDBusArgument::BasicType
elementType !=...ent::BasicTypeDescription
TRUEevaluated 341 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 290 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
&& elementType != QDBusArgument::VariantType
elementType !=...t::VariantTypeDescription
TRUEevaluated 281 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 60 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
60-341
191 && elementType != QDBusArgument::MapEntryType
elementType !=...::MapEntryTypeDescription
TRUEevaluated 202 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
)
79-202
192 out += QLatin1Char(']');
executed 202 times by 1 test: out += QLatin1Char(']');
Executed by:
  • tst_qdbusmarshall - unknown status
202
193-
194 return
executed 631 times by 1 test: return true;
Executed by:
  • tst_qdbusmarshall - unknown status
true;
executed 631 times by 1 test: return true;
Executed by:
  • tst_qdbusmarshall - unknown status
631
195}-
196-
197-
198-
199static const char oneLetterTypes[] = "vsogybnqiuxtdh";-
200static const char basicTypes[] = "sogybnqiuxtdh";-
201static const char fixedTypes[] = "ybnqiuxtdh";-
202-
203static bool isBasicType(int c)-
204{-
205 return
executed 2506 times by 33 tests: return c != ((int) '\0') && strchr(basicTypes, c) != __null;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
c != ((int) '\0') && strchr(basicTypes, c) != __null;
executed 2506 times by 33 tests: return c != ((int) '\0') && strchr(basicTypes, c) != __null;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
2506
206}-
207-
208static bool isFixedType(int c)-
209{-
210 return
executed 216 times by 3 tests: return c != ((int) '\0') && strchr(fixedTypes, c) != __null;
Executed by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
c != ((int) '\0') && strchr(fixedTypes, c) != __null;
executed 216 times by 3 tests: return c != ((int) '\0') && strchr(fixedTypes, c) != __null;
Executed by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
216
211}-
212-
213-
214-
215static const char *validateSingleType(const char *signature)-
216{-
217 char c = *signature;-
218 if (c == ((int) '\0')
c == ((int) '\0')Description
TRUEevaluated 32 times by 3 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
FALSEevaluated 9526 times by 35 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
)
32-9526
219 return
executed 32 times by 3 tests: return 0;
Executed by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
0;
executed 32 times by 3 tests: return 0;
Executed by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
32
220-
221-
222 if (strchr(oneLetterTypes, c) != __null
strchr(oneLett..., c) != __nullDescription
TRUEevaluated 6353 times by 35 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
FALSEevaluated 3173 times by 35 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
)
3173-6353
223 return
executed 6353 times by 35 tests: return signature + 1;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
signature + 1;
executed 6353 times by 35 tests: return signature + 1;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
6353
224-
225-
226 if (c == ((int) 'a')
c == ((int) 'a')Description
TRUEevaluated 1790 times by 35 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
FALSEevaluated 1383 times by 28 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • ...
) {
1383-1790
227-
228-
229 c = *++signature;-
230 if (c == ((int) '{')
c == ((int) '{')Description
TRUEevaluated 581 times by 33 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
FALSEevaluated 1209 times by 35 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
) {
581-1209
231-
232-
233-
234 c = *++signature;-
235 if (!isBasicType(c)
!isBasicType(c)Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_qdbustype - unknown status
FALSEevaluated 565 times by 33 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
)
16-565
236 return
executed 16 times by 1 test: return 0;
Executed by:
  • tst_qdbustype - unknown status
0;
executed 16 times by 1 test: return 0;
Executed by:
  • tst_qdbustype - unknown status
16
237 signature = validateSingleType(signature + 1);-
238 return
executed 565 times by 33 tests: return signature && *signature == ((int) '}') ? signature + 1 : 0;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
signature && *signature == ((int) '}') ? signature + 1 : 0;
executed 565 times by 33 tests: return signature && *signature == ((int) '}') ? signature + 1 : 0;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
565
239 }-
240-
241 return
executed 1209 times by 35 tests: return validateSingleType(signature);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
validateSingleType(signature);
executed 1209 times by 35 tests: return validateSingleType(signature);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
1209
242 }-
243-
244 if (c == ((int) '(')
c == ((int) '(')Description
TRUEevaluated 1341 times by 26 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • ...
FALSEevaluated 42 times by 5 tests
Evaluated by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
  • tst_qdbusxmlparser - unknown status
) {
42-1341
245-
246 ++signature;-
247 while (true) {-
248 signature = validateSingleType(signature);-
249 if (!signature
!signatureDescription
TRUEevaluated 34 times by 2 tests
Evaluated by:
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
FALSEevaluated 3369 times by 26 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • ...
)
34-3369
250 return
executed 34 times by 2 tests: return 0;
Executed by:
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
0;
executed 34 times by 2 tests: return 0;
Executed by:
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
34
251 if (*
*signature == ((int) ')')Description
TRUEevaluated 1307 times by 26 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • ...
FALSEevaluated 2062 times by 25 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • tst_qdbusxml2cpp - unknown status
signature == ((int) ')')
*signature == ((int) ')')Description
TRUEevaluated 1307 times by 26 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • ...
FALSEevaluated 2062 times by 25 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • tst_qdbusxml2cpp - unknown status
)
1307-2062
252 return
executed 1307 times by 26 tests: return signature + 1;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • ...
signature + 1;
executed 1307 times by 26 tests: return signature + 1;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • ...
1307
253 }
executed 2062 times by 25 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
  • tst_qdbusxml2cpp - unknown status
2062
254 }
never executed: end of block
0
255-
256-
257 return
executed 42 times by 5 tests: return 0;
Executed by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
  • tst_qdbusxmlparser - unknown status
0;
executed 42 times by 5 tests: return 0;
Executed by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbustype - unknown status
  • tst_qdbusxmlparser - unknown status
42
258}-
259namespace QDBusUtil-
260{-
261-
262-
263-
264-
265-
266 QString argumentToString(const QVariant &arg)-
267 {-
268 QString out;-
269-
270-
271 variantToString(arg, out);-
272-
273-
274-
275-
276 return
executed 115 times by 1 test: return out;
Executed by:
  • tst_qdbusmarshall - unknown status
out;
executed 115 times by 1 test: return out;
Executed by:
  • tst_qdbusmarshall - unknown status
115
277 }-
278-
279-
280-
281-
282-
283-
284 bool isValidPartOfObjectPath(const QStringRef &part)-
285 {-
286 if (part.isEmpty()
part.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 10229 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-10229
287 return
never executed: return false;
false;
never executed: return false;
0
288-
289 const QChar *c = part.unicode();-
290 for (int i = 0; i < part.length()
i < part.length()Description
TRUEevaluated 63128 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
FALSEevaluated 10229 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
; ++i)
10229-63128
291 if (!isValidCharacterNoDash(c[i])
!isValidCharacterNoDash(c[i])Description
TRUEnever evaluated
FALSEevaluated 63128 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-63128
292 return
never executed: return false;
false;
never executed: return false;
0
293-
294 return
executed 10229 times by 161 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
true;
executed 10229 times by 161 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
10229
295 }-
296 bool isValidInterfaceName(const QString& ifaceName)-
297 {-
298 if (ifaceName.isEmpty()
ifaceName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 3572 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
|| ifaceName.length() > 255
ifaceName.length() > 255Description
TRUEnever evaluated
FALSEevaluated 3572 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-3572
299 return
never executed: return false;
false;
never executed: return false;
0
300-
301 const auto parts = ifaceName.splitRef(QLatin1Char('.'));-
302 if (parts.count() < 2
parts.count() < 2Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3571 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
1-3571
303 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_qdbusmarshall - unknown status
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_qdbusmarshall - unknown status
1
304-
305 for (const QStringRef &part : parts)-
306 if (!isValidMemberName(part)
!isValidMemberName(part)Description
TRUEnever evaluated
FALSEevaluated 13109 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-13109
307 return
never executed: return false;
false;
never executed: return false;
0
308-
309 return
executed 3571 times by 181 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
true;
executed 3571 times by 181 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
3571
310 }-
311 bool isValidUniqueConnectionName(const QStringRef &connName)-
312 {-
313 if (connName.isEmpty()
connName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 1148 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
|| connName.length() > 255
connName.length() > 255Description
TRUEnever evaluated
FALSEevaluated 1148 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
||
0-1148
314 !connName.startsWith(QLatin1Char(':'))
!connName.star...tin1Char(':'))Description
TRUEevaluated 799 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
FALSEevaluated 349 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
)
349-799
315 return
executed 799 times by 158 tests: return false;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
false;
executed 799 times by 158 tests: return false;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
799
316-
317 const auto parts = connName.mid(1).split(QLatin1Char('.'));-
318 if (parts.count() < 1
parts.count() < 1Description
TRUEnever evaluated
FALSEevaluated 349 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
)
0-349
319 return
never executed: return false;
false;
never executed: return false;
0
320-
321 for (const QStringRef &part : parts) {-
322 if (part.isEmpty()
part.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 698 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
)
0-698
323 return
never executed: return false;
false;
never executed: return false;
0
324-
325 const QChar* c = part.unicode();-
326 for (int j = 0; j < part.length()
j < part.length()Description
TRUEevaluated 1396 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
FALSEevaluated 698 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
; ++j)
698-1396
327 if (!isValidCharacter(c[j])
!isValidCharacter(c[j])Description
TRUEnever evaluated
FALSEevaluated 1396 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
)
0-1396
328 return
never executed: return false;
false;
never executed: return false;
0
329 }
executed 698 times by 12 tests: end of block
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
698
330-
331 return
executed 349 times by 12 tests: return true;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
true;
executed 349 times by 12 tests: return true;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
349
332 }-
333 bool isValidBusName(const QString &busName)-
334 {-
335 if (busName.isEmpty()
busName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 2238 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
|| busName.length() > 255
busName.length() > 255Description
TRUEnever evaluated
FALSEevaluated 2238 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-2238
336 return
never executed: return false;
false;
never executed: return false;
0
337-
338 if (busName.startsWith(QLatin1Char(':'))
busName.starts...tin1Char(':'))Description
TRUEevaluated 234 times by 12 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
FALSEevaluated 2004 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
234-2004
339 return
executed 234 times by 12 tests: return isValidUniqueConnectionName(busName);
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
isValidUniqueConnectionName(busName);
executed 234 times by 12 tests: return isValidUniqueConnectionName(busName);
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbusthreading - unknown status
234
340-
341 const auto parts = busName.splitRef(QLatin1Char('.'));-
342 if (parts.count() < 1
parts.count() < 1Description
TRUEnever evaluated
FALSEevaluated 2004 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-2004
343 return
never executed: return false;
false;
never executed: return false;
0
344-
345 for (const QStringRef &part : parts) {-
346 if (part.isEmpty()
part.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 6726 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-6726
347 return
never executed: return false;
false;
never executed: return false;
0
348-
349 const QChar *c = part.unicode();-
350 if (isValidNumber(c[0])
isValidNumber(c[0])Description
TRUEnever evaluated
FALSEevaluated 6726 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-6726
351 return
never executed: return false;
false;
never executed: return false;
0
352 for (int j = 0; j < part.length()
j < part.length()Description
TRUEevaluated 46499 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
FALSEevaluated 6718 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
; ++j)
6718-46499
353 if (!isValidCharacter(c[j])
!isValidCharacter(c[j])Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 46491 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
8-46491
354 return
executed 8 times by 2 tests: return false;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
false;
executed 8 times by 2 tests: return false;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
8
355 }
executed 6718 times by 160 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
6718
356-
357 return
executed 1996 times by 160 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
true;
executed 1996 times by 160 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
1996
358 }-
359-
360-
361-
362-
363-
364-
365-
366 bool isValidMemberName(const QStringRef &memberName)-
367 {-
368 if (memberName.isEmpty()
memberName.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 16225 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
|| memberName.length() > 255
memberName.length() > 255Description
TRUEnever evaluated
FALSEevaluated 16225 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-16225
369 return
never executed: return false;
false;
never executed: return false;
0
370-
371 const QChar* c = memberName.unicode();-
372 if (isValidNumber(c[0])
isValidNumber(c[0])Description
TRUEnever evaluated
FALSEevaluated 16225 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-16225
373 return
never executed: return false;
false;
never executed: return false;
0
374 for (int j = 0; j < memberName.length()
j < memberName.length()Description
TRUEevaluated 118633 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
FALSEevaluated 16224 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
; ++j)
16224-118633
375 if (!isValidCharacterNoDash(c[j])
!isValidCharacterNoDash(c[j])Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 118632 times by 181 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
1-118632
376 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_qdbusmarshall - unknown status
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_qdbusmarshall - unknown status
1
377 return
executed 16224 times by 181 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
true;
executed 16224 times by 181 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
16224
378 }-
379 bool isValidErrorName(const QString &errorName)-
380 {-
381 return
never executed: return isValidInterfaceName(errorName);
isValidInterfaceName(errorName);
never executed: return isValidInterfaceName(errorName);
0
382 }-
383 bool isValidObjectPath(const QString &path)-
384 {-
385 if (path == QLatin1String("/")
path == QLatin1String("/")Description
TRUEevaluated 1517 times by 32 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
FALSEevaluated 3312 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
1517-3312
386 return
executed 1517 times by 32 tests: return true;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
true;
executed 1517 times by 32 tests: return true;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
1517
387-
388 if (!path.startsWith(QLatin1Char('/'))
!path.startsWi...tin1Char('/'))Description
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3293 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
|| path.indexOf(QLatin1String("//")) != -1
path.indexOf(Q...g("//")) != -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3292 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
||
1-3293
389 path.endsWith(QLatin1Char('/'))
path.endsWith(...tin1Char('/'))Description
TRUEnever evaluated
FALSEevaluated 3292 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-3292
390 return
executed 20 times by 2 tests: return false;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
false;
executed 20 times by 2 tests: return false;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
20
391-
392-
393 const auto parts = path.midRef(1).split(QLatin1Char('/'));-
394 for (const QStringRef &part : parts)-
395 if (!isValidPartOfObjectPath(part)
!isValidPartOfObjectPath(part)Description
TRUEnever evaluated
FALSEevaluated 10229 times by 161 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-10229
396 return
never executed: return false;
false;
never executed: return false;
0
397-
398 return
executed 3292 times by 161 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
true;
executed 3292 times by 161 tests: return true;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
3292
399 }-
400-
401-
402-
403-
404-
405 bool isValidBasicType(int c)-
406 {-
407 return
executed 1925 times by 31 tests: return isBasicType(c);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
isBasicType(c);
executed 1925 times by 31 tests: return isBasicType(c);
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • ...
1925
408 }-
409-
410-
411-
412-
413-
414 bool isValidFixedType(int c)-
415 {-
416 return
executed 216 times by 3 tests: return isFixedType(c);
Executed by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
isFixedType(c);
executed 216 times by 3 tests: return isFixedType(c);
Executed by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
216
417 }-
418 bool isValidSignature(const QString &signature)-
419 {-
420 QByteArray ba = signature.toLatin1();-
421 const char *data = ba.constData();-
422 while (true) {-
423 data = validateSingleType(data);-
424 if (!data
!dataDescription
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
FALSEevaluated 119 times by 4 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
)
27-119
425 return
executed 27 times by 2 tests: return false;
Executed by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
false;
executed 27 times by 2 tests: return false;
Executed by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbustype - unknown status
27
426 if (*
*data == '\0'Description
TRUEevaluated 84 times by 4 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tst_qdbustype - unknown status
data == '\0'
*data == '\0'Description
TRUEevaluated 84 times by 4 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tst_qdbustype - unknown status
)
35-84
427 return
executed 84 times by 4 tests: return true;
Executed by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
true;
executed 84 times by 4 tests: return true;
Executed by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
  • tst_qdbustype - unknown status
84
428 }
executed 35 times by 1 test: end of block
Executed by:
  • tst_qdbustype - unknown status
35
429 }
never executed: end of block
0
430-
431-
432-
433-
434-
435-
436-
437 bool isValidSingleSignature(const QString &signature)-
438 {-
439 QByteArray ba = signature.toLatin1();-
440 const char *data = validateSingleType(ba.constData());-
441 return
executed 4235 times by 35 tests: return data && *data == '\0';
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
data && *data == '\0';
executed 4235 times by 35 tests: return data && *data == '\0';
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
4235
442 }-
443-
444}-
445-
446-
Switch to Source codePreprocessed file

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